HK40081317B - Message processing method, apparatus, computer device and storage medium - Google Patents
Message processing method, apparatus, computer device and storage mediumInfo
- Publication number
- HK40081317B HK40081317B HK42023070476.9A HK42023070476A HK40081317B HK 40081317 B HK40081317 B HK 40081317B HK 42023070476 A HK42023070476 A HK 42023070476A HK 40081317 B HK40081317 B HK 40081317B
- Authority
- HK
- Hong Kong
- Prior art keywords
- session
- identifier
- application
- message
- sub
- Prior art date
Links
Description
技术领域Technical Field
本申请涉及计算机技术领域,特别是涉及一种消息处理方法、装置、计算机设备和存储介质。This application relates to the field of computer technology, and in particular to a message processing method, apparatus, computer device, and storage medium.
背景技术Background Technology
随着计算机技术的发展,通过互联网进行信息传递越来越普遍,比如通过通信工具建立会话,通过会话实现至少两个联系人之间的沟通、交流。当消息发送者需要向多于一个会话的会话成员同步消息时,消息发送者需要依次打开会话发送消息,尤其在消息的数量较多时,消息发送者需要在不同的会话之间切换,导致消息同步效率低。With the development of computer technology, information transmission via the Internet has become increasingly common. For example, communication tools are used to establish sessions, enabling communication and exchange between at least two contacts. When a message sender needs to synchronize messages with members of more than one session, the sender needs to open sessions one by one to send messages. Especially when there are many messages, the sender needs to switch between different sessions, resulting in low message synchronization efficiency.
发明内容Summary of the Invention
基于此,有必要针对上述技术问题,提供一种能够提升多于一个会话的消息同步效率的方法、装置、计算机设备和存储介质。Therefore, it is necessary to provide a method, apparatus, computer device, and storage medium that can improve the message synchronization efficiency of more than one session in order to address the above-mentioned technical problems.
一种消息处理方法,该方法包括:A message processing method, the method comprising:
进入运行于即时通信应用中的子应用,所述即时通信应用以目标用户标识登录,所述子应用以所述目标用户标识授权登录;Enter a sub-application running within an instant messaging application, where the instant messaging application logs in using the target user identifier, and the sub-application authorizes login using the target user identifier;
在所述子应用中显示至少一个会话各自对应的会话标识,所述至少一个会话是通过所述即时通信应用创建、且与所述目标用户标识对应的会话;The sub-application displays a session identifier corresponding to at least one session, wherein the at least one session is created by the instant messaging application and corresponds to the target user identifier;
在所述子应用中各所述会话标识所共同对应的信息编辑区域,显示响应于输入操作所输入的群发信息;In the information editing area that corresponds to the session identifier in each of the sub-applications, the group message input in response to the input operation is displayed;
响应于对所述群发信息的发送操作,通过所述子应用将所述群发信息作为会话消息分别发送至所述即时通信应用中与各所述会话标识对应的会话。In response to the sending operation of the mass message, the sub-application sends the mass message as a session message to the session in the instant messaging application corresponding to each session identifier.
一种消息处理装置,该装置包括:A message processing apparatus, the apparatus comprising:
进入模块,用于进入运行于即时通信应用中的子应用,所述即时通信应用以目标用户标识登录,所述子应用以所述目标用户标识授权登录;The entry module is used to enter a sub-application running within an instant messaging application, wherein the instant messaging application logs in using the target user identifier, and the sub-application authorizes login using the target user identifier;
显示模块,用于在所述子应用中显示至少一个会话各自对应的会话标识,所述至少一个会话是通过所述即时通信应用创建、且与所述目标用户标识对应的会话;The display module is used to display a session identifier corresponding to at least one session in the sub-application, wherein the at least one session is created by the instant messaging application and corresponds to the target user identifier;
所述显示模块,还用于在所述子应用中各所述会话标识所共同对应的信息编辑区域,显示响应于输入操作所输入的群发信息;The display module is also used to display the group message input in response to the input operation in the information editing area that is commonly corresponding to each session identifier in the sub-application;
发送模块,用于响应于对所述群发信息的发送操作,通过所述子应用将所述群发信息作为会话消息分别发送至所述即时通信应用中与各所述会话标识对应的会话。The sending module is used to respond to the sending operation of the mass message by sending the mass message as a session message to the sessions in the instant messaging application corresponding to each session identifier through the sub-application.
在一个实施例中,所述显示模块,还用于:在所述子应用中显示会话标识列表,所述会话标识列表包括所述即时通信应用中与所述目标用户标识相对应的会话的会话标识;响应于对所述会话标识列表中的会话标识的选择操作,确定至少一个会话标识,并在所述子应用中显示各所述会话标识。In one embodiment, the display module is further configured to: display a list of session identifiers in the sub-application, the list of session identifiers including session identifiers of sessions in the instant messaging application corresponding to the target user identifier; and, in response to a selection operation of a session identifier in the list of session identifiers, determine at least one session identifier and display each of the session identifiers in the sub-application.
在一个实施例中,所述显示模块,还用于:在所述子应用中显示所述即时通信应用中与所述目标用户标识相对应的群组会话的会话标识构成的群组会话标识列表;响应于对所述群组会话标识列表中的会话标识的选择操作,确定至少一个群组会话标识,并在所述子应用中显示各所述群组会话标识。In one embodiment, the display module is further configured to: display a list of group session identifiers in the instant messaging application that consist of session identifiers of group sessions corresponding to the target user identifier; and, in response to a selection operation of a session identifier in the list of group session identifiers, determine at least one group session identifier and display each of the group session identifiers in the sub-application.
在一个实施例中,所述显示模块,还用于:向所述即时通信应用对应的应用服务器发送携带所述目标用户标识的会话获取请求;接收所述应用服务器响应于所述会话获取请求返回的与所述目标用户标识对应的会话标识;根据接收的会话标识显示所述会话标识列表。In one embodiment, the display module is further configured to: send a session acquisition request carrying the target user identifier to the application server corresponding to the instant messaging application; receive a session identifier corresponding to the target user identifier returned by the application server in response to the session acquisition request; and display the session identifier list according to the received session identifier.
在一个实施例中,所述消息处理装置还包括确定模块,所述确定模块用于:按照对所述会话标识列表中的会话标识的选择顺序,确定各所述会话标识的会话消息发送顺序;所述显示模块,还用于:响应于对所述群发信息的发送操作,通过所述子应用按照各所述会话标识的会话消息发送顺序,依次将所述群发信息作为会话消息分别发送至所述即时通信应用中与各所述会话标识对应的会话。In one embodiment, the message processing device further includes a determining module, which is configured to: determine the session message sending order of each session identifier according to the selection order of the session identifiers in the session identifier list; the display module is further configured to: in response to the sending operation of the mass message, send the mass message as session messages to the sessions corresponding to each session identifier in the instant messaging application in the order of the session message sending order of each session identifier through the sub-application.
在一个实施例中,所述显示模块,还用于:当确定的所述至少一个会话标识为多于一个会话对应的会话标识时,在所述子应用中显示共同会话成员标识,所述共同会话成员标识是同时属于所述多于一个会话的会话成员所对应的用户标识;所述消息处理装置还包括选择模块,所述选择模块,用于:响应于对所述共同会话成员标识中任一共同会话成员标识的选择操作,将选择的共同会话成员标识对应的会话成员作为所述群发信息的发送者;所述发送模块,还用于:当所述选择的共同会话成员标识与所述目标用户标识匹配时,以所述目标用户标识作为发送者,通过所述子应用将所述群发信息作为会话消息分别发送至所述即时通信应用中与各所述会话标识对应的会话。In one embodiment, the display module is further configured to: when the determined at least one session identifier is a session identifier corresponding to more than one session, display a common session member identifier in the sub-application, wherein the common session member identifier is a user identifier corresponding to a session member that simultaneously belongs to the more than one session; the message processing device further includes a selection module, the selection module being configured to: in response to a selection operation on any common session member identifier among the common session member identifiers, use the selected common session member identifier as the sender of the mass message; the sending module is further configured to: when the selected common session member identifier matches the target user identifier, use the target user identifier as the sender, and send the mass message as a session message to the sessions corresponding to each session identifier in the instant messaging application through the sub-application.
在一个实施例中,所述消息处理装置还包括分享模块,所述分享模块,用于:当所述选择的共同会话成员标识与所述目标用户标识不匹配时,将用于群发所述群发信息的所述子应用分享至所述选择的共同会话成员标识与所述目标会话成员标识所构建的会话。In one embodiment, the message processing device further includes a sharing module, which is configured to: when the selected common session member identifier does not match the target user identifier, share the sub-application used to send the mass message to the session constructed by the selected common session member identifier and the target session member identifier.
在一个实施例中,所述显示模块,还用于:当所述选择的共同会话成员标识与所述目标用户标识匹配时,在所述子应用中显示所述多于一个会话各自对应的会话标识;在所述子应用中各所述会话标识所共同对应的信息编辑区域,显示响应于输入操作所输入的群发信息;所述发送模块,还用于:响应于对所述群发信息的发送操作,以所述选择的共同会话成员标识作为所述群发信息的发送者,通过所述子应用将所述群发信息作为会话消息分别发送至所述即时通信应用中与各所述会话标识对应的会话。In one embodiment, the display module is further configured to: when the selected common session member identifier matches the target user identifier, display the session identifier corresponding to each of the more than one session in the sub-application; display the group message input in response to the input operation in the information editing area commonly corresponding to each of the session identifiers in the sub-application; the sending module is further configured to: in response to the sending operation of the group message, use the selected common session member identifier as the sender of the group message, and send the group message as a session message to the sessions corresponding to each of the session identifiers in the instant messaging application through the sub-application.
在一个实施例中,所述显示模块,还用于:获取所述多于一个会话各自对应的会话标识;向所述即时通信应用的应用服务器发送会话成员获取请求,所述会话成员获取请求携带各所述会话标识;接收所述应用服务器响应于所述会话成员获取请求返回的与各所述会话标识分别对应的会话成员标识;根据各所述会话标识对应的会话成员标识确定所述共同会话成员标识。In one embodiment, the display module is further configured to: obtain the session identifier corresponding to each of the more than one session; send a session member acquisition request to the application server of the instant messaging application, the session member acquisition request carrying each of the session identifiers; receive the session member identifiers corresponding to each of the session identifiers returned by the application server in response to the session member acquisition request; and determine the common session member identifier based on the session member identifiers corresponding to each of the session identifiers.
在一个实施例中,所述显示模块,还用于:在所述子应用中显示各所述会话标识所共同对应的信息编辑区域;响应于在所述信息编辑区域的输入操作,获取所述群发信息;按照与所述群发信息的信息类型匹配的信息展示格式,在所述信息编辑区域中展示所述群发信息。In one embodiment, the display module is further configured to: display an information editing area commonly corresponding to each of the session identifiers in the sub-application; obtain the mass message in response to an input operation in the information editing area; and display the mass message in the information editing area according to an information display format matching the information type of the mass message.
在一个实施例中,所述进入模块,还用于:进入运行于所述即时通信应用中的子应用,所述即时通信应用以所述目标用户标识登录;在所述子应用中显示登录授权窗口;响应于在所述登录授权窗口的授权操作,以所述目标用户标识登录所述子应用。In one embodiment, the entry module is further configured to: enter a sub-application running in the instant messaging application, the instant messaging application being logged in with the target user identifier; display a login authorization window in the sub-application; and log in to the sub-application with the target user identifier in response to an authorization operation in the login authorization window.
在一个实施例中,所述显示模块,还用于:当所述目标用户标识对应的会话成员从所述会话标识对应的会话中被移除时,在所述子应用中显示关于所述群发信息在所述会话标识对应的会话中发送失败的提示信息。In one embodiment, the display module is further configured to: when the session member corresponding to the target user identifier is removed from the session corresponding to the session identifier, display a prompt message in the sub-application regarding the failure to send the mass message in the session corresponding to the session identifier.
在一个实施例中,所述消息处理装置还包括返回模块,所述返回模块,还用于:从所述子应用返回以所述目标用户标识登录的即时通信应用中;所述显示模块,还用于:在所述即时通信应用中的与各所述会话标识对应的会话中,显示包括所述群发信息的会话消息。In one embodiment, the message processing device further includes a return module, which is further configured to: return from the sub-application to the instant messaging application logged in with the target user identifier; the display module is further configured to: display a session message including the mass message in the session corresponding to each of the session identifiers in the instant messaging application.
在一个实施例中,所述返回模块,还用于:从所述子应用返回以所述目标用户标识登录的即时通信应用中;所述显示模块,还用于:在所述即时通信应用中的与各所述会话标识对应的会话中,显示除所述目标用户标识以外的其他会话成员标识通过所述子应用推送的包括所述群发信息的会话消息。In one embodiment, the return module is further configured to: return from the sub-application to the instant messaging application logged in with the target user identifier; the display module is further configured to: display, in the sessions corresponding to each of the session identifiers in the instant messaging application, session messages including the mass messaging information pushed by the sub-application by other session member identifiers besides the target user identifier.
在一个实施例中,所述显示模块,还用于:将所述群发信息作为会话消息发送至各所述会话标识对应的会话成员标识登录的即时通信应用后,通过以所述会话成员标识登录的即时通信应用,在与各所述会话标识对应的会话页面中,显示所述会话消息。In one embodiment, the display module is further configured to: after sending the mass message as a session message to the instant messaging application logged in by the session member identifier corresponding to each session identifier, display the session message in the session page corresponding to each session identifier through the instant messaging application logged in by the session member identifier.
在一个实施例中,所述发送模块,还用于:通过所述子应用将所述群发信息、所述目标用户标识和各所述会话标识发送至子应用服务器;通过所述子应用服务器将所述群发信息、所述目标用户标识和各所述会话标识转发至所述即时通信应用对应的应用服务器;通过所述应用服务器将所述群发信息作为会话消息发送至与各所述会话标识的会话;通过以各所述会话标识中会话成员标识登录的即时通信应用,在与各所述会话标识对应的会话页面中,显示所述目标用户标识推送的包括所述群发信息的会话消息。In one embodiment, the sending module is further configured to: send the mass message, the target user identifier, and each of the session identifiers to the sub-application server via the sub-application; forward the mass message, the target user identifier, and each of the session identifiers to the application server corresponding to the instant messaging application via the sub-application server; send the mass message as a session message to the session with each of the session identifiers via the application server; and display the session message including the mass message pushed by the target user identifier in the session page corresponding to each of the session identifiers via the instant messaging application logged in with the session member identifier among the session identifiers.
在一个实施例中,所述发送模块,还用于:通过以所述目标用户标识登录的即时通信应用,在与各所述会话标识对应的会话页面中,显示所述目标用户标识推送的包括所述群发信息的会话消息。In one embodiment, the sending module is further configured to: display, through an instant messaging application logged in with the target user identifier, a session message including the mass message pushed by the target user identifier in a session page corresponding to each of the session identifiers.
一种计算机设备,包括存储器和处理器,存储器存储有计算机程序,处理器执行计算机程序时实现以下步骤:A computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
进入运行于即时通信应用中的子应用,所述即时通信应用以目标用户标识登录,所述子应用以所述目标用户标识授权登录;Enter a sub-application running within an instant messaging application, where the instant messaging application logs in using the target user identifier, and the sub-application authorizes login using the target user identifier;
在所述子应用中显示至少一个会话各自对应的会话标识,所述至少一个会话是通过所述即时通信应用创建、且与所述目标用户标识对应的会话;The sub-application displays a session identifier corresponding to at least one session, wherein the at least one session is created by the instant messaging application and corresponds to the target user identifier;
在所述子应用中各所述会话标识所共同对应的信息编辑区域,显示响应于输入操作所输入的群发信息;In the information editing area that corresponds to the session identifier in each of the sub-applications, the group message input in response to the input operation is displayed;
响应于对所述群发信息的发送操作,通过所述子应用将所述群发信息作为会话消息分别发送至所述即时通信应用中与各所述会话标识对应的会话。In response to the sending operation of the mass message, the sub-application sends the mass message as a session message to the session in the instant messaging application corresponding to each session identifier.
一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the following steps:
进入运行于即时通信应用中的子应用,所述即时通信应用以目标用户标识登录,所述子应用以所述目标用户标识授权登录;Enter a sub-application running within an instant messaging application, where the instant messaging application logs in using the target user identifier, and the sub-application authorizes login using the target user identifier;
在所述子应用中显示至少一个会话各自对应的会话标识,所述至少一个会话是通过所述即时通信应用创建、且与所述目标用户标识对应的会话;The sub-application displays a session identifier corresponding to at least one session, wherein the at least one session is created by the instant messaging application and corresponds to the target user identifier;
在所述子应用中各所述会话标识所共同对应的信息编辑区域,显示响应于输入操作所输入的群发信息;In the information editing area that corresponds to the session identifier in each of the sub-applications, the group message input in response to the input operation is displayed;
响应于对所述群发信息的发送操作,通过所述子应用将所述群发信息作为会话消息分别发送至所述即时通信应用中与各所述会话标识对应的会话。In response to the sending operation of the mass message, the sub-application sends the mass message as a session message to the session in the instant messaging application corresponding to each session identifier.
一种计算机程序,计算机程序包括计算机指令,计算机指令存储在计算机可读存储介质中,计算机设备的处理器从计算机可读存储介质读取计算机指令,处理器执行计算机指令,使得计算机设备执行上述消息处理方法的步骤。A computer program includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the steps of the above-described message processing method.
上述消息处理方法、装置、计算机设备和存储介质,通过运行于即时通信应用中且以目标用户标识登录的子应用,显示即时通信应用中与目标用户标识对应的至少一部分会话各自的会话标识,以及各会话标识所共同对应的信息编辑区域,这样,通过子应用可自主编辑群发信息,从而向即时通信应用中与目标用户标识对应的至少一部分会话发送包括群发信息的会话消息,通过子应用实现即时通信应用中多于一个会话的消息同步,提高了消息同步效率。The aforementioned message processing method, apparatus, computer equipment, and storage medium, through a sub-application running in an instant messaging application and logged in with a target user identifier, display the session identifiers of at least a portion of the sessions in the instant messaging application corresponding to the target user identifier, as well as the information editing area commonly corresponding to each session identifier. In this way, the sub-application can independently edit group messages, thereby sending session messages including group messages to at least a portion of the sessions in the instant messaging application corresponding to the target user identifier. The sub-application enables message synchronization of more than one session in the instant messaging application, improving message synchronization efficiency.
附图说明Attached Figure Description
图1为一个实施例中消息处理方法的应用环境图;Figure 1 is an application environment diagram of a message processing method in one embodiment;
图2为一个实施例中第一即时通信应用的应用页面的界面示意图;Figure 2 is a schematic diagram of the application page of the first instant messaging application in one embodiment;
图3为一个实施例中第二即时通信应用的应用页面的界面示意图;Figure 3 is a schematic diagram of the application page of the second instant messaging application in one embodiment;
图4为一个实施例中消息处理方法的流程框图;Figure 4 is a flowchart of a message processing method in one embodiment;
图5为一个实施例中群发记录展示页面的界面示意图;Figure 5 is a schematic diagram of the interface of the mass messaging record display page in one embodiment;
图6为一个实施例中会话消息群发页面的界面示意图;Figure 6 is a schematic diagram of the interface of the group messaging page in one embodiment;
图7为另一个实施例中会话消息群发页面的界面示意图;Figure 7 is a schematic diagram of the interface of the group messaging page in another embodiment;
图8为一个实施例中接收终端通过即时通信应用展示的会话页面示意图;Figure 8 is a schematic diagram of a session page displayed by a receiving terminal through an instant messaging application in one embodiment;
图9为另一个实施例中接收终端通过即时通信应用展示的会话页面示意图;Figure 9 is a schematic diagram of a session page displayed by the receiving terminal through an instant messaging application in another embodiment;
图10为又一个实施例中接收终端通过即时通信应用展示的会话页面示意图;Figure 10 is a schematic diagram of a session page displayed by the receiving terminal through an instant messaging application in another embodiment;
图11为又一个实施例中会话消息群发页面的界面示意图;Figure 11 is a schematic diagram of the interface of the group messaging page in another embodiment;
图12为一个实施例中会话标识选择页面的界面示意图;Figure 12 is a schematic diagram of the session identifier selection page in one embodiment;
图13为另一个实施例中会话标识选择页面的界面示意图;Figure 13 is a schematic diagram of the session identifier selection page in another embodiment;
图14为一个实施例中会话消息发送步骤的框架示意图;Figure 14 is a schematic diagram of the session message sending steps in one embodiment;
图15为一个实施例中在子应用中显示共同会话成员标识的界面示意图;Figure 15 is a schematic diagram of the interface displaying common session member identifiers in a sub-application in one embodiment;
图16为一个实施例中分享提示窗口的界面示意图;Figure 16 is a schematic diagram of the sharing prompt window interface in one embodiment;
图17为一个实施例中一个实施例中在子应用中显示提示信息的界面示意图;Figure 17 is a schematic diagram of the interface displaying prompt information in a sub-application in one embodiment;
图18为再一个实施例中接收终端通过即时通信应用展示的会话页面示意图;Figure 18 is a schematic diagram of a session page displayed by the receiving terminal through an instant messaging application in another embodiment;
图19为一个实施例中消息处理系统的架构示意图;Figure 19 is a schematic diagram of the architecture of a message processing system in one embodiment;
图20为另一个实施例中消息处理方法的流程框图;Figure 20 is a flowchart of a message processing method in another embodiment;
图21为又一个实施例中消息处理方法的流程框图;Figure 21 is a flowchart of a message processing method in another embodiment;
图22为一个实施例中消息处理装置的结构框图;Figure 22 is a structural block diagram of a message processing device in one embodiment;
图23为一个实施例中计算机设备的内部结构图。Figure 23 is an internal structure diagram of a computer device in one embodiment.
具体实施方式Detailed Implementation
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
本申请提供的消息处理方法,可以应用于如图1所示的应用环境中。参照图1,该消息处理方法的应用环境可包括终端110和服务器120。终端110和服务器120通过网络连接。终端110可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑、便携式可穿戴设备等。服务器120可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN(Content Delivery Network,内容分发网络)、以及大数据和人工智能平台等基础云计算服务的云服务器。终端110以及服务器120可以通过有线或无线通信方式进行直接或间接地连接,本申请在此不做限制。The message processing method provided in this application can be applied to the application environment shown in Figure 1. Referring to Figure 1, the application environment of this message processing method may include a terminal 110 and a server 120. The terminal 110 and the server 120 are connected via a network. The terminal 110 may be, but is not limited to, various personal computers, laptops, smartphones, tablets, portable wearable devices, etc. The server 120 may be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The terminal 110 and the server 120 may be directly or indirectly connected via wired or wireless communication, which is not limited herein.
在一个实施例中,终端110可包括终端111、终端112、终端113等多个终端,终端111作为会话消息的发送终端,终端112、终端113等作为会话消息的接收终端。终端111上安装有即时通信应用,在即时通信应用的运行环境中,可运行用于向群组会话和/或联系人会话群发会话消息的子应用,终端111通过运行于即时通信应用的子应用,向终端112、终端113等接收终端群发会话消息。终端112、终端113等接收终端可通过与终端111相同的即时通信应用接收并显示会话消息。服务器120可包括服务器121和服务器122,服务器121是子应用对应的子应用服务器,服务器122是即时通信应用对应的应用服务器。可以理解,终端112、终端113等至少一个接收终端也可通过与终端111不同的即时通信应用接收并显示会话消息,这样服务器120还包括该至少一个接收终端安装的即时通信应用所对应的应用服务器。In one embodiment, terminal 110 may include multiple terminals such as terminal 111, terminal 112, and terminal 113. Terminal 111 acts as the sending terminal for session messages, while terminals 112, 113, etc., act as receiving terminals for session messages. Terminal 111 has an instant messaging application installed. Within the instant messaging application's runtime environment, a sub-application for sending session messages to group sessions and/or contact sessions can run. Terminal 111 sends session messages to receiving terminals such as terminal 112 and terminal 113 through the sub-application running within the instant messaging application. Receiving terminals such as terminal 112 and terminal 113 can receive and display session messages through the same instant messaging application as terminal 111. Server 120 may include server 121 and server 122. Server 121 is the sub-application server corresponding to the sub-application, and server 122 is the application server corresponding to the instant messaging application. It is understood that at least one receiving terminal, such as terminal 112 or terminal 113, can also receive and display session messages through an instant messaging application different from that of terminal 111. Thus, server 120 also includes the application server corresponding to the instant messaging application installed on the at least one receiving terminal.
在一个实施例中,终端111进入运行于即时通信应用中的子应用,该即时通信应用以目标用户标识登录,该子应用以目标用户标识授权登录;在子应用中显示至少一个会话各自对应的会话标识,至少一个会话是通过即时通信应用创建、且与目标用户标识对应的会话;在子应用中各会话标识所共同对应的信息编辑区域,显示响应于输入操作所输入的群发信息;响应于对群发信息的发送操作,通过子应用将群发信息、目标用户标识和各会话标识发送至子应用服务器121,通过子应用服务器121将群发信息、目标用户标识和各会话标识转发至即时通信应用对应的应用服务器122,通过应用服务器122将群发信息作为会话消息发送至与各会话标识的会话。这样,终端112、终端113等接收终端进入以会话成员标识登录的即时通信应用,会话成员标识是各会话标识对应的会话成员的用户标识,在与各会话标识对应的会话页面中,显示目标用户标识推送的包括群发信息的会话消息;同时,终端111从子应用返回以目标用户标识登录的即时通信应用,在与各会话标识对应的会话中,显示目标用户标识推送的包括群发信息的会话消息。In one embodiment, terminal 111 enters a sub-application running within an instant messaging application. The instant messaging application is logged in using the target user identifier, and the sub-application is authorized to log in using the target user identifier. The sub-application displays at least one session identifier corresponding to each session, where at least one session is created by the instant messaging application and corresponds to the target user identifier. In the information editing area common to all session identifiers in the sub-application, a mass message input in response to an input operation is displayed. In response to the sending operation of the mass message, the sub-application sends the mass message, the target user identifier, and each session identifier to the sub-application server 121. The sub-application server 121 forwards the mass message, the target user identifier, and each session identifier to the application server 122 corresponding to the instant messaging application. The application server 122 sends the mass message as a session message to the session corresponding to each session identifier. In this way, receiving terminals such as terminal 112 and terminal 113 enter the instant messaging application logged in with the session member identifier. The session member identifier is the user identifier of the session member corresponding to each session identifier. In the session page corresponding to each session identifier, the session message including the group message pushed by the target user identifier is displayed. At the same time, terminal 111 returns from the sub-application to the instant messaging application logged in with the target user identifier. In the session corresponding to each session identifier, the session message including the group message pushed by the target user identifier is displayed.
在一些实施例中,发送终端也可以是接收终端,接收终端也可以是发送终端。例如,终端A与终端B进行社交会话时,终端A向终端B发送会话消息时,终端A是发送终端,终端B是接收终端;终端B向终端A发送会话消息时,终端B是发送终端,终端A是接收终端。In some embodiments, the sending terminal can also be the receiving terminal, and vice versa. For example, when terminal A and terminal B are having a social conversation, when terminal A sends a conversation message to terminal B, terminal A is the sending terminal and terminal B is the receiving terminal; when terminal B sends a conversation message to terminal A, terminal B is the sending terminal and terminal A is the receiving terminal.
本申请实施例提供的消息处理方法,其执行主体可以是本申请实施例提供的消息处理装置,或者集成了该消息处理装置的计算机设备,其中该消息处理装置可以采用硬件或软件的方式实现。计算机设备可以是图1中所示的终端111。The message processing method provided in this application can be executed by a message processing device provided in this application, or a computer device integrating the message processing device, wherein the message processing device can be implemented in hardware or software. The computer device can be the terminal 111 shown in FIG1.
本申请实施例提供的消息处理方法,可应用于即时通信应用中的消息群发场景,例如对群组会话群发会话消息、对联系人会话群发会话消息、对群组会话和联系人会话群发会话消息等。群组会话是多于两个会话成员创建的会话,联系人会话是两个会话成员创建的会话。群组会话的会话成员可包括一个或多于一个即时通信应用的社交对象,联系人会话的会话成员也可以是相同或不同即时通信应用的社交对象。The message processing method provided in this application can be applied to mass message sending scenarios in instant messaging applications, such as sending mass messages to group sessions, sending mass messages to contact sessions, or sending mass messages to both group sessions and contact sessions. A group session is a session created by more than two session members, and a contact session is a session created by two session members. Session members of a group session may include one or more social objects from an instant messaging application, and session members of a contact session may be social objects from the same or different instant messaging applications.
需要说明的是,可为不同即时通信应用的社交对象建立群组会话或联系人会话,使得不同即时通信应用的社交对象可基于各自的即时通信应用进入会话,无需额外下载即时通信应用。举例说明,群组会话的群成员可包括第一即时通信应用的社交对象以及第二即时通信应用的社交对象。参考图2,该图中示出了一个实施例中第一即时通信应用的会话页面的界面示意图。第一即时通信应用的会话成员,基于第一即时通信应用,在群组会话中发布会话消息。参考图3,该图中示出了一个实施例中第二即时通信应用的会话页面的界面示意图。第二即时通信应用的会话成员,基于第二即时通信应用,在群组会话中接收第一即时通信应用的会话成员发布的会话消息。It should be noted that group sessions or contact sessions can be established for social contacts from different instant messaging applications, allowing social contacts from different instant messaging applications to enter the session based on their respective instant messaging applications without the need to download additional instant messaging applications. For example, group members in a group session may include social contacts from a first instant messaging application and social contacts from a second instant messaging application. Referring to Figure 2, this figure shows a schematic diagram of the session page interface of the first instant messaging application in one embodiment. Session members of the first instant messaging application, based on the first instant messaging application, publish session messages in the group session. Referring to Figure 3, this figure shows a schematic diagram of the session page interface of the second instant messaging application in one embodiment. Session members of the second instant messaging application, based on the second instant messaging application, receive session messages published by session members of the first instant messaging application in the group session.
例如,通过本申请实施例提供的消息处理方法,发送终端通过运行于目标用户标识登录的即时通信应用中、且以目标用户标识授权登录的子应用,向即时通信应用中与目标用户标识对应的至少一部分联系人会话和/或群组会话群发会话消息。这样,与目标用户标识对应的至少一部分联系人会话和/或群组会话的会话成员,登录与目标用户标识对应的即时通信应用相同或不同的即时通信应用,接收并显示目标用户标识推送的包括群发信息的会话消息。For example, using the message processing method provided in this application embodiment, the sending terminal sends a group message to at least a portion of contact sessions and/or group sessions corresponding to the target user identifier in the instant messaging application, through a sub-application running in the instant messaging application logged in with the target user identifier and authorized to log in with the target user identifier. In this way, session members of at least a portion of contact sessions and/or group sessions corresponding to the target user identifier log in to the same or different instant messaging application as the target user identifier, and receive and display the group message pushed by the target user identifier.
在一个实施例中,如图4所示,提供了一种消息处理方法,本实施例主要以该方法应用于计算机设备(上述图1中的发送终端111)来举例说明,包括以下步骤:In one embodiment, as shown in FIG4, a message processing method is provided. This embodiment mainly illustrates the method by applying it to a computer device (the sending terminal 111 in FIG1 above), and includes the following steps:
步骤S402,进入运行于即时通信应用中的子应用,即时通信应用以目标用户标识登录,子应用以目标用户标识授权登录。Step S402: Enter the sub-application running in the instant messaging application. The instant messaging application logs in with the target user's identity, and the sub-application authorizes login with the target user's identity.
其中,即时通信应用是为社交对象提供即时通信服务的应用程序。子应用是运行在即时通信应用所提供的运行环境中的应用程序,例如小程序等。Instant messaging applications are applications that provide instant messaging services to social contacts. Sub-applications are applications that run within the runtime environment provided by instant messaging applications, such as mini-programs.
在一个实施例中,发送终端进入以目标用户标识登录的即时通信应用,显示子应用的查看入口,响应于对子应用的查看入口的触发操作,显示子应用菜单,响应于对子应用菜单中的子应用的选择操作,进入选择操作对应的子应用。若子应用处于未登录状态,发送终端在子应用中显示登录授权窗口,响应于在登录授权窗口的授权操作,以目标用户标识登录子应用。其中,子应用的查看入口是查看即时通信应用中的子应用的操作入口,子应用菜单是在即时通信应用中展示子应用选项的菜单。In one embodiment, the sending terminal enters an instant messaging application logged in with the target user's identifier, displays a sub-application viewing entry, and, in response to a trigger operation on the sub-application viewing entry, displays a sub-application menu. In response to a selection operation on a sub-application within the menu, the sending terminal enters the sub-application corresponding to the selection operation. If the sub-application is not logged in, the sending terminal displays a login authorization window within the sub-application, and, in response to an authorization operation in the login authorization window, logs in to the sub-application with the target user's identifier. Here, the sub-application viewing entry is the entry point for viewing sub-applications within the instant messaging application, and the sub-application menu is the menu within the instant messaging application that displays sub-application options.
步骤S404,在子应用中显示至少一个会话各自对应的会话标识,至少一个会话是通过即时通信应用创建、且与目标用户标识对应的会话。Step S404: Display the session identifier corresponding to at least one session in the sub-application. At least one session is a session created by the instant messaging application and corresponds to the target user identifier.
在一个实施例中,发送终端通过子应用向即时通信应用中与目标用户标识对应的会话群发会话消息。即时通信应用中与目标用户标识对应的会话可以是即时通信应用中目标用户标识参与的群组会话和/或联系人会话。其中,群组会话是多于两个会话成员创建的会话,联系人会话是两个会话成员创建的会话。群组会话的会话成员可包括一个或多于一个即时通信应用的社交对象,联系人会话的会话成员也可以是相同或不同即时通信应用的社交对象。In one embodiment, the sending terminal sends a group message through a sub-application to a session in an instant messaging application corresponding to a target user identifier. The session in the instant messaging application corresponding to the target user identifier can be a group session and/or a contact session in which the target user identifier participates. Specifically, a group session is a session created by more than two session members, and a contact session is a session created by two session members. Session members in a group session can include social contacts from one or more instant messaging applications, and session members in a contact session can be social contacts from the same or different instant messaging applications.
在一个实施例中,发送终端进入以目标用户标识授权登录的子应用,显示子应用的应用页面,该应用页面可包括本次群发会话消息的、且与目标用户标识对应的至少一部分会话的会话标识。可选地,该应用页面可以是子应用的群发记录展示页面或者会话消息群发页面,等等。其中,群发记录展示页面用于展示群发记录,会话消息群发页面用于群发会话消息。In one embodiment, the sending terminal enters a sub-application authorized by the target user identifier and displays the application page of the sub-application. This application page may include the session identifier of at least a portion of the sessions corresponding to the target user identifier for this mass messaging session. Optionally, this application page may be a mass messaging record display page or a mass messaging session page for the sub-application, etc. The mass messaging record display page is used to display mass messaging records, and the mass messaging session page is used to send mass messaging session messages.
举例说明,参照图5,图5示出了一个实施例中群发记录展示页面的界面示意图。可以看到,群发记录展示页面可包括群发记录502,群发记录502可包括群发会话标识504和群发消息的发起入口506,群发会话标识504为该条群发记录对应的、且与目标用户标识对应的至少一部分会话的会话标识,群发消息的发起入口506用于进入该条群发记录对应的信息编辑区域。参照图6,图6示出了一个实施例中会话消息群发页面的界面示意图。可以看到,会话消息群发页面可包括群发会话标识602,群发会话标识602为本次群发会话消息的、且与目标用户标识对应的至少一部分会话的会话标识。For example, referring to Figure 5, Figure 5 shows a schematic diagram of the interface of a mass messaging record display page in one embodiment. It can be seen that the mass messaging record display page may include a mass messaging record 502, which may include a mass messaging session identifier 504 and a mass messaging initiation entry point 506. The mass messaging session identifier 504 is the session identifier of at least a portion of the sessions corresponding to this mass messaging record and the target user identifier. The mass messaging initiation entry point 506 is used to enter the information editing area corresponding to this mass messaging record. Referring to Figure 6, Figure 6 shows a schematic diagram of the interface of a session message mass messaging page in one embodiment. It can be seen that the session message mass messaging page may include a mass messaging session identifier 602, which is the session identifier of at least a portion of the sessions corresponding to the target user identifier in this mass messaging session.
在另一个实施例中,发送终端进入以目标用户标识授权登录的子应用,显示子应用的应用页面,该应用页面可包括会话标识列表,响应于对会话标识列表中的会话标识的选择操作,确定至少一个会话标识,并在子应用中显示本次群发会话消息的各会话标识。In another embodiment, the sending terminal enters a sub-application authorized by the target user identifier and displays the application page of the sub-application. The application page may include a list of session identifiers. In response to a selection operation of a session identifier in the list of session identifiers, at least one session identifier is determined, and each session identifier of the current group message is displayed in the sub-application.
在又一个实施例中,发送终端进入以目标用户标识授权登录的子应用,显示子应用的应用页面,该应用页面可包括会话标识选择入口,响应于对会话标识选择入口的触发操作,显示会话标识列表,响应于对会话标识列表中的会话标识的选择操作,确定至少一个会话标识,并在子应用中显示本次群发会话消息的各会话标识。举例说明,继续参照图5,可以看到,群发记录展示页面还可包括会话标识选择入口508,目标用户标识对应的用户可通过会话标识选择入口508触发显示会话标识列表,通过会话标识列表选择本次群发会话消息的会话标识。In another embodiment, the sending terminal enters a sub-application authorized by the target user identifier and displays the application page of the sub-application. This application page may include a session identifier selection entry. In response to a trigger operation on the session identifier selection entry, a session identifier list is displayed. In response to a selection operation on a session identifier in the session identifier list, at least one session identifier is determined, and each session identifier of the current mass message is displayed in the sub-application. For example, continuing to refer to Figure 5, it can be seen that the mass message record display page may also include a session identifier selection entry 508. The user corresponding to the target user identifier can trigger the display of the session identifier list through the session identifier selection entry 508 and select the session identifier of the current mass message through the session identifier list.
步骤S406,在子应用中各会话标识所共同对应的信息编辑区域,显示响应于输入操作所输入的群发信息。Step S406: In the information editing area corresponding to each session identifier in the sub-application, the group message entered in response to the input operation is displayed.
其中,信息编辑区域用于接收目标用户标识对应的输入操作。群发信息是通过输入操作输入的、用于群发的信息。群发信息可以是文字、语音、图片、表情包、文件或者音视频等。The message editing area is used to receive input corresponding to the target user's identifier. Bulk messages are messages entered through this input and sent to multiple users. Bulk messages can be text, voice, images, emoticons, files, or audio/video files.
在一个实施例中,发送终端进入子应用的会话消息群发页面,会话消息群发页面可包括本次群发会话消息的会话标识所共同对应的信息编辑区域。发送终端通过信息编辑区域接收目标用户标识对应的输入操作,响应于输入操作,在信息编辑区域显示群发信息。继续参照图6,可以看到,会话消息群发页面可包括信息编辑区域604,目标用户标识对应的用户可通过信息编辑区域604输入群发信息。In one embodiment, the sending terminal enters the group messaging page of a sub-application. The group messaging page may include an information editing area corresponding to the common session identifier of the current group messaging sessions. The sending terminal receives input operations corresponding to the target user identifier through the information editing area, and in response to the input operations, displays the group messaging information in the information editing area. Referring again to Figure 6, the group messaging page may include an information editing area 604, through which the user corresponding to the target user identifier can input group messaging information.
在一个实施例中,会话消息群发页面可包括本次群发会话消息的会话标识,还可包括会话标识的删除控件和/或会话标识的添加入口,会话标识的删除控件是删除本次群发会话消息的会话标识的操作控件,会话标识的添加入口是添加本次群发会话消息的会话标识的操作入口。发送终端响应于对会话标识的删除控件的触发操作,可及时删除相应会话标识,发送终端响应于对会话标识的添加入口的触发操作,可及时添加会话标识。参照图7,图7示出了另一个实施例中会话消息群发页面的界面示意图。可以看到,会话消息群发页面可包括会话标识的删除控件702,目标用户标识对应的用户可通过会话标识的删除控件702删除相应会话标识。会话消息群发页面还可包括会话标识的添加入口704,目标用户标识对应的用户可通过会话标识的添加入口704添加会话标识。In one embodiment, the group messaging page may include a session identifier for the current group messaging session, and may also include a delete control for the session identifier and/or an add entry for the session identifier. The delete control is an operation control for deleting the session identifier for the current group messaging session, and the add entry is an operation entry for adding the session identifier for the current group messaging session. In response to a trigger operation on the delete control, the sending terminal can promptly delete the corresponding session identifier; in response to a trigger operation on the add entry, the sending terminal can promptly add a session identifier. Referring to Figure 7, Figure 7 shows a schematic diagram of the group messaging page interface in another embodiment. It can be seen that the group messaging page may include a delete control 702 for the session identifier, allowing the user corresponding to the target user identifier to delete the corresponding session identifier. The group messaging page may also include an add entry 704 for the session identifier, allowing the user corresponding to the target user identifier to add a session identifier.
步骤S408,响应于对群发信息的发送操作,通过子应用将群发信息作为会话消息分别发送至即时通信应用中与各会话标识对应的会话。Step S408: In response to the sending operation of the mass message, the mass message is sent as a session message to the session corresponding to each session identifier in the instant messaging application through the sub-application.
在一个实施例中,发送终端响应于对群发信息的发送操作,以目标用户标识作为发送者,通过子应用将群发信息作为会话消息分别发送至即时通信应用中与各会话标识对应的会话。In one embodiment, in response to the sending operation of mass messaging, the sending terminal uses the target user identifier as the sender and sends the mass messaging as a session message to the session corresponding to each session identifier in the instant messaging application through a sub-application.
在一个实施例中,接收终端将群发信息作为会话消息发送至各会话标识对应的会话成员标识登录的即时通信应用后,通过以会话成员标识登录的即时通信应用,在与各会话标识对应的会话页面中,显示会话消息。In one embodiment, after the receiving terminal sends the mass message as a session message to the instant messaging application logged in by the session member ID corresponding to each session ID, the session message is displayed on the session page corresponding to each session ID through the instant messaging application logged in by the session member ID.
其中,会话成员标识是各会话标识对应的会话成员的用户标识。接收终端进入以会话成员标识登录的即时通信应用,在与各会话标识对应的会话页面中,显示目标用户标识通过子应用发送的包括群发信息的会话消息。Here, the session member identifier is the user identifier of the session member corresponding to each session identifier. The receiving terminal enters the instant messaging application logged in with the session member identifier, and displays the session messages, including group messages, sent by the target user identifier through the sub-application on the session page corresponding to each session identifier.
在一个实施例中,即时通信应用中与目标用户标识对应的会话可以是即时通信应用中目标用户标识参与的群组会话和/或联系人会话,群组会话的会话成员可包括一个或多于一个即时通信应用的社交对象,联系人会话的会话成员也可以是相同或不同即时通信应用的社交对象。参照图8,图8示出了一个实施例中接收终端通过即时通信应用展示的会话页面示意图。可以看到,当会话成员标识与目标用户标识属于相同的即时通信应用时,在接收终端的会话页面中显示目标用户标识推送的包括群发信息的会话消息。参照图9,图9示出了另一个实施例中接收终端通过即时通信应用展示的会话页面示意图。可以看到,当会话成员标识与目标用户标识属于不同的即时通信应用时,在接收终端的会话页面中显示目标用户标识推送的包括群发信息的会话消息,目标用户标识可携带与目标用户标识对应的即时通信应用相匹配的标识信息。In one embodiment, the session corresponding to the target user identifier in an instant messaging application can be a group session and/or a contact session in which the target user identifier participates. The session members of a group session can include social contacts from one or more instant messaging applications, and the session members of a contact session can be social contacts from the same or different instant messaging applications. Referring to Figure 8, Figure 8 shows a schematic diagram of a session page displayed by a receiving terminal through an instant messaging application in one embodiment. It can be seen that when the session member identifier and the target user identifier belong to the same instant messaging application, the session message pushed by the target user identifier, including group messaging information, is displayed on the session page of the receiving terminal. Referring to Figure 9, Figure 9 shows a schematic diagram of a session page displayed by a receiving terminal through an instant messaging application in another embodiment. It can be seen that when the session member identifier and the target user identifier belong to different instant messaging applications, the session message pushed by the target user identifier, including group messaging information, is displayed on the session page of the receiving terminal. The target user identifier can carry identifier information matching the instant messaging application corresponding to the target user identifier.
在一个实施例中,发送终端从子应用返回以目标用户标识登录的即时通信应用中,在即时通信应用中的与各会话标识对应的会话中,显示包括群发信息的会话消息。In one embodiment, the sending terminal returns from the sub-application to the instant messaging application logged in with the target user's identifier, and displays a session message including the mass message in the session corresponding to each session identifier in the instant messaging application.
在一个实施例中,发送终端从子应用返回以目标用户标识登录的即时通信应用中,在即时通信应用中的与各会话标识对应的会话中,显示目标用户标识通过子应用发送的包括群发信息的会话消息。参照图10,图10示出了又一个实施例中接收终端通过即时通信应用展示的会话页面示意图。可以看到,目标用户标识返回即时通信应用中,在各会话标识对应的会话中显示目标用户标识通过子应用发送的包括群发信息的会话消息。In one embodiment, the sending terminal returns from the sub-application to the instant messaging application logged in with the target user's identifier. In the instant messaging application, within the sessions corresponding to each session identifier, the session messages, including mass messaging information, sent by the target user's identifier through the sub-application are displayed. Referring to Figure 10, which illustrates a schematic diagram of the session page displayed by the receiving terminal through the instant messaging application in another embodiment, it can be seen that the target user's identifier returns to the instant messaging application, and the session messages, including mass messaging information, sent by the target user's identifier through the sub-application are displayed in the sessions corresponding to each session identifier.
在一个实施例中,会话消息群发页面不显示各会话标识对应的会话中其他会话成员标识发送的会话消息,发送终端从子应用返回以目标用户标识登录的即时通信应用中,在即时通信应用中的与各会话标识对应的会话中,显示其他会话成员标识发送的会话消息,以及目标用户标识通过子应用发送的包括群发信息的会话消息。继续参照图10,可以看到,目标用户标识返回即时通信应用中,在各会话标识对应的会话中可正常显示其他会话成员标识通过即时通信应用发送的会话消息。In one embodiment, the group messaging page does not display session messages sent by other session member identifiers within the sessions corresponding to each session identifier. The sending terminal returns from the sub-application to the instant messaging application logged in with the target user identifier. In the instant messaging application, the session messages sent by other session member identifiers, as well as the group messaging messages sent by the target user identifier through the sub-application, are displayed in the sessions corresponding to each session identifier. Referring to Figure 10, it can be seen that when the target user identifier returns to the instant messaging application, the session messages sent by other session member identifiers through the instant messaging application are displayed normally in the sessions corresponding to each session identifier.
在一个实施例中,会话消息群发页面可包括群发信息展示区域,群发信息展示区域用于展示发送终端通过子应用发出的包括群发信息的会话消息。继续参照图6,可以看到,会话消息群发页面还可包括群发信息展示区域606,通过群发信息展示区域606展示目标用户标识发送的包括群发信息的会话消息。In one embodiment, the group messaging page may include a group messaging display area, which is used to display group messaging messages sent by the sending terminal through a sub-application, including group messaging information. Referring again to Figure 6, the group messaging page may also include a group messaging display area 606, which displays group messaging messages sent by a target user identifier.
在一个实施例中,在会话消息群发页面显示各会话标识对应的会话消息提示信息,会话消息提示信息可用于提示相应会话标识所对应的会话中其他会话成员标识发送的会话消息情况,例如消息数量。参照图11,图11示出了又一个实施例中会话消息群发页面的界面示意图。可以看到,会话消息群发页面可包括会话消息提示信息1102,目标用户标识对应的用户可通过会话消息提示信息1102获知各会话标识对应的会话消息情况,以及时返回即时通信应用中查看会话消息。In one embodiment, the group messaging page displays session message prompts corresponding to each session identifier. These prompts can be used to indicate the status of session messages sent by other session members within the corresponding session, such as the number of messages. Referring to Figure 11, which shows a schematic diagram of the group messaging page interface in another embodiment, the group messaging page can be seen to include session message prompts 1102. Users corresponding to the target user identifier can use these prompts to learn about the session message status for each session identifier and promptly return to the instant messaging application to view the session messages.
上述消息处理方法,通过运行于即时通信应用中且以目标用户标识登录的子应用,显示即时通信应用中与目标用户标识对应的至少一部分会话各自的会话标识,以及各会话标识所共同对应的信息编辑区域,这样,通过子应用可自主编辑群发信息,从而向即时通信应用中与目标用户标识对应的至少一部分会话发送包括群发信息的会话消息,通过子应用实现即时通信应用中多于一个会话的消息同步,提高了消息同步效率。The aforementioned message processing method, through a sub-application running within an instant messaging application and logged in with the target user identifier, displays the session identifiers of at least a portion of the sessions in the instant messaging application corresponding to the target user identifier, as well as the message editing area commonly corresponding to each session identifier. In this way, the sub-application can independently edit group messages, thereby sending session messages including group messages to at least a portion of the sessions in the instant messaging application corresponding to the target user identifier. The sub-application enables message synchronization of more than one session in the instant messaging application, improving message synchronization efficiency.
在一个实施例中,在子应用中显示至少一个会话各自对应的会话标识,包括:在子应用中显示会话标识列表,会话标识列表包括即时通信应用中与目标用户标识相对应的会话的会话标识;响应于对会话标识列表中的会话标识的选择操作,确定至少一个会话标识,并在子应用中显示各会话标识。In one embodiment, displaying at least one session identifier corresponding to each session in a sub-application includes: displaying a list of session identifiers in the sub-application, the list of session identifiers including session identifiers of sessions in the instant messaging application corresponding to a target user identifier; and, in response to a selection operation of a session identifier in the list of session identifiers, determining at least one session identifier and displaying each session identifier in the sub-application.
在一个实施例中,发送终端进入以目标用户标识授权登录的子应用,显示子应用的应用页面,该应用页面可包括会话标识列表,响应于对会话标识列表中的会话标识的选择操作,确定至少一个会话标识,并在子应用中显示本次群发会话消息的各会话标识。In one embodiment, the sending terminal enters a sub-application authorized by the target user identifier and displays the application page of the sub-application. The application page may include a list of session identifiers. In response to a selection operation of a session identifier in the list of session identifiers, at least one session identifier is determined, and each session identifier of the current group message is displayed in the sub-application.
举例说明,参照图12,图12示出了一个实施例中会话标识选择页面的界面示意图。可以看到,在子应用中显示会话标识列表1202,会话标识列表1202中的会话标识可以是即时通信应用中与目标用户标识相对应的会话的会话标识,目标用户标识对应的用户可从会话标识列表1202中选择本次群发会话消息的会话标识。For example, referring to Figure 12, which shows a schematic diagram of the session identifier selection page in one embodiment, it can be seen that a session identifier list 1202 is displayed in the sub-application. The session identifiers in the session identifier list 1202 can be session identifiers of sessions corresponding to target user identifiers in instant messaging applications. Users corresponding to target user identifiers can select the session identifier for this group message from the session identifier list 1202.
参照图13,图13示出了另一个实施例中会话标识选择页面的界面示意图。可以看到,在子应用中显示会话标识列表1308,会话标识列表1308中的会话标识可以是即时通信应用中与目标用户标识相对应的一部分会话的会话标识,目标用户标识对应的用户可从会话标识列表1308中选择本次群发会话消息的会话标识。Referring to Figure 13, which shows a schematic diagram of the session identifier selection page in another embodiment, it can be seen that a session identifier list 1308 is displayed in the sub-application. The session identifiers in the session identifier list 1308 can be session identifiers of a portion of sessions in the instant messaging application that correspond to the target user identifier. The user corresponding to the target user identifier can select the session identifier for this group message from the session identifier list 1308.
在另一个实施例中,发送终端进入以目标用户标识授权登录的子应用,显示子应用的应用页面,该应用页面可包括会话标识选择入口,响应于对会话标识选择入口的触发操作,显示会话标识列表,响应于对会话标识列表中的会话标识的选择操作,确定至少一个会话标识,并在子应用中显示本次群发会话消息的各会话标识。In another embodiment, the sending terminal enters a sub-application authorized by the target user identifier and displays the application page of the sub-application. The application page may include a session identifier selection entry. In response to a trigger operation on the session identifier selection entry, a list of session identifiers is displayed. In response to a selection operation on a session identifier in the list of session identifiers, at least one session identifier is determined, and each session identifier of this mass message is displayed in the sub-application.
举例说明,继续参照图5,可以看到,群发记录展示页面还可包括会话标识选择入口508,目标用户标识对应的用户可通过会话标识选择入口508触发显示会话标识列表,通过会话标识列表选择本次群发会话消息的会话标识。For example, referring to Figure 5, the mass messaging record display page can also include a session identifier selection entry 508. Users corresponding to the target user identifier can trigger the display of the session identifier list through the session identifier selection entry 508 and select the session identifier of the current mass messaging session from the session identifier list.
继续参照图13,可以看到,在子应用中显示群组会话标识选择入口1302、联系人标识选择入口1304和/或群发组选择入口1306。群组会话标识选择入口1302是选择群组会话标识的操作入口,联系人标识选择入口1304是选择联系人标识的操作入口,群发组选择入口1306是选择群发组的操作入口,群发组可以是由目标用户标识建立的至少一个会话标识的集合。目标用户标识对应的用户可通过群组会话标识选择入口1302、联系人标识选择入口1304、群发组选择入口1306和/或会话标识列表1308选择本次群发会话消息的会话标识。Referring again to Figure 13, it can be seen that the sub-application displays the group session identifier selection entry 1302, the contact identifier selection entry 1304, and/or the mass messaging group selection entry 1306. Group session identifier selection entry 1302 is the entry point for selecting a group session identifier, contact identifier selection entry 1304 is the entry point for selecting a contact identifier, and mass messaging group selection entry 1306 is the entry point for selecting a mass messaging group. A mass messaging group can be a set of at least one session identifier established by a target user identifier. The user corresponding to the target user identifier can select the session identifier for this mass messaging message through group session identifier selection entry 1302, contact identifier selection entry 1304, mass messaging group selection entry 1306, and/or session identifier list 1308.
本实施例中,通过子应用可自主选择群发会话消息的会话,提高了即时通信应用中多于一个会话的消息同步的自由度。In this embodiment, the sub-application can independently select the session to send group messages, which increases the freedom of message synchronization for more than one session in instant messaging applications.
在一个实施例中,在子应用中显示会话标识列表,会话标识列表包括即时通信应用中与目标用户标识相对应的会话的会话标识,包括:在子应用中显示即时通信应用中与目标用户标识相对应的群组会话的会话标识构成的群组会话标识列表;响应于对会话标识列表中的会话标识的选择操作,确定至少一个会话标识,并在子应用中显示各会话标识,包括:响应于对群组会话标识列表中的会话标识的选择操作,确定至少一个群组会话标识,并在子应用中显示各群组会话标识。In one embodiment, displaying a session identifier list in a sub-application, the session identifier list including session identifiers of sessions in the instant messaging application corresponding to a target user identifier, includes: displaying a group session identifier list in the sub-application consisting of session identifiers of group sessions in the instant messaging application corresponding to the target user identifier; in response to a selection operation of a session identifier in the session identifier list, determining at least one session identifier and displaying each session identifier in the sub-application, includes: in response to a selection operation of a session identifier in the group session identifier list, determining at least one group session identifier and displaying each group session identifier in the sub-application.
在一个实施例中,发送终端通过子应用可向即时通信应用中与目标用户标识对应的至少一部分群组会话发送包括群发信息的会话消息。In one embodiment, the sending terminal can send a session message, including mass messaging information, to at least a portion of group sessions in an instant messaging application that correspond to a target user identifier via a sub-application.
在一个实施例中,发送终端进入以目标用户标识授权登录的子应用,显示子应用的应用页面,该应用页面可包括群组会话标识列表,响应于对群组会话标识列表中的会话标识的选择操作,确定至少一个群组会话标识,并在子应用中显示本次群发会话消息的各群组会话标识。In one embodiment, the sending terminal enters a sub-application authorized by the target user identifier and displays the application page of the sub-application. The application page may include a list of group session identifiers. In response to the selection operation of the session identifier in the list of group session identifiers, at least one group session identifier is determined, and each group session identifier of this group message is displayed in the sub-application.
在另一个实施例中,发送终端进入以目标用户标识授权登录的子应用,显示子应用的应用页面,该应用页面可包括会话标识选择入口,响应于对会话标识选择入口的触发操作,显示群组会话标识列表,响应于对群组会话标识列表中的会话标识的选择操作,确定至少一个群组会话标识,并在子应用中显示本次群发会话消息的各群组会话标识。In another embodiment, the sending terminal enters a sub-application authorized by the target user identifier and displays the application page of the sub-application. The application page may include a session identifier selection entry. In response to a trigger operation on the session identifier selection entry, a group session identifier list is displayed. In response to a selection operation on a session identifier in the group session identifier list, at least one group session identifier is determined, and each group session identifier of this group message is displayed in the sub-application.
本实施例中,通过子应用向即时通信应用中与目标用户标识对应的至少一部分群组会话发送会话消息,实现即时通信应用中至少一个群组会话的消息同步。In this embodiment, a sub-application sends session messages to at least a portion of group sessions in the instant messaging application that correspond to the target user identifier, thereby achieving message synchronization of at least one group session in the instant messaging application.
在一个实施例中,在子应用中显示会话标识列表,包括:向即时通信应用对应的应用服务器发送携带目标用户标识的会话获取请求;接收应用服务器响应于会话获取请求返回的与目标用户标识对应的会话标识;根据接收的会话标识显示会话标识列表。In one embodiment, displaying a list of session identifiers in a sub-application includes: sending a session retrieval request carrying a target user identifier to the application server corresponding to the instant messaging application; receiving a session identifier corresponding to the target user identifier returned by the application server in response to the session retrieval request; and displaying a list of session identifiers based on the received session identifiers.
其中,会话获取请求用于请求即时通信应用中目标用户标识对应的会话的会话标识。The session retrieval request is used to request the session identifier of the session corresponding to the target user identifier in the instant messaging application.
在一个实施例中,发送终端通过子应用将携带目标用户标识的会话获取请求发送至子应用服务器,通过子应用服务器将会话获取请求转发至即时通信应用对应的应用服务器,应用服务器响应于会话获取请求查找与目标用户标识对应的会话标识,并向发送终端返回与目标用户标识对应的会话标识,发送终端根据接收的会话标识显示会话标识列表。In one embodiment, the sending terminal sends a session acquisition request carrying the target user identifier to the sub-application server through a sub-application. The sub-application server then forwards the session acquisition request to the application server corresponding to the instant messaging application. In response to the session acquisition request, the application server looks up the session identifier corresponding to the target user identifier and returns the session identifier corresponding to the target user identifier to the sending terminal. The sending terminal then displays a list of session identifiers based on the received session identifiers.
本实施例中,发送终端向即时通信应用对应的应用服务器请求目标用户标识对应的会话标识,以在子应用中显示目标用户标识对应的会话标识。In this embodiment, the sending terminal requests the session identifier corresponding to the target user identifier from the application server corresponding to the instant messaging application, so as to display the session identifier corresponding to the target user identifier in the sub-application.
在一个实施例中,该方法还包括:按照对会话标识列表中的会话标识的选择顺序,确定各会话标识的会话消息发送顺序;响应于对群发信息的发送操作,通过子应用将群发信息作为会话消息分别发送至即时通信应用中与各会话标识对应的会话,包括:响应于对群发信息的发送操作,通过子应用按照各会话标识的会话消息发送顺序,依次将群发信息作为会话消息分别发送至即时通信应用中与各会话标识对应的会话。In one embodiment, the method further includes: determining the session message sending order of each session identifier according to the selection order of the session identifiers in the session identifier list; and in response to the sending operation of the mass message, sending the mass message as session messages to the sessions corresponding to each session identifier in the instant messaging application through a sub-application, including: in response to the sending operation of the mass message, sending the mass message as session messages to the sessions corresponding to each session identifier in the instant messaging application in sequence through a sub-application according to the session message sending order of each session identifier.
在一个实施例中,发送终端进入以目标用户标识授权登录的子应用,显示子应用的应用页面,该应用页面可包括会话标识列表,响应于对会话标识列表中的会话标识的选择操作,确定至少一个会话标识,并按照对会话标识列表中的会话标识的选择顺序,确定各会话标识的会话消息发送顺序。发送终端响应于对群发信息的发送操作,通过子应用按照各会话标识的会话消息发送顺序,依次将群发信息作为会话消息分别发送至即时通信应用中与各会话标识对应的会话。In one embodiment, the sending terminal enters a sub-application authorized by the target user identifier and displays the application page of the sub-application. This application page may include a list of session identifiers. In response to a selection operation of a session identifier in the list, at least one session identifier is determined, and the session message sending order for each session identifier is determined according to the selection order of the session identifiers in the list. In response to a mass messaging operation, the sending terminal, through the sub-application, sequentially sends the mass messaging information as session messages to the sessions corresponding to each session identifier in the instant messaging application according to the session message sending order of each session identifier.
举例说明,参照图14,图14示出了一个实施例中会话消息发送步骤的框架示意图。假设至少一个会话标识的会话消息发送顺序为“A群、B群、C群、…”,会话消息的生成顺序为“会话消息1、会话消息2、…”,那么,先按照“A群、B群、C群、…”的顺序依次发送会话消息1,当会话消息1发送完毕,再按照“A群、B群、C群、…”的顺序依次发送会话消息2,直至会话消息发送完毕。可以理解,各会话成员标识登录的即时通信应用对于同一会话消息的接收时间可能不同。For example, referring to Figure 14, which illustrates a framework diagram of the session message sending steps in one embodiment. Assume the session message sending order for at least one session identifier is "Group A, Group B, Group C, ...", and the session message generation order is "Session Message 1, Session Message 2, ...". Then, session message 1 is sent sequentially according to the order "Group A, Group B, Group C, ...". After session message 1 is sent, session message 2 is sent sequentially according to the order "Group A, Group B, Group C, ...", until all session messages are sent. It is understood that the instant messaging applications logged in by different session member identifiers may receive the same session message at different times.
本实施例中,按照对会话标识列表中的会话标识的选择顺序,确定各会话标识的会话消息发送顺序,按照各会话标识的会话消息发送顺序,依次将会话消息分别发送至即时通信应用中与各会话标识对应的会话,实现对会话消息的有序群发,避免了会话消息的漏发。In this embodiment, the order in which session identifiers are selected from the list of session identifiers is determined, and the session messages are sent sequentially to the sessions corresponding to each session identifier in the instant messaging application according to the order in which the session messages are sent, thereby achieving orderly mass sending of session messages and avoiding missed messages.
在一个实施例中,响应于对会话标识列表中的会话标识的选择操作,确定至少一个会话标识之后,该方法还包括:当确定的至少一个会话标识为多于一个会话对应的会话标识时,在子应用中显示共同会话成员标识,共同会话成员标识是同时属于多于一个会话的会话成员所对应的用户标识;响应于对共同会话成员标识中任一共同会话成员标识的选择操作,将选择的共同会话成员标识对应的会话成员作为群发信息的发送者;响应于对群发信息的发送操作,通过子应用将群发信息作为会话消息分别发送至即时通信应用中与各会话标识对应的会话,包括:当选择的共同会话成员标识与目标用户标识匹配时,以目标用户标识作为发送者,通过子应用将群发信息作为会话消息分别发送至即时通信应用中与各会话标识对应的会话。In one embodiment, after determining at least one session identifier in response to a selection operation of session identifiers in the session identifier list, the method further includes: when the determined at least one session identifier is a session identifier corresponding to more than one session, displaying a common session member identifier in a sub-application, wherein the common session member identifier is a user identifier corresponding to a session member that simultaneously belongs to more than one session; in response to a selection operation of any common session member identifier among the common session member identifiers, using the selected common session member identifier as the sender of the mass message; and in response to a mass message sending operation, sending the mass message as a session message to the sessions corresponding to each session identifier in the instant messaging application through the sub-application, including: when the selected common session member identifier matches a target user identifier, using the target user identifier as the sender, sending the mass message as a session message to the sessions corresponding to each session identifier in the instant messaging application through the sub-application.
其中,共同会话成员标识是同时存在于各会话标识对应的会话中的会话成员标识。Among them, the common session member identifier is a session member identifier that exists simultaneously in the sessions corresponding to each session identifier.
在一个实施例中,发送终端获取各会话标识对应的会话成员标识,根据各会话标识对应的会话成员标识确定共同会话成员标识,展示共同会话成员标识。参照图15,图15示出了一个实施例中在子应用中显示共同会话成员标识的界面示意图。可以看到,发送终端在子应用中显示共同会话成员标识1502。In one embodiment, the sending terminal obtains the session member identifiers corresponding to each session identifier, determines the common session member identifier based on the session member identifiers corresponding to each session identifier, and displays the common session member identifier. Referring to Figure 15, Figure 15 shows a schematic diagram of the interface for displaying the common session member identifier in a sub-application in one embodiment. It can be seen that the sending terminal displays the common session member identifier 1502 in the sub-application.
在一个实施例中,发送终端响应于对共同会话成员标识中任一共同会话成员标识的选择操作,将选择的共同会话成员标识对应的会话成员作为群发信息的发送者,当选择的共同会话成员标识为目标用户标识时,以目标用户标识作为发送者,通过子应用将群发信息作为会话消息分别发送至即时通信应用中与各会话标识对应的会话。In one embodiment, in response to the selection operation of any common session member identifier among the common session member identifiers, the sending terminal uses the session member corresponding to the selected common session member identifier as the sender of the mass message. When the selected common session member identifier is a target user identifier, the target user identifier is used as the sender, and the mass message is sent as a session message to the session corresponding to each session identifier in the instant messaging application through the sub-application.
在一个实施例中,该方法还包括:当选择的共同会话成员标识与目标用户标识不匹配时,将用于群发群发信息的子应用分享至选择的共同会话成员标识与目标会话成员标识所构建的会话。In one embodiment, the method further includes: when the selected common session member identifier does not match the target user identifier, sharing the sub-application used for mass messaging to the session constructed by the selected common session member identifier and the target session member identifier.
在一个实施例中,当选择的共同会话成员标识不是目标用户标识时,显示分享提示窗口,该分享提示窗口用于将子应用分享至选择的共同会话成员标识与目标会话成员标识所构建的会话,以使选择的共同会话成员标识登录子应用群发会话消息。参照图16,图16示出了一个实施例中分享提示窗口的界面示意图。可以看到,发送终端在子应用中显示分享提示窗口1602,目标用户标识对应的用户可通过分享提示窗口1602将子程序分享给选择的共同会话成员标识对应的会话成员。In one embodiment, when the selected common session member identifier is not the target user identifier, a sharing prompt window is displayed. This sharing prompt window is used to share the sub-application to the session constructed by the selected common session member identifier and the target session member identifier, so that the selected common session member identifier can log in to the sub-application and send group session messages. Referring to Figure 16, Figure 16 shows a schematic diagram of the sharing prompt window interface in one embodiment. It can be seen that the sending terminal displays the sharing prompt window 1602 in the sub-application, and the user corresponding to the target user identifier can share the sub-program with the session member corresponding to the selected common session member identifier through the sharing prompt window 1602.
在一个实施例中,该方法还包括:当选择的共同会话成员标识与目标用户标识匹配时,在子应用中显示多于一个会话各自对应的会话标识;在子应用中各会话标识所共同对应的信息编辑区域,显示响应于输入操作所输入的群发信息;响应于对群发信息的发送操作,以选择的共同会话成员标识作为群发信息的发送者,通过子应用将群发信息作为会话消息分别发送至即时通信应用中与各会话标识对应的会话。In one embodiment, the method further includes: when the selected common session member identifier matches the target user identifier, displaying the session identifiers corresponding to more than one session in the sub-application; displaying the group message entered in response to the input operation in the information editing area commonly corresponding to each session identifier in the sub-application; and in response to the sending operation of the group message, using the selected common session member identifier as the sender of the group message, sending the group message as a session message to the sessions corresponding to each session identifier in the instant messaging application through the sub-application.
在一个实施例中,当选择的共同会话成员标识是目标用户标识时,发送终端显示消息群发页面,消息群发页面中可包括多于一个会话各自对应的会话标识以及各会话标识所共同对应的信息编辑区域,以选择的共同会话成员标识作为群发信息的发送者,通过消息群发页面将群发信息作为会话消息分别发送至即时通信应用中与各会话标识对应的会话。In one embodiment, when the selected common session member identifier is the target user identifier, the sending terminal displays a message mass sending page. The message mass sending page may include a session identifier corresponding to more than one session and a message editing area corresponding to each session identifier. The selected common session member identifier is used as the sender of the mass message, and the mass message is sent as a session message to the session corresponding to each session identifier in the instant messaging application through the message mass sending page.
本实施例中,通过子应用可选择会话消息的发送者,提高了即时通信应用中多于一个会话的消息同步的自由度。In this embodiment, the ability of sub-applications to select the sender of session messages increases the flexibility of message synchronization for more than one session in instant messaging applications.
在一个实施例中,其特征在于,该方法还包括:获取多于一个会话各自对应的会话标识;向即时通信应用的应用服务器发送会话成员获取请求,会话成员获取请求携带各会话标识;接收应用服务器响应于会话成员获取请求返回的与各会话标识分别对应的会话成员标识;根据各会话标识对应的会话成员标识确定共同会话成员标识。In one embodiment, the method further includes: obtaining session identifiers corresponding to more than one session; sending a session member acquisition request to the application server of the instant messaging application, the session member acquisition request carrying each session identifier; receiving session member identifiers corresponding to each session identifier returned by the application server in response to the session member acquisition request; and determining a common session member identifier based on the session member identifiers corresponding to each session identifier.
其中,会话成员获取请求用于请求即时通信应用中各会话标识对应的会话成员标识。The session member retrieval request is used to request the session member identifier corresponding to each session identifier in the instant messaging application.
在一个实施例中,发送终端通过子应用将携带携带各会话标识的会话成员获取请求发送至子应用服务器,通过子应用服务器将会话成员获取请求转发至即时通信应用对应的应用服务器,应用服务器响应于会话成员获取请求查找与各会话标识对应的会话成员标识,并向发送终端返回与各会话标识对应的会话成员标识,发送终端根据各会话标识对应的会话成员标识确定共同会话成员标识。In one embodiment, the sending terminal sends a session member retrieval request carrying each session identifier to the sub-application server through a sub-application. The sub-application server then forwards the session member retrieval request to the application server corresponding to the instant messaging application. In response to the session member retrieval request, the application server looks up the session member identifier corresponding to each session identifier and returns the session member identifier corresponding to each session identifier to the sending terminal. The sending terminal determines the common session member identifier based on the session member identifier corresponding to each session identifier.
本实施例中,发送终端向即时通信应用对应的应用服务器请求各会话标识对应的会话成员标识,以从各会话标识对应的会话成员标识中确定会话消息的发送者。In this embodiment, the sending terminal requests the session member identifiers corresponding to each session identifier from the application server corresponding to the instant messaging application, so as to determine the sender of the session message from the session member identifiers corresponding to each session identifier.
在一个实施例中,在子应用中各会话标识所共同对应的信息编辑区域,显示响应于输入操作所输入的群发信息,包括:在子应用中显示各会话标识所共同对应的信息编辑区域;响应于在信息编辑区域的输入操作,获取群发信息;按照与群发信息的信息类型匹配的信息展示格式,在信息编辑区域中展示群发信息。In one embodiment, displaying a mass message in response to an input operation in a message editing area common to each session identifier in a sub-application includes: displaying a message editing area common to each session identifier in the sub-application; obtaining the mass message in response to an input operation in the message editing area; and displaying the mass message in the message editing area according to a message display format matching the message type of the mass message.
其中,信息展示格式是与群发信息的信息类型相匹配的信息展示方式。Among them, the information display format is the information display method that matches the information type of the mass-sent information.
在一个实施例中,群发信息可以是文字、语音、图片、表情包、文件或者音视频等。In one embodiment, the mass message can be text, voice, image, emoji, file, or audio/video, etc.
在一个实施例中,接收终端响应于在信息编辑区域的输入操作,获取群发信息,按照与群发信息的信息类型匹配的信息展示格式,在信息编辑区域中展示群发信息。In one embodiment, the receiving terminal responds to an input operation in the information editing area, acquires the mass message, and displays the mass message in the information editing area according to an information display format that matches the information type of the mass message.
本实施例中,可支持多种信息类型的会话消息的群发,提高了在即时通信应用中群发会话消息的适用性。In this embodiment, group sending of conversation messages of various information types can be supported, improving the applicability of group sending of conversation messages in instant messaging applications.
在一个实施例中,该方法还包括:进入运行于即时通信应用中的子应用,即时通信应用以目标用户标识登录;在子应用中显示登录授权窗口;响应于在登录授权窗口的授权操作,以目标用户标识登录子应用。In one embodiment, the method further includes: entering a sub-application running in an instant messaging application, the instant messaging application being logged in with the target user identifier; displaying a login authorization window in the sub-application; and logging into the sub-application with the target user identifier in response to an authorization operation in the login authorization window.
在一个实施例中,发送终端进入以目标用户标识登录的即时通信应用,显示子应用的查看入口,响应于对子应用的查看入口的触发操作,显示子应用菜单,响应于对子应用菜单中的子应用的选择操作,进入选择操作对应的子应用。若子应用处于未登录状态,发送终端在子应用中显示登录授权窗口,响应于在登录授权窗口的授权操作,以目标用户标识登录子应用。可以理解,在子应用以目标用户标识授权登录后,可在指定时长内保持登录状态,避免每次进入子应用都需要进行授权登录,节省登录流程。In one embodiment, the sending terminal enters an instant messaging application logged in with the target user's identifier, displays an entry point for viewing sub-applications, and, in response to a trigger operation on the sub-application viewing entry point, displays a sub-application menu. In response to a selection operation within the sub-application menu, the sending terminal enters the sub-application corresponding to the selection operation. If the sub-application is not logged in, the sending terminal displays a login authorization window within the sub-application, and, in response to an authorization operation in the login authorization window, logs in to the sub-application with the target user's identifier. It can be understood that after authorizing login to the sub-application with the target user's identifier, the login status can be maintained for a specified period, avoiding the need for authorization login every time the sub-application is accessed, thus saving login steps.
本实施例中,即时通信应用中的子应用以目标用户标识授权登录,用户登录即时通信应用后即可快捷登录子应用。In this embodiment, the sub-applications in the instant messaging application are authorized to log in using the target user's identifier. After logging into the instant messaging application, the user can quickly log into the sub-applications.
在一个实施例中,该方法还包括:当目标用户标识对应的会话成员从会话标识对应的会话中被移除时,在子应用中显示关于群发信息在会话标识对应的会话中发送失败的提示信息。In one embodiment, the method further includes: when the session member corresponding to the target user identifier is removed from the session corresponding to the session identifier, displaying a prompt message in the sub-application about the failure to send the mass message in the session corresponding to the session identifier.
在一个实施例中,发送终端进入运行于即时通信应用中且以目标用户标识授权登录的子应用,通过子应用向即时通信应用中与目标用户标识对应的至少一部分会话群发会话消息,当目标用户标识对应的用户从会话标识对应的会话中被移除时,发送终端在子应用中显示关于群发信息在该会话标识对应的会话中发送失败的提示信息。可以理解,当会话标识对应的群组会话解散,目标用户标识对应的用户从会话标识对应的群组会话中被移除,目标用户标识对应的用户被联系人删除、拉黑等,均可导致目标用户标识对应的用户从会话标识对应的会话中被移除的情况。In one embodiment, the sending terminal enters a sub-application running within an instant messaging application and is authorized to log in with the target user's identifier. The sub-application then sends a group message to at least a portion of the sessions within the instant messaging application corresponding to the target user's identifier. When the user corresponding to the target user's identifier is removed from the session corresponding to that session identifier, the sending terminal displays a message in the sub-application indicating that the group message failed to be sent within that session. It is understood that the removal of the user from the session can occur when the group session corresponding to the session identifier is disbanded, when the user corresponding to the target user's identifier is removed from the group session, or when the user is deleted or blocked by a contact.
举例说明,参照图17,图17示出了一个实施例中在子应用中显示提示信息的界面示意图。可以看到,当目标用户标识对应的用户从群组会话中被移除时,显示提示信息1702,以提示目标用户标识对应的用户在该群组会话中的会话消息发送失败。For example, referring to Figure 17, which shows a schematic diagram of an interface displaying prompt information in a sub-application in one embodiment. As can be seen, when the user corresponding to the target user identifier is removed from the group session, prompt information 1702 is displayed to indicate that the user corresponding to the target user identifier failed to send session messages in the group session.
本实施例中,在通过子应用向即时通信应用中的会话群发会话消息时,当目标用户标识对应的用户从会话中被移除,及时在子应用中显示提示信息,以提示目标用户标识对应的用户在该会话中的会话消息发送失败。In this embodiment, when sending a group message to a session in an instant messaging application through a sub-application, if the user corresponding to the target user identifier is removed from the session, a prompt message is displayed in the sub-application in a timely manner to indicate that the session message sent to the user corresponding to the target user identifier in that session has failed.
在一个实施例中,该方法还包括:从子应用返回以目标用户标识登录的即时通信应用中;在即时通信应用中的与各会话标识对应的会话中,显示除目标用户标识以外的其他会话成员标识通过子应用推送的包括群发信息的会话消息。In one embodiment, the method further includes: returning from the sub-application to the instant messaging application logged in with the target user identifier; and displaying, in the sessions corresponding to each session identifier in the instant messaging application, session messages including mass messaging information pushed by the sub-application by other session member identifiers besides the target user identifier.
在一个实施例中,发送终端从子应用返回以目标用户标识登录的即时通信应用中,在即时通信应用中的与各会话标识对应的会话中,显示除目标用户标识以外的其他会话成员标识通过子应用推送的包括群发信息的会话消息。参照图18,图18示出了再一个实施例中接收终端通过即时通信应用展示的会话页面示意图。其中,消息1802为其他会话成员标识通过子应用推送的包括群发信息的会话消息。可以看到,目标用户标识返回即时通信应用中,在各会话标识对应的会话中显示目标用户标识通过子应用发送的包括群发信息的会话消息,其他会话成员标识通过子应用发送的包括群发信息的会话消息,以及其他会话成员标识通过即时通信应用发送的会话消息也可正常显示。In one embodiment, the sending terminal returns from the sub-application to the instant messaging application logged in with the target user identifier. In the sessions corresponding to each session identifier within the instant messaging application, session messages including mass messaging information pushed by other session member identifiers (excluding the target user identifier) through the sub-application are displayed. Referring to Figure 18, Figure 18 shows a schematic diagram of the session page displayed by the receiving terminal through the instant messaging application in another embodiment. Message 1802 is a session message including mass messaging information pushed by other session member identifiers through the sub-application. It can be seen that when the target user identifier returns to the instant messaging application, the session messages including mass messaging information sent by the target user identifier through the sub-application are displayed in the sessions corresponding to each session identifier. Session messages including mass messaging information sent by other session member identifiers through the sub-application, as well as session messages sent by other session member identifiers through the instant messaging application, are also displayed normally.
本实施例中,会话成员均可通过子应用推送包括群发信息的会话消息,且会话成员之间的消息群发互相不干扰。In this embodiment, all members of the session can push session messages, including group messages, through the sub-application, and the group messages sent by the members of the session do not interfere with each other.
在一个实施例中,通过子应用将群发信息作为会话消息分别发送至即时通信应用中与各会话标识对应的会话,包括:通过子应用将群发信息、目标用户标识和各会话标识发送至子应用服务器;通过子应用服务器将群发信息、目标用户标识和各会话标识转发至即时通信应用对应的应用服务器;通过以各会话标识中会话成员标识登录的即时通信应用,在与各会话标识对应的会话页面中,显示目标用户标识推送的包括群发信息的会话消息。In one embodiment, sending mass messages as session messages to sessions corresponding to each session identifier in an instant messaging application via a sub-application includes: sending the mass messages, target user identifiers, and session identifiers to a sub-application server via the sub-application; forwarding the mass messages, target user identifiers, and session identifiers to the application server corresponding to the instant messaging application via the sub-application server; and displaying the session messages, including the mass messages, pushed by the target user identifier in the session page corresponding to each session identifier in the instant messaging application logged in with the session member identifier among the session identifiers.
在一个实施例中,参照图19,图19示出了一个实施例中消息处理系统的架构示意图。可以看到,发送终端可通过子应用、子应用服务器和即时通信应用对应的应用服务器,将目标用户标识发送的会话消息推送至以会话成员标识登录的即时通信应用中,可以理解,会话成员标识也可包括目标用户标识。In one embodiment, referring to Figure 19, which illustrates the architecture of a message processing system in one embodiment, it can be seen that the sending terminal can push the session message sent by the target user identifier to the instant messaging application logged in with the session member identifier through the sub-application, the sub-application server, and the application server corresponding to the instant messaging application. It can be understood that the session member identifier may also include the target user identifier.
在一个实施例中,发送终端通过子应用将群发信息、目标用户标识和各会话标识发送至子应用服务器,通过子应用服务器将群发信息、目标用户标识和各会话标识转发至即时通信应用对应的应用服务器,通过应用服务器将群发信息作为会话消息发送至与各会话标识的会话,通过以各会话标识中会话成员标识登录的即时通信应用,在与各会话标识对应的会话页面中,显示目标用户标识推送的包括群发信息的会话消息。In one embodiment, the sending terminal sends the mass message, the target user identifier, and each session identifier to the sub-application server through a sub-application. The sub-application server then forwards the mass message, the target user identifier, and each session identifier to the application server corresponding to the instant messaging application. The application server then sends the mass message as a session message to the sessions corresponding to each session identifier. The instant messaging application, which is logged in using the session member identifier in each session identifier, displays the session message, including the mass message, pushed by the target user identifier in the session page corresponding to each session identifier.
在一个实施例中,发送终端通过应用服务器将群发信息作为会话消息发送至与各会话标识的会话,通过以目标用户标识登录的即时通信应用,在与各会话标识对应的会话页面中,显示目标用户标识推送的包括群发信息的会话消息。In one embodiment, the sending terminal sends the mass messaging information as a session message to the sessions with each session identifier through the application server. The instant messaging application logged in with the target user identifier displays the session message, which includes the mass messaging information, pushed by the target user identifier in the session page corresponding to each session identifier.
本实施例中,发送终端通过子应用、子应用服务器和即时通信应用对应的应用服务器,将目标用户标识发送的会话消息推送至以会话成员标识登录的即时通信应用中,实现即时通信应用中多于一个会话的消息同步。In this embodiment, the sending terminal pushes the session message sent by the target user identifier to the instant messaging application logged in with the session member identifier through the sub-application, the sub-application server and the application server corresponding to the instant messaging application, thereby realizing message synchronization of more than one session in the instant messaging application.
在一个实施例中,如图20所示,提供了一种消息处理方法,本实施例可应用于即时通信应用中的消息群发场景,例如对群组会话群发会话消息、对联系人会话群发会话消息、对群组会话和联系人会话群发会话消息等。群组会话的会话成员可包括一个或多于一个即时通信应用的社交对象,联系人会话的会话成员也可以是相同或不同即时通信应用的社交对象。本实施例主要以该方法应用于计算机设备(上述图1中的发送终端111)来举例说明,包括以下步骤:In one embodiment, as shown in Figure 20, a message processing method is provided. This embodiment can be applied to message grouping scenarios in instant messaging applications, such as sending group messages to group conversations, sending group messages to contact conversations, or sending group messages to both group conversations and contact conversations. The conversation members of a group conversation may include one or more social objects from an instant messaging application, and the conversation members of a contact conversation may be social objects from the same or different instant messaging applications. This embodiment mainly uses the application of this method to a computer device (the sending terminal 111 in Figure 1 above) as an example, and includes the following steps:
步骤S2002,进入运行于即时通信应用中的子应用,即时通信应用以目标用户标识登录,子应用以目标用户标识授权登录。Step S2002: Enter the sub-application running in the instant messaging application. The instant messaging application logs in with the target user's identity, and the sub-application authorizes login with the target user's identity.
步骤S2004,在子应用中显示会话标识列表,会话标识列表包括即时通信应用中与目标用户标识相对应的会话的会话标识;响应于对会话标识列表中的会话标识的选择操作,确定多于一个会话标识,在子应用中显示各会话标识。Step S2004: Display a session identifier list in the sub-application. The session identifier list includes session identifiers of sessions in the instant messaging application that correspond to the target user identifier. In response to the selection operation of session identifiers in the session identifier list, determine more than one session identifier and display each session identifier in the sub-application.
步骤S2006,按照对会话标识列表中的会话标识的选择顺序,确定各会话标识的会话消息发送顺序。Step S2006: Determine the session message sending order for each session identifier according to the selection order of the session identifiers in the session identifier list.
步骤S2008,在子应用中显示共同会话成员标识,共同会话成员标识是同时属于多于一个会话的会话成员所对应的用户标识;响应于对共同会话成员标识中任一共同会话成员标识的选择操作,将选择的共同会话成员标识对应的会话成员作为群发信息的发送者。Step S2008: Display the common session member identifier in the sub-application. The common session member identifier is the user identifier corresponding to a session member who belongs to more than one session at the same time. In response to the selection operation of any common session member identifier, the session member corresponding to the selected common session member identifier is used as the sender of the group message.
步骤S2010,当选择的共同会话成员标识与目标用户标识匹配时,在子应用中显示多于一个会话各自对应的会话标识;在子应用中显示各会话标识所共同对应的信息编辑区域;响应于在信息编辑区域的输入操作,获取群发信息;按照与群发信息的信息类型匹配的信息展示格式,在信息编辑区域中展示群发信息。Step S2010: When the selected common session member identifier matches the target user identifier, display the session identifiers corresponding to more than one session in the sub-application; display the information editing area corresponding to each session identifier in the sub-application; in response to the input operation in the information editing area, obtain the mass message; and display the mass message in the information editing area according to the information display format that matches the information type of the mass message.
在一个实施例中,当选择的共同会话成员标识与目标用户标识不匹配时,将用于群发群发信息的子应用分享至选择的共同会话成员标识与目标会话成员标识所构建的会话。In one embodiment, when the selected common session member identifier does not match the target user identifier, the sub-application used for sending mass messages is shared to the session constructed by the selected common session member identifier and the target session member identifier.
步骤S2012,响应于对群发信息的发送操作,以目标用户标识作为发送者,通过子应用按照各会话标识的会话消息发送顺序,依次将群发信息作为会话消息分别发送至即时通信应用中与各会话标识对应的会话。In step S2012, in response to the sending operation of the mass message, the target user identifier is used as the sender, and the sub-application sends the mass message as a session message to the session corresponding to each session identifier in the instant messaging application in the order of sending session messages of each session identifier.
在一个实施例中,发送终端将群发信息作为会话消息发送至各会话标识对应的会话成员标识登录的即时通信应用后,接收终端通过以会话成员标识登录的即时通信应用,在与各会话标识对应的会话页面中,显示会话消息。发送终端从子应用返回以目标用户标识登录的即时通信应用中,在即时通信应用中的与各会话标识对应的会话中,显示包括群发信息的会话消息。In one embodiment, after the sending terminal sends the mass messaging information as a session message to the instant messaging application logged in by the session member identifier corresponding to each session identifier, the receiving terminal displays the session message in the session page corresponding to each session identifier through the instant messaging application logged in by the session member identifier. The sending terminal returns from the sub-application to the instant messaging application logged in by the target user identifier, and displays the session message including the mass messaging information in the session corresponding to each session identifier in the instant messaging application.
上述消息处理方法,通过运行于即时通信应用中且以目标用户标识登录的子应用,显示即时通信应用中与目标用户标识对应的至少一部分会话各自的会话标识,以及各会话标识所共同对应的信息编辑区域,这样,通过子应用可自主编辑群发信息,从而向即时通信应用中与目标用户标识对应的至少一部分会话发送包括群发信息的会话消息,通过子应用实现即时通信应用中多于一个会话的消息同步,提高了消息同步效率;并且,该种信息同步方式能够避免会话消息的漏发和错发。The aforementioned message processing method, through a sub-application running within an instant messaging application and logged in with the target user's identifier, displays the session identifiers of at least a portion of the sessions within the instant messaging application corresponding to the target user's identifier, as well as the message editing area shared by all session identifiers. This allows the sub-application to independently edit group messages, thereby sending session messages, including group messages, to at least a portion of the sessions within the instant messaging application corresponding to the target user's identifier. The sub-application enables message synchronization across multiple sessions within the instant messaging application, improving message synchronization efficiency. Furthermore, this information synchronization method avoids missed or incorrect sending of session messages.
在一个实施例中,如图21所示,提供了一种消息处理方法,本实施例可应用于即时通信应用中对群组会话群发会话消息。群组会话的会话成员可包括一个或多于一个即时通信应用的社交对象。本实施例主要以该方法应用于计算机设备(上述图1中的发送终端111)来举例说明,包括以下步骤:In one embodiment, as shown in FIG21, a message processing method is provided. This embodiment can be applied to sending group messages to a group chat in an instant messaging application. The members of the group chat may include one or more social contacts from the instant messaging application. This embodiment mainly illustrates the method by applying it to a computer device (the sending terminal 111 in FIG1 above), and includes the following steps:
步骤S2102,进入运行于即时通信应用中的子应用,即时通信应用以目标用户标识登录,子应用以目标用户标识授权登录。Step S2102: Enter the sub-application running in the instant messaging application. The instant messaging application logs in with the target user's identity, and the sub-application authorizes login with the target user's identity.
步骤S2104,在子应用中显示即时通信应用中与目标用户标识相对应的群组会话的会话标识构成的群组会话标识列表;响应于对群组会话标识列表中的会话标识的选择操作,确定多于一个群组会话标识,并在子应用中显示各群组会话标识。Step S2104: Display a list of group session identifiers in the sub-application, which consists of session identifiers of group sessions corresponding to the target user identifier in the instant messaging application; in response to the selection operation of the session identifiers in the list of group session identifiers, determine more than one group session identifier and display each group session identifier in the sub-application.
步骤S2106,按照对群组会话标识列表中的群组会话标识的选择顺序,确定各群组会话标识的会话消息发送顺序。Step S2106: Determine the message sending order for each group session identifier according to the selection order of the group session identifiers in the group session identifier list.
步骤S2108,在子应用中显示共同会话成员标识,共同会话成员标识是同时属于多于一个群组会话的会话成员所对应的用户标识;响应于对共同会话成员标识中任一共同会话成员标识的选择操作,将选择的共同会话成员标识对应的会话成员作为群发信息的发送者。Step S2108: Display the common session member identifier in the sub-application. The common session member identifier is the user identifier corresponding to a session member who belongs to more than one group session at the same time. In response to the selection operation of any common session member identifier, the session member corresponding to the selected common session member identifier is used as the sender of the group message.
步骤S2110,当选择的共同会话成员标识与目标用户标识匹配时,在子应用中显示多于一个群组会话各自对应的群组会话标识;在子应用中显示各群组会话标识所共同对应的信息编辑区域;响应于在信息编辑区域的输入操作,获取群发信息;按照与群发信息的信息类型匹配的信息展示格式,在信息编辑区域中展示群发信息。Step S2110: When the selected common session member identifier matches the target user identifier, display the group session identifiers corresponding to more than one group session in the sub-application; display the information editing area corresponding to the common group session identifiers in the sub-application; in response to the input operation in the information editing area, obtain the group message; and display the group message in the information editing area according to the information display format that matches the information type of the group message.
在一个实施例中,当选择的共同会话成员标识与目标用户标识不匹配时,将用于群发群发信息的子应用分享至选择的共同会话成员标识与目标会话成员标识所构建的会话。In one embodiment, when the selected common session member identifier does not match the target user identifier, the sub-application used for sending mass messages is shared to the session constructed by the selected common session member identifier and the target session member identifier.
步骤S2112,响应于对群发信息的发送操作,以目标用户标识作为发送者,通过子应用按照各群组会话标识的会话消息发送顺序,依次将群发信息作为会话消息分别发送至即时通信应用中与各群组会话标识对应的群组会话。Step S2112: In response to the sending operation of the mass message, the target user identifier is used as the sender, and the sub-application sends the mass message as a session message to the group session corresponding to each group session identifier in the instant messaging application in the order of the session message sending of each group session identifier.
在一个实施例中,发送终端将群发信息作为会话消息发送至各群组会话标识对应的会话成员标识登录的即时通信应用后,接收终端通过以会话成员标识登录的即时通信应用,在与各群组会话标识对应的会话页面中,显示会话消息。发送终端从子应用返回以目标用户标识登录的即时通信应用中,在即时通信应用中的与各群组会话标识对应的群组会话中,显示包括群发信息的会话消息。In one embodiment, after the sending terminal sends the mass messaging information as a session message to the instant messaging application logged in by the session member identifier corresponding to each group session identifier, the receiving terminal displays the session message in the session page corresponding to each group session identifier through the instant messaging application logged in by the session member identifier. The sending terminal returns from the sub-application to the instant messaging application logged in by the target user identifier, and displays the session message including the mass messaging information in the group session corresponding to each group session identifier in the instant messaging application.
上述消息处理方法,通过运行于即时通信应用中且以目标用户标识登录的子应用,显示即时通信应用中与目标用户标识对应的至少一部分群组会话各自的群组会话标识,以及各群组会话标识所共同对应的信息编辑区域,这样,通过子应用可自主编辑群发信息,从而向即时通信应用中与目标用户标识对应的至少一部分群组会话发送包括群发信息的会话消息,通过子应用实现即时通信应用中多于一个群组会话的消息同步,提高了消息同步效率;并且,该种信息同步方式能够避免会话消息的漏发和错发。The aforementioned message processing method, through a sub-application running within the instant messaging application and logged in with the target user identifier, displays the group session identifiers of at least a portion of the group sessions in the instant messaging application corresponding to the target user identifier, as well as the message editing area shared by all group session identifiers. In this way, the sub-application can independently edit group messages, thereby sending session messages including group messages to at least a portion of the group sessions in the instant messaging application corresponding to the target user identifier. The sub-application enables message synchronization of more than one group session in the instant messaging application, improving message synchronization efficiency. Furthermore, this information synchronization method can avoid missed or incorrect sending of session messages.
应该理解的是,虽然图4、20、21的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图4、20、21中的至少一部分步骤可以包括多于一个步骤或者多于一个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of Figures 4, 20, and 21 are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in Figures 4, 20, and 21 may include more than one step or more than one stage. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least a portion of the steps or stages of other steps.
在一个实施例中,如图22所示,提供了一种消息处理装置,该装置可以采用软件模块或硬件模块,或者是二者的结合成为计算机设备的一部分,该装置具体包括:进入模块2202、显示模块2204和发送模块2206,其中:In one embodiment, as shown in FIG22, a message processing device is provided. This device may employ software modules or hardware modules, or a combination of both, as part of a computer device. Specifically, the device includes: an input module 2202, a display module 2204, and a sending module 2206, wherein:
进入模块2202,用于进入运行于即时通信应用中的子应用,即时通信应用以目标用户标识登录,子应用以目标用户标识授权登录;Enter module 2202 is used to enter a sub-application running in an instant messaging application. The instant messaging application logs in with the target user's identity, and the sub-application authorizes login with the target user's identity.
显示模块2204,用于在子应用中显示至少一个会话各自对应的会话标识,至少一个会话是通过即时通信应用创建、且与目标用户标识对应的会话;Display module 2204 is used to display the session identifier corresponding to at least one session in the sub-application, wherein at least one session is a session created by an instant messaging application and corresponds to a target user identifier;
显示模块2204,还用于在子应用中各会话标识所共同对应的信息编辑区域,显示响应于输入操作所输入的群发信息;The display module 2204 is also used to display the group message input in response to the input operation in the information editing area that is common to each session identifier in the sub-application;
发送模块2206,用于响应于对群发信息的发送操作,通过子应用将群发信息作为会话消息分别发送至即时通信应用中与各会话标识对应的会话。The sending module 2206 is used to respond to the sending operation of the mass message and send the mass message as a session message to the session corresponding to each session identifier in the instant messaging application through the sub-application.
在一个实施例中,显示模块2204,还用于:在子应用中显示会话标识列表,会话标识列表包括即时通信应用中与目标用户标识相对应的会话的会话标识;响应于对会话标识列表中的会话标识的选择操作,确定至少一个会话标识,并在子应用中显示各会话标识。In one embodiment, the display module 2204 is further configured to: display a list of session identifiers in a sub-application, the list of session identifiers including session identifiers of sessions in the instant messaging application corresponding to the target user identifier; and, in response to a selection operation of a session identifier in the list of session identifiers, determine at least one session identifier and display each session identifier in the sub-application.
在一个实施例中,显示模块2204,还用于:在子应用中显示即时通信应用中与目标用户标识相对应的群组会话的会话标识构成的群组会话标识列表;响应于对群组会话标识列表中的会话标识的选择操作,确定至少一个群组会话标识,并在子应用中显示各群组会话标识。In one embodiment, the display module 2204 is further configured to: display a list of group session identifiers in the instant messaging application that consist of session identifiers of group sessions corresponding to the target user identifier; and, in response to a selection operation of a session identifier in the list of group session identifiers, determine at least one group session identifier and display each group session identifier in the sub-application.
在一个实施例中,显示模块2204,还用于:向即时通信应用对应的应用服务器发送携带目标用户标识的会话获取请求;接收应用服务器响应于会话获取请求返回的与目标用户标识对应的会话标识;根据接收的会话标识显示会话标识列表。In one embodiment, the display module 2204 is further configured to: send a session acquisition request carrying a target user identifier to the application server corresponding to the instant messaging application; receive a session identifier corresponding to the target user identifier returned by the application server in response to the session acquisition request; and display a list of session identifiers based on the received session identifiers.
在一个实施例中,消息处理装置还包括确定模块,确定模块用于:按照对会话标识列表中的会话标识的选择顺序,确定各会话标识的会话消息发送顺序;显示模块2204,还用于:响应于对群发信息的发送操作,通过子应用按照各会话标识的会话消息发送顺序,依次将群发信息作为会话消息分别发送至即时通信应用中与各会话标识对应的会话。In one embodiment, the message processing device further includes a determining module, which is configured to: determine the session message sending order of each session identifier according to the selection order of the session identifiers in the session identifier list; the display module 2204 is further configured to: in response to the sending operation of the mass message, send the mass message as session messages to the sessions corresponding to each session identifier in the instant messaging application in sequence according to the session message sending order of each session identifier through the sub-application.
在一个实施例中,显示模块2204,还用于:当确定的至少一个会话标识为多于一个会话对应的会话标识时,在子应用中显示共同会话成员标识,共同会话成员标识是同时属于多于一个会话的会话成员所对应的用户标识;消息处理装置还包括选择模块,选择模块,用于:响应于对共同会话成员标识中任一共同会话成员标识的选择操作,将选择的共同会话成员标识对应的会话成员作为群发信息的发送者;发送模块2206,还用于:当选择的共同会话成员标识与目标用户标识匹配时,以目标用户标识作为发送者,通过子应用将群发信息作为会话消息分别发送至即时通信应用中与各会话标识对应的会话。In one embodiment, the display module 2204 is further configured to: when the determined at least one session identifier is a session identifier corresponding to more than one session, display a common session member identifier in the sub-application, wherein the common session member identifier is a user identifier corresponding to a session member that simultaneously belongs to more than one session; the message processing device further includes a selection module, configured to: in response to a selection operation on any common session member identifier among the common session member identifiers, use the selected common session member identifier as the sender of the group message; the sending module 2206 is further configured to: when the selected common session member identifier matches a target user identifier, use the target user identifier as the sender, and send the group message as a session message to the sessions corresponding to each session identifier in the instant messaging application through the sub-application.
在一个实施例中,消息处理装置还包括分享模块,分享模块,用于:当选择的共同会话成员标识与目标用户标识不匹配时,将用于群发群发信息的子应用分享至选择的共同会话成员标识与目标会话成员标识所构建的会话。In one embodiment, the message processing apparatus further includes a sharing module, which is configured to: when the selected common session member identifier does not match the target user identifier, share the sub-application used for sending mass messages to the session constructed by the selected common session member identifier and the target session member identifier.
在一个实施例中,显示模块2204,还用于:当选择的共同会话成员标识与目标用户标识匹配时,在子应用中显示多于一个会话各自对应的会话标识;在子应用中各会话标识所共同对应的信息编辑区域,显示响应于输入操作所输入的群发信息;发送模块2206,还用于:响应于对群发信息的发送操作,以选择的共同会话成员标识作为群发信息的发送者,通过子应用将群发信息作为会话消息分别发送至即时通信应用中与各会话标识对应的会话。In one embodiment, the display module 2204 is further configured to: when the selected common session member identifier matches the target user identifier, display the session identifiers corresponding to more than one session in the sub-application; and display the group message input in response to the input operation in the information editing area commonly corresponding to each session identifier in the sub-application; the sending module 2206 is further configured to: in response to the sending operation of the group message, use the selected common session member identifier as the sender of the group message, and send the group message as a session message to the sessions corresponding to each session identifier in the instant messaging application through the sub-application.
在一个实施例中,显示模块2204,还用于:获取多于一个会话各自对应的会话标识;向即时通信应用的应用服务器发送会话成员获取请求,会话成员获取请求携带各会话标识;接收应用服务器响应于会话成员获取请求返回的与各会话标识分别对应的会话成员标识;根据各会话标识对应的会话成员标识确定共同会话成员标识。In one embodiment, the display module 2204 is further configured to: obtain session identifiers corresponding to more than one session; send a session member acquisition request to the application server of the instant messaging application, the session member acquisition request carrying each session identifier; receive the session member identifiers corresponding to each session identifier returned by the application server in response to the session member acquisition request; and determine a common session member identifier based on the session member identifiers corresponding to each session identifier.
在一个实施例中,显示模块2204,还用于:在子应用中显示各会话标识所共同对应的信息编辑区域;响应于在信息编辑区域的输入操作,获取群发信息;按照与群发信息的信息类型匹配的信息展示格式,在信息编辑区域中展示群发信息。In one embodiment, the display module 2204 is further configured to: display a message editing area common to each session identifier in a sub-application; obtain mass-sent messages in response to input operations in the message editing area; and display the mass-sent messages in the message editing area according to a message display format that matches the message type of the mass-sent messages.
在一个实施例中,进入模块2202,还用于:进入运行于即时通信应用中的子应用,即时通信应用以目标用户标识登录;在子应用中显示登录授权窗口;响应于在登录授权窗口的授权操作,以目标用户标识登录子应用。In one embodiment, the entry module 2202 is further configured to: enter a sub-application running in an instant messaging application, the instant messaging application being logged in with the target user identifier; display a login authorization window in the sub-application; and log in to the sub-application with the target user identifier in response to an authorization operation in the login authorization window.
在一个实施例中,显示模块2204,还用于:当目标用户标识对应的会话成员从会话标识对应的会话中被移除时,在子应用中显示关于群发信息在会话标识对应的会话中发送失败的提示信息。In one embodiment, the display module 2204 is further configured to: display a prompt message in the sub-application about the failure to send the mass message in the session corresponding to the session identifier when the session member corresponding to the target user identifier is removed from the session corresponding to the session identifier.
在一个实施例中,消息处理装置还包括返回模块,返回模块,还用于:从子应用返回以目标用户标识登录的即时通信应用中;显示模块2204,还用于:在即时通信应用中的与各会话标识对应的会话中,显示包括群发信息的会话消息。In one embodiment, the message processing apparatus further includes a return module, which is also configured to: return from the sub-application to the instant messaging application logged in with the target user identifier; and the display module 2204 is further configured to: display a session message including mass messaging information in the session corresponding to each session identifier in the instant messaging application.
在一个实施例中,返回模块,还用于:从子应用返回以目标用户标识登录的即时通信应用中;显示模块2204,还用于:在即时通信应用中的与各会话标识对应的会话中,显示除目标用户标识以外的其他会话成员标识通过子应用推送的包括群发信息的会话消息。In one embodiment, the return module is further configured to: return from the sub-application to the instant messaging application logged in with the target user identifier; the display module 2204 is further configured to: display, in the sessions corresponding to each session identifier in the instant messaging application, session messages including group messages pushed by the sub-application for other session member identifiers besides the target user identifier.
在一个实施例中,显示模块2204,还用于:将群发信息作为会话消息发送至各会话标识对应的会话成员标识登录的即时通信应用后,通过以会话成员标识登录的即时通信应用,在与各会话标识对应的会话页面中,显示会话消息。In one embodiment, the display module 2204 is further configured to: after sending the mass message as a session message to the instant messaging application logged in by the session member ID corresponding to each session ID, display the session message in the session page corresponding to each session ID through the instant messaging application logged in by the session member ID.
在一个实施例中,发送模块2206,还用于:通过子应用将群发信息、目标用户标识和各会话标识发送至子应用服务器;通过子应用服务器将群发信息、目标用户标识和各会话标识转发至即时通信应用对应的应用服务器;通过应用服务器将群发信息作为会话消息发送至与各会话标识的会话;通过以各会话标识中会话成员标识登录的即时通信应用,在与各会话标识对应的会话页面中,显示目标用户标识推送的包括群发信息的会话消息。In one embodiment, the sending module 2206 is further configured to: send the mass message, the target user identifier, and each session identifier to the sub-application server via the sub-application; forward the mass message, the target user identifier, and each session identifier to the application server corresponding to the instant messaging application via the sub-application server; send the mass message as a session message to the session with each session identifier via the application server; and display the session message including the mass message pushed by the target user identifier in the session page corresponding to each session identifier via the instant messaging application logged in with the session member identifier in each session identifier.
在一个实施例中,发送模块2206,还用于:通过以目标用户标识登录的即时通信应用,在与各会话标识对应的会话页面中,显示目标用户标识推送的包括群发信息的会话消息。In one embodiment, the sending module 2206 is further configured to: display, through an instant messaging application logged in with a target user identifier, a session message including group messaging information pushed by the target user identifier in the session page corresponding to each session identifier.
关于消息处理装置的具体限定可以参见上文中对于消息处理方法的限定,在此不再赘述。上述消息处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For specific limitations regarding the message processing device, please refer to the limitations on the message processing method above, which will not be repeated here. Each module in the aforementioned message processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware or independently of the processor in the computer device, or stored in software in the memory of the computer device, so that the processor can call and execute the operations corresponding to each module.
上述消息处理装置中,通过运行于即时通信应用中且以目标用户标识登录的子应用,显示即时通信应用中与目标用户标识对应的至少一部分会话各自的会话标识,以及各会话标识所共同对应的信息编辑区域,这样,通过子应用可自主编辑群发信息,从而向即时通信应用中与目标用户标识对应的至少一部分会话发送包括群发信息的会话消息,通过子应用实现即时通信应用中多于一个会话的消息同步,提高了消息同步效率。In the aforementioned message processing device, a sub-application running in the instant messaging application and logged in with the target user identifier displays the session identifiers of at least a portion of the sessions in the instant messaging application corresponding to the target user identifier, as well as the information editing area commonly corresponding to each session identifier. In this way, the sub-application can independently edit group messages, thereby sending session messages including group messages to at least a portion of the sessions in the instant messaging application corresponding to the target user identifier. The sub-application enables message synchronization of more than one session in the instant messaging application, improving message synchronization efficiency.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图23所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和显示屏。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的终端进行有线或无线方式的网络通信,无线方式可通过WIFI、运营商网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现一种消息处理方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏。In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in Figure 23. The computer device includes a processor, memory, network interface, and display screen connected via a system bus. The processor of the computer device provides computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for wired or wireless network communication with external terminals; wireless communication can be achieved through Wi-Fi, carrier networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a message processing method. The display screen of the computer device may be a liquid crystal display (LCD) or an e-ink display.
本领域技术人员可以理解,图23中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art will understand that the structure shown in Figure 23 is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
在一个实施例中,还提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现上述各方法实施例中的步骤。In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.
在一个实施例中,提供了一种计算机可读存储介质,存储有计算机程序,该计算机程序被处理器执行时实现上述各方法实施例中的步骤。In one embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the steps in the above method embodiments.
在一个实施例中,提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述各方法实施例中的步骤。In one embodiment, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, causing the computer device to perform the steps in the above method embodiments.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims (36)
Publications (2)
| Publication Number | Publication Date |
|---|---|
| HK40081317A HK40081317A (en) | 2023-05-19 |
| HK40081317B true HK40081317B (en) | 2025-10-31 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10530716B2 (en) | Voice chat mode self-adapting method and apparatus | |
| US9681278B2 (en) | VOIP service with streamlined conferencing options | |
| US20180109670A1 (en) | Systems and methods for event stream management | |
| US11412026B2 (en) | Method for communication among a plurality of users provided with communication terminals, via a virtual communication space | |
| US20170279759A1 (en) | Cross-Mode Communication | |
| US12219017B1 (en) | System and method for aggregating communication connections | |
| US9628559B2 (en) | Optimizing resource downloads or streams using a collection of trusted network connected endpoints | |
| CA2923896C (en) | Email webclient notification queuing | |
| US12273313B2 (en) | Transferring messaging conversations between user accounts using a software as a service platform | |
| US11616752B1 (en) | Creation of content resources for messaging in a software as a service platform | |
| US20150244664A1 (en) | Enterprise messaging platform | |
| US11044214B2 (en) | Multimedia file adaption across different communication platforms | |
| US20140173751A1 (en) | System and method for chatting with machines | |
| HK40081317B (en) | Message processing method, apparatus, computer device and storage medium | |
| WO2025241340A1 (en) | Application program downloading method and apparatus, and communication device and readable storage medium | |
| WO2017144951A1 (en) | Managing specialized objects in a message store | |
| CN115695345B (en) | Message processing method, device, computer equipment and storage medium | |
| HK40081317A (en) | Message processing method, apparatus, computer device and storage medium | |
| WO2017121267A1 (en) | Method and apparatus for resource transmission | |
| HK40083454A (en) | Data processing method, terminal, server, electronic device and storage medium | |
| US9301110B1 (en) | Multimodal communication system and method | |
| CN121309564A (en) | File sharing methods, electronic devices and computer-readable storage media |