[go: up one dir, main page]

HK40023653B - Message processing method, device, computer readable storage medium and computer apparatus - Google Patents

Message processing method, device, computer readable storage medium and computer apparatus Download PDF

Info

Publication number
HK40023653B
HK40023653B HK42020013886.5A HK42020013886A HK40023653B HK 40023653 B HK40023653 B HK 40023653B HK 42020013886 A HK42020013886 A HK 42020013886A HK 40023653 B HK40023653 B HK 40023653B
Authority
HK
Hong Kong
Prior art keywords
document
message
confirmation
online collaborative
reading
Prior art date
Application number
HK42020013886.5A
Other languages
Chinese (zh)
Other versions
HK40023653A (en
Inventor
黄铁鸣
郭金辉
黄梓群
向航
刘渊
林莉
李斌
Original Assignee
腾讯科技(深圳)有限公司
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of HK40023653A publication Critical patent/HK40023653A/en
Publication of HK40023653B publication Critical patent/HK40023653B/en

Links

Description

消息处理方法、装置、计算机可读存储介质和计算机设备Message processing method, device, computer-readable storage medium, and computer equipment

技术领域Technical Field

本申请涉及计算机技术领域,特别是涉及一种消息处理方法、装置、计算机可读存储介质和计算机设备。The present application relates to the field of computer technology, and in particular to a message processing method, apparatus, computer-readable storage medium, and computer equipment.

背景技术Background Art

随着计算机技术和社会的发展,通过互联网进行信息传递越来越普遍,比如企业通过邮件下发重要文件或者重要通知等应用场景。然而,目前这种通过邮件下发重要文件或者重要通知的方式,通知发送方得到反馈的时间周期较长,通知接收方对通知的感知较弱,从而导致通知成功率较低的问题。With the development of computer technology and society, information transmission via the internet is becoming increasingly common, such as in scenarios where businesses send important documents or notifications via email. However, this current method of sending important documents or notifications via email results in a long response time for the sender, and the recipient is less aware of the notification, resulting in a low notification success rate.

发明内容Summary of the Invention

基于此,有必要针对目前通知成功率较低的技术问题,提供一种消息处理方法、装置、计算机可读存储介质和计算机设备。Based on this, it is necessary to provide a message processing method, apparatus, computer-readable storage medium and computer equipment to address the current technical problem of low notification success rate.

一种消息处理方法,包括:A message processing method, comprising:

在社交应用页面中显示阅读确认消息的发起入口;Display the entry point for reading confirmation messages on the social application page;

响应于对所述发起入口的触发操作,选取待阅读确认的目标内容;In response to a triggering operation on the initiating entry, selecting target content to be read and confirmed;

选取群会话中参与阅读确认所述目标内容的群会话成员;Selecting group conversation members who participate in the group conversation and read and confirm the target content;

推送目标阅读确认消息;所述目标阅读确认消息在消息接收端显示时,用于触发所述群会话成员在所述群会话中对所述目标内容进行阅读确认。Pushing a target reading confirmation message; when the target reading confirmation message is displayed on the message receiving end, it is used to trigger the group conversation members to confirm reading the target content in the group conversation.

一种消息处理装置,包括:A message processing device, comprising:

显示模块,用于在社交应用页面中显示阅读确认消息的发起入口;A display module, used to display an initiation entry for reading a confirmation message on a social application page;

选取模块,用于响应于对所述发起入口的触发操作,选取待阅读确认的目标内容;选取群会话中参与阅读确认所述目标内容的群会话成员;A selection module is configured to select target content to be read and confirmed in response to a trigger operation on the initiation portal; and select group session members who participate in reading and confirming the target content in the group session;

推送模块,用于推送目标阅读确认消息;所述目标阅读确认消息在消息接收端显示时,用于触发所述群会话成员在所述群会话中对所述目标内容进行阅读确认。The push module is used to push a target reading confirmation message; when the target reading confirmation message is displayed on the message receiving end, it is used to trigger the group conversation members to confirm reading the target content in the group conversation.

一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行上述消息处理方法的步骤。A computer-readable storage medium stores a computer program, which, when executed by a processor, causes the processor to perform the steps of the above-mentioned message processing method.

一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行上述消息处理方法的步骤。A computer device includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above-mentioned message processing method.

上述消息处理方法、装置、计算机可读存储介质和计算机设备,在社交应用页面中提供阅读确认消息的发起入口,并且可以自主选择待阅读确认的目标内容、基于目标内容进行阅读确认的群会话以及群会话中参与阅读确认目标内容的群会话成员,从而发起用于触发指定会话中的指定人群对指定内容进行阅读确认的阅读确认消息。这样该指定人群即可在指定会话中就阅读确认消息对目标内容进行阅读确认,后续阅读确认发起者可以实时了解已阅的完成情况,极大地提高了信息触达率和通知成功率。The aforementioned message processing method, apparatus, computer-readable storage medium, and computer device provide an entry point for initiating a read confirmation message within a social application page. The user can independently select the target content to be read and confirmed, the group conversation in which the read confirmation is to be conducted based on the target content, and the group conversation members who will participate in the read confirmation of the target content within the group conversation. This allows the user to initiate a read confirmation message that triggers a specified group of people within the specified conversation to confirm the reading of the specified content. This allows the specified group of people to confirm the reading of the target content within the specified conversation based on the read confirmation message. Subsequent read confirmation initiators can then obtain real-time information on the completion status of the content, significantly improving information reach and notification success rates.

一种消息处理方法,包括:A message processing method, comprising:

显示群会话的社交会话页面;Display the social conversation page of the group conversation;

在所述社交会话页面中显示阅读确认消息;Displaying a reading confirmation message in the social conversation page;

响应于对所述阅读确认消息的触发操作,显示与所述阅读确认消息对应的待阅读确认的目标内容;In response to a triggering operation on the reading confirmation message, displaying target content to be read and confirmed corresponding to the reading confirmation message;

在满足对所述目标内容的确认条件时,触发向所述阅读确认消息的发送端发送已确认通知。When the confirmation condition for the target content is met, a confirmation notification is triggered to be sent to the sender of the reading confirmation message.

一种消息处理装置,包括:A message processing device, comprising:

显示模块,用于显示群会话的社交会话页面;在所述社交会话页面中显示阅读确认消息;响应于对所述阅读确认消息的触发操作,显示与所述阅读确认消息对应的待阅读确认的目标内容;A display module, configured to display a social conversation page of a group conversation; display a reading confirmation message on the social conversation page; and display target content to be read and confirmed corresponding to the reading confirmation message in response to a triggering operation on the reading confirmation message;

确认模块,用于在满足对所述目标内容的确认条件时,触发向所述阅读确认消息的发送端发送已确认通知。The confirmation module is used to trigger the sending of a confirmation notification to the sender of the reading confirmation message when the confirmation condition of the target content is met.

一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行上述消息处理方法的步骤。A computer-readable storage medium stores a computer program, which, when executed by a processor, causes the processor to perform the steps of the above-mentioned message processing method.

一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行上述消息处理方法的步骤。A computer device includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above-mentioned message processing method.

上述消息处理方法、装置、计算机可读存储介质和计算机设备,在群会话中接收到阅读确认消息后,即可直接就阅读确认消息进行操作,显示与阅读确认消息对应的待阅读确认的目标内容,这样在满足对目标内容的确认条件时,触发向阅读确认消息的发送端发送已确认通知,这样阅读确认发起者可实时了解已阅的完成情况,极大地提高了信息触达率和通知成功率。The above-mentioned message processing method, device, computer-readable storage medium and computer equipment can directly operate on the reading confirmation message after receiving the reading confirmation message in the group conversation, and display the target content to be read and confirmed corresponding to the reading confirmation message. In this way, when the confirmation conditions for the target content are met, it triggers the sending of a confirmed notification to the sender of the reading confirmation message. In this way, the initiator of the reading confirmation can understand the completion status of the reading in real time, greatly improving the information reach rate and notification success rate.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为一个实施例中消息处理方法的应用环境图;FIG1 is an application environment diagram of a message processing method according to an embodiment;

图2为一个实施例中消息处理方法的流程示意图;FIG2 is a schematic diagram of a flow chart of a message processing method in one embodiment;

图3为一个实施例中在社交会话页面显示会话工具菜单的示意图;FIG3 is a schematic diagram of displaying a conversation tool menu on a social conversation page in one embodiment;

图4为一个实施例中在社交会话页面显示操作选项菜单的示意图;FIG4 is a schematic diagram of displaying an operation option menu on a social conversation page in one embodiment;

图5为一个实施例中阅读确认消息设置页面的示意图;FIG5 is a schematic diagram of a reading confirmation message setting page in one embodiment;

图6为一个实施例中目标内容选择页面的示意图;FIG6 is a schematic diagram of a target content selection page in one embodiment;

图7为一个实施例中参与用户选择页面的示意图;FIG7 is a schematic diagram of a participating user selection page in one embodiment;

图8为一个实施例中以卡片形式显示目标阅读确认消息的示意图;FIG8 is a schematic diagram of displaying a target reading confirmation message in the form of a card in one embodiment;

图9为一个实施例中与在线协作文档同屏显示完成阅读确认的群会话成员的示意图;FIG9 is a schematic diagram of group conversation members displaying confirmation of completion of reading on the same screen as the online collaborative document in one embodiment;

图10为一个实施例中确认详情页面的示意图;FIG10 is a schematic diagram of a confirmation details page in one embodiment;

图11为一个实施例中历史文档消息转阅读确认消息的示意图;FIG11 is a schematic diagram of converting a historical document message into a reading confirmation message in one embodiment;

图12为一个实施例中消息处理方法的数据流向与逻辑关系图;FIG12 is a diagram showing the data flow and logical relationship of a message processing method according to an embodiment;

图13为一个实施例中协作编辑在线协作文档的逻辑关系图;FIG13 is a logical relationship diagram of collaborative editing of an online collaborative document in one embodiment;

图14为一个实施例中协作编辑在线协作文档的数据流向图;FIG14 is a data flow diagram for collaboratively editing an online collaborative document in one embodiment;

图15为一个实施例中协作编辑文档反馈的示意图;FIG15 is a schematic diagram of collaborative document editing feedback in one embodiment;

图16为另一个实施例中消息处理方法的流程示意图;FIG16 is a flow chart of a message processing method in another embodiment;

图17为一个实施例中以卡片形式目标阅读确认消息的示意图;FIG17 is a schematic diagram of a target reading confirmation message in the form of a card in one embodiment;

图18为一个实施例中显示待阅读确认的在线协作文档的示意图;FIG18 is a schematic diagram showing an online collaborative document to be read and confirmed in one embodiment;

图19为另一个实施例中显示待阅读确认的在线协作文档的示意图;FIG19 is a schematic diagram showing an online collaborative document to be read and confirmed in another embodiment;

图20为一个实施例中显示会话列表页面的示意图;FIG20 is a schematic diagram showing a conversation list page in one embodiment;

图21为一个实施例中社交会话页面的示意图;FIG21 is a schematic diagram of a social conversation page according to one embodiment;

图22为一个实施例中在文档菜单中显示阅读确认消息的发起入口的示意图;FIG22 is a schematic diagram of an initiation entry for displaying a reading confirmation message in a document menu in one embodiment;

图23为一个实施例中消息处理装置的结构框图;FIG23 is a structural block diagram of a message processing device according to an embodiment;

图24为另一个实施例中消息处理装置的结构框图;FIG24 is a structural block diagram of a message processing device according to another embodiment;

图25为另一个实施例中消息处理装置的结构框图;FIG25 is a structural block diagram of a message processing device according to another embodiment;

图26为另一个实施例中消息处理装置的结构框图;FIG26 is a structural block diagram of a message processing device according to another embodiment;

图27为一个实施例中计算机设备的结构框图。FIG27 is a block diagram of a computer device according to an embodiment.

具体实施方式DETAILED DESCRIPTION

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of this application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

图1为一个实施例中消息处理方法的应用环境图。参照图1,该消息处理方法的应用环境包括终端110和服务器120。终端110和服务器120通过网络连接。终端110可包括发送终端111和接收终端112。终端110具体可以是台式终端或移动终端,移动终端具体可以手机、平板电脑、笔记本电脑等中的至少一种。服务器120可以用独立的服务器或者是多个服务器组成的服务器集群来实现。终端110用于执行本申请实施例所提供的消息处理方法。FIG1 is a diagram of the application environment of a message processing method in one embodiment. Referring to FIG1 , the application environment of the message processing method includes a terminal 110 and a server 120. The terminal 110 and the server 120 are connected via a network. The terminal 110 may include a sending terminal 111 and a receiving terminal 112. The terminal 110 may be a desktop terminal or a mobile terminal, and the mobile terminal may be at least one of a mobile phone, a tablet computer, a laptop computer, etc. The server 120 may be implemented as an independent server or a server cluster consisting of multiple servers. The terminal 110 is used to execute the message processing method provided in the embodiment of the present application.

在一个实施例中,终端110上可运行有社交应用。服务器120包括社交应用对应的服务器。终端110可通过社交应用执行本申请实施例所提供的消息处理方法。在另外的实施例中,当待阅读确认的目标内容为文档时,终端110上还可运行有文档应用。服务器120包括社交应用对应的服务器121和文档应用对应的服务器122。社交应用和文档应用可基于操作系统提供的接口相互调用。比如,社交应用在会话中接收到阅读确认消息,该阅读确认消息对应的待阅读确认的内容为文档时,可调用文档应用打开阅读确认消息关联的文档。In one embodiment, a social application may be run on the terminal 110. The server 120 includes a server corresponding to the social application. The terminal 110 may execute the message processing method provided in the embodiment of the present application through the social application. In another embodiment, when the target content to be read and confirmed is a document, a document application may also be run on the terminal 110. The server 120 includes a server 121 corresponding to the social application and a server 122 corresponding to the document application. The social application and the document application may call each other based on the interface provided by the operating system. For example, when a social application receives a reading confirmation message in a session, and the content to be read and confirmed corresponding to the reading confirmation message is a document, the document application may be called to open the document associated with the reading confirmation message.

这里的文档可以是本地文档,也可以是在线协作文档。当待阅读确认的目标内容为在线协作文档时,参与阅读确认的群会话成员在权限允许的情况下,还可对在线协作文档进行编辑,且编辑内容可实时同步至服务器,还可以实时推送给发起阅读确认消息的用户,通过在线协作文档实现实时协作编辑文档。The document can be a local document or an online collaborative document. When the target content to be read is an online collaborative document, group members participating in the reading confirmation can edit the online collaborative document if their permissions allow. The edited content can be synchronized to the server in real time and pushed to the user who initiated the reading confirmation message in real time, enabling real-time collaborative editing of the document through the online collaborative document.

另外,在一些实施例中,发送终端也可以是接收终端,接收终端也可以是发送终端。例如,终端A与终端B进行社交会话时,终端A向终端B发送会话消息时,终端A是发送终端,终端B是接收终端;终端B向终端A发送会话消息时,终端B是发送终端,终端A是接收终端。In addition, in some embodiments, a sending terminal may also be a receiving terminal, and a receiving terminal may also be a sending terminal. For example, when terminal A and terminal B are engaging in a social conversation, if terminal A sends a conversation message to terminal B, terminal A is the sending terminal and terminal B is the receiving terminal; if terminal B sends a conversation message to terminal A, terminal B is the sending terminal and terminal A is the receiving terminal.

如图2所示,在一个实施例中,提供了一种消息处理方法。本实施例主要以该方法应用于上述图1中的发送终端111上运行的社交应用来举例说明。参照图2,该消息处理方法具体包括如下步骤:As shown in FIG2 , in one embodiment, a message processing method is provided. This embodiment mainly uses the method applied to a social application running on the sending terminal 111 in FIG1 as an example. Referring to FIG2 , the message processing method specifically includes the following steps:

S202,在社交应用页面中显示阅读确认消息的发起入口。S202: Displaying an initiation entry for reading a confirmation message on a social application page.

其中,社交应用页面是社交应用的应用页面,比如社交应用的社交会话页面、社交应用的内容发布页面或者通过社交应用打开的内容页面等。阅读确认消息是一种用于进行阅读确认的会话消息,具体用于通知会话成员对指定内容进行阅读确认。阅读确认消息的发起入口是发起阅读确认消息的操作入口。A social application page is an application page of a social application, such as a social conversation page of a social application, a content publishing page of a social application, or a content page opened through a social application. A read confirmation message is a conversation message used for reading confirmation, specifically notifying conversation members to confirm reading of specified content. The entry point for initiating a read confirmation message is the operation entry point for initiating a read confirmation message.

在一个实施例中,会话消息可以按照功能进行分类。比如,阅读确认类型的会话消息或者投票类型的会话消息等。在本申请实施例中,阅读确认类型的会话消息可以称为阅读会话消息。In one embodiment, the conversation messages can be classified according to their functions, such as reading confirmation type conversation messages or voting type conversation messages. In the embodiment of the present application, the reading confirmation type conversation messages can be referred to as reading conversation messages.

在一个实施例中,S202包括:显示群会话的社交会话页面;在社交会话页面中显示会话工具菜单;其中,会话工具菜单中包括阅读确认消息的发起入口。In one embodiment, S202 includes: displaying a social conversation page of the group conversation; displaying a conversation tool menu in the social conversation page; wherein the conversation tool menu includes an initiation entry for reading a confirmation message.

其中,群会话是多于两个用户进行信息交互的方式。会话工具菜单是在社交会话页面中展示会话工具选项的菜单。表示“阅读确认”的菜单选项是会话工具菜单中的其中一个菜单选项。A group conversation is a way for more than two users to exchange information. The conversation tool menu is a menu that displays conversation tool options on a social conversation page. The "Read Confirmation" menu option is one of the menu options in the conversation tool menu.

具体地,发送终端可根据用户操作启动其上安装的社交应用,并进入该社交应用的其中一个群会话的社交会话页面。然后,发送终端上运行的社交应用可继续根据用户操作在社交会话页面中开启会话工具菜单,从而在社交会话页面中显示发起阅读确认消息的操作入口。发送终端上运行的社交应用也可根据用户操作在社交会话页面中隐藏会话工具菜单。Specifically, the sending terminal can launch a social application installed on it based on a user operation and access a social conversation page for a group conversation within the social application. The social application running on the sending terminal can then continue to launch a conversation tool menu within the social conversation page based on the user operation, thereby displaying an entry for initiating a read confirmation message within the social conversation page. The social application running on the sending terminal can also hide the conversation tool menu within the social conversation page based on the user operation.

举例说明,参考图3,该图中示出了一个实施例中在社交会话页面显示会话工具菜单的界面示意图。可以看到,图3中包括会话工具菜单310,会话工具菜单310中包括表示“阅读确认”的菜单选项311。该菜单选项311为阅读确认消息的发起入口。会话工具菜单310中还可以包括表示其他用途的菜单选项。For example, refer to Figure 3, which shows a schematic diagram of an interface displaying a conversation tool menu on a social conversation page in one embodiment. As can be seen, Figure 3 includes a conversation tool menu 310, which includes a menu option 311 indicating "Read Confirmation." This menu option 311 is the entry point for initiating a read confirmation message. Conversation tool menu 310 may also include menu options for other purposes.

在本实施例中,在会话页面的会话工具菜单中提供了发起阅读确认消息的操作入口,这样用户即可便捷地在会话页面轻松发起阅读确认消息。In this embodiment, an operation entry for initiating a reading confirmation message is provided in the conversation tool menu of the conversation page, so that the user can easily initiate a reading confirmation message on the conversation page.

在一个实施例中,S202包括:显示包括历史会话消息的社交会话页面;响应于对历史会话消息的触发操作,显示操作选项菜单;操作选项菜单中包括阅读确认消息的发起入口。In one embodiment, S202 includes: displaying a social conversation page including historical conversation messages; displaying an operation option menu in response to a triggering operation on the historical conversation messages; and including an initiation entry for reading a confirmation message in the operation option menu.

其中,操作选项菜单是在社交会话页面中展示操作选项的菜单。表示“阅读确认”的菜单选项是操作选项菜单中的其中一个菜单选项。The action options menu is a menu that displays action options on the social conversation page. The menu option indicating "Read Confirmation" is one of the menu options in the action options menu.

具体地,发送终端上运行的社交应用可根据用户操作启动其上安装的社交应用,并进入该社交应用的其中一个群会话的社交会话页面。发送终端上运行的社交应用可在进入的社交会话页面中,显示在该群会话中接收到的历史会话消息。然后,发送终端上运行的社交应用可继续检测对历史会话消息的触发操作,在检测到对历史会话消息的触发操作时,显示与该历史会话消息对应的操作选项菜单,该操作选项菜单中包括阅读确认消息的发起入口,从而在社交会话页面中显示发起阅读确认消息的操作入口。Specifically, the social application running on the sending terminal can launch the installed social application in response to a user operation and enter the social session page of one of the group sessions of the social application. The social application running on the sending terminal can display historical session messages received in the group session on the entered social session page. The social application running on the sending terminal can then continue to detect triggering operations on historical session messages. When a triggering operation on a historical session message is detected, the social application can display an operation option menu corresponding to the historical session message. The operation option menu includes an entry for initiating a read confirmation message, thereby displaying an operation entry for initiating a read confirmation message on the social session page.

其中,对历史会话消息的触发操作比如点击操作或者触控操作。点击操作比如双击操作等,触控操作比如长按操作等。The triggering operation on the historical conversation message may be a click operation or a touch operation. The click operation may be a double-click operation, and the touch operation may be a long press operation.

举例说明,参考图4,该图中示出了一个实施例中在社交会话页面显示操作选项菜单的界面示意图。可以看到,图4中包括历史会话消息420,操作选项菜单410,操作选项菜单410中包括表示“阅读确认”的菜单选项411。该菜单选项411为阅读确认消息的发起入口。操作选项菜单410中还可以包括表示其他用途的菜单选项。比如,用户可以长按历史会话消息420触发展示操作选项菜单410,然后再点击或触控表示“阅读确认”的菜单选项411,触发发起阅读确认消息。For example, refer to Figure 4, which shows a schematic diagram of an interface for displaying an operation options menu on a social conversation page in one embodiment. As can be seen, Figure 4 includes historical conversation messages 420, an operation options menu 410, and the operation options menu 410 includes a menu option 411 indicating "Read Confirmation". This menu option 411 is the entry point for initiating the read confirmation message. The operation options menu 410 may also include menu options indicating other uses. For example, a user can long press on the historical conversation message 420 to trigger the display of the operation options menu 410, and then click or touch the menu option 411 indicating "Read Confirmation" to trigger the initiation of the read confirmation message.

在本实施例中,在历史会话消息的操作选项菜单中提供了发起阅读确认消息的操作入口,这样用户可以就已有的会话消息快捷地发起阅读确认消息。In this embodiment, an operation entry for initiating a reading confirmation message is provided in the operation option menu of the historical conversation messages, so that the user can quickly initiate a reading confirmation message for an existing conversation message.

在另外的实施例中,在社交应用的下拉通知列表、社交应用的更多工具列表、社交应用的工具页面等列表或者页面中均可包括阅读确认消息的发起入口。In another embodiment, a list or page such as a drop-down notification list of a social application, a list of more tools of a social application, a tool page of a social application, etc. may include an entry for initiating the reading confirmation message.

S204,响应于对发起入口的触发操作,选取待阅读确认的目标内容。S204: In response to the triggering operation on the initiating entry, target content to be read and confirmed is selected.

其中,目标内容是作为目标进行阅读确认的内容。目标内容具体可以是文档、图片、视频或者音频等内容。比如,项目组领导制定了文档:XX项目计划书,要求参与项目的成员必须要阅读,那么可将“文档:XX项目计划书”作为待阅读确认的目标内容。Target content is the content to be read and confirmed. This can be documents, images, videos, or audio. For example, if the project leader has created a document called "XX Project Plan" and requires all project members to read it, then "Document: XX Project Plan" could be the target content to be read and confirmed.

具体地,发送终端上运行的社交应用可检测对发起入口的触发操作,在检测到对发起入口的触发操作后,从已有内容中选取其中一个作为待阅读确认的目标内容;或者,新建一个内容作为待阅读确认的目标内容。对发起入口的触发操作可以是对发起入口的点击操作或者触控操作等。Specifically, the social application running on the sending terminal can detect a triggering operation on the initiation portal. Upon detecting the triggering operation on the initiation portal, the application can select one of the existing contents as the target content to be read and confirmed, or create a new content as the target content to be read and confirmed. The triggering operation on the initiation portal can be a click operation or a touch operation on the initiation portal.

比如,用户从已有的文档中选择一个文档作为待阅读确认的目标内容;或者,用户创建一个新的文档作为待阅读确认的目标内容等。For example, the user selects a document from existing documents as the target content to be read and confirmed; or the user creates a new document as the target content to be read and confirmed.

在一个实施例中,发送终端上运行的社交应用可检测对发起入口的触发操作,在检测到对发起入口的触发操作后,进入阅读确认消息的设置页面。该设置页面中包括目标内容的选择入口。发送终端上运行的社交应用可继续检测对选择入口的触发操作,在检测到对选择入口的触发操作后,进入目标内容选择页面。发送终端从而在该目标内容选择页面选取已有内容作为待阅读确认的目标内容;或者,在该目标内容选择页面新建内容作为待阅读确认的目标内容。In one embodiment, the social application running on the sending terminal can detect a trigger operation on the initiation portal. Upon detecting the trigger operation on the initiation portal, the user enters a settings page for the read confirmation message. This settings page includes a target content selection portal. The social application running on the sending terminal can continue to detect a trigger operation on the selection portal. Upon detecting the trigger operation on the selection portal, the user enters a target content selection page. The sending terminal can then select existing content on this target content selection page as the target content to be read and confirmed; alternatively, the sending terminal can create new content on this target content selection page as the target content to be read and confirmed.

在一个实施例中,S204包括:响应于对发起入口的触发操作,进入阅读确认消息设置页面;基于在阅读确认消息设置页面触发的选择操作,确定待阅读确认的目标内容。In one embodiment, S204 includes: entering a reading confirmation message setting page in response to a triggering operation on an initiation entry; and determining target content to be read and confirmed based on a selection operation triggered on the reading confirmation message setting page.

其中,阅读确认消息设置页面是用于对阅读确认消息进行设置的页面。比如设置阅读确认消息所要求阅读确认的目标内容,或者阅读确认消息所要求参与阅读确认的目标用户等。The reading confirmation message setting page is used to set the reading confirmation message, such as setting the target content that the reading confirmation message requires to be read, or the target users that the reading confirmation message requires to participate in the reading confirmation.

举例说明,参考图5,该图中示出了一个实施例中阅读确认消息设置页面的界面示意图。可以看到,图5中包括目标内容的选择入口510,通过该选择入口510可进入如图6所示的目标内容选择页面。用户可在该目标内容选择页面中从已有内容610中选择待阅读确认的目标内容;或者,在通过该目标内容选择页面中的新建入口620新建待阅读确认的目标内容。其中内容具体可为文档。For example, refer to Figure 5, which shows a schematic diagram of the read confirmation message settings page in one embodiment. As can be seen, Figure 5 includes a target content selection entry 510, which leads to the target content selection page shown in Figure 6. On this target content selection page, users can select target content for read confirmation from existing content 610; or, they can create a new target content for read confirmation using the create entry 620 on this target content selection page. Specifically, the content can be a document.

在一个实施例中,消息处理方法还包括:基于在阅读确认消息设置页面触发的输入操作,确定对目标内容进行阅读确认的描述信息。In one embodiment, the message processing method further includes: determining descriptive information for reading confirmation of the target content based on an input operation triggered on the reading confirmation message setting page.

其中,描述信息可以是对阅读确认消息的说明信息,或者对目标内容的用途说明。比如“这是XXX计划,请认真阅读并确认”。这样,可以通过阅读确认的描述信息让参与者可以了解需要阅读确认的内容的用途。The description information can be information about the reading confirmation message or a description of the purpose of the target content. For example, "This is the XXX plan. Please read and confirm carefully." This allows participants to understand the purpose of the content that requires reading confirmation through the description information.

举例说明,继续参考图5,可以看到,图5中还包括描述信息的输入窗口520。用户可在该输入窗口中输入描述信息。For example, referring to Figure 5 , it can be seen that Figure 5 also includes a description information input window 520. The user can input description information in this input window.

在一个实施例中,当触发操作对应的发起入口为操作选项菜单上的菜单选项时,S204包括:响应于对发起入口的触发操作,将历史会话消息关联至的会话内容作为待阅读确认的目标内容。In one embodiment, when the initiation entry corresponding to the trigger operation is a menu option on an operation option menu, S204 includes: in response to the trigger operation on the initiation entry, taking the conversation content associated with the historical conversation message as the target content to be read and confirmed.

其中,历史会话消息关联至的会话内容是未直接在社交会话页面展示的内容。比如,文档或者视频等。可以理解,社交会话页面在展示会话消息时,可以根据消息类型区别展示消息。区别展示消息可以包括在内容上和形式上的区别展示。比如,对于文本消息可以完整直接地展示消息的全部内容;比如,对于图片消息可以展示图片的缩略图;比如,对于文档消息可以卡片控件的形式展示,并在卡片控件中显示文档的标题等。The conversation content associated with historical conversation messages is content not directly displayed on the social conversation page. For example, documents or videos. It is understood that when displaying conversation messages on the social conversation page, messages can be displayed differently based on message type. This differentiated display of messages can include differentiating the content and format. For example, for text messages, the entire message content can be displayed directly; for image messages, a thumbnail of the image can be displayed; for document messages, a card control can be displayed with the document title.

那么基于此,当待阅读确认的目标内容曾经被关联至某条会话消息接收到或者发出时,可以提供基于历史会话消息发起阅读确认消息的快捷操作。具体地,可为历史会话消息的操作选项菜单中增加阅读确认消息的发起入口。这样,发送终端上运行的社交应用可根据对历史会话消息的触发操作,显示历史会话消息的操作选项菜单,再根据对操作选项菜单上阅读确认消息的发起入口的触发操作,将历史会话消息关联至的会话内容作为待阅读确认的目标内容,以发起阅读确认消息。Based on this, when the target content to be read confirmed has previously been associated with a received or sent conversation message, a quick operation can be provided to initiate a read confirmation message based on the historical conversation message. Specifically, an entry for initiating a read confirmation message can be added to the operation options menu of the historical conversation message. In this way, the social application running on the sending terminal can display the operation options menu of the historical conversation message based on the trigger operation of the historical conversation message. Then, based on the trigger operation of the initiation entry for the read confirmation message on the operation options menu, the conversation content associated with the historical conversation message can be used as the target content to be read confirmed, thereby initiating a read confirmation message.

在本实施例中,在历史会话消息的操作选项菜单中提供了发起阅读确认消息的操作入口,这样用户可以便捷地以历史会话消息关联至的会话内容作为待阅读确认的目标内容,避免了另外查找目标内容的繁琐操作,快捷地发起阅读确认消息。In this embodiment, an operation entry for initiating a reading confirmation message is provided in the operation option menu of the historical conversation message, so that the user can conveniently use the conversation content associated with the historical conversation message as the target content to be read and confirmed, avoiding the tedious operation of searching for the target content separately and quickly initiating a reading confirmation message.

在另外的实施例中,卡片控件的右键菜单可支持常规的撤回、引用以及删除等功能。In another embodiment, the right-click menu of the card control may support conventional functions such as recall, reference, and delete.

S206,选取群会话中参与阅读确认目标内容的群会话成员。S206: Select group conversation members who participate in reading and confirming the target content in the group conversation.

具体地,需要参与阅读确认目标内容的用户可以由发起方自定义。可以理解,参与阅读确认的用户通常多于一个,那么阅读确认消息通常是发送在群会话中。那么,需要参与阅读确认目标内容的用户可以是群会话的全部群会话成员,也可以是群会话的部分群会话成员。Specifically, the initiator can customize the users who need to participate in reading and confirming the target content. It is understood that there are usually more than one user participating in the reading confirmation, so the reading confirmation message is usually sent in a group conversation. Therefore, the users who need to participate in reading and confirming the target content can be all or some of the group conversation members.

在一个实施例中,当发送终端上运行的社交应用根据用户操作,在群会话的社交会话页面的工具选项菜单上发起阅读确认消息时,发送终端上运行的社交应用可将当前所在的群会话确定为基于目标内容进行阅读确认的群会话,从该群会话中选取参与阅读确认目标内容的群会话成员。In one embodiment, when the social application running on the sending terminal initiates a reading confirmation message on the tool options menu of the social session page of the group session based on the user operation, the social application running on the sending terminal can determine the current group session as a group session for reading confirmation based on the target content, and select group session members from the group session to participate in reading and confirming the target content.

在一个实施例中,当发送终端上运行的社交应用根据用户操作,在社交会话页面中历史会话消息的操作选项菜单上发起阅读确认消息时,发送终端上运行的社交应用可将当前所在的群会话确定为基于目标内容进行阅读确认的群会话,发送终端上运行的社交应用可以另外选择目标群会话作为基于目标内容进行阅读确认的群会话,发送终端上运行的社交应用还可以新建群会话作为基于目标内容进行阅读确认的群会话。本实施例中,历史会话消息可以是双人会话的历史会话消息,也可以是群会话的历史会话消息。然后在基于确定的群会话选取参与阅读确认目标内容的群会话成员。In one embodiment, when a social application running on a sending terminal initiates a read confirmation message from the operation options menu of a historical conversation message on a social conversation page based on a user operation, the social application running on the sending terminal may determine the current group conversation as a group conversation for reading confirmation based on the target content. The social application running on the sending terminal may also select a target group conversation as a group conversation for reading confirmation based on the target content. The social application running on the sending terminal may also create a new group conversation as a group conversation for reading confirmation based on the target content. In this embodiment, the historical conversation message can be a historical conversation message of a two-person conversation or a historical conversation message of a group conversation. Then, based on the determined group conversation, group conversation members who participated in reading and confirming the target content are selected.

举例说明,假设用户A在与用户B的双人会话中发送了文档消息,该文档消息关联至的文档为“文档:XX项目计划书”。此后,用户A意图将“文档:XX项目计划书”作为待阅读确认的目标内容给他所在工作小组的其他用户阅读确认,那么用户A可基于他与用户B的双人会话中文档消息,通过快捷操作一键转换为阅读确认消息并发送至目标群会话中。For example, suppose user A sends a document message in a two-person conversation with user B. The document associated with this document is "Document: XX Project Plan." Later, user A wants to send "Document: XX Project Plan" as a target content to be read and confirmed to other users in his workgroup. User A can use a quick action to convert the document message in the two-person conversation with user B into a read confirmation message and send it to the target group conversation.

再举例说明,假设用户A在工作小组的群会话中发送了文档消息,该文档消息关联至的文档为“文档:XX项目计划书”。此后,用户A觉得这篇文档非常重要,需要所有参与者都必须要阅读,那么用户A可基于他之前发送的文档消息,通过快捷操作一键转换为阅读确认消息。For example, suppose user A sends a document message in a workgroup chat. The document associated with this message is "Document: XX Project Plan." Later, user A decides that this document is extremely important and must be read by all participants. Based on the document message they previously sent, user A can use a quick action to convert it into a read confirmation message.

举例说明,再参考图5,可以看到,图5中还包括参与用户的选择入口530,通过该选择入口530可进入如图7所示的参与用户选择页面。用户可在该参与用户选择页面中选择群会话中参与阅读确认目标内容的群会话成员。在发送终端根据用户操作,经过目标内容的选择入口510、描述信息的输入窗口520以及参与用户的选择入口530,完成目标内容的选择、描述信息的输入以及参与用户的选择后,图5中还包括发送入口540,则由不可操作状态变换为可操作状态。需要说明的是,参与用户默认为所有群会话成员,可以不用另外选择;描述信息可缺省;那么经过目标内容的选择入口510完成目标内容的选择后,发送入口540即可变为可操作状态。For example, referring again to FIG. 5 , FIG. 5 also includes a participant selection portal 530 , which leads to the participant selection page shown in FIG. 7 . On this participant selection page, the user can select group members who will participate in the group conversation and confirm the target content. Upon completion of the target content selection, description input, and participant selection at the sending terminal, based on user operation, through the target content selection portal 510 , the description information input window 520 , and the participant selection portal 530 , the sending terminal ( FIG. 5 also includes a send portal 540 ) transitions from an inoperable state to an operable state. It should be noted that the participant users are assumed to be all group conversation members and do not require additional selection; the description information can be left blank. Once the target content is selected through the target content selection portal 510 , the send portal 540 becomes operational.

需要说明,这里的群会话成员并非指显示现实中的自然人,而是用来指代现实中的自然人的计算机设备可操作的数据。比如,社交账号或者社交头像等。It should be noted that the group conversation members here do not refer to real-life individuals, but rather to data that can be manipulated by computer devices representing real-life individuals, such as social media accounts or social media avatars.

S208,推送目标阅读确认消息;目标阅读确认消息在消息接收端显示时,用于触发群会话成员在群会话中对目标内容进行阅读确认。S208, pushing a target reading confirmation message; when the target reading confirmation message is displayed on the message receiving end, it is used to trigger the group conversation members to confirm reading the target content in the group conversation.

其中,目标阅读确认消息,可以是当前基于阅读确认消息的发起入口所要发起的阅读确认消息。The target reading confirmation message may be the reading confirmation message to be initiated by the initiation entry based on the reading confirmation message.

具体地,推送目标阅读确认消息可以是将目标阅读确认消息推送至服务器。这样,服务器可以将目标阅读确认消息转发至消息接收端。消息接收端在接收到目标阅读确认消息,并根据用户操作在社交会话页面显示时,目标阅读确认消息可用于触发群会话成员在群会话中对目标内容进行阅读确认。比如,基于对目标阅读确认消息的触发操作,可以打开待阅读确认的目标内容;在显示页面中提供进行阅读确认的操作入口,可以通过该操作入口进行阅读确认。Specifically, pushing the target reading confirmation message may involve pushing the target reading confirmation message to a server. The server can then forward the target reading confirmation message to the message recipient. Upon receiving the target reading confirmation message and displaying it on the social conversation page based on a user's operation, the target reading confirmation message can be used to trigger group conversation members to confirm their reading of the target content within the group conversation. For example, based on the triggering operation of the target reading confirmation message, the target content to be confirmed for reading can be opened; an operation entry for confirming reading can be provided on the displayed page, and confirmation of reading can be performed through this operation entry.

上述消息处理方法,在社交应用页面中提供阅读确认消息的发起入口,并且可以自主选择待阅读确认的目标内容、基于目标内容进行阅读确认的群会话以及群会话中参与阅读确认目标内容的群会话成员,从而发起用于触发指定会话中的指定人群对指定内容进行阅读确认的阅读确认消息。这样该指定人群即可在指定会话中就阅读确认消息对目标内容进行阅读确认,后续阅读确认发起者可以实时了解已阅的完成情况,极大地提高了信息触达率和通知成功率。The above-mentioned message processing method provides an entry point for initiating a read confirmation message on a social application page. Users can independently select the target content to be read, the group conversation in which the read confirmation is to be conducted based on the target content, and the group conversation members who will participate in the read confirmation of the target content. This triggers a read confirmation message to trigger a specific group of people in a specified conversation to confirm the reading of the specified content. This allows the specified group of people to confirm the reading of the target content in the specified conversation based on the read confirmation message. Subsequent read confirmation initiators can then obtain real-time information on the completion status of the content, significantly improving information reach and notification success rates.

在一个实施例中,发送终端上运行的社交应用可采用卡片形式或者其他形式显示阅读确认消息。以卡片形式或其他形式显示的阅读确认消息具有可操作性。这样,用户可直接操作阅读确认消息。阅读确认消息具有可操作性可通过控件实现,也可通过超链接等其他方式实现。通过控件实现阅读确认消息的可操作性,具体可以为采用卡片控件显示消息内容的方式。In one embodiment, the social application running on the sending terminal may display the read confirmation message in a card format or other form. The read confirmation message displayed in a card format or other form is operable. This allows the user to directly manipulate the read confirmation message. The operability of the read confirmation message may be achieved through a control or other means such as a hyperlink. The operability of the read confirmation message through a control may specifically be achieved by displaying the message content using a card control.

在一个实施例中,推送目标阅读确认消息,包括:在群会话的社交会话页面中显示卡片控件;在卡片控件中显示目标阅读确认消息的消息内容;消息内容包括目标阅读确认消息的消息类型标识和在线协作文档的文档标题。In one embodiment, pushing a target reading confirmation message includes: displaying a card control in a social conversation page of a group conversation; displaying the message content of the target reading confirmation message in the card control; the message content includes a message type identifier of the target reading confirmation message and a document title of the online collaborative document.

在本实施例中,目标内容为在线协作文档。在线协作文档是多于一个人实时同步地进行协作编辑的文档。在线协作文档是网页版的文档,浏览器应用或者具有网页开启功能的其他应用可根据在线协作文档的访问地址打开在线协作文档。其中,在线协作文档包括word(文字)文档、excel(表格)文档以及PPT(幻灯片)文档等。在线协作文档的访问地址具体可以为URL(Uniform Resource Locator,统一资源定位符)。In this embodiment, the target content is an online collaborative document. An online collaborative document is a document that is collaboratively edited by more than one person in real time and synchronously. An online collaborative document is a webpage version of a document. A browser application or other application with a webpage opening function can open the online collaborative document according to the access address of the online collaborative document. Online collaborative documents include Word (text) documents, Excel (table) documents, and PPT (slide) documents. The access address of the online collaborative document can specifically be a URL (Uniform Resource Locator).

具体地,发送终端上运行的社交应用可通过卡片形式显示目标阅读确认消息。发送终端上运行的社交应用可在群会话的社交会话页面中显示卡片控件,并在卡片控件中显示目标阅读确认消息的消息内容。这里的消息内容包括目标阅读确认消息的消息类型标识和在线协作文档的文档标题。其中,消息类型标识用于提示用户该消息是一条阅读确认消息,需要进行阅读确认。当目标阅读确认消息对应存在描述信息时,该描述信息也可在卡片控件中显示。Specifically, the social application running on the sending terminal can display the target read confirmation message in the form of a card. The social application running on the sending terminal can display a card control on the social conversation page of the group conversation, and display the message content of the target read confirmation message in the card control. The message content here includes the message type identifier of the target read confirmation message and the document title of the online collaborative document. The message type identifier is used to prompt the user that the message is a read confirmation message and requires reading confirmation. When descriptive information corresponding to the target read confirmation message exists, the descriptive information can also be displayed in the card control.

举例说明,参考图8,该图示出了一个实施例中以卡片形式显示目标阅读确认消息的界面示意图。可以看出,图8左图中包括目标阅读确认消息的卡片控件810,卡片控件810显示了描述信息811、在线协作文档的文档标题812和消息类型标识813。当然,卡片控件810中还可以显示其他相关的信息。For example, refer to Figure 8, which shows a schematic diagram of an interface for displaying a target reading confirmation message in card format in one embodiment. As can be seen, the left image of Figure 8 includes a card control 810 for the target reading confirmation message. Card control 810 displays description information 811, the document title 812 of the online collaborative document, and a message type identifier 813. Of course, other relevant information can also be displayed in card control 810.

在本实施例中,是应用于在线协作文档的阅读确认场景,文档通常是承载信息的有效方式,基于在线协作文档的阅读确认具有很强的实用性,通过卡片形式显示目标阅读确认消息,由于卡片控件是可操作的对象,并可用于封装数据。那么利用这一特性,通过操作卡片控件展示在线协作文档,可以简化打开在线协作文档的操作。而且在线协作文档是网页版的文档,不用真实在群会话中传递文档,查看文档也不用下载文档,轻便且不占用和传输带宽和资源空间。This embodiment is applied to the reading confirmation scenario of online collaborative documents. Documents are often an effective way to carry information, and reading confirmation based on online collaborative documents is highly practical. The target reading confirmation message is displayed in the form of a card. Since the card control is an operable object and can be used to encapsulate data, this feature can be utilized to display the online collaborative document by operating the card control, simplifying the operation of opening the online collaborative document. Furthermore, online collaborative documents are web-based documents, eliminating the need to physically transfer documents in a group conversation or download them for viewing. They are lightweight and do not consume transmission bandwidth or resource space.

在一个实施例中,该消息处理方法还包括:响应于对卡片控件的触发操作,打开在线协作文档;与在线协作文档同屏显示完成阅读确认的群会话成员;响应于对显示的群会话成员的触发操作,进入确认详情页面;确认详情页面分页显示完成阅读确认的群会话成员和未完成阅读确认的群会话成员。In one embodiment, the message processing method also includes: opening an online collaborative document in response to a trigger operation on a card control; displaying group session members who have completed reading confirmation on the same screen as the online collaborative document; entering a confirmation details page in response to a trigger operation on the displayed group session members; and displaying the group session members who have completed reading confirmation and the group session members who have not completed reading confirmation in pages on the confirmation details page.

具体地,发送终端上运行的社交应用可检测对卡片控件的触发操作,在检测到对卡片控件的触发操作后,打开在线协作文档,与在线协作文档同屏显示完成阅读确认的群会话成员,具体可以是在在线协作文档的文档页面中显示部分或者全部完成阅读确认的群会话成员的社交账号或者社交头像。其中,显示的可以是全部完成阅读确认的群会话成员,也可以是部分完成阅读确认的群会话成员。另外,发送终端上运行的社交应用还可以与在线协作文档同屏显示完成阅读确认的群会话成员的数量。Specifically, the social application running on the sending terminal can detect the trigger operation of the card control. After detecting the trigger operation of the card control, it opens the online collaborative document and displays the group session members who have completed the reading confirmation on the same screen as the online collaborative document. Specifically, the social accounts or social avatars of some or all group session members who have completed the reading confirmation can be displayed on the document page of the online collaborative document. Among them, the group session members who have completed the reading confirmation can be all or some of them. In addition, the social application running on the sending terminal can also display the number of group session members who have completed the reading confirmation on the same screen as the online collaborative document.

在另外的实施例中,发送终端上运行的社交应用可检测对卡片控件的触发操作,在检测到对卡片控件的触发操作后,可通过操作系统提供的接口调用文档应用,通过文档应用打开在线协作文档,并通过文档应用与在线协作文档同屏显示完成阅读确认的群会话成员,以及与在线协作文档同屏显示完成阅读确认的群会话成员的数量。In another embodiment, the social application running on the sending terminal can detect the trigger operation of the card control. After detecting the trigger operation of the card control, it can call the document application through the interface provided by the operating system, open the online collaborative document through the document application, and display the group session members who have completed the reading confirmation on the same screen as the online collaborative document through the document application, as well as the number of group session members who have completed the reading confirmation on the same screen as the online collaborative document.

举例说明,参考图9,该图示出了一个实施例中与在线协作文档同屏显示完成阅读确认的群会话成员的界面示意图。可以看出,图9左图中包括部分完成阅读确认的群会话成员的社交头像,以及完成阅读确认的群会话成员的数量。For example, referring to Figure 9, which illustrates an interface diagram of displaying group session members who have completed reading confirmation on the same screen as an online collaborative document in one embodiment. As can be seen, the left image of Figure 9 includes social profile pictures of some group session members who have completed reading confirmation, as well as the number of group session members who have completed reading confirmation.

进一步地,发送终端上运行的社交应用或发送终端上运行的文档应用,可与在线协作文档同屏显示确认详情页面的入口控件。发送终端上运行的社交应用或发送终端上运行的文档应用,还可将完成阅读确认的群会话成员显示在确认详情页面的入口控件上。这样发送终端上运行的社交应用或发送终端上运行的文档应用,可检测对显示的群会话成员的触发操作,在检测到对显示的群会话成员的触发操作后,进入确认详情页面。确认详情页面中分页显示了完成阅读确认的群会话成员和未完成阅读确认的群会话成员。显示完成阅读确认的群会话成员包括显示各完成阅读确认的群会话成员及数量,显示未完成阅读确认的群会话成员包括显示各未完成阅读确认的群会话成员及数量。Furthermore, the social application running on the sending terminal or the document application running on the sending terminal can display the entry control of the confirmation details page on the same screen as the online collaborative document. The social application running on the sending terminal or the document application running on the sending terminal can also display the group session members who have completed the reading confirmation on the entry control of the confirmation details page. In this way, the social application running on the sending terminal or the document application running on the sending terminal can detect the trigger operation on the displayed group session member, and enter the confirmation details page after detecting the trigger operation on the displayed group session member. The confirmation details page displays the group session members who have completed the reading confirmation and the group session members who have not completed the reading confirmation in pages. Displaying the group session members who have completed the reading confirmation includes displaying each group session member who has completed the reading confirmation and the number, and displaying the group session members who have not completed the reading confirmation includes displaying each group session member who has not completed the reading confirmation and the number.

举例说明,参考图10,该图示出了一个实施例中确认详情页面的界面示意图。可以看出,图10中分页显示了完成阅读确认的群会话成员和未完成阅读确认的群会话成员。For example, referring to Figure 10, which shows a schematic diagram of the interface of a confirmation details page in one embodiment, it can be seen that Figure 10 displays the group conversation members who have completed the reading confirmation and the group conversation members who have not completed the reading confirmation in separate pages.

在本实施例中,阅读确认消息的发起者可以通过阅读确认消息实时了解已阅的完成情况,有利于信息的收集和统计。另外,发起者还可以在了解未完成阅读确认的群会话成员后,在会话中及时提醒这些成员完成阅读确认。In this embodiment, the initiator of the reading confirmation message can learn the completion status of the reading in real time through the reading confirmation message, which is conducive to information collection and statistics. In addition, the initiator can also remind the group conversation members who have not completed the reading confirmation in time during the conversation to complete the reading confirmation after learning about them.

在另外的实施例中,当参与确认目标内容的群会话成员均完成阅读确认后,在检测到对卡片控件的触发操作后,打开在线协作文档,与在线协作文档同屏显示提示信息,该提示信息用于提示所有参与阅读确认的群会话成员均完成阅读确认。如图9右图所示,在文档底部显示全部已确认。另外还可以取消在线协作文档页面中确认详情页面的入口控件。In another embodiment, after all group members participating in confirming the target content have completed their reading confirmation, upon detecting a trigger operation on the card control, the online collaborative document is opened and a prompt message is displayed on the same screen as the online collaborative document, indicating that all group members have completed their reading confirmation. As shown in the right image of Figure 9, the message "All confirmed" is displayed at the bottom of the document. Alternatively, the entry control for the confirmation details page on the online collaborative document page can be disabled.

在一个实施例中,消息处理方法还包括:接收与目标阅读确认消息对应的已确认通知;响应于对已确认通知的触发操作,进入确认详情页面;确认详情页面分页显示完成阅读确认的群会话成员和未完成阅读确认的群会话成员。In one embodiment, the message processing method also includes: receiving a confirmed notification corresponding to the target reading confirmation message; entering a confirmation details page in response to a triggering operation on the confirmed notification; and the confirmation details page displays group session members who have completed reading confirmation and group session members who have not completed reading confirmation in pages.

其中,已确认通知是社交应用所对应服务器发送的系统消息。已确认通知的发送由消息接收端触发的确认操作所触发。已确认通知用于通知有参与阅读确认的群会话成员完成了阅读确认。The confirmed notification is a system message sent by the server corresponding to the social application. It is triggered by a confirmation action triggered by the message recipient. It notifies group members who participated in the reading confirmation that the reading confirmation has been completed.

在一个具体的实施例中,已确认通知中可包括完成阅读确认的群会话成员和待确认目标内容的标题。比如“XXX已确认XX文档”。这样,用户可以直观地通过已确认通知了解到是哪个用户完成了哪个阅读确认。In a specific embodiment, the confirmation notification may include the group conversation member who completed the reading confirmation and the title of the target content to be confirmed, such as "XXX has confirmed XX document." In this way, the user can intuitively understand which user completed which reading confirmation through the confirmation notification.

具体地,发送终端上运行的社交应用,可接收与目标阅读确认消息对应的已确认通知,并将已确认通知链接至待阅读确认的目标内容。这样,发送终端上运行的社交应用可检测对已确认通知的触发操作,在检测到对已确认通知的触发操作后,进入确认详情页面。确认详情页面中分页显示了完成阅读确认的群会话成员和未完成阅读确认的群会话成员。Specifically, the social application running on the sending terminal can receive a confirmation notification corresponding to the target reading confirmation message and link the confirmation notification to the target content to be read and confirmed. In this way, the social application running on the sending terminal can detect the triggering operation on the confirmation notification and, upon detecting the triggering operation on the confirmation notification, enter the confirmation details page. The confirmation details page displays the group session members who have completed the reading confirmation and the group session members who have not completed the reading confirmation in a paged manner.

其中,显示完成阅读确认的群会话成员包括显示各完成阅读确认的群会话成员及数量,显示未完成阅读确认的群会话成员包括显示各未完成阅读确认的群会话成员及数量。链接至待阅读确认的目标内容的已确认通知具有可操作性。The display of group conversation members who have completed reading confirmation includes displaying the number of group conversation members who have completed reading confirmation, and the display of group conversation members who have not completed reading confirmation includes displaying the number of group conversation members who have not completed reading confirmation. The confirmed notification linked to the target content to be read and confirmed is operable.

在另外的实施例中,发送终端上运行的社交应用,也可仅将已确认通知中的文档标题链接至待阅读确认的目标内容。那么,此时仅已确认通知中的文档标题具有可操作性。具有可操作性的数据与不具有可操作性的数据的显示样式不同,这样用户可以方便地区别数据可操作,哪些数据不可操作。比如,可操作的数据以蓝色显示,不可操作的数据以其他颜色显示。In another embodiment, the social application running on the sending terminal can also link only the document title in the confirmed notification to the target content to be read and confirmed. In this case, only the document title in the confirmed notification is actionable. Actionable data and inactionable data are displayed differently, so that users can easily distinguish which data is actionable and which is not. For example, actionable data is displayed in blue, and inactionable data is displayed in other colors.

举例说明,继续参考图8,可以看出,图8右图中包括已确认通知820。已确认通知820中的文档标题“XXXX”以可操作性数据的样式进行显示。发送终端上运行的社交应用可以通过用户对“XXXX”的点击操作或者触控操作,进入确认详情页面。For example, referring to Figure 8 , the right side of the image includes a confirmation notification 820. The document title "XXXX" in confirmation notification 820 is displayed as actionable data. The social application running on the sending terminal can access the confirmation details page by clicking or touching "XXXX."

在本实施例中,提供了另外的进入确认详情页面的途径,丰富了查看阅读确认确认结果的方式;而且阅读确认消息的发起者还可以通过已确认通知来了解参与者已阅和未阅的情况。In this embodiment, another way to enter the confirmation details page is provided, which enriches the way to view the reading confirmation results; and the initiator of the reading confirmation message can also learn about the participants' reading and unreading status through the confirmed notification.

在另外的实施例中,已确认通知可通过静默方式发送。已确认通知还可以发送至阅读确认消息的接收端。In another embodiment, the confirmation notification can be sent in a silent manner. The confirmation notification can also be sent to the receiving end of the reading confirmation message.

在另外的实施例中,消息处理方法还包括:接收与目标阅读确认消息对应的阅读确认提示消息。阅读确认提示消息是社交应用所对应服务器发送的系统消息,用于提示有用户发起了阅读确认消息。阅读确认提示消息中可包括发起阅读确认消息的用户和目标内容的标题。比如图8右图所示,该图中包括阅读确认提示消息830,“XX已将XX设为阅读确认”。这样,用户可以直观地通过阅读确认提示消息了解到是哪个用户发起了哪个阅读确认。In another embodiment, the message processing method further includes: receiving a reading confirmation prompt message corresponding to the target reading confirmation message. The reading confirmation prompt message is a system message sent by the server corresponding to the social application, which is used to prompt that a user has initiated a reading confirmation message. The reading confirmation prompt message may include the user who initiated the reading confirmation message and the title of the target content. For example, as shown in the right figure of Figure 8, the figure includes a reading confirmation prompt message 830, "XX has set XX as reading confirmation." In this way, the user can intuitively understand which user initiated which reading confirmation through the reading confirmation prompt message.

在一个实施例中,历史会话消息为历史文档消息;历史会话消息关联至的会话内容为在线协作文档;显示包括历史会话消息的社交会话页面,包括:显示包括第一卡片控件的社交会话页面;第一卡片控件用于显示历史文档消息,显示历史文档消息的消息类型标识。推送目标阅读确认消息,包括:在群会话的社交会话页面中显示第二卡片控件;第二卡片控件用于显示目标阅读确认消息,并显示目标阅读确认消息的消息类型标识。In one embodiment, historical conversation messages are historical document messages; the conversation content associated with the historical conversation messages is an online collaborative document; displaying a social conversation page including the historical conversation messages includes: displaying the social conversation page including a first card control; the first card control is used to display the historical document messages and displays a message type identifier for the historical document messages; and pushing a target reading confirmation message includes: displaying a second card control on the social conversation page of the group conversation; the second card control is used to display the target reading confirmation message and displays a message type identifier for the target reading confirmation message.

其中,第一卡片控件和第二卡片控件都是卡片控件,但承载的是不同的会话消息。在本实施例中,第一卡片控件承载的是文档消息,第二卡片控件承载的是阅读确认消息。The first card control and the second card control are both card controls, but carry different session messages. In this embodiment, the first card control carries a document message, and the second card control carries a reading confirmation message.

具体地,发送终端上运行的社交应用可通过卡片形式显示文档消息。发送终端上运行的社交应用在接收到文档消息后,可在社交会话页面中显示卡片控件,并在卡片控件中显示文档消息的消息内容。这里的消息内容可以包括目标阅读确认消息的消息类型标识和在线协作文档的文档标题。Specifically, the social application running on the sending terminal can display the document message in the form of a card. Upon receiving the document message, the social application running on the sending terminal can display a card control on the social conversation page, displaying the document message content within the card control. This content can include the message type identifier of the target read confirmation message and the document title of the online collaborative document.

需要说明的是,采用卡片形式显示会话消息时,可在卡片控件中显示消息类型标识。以区分不同消息类型但都采用卡片形式显示会话消息。这样,用户可直观地根据消息类型标识区分不同消息类型的会话消息。It should be noted that when displaying conversation messages in card format, the message type identifier can be displayed in the card control to distinguish different message types, but the conversation messages are all displayed in card format. This way, users can intuitively distinguish conversation messages of different message types based on the message type identifier.

进一步地,当发送终端上运行的社交应用根据用户操作,基于卡片形式显示的历史文档消息发起阅读会话消息,可在社交会话页面中显示另一个卡片控件,并在卡片控件中显示目标阅读确认消息的消息内容。这里的消息内容可以包括目标阅读确认消息的消息类型标识和在线协作文档的文档标题。在另外的实施例中,消息内容还可以包括描述信息。Furthermore, when the social application running on the sending terminal initiates a reading session message based on the historical document messages displayed in card format in response to a user operation, another card control may be displayed on the social session page, and the message content of the target reading confirmation message may be displayed in the card control. The message content may include the message type identifier of the target reading confirmation message and the document title of the online collaborative document. In another embodiment, the message content may also include descriptive information.

举例说明,继续参考图4,发送终端上运行的社交应用,根据用户对“阅读确认”的菜单选项411的触发操作发起阅读确认消息后。如图11所示,图11中包括一个关联文档信息的卡片控件1110,卡片控件1110显示了在线协作文档的文档标题1111和消息类型标识1112;以及另一个关联阅读确认消息的卡片控件1120,卡片控件1120显示了描述信息1121、在线协作文档的文档标题1122和消息类型标识1123。这样实现了一键将文档卡片转化为阅读确认卡片的操作。For example, referring to Figure 4 , a social application running on a sending terminal initiates a read confirmation message based on a user's triggering operation on menu option 411 of "Read Confirmation." As shown in Figure 11 , Figure 11 includes a card control 1110 associated with document information, which displays the document title 1111 and message type identifier 1112 of the online collaborative document; and another card control 1120 associated with the read confirmation message, which displays description information 1121, the document title 1122 of the online collaborative document, and the message type identifier 1123. This allows for a one-click conversion of a document card into a read confirmation card.

在本实施例中,对于在群聊已经发出的文档卡片,支持一键转为阅读确认的消息类型,把在线协作的文档做作为一个重要信息在群聊中设为阅读确认。这样,后续可以把已阅的状态通知给发起者,可以提高规划和统计某些重要事项的通知成功率。In this embodiment, document cards sent in a group chat can be converted to a read confirmation message with one click, allowing online collaborative documents to be marked as important information in the group chat and set as read confirmation. This allows the initiator to be notified of the read status later, improving the success rate of notifications for planning and statistics on certain important matters.

在一个实施例中,推送目标阅读确认消息,包括:创建在群会话中对目标内容进行阅读确认的阅读确认任务;阅读确认任务的任务结构数据包括群会话成员和描述信息;接收服务器根据阅读确认任务生成的目标阅读确认消息;阅读确认任务用于指示服务器进行阅读确认的统计;在群会话中显示目标阅读确认消息;显示的目标阅读确认消息用于触发显示阅读确认的确认结果。In one embodiment, pushing a target reading confirmation message includes: creating a reading confirmation task for confirming the reading of the target content in a group session; the task structure data of the reading confirmation task includes group session members and description information; receiving a target reading confirmation message generated by the server according to the reading confirmation task; the reading confirmation task is used to instruct the server to perform statistics on reading confirmation; displaying the target reading confirmation message in the group session; the displayed target reading confirmation message is used to trigger the display of the confirmation result of the reading confirmation.

具体地,发送终端上运行的社交应用,可在检测到对阅读确认消息的发起入口的触发操作后,创建在群会话中对目标内容进行阅读确认的阅读确认任务。比如,发送终端上运行的社交应用,可根据待阅读确认的目标内容的内容标识创建任务标识,以创建阅读确认任务。这样,发送终端上运行的社交应用,基于任务标识为阅读确认任务补充参与阅读确认的群会话成员和描述信息。这样,发送终端上运行的社交应用,选取群会话中参与阅读确认目标内容的群会话成员,以及获取通过输入操作输入的描述信息后,即得到了基于阅读确认任务的任务结构数据。其中,任务结构数据是指任务的数据结构。发送终端上运行的社交应用可直接将内容标识作为任务标识,比如将文档的docid作为任务ID。Specifically, the social application running on the sending terminal can create a reading confirmation task for confirming the reading of the target content in the group conversation after detecting the trigger operation of the initiation entry of the reading confirmation message. For example, the social application running on the sending terminal can create a task identifier based on the content identifier of the target content to be read and confirmed to create a reading confirmation task. In this way, the social application running on the sending terminal supplements the reading confirmation task with the group conversation members and description information participating in the reading confirmation based on the task identifier. In this way, the social application running on the sending terminal selects the group conversation members participating in the reading confirmation of the target content in the group conversation, and obtains the description information entered through the input operation, thereby obtaining the task structure data based on the reading confirmation task. Among them, the task structure data refers to the data structure of the task. The social application running on the sending terminal can directly use the content identifier as the task identifier, such as using the docid of the document as the task ID.

发送终端上运行的社交应用可将创建的阅读确认任务推送至服务器。服务器接收到阅读确认任务后,可获取阅读确认任务对应的会话标识,生成在该会话标识所标识的会话中发送的目标阅读确认消息,并推送给发送终端上运行的社交应用。这样,发送终端上运行的社交应用则在会话中推送目标阅读确认消息。另外,服务器还会向发送终端上运行的社交应用推送阅读确认通知系统消息,用于表示此次阅读确认消息的发起者。The social application running on the sending terminal can push the created reading confirmation task to the server. Upon receiving the reading confirmation task, the server can obtain the corresponding session identifier, generate a target reading confirmation message to be sent within the session identified by the session identifier, and push it to the social application running on the sending terminal. The social application running on the sending terminal then pushes the target reading confirmation message within the session. In addition, the server also pushes a reading confirmation notification system message to the social application running on the sending terminal, indicating the originator of the reading confirmation message.

进一步地,服务器接收到阅读确认任务后可进行阅读确认的统计。具体地,服务器可存储参与阅读确认的群会话成员的阅读确认状态,并根据参与阅读确认的群会话成员的反馈实时更新阅读确认状态。Furthermore, after receiving the reading confirmation task, the server can perform reading confirmation statistics. Specifically, the server can store the reading confirmation status of the group conversation members who participated in the reading confirmation, and update the reading confirmation status in real time according to the feedback of the group conversation members who participated in the reading confirmation.

举例说明,参考图12,该图示出了一个实施例中消息处理方法的数据流向与逻辑关系图。在本实施例中,待阅读确认的目标内容为在线协作文档。可以看出,用户A可在社交应用中发起基于群会话的阅读确认。其中,发起方式包括通过会话工具菜单中表示“阅读确认”的菜单选项发起和通过操作历史文档信息发起等。此后,用户A为阅读确认任务补充参与阅读确认的群会话成员和描述信息,再将基于群会话的阅读确认任务发送至服务器。服务器可存储各参与阅读确认的群会话成员的阅读确认状态(State):已阅读确认和未阅读确认。For example, refer to Figure 12, which shows a data flow and logical relationship diagram of a message processing method in one embodiment. In this embodiment, the target content to be read and confirmed is an online collaborative document. It can be seen that user A can initiate a reading confirmation based on a group conversation in a social application. Among them, the initiation method includes initiating through the menu option representing "Reading Confirmation" in the conversation tool menu and initiating through the operation of historical document information. Afterwards, user A supplements the reading confirmation task with the group conversation members and description information participating in the reading confirmation, and then sends the reading confirmation task based on the group conversation to the server. The server can store the reading confirmation status (State) of each group conversation member participating in the reading confirmation: read confirmation and not read confirmation.

另外,发送终端(或者发送终端上运行的社交应用)可以为消息发送端,在根据用户操作在社交会话页面显示目标阅读确认消息时,目标阅读确认消息可用于触发显示阅读确认的确认结果。比如,基于对目标阅读确认消息的触发操作,可以打开待阅读确认的目标内容;在显示页面中展示确认结果或者展示查看确认结果的操作入口。In addition, the sending terminal (or the social application running on the sending terminal) can be the message sender. When the target reading confirmation message is displayed on the social conversation page based on the user's operation, the target reading confirmation message can be used to trigger the display of the confirmation result of the reading confirmation. For example, based on the triggering operation of the target reading confirmation message, the target content to be read and confirmed can be opened; the confirmation result or the operation entry for viewing the confirmation result can be displayed on the display page.

其中,确认结果可以包括已完成阅读确认的用户数量和已完成阅读确认的部分用户的用户标识。确认结果还可以包括已完成阅读确认的全部用户的用户标识、未完成阅读确认的用户数量以及未完成阅读确认的用户的用户标识。用户标识可以是用户在社交应用中的社交账号或者社交头像等。The confirmation result may include the number of users who have completed reading confirmation and the user IDs of some of the users who have completed reading confirmation. The confirmation result may also include the user IDs of all users who have completed reading confirmation, the number of users who have not completed reading confirmation, and the user IDs of the users who have not completed reading confirmation. The user ID may be a user's social account or social profile picture in a social application.

在本实施例中,基于阅读确认任务实时更新所有参与者已阅和未阅读的状态与数据统计,后续可把已阅的状态通知给发起者,可以提高规划和统计某些重要事项的通知成功率。In this embodiment, the read and unread status and data statistics of all participants are updated in real time based on the reading confirmation task, and the initiator can be notified of the read status later, which can improve the notification success rate of planning and statistics of certain important matters.

在本申请的一些实施例中,待阅读确认的目标内容为在线协作文档。这里就在线协作文档的相关技术特征进行阐述。In some embodiments of the present application, the target content to be read and confirmed is an online collaborative document. Here, the relevant technical features of the online collaborative document are described.

在用户从社交应用进入文档列表后选择文档或者创建文档时,社交应用可获取当前登录用户的身份信息,从业务逻辑服务器获取与该身份信息对应且基于在线协作文档的身份票据。该身份票据可包括身份标识(docsid)和文档关键字(docskey)。其中,docsid用于标记当前用户的身份,docskey与docsid配套鉴权,用于标记当前用户对于文档的有效期和权限信息。Docsid可加入到文档的地址访问(URL)中,但docskey是敏感信息可另外加入到当前域名所在域的cookie中。文档应用再启动webview(浏览器)打开文档的URL。When a user enters the document list from a social application and selects a document or creates a document, the social application can obtain the identity information of the currently logged-in user and obtain an identity ticket corresponding to the identity information and based on the online collaborative document from the business logic server. The identity ticket may include an identity identifier (docsid) and a document keyword (docskey). Among them, docsid is used to mark the identity of the current user, and docskey is used for authentication in conjunction with docsid to mark the validity period and permission information of the current user for the document. Docsid can be added to the document's address access (URL), but docskey is sensitive information and can be added to the cookie of the domain where the current domain name is located. The document application then launches the webview (browser) to open the document's URL.

文档应用的NodeJS服务器收到文档应用打开文档的请求后,可首先从文档的URL和cookie中获取docsid、docskey和docid(文档标识)执行鉴权逻辑。比如校验当前用户登录态是否有效,或者,校验当前用户是否有查看文档的权限等。在身份校验成功后,NodeJS服务器可向数据存储服务器拉取文档相关数据(包括当前协作者信息、文档内容及权限配置等信息),返回给文档应用启动的浏览器进行渲染展示。其中,NodeJS服务器表示服务器语言为NodeJS。After receiving a request from the document application to open a document, the document application's NodeJS server can first obtain the docsid, docskey, and docid (document identifier) from the document's URL and cookie to perform authentication logic. For example, this can verify whether the current user's login status is valid, or whether the current user has permission to view the document. After successful identity verification, the NodeJS server can pull document-related data (including current collaborator information, document content, and permission configuration) from the data storage server and return it to the browser launched by the document application for rendering and display. The NodeJS server indicates that the server language is NodeJS.

当文档应用通过浏览器打开文档后,在身份鉴权通过后会同时会发起长连接服务(WebSocket)与数据存储服务器建立长连接。该长连接用于与数据存储服务器进行在协作过程中文档的内容更新、权限的更新通知等数据的通信。用户操作文档的过程中,每在编辑器中的操作行为都会触发长连接服务的消息通知,实时更新文档的数据到数据存储服务器,同时数据存储服务器也会实时通知协作过程中他人对于文档的变更或权限通知逻辑。When a document is opened in a browser, the document application initiates a persistent connection (WebSocket) with the data storage server after identity authentication. This persistent connection is used to communicate with the data storage server for document content updates, permission update notifications, and other data during the collaboration process. As users work on the document, each action in the editor triggers a message notification from the persistent connection service, updating the document data in real time to the data storage server. The data storage server also notifies others of document changes or permission notifications during the collaboration process.

当用户打开的文档接收到数据存储服务器推送的内容变更后,文档的内容都是以指令集合的形式存在。如果出现不同人对于同一位置文档有操作冲突后,会触发指令集合的合并算法(OT算法),将合并冲突后的文档内容渲染给用户。当出现无法合并的冲突时会提示用户版本冲突,需要放弃一部分内容或手动合并有冲突的内容。When a user opens a document and receives content changes pushed from the data storage server, the document's contents are stored as a set of instructions. If different people perform conflicting operations on the same document, the instruction set merge algorithm (OT algorithm) is triggered, and the merged document content is rendered to the user. If a conflict cannot be merged, the user is prompted with a version conflict and is required to discard some content or manually merge the conflicting content.

比如,文档格式可采用delta结构,delta结构本质上是一个JSON的数组。一个文档的表示可以是用一系列的insert操作。insert可以是一个string,也可以是一个对象。每个insert对象都有一个attributes属性,表示insert对象的属性。比如加粗或者字体等。For example, a document format might use a delta structure, which is essentially a JSON array. A document can be represented as a series of insert operations. The insert can be a string or an object. Each insert object has an attributes property that represents the properties of the insert object, such as bold or font size.

另外,用户在打开协作文档过程中,可以随时将文档转发给他人邀请同时协作查看,当收到转发卡片或通知的用户可以直接进入文档中,可以看到当前文档在线的协作者列表,文档左侧每行也会展示文档每一行编辑者的信息,当文档只有一人编辑时则不会显示。In addition, when users open a collaborative document, they can forward the document to others at any time to invite them to view it collaboratively. When users receive a forwarding card or notification, they can directly enter the document and see a list of collaborators online for the current document. The information of the editor of each line of the document will also be displayed on the left side of the document. This will not be displayed when the document is edited by only one person.

在一个实施例中,在线协作文档的整体技术方案如图13和图14所示。参考图13,用户打开文档后,通过普通代理(commomproxy)向文档代理(docproxy)发送长连接消息请求。文档代理包括docpresence模块和docpush模块。普通代理另外可将无连接纯http的逻辑发送给http代理(http_proxy),而文档代理则将长连接请求发送转换成http请求发送给逻辑层处理。http代理可将数据上行至NodeJS服务器(webdocnjlogic)。NodeJS服务器则可将长连接推送(push)的客户端请求(如文档变更、权限变更等)以及存储逻辑发送给存储服务器(doccollabsvr),存储服务器则在存储(docxkv)进行数据(文档相关数据包括当前协作者信息、文档内容及权限配置等信息)存储。另外,存储服务器可在查询后将结果推送(push)至docpush模块。文档推送模块再经由普通代理反馈给用户。In one embodiment, the overall technical solution for online collaborative documents is shown in Figures 13 and 14. Referring to Figure 13, after a user opens a document, they send a persistent connection message request to the document proxy (docproxy) via the common proxy (commomproxy). The document proxy includes a docpresence module and a docpush module. The common proxy can also send connectionless pure HTTP logic to the HTTP proxy (http_proxy), which converts persistent connection requests into HTTP requests and sends them to the logic layer for processing. The HTTP proxy can upload data to a NodeJS server (webdocnjlogic). The NodeJS server can then send persistent connection push client requests (such as document changes, permission changes, etc.) and storage logic to the storage server (doccollabsvr). The storage server then stores data (document-related data including current collaborator information, document content, and permission configuration) in the storage (docxkv). Furthermore, the storage server can push query results to the docpush module. The document push module then provides feedback to the user via the common proxy.

参考图14,社交应用可依次通过JSBridge和适配层与Web通信。Web中包括可相互传递数据的社交应用逻辑层和文档编辑器SDK。社交应用逻辑层可与社交应用长连接接入层基于docproxy进行长连接,该长连接用于编辑类操作指令、权限变更以及文档删除的数据通信。社交应用逻辑层可与社交应用node接入层基于身份验证进行短连接,该短连接用于查询文档基础数据、查询权限数据、查询文档属性数据、查询操作者meta数据以及将操作者加入房间等。社交应用长连接接入层可基于docproxy向社交应用node接入层传递socket数据包进行身份验证。另外,社交应用node接入层调用社交应用后台提供的编辑相关接口建立短连接或者传递socket数据包。其中,短连接调用不同的RPC接口,socket调用一个固定的RPC接口透传。社交应用node接入层调用社交应用后台提供的非编辑相关接口,则对应社交应用KV存储中非编相关的文档列表存储、用户权限、房间管理以及操作记录等。社交应用后台提供的编辑相关接口则对应文档oidb SDK实现的指令OT、快照生成以及冲突处理等,以及对应社交应用KV存储中编辑相关的文档数据、操作指令数据以及快照版本数据等。另外,社交应用后台处理完逻辑调用push server回包。Referring to Figure 14 , social applications can communicate with the web through JSBridge and the adaptation layer. The web includes a social application logic layer and a document editor SDK, which can exchange data between them. The social application logic layer can establish a persistent connection with the social application persistent access layer based on DocProxy. This persistent connection is used for data communication related to editing operations, permission changes, and document deletions. The social application logic layer can establish a short connection with the social application node access layer based on authentication. This short connection is used for querying basic document data, permission data, document attribute data, operator metadata, and adding operators to rooms. The social application persistent access layer can pass socket packets to the social application node access layer based on DocProxy for authentication. Furthermore, the social application node access layer calls editing-related interfaces provided by the social application backend to establish short connections or pass socket packets. Short connections call different RPC interfaces, while sockets call a fixed RPC interface for transparent transmission. The social application node access layer calls non-editing interfaces provided by the social application backend, corresponding to non-editing-related document list storage, user permissions, room management, and operation logs in the social application's KV storage. The editing-related APIs provided by the social application backend correspond to the OIDB SDK's implementation of document OT, snapshot generation, and conflict resolution, as well as the editing-related document data, operation instruction data, and snapshot version data stored in the social application's KV storage. Furthermore, after the social application backend completes its logic processing, it calls the push server to respond.

另外,在线协作文档提供权限控制能力,可以控制文档允许协作编辑和查看的成员,提供全部成员、指定成员以及外部成员临时访问等权限控制方式。其中,协作者是指拥有文档编辑权限的成员,打开文档后参与编辑就会成为该文档的协作者成员之一,可展示协作编辑记录。In addition, online collaborative documents offer permission control, allowing you to control who can collaborate on editing and viewing documents. Access control options include full access, designated access, and temporary access for external members. A collaborator is a member with document editing permissions. Opening a document and participating in editing it will make them a collaborator, and their collaborative editing history will be displayed.

对于协作者存储,依旧是存在PB的vidFileInfo字段中,原有的authoritytype保持不变,用于控制文档的总体权限。新增结构体collaborators,用于保存协作者的权限。结构体有n个字段:vid、type、alias、userid、authority等,其中authority沿用原有的枚举类型AuthorityType。对于最近协作者存储,以PB存储,且新增字段UserInfo保存。保存信息包括vid、alias、name、time(最后一次添加的时间)以及cnt(添加次数)。无需主动add,在调用addVidFileList或AddCollaborators时会自动增加,time和cnt会被更新。For collaborator storage, it still exists in the vidFileInfo field of PB, and the original authoritytype remains unchanged, which is used to control the overall permissions of the document. A new structure collaborators is added to save the permissions of collaborators. The structure has n fields: vid, type, alias, userid, authority, etc., among which authority uses the original enumeration type AuthorityType. For the most recent collaborator storage, it is stored in PB, and a new field UserInfo is added to save it. The saved information includes vid, alias, name, time (time of last addition) and cnt (number of additions). There is no need to actively add, it will be automatically added when addVidFileList or AddCollaborators is called, and time and cnt will be updated.

对于权限,文档拥有者拥有最高权限。如果组织成员(如企业成员,vid)在协作者列表,给予相应权限。vid属于协作组,给予所属协作组权限(属于多个则按最高权限计)。否则给文档的总体权限。以上四项按顺序检查,不做累计。即属于协作者,则不会检查协作组权限,更不会返回文档权限。Regarding permissions, the document owner has the highest permissions. If the vid is a member of an organization (such as a company member or a vid) in the collaborator list, the corresponding permissions are granted. If the vid belongs to a collaboration group, the permissions of the collaboration group are granted (if the vid belongs to multiple groups, the highest permissions are counted). Otherwise, the document's overall permissions are granted. The above four items are checked sequentially and are not cumulative. If the vid is a collaborator, the collaboration group permissions will not be checked, and the document permissions will not be returned.

对于协作者的增加,文档拥有者添加的协作者,按文档拥有者设置的权限;协作者或协作组成员拉取的,跟随协作者或协作组成员的权限。通过链接打开文档,则跟随文档权限。被文档拥有者删除的协作者,只能被拉进来,不能通过链接进入。For collaborators added by the document owner, permissions are applied according to the document owner's settings. Collaborators added by a collaborator or collaboration group member have permissions similar to the collaborator or collaboration group member's. Opening a document via a link applies to the document's permissions. Collaborators deleted by the document owner can only be added by being added, not by linking.

对于协作者的删除,1、通过DeleteCollaborators删除,只有文档拥有者可以操作。需要说明的是,实际上并非将协作者从存储中删掉,只是将协作者标志为无权限。因此,除非文档拥有者和协作者主动添加,否则无法再次成为协作者。删除后,协作者文档列表中该文档会消失,并向被删除者下发通知。2、协作者主动退出协作,则从存储中删除,可以通过链接进入再次成为协作者。删除后,会向文档拥有者下发通知。To delete collaborators, 1. Use DeleteCollaborators, which is an operation that only the document owner can perform. It should be noted that this does not actually delete the collaborator from the storage; it simply marks the collaborator as having no permissions. Therefore, unless the document owner and collaborator actively add them, they cannot become collaborators again. After deletion, the document will disappear from the collaborator's document list, and a notification will be sent to the deleted person. 2. If a collaborator actively withdraws from the collaboration, it will be deleted from the storage and can be re-joined as a collaborator through the link. After deletion, a notification will be sent to the document owner.

对于协作者的修改,通过ModifyCollaborators修改,仅文档拥有者可以操作。对于协作者的获取,通过GetCollaborators获取,仅文档拥有者和协作者可以获取。兼容旧的编辑者,编辑者统一权限为读写。To modify collaborators, use ModifyCollaborators, which is accessible only to the document owner. To retrieve collaborators, use GetCollaborators, which is accessible only to the document owner and collaborators. To maintain compatibility with legacy editors, editors now have read and write permissions.

对于权限的检查,文档拥有者返回最高权限;如果是协作者,返回协作者权限(包括无权限的情况);如果是协作组成员,返回协作组权限,如果有多个协作组,则返回最高的权限信息;如果以上都不是,则返回文档总体权限。For permission checks, the document owner returns the highest permission; if the owner is a collaborator, the collaborator's permissions are returned (including the case of no permissions); if the owner is a member of a collaboration group, the collaboration group permissions are returned. If there are multiple collaboration groups, the highest permission information is returned; if none of the above is true, the overall document permissions are returned.

在一个实施例中,在社交应用页面中显示阅读确认消息的发起入口,包括:在社交应用页面中打开在线协作文档;开启在线协作文档的文档菜单;文档菜单中包括阅读确认消息的发起入口。响应于对发起入口的触发操作,选取待阅读确认的目标内容包括:响应于对发起入口的触发操作,将当前打开的在线协作文档作为待阅读确认的目标内容。该消息处理方法还包括:确定基于目标内容进行阅读确认的群会话。In one embodiment, displaying an initiation entry for a read confirmation message on a social application page includes: opening an online collaborative document on the social application page; opening a document menu for the online collaborative document; and including an initiation entry for the read confirmation message in the document menu. In response to a triggering operation on the initiation entry, selecting target content for read confirmation includes: selecting the currently opened online collaborative document as the target content for read confirmation in response to the triggering operation on the initiation entry. The message processing method also includes determining a group conversation for which read confirmation is to be performed based on the target content.

可以理解,本实施例在在线协作文档的文档菜单中也可提供了阅读确认消息的发起入口。具体地,发送终端上运行的社交应用可根据用户操作在社交应用页面中打开在线协作文档,再根据用户操作开启在线协作文档的文档菜单。该文档菜单中有表示“阅读确认”菜单选项,即阅读确认消息的发起入口。社交应用可检测对发起入口的触发操作,在检测到对发起入口的触发操作后,响应于该触发操作,将当前打开的在线协作文档作为待阅读确认的目标文档。It is understood that this embodiment also provides an entry for initiating a read confirmation message in the document menu of the online collaborative document. Specifically, the social application running on the sending terminal can open the online collaborative document in the social application page based on the user's operation, and then open the document menu of the online collaborative document based on the user's operation. The document menu includes a menu option indicating "Read Confirmation", which is the entry for initiating the read confirmation message. The social application can detect a trigger operation on the initiation entry, and after detecting the trigger operation on the initiation entry, in response to the trigger operation, the currently open online collaborative document is used as the target document for read confirmation.

其中,社交应用可以是从在线协作文档列表中打开其中一个在线协作文档;也可以是基于社交会话中关联了在线协作文档的文档消息,打开该文档消息关联的在线协作文档。The social application may open one of the online collaborative documents from the online collaborative document list; or may open the online collaborative document associated with a document message associated with the online collaborative document in the social conversation.

进一步地,社交应用可根据用户操作选定基于目标文档进行阅读确认的群会话。可以理解,基于目标内容进行阅读确认的群会话也就是阅读确认消息要发送在的群会话。社交应用再根据用户操作选取群会话中参与阅读确认目标文档的群会话成员,推送用于触发对目标文档进行阅读确认的目标阅读确认消息。Furthermore, the social application can select a group conversation for confirming the target document's reading based on user actions. It will be understood that the group conversation for confirming the target document's reading is the group conversation to which the reading confirmation message is sent. Based on the user's actions, the social application then selects group conversation members who have participated in confirming the target document's reading and pushes the target reading confirmation message, which triggers the confirmation of the target document's reading.

在另外的实施例中,社交应用也可调用文档应用打开在线协作文档。In another embodiment, the social application may also call a document application to open an online collaborative document.

举例说明,参考图22,图22示出了一个实施例中在文档菜单中显示阅读确认消息的发起入口的示意图。从该图可看到文档菜单2210中包括表示“阅读确认”的菜单项2211,该菜单项2211为阅读确认消息的发起入口。终端在检测到用户对菜单项2211的触发操作后,可跳转至社交应用的群会话选择页面。For example, refer to Figure 22, which shows a schematic diagram of an embodiment of displaying a read confirmation message initiation entry in a document menu. As can be seen from the figure, document menu 2210 includes a menu item 2211 indicating "Read Confirmation," which is the entry for initiating the read confirmation message. Upon detecting a user triggering menu item 2211, the terminal can jump to the group conversation selection page of the social application.

在另外的实施例中,当发送终端上运行的社交应用根据用户操作,在非社交会话页面中发起阅读确认消息时,发送终端上运行的社交应用可选择目标群会话作为基于目标内容进行阅读确认的群会话,或者,新建群会话作为基于目标内容进行阅读确认的群会话。In another embodiment, when the social application running on the sending terminal initiates a reading confirmation message in a non-social session page based on a user operation, the social application running on the sending terminal may select a target group session as a group session for reading confirmation based on the target content, or create a new group session as a group session for reading confirmation based on the target content.

在一个实施例中,目标内容为在线协作文档;方法还包括:接收与在线协作文档对应的文档编辑消息;响应于对文档编辑消息的触发操作,打开在线协作文档;在线协作文档中包括至少一个协作者的至少一个文档编辑内容。In one embodiment, the target content is an online collaborative document; the method further includes: receiving a document editing message corresponding to the online collaborative document; opening the online collaborative document in response to a triggering operation on the document editing message; and the online collaborative document includes at least one document editing content of at least one collaborator.

其中,文档编辑消息是服务器触发的用于提示有协作者对在线协作文档进行编辑的消息。文档编辑消息可通过虚拟对象发送以摘要信息的方式发送,比如通过文档小助手发送文档编辑摘要信息。摘要信息表示在显示信息时仅显示信息的摘要。以摘要信息的方式发送文档编辑消息,可以是采用卡片形式显示文档编辑消息,在卡片中显示文档编辑信息的摘要。比如,“XXX添加了一个评论:XXXXX”,或者,“XXX编辑了文档,添加了XXXX”。Among them, the document edit message is a message triggered by the server to prompt a collaborator to edit an online collaborative document. The document edit message can be sent as a summary message through a virtual object, such as sending document edit summary information through the document assistant. Summary information means that only a summary of the information is displayed when the information is displayed. Sending the document edit message as a summary message can be displaying the document edit message in the form of a card, in which a summary of the document edit information is displayed. For example, "XXX added a comment: XXXXX" or "XXX edited the document and added XXXX".

可以理解,基于在线协作文档可实现基于权限的实时在线协作编辑的能力,用户在意图对待阅读确认的目标内容收集参与者建议时,可在待阅读确认的目标内容增加协作邀请,这样参与者在打开待阅读确认的目标内容时,可以实时编辑并同步至服务器,服务器再实时推送至发起方。It can be understood that the ability of real-time online collaborative editing based on permissions can be realized based on online collaborative documents. When users intend to collect participant suggestions on the target content to be read and confirmed, they can add collaboration invitations to the target content to be read and confirmed. In this way, when participants open the target content to be read and confirmed, they can edit it in real time and synchronize it to the server, and the server will then push it to the initiator in real time.

具体地,文档编辑消息也可采用卡片形式显示,具有可操作性。这样,发送终端可检测对文档编辑消息的触发操作,在检测到对文档编辑消息的触发操作后打开在线协作文档。此时显示的在线协作文档中包括至少一个协作者的至少一个文档编辑内容。Specifically, document edit messages can also be displayed in a card format, making them more actionable. In this way, the sending terminal can detect a triggering operation on the document edit message and, upon detecting the triggering operation, open the online collaborative document. The displayed online collaborative document includes at least one document edited by at least one collaborator.

举例说明,参考图15,该图示出了一个实施例中协作编辑文档反馈的示意图。从图15左图可以看到,该图中包括接收到的文档编辑消息1510。用户点击或者触控文档编辑消息,可进入如图15右图所示的页面。该页面中展示的在线协作文档中包括协作邀请、协作编辑的文档编辑内容以及协作者。For example, refer to Figure 15, which shows a schematic diagram of collaborative document editing feedback in one embodiment. As can be seen from the left side of Figure 15, it includes a received document editing message 1510. A user clicking or touching the document editing message will be taken to the page shown in the right side of Figure 15. This page displays the online collaborative document, including the collaboration invitation, the collaboratively edited document content, and the collaborators.

在本实施例中,基于在线协作文档可实现基于权限的实时在线协作编辑的能力,用户在意图对待阅读确认的目标内容收集参与者建议时,可在待阅读确认的目标内容增加协作邀请,这样参与者在打开待阅读确认的目标内容时,可以实时编辑并同步至服务器,服务器再实时推送至发起方,有助于信息收集。In this embodiment, the ability of real-time online collaborative editing based on permissions can be realized based on online collaborative documents. When the user intends to collect participant suggestions on the target content to be read and confirmed, the user can add a collaboration invitation to the target content to be read and confirmed. In this way, when the participant opens the target content to be read and confirmed, he can edit it in real time and synchronize it to the server, and the server will then push it to the initiator in real time, which is helpful for information collection.

另外,在一个实施例中,发送终端还可在社交会话页面中显示当前编辑在线协作文档的协作者。比如,在会话窗口顶部显示提示信息,该提示信息用于提示正在编辑协作者。举例说明,如图15左图所示,可以看到在会话窗口的顶部显示有提示信息1520。该提示信息中包括协作者的用户标识。In one embodiment, the sending terminal may also display the collaborators currently editing the online collaborative document on the social conversation page. For example, a prompt message may be displayed at the top of the conversation window, indicating the collaborators currently editing the document. For example, as shown in the left image of FIG15 , a prompt message 1520 is displayed at the top of the conversation window. This prompt message includes the collaborator's user ID.

进一步地,终端可以是在控件上显示当前编辑目标在线协作文档的协作者。这样,终端可检测对该控件的触发操作,在检测到对该控件的触发操作后,打开目标在线协作文档。如图15右图所示。Furthermore, the terminal can be a collaborator displaying the currently edited target online collaborative document on a control. Thus, the terminal can detect a triggering operation on the control and, upon detecting the triggering operation on the control, open the target online collaborative document. This is shown in the right image of Figure 15.

在本实施例中,在社交会话页面中显示正在编辑目标在线协作文档的其他协作者,这样当前协作者可以实时了解到其他协作者对文档的编辑情况,以便及时查看编辑后的在线协作文档。In this embodiment, other collaborators who are editing the target online collaborative document are displayed on the social conversation page, so that the current collaborator can learn about the editing status of other collaborators on the document in real time and view the edited online collaborative document in time.

在本申请实施例中,社交应用具体可以是基于组织的社交应用。组织具体可以是包括多个自然人的集体,比如学校、企业或者工会等。可以理解,用户使用基于组织的社交应用,可以认为是以组织成员的名义进行社交。用户使用基于个人的社交应用,可以认为是以个人的名义进行社交。本申请实施例中的群会话,也可以是多于两个组织成员参加的会话。这样,通过本申请实施例可以实现,组织中有非常重要的信息需要所有参与者都必须要阅读的办公场景中,将在线协作文档作为重要信息的载体,在基于组织的社交应用设置为阅读确认消息对应的待阅读确认的目标内容,参与者在阅读目标内容后进行确认,并把已阅的状态通知给发起者,有利于发起者规划和统计某些重要事项的通知成功率。而且,还可将已经发出的文档消息一键转为阅读确认消息,通过在群会话中进行强提示让参与者感知,并通过阅读确认消息的描述信息让参与者可以了解此文档的用途,当参与者阅读文档后可以通过在文档中的阅读确认功能按钮,点击确认已经确认并实时更新所有参与者已阅和未阅读的数据统计,发起者可以通过统计实时了解已阅的完成情况。In the embodiment of the present application, the social application may specifically be an organization-based social application. The organization may specifically be a collective including multiple natural persons, such as a school, a company, or a trade union. It can be understood that when a user uses an organization-based social application, it can be considered that he or she is socializing in the name of an organization member. When a user uses an individual-based social application, it can be considered that he or she is socializing in the name of an individual. The group conversation in the embodiment of the present application may also be a conversation participated in by more than two organization members. In this way, through the embodiment of the present application, it can be achieved that in an office scenario where there is very important information in the organization that all participants must read, online collaborative documents are used as the carrier of important information, and the target content to be read and confirmed corresponding to the reading confirmation message is set in the organization-based social application. After reading the target content, the participant confirms it and notifies the initiator of the read status, which is beneficial for the initiator to plan and count the notification success rate of certain important matters. Moreover, the document message that has been sent can be converted into a reading confirmation message with one click. Participants can be aware of it through strong prompts in the group conversation, and can understand the purpose of this document through the description information of the reading confirmation message. After the participant reads the document, he can click the reading confirmation function button in the document to confirm that it has been confirmed and the data statistics of all participants' read and unread data will be updated in real time. The initiator can understand the completion status of the reading in real time through the statistics.

需要说明的是,上述图1中的接收终端112也可以作为发送终端执行上述实施例中的消息处理方法。同理,上述图1中的发送终端111也可以作为接收终端执行下述实施例中的消息处理方法。It should be noted that the receiving terminal 112 in FIG1 can also be used as a sending terminal to execute the message processing method in the above embodiment. Similarly, the sending terminal 111 in FIG1 can also be used as a receiving terminal to execute the message processing method in the following embodiment.

如图16所示,在一个实施例中,提供了一种消息处理方法。本实施例主要以该方法应用于上述图1中的接收终端112上运行的社交应用来举例说明。参照图16,该消息处理方法具体包括如下步骤:As shown in FIG16 , in one embodiment, a message processing method is provided. This embodiment is mainly illustrated by applying the method to a social application running on the receiving terminal 112 in FIG1 . Referring to FIG16 , the message processing method specifically includes the following steps:

S1602,显示群会话的社交会话页面。S1602: Display the social conversation page of the group conversation.

具体地,接收终端可根据用户操作启动其上运行的社交应用,接收终端上运行的社交应用则再根据用户操作,显示群会话的社交会话页面。该群会话可以是当前接收到会话消息的群会话。Specifically, the receiving terminal may start a social application running thereon according to the user operation, and the social application running on the receiving terminal may then display a social conversation page of the group conversation according to the user operation. The group conversation may be the group conversation that currently receives the conversation message.

S1604,在社交会话页面中显示阅读确认消息。S1604: Display a reading confirmation message on the social conversation page.

其中,阅读确认消息是一种用于进行阅读确认的会话消息,具体用于通知会话成员对指定内容进行阅读确认。The reading confirmation message is a conversation message used for reading confirmation, and is specifically used to notify conversation members to confirm reading of designated content.

具体地,接收终端上运行的社交应用接收到发送到群会话中的阅读确认消息,则在群会话的社交会话页面中显示阅读确认消息。Specifically, when the social application running on the receiving terminal receives the reading confirmation message sent to the group session, the reading confirmation message is displayed on the social session page of the group session.

在一个实施例中,接收终端上运行的社交应用可采用卡片形式或者其他形式显示阅读确认消息。以卡片形式或其他形式显示的阅读确认消息具有可操作性。这样,用户可直接操作阅读确认消息打开待阅读确认的目标内容。阅读确认消息的可操作性可通过控件实现,也可通过超链接等其他方式实现。通过控件实现阅读确认消息的可操作性,具体可为采用卡片控件显示消息内容的方式。In one embodiment, the social application running on the receiving terminal may display the read confirmation message in a card format or other form. The read confirmation message displayed in a card format or other form is operable. In this way, the user can directly operate the read confirmation message to open the target content to be read and confirmed. The operability of the read confirmation message can be achieved through a control or other means such as a hyperlink. The operability of the read confirmation message can be achieved through a control, specifically by displaying the message content using a card control.

在一个实施例中,待目标内容为在线协作文档。在社交会话页面中显示阅读确认消息,包括:在群会话的社交会话页面中显示卡片控件;在卡片控件中显示阅读确认消息的消息内容;消息内容包括阅读确认消息的消息类型标识、在线协作文档的文档标题和描述信息。In one embodiment, the target content is an online collaborative document. Displaying a read confirmation message on a social conversation page includes: displaying a card control on the social conversation page of a group conversation; displaying the content of the read confirmation message in the card control; the message content including a message type identifier of the read confirmation message, and the document title and description information of the online collaborative document.

具体地,接收终端上运行的社交应用可通过卡片形式显示阅读确认消息。接收终端上运行的社交应用可在群会话的社交会话页面中显示卡片控件,并在卡片控件中显示阅读确认消息的消息内容。这里的消息内容可以包括阅读确认消息的消息类型标识、在线协作文档的文档标题和描述信息。其中,消息类型标识用于提示用户该消息是一条阅读确认消息,需要进行阅读确认。当目标阅读确认消息未对应存在描述信息,该描述信息可缺省。Specifically, the social application running on the receiving terminal can display the read confirmation message in the form of a card. The social application running on the receiving terminal can display a card control on the social conversation page of the group conversation, and display the message content of the read confirmation message in the card control. The message content here may include the message type identifier of the read confirmation message, the document title and description information of the online collaborative document. The message type identifier is used to indicate to the user that the message is a read confirmation message and requires read confirmation. If the target read confirmation message does not have corresponding description information, the description information may be defaulted.

举例说明,参考图17,该图示出了一个实施例中以卡片形式目标阅读确认消息的界面示意图。可以看出,图17中包括阅读确认消息的卡片控件1710,卡片控件1710显示了描述信息1711、在线协作文档的文档标题1712和消息类型标识1713。当然,卡片控件1710中还可以显示其他与在线协作文档相关的信息。For example, refer to Figure 17, which shows a schematic interface diagram of a target read confirmation message in card format, according to one embodiment. As can be seen, Figure 17 includes a card control 1710 for the read confirmation message. Card control 1710 displays description information 1711, the document title 1712 of the online collaborative document, and a message type identifier 1713. Of course, card control 1710 can also display other information related to the online collaborative document.

在本实施例中,是应用于在线协作文档的阅读确认场景,文档通常是承载信息的有效方式,基于在线协作文档的阅读确认具有很强的实用性,通过卡片形式显示阅读确认消息,由于卡片控件是可操作的对象,并可用于封装数据。那么利用这一特性,通过操作卡片控件展示在线协作文档,可以简化打开在线协作文档的操作。而且在线协作文档是网页版的文档,不用真实在群会话中传递文档,查看文档也不用下载文档,轻便且不占用和传输带宽和资源空间。This embodiment is applied to the reading confirmation scenario of online collaborative documents. Documents are generally an effective way to carry information, and reading confirmation based on online collaborative documents is highly practical. Reading confirmation messages are displayed in the form of cards. Since card controls are operable objects and can be used to encapsulate data, this feature can be exploited to simplify the process of opening online collaborative documents by operating card controls. Furthermore, online collaborative documents are web-based documents, eliminating the need to physically share documents in a group conversation or download them for viewing. They are lightweight and do not consume transmission bandwidth or resource space.

S1606,响应于对阅读确认消息的触发操作,显示与阅读确认消息对应的待阅读确认的目标内容。S1606 , in response to the triggering operation on the reading confirmation message, displaying the target content to be read and confirmed corresponding to the reading confirmation message.

具体地,阅读确认消息关联了待阅读确认的目标内容。接收终端上运行的社交应用可检测对阅读确认消息的触发操作,在检测到对阅读确认消息的触发操作后,可显示与阅读确认消息对应的待阅读确认的目标内容。Specifically, the reading confirmation message is associated with the target content to be read and confirmed. The social application running on the receiving terminal can detect the triggering operation of the reading confirmation message, and after detecting the triggering operation of the reading confirmation message, can display the target content to be read and confirmed corresponding to the reading confirmation message.

其中,目标内容是作为目标进行阅读确认的内容。目标内容具体可以是文档、图片、视频或者音频等内容。接收终端上运行的社交应用可直接打开与阅读确认消息对应的待阅读确认的目标内容进行显示,也可通过操作系统提供的接口调用其他应用打开与阅读确认消息对应的待阅读确认的目标内容进行显示。需要说明的是,调用的应用与目标内容相匹配。比如,调用文档应用打开文档,或者,调用视频应用打开视频等。Among them, the target content is the content that is targeted for reading confirmation. The target content can specifically be documents, pictures, videos, or audio and other content. The social application running on the receiving terminal can directly open the target content to be read and confirmed corresponding to the reading confirmation message for display, or call other applications through the interface provided by the operating system to open the target content to be read and confirmed corresponding to the reading confirmation message for display. It should be noted that the called application matches the target content. For example, call a document application to open a document, or call a video application to open a video, etc.

在一个实施例中,S1606包括:响应于对卡片控件的触发操作,打开待阅读确认的在线协作文档。In one embodiment, S1606 includes: in response to a triggering operation on a card control, opening an online collaborative document to be read and confirmed.

具体地,由于卡片控件具有可操作性,接收终端上运行的社交应用可检测对卡片控件的触发操作,在检测到对卡片控件的触发操作后,可直接打开待阅读的在线协作文档。比如,社交应用可检测对卡片控件的点击操作或者触控操作,在检测到对卡片控件的点击操作或者触控操作后,直接打开在线协作文档;或者,调用文档应用打开在线协作文档。Specifically, because the card control is operable, the social application running on the receiving terminal can detect a triggering operation on the card control and, upon detecting the triggering operation on the card control, directly open the online collaborative document to be read. For example, the social application can detect a click or touch operation on the card control and, upon detecting the click or touch operation on the card control, directly open the online collaborative document; or, alternatively, call a document application to open the online collaborative document.

S1608,在满足对目标内容的确认条件时,触发向阅读确认消息的发送端发送已确认通知。S1608: When the confirmation condition for the target content is met, a confirmation notification is triggered to be sent to the sender of the reading confirmation message.

其中,确认条件是判断是否对目标内容进行确认的约束条件。满足对目标内容的确认条件具体可以是检测到对目标内容的确认操作,比如检测到对确认按钮的点击操作;满足确认条件也可以是对目标内容的展示时间到达预设时长,比如检测到目标内容在终端界面显示的时长达到N分钟;满足确认条件还可以是检测到对目标内容的编辑操作,比如检测到参与者对目标内容进行了评论等。The confirmation condition is a constraint that determines whether the target content is confirmed. This can be achieved by detecting a confirmation operation on the target content, such as a click on a confirmation button. It can also be achieved by detecting that the target content has been displayed for a preset duration, such as N minutes. It can also be achieved by detecting an edit operation on the target content, such as a comment on the target content.

其中,已确认通知由社交应用所对应服务器发起的系统消息。已确认通知的发送由消息接收端触发的确认操作所触发,由社交应用所对应服务器发送至阅读确认消息的发送端。已确认通知用于通知有参与阅读确认的群会话成员完成了阅读确认。The confirmed notification is a system message initiated by the social application's server. It's triggered by a confirmation action initiated by the message recipient and sent by the social application's server to the sender of the read confirmation message. The confirmed notification notifies group members participating in the read confirmation that the read confirmation has been completed.

在一个具体的实施例中,已确认通知中可包括完成阅读确认的群会话成员和待确认目标内容的标题。比如“XXX已确认XX文档”。这样,用户可以直观地通过已确认通知了解到是哪个用户完成了哪个阅读确认。In a specific embodiment, the confirmation notification may include the group conversation member who completed the reading confirmation and the title of the target content to be confirmed, such as "XXX has confirmed XX document." In this way, the user can intuitively understand which user completed which reading confirmation through the confirmation notification.

具体地,接收终端上运行的社交应用可检测当前是否满足对目标内容的确认条件,在判定满足对当前目标内容的触发操作后,则向服务器发起反馈。服务器在接收到反馈后,则向阅读确认消息的发送端发送已确认通知。其中,接收终端上运行的社交应用发起的反馈可以是确认回执或者确认状态更新提醒。Specifically, the social application running on the receiving terminal can detect whether the confirmation conditions for the target content are currently met. After determining that the trigger operation for the current target content is met, it initiates feedback to the server. After receiving the feedback, the server sends a confirmation notification to the sender of the reading confirmation message. The feedback initiated by the social application running on the receiving terminal can be a confirmation receipt or a confirmation status update reminder.

在一个实施例中,在满足对目标内容的确认条件时,触发向阅读确认消息的发送端发送已确认通知,包括:当本地登录的用户标识是阅读确认消息所指向的用户标识时,与在线协作文档同屏显示确认控件;在产生对应确认控件的触发操作时,触发向阅读确认消息的发送端发送已确认通知。消息处理方法还包括:当本地登录的用户标识不是阅读确认消息所指向的用户标识时,与在线协作文档同屏显示无需确认的提示信息。In one embodiment, when confirmation conditions for the target content are met, triggering the sending of a confirmation notification to the sender of the read confirmation message includes: when the locally logged-in user ID is the user ID specified by the read confirmation message, displaying a confirmation control on the same screen as the online collaborative document; and when a triggering operation corresponding to the confirmation control is generated, triggering the sending of a confirmation notification to the sender of the read confirmation message. The message processing method further includes: when the locally logged-in user ID is not the user ID specified by the read confirmation message, displaying a prompt message indicating that no confirmation is required on the same screen as the online collaborative document.

具体地,发送终端上运行的社交应用在打开在线协作文档时,可获取本地当前登录的用户标识,判断该用户标识是否为阅读确认消息所指向的用户标识。当该用户标识是阅读确认消息所指向的用户标识时,即该用户标识所标识的用户需要参与阅读确认,则在显示在线协作文档的页面中显示确认控件。其中,确认控件用于触发对目标内容的确认操作。比如,确认控件为确认按钮,用户可点击或触控该确认按钮,社交应用则判定产生了对目标内容的确认操作。Specifically, when opening an online collaborative document, the social application running on the sending terminal can obtain the local currently logged-in user ID and determine whether the user ID is the user ID specified by the read confirmation message. If the user ID is the user ID specified by the read confirmation message, meaning that the user identified by the user ID needs to participate in the read confirmation, a confirmation control is displayed on the page displaying the online collaborative document. The confirmation control is used to trigger a confirmation operation on the target content. For example, if the confirmation control is a confirmation button, the user can click or touch the confirmation button, and the social application will determine that a confirmation operation has occurred on the target content.

举例说明,继续参考图17,接收终端上运行的社交应用在检测到对卡片控件1710的触控操作后,可打开在线协作文档。若社交应用判定本地登录的用户标识是阅读确认消息所指向的用户标识,则进入如图18左图所示的界面。参考图18左图,可以看到该图中显示了在线协作文档1810和确认控件1820。确认控件1820可操作,且其上显示有“确认”字样。在用户操作该确认控件1820后,社交应用则判定产生了对目标内容的确认操作,向服务器进行反馈,触发服务器向阅读确认消息的发送端发送已确认通知。此时,确认控件1820可以变换为不可操作状态,且其上可以显示有“已确认”字样,如图18右图所示。For example, continuing to refer to Figure 17, the social application running on the receiving terminal can open the online collaborative document after detecting a touch operation on the card control 1710. If the social application determines that the locally logged-in user ID is the user ID pointed to by the reading confirmation message, it enters the interface shown in the left figure of Figure 18. Referring to the left figure of Figure 18, it can be seen that the figure displays the online collaborative document 1810 and the confirmation control 1820. The confirmation control 1820 is operable, and the word "Confirm" is displayed on it. After the user operates the confirmation control 1820, the social application determines that a confirmation operation has been generated on the target content, and provides feedback to the server, triggering the server to send a confirmed notification to the sender of the reading confirmation message. At this time, the confirmation control 1820 can be transformed into an inoperable state, and the word "Confirmed" can be displayed on it, as shown in the right figure of Figure 18.

另外,当该用户标识不是阅读确认消息所指向的用户标识时,即该用户标识所标识的用户不需要参与阅读确认,则可在显示在线协作文档的页面中显示无需确认的提示信息。举例说明,继续参考图17,接收终端上运行的社交应用在检测到对卡片控件1710的触控操作后,可打开在线协作文档。若社交应用判定本地登录的用户标识不是阅读确认消息所指向的用户标识,则进入如图19所示的界面。参考图19,可以看到该图中显示了无需确认的提示信息。In addition, when the user ID is not the user ID pointed to by the reading confirmation message, that is, the user identified by the user ID does not need to participate in the reading confirmation, a prompt message that does not require confirmation can be displayed on the page displaying the online collaborative document. For example, referring to Figure 17, the social application running on the receiving terminal can open the online collaborative document after detecting a touch operation on the card control 1710. If the social application determines that the locally logged-in user ID is not the user ID pointed to by the reading confirmation message, it enters the interface shown in Figure 19. Referring to Figure 19, you can see that the figure displays a prompt message that does not require confirmation.

在本实施例中,区分了参与阅读确认用户和不参与阅读确认用户显示在线协作文档的页面的显示内容,为参与阅读确认用户提供了确认的操作入口,为不参与阅读确认用户作了提示,实用性强,且用户友好度高。In this embodiment, the display content of the page displaying the online collaborative document is differentiated between users who have confirmed participating in the reading and users who have not confirmed participating in the reading, a confirmation operation entry is provided for users who have confirmed participating in the reading, and a prompt is provided for users who have not confirmed participating in the reading. This embodiment is highly practical and user-friendly.

在一个实施例中,社交应用可在确认出待阅读确认的目标内容显示在当前社交应用页面时,则判定产生了对目标内容的确认操作。在本实施例中,在进入目标内容后,无需用户再另外进行手动操作,即自动判定产生了对目标内容的确认操作,进而向服务器进行反馈,触发服务器向阅读确认消息的发送端发送已确认通知。这样,简化了用户操作,更加便捷。In one embodiment, a social application can determine that a confirmation operation has occurred on the target content upon confirming that the target content is displayed on the current social application page. In this embodiment, after entering the target content, the user no longer needs to perform any manual operation. This automatically determines that a confirmation operation has occurred on the target content, and then provides feedback to the server, triggering the server to send a confirmation notification to the sender of the read confirmation message. This simplifies user operations and increases convenience.

上述消息处理方法,在群会话中接收到阅读确认消息后,即可直接就阅读确认消息进行操作,显示与阅读确认消息对应的待阅读确认的目标内容,这样在满足对目标内容的确认条件时,触发向阅读确认消息的发送端发送已确认通知,这样阅读确认发起者可实时了解已阅的完成情况,极大地提高了信息触达率和通知成功率。The above message processing method, after receiving a reading confirmation message in a group conversation, can directly operate on the reading confirmation message and display the target content to be read and confirmed corresponding to the reading confirmation message. In this way, when the confirmation conditions for the target content are met, it triggers the sending of a confirmed notification to the sender of the reading confirmation message. In this way, the initiator of the reading confirmation can understand the completion status of the reading in real time, greatly improving the information reach rate and notification success rate.

在一个实施例中,显示群会话的社交会话页面,包括:显示会话列表页面;确定会话列表页面中与阅读确认消息对应的群会话列表项;在群会话列表项的会话摘要中显示阅读确认消息的提示信息;从群会话列表项进入群会话的社交会话页面。In one embodiment, displaying a social conversation page of a group conversation includes: displaying a conversation list page; determining a group conversation list item corresponding to a read confirmation message in the conversation list page; displaying a prompt message of the read confirmation message in a conversation summary of the group conversation list item; and entering the social conversation page of the group conversation from the group conversation list item.

可以理解,通常情况下社交应用的主页面通常是会话列表页面,即社交会话开启后首先显示的是会话列表页面。社交应用继而可根据用户操作从会话列表页面中的会话列表项进入相应会话的社交会话页面。It is understood that the main page of a social application is usually the conversation list page, that is, the conversation list page is the first page displayed after a social conversation is started. The social application can then enter the social conversation page of the corresponding conversation from the conversation list item in the conversation list page according to user operations.

具体地,接收设备上运行的社交应用可显示会话列表页面,当存在群会话有未读的阅读确认消息时,可确定会话列表页面中与该阅读确认消息对应的群会话列表项,继而在该群会话列表项的会话摘要中显示阅读确认消息的提示消息。社交应用可继续根据用户操作从群会话列表项进入群会话的社交会话页面。其中,会话列表项的会话摘要是会话消息的内容提要。在会话摘要中显示阅读确认消息的提示消息,可以是将“阅读确认”字样在会话摘要中前置;另外还可以将提示消息以特定颜色突出显示,比如以红色显示“阅读确认”字样等。在另外的实施例中,会话列表项还可以显示未读消息的数量。Specifically, the social application running on the receiving device can display a conversation list page. When there is an unread read confirmation message in a group conversation, the group conversation list item corresponding to the read confirmation message can be determined in the conversation list page, and then a prompt message of the read confirmation message can be displayed in the conversation summary of the group conversation list item. The social application can continue to enter the social conversation page of the group conversation from the group conversation list item based on user operations. The conversation summary of the conversation list item is a summary of the content of the conversation message. Displaying the prompt message of the read confirmation message in the conversation summary can be by placing the words "read confirmation" in front of the conversation summary; in addition, the prompt message can be highlighted in a specific color, such as displaying the words "read confirmation" in red. In another embodiment, the conversation list item can also display the number of unread messages.

需要说明的是,通常情况下会话列表页面中包括多于一个会话列表项,这些会话列表项的排列顺序通常是先排列有未读会话消息的会话列表项,再排列没有未读会话消息的会话列表项。对于有未读会话消息的会话列表项,则按照所对应会话的最后会话消息的时间戳先后顺序逆序排序;对于没有未读会话消息的会话列表项亦然。即,会话的最后会话消息的时间戳靠前,则该会话的会话列表项排序靠后。但是,当某个会话的未读会话消息中包括阅读确认消息或者回执消息等特定消息时,可将所在会话的会话列表项前置。这些特定消息所在会话的会话列表项前置的优先级顺序为:重要联系人的会话消息、回执消息、阅读确认消息、单人提醒(@某人)、所有人提醒(@所有人)、草稿等。It should be noted that a conversation list page typically includes more than one conversation list item. These conversation list items are typically sorted with those with unread conversation messages first, followed by those without. Conversation list items with unread conversation messages are sorted in reverse order based on the timestamp of the last conversation message in the corresponding conversation; the same applies to conversation list items without unread conversation messages. That is, the conversation list item for a conversation with an earlier timestamp for the last conversation message is sorted later. However, if a conversation's unread conversation messages include specific messages such as read confirmations or receipts, the conversation list item for that conversation can be placed first. The priority order for placing conversation list items for conversations containing these specific messages is: conversation messages from important contacts, receipts, read confirmations, single-person reminders (@someone), public reminders (@everyone), and drafts.

举例说明,参考图20,该图示出了一个实施例中显示会话列表页面的示意图。由该图可见,群会话1的会话列表项2010的会话摘要中有前置的“阅读确认”字样,则表明群会话1中有未读的阅读确认消息。For example, referring to Figure 20, which shows a schematic diagram of a conversation list page in one embodiment, it can be seen that the conversation summary of the conversation list item 2010 of group conversation 1 has the word "read confirmation" in the front, indicating that there are unread read confirmation messages in group conversation 1.

在本实施例中,在接收到阅读确认消息后,在会话摘要中进行提示,可以提醒用户优先处理,是非常有效的信息触达和强提示能力,提升了下发重要信息的通道能力。In this embodiment, after receiving the reading confirmation message, a prompt is given in the conversation summary to remind the user to prioritize it. This is a very effective information reach and strong prompt capability, which improves the channel capability of sending important information.

进一步地,从群会话列表项进入群会话的社交会话页面后,社交应用即在社交会话页面中显示未读消息。当未读消息较多,无法在社交会话页面一屏展示,通常是确保时间戳最新的会话消息能够显示,并为用户提供消息回溯快捷入口,用户可通过该回溯消息快捷入口回溯其他未展示的未读消息。那么,当阅读确认消息未在社交会话页面首屏显示时,社交应用可在社交会话页面显示阅读确认提示消息,用于提示有未读的阅读确认消息尚未显示。在另外的实例中,该阅读确认提示消息可在阅读提示回溯快捷入口上显示,社交应用还可在产生对该阅读提示回溯快捷入口的操作时,回溯显示阅读确认消息。举例说明,参考图21,该图示出了一个实施例中社交会话页面的示意图。由该图可见,社交会话页面中会话窗口的右上角显示有阅读确认提示消息“1条阅读确认”。Furthermore, after entering the social conversation page of a group conversation from the group conversation list item, the social application displays unread messages on the social conversation page. When there are too many unread messages to fit on a single screen, the social conversation page typically ensures that the conversation messages with the latest timestamps are displayed, and provides users with a quick access to backtrack messages, allowing them to access other unread messages that are not displayed. If the read confirmation message is not displayed on the first screen of the social conversation page, the social application may display a read confirmation prompt message on the social conversation page to indicate that there are unread read confirmation messages that have not yet been displayed. In another example, the read confirmation prompt message may be displayed on the read prompt backtracking shortcut, and the social application may also display the read confirmation message backtrackingly when the read prompt backtracking shortcut is activated. For example, refer to Figure 21, which shows a schematic diagram of a social conversation page in one embodiment. As shown in the figure, the read confirmation prompt message "1 read confirmation" is displayed in the upper right corner of the conversation window on the social conversation page.

在另外的实施例中,搜索阅读确认消息时,可将描述信息和/或文档标题为搜索创建索引,支持通过描述信息和/文档标题的搜索。In another embodiment, when searching for reading confirmation messages, the description information and/or document title may be indexed for the search, supporting searches based on the description information and/or document title.

在一个实施例中,在当前登录的用户标识所标识的用户加入已发起阅读确认消息的群会话时,若阅读确认消息所指定的参与阅读确认的用户为全体群会话成员。社交应用可根据对已确认通知的操作,打开目标内容,进行阅读确认。In one embodiment, when the user identified by the currently logged-in user ID joins a group session that has initiated a reading confirmation message, if the users designated in the reading confirmation message as participating in the reading confirmation are all members of the group session, the social application can open the target content and perform reading confirmation based on the action taken on the confirmed notification.

在一个实施例中,响应于对卡片控件的触发操作,打开待阅读确认的在线协作文档,包括:通过操作系统接口调用文档应用;通过文档应用,根据卡片控件对应的文档地址打开在线协作文档;当卡片控件上显示的消息类型标识表示阅读确认类型时,则通过文档应用与在线协作文档同屏显示确认控件;确认控件用于触发对在线协作文档的确认操作。In one embodiment, in response to a triggering operation on a card control, an online collaborative document to be read and confirmed is opened, including: calling a document application through an operating system interface; opening the online collaborative document through the document application according to the document address corresponding to the card control; when the message type identifier displayed on the card control indicates a reading confirmation type, displaying a confirmation control on the same screen as the online collaborative document through the document application; the confirmation control is used to trigger a confirmation operation on the online collaborative document.

具体地,接收终端上运行的社交应用可检测对卡片控件的触发操作,在检测到对卡片控件的触发操作后,可通过操作系统提供的接口调用文档应用,通过文档应用根据卡片控件对应的文档地址打开在线协作文档。Specifically, the social application running on the receiving terminal can detect the triggering operation of the card control. After detecting the triggering operation of the card control, the document application can be called through the interface provided by the operating system, and the online collaborative document can be opened through the document application according to the document address corresponding to the card control.

进一步地,文档应用还可以在打开在线协作文档时获取卡片控件对应的消息类型标识,当卡片控件对应的消息类型标识表示阅读确认类型时,则判定当前需要打开的在线协作文档是待阅读确认的目标内容,可在显示在线协作文档时同步显示确认控件。该确认控件用于触发对在线协作文档的确认操作。Furthermore, the document application can also obtain the message type identifier corresponding to the card control when opening an online collaborative document. If the message type identifier corresponding to the card control indicates a read confirmation type, the document application determines that the online collaborative document currently to be opened is the target content to be read and confirmed, and can display a confirmation control simultaneously with the display of the online collaborative document. This confirmation control is used to trigger the confirmation operation on the online collaborative document.

在一个具体的实施例中,终端上安装的应用可以注册自己的URL Scheme。其中,URL Scheme是为方便应用之间互相调用而设计的。这样,终端上安装的其中一个应用可通过操作系统提供的OpenURL来打开另外的应用,并可以传递一些参数至调用的应用。在本实施例的场景中,社交应用可将在线协作文档的文档地址(URL)传递给文档应用,文档应用通过启动webview(浏览器)打开文档地址以打开在线协作文档。社交应用还可将消息类型标识传递给文档应用,文档应用在识别出阅读确认类型时与在线协作文档同屏展示确认控件。In a specific embodiment, the applications installed on the terminal can register their own URL Scheme. Among them, the URL Scheme is designed to facilitate mutual calls between applications. In this way, one of the applications installed on the terminal can open another application through the OpenURL provided by the operating system, and can pass some parameters to the called application. In the scenario of this embodiment, the social application can pass the document address (URL) of the online collaborative document to the document application, and the document application opens the document address by launching a webview (browser) to open the online collaborative document. The social application can also pass the message type identifier to the document application. When the document application identifies the reading confirmation type, it displays the confirmation control on the same screen as the online collaborative document.

在本实施例中,通过调用专用的文档应用来打开在线协作文档,一方面可以利用专用应用更地流畅地渲染文档内容,另一方面还可以轻量化社交应用。In this embodiment, by calling a dedicated document application to open an online collaborative document, on the one hand, the dedicated application can be used to render the document content more smoothly, and on the other hand, the social application can be lightweight.

举例说明,继续参考图12,用户A可在社交应用中发起基于群会话的阅读确认任务。社交应用一方面将阅读确认任务推送到服务器后,服务器存储各参与阅读确认的用户的阅读确认状态(State)。社交应用另一方面通过JSAPI调用,在文档应用的业务逻辑层实现识别阅读确认消息、渲染待阅读确认的目标内容、针对参与阅读确认的成员显示确认控件以及阅读确认的业务逻辑初始化。文档应用的业务逻辑层再回调接收终端的社交应用,接收终端的社交应用反馈用户接收到会话消息。接收终端在根据参与阅读确认的用户的操作打开群会话打开阅读确认卡片(关联阅读确认信息的卡片控件),调用文档应用打开待阅读确认的目标文档。文档应用可获取当前登录的用户的阅读确认状态,在阅读确认状态为尚未确认状态时,显示确认按钮,用户可操作确认按钮进行确认。用户确认后,社交应用可实时反馈以更新阅读确认状态。在阅读确认状态为已确认状态时,则无需再次确认。文档应用在获取当前登录的用户的阅读确认状态是,可通过代理服务异步获取信息。For example, referring again to Figure 12 , user A can initiate a reading confirmation task within a social application, based on a group conversation. The social application pushes the reading confirmation task to the server, which then stores the reading confirmation status of each participating user. Furthermore, the social application, through JSAPI calls, implements the document application's business logic layer to recognize the reading confirmation message, render the target content to be confirmed, display a confirmation control for participating members, and initialize the reading confirmation business logic. The document application's business logic layer then calls back the social application on the receiving terminal, which then notifies the user of the session message. Based on the actions of the participating user, the receiving terminal opens the group conversation, opens the reading confirmation card (the card control associated with the reading confirmation information), and calls the document application to open the target document to be confirmed. The document application can retrieve the reading confirmation status of the currently logged-in user. If the reading confirmation status is unconfirmed, a confirmation button is displayed, which the user can click to confirm. After the user confirms, the social application provides real-time feedback to update the reading confirmation status. If the reading confirmation status is confirmed, no further confirmation is required. To obtain the reading confirmation status of the currently logged-in user, the document application can asynchronously obtain information through a proxy service.

在一个实施例中,消息处理方法还包括:在打开在线协作文档时,与文档应用对应的服务器建立长连接;通过长连接,将通过编辑操作对在线协作文档的编辑内容实时更新至服务器;在退出在线协作文档时,断开长连接。In one embodiment, the message processing method further includes: establishing a persistent connection with a server corresponding to a document application when opening an online collaborative document; updating the edited content of the online collaborative document through editing operations to the server in real time through the persistent connection; and disconnecting the persistent connection when exiting the online collaborative document.

在本实施例中,待阅读确认的目标内容为在线协作文档。在线协作文档的协作者可在线实时进行协作编辑,那么阅读确认消息的发起者在需要和参与阅读确认的用户协作编辑文档时,可在在线协作文档中插入协作编辑邀请。这样,参与阅读确认的用户在打开在线协作文档,看到协作编辑邀请时,可实时对在线协作文档进行编辑,将编辑内容实时同步到服务器,服务器再实时将编辑内容推送给阅读确认消息的发起者。其中,阅读确认消息的发起者通常为在线协作文档的创建者,其可将参与阅读确认的用户设置为在线协作文档的协作者,这样,这些参与阅读确认的用户则有权限编辑在线协作文档。In this embodiment, the target content to be read and confirmed is an online collaborative document. Collaborators of the online collaborative document can perform collaborative editing online in real time. Then, when the initiator of the reading confirmation message needs to collaboratively edit the document with the users participating in the reading confirmation, he or she can insert a collaborative editing invitation into the online collaborative document. In this way, when the users participating in the reading confirmation open the online collaborative document and see the collaborative editing invitation, they can edit the online collaborative document in real time and synchronize the edited content to the server in real time. The server then pushes the edited content to the initiator of the reading confirmation message in real time. Among them, the initiator of the reading confirmation message is usually the creator of the online collaborative document, who can set the users participating in the reading confirmation as collaborators of the online collaborative document. In this way, these users participating in the reading confirmation have the authority to edit the online collaborative document.

具体地,文档应用在打开在线协作文档时,可与文档应用对应的服务器建立长连接。这样文档应用可通过长连接,实时将通过编辑操作对在线协作文档的编辑内容更新至服务器。文档应用还可在退出在线协作文档时,断开长连接。Specifically, when a document application opens an online collaborative document, it can establish a persistent connection with the document application's corresponding server. This allows the document application to update the edited content of the online collaborative document to the server in real time through the persistent connection. The document application can also disconnect the persistent connection when exiting the online collaborative document.

在本实施例中,结合在线协作文档可实时在线协作编辑的功能,在需要收集参与阅读确认的用户的意见或建议时,有利于发起者实收集信息。In this embodiment, the real-time online collaborative editing function of the online collaborative document is combined, which helps the initiator to collect information in real time when it is necessary to collect opinions or suggestions from users who participate in reading confirmation.

在一个实施例中,消息处理方法还包括:打开在线协作文档;显示文档菜单;文档菜单中包括阅读确认消息的发起入口;响应于对发起入口的触发操作,将在线协作文档作为待阅读确认的目标文档;确定基于目标文档进行阅读确认的群会话;选取群会话中参与阅读确认目标文档的群会话成员;推送用于触发对目标文档进行阅读确认的目标阅读确认消息。可以理解,在文档中发起的阅读确认消息的后续过程,与在群会话中发起的阅读确认消息一致。In one embodiment, the message processing method further includes: opening an online collaborative document; displaying a document menu; including an entry for initiating a read confirmation message in the document menu; in response to a triggering operation on the initiation entry, setting the online collaborative document as a target document for read confirmation; determining a group session for performing read confirmation based on the target document; selecting group session members in the group session who are to participate in reading and confirming the target document; and pushing a target read confirmation message for triggering read confirmation of the target document. It is understood that the subsequent process of the read confirmation message initiated in the document is consistent with the read confirmation message initiated in the group session.

在本实施例中,在在线协作文档的文档菜单中也可提供了阅读确认消息的发起入口。具体地,终端上运行的社交应用或者文档应用在打开在线协作文档后,可打开文档菜单,响应于对文档菜单中阅读确认消息的发起入口的触发操作,将当前打开的在线协作文档作为待阅读确认的目标文档;确定基于目标文档进行阅读确认的群会话;选取群会话中参与阅读确认目标文档的群会话成员;推送用于触发对目标文档进行阅读确认的目标阅读确认消息。In this embodiment, a read confirmation message initiation entry can also be provided in the document menu of the online collaborative document. Specifically, after opening the online collaborative document, the social application or document application running on the terminal can open the document menu. In response to a triggering operation on the read confirmation message initiation entry in the document menu, the currently opened online collaborative document is set as the target document for read confirmation; a group session for read confirmation based on the target document is determined; group session members in the group session are selected to participate in read confirmation of the target document; and a target read confirmation message is pushed to trigger read confirmation of the target document.

举例说明,参考图22,该图示出了一个实施例中在文档菜单中显示阅读确认消息的发起入口的示意图。从该图可看到文档菜单2210中包括表示“阅读确认”的菜单项2211,该菜单项2211为阅读确认消息的发起入口。For example, referring to Figure 22, a schematic diagram of an embodiment of displaying an entry for initiating a read confirmation message in a document menu is shown. As can be seen from the figure, the document menu 2210 includes a menu item 2211 indicating "Read Confirmation", which is the entry for initiating the read confirmation message.

在本实施例中,在文档的文档菜单中也提供了阅读确认消息的发起入口,这样用户可以直接在文档中发起阅读确认消息,丰富了阅读确认消息发起方式。In this embodiment, an entry for initiating a reading confirmation message is also provided in the document menu of the document, so that the user can directly initiate a reading confirmation message in the document, enriching the way to initiate a reading confirmation message.

在另外的实施例中,阅读确认消息不支持转发和收藏,这样可以避免重要信息的泄露,保证信息安全性。在多选合并转发时,若包括了阅读确认消息,可将阅读确认消息过滤为文本,不再支持阅读确认的功能。In another embodiment, the read confirmation message does not support forwarding and collection, which can avoid the leakage of important information and ensure information security. When multiple selections are combined and forwarded, if the read confirmation message is included, the read confirmation message can be filtered into text and the read confirmation function is no longer supported.

在一个实施例中,目标内容为目标在线协作文档。该消息处理方法还包括:当本地登录的用户标识对应目标在线协作文档存在编辑权限时,则在社交会话页面中显示当前编辑目标在线协作文档的协作者。In one embodiment, the target content is a target online collaborative document. The message processing method further includes: when the locally logged-in user identifier has editing authority corresponding to the target online collaborative document, displaying the collaborators currently editing the target online collaborative document in the social conversation page.

其中,用户标识对应目标在线协作文档存在编辑权限,表示该用户标识所标识的用户对目标在线协作文档具有编辑的权限。这里的编辑可以是对目标在线协作文档的具体内容进行增、删、改以及评论等。目标在线协作文档的协作者,是指对目标在线协作文档具有编辑的权限的用户。The user ID corresponding to the target online collaborative document has edit permissions, indicating that the user identified by the user ID has edit permissions for the target online collaborative document. Editing here can include adding, deleting, modifying, and commenting on the specific content of the target online collaborative document. A collaborator of the target online collaborative document is a user with edit permissions for the target online collaborative document.

可以理解,由于协作者在对目标在线协作文档进行编辑时,会与在线协作文档的服务器之间保持长连接,实时通过该长连接将编辑内容同步至在线协作文档的服务器。那么服务器可实时将编辑内容和/或编辑状态同步至其他协作者。It is understood that when a collaborator edits a target online collaborative document, a persistent connection is maintained with the server of the online collaborative document, and the edited content is synchronized to the server of the online collaborative document in real time through the persistent connection. The server can then synchronize the edited content and/or editing status to other collaborators in real time.

具体地,服务器在保持与协作者所对应终端之间的长连接时,可判定该协作者正在编辑目标在线协作文档,可将该协作者的编辑状态通知到其他协作者。即,当终端本地登录的用户标识对应目标在线协作文档存在编辑权限,即该用户标识所标识的用户为协作者时,可实时接收服务器所推送的当前编辑目标在线协作文档的协作者,在社交会话中显示当前编辑目标在线协作文档的协作者。比如,在会话窗口顶部显示提示信息,该提示信息用于提示正在编辑协作者。举例说明,如图17所示,可以看到在会话窗口的顶部显示有提示信息1720。该提示信息中包括协作者的用户标识。Specifically, when the server maintains a long connection with the terminal corresponding to the collaborator, it can determine that the collaborator is editing the target online collaborative document and can notify other collaborators of the collaborator's editing status. That is, when the user ID of the terminal locally logged in has editing authority over the target online collaborative document, that is, when the user identified by the user ID is a collaborator, the collaborator currently editing the target online collaborative document can be received in real time from the server, and the collaborator currently editing the target online collaborative document can be displayed in the social conversation. For example, a prompt message is displayed at the top of the conversation window, and the prompt message is used to prompt the collaborator who is editing. For example, as shown in Figure 17, it can be seen that a prompt message 1720 is displayed at the top of the conversation window. The prompt message includes the user ID of the collaborator.

进一步地,终端可以是在控件上显示当前编辑目标在线协作文档的协作者。这样,终端可检测对该控件的触发操作,在检测到对该控件的触发操作后,打开目标在线协作文档。Furthermore, the terminal may be a collaborator displaying the currently edited target online collaborative document on the control. In this way, the terminal may detect a triggering operation on the control, and after detecting the triggering operation on the control, open the target online collaborative document.

在本实施例中,在社交会话页面中显示正在编辑目标在线协作文档的其他协作者,这样当前协作者可以实时了解到其他协作者对文档的编辑情况,以便及时查看编辑后的在线协作文档。In this embodiment, other collaborators who are editing the target online collaborative document are displayed on the social conversation page, so that the current collaborator can learn about the editing status of other collaborators on the document in real time and view the edited online collaborative document in time.

在一个实施例中,目标内容为目标在线协作文档。该消息处理方法还包括:接收与在线协作文档对应的文档编辑消息;响应于对文档编辑消息的触发操作,打开在线协作文档并定位至文档编辑消息所对应的文档编辑位置。In one embodiment, the target content is a target online collaborative document. The message processing method further includes: receiving a document editing message corresponding to the online collaborative document; and in response to a triggering operation on the document editing message, opening the online collaborative document and locating the document editing location corresponding to the document editing message.

其中,文档编辑消息是服务器触发的用于提示有协作者对在线协作文档进行编辑的消息。文档编辑消息可通过虚拟对象发送以摘要信息的方式发送,比如通过文档小助手发送文档编辑摘要信息。摘要信息表示在显示信息时仅显示信息的摘要。以摘要信息的方式发送文档编辑消息,可以是采用卡片形式显示文档编辑消息,在卡片中显示文档编辑信息的摘要。比如,“XXX添加了一个评论:XXXXX”,或者,“XXX编辑了文档,添加了XXXX”。举例说明,如图17所示,可以看到在会话窗口中显示有文档编辑消息1730。Among them, the document editing message is a message triggered by the server to prompt a collaborator to edit an online collaborative document. The document editing message can be sent in the form of summary information through a virtual object, such as sending document editing summary information through a document assistant. Summary information means that only a summary of the information is displayed when the information is displayed. Sending a document editing message in the form of summary information can be to display the document editing message in the form of a card, and display a summary of the document editing information in the card. For example, "XXX added a comment: XXXXX", or "XXX edited the document and added XXXX". For example, as shown in Figure 17, it can be seen that a document editing message 1730 is displayed in the session window.

可以理解,基于在线协作文档可实现基于权限的实时在线协作编辑的能力。协作者对文档的编辑内容可实时同步至服务器,服务器则可将编辑内容以消息形式通知到其他协作者。具体地,文档编辑消息也可采用卡片形式显示,具有可操作性。这样,终端可检测对文档编辑消息的触发操作,在检测到对文档编辑消息的触发操作后打开在线协作文档。As you can understand, online collaborative documents can enable real-time, permission-based online collaborative editing. Collaborators' edits to the document can be synchronized to the server in real time, and the server can notify other collaborators of the edits via messages. Specifically, document edit messages can also be displayed in the form of actionable cards. This allows the terminal to detect triggering actions on document edit messages and, upon detection, open the online collaborative document.

进一步地,终端在打开在线协作文档时,可定位至文档编辑消息所对应的文档编辑位置。这样,当前协作者可直接获取到其他协作者编辑的具体内容。Furthermore, when the terminal opens the online collaborative document, it can locate the document editing position corresponding to the document editing message. In this way, the current collaborator can directly obtain the specific content edited by other collaborators.

在本实施例中,基于在线协作文档可实现基于权限的实时在线协作编辑的能力,将其中一个协作者的编辑内容以消息的形式推送给其他协作者,有助于协作者实时了解文档的编辑情况。In this embodiment, the online collaborative document can realize the capability of real-time online collaborative editing based on permissions, and the editing content of one collaborator can be pushed to other collaborators in the form of messages, which helps the collaborators understand the editing status of the document in real time.

应该理解的是,虽然上述各实施例的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,上述各实施例中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that, although the various steps in the flow charts of the above-described embodiments are shown in sequence according to the instructions of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless otherwise specified herein, the execution of these steps is not strictly limited in order, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the above-described embodiments may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.

如图23所示,在一个实施例中,提供了一种消息处理装置2300。参照图23,该消息处理装置2300包括:显示模块2301、选取模块2302和推送模块2303。As shown in FIG23 , in one embodiment, a message processing device 2300 is provided. Referring to FIG23 , the message processing device 2300 includes: a display module 2301 , a selection module 2302 , and a push module 2303 .

显示模块2301,用于在社交应用页面中显示阅读确认消息的发起入口。The display module 2301 is used to display an initiation entry for reading a confirmation message on a social application page.

选取模块2302,用于响应于对发起入口的触发操作,选取待阅读确认的目标内容;选取群会话中参与阅读确认目标内容的群会话成员。The selection module 2302 is configured to select target content to be read and confirmed in response to a trigger operation on the initiation portal; and select group conversation members who participate in reading and confirming the target content in the group conversation.

推送模块2303,用于推送目标阅读确认消息;目标阅读确认消息在消息接收端显示时,用于触发群会话成员在群会话中对目标内容进行阅读确认。The push module 2303 is used to push the target reading confirmation message; when the target reading confirmation message is displayed on the message receiving end, it is used to trigger the group conversation members to confirm reading the target content in the group conversation.

在一个实施例中,显示模块2301还用于显示群会话的社交会话页面;在社交会话页面中显示会话工具菜单;其中,会话工具菜单中包括阅读确认消息的发起入口。In one embodiment, the display module 2301 is further configured to display a social conversation page of the group conversation; and display a conversation tool menu in the social conversation page; wherein the conversation tool menu includes an entry for initiating a reading confirmation message.

在一个实施例中,显示模块2301还用于显示包括历史会话消息的社交会话页面;响应于对历史会话消息的触发操作,显示操作选项菜单;操作选项菜单中包括阅读确认消息的发起入口。选取模块2302还用于响应于对发起入口的触发操作,将历史会话消息关联至的会话内容作为待阅读确认的目标内容。In one embodiment, the display module 2301 is further configured to display a social conversation page including historical conversation messages; in response to a triggering operation on a historical conversation message, display an operation option menu; the operation option menu includes an initiation entry for reading and confirming the message. The selection module 2302 is further configured to, in response to a triggering operation on the initiation entry, select the conversation content associated with the historical conversation message as the target content to be read and confirmed.

在一个实施例中,历史会话消息为历史文档消息;历史会话消息关联至的会话内容为在线协作文档。显示模块2301还用于显示包括第一卡片控件的社交会话页面;第一卡片控件用于显示历史文档消息,并显示历史文档消息的消息类型标识。推送模块2303还用于在群会话的社交会话页面中显示第二卡片控件;第二卡片控件用于显示目标阅读确认消息,并显示目标阅读确认消息的消息类型标识。In one embodiment, the historical conversation messages are historical document messages; the conversation content associated with the historical conversation messages is an online collaborative document. Display module 2301 is further configured to display a social conversation page including a first card control; the first card control is configured to display the historical document messages and the message type identifier of the historical document messages. Push module 2303 is further configured to display a second card control within the social conversation page of the group conversation; the second card control is configured to display a target read confirmation message and the message type identifier of the target read confirmation message.

在一个实施例中,选取模块2302还用于响应于对发起入口的触发操作,进入阅读确认消息设置页面;基于在阅读确认消息设置页面触发的选择操作,确定待阅读确认的目标内容;基于在阅读确认消息设置页面触发的输入操作,确定对目标内容进行阅读确认的描述信息。In one embodiment, the selection module 2302 is also used to enter the reading confirmation message setting page in response to a trigger operation on the initiation entrance; determine the target content to be read and confirmed based on the selection operation triggered on the reading confirmation message setting page; and determine the descriptive information for reading confirmation of the target content based on the input operation triggered on the reading confirmation message setting page.

在一个实施例中,推送模块2303还用于创建在群会话中对目标内容进行阅读确认的阅读确认任务;阅读确认任务的任务结构数据包括群会话成员和描述信息;接收服务器根据阅读确认任务生成的目标阅读确认消息;阅读确认任务用于指示服务器进行阅读确认的统计;在群会话中显示目标阅读确认消息;显示的目标阅读确认消息用于触发显示阅读确认的确认结果。In one embodiment, the push module 2303 is also used to create a reading confirmation task for confirming the reading of the target content in the group session; the task structure data of the reading confirmation task includes group session members and description information; the target reading confirmation message generated by the receiving server according to the reading confirmation task; the reading confirmation task is used to instruct the server to perform reading confirmation statistics; the target reading confirmation message is displayed in the group session; the displayed target reading confirmation message is used to trigger the display of the confirmation result of the reading confirmation.

在一个实施例中,目标内容为在线协作文档。推送模块2303还用于在群会话的社交会话页面中显示卡片控件;在卡片控件中显示目标阅读确认消息的消息内容;消息内容包括目标阅读确认消息的消息类型标识和在线协作文档的文档标题。In one embodiment, the target content is an online collaborative document. The push module 2303 is further configured to display a card control on the social conversation page of the group conversation; the card control displays the message content of the target reading confirmation message; the message content includes the message type identifier of the target reading confirmation message and the document title of the online collaborative document.

如图24所示,在一个实施例中,该消息处理装置2300还包括:查看模块2304,用于响应于对卡片控件的触发操作,打开在线协作文档;与在线协作文档同屏显示完成阅读确认的群会话成员;响应于对显示的群会话成员的触发操作,进入确认详情页面;确认详情页面分页显示完成阅读确认的群会话成员和未完成阅读确认的群会话成员。As shown in Figure 24, in one embodiment, the message processing device 2300 also includes: a viewing module 2304, which is used to open the online collaborative document in response to a trigger operation on the card control; display the group session members who have completed reading confirmation on the same screen as the online collaborative document; enter the confirmation details page in response to a trigger operation on the displayed group session members; the confirmation details page displays the group session members who have completed reading confirmation and the group session members who have not completed reading confirmation in pages.

在一个实施例中,查看模块2304还用于接收与目标阅读确认消息对应的已确认通知;响应对已确认通知的触发操作,进入确认详情页面;确认详情页面分页显示完成阅读确认的群会话成员和未完成阅读确认的群会话成员。In one embodiment, the viewing module 2304 is also used to receive a confirmed notification corresponding to the target reading confirmation message; respond to the trigger operation of the confirmed notification and enter the confirmation details page; the confirmation details page displays the group session members who have completed the reading confirmation and the group session members who have not completed the reading confirmation in pages.

在一个实施例中,目标内容为在线协作文档。查看模块2304还用于接收与在线协作文档对应的文档编辑消息;响应于对文档编辑消息的触发操作,打开在线协作文档;在线协作文档中包括至少一个协作者的至少一个文档编辑内容。In one embodiment, the target content is an online collaborative document. The viewing module 2304 is further configured to receive a document editing message corresponding to the online collaborative document; in response to a triggering operation on the document editing message, open the online collaborative document; and the online collaborative document includes at least one document edited by at least one collaborator.

在一个实施例中,显示模块2301还用于在社交应用页面中打开在线协作文档;开启在线协作文档的文档菜单;文档菜单中包括阅读确认消息的发起入口。选取模块2302还用于响应于对发起入口的触发操作,将当前打开的在线协作文档作为待阅读确认的目标内容;确定基于目标内容进行阅读确认的群会话。In one embodiment, the display module 2301 is further configured to open an online collaborative document in a social application page, open a document menu for the online collaborative document, and include an entry for initiating a read confirmation message in the document menu. The selection module 2302 is further configured to, in response to a triggering operation on the initiation entry, select the currently opened online collaborative document as the target content for read confirmation and determine a group conversation for which to perform read confirmation based on the target content.

上述消息处理装置,在社交应用页面中提供阅读确认消息的发起入口,并且可以自主选择待阅读确认的目标内容、基于目标内容进行阅读确认的群会话以及群会话中参与阅读确认目标内容的群会话成员,从而发起用于触发指定会话中的指定人群对指定内容进行阅读确认的阅读确认消息。这样该指定人群即可在指定会话中就阅读确认消息对目标内容进行阅读确认,后续阅读确认发起者可以实时了解已阅的完成情况,极大地提高了信息触达率和通知成功率。The above-mentioned message processing device provides an entry point for initiating a read confirmation message on a social application page. The user can independently select the target content to be read, the group conversation in which the read confirmation is to be conducted based on the target content, and the group conversation members who will participate in the read confirmation of the target content. This triggers a read confirmation message to trigger a specified group of people in a specified conversation to confirm the reading of the specified content. This allows the specified group of people to confirm the reading of the target content in the specified conversation based on the read confirmation message. Subsequent read confirmation initiators can then obtain real-time information on the completion status of the reading, significantly improving information reach and notification success rates.

如图25所示,在一个实施例中,提供了一种消息处理装置2500。参照图25,该消息处理装置2500包括:显示模块2501和确认模块2502。As shown in FIG25 , in one embodiment, a message processing device 2500 is provided. Referring to FIG25 , the message processing device 2500 includes: a display module 2501 and a confirmation module 2502 .

显示模块2501,用于显示群会话的社交会话页面;在社交会话页面中显示阅读确认消息;响应于对阅读确认消息的触发操作,显示与阅读确认消息对应的待阅读确认的目标内容。The display module 2501 is configured to display a social conversation page of the group conversation; display a reading confirmation message in the social conversation page; and display target content corresponding to the reading confirmation message in response to a triggering operation on the reading confirmation message.

确认模块2502,用于在满足对目标内容的确认条件时,触发向阅读确认消息的发送端发送已确认通知。The confirmation module 2502 is configured to trigger sending a confirmation notification to the sender of the reading confirmation message when the confirmation condition for the target content is met.

在一个实施例中,待目标内容为在线协作文档。显示模块2501还用于在群会话的社交会话页面中显示卡片控件;在卡片控件中显示阅读确认消息的消息内容;消息内容包括阅读确认消息的消息类型标识、在线协作文档的文档标题和描述信息。响应于对卡片控件的触发操作,打开待阅读确认的在线协作文档。In one embodiment, the target content is an online collaborative document. Display module 2501 is further configured to display a card control on the social conversation page of the group conversation; the card control displays the content of a read confirmation message; the message content includes a message type identifier of the read confirmation message, and the title and description of the online collaborative document. In response to a triggering operation on the card control, the online collaborative document to be read is opened.

在一个实施例中,显示模块2501还用于通过操作系统接口调用文档应用;通过文档应用,根据卡片控件对应的文档地址打开在线协作文档;当卡片控件上显示的消息类型标识表示阅读确认类型时,则通过文档应用与在线协作文档同屏显示确认控件;确认控件用于触发对在线协作文档的确认操作。In one embodiment, the display module 2501 is also used to call a document application through an operating system interface; through the document application, the online collaborative document is opened according to the document address corresponding to the card control; when the message type identifier displayed on the card control indicates a reading confirmation type, the confirmation control is displayed on the same screen as the online collaborative document through the document application; the confirmation control is used to trigger the confirmation operation on the online collaborative document.

在一个实施例中,该消息处理装置2500还包括:编辑模块2503,用于在打开在线协作文档时,与文档应用对应的服务器建立长连接;通过长连接,将通过编辑操作对在线协作文档的编辑内容实时更新至服务器;在退出在线协作文档时,断开长连接。In one embodiment, the message processing device 2500 also includes: an editing module 2503, which is used to establish a long connection with the server corresponding to the document application when opening an online collaborative document; through the long connection, the editing content of the online collaborative document through editing operations is updated to the server in real time; when exiting the online collaborative document, the long connection is disconnected.

在一个实施例中,确认模块2502还用于当本地登录的用户标识是阅读确认消息所指向的用户标识时,与在线协作文档同屏显示确认控件;在产生对应确认控件的触发操作时,触发向阅读确认消息的发送端发送已确认通知。当本地登录的用户标识不是阅读确认消息所指向的用户标识时,与在线协作文档同屏显示无需确认的提示信息。In one embodiment, confirmation module 2502 is further configured to display a confirmation control on the same screen as the online collaborative document when the locally logged-in user ID is the user ID specified by the read confirmation message; and to trigger a confirmation notification to the sender of the read confirmation message when a trigger operation corresponding to the confirmation control is generated. If the locally logged-in user ID is not the user ID specified by the read confirmation message, a prompt indicating that no confirmation is required is displayed on the same screen as the online collaborative document.

在一个实施例中,显示模块2501还用于显示会话列表页面;确定会话列表页面中与阅读确认消息对应的群会话列表项;在群会话列表项的会话摘要中显示阅读确认消息的提示信息;从群会话列表项进入群会话的社交会话页面。In one embodiment, the display module 2501 is also used to display a conversation list page; determine a group conversation list item corresponding to a reading confirmation message in the conversation list page; display a prompt message of the reading confirmation message in the conversation summary of the group conversation list item; and enter the social conversation page of the group conversation from the group conversation list item.

如图26所示,在一个实施例中,该消息处理装置2500还包括:编辑模块2503和推送模块2504。推送模块2504还用于打开在线协作文档;显示文档菜单;文档菜单中包括阅读确认消息的发起入口;响应于对发起入口的触发操作,将在线协作文档作为待阅读确认的目标文档;确定基于目标文档进行阅读确认的群会话;选取群会话中参与阅读确认目标文档的群会话成员;推送用于触发对目标文档进行阅读确认的目标阅读确认消息。As shown in FIG26 , in one embodiment, the message processing device 2500 further includes: an editing module 2503 and a push module 2504. The push module 2504 is further configured to open an online collaborative document; display a document menu; include in the document menu an entry for initiating a read confirmation message; in response to a triggering operation on the initiation entry, set the online collaborative document as a target document to be read confirmed; determine a group session for performing read confirmation based on the target document; select group session members in the group session who are to participate in reading and confirming the target document; and push a target read confirmation message for triggering reading confirmation of the target document.

在一个实施例中,目标内容为目标在线协作文档。显示模块2501还用于当本地登录的用户标识对应目标在线协作文档存在编辑权限时,则在社交会话页面中显示当前编辑目标在线协作文档的协作者。In one embodiment, the target content is a target online collaborative document. The display module 2501 is further configured to display the collaborators currently editing the target online collaborative document in the social conversation page when the locally logged-in user ID has editing authority corresponding to the target online collaborative document.

在一个实施例中,目标内容为目标在线协作文档。显示模块2501还用于接收与在线协作文档对应的文档编辑消息;响应于对文档编辑消息的触发操作,打开在线协作文档并定位至文档编辑消息所对应的文档编辑位置。In one embodiment, the target content is a target online collaborative document. The display module 2501 is further configured to receive a document editing message corresponding to the online collaborative document; in response to a triggering operation on the document editing message, open the online collaborative document and locate the document editing position corresponding to the document editing message.

上述消息处理装置,在群会话中接收到阅读确认消息后,即可直接就阅读确认消息进行操作,显示与阅读确认消息对应的待阅读确认的目标内容,这样在满足对目标内容的确认条件时,触发向阅读确认消息的发送端发送已确认通知,这样阅读确认发起者可实时了解已阅的完成情况,极大地提高了信息触达率和通知成功率。After receiving a reading confirmation message in a group conversation, the above-mentioned message processing device can directly operate on the reading confirmation message and display the target content to be read and confirmed corresponding to the reading confirmation message. In this way, when the confirmation conditions for the target content are met, it triggers the sending of a confirmed notification to the sender of the reading confirmation message. In this way, the initiator of the reading confirmation can understand the completion status of the reading in real time, greatly improving the information reach rate and notification success rate.

图27示出了一个实施例中计算机设备的内部结构图。该计算机设备具体可以是图1中的终端110。如图27所示,该计算机设备包括该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、输入装置和显示屏。其中,存储器包括非易失性存储介质和内存储器。该计算机设备的非易失性存储介质存储有操作系统,还可存储有计算机程序,该计算机程序被处理器执行时,可使得处理器实现消息处理方法。该内存储器中也可储存有计算机程序,该计算机程序被处理器执行时,可使得处理器执行消息处理方法。计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。本领域技术人员可以理解,图27中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。FIG27 shows an internal structure diagram of a computer device in one embodiment. The computer device may specifically be terminal 110 in FIG1 . As shown in FIG27 , the computer device includes a processor, memory, a network interface, an input device, and a display screen connected via a system bus. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement a message processing method. The internal memory may also store a computer program that, when executed by the processor, causes the processor to execute the message processing method. The display screen of the computer device may be a liquid crystal display or an electronic ink display. The input device of the computer device may be a touch layer covering the display screen, or may be a key, trackball, or touchpad provided on the computer device housing, or may be an external keyboard, touchpad, or mouse. Those skilled in the art will appreciate that the structure shown in FIG27 is merely a block diagram of a portion of the structure related to the present invention and does not constitute a limitation on the computer device to which the present invention is applied. Specific computer devices may include more or fewer components than shown in the figure, or may combine certain components or have a different component arrangement.

在一个实施例中,本申请提供的消息处理装置可以实现为一种计算机程序的形式,计算机程序可在如图27所示的计算机设备上运行。计算机设备的存储器中可存储组成该消息处理装置的各个程序模块,比如,图23所示的显示模块2301、选取模块2302和推送模块2303。各个程序模块构成的计算机程序使得处理器执行本说明书中描述的本申请各个实施例的消息处理方法中的步骤。In one embodiment, the message processing apparatus provided by the present application can be implemented in the form of a computer program that can be run on a computer device as shown in FIG27 . The memory of the computer device can store the various program modules that make up the message processing apparatus, such as the display module 2301, selection module 2302, and push module 2303 shown in FIG23 . The computer program composed of the various program modules enables the processor to execute the steps of the message processing method of each embodiment of the present application described in this specification.

例如,图27所示的计算机设备可以通过如图23所示的消息处理装置中的显示模块2301执行在社交应用页面中显示阅读确认消息的发起入口的步骤。通过选取模块2302执行响应于对发起入口的触发操作,选取待阅读确认的目标内容;选取群会话中参与阅读确认目标内容的群会话成员的步骤。通过推送模块2303执行推送目标阅读确认消息;目标阅读确认消息在消息接收端显示时,用于触发群会话成员在群会话中对目标内容进行阅读确认。For example, the computer device shown in FIG27 can execute the steps of displaying an initiation entry for a read confirmation message on a social application page via display module 2301 in the message processing apparatus shown in FIG23 . In response to a triggering operation on the initiation entry, selection module 2302 executes the steps of selecting target content to be read and confirmed, and selecting group session members who will participate in reading and confirming the target content. Push module 2303 executes the steps of pushing the target read confirmation message; when the target read confirmation message is displayed on the message receiving end, it triggers group session members to confirm reading the target content within the group session.

在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器存储有计算机程序,计算机程序被处理器执行时,使得处理器执行上述消息处理方法的步骤。此处消息处理方法的步骤可以是上述各个实施例的消息处理方法中的步骤。In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor performs the steps of the above-mentioned message processing method. The steps of the message processing method here can be the steps of the message processing method in each of the above-mentioned embodiments.

在一个实施例中,提供了一种计算机可读存储介质,存储有计算机程序,计算机程序被处理器执行时,使得处理器执行上述消息处理方法的步骤。此处消息处理方法的步骤可以是上述各个实施例的消息处理方法中的步骤。In one embodiment, a computer-readable storage medium is provided, storing a computer program, which, when executed by a processor, causes the processor to perform the steps of the message processing method described above. The steps of the message processing method may be the steps of the message processing method in each of the above embodiments.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. To make the description concise, 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 above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.

Claims (38)

1.一种消息处理方法,包括:1. A message processing method, comprising: 在社交应用页面中显示阅读确认消息的发起入口;Display the entry point for initiating a read confirmation message on the social application page; 响应于对所述发起入口的触发操作,选取待阅读确认的在线协作文档;所述在线协作文档是支持多人实时同步地进行协作编辑的文档;In response to the triggering operation of the initiating entry, an online collaborative document to be read and confirmed is selected; the online collaborative document is a document that supports real-time synchronous collaborative editing by multiple people; 选取群会话中参与阅读确认所述在线协作文档的群会话成员;Select the group session members who participated in reading and confirming the online collaborative document; 推送目标阅读确认消息;所述目标阅读确认消息在消息接收端显示时,用于指示所述群会话成员对所述目标阅读确认消息执行打开操作,打开待阅读确认的所述在线协作文档,并对所述在线协作文档进行阅读确认或编辑;A target reading confirmation message is pushed; when the target reading confirmation message is displayed on the message receiving end, it is used to instruct the group session member to perform an open operation on the target reading confirmation message, open the online collaborative document to be read and confirmed, and read and confirm or edit the online collaborative document; 接收与所述在线协作文档对应的文档编辑消息;所述文档编辑消息是用于提示有协作者对所述在线协作文档进行编辑的消息;Receive a document editing message corresponding to the online collaborative document; the document editing message is a message used to prompt a collaborator to edit the online collaborative document; 响应于对所述文档编辑消息的触发操作,打开所述在线协作文档;打开的所述在线协作文档中包括至少一个协作者的至少一个文档编辑内容。In response to a triggering operation on the document editing message, the online collaborative document is opened; the opened online collaborative document includes at least one document editing content from at least one collaborator. 2.根据权利要求1所述的方法,其特征在于,所述在社交应用页面中显示阅读确认消息的发起入口,包括:2. The method according to claim 1, wherein the step of displaying the entry point for the read confirmation message on the social application page includes: 显示群会话的社交会话页面;The social chat page that displays group chats; 在所述社交会话页面中显示会话工具菜单;The conversation tools menu is displayed on the social conversation page; 其中,所述会话工具菜单中包括阅读确认消息的发起入口。The conversation tool menu includes an entry point for initiating a read confirmation message. 3.根据权利要求1所述的方法,其特征在于,所述在社交应用页面中显示阅读确认消息的发起入口,包括:3. The method according to claim 1, wherein the step of displaying the entry point for the read confirmation message on the social application page includes: 显示包括历史会话消息的社交会话页面;Displays a social conversation page that includes historical conversation messages; 响应于对所述历史会话消息的触发操作,显示操作选项菜单;所述操作选项菜单中包括阅读确认消息的发起入口;In response to a triggered operation on the historical session message, an operation option menu is displayed; the operation option menu includes an entry point for initiating a read confirmation message; 所述响应于对所述发起入口的触发操作,选取待阅读确认的在线协作文档包括:The online collaborative document to be read and confirmed, selected in response to the triggering operation of the initiating entry, includes: 响应于对所述发起入口的触发操作,将所述历史会话消息关联至的会话内容作为待阅读确认的在线协作文档。In response to the triggering operation of the initiating entry, the session content associated with the historical session message is treated as an online collaborative document to be read and confirmed. 4.根据权利要求3所述的方法,其特征在于,所述历史会话消息为历史文档消息;所述历史会话消息关联至的会话内容为在线协作文档;所述显示包括历史会话消息的社交会话页面,包括:4. The method according to claim 3, wherein the historical conversation message is a historical document message; the conversation content associated with the historical conversation message is an online collaborative document; and displaying the social conversation page including the historical conversation message includes: 显示包括第一卡片控件的社交会话页面;所述第一卡片控件用于显示历史文档消息,并显示历史文档消息的消息类型标识;Display a social conversation page including a first card control; the first card control is used to display historical document messages and display the message type identifier of the historical document messages; 所述推送目标阅读确认消息,包括:The push notification confirmation message includes: 在所述群会话的社交会话页面中显示第二卡片控件;所述第二卡片控件用于显示目标阅读确认消息,并显示目标阅读确认消息的消息类型标识。A second card control is displayed on the social conversation page of the group conversation; the second card control is used to display the target read confirmation message and the message type identifier of the target read confirmation message. 5.根据权利要求1所述的方法,其特征在于,所述响应于对所述发起入口的触发操作,选取待阅读确认的在线协作文档,包括:5. The method according to claim 1, wherein selecting the online collaborative document to be read and confirmed in response to the triggering operation of the initiating entry includes: 响应于对所述发起入口的触发操作,进入阅读确认消息设置页面;In response to the triggering operation of the initiation entry, the user is directed to the read confirmation message settings page; 基于在所述阅读确认消息设置页面触发的选择操作,确定待阅读确认的在线协作文档;Based on the selection action triggered on the read confirmation message settings page, the online collaborative document to be read and confirmed is determined; 基于在所述阅读确认消息设置页面触发的输入操作,确定对所述在线协作文档进行阅读确认的描述信息。Based on the input operation triggered on the reading confirmation message settings page, a description of the reading confirmation for the online collaborative document is determined. 6.根据权利要求5所述的方法,其特征在于,所述推送目标阅读确认消息,包括:6. The method according to claim 5, wherein the push target read confirmation message includes: 创建在所述群会话中对所述在线协作文档进行阅读确认的阅读确认任务;所述阅读确认任务的任务结构数据包括所述群会话成员和所述描述信息;A reading confirmation task is created within the group session to verify the reading of the online collaborative document; the task structure data of the reading confirmation task includes the group session members and the description information. 接收服务器根据所述阅读确认任务生成的目标阅读确认消息;所述阅读确认任务用于指示服务器进行阅读确认的统计;The server receives a target reading confirmation message generated based on the reading confirmation task; the reading confirmation task is used to instruct the server to perform reading confirmation statistics. 在所述群会话中显示所述目标阅读确认消息;显示的所述目标阅读确认消息用于触发显示阅读确认的确认结果。The target read confirmation message is displayed in the group session; the displayed target read confirmation message is used to trigger the display of the read confirmation result. 7.根据权利要求1所述的方法,其特征在于,所述推送目标阅读确认消息,包括:7. The method according to claim 1, wherein the push target read confirmation message comprises: 在所述群会话的社交会话页面中显示卡片控件;Display card controls on the social conversation page of the group chat; 在所述卡片控件中显示目标阅读确认消息的消息内容;所述消息内容包括所述目标阅读确认消息的消息类型标识和所述在线协作文档的文档标题。The message content of the target reading confirmation message is displayed in the card control; the message content includes the message type identifier of the target reading confirmation message and the document title of the online collaborative document. 8.根据权利要求7所述的方法,其特征在于,所述方法还包括:8. The method according to claim 7, characterized in that the method further comprises: 响应于对所述卡片控件的触发操作,打开所述在线协作文档;In response to a trigger operation on the card control, the online collaborative document is opened; 与所述在线协作文档同屏显示完成阅读确认的群会话成员;The group chat members who have completed and confirmed reading the document are displayed on the same screen as the online collaborative document. 响应于对显示的群会话成员的触发操作,进入确认详情页面;所述确认详情页面分页显示完成阅读确认的群会话成员和未完成阅读确认的群会话成员。In response to a trigger operation on the displayed group chat members, the system enters the confirmation details page; the confirmation details page displays group chat members who have completed reading confirmation and group chat members who have not completed reading confirmation in a paginated manner. 9.根据权利要求1-8中任一项所述的方法,其特征在于,所述方法还包括:9. The method according to any one of claims 1-8, characterized in that the method further comprises: 接收与所述目标阅读确认消息对应的已确认通知;Receive a confirmation notification corresponding to the target reading confirmation message; 响应对所述已确认通知的触发操作,进入确认详情页面;所述确认详情页面分页显示完成阅读确认的群会话成员和未完成阅读确认的群会话成员。In response to the triggered operation of the confirmed notification, the user is taken to the confirmation details page; the confirmation details page displays group session members who have completed reading confirmation and group session members who have not completed reading confirmation in a paginated manner. 10.根据权利要求1所述的方法,其特征在于,所述在社交应用页面中显示阅读确认消息的发起入口,包括:10. The method according to claim 1, wherein the step of displaying the entry point for the read confirmation message on the social application page includes: 在社交应用页面中打开在线协作文档;Open an online collaborative document on a social application page; 开启所述在线协作文档的文档菜单;所述文档菜单中包括阅读确认消息的发起入口;Open the document menu of the online collaborative document; the document menu includes an entry point for initiating a reading confirmation message; 所述响应于对所述发起入口的触发操作,选取待阅读确认的在线协作文档包括:The online collaborative document to be read and confirmed, selected in response to the triggering operation of the initiating entry, includes: 响应于对所述发起入口的触发操作,将当前打开的在线协作文档作为待阅读确认的在线协作文档;In response to the trigger operation of the initiating entry, the currently opened online collaborative document is designated as an online collaborative document to be read and confirmed; 所述方法还包括:The method further includes: 确定基于所述在线协作文档进行阅读确认的群会话。Establish a group session for reading confirmation based on the online collaborative document. 11.一种消息处理方法,包括:11. A message processing method, comprising: 显示群会话的社交会话页面;The social chat page that displays group chats; 在所述社交会话页面中显示阅读确认消息;A confirmation message is displayed on the social conversation page; 响应于对所述阅读确认消息的触发操作,显示与所述阅读确认消息对应的待阅读确认的在线协作文档;所述在线协作文档是支持多人实时同步地进行协作编辑的文档;In response to the triggering operation of the reading confirmation message, the online collaborative document corresponding to the reading confirmation message and awaiting reading confirmation is displayed; the online collaborative document is a document that supports real-time synchronous collaborative editing by multiple users. 在满足对所述在线协作文档的确认条件时,触发向所述阅读确认消息的发送端发送已确认通知;When the confirmation conditions for the online collaborative document are met, a confirmation notification is sent to the sender of the reading confirmation message. 接收与所述在线协作文档对应的文档编辑消息;所述文档编辑消息是用于提示有协作者对所述在线协作文档进行编辑的消息;Receive a document editing message corresponding to the online collaborative document; the document editing message is a message used to prompt a collaborator to edit the online collaborative document; 响应于对所述文档编辑消息的触发操作,打开所述在线协作文档并定位至所述文档编辑消息所对应的文档编辑位置。In response to the triggering operation of the document editing message, the online collaborative document is opened and the document editing position corresponding to the document editing message is located. 12.根据权利要求11所述的方法,其特征在于,所述在所述社交会话页面中显示阅读确认消息,包括:12. The method according to claim 11, wherein displaying a read confirmation message on the social conversation page includes: 在所述群会话的社交会话页面中显示卡片控件;Display card controls on the social conversation page of the group chat; 在所述卡片控件中显示阅读确认消息的消息内容;所述消息内容包括所述阅读确认消息的消息类型标识、所述在线协作文档的文档标题和描述信息;The card control displays the message content of the reading confirmation message; the message content includes the message type identifier of the reading confirmation message, the document title and description information of the online collaborative document; 所述响应于对所述阅读确认消息的触发操作,显示与所述阅读确认消息对应的待阅读确认的在线协作文档,包括:The step of displaying the online collaborative document awaiting confirmation in response to the triggering operation of the reading confirmation message includes: 响应于对所述卡片控件的触发操作,打开待阅读确认的在线协作文档。In response to a trigger operation on the card control, the online collaborative document to be read and confirmed is opened. 13.根据权利要求12所述的方法,其特征在于,所述响应于对所述卡片控件的触发操作,打开待阅读确认的在线协作文档,包括:13. The method according to claim 12, wherein opening the online collaborative document to be read and confirmed in response to a triggering operation on the card control comprises: 通过操作系统接口调用文档应用;Call the document application through the operating system interface; 通过所述文档应用,根据所述卡片控件对应的文档地址打开所述在线协作文档;The online collaborative document is opened using the document application based on the document address corresponding to the card control. 当所述卡片控件上显示的消息类型标识表示阅读确认类型时,则When the message type identifier displayed on the card control indicates a read confirmation type, then 通过所述文档应用与所述在线协作文档同屏显示确认控件;所述确认控件用于触发对所述在线协作文档的确认操作。The document application displays a confirmation control on the same screen as the online collaborative document; the confirmation control is used to trigger a confirmation operation on the online collaborative document. 14.根据权利要求13所述的方法,其特征在于,所述方法还包括:14. The method according to claim 13, characterized in that the method further comprises: 在打开所述在线协作文档时,与所述文档应用对应的服务器建立长连接;When the online collaborative document is opened, a long connection is established with the server corresponding to the document application. 通过所述长连接,将通过编辑操作对所述在线协作文档的编辑内容实时更新至所述服务器;Through the long connection, the edited content of the online collaborative document, generated through editing operations, is updated to the server in real time; 在退出所述在线协作文档时,断开所述长连接。The persistent connection is disconnected when exiting the online collaborative document. 15.根据权利要求11所述的方法,其特征在于,所述在满足对所述在线协作文档的确认条件时,触发向所述阅读确认消息的发送端发送已确认通知,包括:15. The method according to claim 11, wherein triggering the sending of a confirmation notification to the sender of the reading confirmation message when the confirmation conditions for the online collaborative document are met includes: 当本地登录的用户标识是所述阅读确认消息所指向的用户标识时,与所述在线协作文档同屏显示确认控件;When the locally logged-in user ID is the same as the user ID pointed to by the reading confirmation message, a confirmation control is displayed on the same screen as the online collaborative document; 在产生对应所述确认控件的触发操作时,触发向所述阅读确认消息的发送端发送已确认通知;When the corresponding confirmation control is triggered, a confirmation notification is sent to the sending end of the reading confirmation message. 所述方法还包括:The method further includes: 当本地登录的用户标识不是所述阅读确认消息所指向的用户标识时,与所述在线协作文档同屏显示无需确认的提示信息。When the locally logged-in user ID is not the user ID pointed to by the reading confirmation message, a prompt message indicating that no confirmation is required is displayed on the same screen as the online collaborative document. 16.根据权利要求11-15中任一项所述的方法,其特征在于,所述显示群会话的社交会话页面,包括:16. The method according to any one of claims 11-15, characterized in that the social conversation page displaying the group conversation comprises: 显示会话列表页面;Display the session list page; 确定所述会话列表页面中与阅读确认消息对应的群会话列表项;Determine the group conversation list item in the conversation list page that corresponds to the read confirmation message; 在所述群会话列表项的会话摘要中显示阅读确认消息的提示信息;A confirmation message is displayed in the session summary of the group session list item; 从所述群会话列表项进入群会话的社交会话页面。Access the social conversation page of the group conversation from the group conversation list item. 17.根据权利要求11-15中任一项所述的方法,其特征在于,所述方法还包括:17. The method according to any one of claims 11-15, characterized in that the method further comprises: 打开在线协作文档;Open the online collaborative document; 显示文档菜单;所述文档菜单中包括阅读确认消息的发起入口;Display the document menu; the document menu includes an entry point for initiating a read confirmation message; 响应于对所述发起入口的触发操作,将所述在线协作文档作为待阅读确认的目标文档;In response to the triggering operation of the initiating entry, the online collaborative document is selected as the target document to be read and confirmed; 确定基于所述目标文档进行阅读确认的群会话;Establish a group session for reading confirmation based on the target document; 选取所述群会话中参与阅读确认所述目标文档的群会话成员;Select the group session members who participated in reading and confirming the target document; 推送用于触发对所述目标文档进行阅读确认的目标阅读确认消息。A target reading confirmation message is pushed to trigger the reading confirmation of the target document. 18.根据权利要求11所述的方法,其特征在于,所述在线协作文档为目标在线协作文档;所述方法还包括:18. The method according to claim 11, wherein the online collaborative document is a target online collaborative document; the method further comprises: 当本地登录的用户标识对应所述目标在线协作文档存在编辑权限时,则When the locally logged-in user has editing permissions for the target online collaborative document, then 在所述社交会话页面中显示当前编辑所述目标在线协作文档的协作者。The social conversation page displays the collaborators currently editing the target online collaborative document. 19.一种消息处理装置,包括:19. A message processing apparatus, comprising: 显示模块,用于在社交应用页面中显示阅读确认消息的发起入口;The display module is used to display the entry point for initiating the read confirmation message on the social application page; 选取模块,用于响应于对所述发起入口的触发操作,选取待阅读确认的在线协作文档;所述在线协作文档是支持多人实时同步地进行协作编辑的文档;选取群会话中参与阅读确认所述在线协作文档的群会话成员;The selection module is used to select an online collaborative document to be read and confirmed in response to the trigger operation of the initiation entry; the online collaborative document is a document that supports real-time synchronous collaborative editing by multiple people; and to select group session members in the group session who participate in reading and confirming the online collaborative document. 推送模块,用于推送目标阅读确认消息;所述目标阅读确认消息在消息接收端显示时,用于指示所述群会话成员对所述目标阅读确认消息执行打开操作,打开待阅读确认的在线协作文档,并对所述在线协作文档进行阅读确认或编辑;The push module is used to push a target reading confirmation message; when the target reading confirmation message is displayed on the message receiving end, it is used to instruct the group session member to perform an open operation on the target reading confirmation message, open the online collaborative document to be read and confirmed, and read or edit the online collaborative document. 查看模块,用于接收与所述在线协作文档对应的文档编辑消息;所述文档编辑消息是用于提示有协作者对所述在线协作文档进行编辑的消息;响应于对所述文档编辑消息的触发操作,打开所述在线协作文档;打开的所述在线协作文档中包括至少一个协作者的至少一个文档编辑内容。The viewing module is used to receive a document editing message corresponding to the online collaborative document; the document editing message is a message used to prompt that a collaborator is editing the online collaborative document; in response to the triggering operation of the document editing message, the online collaborative document is opened; the opened online collaborative document includes at least one document editing content from at least one collaborator. 20.根据权利要求19所述的装置,其特征在于,所述显示模块还用于显示群会话的社交会话页面;在所述社交会话页面中显示会话工具菜单;其中,所述会话工具菜单中包括阅读确认消息的发起入口。20. The apparatus according to claim 19, wherein the display module is further configured to display a social conversation page of a group conversation; and display a conversation tool menu on the social conversation page; wherein the conversation tool menu includes an entry point for initiating a read confirmation message. 21.根据权利要求19所述的装置,其特征在于,所述显示模块还用于显示包括历史会话消息的社交会话页面;响应于对所述历史会话消息的触发操作,显示操作选项菜单;所述操作选项菜单中包括阅读确认消息的发起入口;所述选取模块还用于响应于对所述发起入口的触发操作,将所述历史会话消息关联至的会话内容作为待阅读确认的在线协作文档。21. The apparatus according to claim 19, wherein the display module is further configured to display a social conversation page including historical conversation messages; and to display an operation option menu in response to a trigger operation on the historical conversation messages; the operation option menu includes an entry point for initiating a read confirmation message; and the selection module is further configured to, in response to a trigger operation on the entry point, use the conversation content associated with the historical conversation messages as an online collaborative document to be read and confirmed. 22.根据权利要求21所述的装置,其特征在于,所述历史会话消息为历史文档消息;所述历史会话消息关联至的会话内容为在线协作文档;所述显示模块还用于显示包括第一卡片控件的社交会话页面;所述第一卡片控件用于显示历史文档消息,并显示历史文档消息的消息类型标识;所述推送模块还用于在所述群会话的社交会话页面中显示第二卡片控件;所述第二卡片控件用于显示目标阅读确认消息,并显示目标阅读确认消息的消息类型标识。22. The apparatus according to claim 21, wherein the historical session message is a historical document message; the session content associated with the historical session message is an online collaborative document; the display module is further configured to display a social session page including a first card control; the first card control is configured to display historical document messages and display the message type identifier of the historical document messages; the push module is further configured to display a second card control on the social session page of the group session; the second card control is configured to display a target reading confirmation message and display the message type identifier of the target reading confirmation message. 23.根据权利要求19所述的装置,其特征在于,所述选取模块还用于响应于对所述发起入口的触发操作,进入阅读确认消息设置页面;基于在所述阅读确认消息设置页面触发的选择操作,确定待阅读确认的在线协作文档;基于在所述阅读确认消息设置页面触发的输入操作,确定对所述在线协作文档进行阅读确认的描述信息。23. The apparatus according to claim 19, wherein the selection module is further configured to, in response to a triggering operation on the initiating entry, enter a reading confirmation message setting page; determine an online collaborative document to be read and confirmed based on a selection operation triggered on the reading confirmation message setting page; and determine descriptive information for reading and confirming the online collaborative document based on an input operation triggered on the reading confirmation message setting page. 24.根据权利要求23所述的装置,其特征在于,所述推送模块还用于创建在所述群会话中对所述在线协作文档进行阅读确认的阅读确认任务;所述阅读确认任务的任务结构数据包括所述群会话成员和所述描述信息;接收服务器根据所述阅读确认任务生成的目标阅读确认消息;所述阅读确认任务用于指示服务器进行阅读确认的统计;在所述群会话中显示所述目标阅读确认消息;显示的所述目标阅读确认消息用于触发显示阅读确认的确认结果。24. The apparatus according to claim 23, wherein the push module is further configured to create a reading confirmation task for reading confirmation of the online collaborative document in the group session; the task structure data of the reading confirmation task includes the group session members and the description information; receive a target reading confirmation message generated by the server according to the reading confirmation task; the reading confirmation task is used to instruct the server to perform reading confirmation statistics; display the target reading confirmation message in the group session; the displayed target reading confirmation message is used to trigger the display of the reading confirmation confirmation result. 25.根据权利要求19所述的装置,其特征在于,所述推送模块还用于在所述群会话的社交会话页面中显示卡片控件;在所述卡片控件中显示目标阅读确认消息的消息内容;所述消息内容包括所述目标阅读确认消息的消息类型标识和所述在线协作文档的文档标题。25. The apparatus according to claim 19, wherein the push module is further configured to display a card control on the social conversation page of the group conversation; display the message content of the target reading confirmation message in the card control; the message content includes the message type identifier of the target reading confirmation message and the document title of the online collaborative document. 26.根据权利要求25所述的装置,其特征在于,所述查看模块还用于响应于对所述卡片控件的触发操作,打开所述在线协作文档;与所述在线协作文档同屏显示完成阅读确认的群会话成员;响应于对显示的群会话成员的触发操作,进入确认详情页面;所述确认详情页面分页显示完成阅读确认的群会话成员和未完成阅读确认的群会话成员。26. The apparatus according to claim 25, wherein the viewing module is further configured to, in response to a trigger operation on the card control, open the online collaborative document; display group session members who have completed reading confirmation on the same screen as the online collaborative document; and, in response to a trigger operation on the displayed group session members, enter a confirmation details page; the confirmation details page displays, in pages, group session members who have completed reading confirmation and group session members who have not completed reading confirmation. 27.根据权利要求19-26中任一项所述的装置,其特征在于,所述查看模块还用于接收与所述目标阅读确认消息对应的已确认通知;响应对所述已确认通知的触发操作,进入确认详情页面;所述确认详情页面分页显示完成阅读确认的群会话成员和未完成阅读确认的群会话成员。27. The apparatus according to any one of claims 19-26, wherein the viewing module is further configured to receive a confirmation notification corresponding to the target reading confirmation message; respond to a trigger operation on the confirmation notification to enter a confirmation details page; the confirmation details page displays, in pages, group session members who have completed reading confirmation and group session members who have not completed reading confirmation. 28.根据权利要求19所述的装置,其特征在于,所述显示模块还用于在社交应用页面中打开在线协作文档;开启所述在线协作文档的文档菜单;所述文档菜单中包括阅读确认消息的发起入口;所述选取模块还用于响应于对所述发起入口的触发操作,将当前打开的在线协作文档作为待阅读确认的在线协作文档;确定基于所述在线协作文档进行阅读确认的群会话。28. The apparatus according to claim 19, wherein the display module is further configured to open an online collaborative document in a social application page; open a document menu of the online collaborative document; the document menu includes an entry point for initiating a reading confirmation message; the selection module is further configured to, in response to a trigger operation on the entry point, select the currently opened online collaborative document as an online collaborative document to be read and confirmed; and determine a group session for reading confirmation based on the online collaborative document. 29.一种消息处理装置,包括:29. A message processing apparatus, comprising: 显示模块,用于显示群会话的社交会话页面;在所述社交会话页面中显示阅读确认消息;响应于对所述阅读确认消息的触发操作,显示与所述阅读确认消息对应的待阅读确认的在线协作文档;所述在线协作文档是支持多人实时同步地进行协作编辑的文档;The display module is used to display the social conversation page of the group conversation; display a read confirmation message on the social conversation page; and, in response to a trigger operation on the read confirmation message, display the online collaborative document to be read and confirmed corresponding to the read confirmation message; the online collaborative document is a document that supports real-time synchronous collaborative editing by multiple people. 确认模块,用于在满足对所述在线协作文档的确认条件时,触发向所述阅读确认消息的发送端发送已确认通知;The confirmation module is used to trigger the sending of a confirmation notification to the sender of the reading confirmation message when the confirmation conditions for the online collaborative document are met. 所述显示模块还用于接收与所述在线协作文档对应的文档编辑消息;响应于对所述文档编辑消息的触发操作,打开所述在线协作文档并定位至所述文档编辑消息所对应的文档编辑位置。The display module is also used to receive a document editing message corresponding to the online collaborative document; in response to a trigger operation on the document editing message, to open the online collaborative document and locate the document editing position corresponding to the document editing message. 30.根据权利要求29所述的装置,其特征在于,所述显示模块还用于在所述群会话的社交会话页面中显示卡片控件;在所述卡片控件中显示阅读确认消息的消息内容;所述消息内容包括所述阅读确认消息的消息类型标识、所述在线协作文档的文档标题和描述信息;响应于对所述卡片控件的触发操作,打开待阅读确认的在线协作文档。30. The apparatus according to claim 29, wherein the display module is further configured to display a card control on the social conversation page of the group conversation; display the message content of a reading confirmation message in the card control; the message content includes a message type identifier of the reading confirmation message, the document title and description information of the online collaborative document; and open the online collaborative document to be read and confirmed in response to a triggering operation on the card control. 31.根据权利要求30所述的装置,其特征在于,所述显示模块还用于通过操作系统接口调用文档应用;通过所述文档应用,根据所述卡片控件对应的文档地址打开所述在线协作文档;当所述卡片控件上显示的消息类型标识表示阅读确认类型时,则通过所述文档应用与所述在线协作文档同屏显示确认控件;所述确认控件用于触发对所述在线协作文档的确认操作。31. The apparatus according to claim 30, wherein the display module is further configured to call a document application through an operating system interface; open the online collaborative document according to the document address corresponding to the card control through the document application; when the message type identifier displayed on the card control indicates a reading confirmation type, a confirmation control is displayed on the same screen as the online collaborative document through the document application; the confirmation control is used to trigger a confirmation operation on the online collaborative document. 32.根据权利要求31所述的装置,其特征在于,所述装置还包括编辑模块,用于在打开所述在线协作文档时,与所述文档应用对应的服务器建立长连接;通过所述长连接,将通过编辑操作对所述在线协作文档的编辑内容实时更新至所述服务器;在退出所述在线协作文档时,断开所述长连接。32. The apparatus according to claim 31, wherein the apparatus further comprises an editing module, configured to establish a long connection with a server corresponding to the document application when the online collaborative document is opened; update the edited content of the online collaborative document to the server in real time through the long connection; and disconnect the long connection when exiting the online collaborative document. 33.根据权利要求30所述的装置,其特征在于,所述确认模块还用于当本地登录的用户标识是所述阅读确认消息所指向的用户标识时,与所述在线协作文档同屏显示确认控件;在产生对应所述确认控件的触发操作时,触发向所述阅读确认消息的发送端发送已确认通知;当本地登录的用户标识不是所述阅读确认消息所指向的用户标识时,与所述在线协作文档同屏显示无需确认的提示信息。33. The apparatus according to claim 30, wherein the confirmation module is further configured to: when the locally logged-in user identifier is the user identifier pointed to by the reading confirmation message, display a confirmation control on the same screen as the online collaborative document; when a trigger operation corresponding to the confirmation control is generated, trigger a confirmation notification to the sending end of the reading confirmation message; when the locally logged-in user identifier is not the user identifier pointed to by the reading confirmation message, display a prompt message indicating that no confirmation is required on the same screen as the online collaborative document. 34.根据权利要求29-33中任一项所述的装置,其特征在于,所述显示模块还用于显示会话列表页面;确定所述会话列表页面中与阅读确认消息对应的群会话列表项;在所述群会话列表项的会话摘要中显示阅读确认消息的提示信息;从所述群会话列表项进入群会话的社交会话页面。34. The apparatus according to any one of claims 29-33, wherein the display module is further configured to display a conversation list page; determine a group conversation list item in the conversation list page corresponding to the read confirmation message; display a prompt message for the read confirmation message in the conversation summary of the group conversation list item; and enter the social conversation page of the group conversation from the group conversation list item. 35.根据权利要求29-33中任一项所述的装置,其特征在于,所述装置还包括编辑模块和推送模块;所述推送模块用于打开在线协作文档;显示文档菜单;所述文档菜单中包括阅读确认消息的发起入口;响应于对所述发起入口的触发操作,将所述在线协作文档作为待阅读确认的目标文档;确定基于所述目标文档进行阅读确认的群会话;选取所述群会话中参与阅读确认所述目标文档的群会话成员;推送用于触发对所述目标文档进行阅读确认的目标阅读确认消息。35. The apparatus according to any one of claims 29-33, characterized in that the apparatus further comprises an editing module and a push module; the push module is used to open an online collaborative document; display a document menu; the document menu includes an entry point for initiating a reading confirmation message; in response to a triggering operation on the entry point, use the online collaborative document as a target document to be read and confirmed; determine a group session for reading and confirming the target document; select group session members in the group session who will participate in reading and confirming the target document; and push a target reading confirmation message to trigger reading and confirming the target document. 36.根据权利要求29所述的装置,其特征在于,所述在线协作文档为目标在线协作文档;所述显示模块还用于当本地登录的用户标识对应所述目标在线协作文档存在编辑权限时,则在所述社交会话页面中显示当前编辑所述目标在线协作文档的协作者。36. The apparatus according to claim 29, wherein the online collaborative document is a target online collaborative document; the display module is further configured to display the collaborator currently editing the target online collaborative document on the social conversation page when the locally logged-in user identifier has editing permissions for the target online collaborative document. 37.一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行如权利要求1至18中任一项所述方法的步骤。37. A computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to perform the steps of the method as claimed in any one of claims 1 to 18. 38.一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求1至18中任一项所述方法的步骤。38. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method as claimed in any one of claims 1 to 18.
HK42020013886.5A 2020-08-14 Message processing method, device, computer readable storage medium and computer apparatus HK40023653B (en)

Publications (2)

Publication Number Publication Date
HK40023653A HK40023653A (en) 2020-12-04
HK40023653B true HK40023653B (en) 2022-07-15

Family

ID=

Similar Documents

Publication Publication Date Title
CN111277487B (en) Message processing method and device, computer readable storage medium and computer equipment
US12019775B2 (en) Managing permissions for collaborative shared documents
CN112241865B (en) A method for collaborative document processing and related device
CN109918345B (en) Document processing method, device, terminal and storage medium
CN111327589B (en) Resource sharing method and device, computer readable storage medium and computer equipment
US8826375B2 (en) Rich media collaboration system
US9071615B2 (en) Shared space for communicating information
CN102362271B (en) System and method for merging edits for a conversation in a hosted conversation system
CN108370323A (en) The meeting carried out via network
US20230017859A1 (en) Meeting control method and apparatus, device, and medium
US12373756B2 (en) Contextual workflow buttons
CN103535018A (en) System and method for computer based collaboration initiated via a voice call
US9092533B1 (en) Live, real time bookmarking and sharing of presentation slides
CN116982308A (en) Update user-specific application instances based on collaboration object activities
WO2023134255A1 (en) Information insertion method and apparatus, device, medium, and computer program product
HK40023653B (en) Message processing method, device, computer readable storage medium and computer apparatus
WO2023128794A1 (en) System and method for deep message editing in a chat communication environment
HK40023653A (en) Message processing method, device, computer readable storage medium and computer apparatus
US12126582B1 (en) Sharing information via group-based communication systems using searchable messages
CN118194817A (en) Document processing method and related equipment
CN119228339A (en) Calendar processing method and related equipment
CN120973256A (en) Content processing methods and apparatus, electronic devices and storage media
CN116974997A (en) Multimedia file display methods, devices, equipment and storage media
HK40041969A (en) Method and device for creating online document
HK40023661B (en) Resource sharing method, device, computer readable storage medium and computer apparatus