Session-based document processing method and device, electronic equipment, computer readable storage medium and computer program product

By directly responding to the session synchronization instruction in the session interface and synchronizing the session content to the shared document, the problem of low synchronization efficiency in the prior art is solved and efficient session content synchronization is achieved.

CN120653722APending Publication Date: 2025-09-16TENCENT TECH WUHAN
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410298545.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-14
Publication Date
2025-09-16

AI Technical Summary

Technical Problem

In the prior art, when a user synchronizes a discussion conversation message to a shared document in a conversation group, the operation path is long, resulting in low synchronization efficiency.

Method used

A session-based document processing method is provided. By displaying session messages in the session interface and responding to session synchronization instructions triggered by target content, the session content is directly synchronized to the shared document, including setting synchronization parameters, permission control, synchronization mode and location selection.

Benefits of technology

It greatly shortens the operation path of synchronizing session content to shared documents, improves synchronization efficiency, eliminates the need for manual copying and pasting, and improves the convenience and accuracy of synchronization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120653722A_ABST
    Figure CN120653722A_ABST
Patent Text Reader

Abstract

The invention provides a session-based document processing method and device, electronic equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: displaying a session interface associated with a shared document, and displaying a session message in the session interface; in response to target content included in the session message, receiving a session synchronization instruction triggered by the target content; and in response to the session synchronization instruction, synchronizing the session content indicated to be synchronized by the session synchronization instruction to the shared document. Through the method and the device, the synchronization efficiency of synchronizing the session content to the shared document can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to mobile Internet technology, and in particular to a session-based document processing method, device, electronic device, computer-readable storage medium, and computer program product. Background Art

[0002] With the development of mobile Internet technology, shared documents are becoming more and more popular among users due to their multi-user collaboration features. For example, shared documents can be accessed, created, edited, and collaborated with others anytime and anywhere.

[0003] In actual applications, users often need to transfer, discuss and edit shared documents in a conversation group. For example, when discussing in a conversation group in the form of conversation messages, when the conversation messages need to be synchronized to the shared document, the user needs to manually select and copy the conversation messages, open the shared document, and paste the copied conversation messages into the open shared document. However, this synchronization method requires a long operation path and has the problem of low synchronization efficiency. Summary of the Invention

[0004] Embodiments of the present application provide a session-based document processing method, apparatus, electronic device, computer-readable storage medium, and computer program product, which can synchronize session content to shared documents with high synchronization efficiency.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] This embodiment of the present application provides a session-based document processing method, including:

[0007] Displaying a conversation interface associated with the shared document, and displaying conversation messages in the conversation interface;

[0008] In response to the session message including the target content, receiving a session synchronization instruction triggered by the target content;

[0009] In response to the session synchronization instruction, the session content instructed to be synchronized by the session synchronization instruction is synchronized into the shared document.

[0010] The present invention provides a session-based document processing device, including:

[0011] A conversation display module, configured to display a conversation interface associated with a shared document and to display conversation messages in the conversation interface;

[0012] an instruction receiving module, configured to receive a session synchronization instruction triggered by the target content in response to the session message including the target content;

[0013] The session synchronization module is configured to synchronize the session content indicated by the session synchronization instruction to the shared document in response to the session synchronization instruction.

[0014] In the above scheme, before displaying the conversation interface associated with the shared document, the device also includes: an association module, which is used to display a document association entrance in the conversation interface; in response to a trigger operation on the document association entrance, display a document association setting interface; in response to a document selection operation triggered based on the document association setting interface, determine the shared document selected by the document selection operation; in response to the document association operation on the shared document, establish an association relationship between the shared document and the conversation interface.

[0015] In the above scheme, the device also includes: a parameter setting module, which displays a parameter setting entrance in the document association setting interface by voice; in response to a parameter setting operation triggered based on the parameter setting entrance, determines the synchronization parameters corresponding to the parameter setting operation; wherein, the synchronization parameters include at least one of the following: synchronization content, synchronization keywords, synchronization permissions, synchronization mode, synchronization position, and synchronization valid time period.

[0016] In the above solution, the instruction receiving module is further configured to obtain a session object associated with the target content; and in response to the session object having synchronization authority for the shared document, receive a session synchronization instruction triggered by the target content.

[0017] In the above scheme, the instruction receiving module is also used to display application guidance information in response to the session object not having the synchronization permission of the shared document, and the application guidance information is used to guide the session object to apply for the synchronization permission of the shared document; in response to the application synchronization operation triggered based on the application guidance information, send an application synchronization request to the terminal corresponding to the target object, and the target object is the session object that establishes the association relationship between the shared document and the session interface; when the target object receives the permission operation for the application synchronization request, the session synchronization instruction triggered by the target content is received.

[0018] In the above solution, the instruction receiving module is further configured to obtain a session time corresponding to the target content; and in response to the session time being within a synchronization valid time period, receive a session synchronization instruction triggered by the target content.

[0019] In the above scheme, the instruction receiving module is also used to display synchronization prompt information corresponding to the target content, wherein the synchronization prompt information is used to prompt the synchronization of the session content associated with the target content; in response to the synchronization confirmation operation triggered based on the synchronization prompt information, the session synchronization instruction triggered by the target content is received.

[0020] In the above scheme, the instruction receiving module is also used to display an editing control corresponding to the target content, wherein the editing control is used to edit the session content associated with the target content; in response to a content editing operation triggered by the editing control, the target content obtained by editing the session content associated with the target content is displayed; in response to a determination operation on the target content, a session synchronization instruction triggered by the target content is received, and the target content is used as the session content to be synchronized as indicated by the session synchronization instruction.

[0021] In the above scheme, the instruction receiving module is also used to display document options corresponding to each shared document in response to the number of shared documents associated with the session interface being at least two; in response to the selection operation for the target document option, receive the session synchronization instruction triggered by the target content, and use the shared document corresponding to the target document option as the shared document to be synchronized as indicated by the session synchronization instruction.

[0022] In the above scheme, the session synchronization module is also used to synchronize the session content indicated by the session synchronization instruction to the target shared document in response to the number of shared documents associated with the session interface being at least two; wherein the synchronization priority of the target shared document is higher than the synchronization priority of other shared documents among the at least two shared documents except the target shared document.

[0023] In the above scheme, the session synchronization module is also used to synchronize the session content indicated by the session synchronization instruction to the target position in the shared document in response to the synchronization mode of the shared document being a supplementary mode; wherein the target position is the location of the newly created message block in the shared document, or the idle position in the target message block of the shared document.

[0024] In the above scheme, before synchronizing the session content indicated by the session synchronization instruction to the target position in the shared document, the device also includes: a position determination module, which is used to display a link copy entrance corresponding to the target message block in response to a synchronization position setting operation for the target message block in the shared document; copy the web page link of the target message block in response to a trigger operation for the link copy entrance; and use the idle position in the target message block of the shared document as the target position to be synchronized in response to a paste operation for the web page link.

[0025] In the above solution, the session synchronization module is further used to synchronize the session content indicated by the session synchronization instruction to the target location in the shared document in response to the synchronization mode of the shared document being a replacement mode, so as to replace the document content at the target location.

[0026] In the above scheme, the session synchronization module is also used to synchronize the session content indicated by the session synchronization instruction to the shared document in a target format; wherein, the target format is adapted to the session content, and the target format includes at least one of the following: text format, table format, picture format, audio and video format.

[0027] In the above scheme, the session synchronization module is also used to synchronize the relevant information of the session content to the shared document during the process of synchronizing the session content indicated by the session synchronization instruction to the shared document; wherein the relevant information includes at least one of the following: the session identifier corresponding to the session interface, the synchronization object of the session content, and the synchronization time of the session content.

[0028] In the above scheme, after synchronizing the conversation content indicated by the conversation synchronization instruction to the shared document, the device also includes: a mark display module, which is used to display a synchronization mark at the associated position of the conversation message; wherein, the synchronization mark is used to indicate that the conversation message has been synchronized to the shared document.

[0029] In the above scheme, after synchronizing the session content indicated by the session synchronization instruction to the shared document, the device also includes: an interface jump module, which is used to display a document viewing entrance in the session interface; in response to a trigger operation on the document viewing entrance, the session interface jumps to the document interface of the shared document, and displays the session content in the document interface.

[0030] An embodiment of the present application provides an electronic device, including:

[0031] a memory for storing computer-executable instructions or computer programs;

[0032] The processor is configured to implement the session-based document processing method provided in the embodiment of the present application when executing the computer-executable instructions or computer program stored in the memory.

[0033] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions or a computer program for implementing the session-based document processing method provided in an embodiment of the present application when executed by a processor.

[0034] An embodiment of the present application provides a computer program product, including a computer program or computer-executable instructions. When the computer program or computer-executable instructions are executed by a processor, the session-based document processing method provided in the embodiment of the present application is implemented.

[0035] The embodiments of the present application have the following beneficial effects:

[0036] By applying the embodiments of the present application, during a conversation in a conversation interface, when the target content exists in the conversation message, a corresponding conversation synchronization instruction will be triggered. The terminal will respond to the conversation synchronization instruction and can directly synchronize the conversation content indicated by the conversation synchronization instruction to the shared document. There is no need to manually copy the conversation content to be synchronized, nor to open the shared document, and there is no need to manually paste the copied conversation content into the shared document. This greatly shortens the operation path of synchronizing the conversation content to the shared document during the conversation and improves the synchronization efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 1 is a schematic diagram of the architecture of a session-based document processing system 100 provided in an embodiment of the present application;

[0038] Figure 2 is a structural diagram of an electronic device 500 provided in an embodiment of the present application;

[0039] Figure 3 This is a flow chart of a session-based document processing method provided in an embodiment of the present application;

[0040] Figure 4 This is a diagram of the session synchronization setting interface provided by an embodiment of the present application;

[0041] Figure 5 This is a schematic diagram of the display of the synchronous application guide provided in the embodiment of the present application;

[0042] Figure 6 This is a schematic diagram of displaying synchronization prompt information provided by an embodiment of the present application;

[0043] Figure 7 This is a diagram of session editing synchronization provided by an embodiment of the present application;

[0044] Figure 8 This is a schematic diagram of selecting synchronization documents provided by an embodiment of the present application;

[0045] Figure 9A-9B This is a schematic diagram of synchronization of the conversation content in an embodiment of the present application;

[0046] Figures 10A-10B This is a schematic diagram of synchronization of the conversation content in an embodiment of the present application;

[0047] Figure 11 This is a schematic diagram of the synchronization position setting provided by an embodiment of the present application;

[0048] Figure 12 Schematic diagram of displaying a shared document provided in an embodiment of the present application;

[0049] Figure 13This is a schematic diagram of the display of the synchronization mark provided in an embodiment of the present application;

[0050] Figure 14 This is a document viewing diagram provided by an embodiment of the present application;

[0051] Figure 15 This is a document association diagram provided by an embodiment of the present application;

[0052] Figure 16 This is a schematic diagram of document association prompts provided in an embodiment of the present application;

[0053] Figure 17 This is a schematic diagram of a link for transferring messages provided in an embodiment of the present application;

[0054] Figure 18 This is a schematic diagram of the data structure provided in the embodiment of the present application. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solutions and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limiting this application. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0056] It is understandable that in the embodiments of the present application, when data related to user information (such as user conversation messages, user name, telephone number, etc.) is involved, when the embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0057] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0058] In the following description, the terms "first\second..." are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first\second..." can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0059] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program that has a predetermined function and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.

[0060] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.

[0061] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0062] 1) Client: An application running in a terminal to provide various services, such as a video player client, a game client, etc.

[0063] 2) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed can be real-time or have a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed are executed.

[0064] 3) Shared documents, also known as smart documents, are documents that can be edited online by users, collaborated on by multiple users, and saved in real time in the cloud. Documents are displayed through Hypertext Markup Language (HTML) pages and rely on communication between the client and the server to synchronize user edits. Shared documents can be online word documents, online spreadsheet documents, online slide documents, online drawing documents, etc.

[0065] The embodiments of the present application provide a session-based document processing method, apparatus, electronic device, computer-readable storage medium, and computer program product, which can improve the synchronization efficiency of synchronizing session content to shared documents. The following describes exemplary applications of the electronic device provided by the embodiments of the present application. The electronic device provided by the embodiments of the present application can be implemented as various types of user terminals such as laptops, tablet computers, desktop computers, set-top boxes, mobile devices (e.g., mobile phones, portable music players, personal digital assistants, dedicated messaging devices, portable gaming devices), smart phones, smart speakers, smart watches, smart TVs, and vehicle-mounted terminals, and can also be implemented as servers. Below, an exemplary application when the electronic device is implemented as a terminal will be described.

[0066] See also Figure 1 , Figure 1 This is an architectural diagram of a session-based document processing system 100 provided in an embodiment of the present application. To support an exemplary application, terminals (terminal 400-1 and terminal 400-2 are shown as examples) are connected to a server 200 via a network 300. The network 300 may be a wide area network or a local area network, or a combination of the two.

[0067] In some embodiments, the server 200 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. The terminal 400 can be a smart phone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, car terminal, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.

[0068] In actual applications, a client is provided on the terminal, such as an instant messaging client, a reading client, and an online document client. When a user opens a client on the terminal to conduct a conversation, the terminal displays a conversation interface associated with a shared document, displays conversation messages in the conversation interface, and sends the conversation messages to the server 200 in real time; the server 200 determines whether there is target content in the conversation message that can trigger a conversation synchronization instruction, and when it is determined that there is target content in the conversation message that can trigger a conversation synchronization instruction, the judgment result is returned to the terminal; the terminal receives the conversation synchronization instruction triggered by the target content, and in response to the conversation synchronization instruction, synchronizes the conversation content indicated by the conversation synchronization instruction to the shared document.

[0069] See also Figure 2 , Figure 2 This is a structural diagram of an electronic device 500 provided in an embodiment of the present application, with the electronic device 500 as an example. Figure 1 For example, Figure 2 The electronic device 500 shown includes: at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together via a bus system 540. It is understood that the bus system 540 is used to achieve connection and communication between these components. In addition to including a data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 540 is not shown in FIG. Figure 2 Various buses are labeled as bus system 540 .

[0070] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0071] The memory 550 includes a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 550 described in the embodiments of the present application is intended to include any suitable type of memory. The memory 550 may optionally include one or more storage devices physically remote from the processor 510.

[0072] In some embodiments, the memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplified below.

[0073] The operating system 551 includes system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic businesses and process hardware-based tasks; the network communication module 552 is used to reach other electronic devices via one or more (wired or wireless) network interfaces 520. Exemplary network interfaces 520 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB), etc.

[0074] In some embodiments, the session-based document processing device provided in the embodiments of the present application can be implemented in software. The session-based document processing device provided in the embodiments of the present application can be provided as various software embodiments, including various forms including applications, software, software modules, scripts or codes. Figure 2 A session-based document processing device 555 stored in the memory 550 is shown, which can be software in the form of programs and plug-ins, and includes a series of modules, including a session display module 5551, an instruction receiving module 5552 and a session synchronization module 5553. These modules are logical, and therefore can be arbitrarily combined or further split according to the functions implemented. The functions of each module will be explained below.

[0075] In other embodiments, the apparatus provided in the embodiments of the present application may be implemented in hardware. As an example, the apparatus provided in the embodiments of the present application may be a processor in the form of a hardware decoding processor, which is programmed to execute the session-based document processing method provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor may be one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.

[0076] In some embodiments, the terminal or server can implement the session-based document processing method provided by the embodiment of the present application by running various computer-executable instructions or computer programs. For example, computer-executable instructions can be microprogram-level commands, machine instructions or software instructions. The computer program can be a native program or software module in the operating system; it can be a local (Native) application (APPlication, APP), that is, a program that needs to be installed in the operating system to run, such as an instant messaging APP; it can also be a small program that can be embedded in any APP, that is, a program that can be run only by downloading it to a browser environment. In short, the above-mentioned computer-executable instructions can be instructions in any form, and the above-mentioned computer program can be an application, module or plug-in in any form.

[0077] As mentioned above, the session-based document processing method provided in the embodiment of the present application can be implemented by various types of electronic devices, for example, Figure 1 The terminal in the command prompt can also be executed separately by Figure 1 The terminal and server 200 in the embodiment cooperate to execute. Figure 1 The terminal in the embodiment of the present application independently executes the session-based document processing method as an example. Figure 3 , Figure 3 This is a flow chart of the session-based document processing method provided by the embodiment of the present application, which will be combined with Figure 3 The steps shown are explained.

[0078] Step 101: The terminal displays a conversation interface associated with a shared document, and displays conversation messages in the conversation interface.

[0079] In actual applications, when conversation objects conduct conversations through a client configured on a terminal, conversation messages of the conversation objects may be displayed in a conversation interface, wherein the forms of the conversation messages include but are not limited to text, emoticons, pictures, audio and video.

[0080] In some embodiments, before displaying a session interface associated with a shared document, the terminal may establish an association relationship between the shared document and the session interface in the following manner: displaying a document association entry in the session interface; displaying a document association setting interface in response to a trigger operation on the document association entry; determining the shared document selected by the document selection operation in response to a document selection operation triggered based on the document association setting interface; and establishing an association relationship between the shared document and the session interface in response to the document association operation on the shared document.

[0081] In actual applications, the session object can create an association relationship between the session interface and the shared document (i.e., bind the session interface and the shared document) during the session in the session interface or before the session. When creating the association relationship, the document association entry in the session interface can be used to call up the document association setting interface, and the shared document to be associated can be selected through the document association setting interface. After selecting the shared document, the document association operation can be triggered by triggering the confirmation button (or association button) to establish an association relationship between the shared document and the session interface.

[0082] It should be noted that, when the session interface is already associated with a shared document, the associated shared document can be directly used as the shared document to be synchronized in this session interface.

[0083] In some embodiments, the terminal may display a parameter setting entry in the document association setting interface; in response to a parameter setting operation triggered based on the parameter setting entry, determine the synchronization parameters corresponding to the parameter setting operation; wherein the synchronization parameters include at least one of the following: synchronization content, synchronization keywords, synchronization permissions, synchronization mode, synchronization location, and synchronization valid time period.

[0084] In actual applications, users can also set the synchronization parameters related to synchronizing the conversation messages in the conversation interface to the shared document in the document association setting interface, for example, see Figure 4 , Figure 4 401 is a diagram of a session synchronization setting interface provided by an embodiment of the present application, wherein a document association entry 401 is displayed on the toolbar of the session interface, and the terminal displays a document association setting interface 402 in response to a trigger operation on the document association entry 401, and displays a document selection entry and a parameter setting entry for selecting a shared document to be associated in the document association setting interface 402, such as selecting a shared document to be associated through the document selection entry 403; setting the synchronization content through the synchronization content entry 404, such as setting the session message as the content to be synchronized or setting the session message of a specific session object as the content to be synchronized, and setting the synchronizable parameters (such as the message sender, the sending / updating time, the session group name, etc.); setting the keyword setting entry 405 to trigger the session synchronization The target content of the instruction is set; the session object with synchronization permission is set through the synchronization permission entry 406 (such as selecting the target session object from the session objects participating in the session in the session interface, the target session object is the session object with synchronization permission); the synchronization mode of the session content is set through the synchronization mode entry 407, wherein the synchronization mode includes the supplement mode and the replacement mode; the synchronization position to be synchronized to the shared document is set through the synchronization position 408; in addition, the synchronization effective time can also be set through the synchronization effective time entry 409, such as setting the session messages within the synchronization effective time period (target time period) to be synchronized to the shared document, and the session messages that are less than or exceed the effective time period will not be able to be synchronized to the shared document.

[0085] Step 102: In response to the session message including the target content, a session synchronization instruction triggered by the target content is received.

[0086] The target content is pre-set related content that can trigger a conversation synchronization instruction. The type of the target content includes but is not limited to at least one of the following: text (or keywords), symbol elements, and emoticon elements. When the conversation message type is text and the target content type is also text, the target content can be keywords extracted from the conversation message. When the conversation message type is voice, the target content can also be keywords in the converted text obtained by voice conversion of the voice-based conversation message. When the target content type is a symbol element, the symbol element refers to a symbol that can be input or copied and pasted in the conversation message, such as mathematical symbols, unit symbols, punctuation marks, spacer symbols (such as #, &, *, etc.) or directional symbols (such as @), etc. When the target content type is an emoticon element, the emoticon element refers to an emoticon (i.e., "emoji") emoticon.

[0087] In actual applications, target content that can trigger a session synchronization instruction can be preset. In this way, during a session, when target content that can trigger a session synchronization instruction exists in a session message, the corresponding session synchronization instruction can be triggered.

[0088] In some embodiments, the terminal may receive the session synchronization instruction triggered by the target content in the following manner: obtaining a session object associated with the target content; and receiving the session synchronization instruction triggered by the target content in response to the session object having synchronization authority for the shared document.

[0089] In actual applications, when the conversation message contains target content, the terminal automatically obtains the conversation object associated with the target content (i.e., the conversation object that sends the target content in the conversation interface), and compares the obtained conversation object associated with the target content with the pre-set conversation object with synchronization permission (such as comparing whether the conversation accounts of the two are consistent). When the conversation object associated with the target content is consistent with the pre-set conversation object with synchronization permission, it is determined that the conversation object associated with the target content has the synchronization permission for the shared document. At this time, the corresponding session synchronization instruction is automatically triggered, that is, the terminal automatically receives the session synchronization instruction triggered by the target content.

[0090] In some embodiments, the terminal may receive a session synchronization instruction triggered by the target content in the following manner: in response to the session object not having synchronization permission for the shared document, displaying application guidance information, the application guidance information is used to guide the session object to apply for synchronization permission for the shared document; in response to an application synchronization operation triggered based on the application guidance information, sending an application synchronization request to the terminal corresponding to the target object; when receiving an allow operation from the target object for the application synchronization request, receiving a session synchronization instruction triggered by the target content.

[0091] In actual applications, when the session object associated with the target content is inconsistent with the pre-set session object with synchronization permission, it is determined that the session object associated with the target content does not have the synchronization permission for the shared document. In this case, an application guidance message may pop up in the session interface to prompt the session object that does not have the synchronization permission for the shared document, and guide the session object to apply for synchronization permission. When the session object applies to trigger the synchronization operation according to the application guidance information, the terminal responds to the synchronization operation and sends a synchronization request to the terminal corresponding to the target object. The target object is the session object that establishes the association relationship between the shared document and the session interface, or is the administrator of the shared document. When the target object allows the session object to synchronize the session message to the shared document, the target content will trigger the corresponding session synchronization instruction.

[0092] See also Figure 5 , Figure 5 This is a display diagram of the synchronization application guidance provided by an embodiment of the present application. For example, if the session message sent by the session object of the current terminal includes the target content (such as meeting minutes), if the session object does not have synchronization authority, an application guidance information 501 such as "You can apply for synchronization authority" may pop up in the session interface. The "Go to apply" in the application guidance information 501 is an application entry in an operable state. If the session object clicks on the application entry (i.e., "Go to apply" in the application guidance information 501), the terminal sends an application synchronization request to the terminal corresponding to the target object, and upon receiving the target object's permission for the application synchronization request, the corresponding session synchronization instruction is triggered. In this way, during the session, the user can apply for synchronization authority according to actual needs, which improves the flexibility and applicability of the synchronization authority setting.

[0093] In some embodiments, the terminal may receive the session synchronization instruction triggered by the target content in the following manner: obtaining the session time corresponding to the target content; and receiving the session synchronization instruction triggered by the target content in response to the session time being within the synchronization validity period.

[0094] In actual applications, when setting the relevant parameters for synchronizing the session content to the shared document, the synchronization validity period can be set, that is, the session time corresponding to the target content (that is, the time when the session message containing the target content is sent) is within the synchronization validity period. The corresponding session synchronization instruction can be triggered to synchronize the corresponding session content to the shared document. The target content sent outside the synchronization validity period cannot trigger the session synchronization instruction. This can avoid synchronization failure of session messages and thus improve the effectiveness of synchronization.

[0095] In some embodiments, the terminal may receive a session synchronization instruction triggered by the target content in the following manner: displaying synchronization prompt information corresponding to the target content, wherein the synchronization prompt information is used to prompt the synchronization of the session content associated with the target content; and receiving a session synchronization instruction triggered by the target content in response to a synchronization determination operation triggered based on the synchronization prompt information.

[0096] See also Figure 6 , Figure 6 This is a display diagram of the synchronization prompt information provided in an embodiment of the present application. In actual applications, when the conversation message contains target content (such as meeting minutes) 601, the terminal can pop up a synchronization prompt information (such as whether the meeting minutes can be synchronized to the shared document, do you want to synchronize?) 602 in the conversation interface to prompt the user to synchronize the conversation content associated with the target content. When the user triggers the synchronization confirmation operation (such as clicking on the synchronization prompt information, or clicking on the confirmation button associated with the synchronization prompt information), the terminal receives the corresponding conversation synchronization instruction, and in response to the conversation synchronization instruction, synchronizes the corresponding conversation content to the shared document. In this way, through the prompt and confirmation of the synchronization prompt information, the pertinence and accuracy of the synchronized content can be improved.

[0097] It should be noted that, in actual applications, the above-mentioned synchronization prompt information may be displayed on the premise that the terminal determines that the session object associated with the target content has the synchronization permission to share the document. In this case, when the session object associated with the target content triggers the synchronization confirmation operation, the terminal directly receives the corresponding session synchronization instruction; in addition, the above-mentioned synchronization prompt information may be displayed on the premise that the terminal has not determined whether the session object associated with the target content has the synchronization permission to share the document. In this case, when the session object associated with the target content triggers the synchronization confirmation operation, the terminal compares the session object associated with the target content with the pre-set session object with synchronization permission (such as comparing whether the session accounts of the two are consistent). When the session object associated with the target content is consistent with the pre-set session object with synchronization permission, it is determined that the session object associated with the target content has the synchronization permission to share the document. Limited, in this case, the corresponding session synchronization instruction is triggered, that is, the terminal receives the session synchronization instruction triggered by the target content; when the session object associated with the target content is inconsistent with the pre-set session object with synchronization permission, it is determined that the session object associated with the target content does not have the synchronization permission for the shared document. In this case, an application guidance information can be popped up in the session interface to prompt the session object that does not have the synchronization permission for the shared document, and guide the session object to apply for synchronization permission. When the session object applies to trigger the application synchronization operation according to the application guidance information, the terminal responds to the application synchronization operation and sends an application synchronization request to the terminal corresponding to the target object. When the target object allows the session object to synchronize the session message to the shared document, the terminal receives the session synchronization instruction triggered by the target content. This not only improves the pertinence and accuracy of the synchronized content, but also improves the security of the shared document.

[0098] In some embodiments, the terminal may receive a session synchronization instruction triggered by the target content in the following manner: displaying an editing control corresponding to the target content, wherein the editing control is used to edit the session content associated with the target content; in response to a content editing operation triggered by the editing control, displaying the target content obtained by editing the session content associated with the target content; in response to a determination operation on the target content, receiving the session synchronization instruction triggered by the target content, and using the target content as the session content to be synchronized as indicated by the session synchronization instruction.

[0099] See also Figure 7 , Figure 7This is a diagram of session editing synchronization provided by an embodiment of the present application. In actual applications, when a session message contains target content 701 that can trigger a session synchronization instruction, in addition to displaying synchronization prompt information (such as extracting the key points of the session and synchronizing them to the shared document) 702, an editing control (such as going to edit) 703 corresponding to the target content can also be displayed in the session interface. The session content associated with the target content can be edited through the editing control. For example, in response to a content editing operation triggered by the editing control, the target content obtained by editing the session content associated with the target content is displayed. When performing a content editing operation, The conversation content associated with the target content (i.e., the original conversation content) is displayed in the editing interface for the user's reference when editing. Part of the conversation content associated with the target content can also be controlled to be in a selectable state (such as being selectable). When the user selects the part of the content in the selectable state, the selected part of the content is used as the edited target content. In addition, the terminal can also automatically extract key content (such as extracting key points) from the conversation content associated with the target content, and use the extracted key content as the edited target content; in this way, by synchronizing the conversation content associated with the target content after editing, the refinement of the synchronized content can be improved.

[0100] In some embodiments, the terminal may receive a session synchronization instruction triggered by the target content in the following manner: in response to the number of shared documents associated with the session interface being at least two, displaying document options corresponding to each shared document; in response to a selection operation for a target document option, receiving a session synchronization instruction triggered by the target content, and using the shared document corresponding to the target document option as the shared document to be synchronized as indicated by the session synchronization instruction.

[0101] In actual applications, if the current session interface is associated with multiple shared documents and the session message contains target content that can trigger a session synchronization instruction, the terminal can display relevant prompts for document options synchronized to each shared document at the relevant position of the target content in the session interface. When the user selects the target document option, the terminal can receive a session synchronization instruction to synchronize the session content to the shared document corresponding to the target document option.

[0102] See also Figure 8 , Figure 8This is a schematic diagram of the selection of synchronized documents provided in an embodiment of the present application. When the session message contains target content 801 that can trigger a session synchronization instruction, and there are multiple shared documents that are compatible with the session content associated with the target content 801, a document option prompt corresponding to each shared document can be displayed at the relevant position of the target content, such as synchronizing to shared document 1 (document option corresponding to shared document 1) 802, synchronizing to shared document 2 (document option corresponding to shared document 2) 803. When the user selects the target document option (such as synchronizing to shared document 2), the terminal responds to the selection operation and receives a session synchronization instruction. The session synchronization instruction is used to instruct the session content associated with the target content to be synchronized to the shared document (i.e., shared document 2) corresponding to the target document option (such as synchronizing to shared document 2); in this way, the user can select the shared document to be synchronized according to actual needs, which improves the convenience and pertinence of the synchronization.

[0103] Step 103: In response to the session synchronization instruction, synchronize the session content indicated by the session synchronization instruction into the shared document.

[0104] In actual applications, when the terminal receives a session synchronization instruction triggered by target content, it can synchronize the session content indicated by the synchronization instruction to the shared document, so as to display the synchronized session content in the document interface of the shared document.

[0105] In some embodiments, the terminal can synchronize the session content indicated by the session synchronization instruction to the shared document in the following manner: in response to the number of shared documents associated with the session interface being at least two, synchronize the session content indicated by the session synchronization instruction to the target shared document; wherein, the synchronization priority of the target shared document is higher than the synchronization priority of other shared documents in the at least two shared documents except the target shared document.

[0106] In actual applications, when a conversation interface is associated with multiple shared documents, the synchronization priorities corresponding to different shared documents may be different, wherein the synchronization priority of a shared document is related to the compatibility between the shared document and the conversation content associated with the keyword (i.e., the target content in the conversation message). The higher the compatibility between the shared document and the conversation content associated with the keyword, the higher the synchronization priority of the corresponding shared document. In the case where the synchronization priorities of various shared documents are different, the terminal can automatically select the target shared document with the highest synchronization priority in response to the conversation synchronization instruction, and synchronize the conversation content indicated by the conversation synchronization instruction to the target shared document. In this way, the terminal can automatically synchronize the conversation content to the most suitable shared document without the need for user selection, thereby improving the intelligence of synchronizing the conversation content to the shared document.

[0107] In some embodiments, the terminal may synchronize the session content indicated by the session synchronization instruction to the shared document in the following manner: in response to the synchronization mode of the shared document being a supplementary mode, the terminal synchronizes the session content indicated by the session synchronization instruction to the target position in the shared document; wherein the target position is the location of the newly created message block in the shared document, or is an idle position in the target message block of the shared document.

[0108] In actual applications, when the synchronization mode of a shared document is set to supplementary mode, the session content synchronized by the session synchronization instruction can be used as a supplement to the original content in the shared document and added to the target location in the shared document. For example, taking the shared document type as an online word document as an example, see Figure 9A-9B , Figure 9A-9B This is a schematic diagram of the synchronization of the session content of an embodiment of the present application. When the terminal receives a session synchronization instruction triggered by the target content (such as meeting minutes), Figure 9A In the example, the terminal creates a new message block 901 in the shared document and adds the session content 900 synchronized as indicated by the session synchronization instruction to the new message block 901; Figure 9B In the example, when there is an existing message block (ie, target message block) 902 in the shared document, the terminal adds the session content (ie, new synchronization content) synchronized as indicated by the session synchronization instruction to the end of the existing content of the target message block 902.

[0109] Next, we take the shared document type as an online spreadsheet document as an example. Figure 10A , Figure 10AThis is a schematic diagram of synchronization of session content provided in an embodiment of the present application. Assuming that the shared document is an online spreadsheet document for statistical employee information (such as name, gender, graduation school, and telephone number), when the terminal receives a session synchronization instruction triggered by the target content (such as statistical employee information), the session content (such as Zhang San, male, xx University, 158xxxx1011) 1001 indicated by the session synchronization instruction is synchronized to the corresponding position in the online spreadsheet document. For example, the above-mentioned session content is synchronized to the free table 1002 in the third row of the online spreadsheet document in a supplementary manner, that is, "Zhang San" is synchronized to the table titled "Name" in the third row, and "Male" is synchronized to the table titled "Gender" in the third row. And so on, all the contents of the session content 1001 are synchronized to the corresponding tables in the online spreadsheet. It can be understood that when the conversation message includes relevant content for specifying synchronization permissions (for example, if the conversation message includes "@everyone", then everyone in the conversation interface can have synchronization permissions), when the conversation object with synchronization permissions in the conversation interface subsequently publishes a conversation message in the format of "name, gender, graduation school, telephone number" required by the online spreadsheet document, the content corresponding to "name, gender, graduation school, telephone number" in the conversation message published by the conversation object can be automatically synchronized to the online spreadsheet document; in this way, the conversation content in the conversation message can be quickly synchronized to the online spreadsheet document without opening the online spreadsheet document, thereby improving synchronization efficiency.

[0110] Next, we take the shared document type as an online slide document (i.e. online PPT) as an example. Figure 10B , Figure 10B This is a synchronization diagram of the session content provided in an embodiment of the present application. Assuming that the shared document is an online PPT for project discussion, when the session information in the session interface includes target content (such as project discussion) 1003, when the terminal receives a session synchronization instruction triggered by the target content (such as project discussion), the session content 1003 indicated by the session synchronization instruction is synchronized to the corresponding position in the online PPT, such as performing semantic recognition on the session content 1003, determining the target page that matches the recognized semantics (such as page 3 of the online PPT), and synchronizing the session content 1003 to the target position 1004 in the target page (i.e., page 3 of the online PPT).

[0111] Among them, the target position can be any idle position in the target page, or it can be an idle position associated with the existing content in the target page (that is, an idle position in the target message block where the existing content is located, such as synchronizing the session content 1003 to the idle position around the existing content associated with the session content 1003 in the target page, which can improve the fit between the newly synchronized content and the existing content); of course, the target position can also be a pre-set fixed position (such as an edge position such as the left area or the bottom area of ​​the target page, that is, a new message block is created at a pre-set fixed position, and the session synchronization 1003 is synchronized to the newly created message block); in addition, the target position can also be the location of a sub-page or floating window independent of the target page, that is, the newly synchronized session content 1003 is displayed in a sub-page or floating window independent of the target page, avoiding interference with the existing content in the target page; in this way, the session content in the session message can be quickly synchronized to the online PPT without opening the online PPT, thereby improving synchronization efficiency.

[0112] In addition, after synchronizing the conversation content 1003 to the target location in the target page of the online PPT, the user can also adjust the specific location where the conversation content 1003 is displayed in the online PPT according to actual needs.

[0113] In some embodiments, before the terminal synchronizes the session content indicated by the session synchronization instruction to the target location in the shared document, the synchronization location can be set in the following manner: in response to the synchronization position setting operation for the target message block in the shared document, the link copy entry corresponding to the target message block is displayed; in response to the triggering operation for the link copy entry, the web link of the target message block is copied; in response to the pasting operation for the web link, the idle position in the target message block of the shared document is used as the target location to be synchronized.

[0114] See also Figure 11 , Figure 11 This is a schematic diagram of the setting of the synchronization position provided in an embodiment of the present application. When the user triggers the target message block in the shared document, the terminal responds to the trigger operation and displays the link copy entrance corresponding to the target message block. When the user triggers the link copy entrance, the terminal responds to the trigger operation and copies the web link of the target content block. The user can paste the copied web link in the synchronization position setting area of ​​the document association setting interface to synchronize the session content that meets the synchronization requirements in the session interface to a specific location in the shared document.

[0115] In some embodiments, the terminal may synchronize the session content indicated by the session synchronization instruction to the shared document in the following manner: in response to the synchronization mode of the shared document being a replacement mode, synchronize the session content indicated by the session synchronization instruction to the target location in the shared document to replace the document content at the target location.

[0116] In actual application, when the terminal receives a session synchronization instruction, if the synchronization mode of the shared document is set to replacement mode, the session content indicated by the session synchronization instruction is synchronized to the target location in the shared document, replacing the original document content at the target location in the shared document.

[0117] In some embodiments, the terminal can synchronize the session content indicated by the session synchronization instruction to the shared document in the following manner: synchronize the session content indicated by the session synchronization instruction to the shared document in a target format; wherein the target format is adapted to the session content, and the target format includes at least one of the following: text format, table format, picture format, audio and video format.

[0118] In actual applications, when synchronizing the session content indicated by the session synchronization instruction to a shared document, the session content is synchronized to the shared document in a target format that is compatible with the session content, so that the synchronized session content is displayed in the shared document in the target format. The target format can be the format initially set by the user, or it can be the format that is automatically identified by the terminal according to the session content to be synchronized as indicated by the session synchronization instruction and is compatible with the session content to be synchronized.

[0119] For example, when the conversation content indicated by the conversation synchronization instruction is a picture, the conversation content to be synchronized is synchronized to the shared document in picture format to display the conversation content in picture format in the shared document. For another example, the conversation content indicated by the conversation synchronization instruction is a weekly plan in text format. The terminal identifies the weekly plan in text format and obtains that the format suitable for the weekly plan is a table. The conversation content (weekly plan) is synchronized to the shared document in table format to display the conversation content "weekly plan" in table format in the shared document. In this way, the adaptability and readability of the conversation content in the shared document can be improved.

[0120] In addition, in actual applications, a format selection entrance can also be provided, through which users can select the synchronization format for synchronizing the session content. For example, when the terminal receives a session synchronization instruction, it displays a variety of synchronization formats available for selection, such as text format, table format, and picture format. When the user selects a target format (such as a table format), the terminal responds to the selection operation and synchronizes the session content indicated by the session synchronization instruction to the shared document in the target format (i.e., table format), and displays the synchronized session content in the target format (i.e., table format) in the shared document. In this way, users can select the required synchronization format for synchronization according to actual needs, which can improve the adaptability and readability of the session content in the shared document.

[0121] In some embodiments, when the terminal synchronizes the session content indicated by the session synchronization instruction to the shared document, the terminal may synchronize relevant information of the session content to the shared document; wherein the relevant information includes at least one of the following: the session identifier corresponding to the session interface, the synchronization object of the session content, and the synchronization time of the session content.

[0122] In actual applications, the terminal synchronizes the session content indicated by the session synchronization instruction to the shared document, and also synchronizes related information related to the session content to the shared document, so as to display a synchronization identifier indicating related information at an associated position of the synchronized session content in the shared document, such as the session identifier corresponding to the session interface (such as the session group name or session group account), the object identifier of the synchronization object corresponding to the session content (such as the account, nickname or avatar of the session object that sends the session content in the session interface), and the time identifier corresponding to the synchronization time of the session content (used to record the specific time when the session content is synchronized to the shared document).

[0123] See also Figure 12 , Figure 12 This is a display diagram of a shared document provided in an embodiment of the present application. After the terminal synchronizes the conversation content in the conversation interface to the shared document, the source-related information 1201 of the synchronized conversation content is displayed at the associated position of the synchronized conversation content in the shared document (such as the bottom of the information block where the synchronized conversation content is located), such as the name of the conversation group, the user who sent the synchronized conversation content in the conversation interface, the time when the conversation content was synchronized, etc.; in this way, users browsing the shared document can quickly understand the source-related information of the synchronized conversation content.

[0124] In some embodiments, after the terminal synchronizes the conversation content indicated by the conversation synchronization instruction into the shared document, it displays a synchronization mark at the associated position of the conversation message; wherein the synchronization mark is used to indicate that the conversation message has been synchronized to the shared document.

[0125] See also Figure 13 , Figure 13 This is a display diagram of the synchronization mark provided in an embodiment of the present application. After the terminal synchronizes the conversation content in the conversation interface (i.e., the conversation message containing the target content) to the shared document (such as a shared document with the document name of meeting minutes), a synchronization mark 1301 such as "Synchronized to meeting minutes" is displayed at the bottom of the message block where the conversation message is located; in this way, the user can understand the synchronization status of the conversation message by checking the synchronization mark in the conversation interface.

[0126] In some embodiments, after the terminal synchronizes the session content indicated by the session synchronization instruction to the shared document, it can also display a document viewing entrance in the session interface; in response to a trigger operation on the document viewing entrance, it jumps from the session interface to the document interface of the shared document, and displays the session content in the document interface.

[0127] In actual applications, after the terminal synchronizes the conversation content (i.e., the conversation message containing the target content) in the conversation interface to the shared document, a document viewing entrance can be displayed in the conversation interface. The synchronized conversation content in the shared document can be viewed through the document viewing entrance. The document viewing entrance can be presented in various forms, such as in the form of document viewing prompt information, or in the form of a document viewing control (i.e., an interface jump control). Of course, it can also be in other forms. The embodiment of the present application does not limit the presentation form of the document viewing entrance.

[0128] For example, see Figure 14 , Figure 14 This is a document viewing diagram provided by an embodiment of the present application. After the terminal synchronizes the session content 1401 in the session interface to a shared document (such as a shared document named meeting minutes), a document viewing entry 1402 such as "Go to document viewing" is displayed at the bottom of the message block where the session message is located. In response to the trigger operation on the document viewing entry 1402, the terminal jumps from the current session interface to the document interface of the shared document (i.e., the details interface of the meeting minutes), and displays the session content 1403 synchronized from the session interface in the document interface; in addition, a return entry (such as a return button) 1404 for returning to the session interface can also be displayed in the document interface of the shared document, so that the user can return to the session interface through the return entry to continue the session or view the session message; in this way, convenient switching between the session interface and the document interface of the shared document is achieved, the traceability of the synchronized content is ensured, and the diverse needs of session-associated document scenarios are met.

[0129] Below, we will explain the exemplary application of the embodiment of the present application in a practical application scenario. Take the conversation interface as an example, such as Figure 4 As shown, a conversation group member (i.e., the conversation object mentioned above) clicks the document association entry in the conversation interface of the conversation group to call up the document association setting interface, which contains the following main settings for users to set the associated document synchronization tasks that meet business needs:

[0130] 1) Select Document: Users can select an existing shared document (a shared document that has been associated with the current conversation group) as the save path. If an existing shared document is not selected, a new shared document will be created by default to synchronize the conversation content in the conversation group. In actual applications, users can create multiple associated document synchronization tasks for a conversation group (that is, a conversation group is associated with multiple shared documents). In this case, if the user clicks the document association entry again, an option will appear to select whether to synchronize to the associated shared document or to create a new associated document (create a new associated document synchronization task). Figure 15 As shown, Figure 15 This is a document association diagram provided by an embodiment of the present application, wherein, for a newly created associated document, the default document administrator is the group member who created the shared document, and the group members who are set with synchronization permissions will be automatically added to the list of collaborators with synchronization permissions, and the remaining group members are viewers; for an associated shared document, the default document administrator is the original document administrator, and the user who creates the associated document synchronization and the group member with synchronization permissions are the original document administrator or a collaborator with document synchronization permissions. Otherwise, when selecting an associated shared document, it will automatically prompt that there is no permission, and guide the user to apply for synchronization permissions for the document, such as Figure 16 As shown, Figure 16 This is a document association prompt diagram provided in an embodiment of the present application. When the user does not have the synchronization permission for the shared document, the user is prompted that he does not have the synchronization permission for the associated shared document (such as meeting minutes), and needs to click "Apply" to apply for synchronization control 1601. Only after passing can synchronization be performed.

[0131] 2) Select synchronization content: Users can choose to synchronize conversation messages, message senders, sending time, and group chat names. By default, all content is synchronized. Users can click the option to cancel synchronization of content they do not need.

[0132] 3) Synchronization Settings: This includes specific synchronization settings, allowing users to refine synchronization tasks according to their needs. The target keyword (corresponding to the case where the target content type is a word) is used to specify the keyword that triggers the synchronization of conversation messages. If no target keyword is set, all conversation messages are synchronized to the document by default. Synchronization permissions involve selecting conversation objects with synchronization permissions among conversation group members. Only the relevant conversation content of the selected target conversation object will be synchronized. If no synchronization permissions are set, all conversation messages that meet the target keyword requirements are synchronized to the shared document by default. Synchronization methods include supplementary and replacement. If the user selects "supplementary," when existing content exists at the target location in the shared document, the new content will be added as a supplement below the existing content. If the user selects "replacement," the existing content in the shared document or the specified location of the shared document will be replaced and updated with each synchronization. Synchronizing to a specific location in the document means synchronizing conversation content in the conversation group that meets the synchronization requirements to a specific location in the shared document (i.e., the target location mentioned above).

[0133] In actual applications, shared documents support content block-level links. Users can specify the specific location in the document by copying the block link and accurately locate the module that needs to synchronize content, such as Figure 11 In the example, when a user triggers a target content block in a shared document (i.e., the target message block mentioned above), the terminal responds to the trigger operation and displays a link copy entry for the corresponding target content block. When the user triggers the link copy entry, the terminal responds to the trigger operation and copies the web link of the target content block. The user can paste the copied web link in the area indicated by "Synchronize to a specific location in the document" in the document association setting interface to synchronize the conversation content in the conversation group that meets the synchronization requirements to a specific location in the shared document.

[0134] After setting the specific location of the document, the terminal can synchronize the conversation content that meets the synchronization requirements to the specific location in the target content block in the shared document. According to the complementary synchronization method, the newly synchronized conversation content is appended as new content after the original content in the target content block, and the time and sender are updated synchronously below.

[0135] The session-based document processing method provided in the embodiments of the present application can be applied to various types of devices. Users can easily access shared documents through the session interface. This multi-platform compatibility ensures wide device adaptability and user access convenience. To effectively transfer messages, users need to be online (i.e., online in the session interface). This online requirement ensures real-time data synchronization and stability of the transfer process.

[0136] After associating the shared document for session message synchronization in the conversation group, the following describes how to transfer the conversation messages. Figure 17 , Figure 17 This is a schematic diagram of a link for transferring messages provided in an embodiment of the present application. The method includes:

[0137] Step 201: The terminal displays the conversation message in the conversation interface.

[0138] Step 202: Determine whether the conversation message includes the target keyword.

[0139] The target keyword (i.e., the target content) is a keyword that can trigger a session synchronization instruction. The terminal performs keyword detection on the session message received in the session interface in real time. If the target keyword exists in the session message, step 203 is executed; otherwise, step 201 is executed.

[0140] Step 203: The terminal sends the conversation content associated with the target keyword to the document data service.

[0141] Here, when the target keyword exists in the conversation message, the terminal receives the conversation synchronization instruction triggered by the target keyword, and in response to the conversation synchronization instruction, triggers the document data service through the web page callback technology (such as web hooks Webhooks in web page development, a method of adding or changing the web page presentation through a custom callback function), that is, sending the conversation content associated with the target keyword to the document data server, and synchronizing the conversation content associated with the target keyword sent by the terminal to the shared document through the document data service, thereby realizing automatic capture and delivery of messages. After sending the conversation content associated with the target keyword, the terminal can display a "synchronized" synchronization mark on the message card corresponding to the conversation message in the conversation interface to give the user intuitive feedback.

[0142] When synchronizing the conversation content associated with the target keyword, the terminal can synchronize the synchronization parameters to the shared document according to the set synchronization parameters (such as conversation group name, message sender, message sending time, etc.), increasing the flexibility and personalization of message transfer.

[0143] Step 204: The document data service synchronizes the conversation content associated with the target keyword into the shared document.

[0144] Here, after the document data service receives the conversation content that meets the synchronization conditions (ie, the conversation content associated with the target keyword), it transfers it to the designated shared document or a designated location in the shared document to ensure the accuracy and traceability of the information.

[0145] Next, we'll explain the transfer mechanism for transferred messages. In practice, you can create transfer message blocks with unique visual identities. Each transfer message block has its own specific icon, background color, and border color to identify the source of the message. The icon is used to indicate the source of the synchronized conversation content. For example, it could be the icon of an instant messaging client that provides group conversations, which enhances visual recognition and brand consistency. Regarding content layout, the content within the transferred message block will be carefully laid out according to a pre-set format to optimize the display of information, including the message content, sender, group chat name, and other information.

[0146] For data structures, see Figure 18 , Figure 18 This is a schematic diagram of the data structure provided by an embodiment of the present application. The transferred message block adopts an infinitely nested parent-child tree structure design of a shared document, which provides great flexibility and scalability, and supports the effective organization of single or multiple conversation messages. When the synchronization mode is a supplementary mode, when the conversation content associated with the target keyword is synchronized to the shared document, new transferred message blocks can be continuously created at the end of the shared document (i.e., additional transferred message blocks can be added), and the conversation content associated with the target keyword can be stored in the ordinary text block of the new transferred message block (as shown in (a)), or a general text block can be added to the specific transferred message block selected by the user, and the conversation content associated with the target keyword can be stored in the additional ordinary text block (as shown in (b)) to achieve continuity and integrity of information. When the synchronization mode is replacement mode, the conversation content to be synchronized each time (i.e., the conversation content associated with the target keyword) can be stored in the first transferred message block of the shared document, replacing the original message content in the first transferred message (as shown in (c)). Alternatively, the conversation content to be synchronized each time (i.e., the conversation content associated with the target keyword) can be stored in a transferred message block specified by the user in the shared document, replacing the original message content in the specified transferred message block, so as to keep the information up to date and relevant.

[0147] Through the above method, the automatic detection capability of the client in the terminal can promptly obtain the conversation message content that the user needs to transfer, and automatically synchronize the transferred conversation message content to the associated shared document. This set of automated link design can greatly reduce the mental and operational burden of users in the conversation group, and can further reduce the cost of information sedimentation. In addition, through the "information transfer block" specially designed for shared documents to carry the transferred conversation messages, its data structure design and visual design can make the messy message content stored in an orderly manner, which is convenient for subsequent connection with the conference system and task reminder system, and can further enhance the collaboration capabilities between different systems.

[0148] So far, the session-based document processing method provided by the embodiment of the present application has been described in combination with the exemplary application and implementation of the electronic device provided by the embodiment of the present application. The following will continue to describe the cooperation of various modules in the session-based document processing device 555 provided by the embodiment of the present application to implement the session-based document processing solution.

[0149] The session display module 5551 is used to display a session interface associated with a shared document and to display session messages in the session interface; the instruction receiving module 5552 is used to receive a session synchronization instruction triggered by the target content in response to the session message including the target content; the session synchronization module 5553 is used to synchronize the session content indicated by the session synchronization instruction to the shared document in response to the session synchronization instruction.

[0150] In some embodiments, before displaying the session interface associated with the shared document, the device also includes: an association module for displaying a document association entry in the session interface; displaying a document association setting interface in response to a trigger operation on the document association entry; determining the shared document selected by the document selection operation in response to a document selection operation triggered based on the document association setting interface; and establishing an association relationship between the shared document and the session interface in response to the document association operation on the shared document.

[0151] In some embodiments, the device also includes: a parameter setting module, which voice displays a parameter setting entrance in the document association setting interface; in response to a parameter setting operation triggered based on the parameter setting entrance, determines the synchronization parameters corresponding to the parameter setting operation; wherein, the synchronization parameters include at least one of the following: synchronization content, synchronization keywords, synchronization permissions, synchronization mode, synchronization location, and synchronization valid time period.

[0152] In some embodiments, the instruction receiving module is further configured to obtain a session object associated with the target content; and in response to the session object having synchronization authority for the shared document, receive a session synchronization instruction triggered by the target content.

[0153] In some embodiments, the instruction receiving module is further used to display application guidance information in response to the session object not having the synchronization permission for the shared document, wherein the application guidance information is used to guide the session object to apply for the synchronization permission for the shared document; in response to the application synchronization operation triggered based on the application guidance information, send an application synchronization request to the terminal corresponding to the target object, wherein the target object is the session object that establishes the association relationship between the shared document and the session interface; when the target object receives the permission operation for the application synchronization request, the session synchronization instruction triggered by the target content is received.

[0154] In some embodiments, the instruction receiving module is further configured to obtain a session time corresponding to the target content; and in response to the session time being within a synchronization valid time period, receive a session synchronization instruction triggered by the target content.

[0155] In some embodiments, the instruction receiving module is also used to display synchronization prompt information corresponding to the target content, wherein the synchronization prompt information is used to prompt the synchronization of the session content associated with the target content; in response to the synchronization determination operation triggered based on the synchronization prompt information, the session synchronization instruction triggered by the target content is received.

[0156] In some embodiments, the instruction receiving module is further used to display an editing control corresponding to the target content, wherein the editing control is used to edit the session content associated with the target content; in response to a content editing operation triggered by the editing control, the target content obtained by editing the session content associated with the target content is displayed; in response to a determination operation on the target content, a session synchronization instruction triggered by the target content is received, and the target content is used as the session content to be synchronized as indicated by the session synchronization instruction.

[0157] In some embodiments, the instruction receiving module is further used to display document options corresponding to each shared document in response to the number of shared documents associated with the session interface being at least two; in response to a selection operation for a target document option, receive a session synchronization instruction triggered by the target content, and use the shared document corresponding to the target document option as the shared document to be synchronized as indicated by the session synchronization instruction.

[0158] In some embodiments, the session synchronization module is further used to synchronize the session content indicated by the session synchronization instruction to the target shared document in response to the number of shared documents associated with the session interface being at least two; wherein the synchronization priority of the target shared document is higher than the synchronization priority of other shared documents among the at least two shared documents except the target shared document.

[0159] In some embodiments, the session synchronization module is also used to synchronize the session content indicated by the session synchronization instruction to the target location in the shared document in response to the synchronization mode of the shared document being a supplementary mode; wherein the target location is the location of the newly created message block in the shared document, or is an idle location in the target message block of the shared document.

[0160] In some embodiments, before synchronizing the session content indicated by the session synchronization instruction to the target position in the shared document, the device also includes: a position determination module for displaying a link copy entry corresponding to the target message block in response to a synchronization position setting operation for the target message block in the shared document; copying the web link of the target message block in response to a trigger operation for the link copy entry; and using an idle position in the target message block of the shared document as the target position to be synchronized in response to a paste operation for the web link.

[0161] In some embodiments, the session synchronization module is further used to synchronize the session content indicated by the session synchronization instruction to the target location in the shared document in response to the synchronization mode of the shared document being a replacement mode, so as to replace the document content located at the target location.

[0162] In some embodiments, the session synchronization module is further used to synchronize the session content indicated by the session synchronization instruction to the shared document in a target format; wherein the target format is adapted to the session content, and the target format includes at least one of the following: text format, table format, picture format, audio and video format.

[0163] In some embodiments, the session synchronization module is also used to synchronize relevant information of the session content to the shared document during the process of synchronizing the session content indicated by the session synchronization instruction to the shared document; wherein the relevant information includes at least one of the following: the session identifier corresponding to the session interface, the synchronization object of the session content, and the synchronization time of the session content.

[0164] In some embodiments, after synchronizing the conversation content indicated by the conversation synchronization instruction to the shared document, the device further includes: a mark display module for displaying a synchronization mark at an associated position of the conversation message; wherein the synchronization mark is used to indicate that the conversation message has been synchronized to the shared document.

[0165] In some embodiments, after synchronizing the session content indicated by the session synchronization instruction to the shared document, the device also includes: an interface jump module for displaying a document viewing entrance in the session interface; in response to a trigger operation on the document viewing entrance, jumping from the session interface to the document interface of the shared document, and displaying the session content in the document interface.

[0166] An embodiment of the present application provides a computer program product, which includes a computer program or computer-executable instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer-executable instructions from the computer-readable storage medium and executes the computer-executable instructions, causing the electronic device to perform the session-based document processing method described in the embodiment of the present application.

[0167] The embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions or computer programs are stored. When the computer-executable instructions or computer programs are executed by a processor, the processor will be caused to execute the xx method provided in the embodiment of the present application, for example, Figure 3 The session-based document processing method is shown.

[0168] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or various devices including one or any combination of the above memories.

[0169] In some embodiments, computer-executable instructions may be in the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.

[0170] As an example, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as, for example, in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinating files (e.g., files storing one or more modules, subroutines, or code portions).

[0171] By way of example, computer-executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed across multiple sites and interconnected by a communication network.

[0172] The above description is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent replacements, and improvements made within the spirit and scope of the present application are included in the scope of protection of the present application.

Claims

1. A session-based document processing method, characterized in that: The method comprises: Displaying a conversation interface associated with the shared document, and displaying conversation messages in the conversation interface; In response to the session message including the target content, receiving a session synchronization instruction triggered by the target content; In response to the session synchronization instruction, the session content instructed to be synchronized by the session synchronization instruction is synchronized into the shared document.

2. The method according to claim 1, wherein Before displaying the conversation interface associated with the shared document, the method further includes: Display document association entry in the conversation interface; In response to a triggering operation on the document association entry, displaying a document association setting interface; In response to a document selection operation triggered based on the document association setting interface, determining a shared document selected by the document selection operation; In response to the document association operation on the shared document, an association relationship between the shared document and the conversation interface is established.

3. The method according to claim 2, wherein The method further comprises: In the document association setting interface, a parameter setting entry is displayed; In response to a parameter setting operation triggered based on the parameter setting entry, determining a synchronization parameter corresponding to the parameter setting operation; The synchronization parameters include at least one of the following: synchronization content, synchronization keywords, synchronization authority, synchronization mode, synchronization position, and synchronization valid time period.

4. The method according to claim 1, wherein The receiving of the session synchronization instruction triggered by the target content includes: Obtaining a session object associated with the target content; In response to the session object having the synchronization permission for the shared document, a session synchronization instruction triggered by the target content is received.

5. The method according to claim 4, wherein The receiving of the session synchronization instruction triggered by the target content includes: In response to the session object not having the synchronization permission for the shared document, displaying application guidance information, wherein the application guidance information is used to guide the session object to apply for the synchronization permission for the shared document; In response to an application synchronization operation triggered by the application guidance information, sending an application synchronization request to a terminal corresponding to a target object, wherein the target object is a session object that establishes an association relationship between the shared document and the session interface; When the target object receives a permission operation for the application synchronization request, a session synchronization instruction triggered by the target content is received.

6. The method according to claim 1, wherein The receiving of the session synchronization instruction triggered by the target content includes: Obtaining the session time corresponding to the target content; In response to the session moment being within a synchronization valid time period, a session synchronization instruction triggered by the target content is received.

7. The method according to claim 1, wherein The receiving of the session synchronization instruction triggered by the target content includes: Displaying synchronization prompt information corresponding to the target content, wherein the synchronization prompt information is used to prompt synchronization of the session content associated with the target content; In response to a synchronization determination operation triggered based on the synchronization prompt information, a session synchronization instruction triggered by the target content is received.

8. The method according to claim 1, wherein The receiving of the session synchronization instruction triggered by the target content includes: Displaying an edit control corresponding to the target content, wherein the edit control is used to edit the conversation content associated with the target content; In response to a content editing operation triggered by the editing control, displaying target content obtained by editing the conversation content associated with the target content; In response to a determination operation on the target content, a session synchronization instruction triggered by the target content is received, and the target content is used as the session content to be synchronized as indicated by the session synchronization instruction.

9. The method according to claim 1, wherein The receiving of the session synchronization instruction triggered by the target content includes: In response to the number of shared documents associated with the conversation interface being at least two, displaying a document option corresponding to each of the shared documents; In response to a selection operation on a target document option, a session synchronization instruction triggered by the target content is received, and the shared document corresponding to the target document option is used as the shared document to be synchronized as instructed by the session synchronization instruction.

10. The method according to claim 1, wherein The step of synchronizing the session content indicated by the session synchronization instruction to the shared document includes: In response to the number of shared documents associated with the session interface being at least two, synchronizing the session content indicated by the session synchronization instruction to a target shared document; The synchronization priority of the target shared document is higher than the synchronization priority of other shared documents except the target shared document in the at least two shared documents.

11. The method according to claim 1, wherein The step of synchronizing the session content indicated by the session synchronization instruction to the shared document includes: In response to the shared document being synchronized in a supplementary mode, synchronizing the session content indicated by the session synchronization instruction to a target location in the shared document; The target position is the location of the newly created message block in the shared document, or is an idle position in the target message block of the shared document.

12. The method according to claim 11, wherein Before synchronizing the session content indicated by the session synchronization instruction to the target location in the shared document, the method further includes: In response to a synchronization position setting operation for a target message block in the shared document, displaying a link copy entry corresponding to the target message block; In response to a triggering operation on the link copying entry, copying the webpage link of the target message block; In response to the pasting operation on the web page link, an idle position in the target message block of the shared document is used as a target position to be synchronized.

13. The method according to claim 1, wherein The step of synchronizing the session content indicated by the session synchronization instruction to the shared document includes: In response to the shared document being synchronized in a replacement mode, the session content indicated by the session synchronization instruction is synchronized to a target location in the shared document to replace the document content at the target location.

14. The method according to claim 1, wherein The step of synchronizing the session content indicated by the session synchronization instruction to the shared document includes: Synchronize the session content to be synchronized as instructed by the session synchronization instruction to the shared document in a target format; The target format is adapted to the conversation content, and the target format includes at least one of the following: text format, table format, picture format, audio and video format.

15. The method according to claim 1, wherein The method further comprises: In the process of synchronizing the session content instructed to be synchronized by the session synchronization instruction into the shared document, synchronizing relevant information of the session content into the shared document; The relevant information includes at least one of the following: a session identifier corresponding to the session interface, a synchronization object of the session content, and a synchronization time of the session content.

16. The method according to claim 1, wherein After synchronizing the session content indicated by the session synchronization instruction to the shared document, the method further includes: Displaying a synchronization mark at a related position of the conversation message; The synchronization mark is used to indicate that the conversation message has been synchronized to the shared document.

17. The method according to claim 1, wherein After synchronizing the session content indicated by the session synchronization instruction to the shared document, the method further includes: Displaying a document viewing entrance in the conversation interface; In response to a triggering operation on the document viewing portal, the user switches from the conversation interface to the document interface of the shared document, and displays the conversation content in the document interface.

18. A document processing device based on a session, characterized in that: The device comprises: A conversation display module, configured to display a conversation interface associated with a shared document and to display conversation messages in the conversation interface; an instruction receiving module, configured to receive a session synchronization instruction triggered by the target content in response to the session message including the target content; The session synchronization module is configured to synchronize the session content indicated by the session synchronization instruction to the shared document in response to the session synchronization instruction.

19. An electronic device, characterized in that: include: a memory for storing computer-executable instructions or computer programs; The processor is configured to implement the session-based document processing method according to any one of claims 1 to 17 when executing the computer-executable instructions or computer program stored in the memory.

20. A computer-readable storage medium, characterized in that Computer executable instructions or computer programs are stored, and when the computer executable instructions or computer programs are executed by a processor, the session-based document processing method according to any one of claims 1 to 17 is implemented.

21. A computer program product comprising a computer program or computer executable instructions, characterized in that When the computer program or computer executable instructions are executed by a processor, the session-based document processing method according to any one of claims 1 to 17 is implemented.