Document processing method and device and electronic equipment

By displaying and synchronizing document cards in the session interface of the instant messaging client, the problem of inefficient online document editing and processing is solved, the user experience is improved, and the confidentiality of documents is guaranteed, and efficient collaborative editing of documents is achieved.

CN119011518APending Publication Date: 2024-11-22ZHUHAI KINGSOFT OFFICE SOFTWARE +2
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310561457.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-17
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The editing and processing of online documents is low, and users need to frequently jump to the document client, which leads to inconvenience in operation, affects the user experience, and poses a risk of confidentiality and leakage of document content.

Method used

Through the instant messaging client displays document cards in the session interface, the collaborative editing and synchronous update of documents are realized. Users do not need to jump to the document editing client and directly operate and view documents in the chat interface.

Benefits of technology

It improves the processing efficiency of online documents, improves the user experience, ensures the confidentiality of document content and the real-time nature of collaborative editing, and reduces operational steps and potential leakage risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119011518A_ABST
    Figure CN119011518A_ABST
Patent Text Reader

Abstract

The invention provides a document processing method and device and electronic equipment. The method comprises the following steps: obtaining a first card to be shared by a first user and contact information of a second user, wherein the first card comprises partial content of a source document; sending the first card to the second user according to the contact person information of the second user; and displaying the first card as a sent message in a first session interface corresponding to the second user. Through the method and the device, the user operation can be facilitated, the processing efficiency of the online document is improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a document processing method, device, and electronic device. Background Art

[0002] With the continuous development of Internet technology, web pages carry more and more functions, and more and more products are ported to the interface for users to use, which greatly improves the convenience of users. In order to further improve work efficiency, products with collaborative editing functions have been developed, that is, to meet the collaborative editing of the same document by multiple people. Through the collaborative editing function, multiple people can see the changes made by others to the online document in real time without manually refreshing the interface.

[0003] Currently, the editing of online documents mainly depends on the online document client, and sharing to other applications is generally through the link of the online document client. Therefore, if the shared user wants to view, edit, etc. the shared document, he must jump to the online document client, which makes the operation very inconvenient, makes the online document processing efficiency low, and thus affects the user experience. Summary of the invention

[0004] The present application provides a document processing method, device and electronic device, which can facilitate user operation, improve the processing efficiency of online documents, and enhance the user experience.

[0005] In a first aspect, the present application provides a document processing method, which can be applied to a first instant messaging client. The method includes: obtaining a first card to be shared by a first user and contact information of a second user, wherein the first card includes part of the content of a source document; sending the first card to the second user according to the contact information of the second user; and displaying the first card as a sent message in a first conversation interface where the second user is located.

[0006] In some possible implementations, displaying the first card as a sent message in the first conversation interface where the second user is located includes: displaying the first conversation interface according to the contact information of the second user; adding the first card to the first chat bubble; and displaying the first chat bubble in the sent message area in the first conversation interface.

[0007] In some possible implementations, the method further includes: obtaining a consistent version of the partial content; and updating the first chat bubble based on the consistent version.

[0008] In some possible implementations, after displaying the first card as a sent message in the first conversation interface according to the contact information of the second user, the method further includes: displaying a document editing interface in the message editing area in the first conversation interface; obtaining first editing content input by the first user in the document editing interface; updating the first card based on the first editing content; and displaying the updated first card in the first conversation interface.

[0009] In some possible implementations, the method further includes: sending first edited content, where the first edited content is used to generate a consistent version of the partial content.

[0010] In some possible implementations, displaying a document editing interface in a message editing area in a first conversation interface includes: calling a document editing module, where the document editing module is used to implement at least a portion of a document editing function; obtaining the document editing interface through the document editing module; and displaying the document editing interface in the message editing area.

[0011] In a second aspect, the present application provides a document processing method, which can be applied to a second instant messaging client. The method can include: receiving a first card sent by a first user, the first card including part of the content of a source document; and displaying the first card as a received message in a second session interface where the first user is located.

[0012] In some possible implementations, displaying the first card as a received message in the second conversation interface where the first user is located includes: obtaining contact information of the first user; displaying the second conversation interface according to the contact information of the first user; adding the first card to the second chat bubble; and displaying the second chat bubble in the received message area of ​​the second conversation interface.

[0013] In some possible implementations, the method further includes: obtaining a consistent version of the partial content; and updating the second chat bubble based on the consistent version.

[0014] In some possible implementations, after displaying the first card as a received message in the second conversation interface, the method further includes: displaying a document editing interface in a message editing area in the second conversation interface; obtaining second editing content input by the user in the document editing interface; updating the first card based on the second editing content; and displaying the updated first card in the second conversation interface.

[0015] In some possible implementations, the method further includes: sending second edited content, where the second edited content is used to generate a consistent version of the partial content.

[0016] In some possible implementations, displaying a document editing interface in a message editing area in a second conversation interface includes: calling a document editing module, where the document editing module is used to implement at least a portion of a document editing function; obtaining the document editing interface through the document editing module; and displaying the document editing interface in the message editing area.

[0017] In a third aspect, the present application provides a document processing method, which can be applied to a document editing client. The method may include: in response to a first operation of a first user, determining part of the content in a source document as the content of a first card; in response to a second operation of the first user, obtaining contact information of a second user, where the second user is at least one contact of the first user; in response to a third operation of the first user, sending the first card and the contact information of the second user, where the first card is displayed as a sent message in the conversation interface where the second user is located.

[0018] In some possible implementations, after using part of the content in the source document as the content of the first card in response to a first operation of the first user, the method further includes: determining a first display area in the display interface of the source document in response to a fourth operation; obtaining display parameters of the first display area; and displaying the first card in a display format corresponding to the first display area according to the display parameters.

[0019] In some possible implementations, the first display area is an annotation area, and the display format is an annotation format.

[0020] In some possible implementations, after sending the first card, the method further includes: receiving third edited content of the first card by a third user; generating a consistent version of the partial content based on the third edited content; and sending the consistent version of the partial content.

[0021] In some possible implementations, after generating a consistent version of the partial content based on the third edited content, the method further includes: updating the first card based on the consistent version.

[0022] In some possible implementations, the method also includes: obtaining a synchronization setting operation performed by the first user on the first card; setting whether the source document is synchronized with the first card according to the synchronization setting operation; when setting the source document to be synchronized with the first card, synchronizing the first card based on a consistent version of the source document; or, when setting the source document to be out of sync with the first card, keeping the content of the first card unchanged.

[0023] In some possible implementations, the method further includes: obtaining at least one card associated with the source document; determining a card in an idle state among the at least one card; and deleting the card in an idle state.

[0024] In a fourth aspect, the present application provides a document processing device, which may be a first instant messaging client or a chip or system on chip of the first instant messaging client, or a functional module in the first instant messaging client for implementing the methods described in the above-mentioned embodiments. The processing device may implement the functions performed by the document editing client in the above-mentioned embodiments, and these functions may be implemented by hardware executing corresponding software. These hardware or software include one or more modules corresponding to the above-mentioned functions. The device may include: a first obtaining module, for obtaining a first card to be shared by a first user and contact information of a second user, the first card including part of the content of a source document; a first sending module, for sending the first card to the second user according to the contact information of the second user; and a first display module, for displaying the first card as a sent message in the first conversation interface where the second user is located.

[0025] In some possible implementations, the first display module is further used to: display the first conversation interface according to the contact information of the second user; add the first card to the first chat bubble; and display the first chat bubble in the sent message area in the first conversation interface.

[0026] In some possible implementations, the device further includes: a first synchronization module, used to obtain a consistent version of a portion of the content; and a first display module, further used to update the first chat bubble based on the consistent version.

[0027] In some possible implementations, the display module is further used to: after displaying the first card as a sent message in the first conversation interface according to the contact information of the second user, display a document editing interface in the message editing area in the first conversation interface; obtain first editing content input by the first user in the document editing interface; update the first card based on the first editing content; and display the updated first card in the first conversation interface.

[0028] In some possible implementations, the first synchronization module is further used to send first edited content, where the first edited content is used to generate a consistent version of the partial content.

[0029] In some possible implementations, the first display module is further used to: call a document editing module, the document editing module is used to implement at least a portion of the document editing function; obtain a document editing interface through the document editing module; and display the document editing interface in the message editing area.

[0030] In a fifth aspect, the present application provides a document processing device, which may be a second instant messaging client or a chip or system on chip of the second instant messaging client, or a functional module in the second instant messaging client for implementing the methods described in the above-mentioned embodiments. The processing device may implement the functions performed by the second instant messaging client in the above-mentioned embodiments, and these functions may be implemented by hardware executing corresponding software. These hardware or software include one or more modules corresponding to the above-mentioned functions. The device may include: a receiving module for receiving a first card sent by a first user, the first card including part of the content of a source document; and a second display module for displaying the first card as a received message in a second conversation interface where the first user is located.

[0031] In some possible implementations, the receiving module is used to: obtain contact information of the first user; display a second conversation interface based on the contact information of the first user; add the first card to the second chat bubble; and display the second chat bubble in the received message area in the second conversation interface.

[0032] In some possible implementations, the device further includes: a second synchronization module, used to obtain a consistent version of the partial content; and a second display module, used to update the second chat bubble based on the consistent version.

[0033] In some possible implementations, the second display module is further used to: after displaying the first card as a received message in the second conversation interface, display a document editing interface in the message editing area in the second conversation interface; obtain second editing content input by the user in the document editing interface; based on the second editing content, update the first card; and display the updated first card in the second conversation interface.

[0034] In some possible implementations, the second synchronization module is further used to send second edited content, where the second edited content is used to generate a consistent version of the partial content.

[0035] In some possible implementations, the second display module is further used to: call a document editing module, the document editing module is used to implement at least a portion of the document editing function; obtain a document editing interface through the document editing module; and display the document editing interface in the message editing area.

[0036] In a sixth aspect, the present application provides a document processing device, which may be a document editing client or a chip or system on chip of a document editing client, or a functional module in a document editing client for implementing the methods described in the above-mentioned embodiments. The processing device may implement the functions performed by the document editing client in the above-mentioned embodiments, and these functions may be implemented by hardware executing corresponding software. These hardware or software include one or more modules corresponding to the above-mentioned functions. The device may include: a determination module for determining part of the content in the source document as the content of the first card in response to a first operation of a first user; a second acquisition module for obtaining contact information of a second user in response to a second operation of the first user, the second user being at least one contact of the first user; a second sending module for sending the first card and the contact information of the second user in response to a third operation of the first user, and the first card is displayed as a sent message in the conversation interface where the second user is located.

[0037] In some possible implementations, the second display module is further used to: determine the first display area in the display interface of the source document in response to a fourth operation after the determination module uses part of the content in the source document as the content of the first card in response to a first operation of the first user; obtain display parameters of the first display area; and display the first card in a display format corresponding to the first display area according to the display parameters.

[0038] In some possible implementations, the first display area is an annotation area, and the display format is an annotation format.

[0039] In some possible implementations, the device also includes: a third synchronization module, used to: receive a third edited content of the first card by a third user after the second sending module sends the first card; generate a consistent version of the partial content based on the third edited content; and send a consistent version of the partial content.

[0040] In some possible implementations, the determination module is further configured to update the first card based on the consistent version after the third synchronization module generates a consistent version of the partial content based on the third edited content.

[0041] In some possible implementations, the third synchronization module is also used to obtain the first user's synchronization setting operation on the first card; according to the synchronization setting operation, set whether the source document is synchronized with the first card; when setting the source document to be synchronized with the first card, synchronize the first card based on the consistent version of the source document; or, when setting the source document to be out of synchronization with the first card, keep the content of the first card unchanged.

[0042] In some possible implementations, the third synchronization module is further used to obtain at least one card associated with the source document; determine a card in an idle state among the at least one card; and delete the card in an idle state.

[0043] In a seventh aspect, the present application provides an electronic device on which a first instant messaging client can be installed. The electronic device may include: a processor; a memory for storing processor executable instructions; wherein the processor is configured to: implement the method described in the first aspect and any possible implementation thereof when running the executable instructions.

[0044] In an eighth aspect, the present application provides an electronic device on which a second instant messaging client can be installed. The electronic device may include: a processor; a memory for storing processor executable instructions; wherein the processor is configured to: implement the method described in the second aspect and any possible implementation thereof when running the executable instructions.

[0045] In a ninth aspect, the present application provides an electronic device on which a document editing client can be installed. The electronic device may include: a processor; a memory for storing processor executable instructions; wherein the processor is configured to: implement the method described in the third aspect and any possible implementation thereof when running the executable instructions.

[0046] In a tenth aspect, the present application provides a document online editing system, comprising the above-mentioned first instant messaging client, second instant messaging client and document editing client, to implement the method described in the above-mentioned first to third aspects and any possible implementation methods thereof.

[0047] In an eleventh aspect, the present application provides a computer-readable storage medium storing an executable program, wherein when the executable program is executed by a processor, it can implement the method described in the first to third aspects above and any possible implementation manner thereof.

[0048] In a twelfth aspect, the present application provides a computer program or a computer program product. When the computer program product is executed on a computer, it enables the computer to implement the method described in the first to third aspects above and any possible implementation manner thereof.

[0049] The technical solution provided by this application may have the following beneficial effects:

[0050] After obtaining the first card to be shared by the first user and the contact information of the second user, the first card is sent to the second user, and the first card is displayed in the form of a sent message in the session interface (such as an instant chat interface) where the second user is located. In this way, the second user can directly read the card content of the first card in the session interface where he is located, just like reading an instant chat message, without having to jump to the document editing client, thereby facilitating user operations, improving the processing efficiency of online documents, and enhancing user experience.

[0051] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 A schematic diagram of the architecture of a document editing system in an embodiment of the present application;

[0053] Figure 2 A schematic diagram of the architecture of a document editing system in an embodiment of the present application;

[0054] Figure 3 is a schematic diagram of the structure of a terminal provided in an embodiment of the present application;

[0055] Figure 4 It is a flowchart of a document processing method provided by an embodiment of the present application;

[0056] FIG. 5A to FIG. 5D A schematic diagram of a first conversation interface in an embodiment of the present application;

[0057] FIG. 6A to FIG. 6B is a schematic diagram of a second conversation interface in an embodiment of the present application;

[0058] Figure 7 A flowchart of another online document processing method provided in an embodiment of the present application;

[0059] Fig. 8A A schematic diagram of a display interface of a presentation in an embodiment of the present application;

[0060] Figure 8B A schematic diagram of a text display interface in an embodiment of the present application;

[0061] Fig. 9 A schematic diagram of a display state of the first card in an embodiment of the present application;

[0062] Fig.10 A flowchart of another online document processing method provided in an embodiment of the present application;

[0063] Fig.11A schematic diagram of a third conversation interface in an embodiment of the present application;

[0064] Fig.12 It is a structural schematic diagram of an electronic device in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0065] Here, exemplary embodiments will be described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the embodiments of the present application.

[0066] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the embodiments of the present application. The singular forms of "a" and "the" used in the embodiments of the present application are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in this article refers to and includes any or all possible combinations of one or more associated listed items.

[0067] It should be understood that, although the terms "first", "second", "third", etc. may be used to describe various information in the embodiments of the present application, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the embodiments of the present application, "first information" may also be referred to as "second information", and similarly, "second information" may also be referred to as "first information". Depending on the context, the word "if" as used herein may be interpreted as "at...", "when...", "in response to..." or "under...".

[0068] Furthermore, in the description of the embodiments of the present application, "and / or" is only a description of the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" can refer to two or more than two.

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

[0070] With the continuous development of Internet technology, web pages carry more and more functions, and more and more products are ported to the interface for users to use, which greatly improves the convenience of users. In order to further improve work efficiency, products with collaborative editing functions have been developed, that is, to meet the collaborative editing of the same document by multiple people. Through the collaborative editing function, multiple people can see the changes made by others to the document in real time without manually refreshing the interface.

[0071] However, if the user needs to extract the document content, share it to a group discussion, or add it to other applications, the user can only manually copy the content to the corresponding location, which is very inconvenient.

[0072] In addition, the editing of online documents mainly depends on the online document client, and sharing to other applications is generally through the link of the online document client. Therefore, if the shared user wants to view or edit the shared document, he must jump to the online document client, which is very inconvenient and makes the processing efficiency of online documents low, thus affecting the user experience.

[0073] In addition, since online documents are shared as a whole, the contents of the entire document, such as comments and modifications by different users, are visible to all collaborators. This can also cause the discussion content to be too public, interfering with other collaborators, making it impossible to ensure the confidentiality of the document content, and posing a risk of leakage.

[0074] In order to solve the above problems, an embodiment of the present application provides a document processing method, which can be applied to a document editing system, such as a collaborative editing system for online documents. Figure 1 This is a schematic diagram of the architecture of a document editing system in an embodiment of the present application, see Figure 1 The editing system 10 may include: a plurality of clients (such as client 111-1 and client 111-2, etc.). Further, the editing system 10 may also include a server 12. Here, the content of the online document may include text, slides, tables, etc.

[0075] In one embodiment, multiple clients can communicate with the server 12 through the network 13, and multiple clients 11 can also communicate with each other. The network 13 can be a wide area network or a local area network, or a combination of the two. In one embodiment, multiple clients can implement the control, processing, and transmission of online document collaborative editing through the server 12, and can also implement the control, processing, and transmission of end-to-end collaborative editing through other clients.

[0076] In one embodiment, the client can be understood as a computer program running on a user-side electronic device (such as terminal 110-1 and terminal 110-2). Here, the computer program can be a native program or software module in the operating system; for example, it can be a native application (application, APP), that is, a program that needs to be installed in the operating system to run; it can also be a small program, that is, a program that can be run only after being downloaded to the browser environment; it can also be a small program that can be embedded in any APP. In short, the computer program can be an application, module or plug-in in any form, and the embodiment of the present application does not specifically limit this. Exemplarily, the computer program can be an instant messaging (IM) program, a document editing program, etc. Then, the instant client can include multiple clients for instant messaging, such as an instant messaging client, a collaborative office client with instant messaging function, a document editing client with instant messaging function, etc. In another example, the multiple clients can also include a document editing client for editing documents, such as a collaborative office client, a schedule management client, a note client, etc. In practical applications, the IM program and the document editing program can run on different user-side electronic devices, or on the same user-side electronic device. Exemplarily, an IM client (such as client 111-1) is running in terminal 110-1, and another IM client (such as client 111-2) is running in terminal 110-2; or, an IM client (such as client 111-1) and a document editing client are running in terminal 110-1, and another IM client (such as client 111-2) is running in terminal 110-2. The embodiments of the present application do not make specific limitations on this.

[0077] In one embodiment, Figure 2 This is a schematic diagram of the architecture of a document editing system in an embodiment of the present application, see Figure 2 The IM client 21 and the document editing client 22 can call each other through an interface 23 between applications (such as an application programming interface (API)).

[0078] In one embodiment, at least a part of the document editing functions in the document editing client 22 may be integrated into the IM client 21. In this case, the IM client 21 may include a document editing module 211. Exemplarily, the document editing module 211 may be embedded in the IM client in the form of a third-party plug-in, or may be a native function module in the IM client 21, which is not specifically limited in the embodiment of the present application.

[0079] In one embodiment, the document editing module 211 can communicate directly with the document editing client 21, or can communicate with the document editing client 21 through a document editing server, etc. IM clients can communicate directly with each other, or communicate through an IM server. The embodiment of the present application does not specifically limit the communication method between the IM client, the document editing client, and the document editing module.

[0080] In one embodiment, the electronic device may be a terminal such as a smart phone, a tablet computer, a laptop computer, a desktop computer, etc. Of course, the client may also exist in other situations, which are not specifically limited in the embodiment of the present application.

[0081] It should be noted that a client can log in to a user account at the same time or time period, that is, a client is associated with a user at the same time or time period. For example, user 1 is associated with client 111-1 in terminal 110-1, and user 2 is associated with client 111-2 in terminal 110-2. Of course, if multiple clients are running on a terminal, a user can be associated with multiple clients at the same time or time period, and the embodiments of the present application do not specifically limit this.

[0082] In one embodiment, the server 12 may include a document editing server and an IM server. The document editing server and the IM server may be deployed separately or integrated. It is understandable that the server 12 may include one or more document editing servers and one or more IM servers, wherein the document editing server communicates with the document editing client and the document editing module, and the IM server communicates with the IM client; or, the server 12 may integrate the functions of the document editing server and the IM server, wherein the server 12 may communicate with the document editing client and the IM client. Of course, the server 12 may also be deployed in other ways, which is not specifically limited in the embodiments of the present application.

[0083] In one embodiment, the server 12 can be understood as an independent physical server, or a server cluster or distributed system composed of multiple servers, or a cloud server. The server 12 is used to control, process, transmit, and process instant messaging and online document collaborative editing. Of course, the server 12 can also have other functions, which are not specifically limited in the embodiments of the present application.

[0084] Of course, the document editing system may also have other system architectures, which are not specifically limited in the embodiments of the present application.

[0085] See also Figure 3 , Figure 3 is a schematic diagram of the structure of a terminal provided in an embodiment of the present application, Figure 3The terminal 30 shown (such as the terminal 110-1 or the terminal 110-2 described above) may include: at least one processor 310, a memory 350, at least one network interface 320, and a user interface 330. The various components in the terminal 20 are coupled together via a bus system 340. It can be understood that the bus system 340 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 340 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, the bus system 340 is not described in detail. Figure 3 Various buses are labeled as bus system 340 .

[0086] The processor 310 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.

[0087] The user interface 330 includes one or more output devices 331 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 330 also includes one or more input devices 332, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0088] The memory 350 includes a volatile memory or a non-volatile memory, and may also 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 350 described in the embodiment of the present application is intended to include any suitable type of memory.

[0089] In some embodiments, memory 350 is capable of storing data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.

[0090] Operating system 351, including system programs for processing various basic system services and performing hardware-related tasks, such as framework layer, core library layer, driver layer, etc., for implementing various basic services and processing hardware-based tasks;

[0091] A network communication module 352, for reaching other computing devices via one or more (wired or wireless) network interfaces 320, exemplary network interfaces 320 include: Bluetooth, wireless compatibility certification (Wi-Fi), and universal serial bus (USB);

[0092] A presentation module 353, configured to enable display of an IM session interface, a schedule management interface, and / or a document editing interface (e.g., a user interface for operating peripheral devices and displaying content and information) via one or more output devices 331 (e.g., a display screen, a speaker, etc.) associated with the user interface 330;

[0093] The input processing module 354 is used to detect one or more user inputs or interactions from one of the one or more input devices 332 and translate the detected inputs or interactions.

[0094] In some embodiments, the device provided in the embodiments of the present application can be implemented in software. Figure 3 A document processing device 355 stored in a memory 350 is shown, which may be software in the form of a program or plug-in, including the following software modules: a receiving module 3551, a processing module 3552, and a sending module 3553. These modules are logical, and therefore may be arbitrarily combined or further split according to the functions implemented, and the functions of each module will be described below.

[0095] In other embodiments, the device provided in the embodiments of the present application may be implemented in hardware. As an example, the document processing device 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 online 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 (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), field-programmable gate array (FPGA) or other electronic components, which are not specifically limited in the embodiments of the present application.

[0096] Below, the online document processing method provided by the embodiment of the present application will be explained in combination with the exemplary application and implementation of the document editing system provided by the embodiment of the present application.

[0097] See also Figure 4 , Figure 4 is a flowchart of a document processing method provided by an embodiment of the present application. The document processing method can be applied to the above-mentioned document editing system. Figure 4 The steps shown are explained.

[0098] In the embodiment of the present application, the document editing system includes a first instant messaging client and a second instant messaging client as an example for explanation. In one embodiment, the first instant messaging (IM) client and the second IM client can be respectively run on different electronic devices, or the first IM client and the second IM client can be run on the same electronic device. In this case, different IM clients are associated with different user accounts, such as the first IM client is associated with the first user, and the second IM client is associated with the second user.

[0099] In an embodiment of the present application, the method for processing the above document may include steps S401 to S406.

[0100] Step S401: A first IM client obtains card information of a first card.

[0101] Here, the first card is part of the content of the source file, such as a text fragment, one or more pages of presentations, one or more to-do items, today's schedule items, memo items, etc. Of course, depending on the content of the source file, the content of the first card may also exist in other situations, and the embodiment of the present application does not specifically limit this.

[0102] In one embodiment, the user associated with the first IM client (ie, the first user) can be understood as a sharing user, and the user associated with the second IM client (ie, the second user) can be understood as a shared user.

[0103] It should be understood that in step S401, the first user can view the source file through the document editing client and select part of the content in the source file. The document editing client determines this part of the content as the first card. Then, the document editing client can send the first card to the first IM client. In another embodiment, the first user can also receive IM messages sent by other users through the first IM client, and the IM messages carry the first card. Of course, the first IM client can also obtain the first card in other ways, and the embodiment of the present application does not specifically limit this.

[0104] Further, after obtaining the first card, the first IM client can determine the card information of the first card. Here, the card information of the first card can be understood as information used to determine the first card, such as the content of the first card, the source document connection, the attribute information of the first card, etc. Exemplarily, the attribute information may include information such as font, format, user authority, etc. Of course, the attribute information may also include other information related to the first card, which is not specifically limited in the embodiments of the present application.

[0105] Step S402: The first IM client determines to receive contact information of a contact.

[0106] Here, the received contact is at least one of the contacts of the first user.

[0107] It should be understood that in step S402, after obtaining the first card, the first user may also need to determine the second user, i.e., the shared user. Then, the first user may select the second user (i.e., the receiving contact) from at least one contact in the first IM client. Then, in response to the selection operation of the first user, the first IM client determines the second user and obtains the contact information of the second user.

[0108] In one embodiment, at least one contact in the first IM client may be at least one of contacts of types such as an independent user, an IM group, a public account, and an office user, and this embodiment of the present application does not specifically limit this.

[0109] In one embodiment, the contact information of the above-mentioned received contact can be understood as the user account of the received contact, and can also include at least one of the attribute information of the second user, such as the group label, account type, etc., which is not specifically limited in this embodiment of the present application.

[0110] It should be noted that step S401 and step S402 may be performed simultaneously or sequentially, and this embodiment of the present application does not specifically limit this.

[0111] Step S403: the first IM client sends the card information of the first card to the second IM client according to the contact information of the received contact, and the second IM client corresponds to the received contact.

[0112] It should be understood that in step S403, after determining the contact information of the second user, the first IM client can send the card information of the first card as an IM message to the second user according to the contact information of the second user. Optionally, when sending the card information of the first card, the first IM client can also send the contact information of the sending contact (i.e., the first user) to the second IM client, so that the second IM client can determine the conversation interface (i.e., the second conversation interface) between the first user and the second user.

[0113] For example, the first IM client can send the IM message to the second IM client through the IM server, or directly send the IM message to the second IM client through the application program interface between the IM clients. Of course, the communication method between the first IM client and the second IM client can be other methods, which are not specifically limited in the embodiments of the present application.

[0114] Step S404: The first IM client displays the first card as a sent message in the first conversation interface according to the card information.

[0115] Here, the first conversation interface is an IM conversation interface for receiving contacts and sending contacts.

[0116] It should be understood that in step S404, after sending the card information of the first card to the second IM client, the first IM client can determine the IM conversation interface between the first user and the second user (i.e., the first conversation interface) according to the contact information of the second user, and display the first card in the first conversation interface according to the card information of the first card. In one embodiment, the first IM client can display the first card as a sent message in the first conversation interface. Exemplary, FIG. 5A to FIG. 5D This is a schematic diagram of the first conversation interface in the embodiment of the present application, see Figure 5A In the conversation interface 51 between the first user (denoted as A) and the second user (denoted as B), the first user is the sender and the second user is the receiver. The IM message can be displayed in the conversation interface 51 in the form of a chat bubble. Then, the first IM client can display the first card 53 in the chat bubble 52 (i.e., the first chat bubble) sent by the sender.

[0117] In one embodiment, in step S404, when the first IM client displays the first card as a sent message in the first conversation interface, the first card may be added to the first chat bubble. The first IM client then determines a display area for the sent message in the first conversation interface, that is, a sent message area of ​​the first conversation interface. Finally, the first IM client displays the first chat bubble in the sent message area. For example, see Figure 5B The first IM client can first add the first card to a chat bubble, and the added chat bubble is the chat bubble 52. Then, the first IM client determines the sending message area 54 in the conversation interface 51, and displays the chat bubble 52 in the sending message area 54.

[0118] In another embodiment, the first IM client may also display the first card in other areas outside the message sending area, such as the top, bottom, middle and other areas of the first conversation interface. Of course, it may also be any area in the first conversation interface. In one embodiment, the area where the first card is displayed may be a fixed area in the first conversation interface, or it may be a dynamic area on the first conversation interface. In other words, the first card may remain displayed in a certain area on the first conversation interface, or the area may be dynamically adjusted on the first conversation interface according to the display content, user operations, and the like. Of course, there may be other situations in which the display area of ​​the first card on the first conversation interface may exist, and the embodiments of the present application do not specifically limit this. For example, see Figure 5C , displaying the first card 53 in the top 55 of the conversation interface 51, or, see Figure 5D , the first card 53 is displayed in the floating window 56 in the conversation interface 51 , and the floating window 56 can change its position in the conversation interface 51 (the changed position is indicated by a dotted line in the figure). Accordingly, the first card 53 can change its position in the first conversation interface 51 dynamically.

[0119] In one embodiment, in addition to being displayed in the form of a chat bubble, the first card may also be displayed in the first conversation interface in the form of a notification message, a group message, a group to-do message, etc., which is not specifically limited in this embodiment of the present application.

[0120] Step S405: The second IM client determines a second conversation interface according to the contact information of the sending contact.

[0121] It should be understood that in step S405, after receiving the first card, the second IM client can obtain the contact information of the first user (i.e., the sender of the connection), and then determine the conversation interface between the first user and the second user, i.e., the second conversation interface. At this time, in the second conversation interface, the first user is the receiver and the second user is the sender.

[0122] It should be noted that step S404 and / or step S405 may be executed after step S403. Step S404 and step S405 may be executed simultaneously or sequentially, which is not specifically limited in the embodiment of the present application.

[0123] Step S406: The second IM client displays the first card as a received message in the second conversation interface according to the card information.

[0124] It should be understood that in step S406, the second IM client displays the first card in the second conversation interface according to the card information of the first card.

[0125] In one embodiment, the first IM client may display the first card as a received message in the second session interface. FIG. 6A to FIG. 6B This is a schematic diagram of the second conversation interface in the embodiment of the present application, see Fig. 6A In the conversation interface 61 (i.e., the second conversation interface) between the first user (denoted as A) and the second user (denoted as B), the first user is the recipient and the second user is the sender. The IM message can be displayed in the conversation interface 61 in the form of a chat bubble. Then, the second IM client can display the first card 63 in the chat bubble 62 (i.e., the second chat bubble) sent by the recipient.

[0126] In one embodiment, in step S406, when the second IM client displays the first card as a received message in the second conversation interface, the first card may be added to the second chat bubble first. The second IM client then determines a display area for the received message in the second conversation interface, that is, a received message area of ​​the second conversation interface. Finally, the second IM client displays the second chat bubble in the sent message area. For example, see Figure 6B The second IM client can first add the first card to a chat bubble, and the chat bubble after the addition is the chat bubble 63. Then, the second IM client determines the received message area 64 in the conversation interface 61, and displays the chat bubble 63 in the received message area 64.

[0127] In one embodiment, the display mode of the first card in the second conversation interface is similar to the display mode of the first card in the first conversation interface. Exemplarily, the first card can be displayed in the receiving display area of ​​the second conversation interface, or it can be displayed in other areas outside the message receiving area, such as the top, bottom, middle and other areas of the second conversation interface. Of course, it can also be displayed in any area of ​​the first conversation interface. In one embodiment, the area where the first card is displayed can be a fixed area in the second conversation interface, or it can be a dynamic area on the second conversation interface. That is, the first card can remain displayed in an area on the second conversation interface, or it can dynamically adjust the area on the second conversation interface according to the display content, user operation, etc. Of course, there can be other situations in the display area of ​​the first card on the second conversation interface, and the embodiment of the present application does not specifically limit this.

[0128] In one embodiment, the first card may have multiple co-editors, and the editing operations of other users on the first card need to be synchronized to the first user in a timely manner. In some cases, the editing operations of other users on the first card can be synchronized to the first user via IM messages. In this case, the execution steps of the first IM client can refer to Figure 4The description of the steps executed by the second IM client in the embodiment is that the card information of the second card is sent to the first IM client through the IM client associated with other users. The first IM client updates the first chat bubble according to the card information of the second card. Exemplarily, the first IM client can add the second card to the first chat bubble to update the first chat bubble. Alternatively, the first IM client can obtain the card content of the second card and update the card content of the first card in an incremental update manner, thereby updating the first chat bubble. Of course, the first IM client can also use other methods to update the first chat bubble based on the consistent version of the first card, and the embodiments of the present application do not specifically limit this.

[0129] In one embodiment, similar to the first IM client, for the second IM client, the editing operation of the first card by other users also needs to be synchronized to the second user in a timely manner. In some cases, the editing operation of the first card by other users can be synchronized to the second user via IM messages. In this case, the execution steps of the first IM client can refer to Figure 4 The description of the steps executed by the second IM client in the embodiment is that the card information of the second card is sent to the second IM client through the IM client associated with other users. The second IM client updates the second chat bubble according to the card information of the second card. Exemplarily, the second IM client can add the second card to the second chat bubble to update the second chat bubble. Alternatively, the second IM client can obtain the card content of the second card and update the card content of the first card in an incremental update manner, thereby updating the second chat bubble. Of course, the second IM client can also use other methods to update the second chat bubble based on the consistent version of the first card, and the embodiments of the present application do not specifically limit this.

[0130] In one embodiment, before S403, the document editing client may also obtain a second operation of the first user on the first card, where the second operation may be a selection operation of the second user. In response to the second operation, the document editing client determines the user selected by the first user as the second user.

[0131] It is understandable that the first user can set a sharing object for the first card, that is, the second user. Then, after the document editing client creates the first card, the first user can set the second user associated with the first card through the document editing client, and then the document editing client shares the description information of the first card with the second user.

[0132] In one embodiment, the first user may also set operation permissions for the second user. Then, the document editing client may also obtain a third operation of the first user on the first card, such as a user permission setting operation. Next, the document editing client sets operation permissions for the source document and / or the first card for the second user in response to the third operation. Afterwards, the document editing client generates permission information for the second user based on the operation permissions and sends it.

[0133] In one embodiment, the first user can pre-set the operation authority of each user, or set the user operation authority when sending the first card. Of course, the setting of user operation authority can also be other situations, and the embodiment of the present application does not specifically limit this.

[0134] At this point, the document editing client has completed the process of creating the first card for the source document and sharing it with the second user.

[0135] In the embodiment of the present application, after obtaining the card information of the first card, the first IM client sends the first card to other users (such as the second user), and displays the first card in the form of sending a message in the conversation interface (such as the chat interface) with other users. In this way, one or more second users can directly read the card content of the first card on the conversation interface like reading a chat message, without jumping to the document editing client, which facilitates user operation, improves the processing efficiency of online documents, and thus improves the user experience.

[0136] In some possible implementations, see Figure 2 , the IM client 21 includes a document editing module 211. In this case, see Figure 7 , Figure 7 This is a flow chart of another online document processing method provided in an embodiment of the present application. The online document processing method can be applied to the above-mentioned document editing system. Figure 7 The steps shown are explained.

[0137] In the embodiment of the present application, a document editing system including a first IM client, a second IM client and a document editing client is used as an example for explanation. In one embodiment, the first IM client and the second IM client can be respectively run on different electronic devices. Alternatively, the first IM client and the second IM client can be run on the same electronic device. In this case, different IM clients are associated with different user accounts, such as the first IM client is associated with the first user, and the second IM client is associated with the second user.

[0138] In one embodiment, the document editing client can be run on the same electronic device as the first IM client, or on different electronic devices. The user account associated with the document editing client and the user account associated with the first IM client can be the same or different. The user account associated with the document editing client and the user account associated with the first IM client both belong to the same user, namely, the first user.

[0139] In an embodiment of the present application, the above-mentioned online document processing method may include steps S701 to S707.

[0140] Step S701: The document editing client generates a first card.

[0141] Step S702: The document editing client sends card information of the first card to the first IM client.

[0142] Step S703: The first IM client determines to receive contact information of the contact.

[0143] Step S704: the first IM client sends the card information of the first card to the second IM client according to the contact information of the received contact, and the second IM client corresponds to the received contact.

[0144] Step S705: The first IM client displays the first card as a sent message in the first conversation interface according to the card information.

[0145] It should be noted that step S704 and / or step S705 may be performed after step S703. Step S704 and step S705 may be performed simultaneously or sequentially, which is not specifically limited in the embodiment of the present application.

[0146] Step S706: The second IM client determines a second conversation interface according to the contact information of the sending contact.

[0147] Step S707: The second IM client displays the first card as a received message in the second conversation interface according to the card information.

[0148] In one embodiment, in step S701, the first card may be created by the document editing client in response to a user operation. Then, the document editing client may also obtain a first operation of the first user on the source document, and create the first card in response to the first operation.

[0149] It should be understood that the document editing client displays the display interface of the source document, and the first user performs a first operation on the source document on the display interface. Here, the first operation can be an operation that triggers the creation of a document card. Exemplarily, the first user performs a selection operation on at least a portion of the content of the source document on the display interface, that is, the content that the first user wants to send to the second user, which can also be understood as the content to be shared. At this time, the first operation can be understood as the first user's selection operation on the document content, and the selection operation can not only select the content to be sent, but also trigger the creation of a document card. Alternatively, an operation control for creating a document card can be set on the display interface of the source document or in the operation menu of the document editing client, and the first user can select the operation control and click it. At this time, the first operation can be understood as the first user's click operation on the operation control to trigger the creation of a document card. Alternatively, the first user can also perform gesture operations on the display interface of the first document, such as sliding gestures, double-click gestures, long press gestures, etc. At this time, the first operation can be understood as the first user performing a gesture operation on the display interface of the source document to trigger the creation of a document card. Of course, the first operation can also be other operations of the first user on the source document, and the embodiment of the present application does not specifically limit this.

[0150] In one embodiment, the at least part of the content may be selected by the first user from the source document, or may be preset content in the source document, such as information of preset types such as time, location, schedule, etc. Of course, the at least part of the content may also be determined in other ways, which is not specifically limited in the embodiments of the present application.

[0151] In actual applications, the above preset type can be set by the first user in the document editing client, or it can be a default setting of the document editing client, and the embodiment of the present application does not make specific limitations on this.

[0152] In one embodiment, in step S701, after the first user performs a first operation, the document editing client determines the content that the first user wants to send to the second user, that is, at least a part of the content, from the source document in response to the first operation, and creates a first card based on the content. Alternatively, the document editing client may first create a default card in response to the first operation. At this time, the default card may not include any content, or may only include preset specific content. Then, after determining the content that the first user wants to send to the second user, the document editing client adds the content to the default card, thereby generating a first card. In one example, the above-mentioned preset specific content may be the general content of the document card, such as the creation time, card identifier, user account of the first user, etc.

[0153] For example, taking the source document as a presentation, see Fig. 8A , Fig. 8ASchematic diagram of a display interface of a presentation in an embodiment of the present application. Fig. 8A In (a), the first user can select page 1 in the presentation as the content to be shared. Then, the first user clicks on the operation control for creating a document card (i.e., the first operation) on the display interface a. The document editing client creates a first card b in response to the click operation of the first user. Fig. 8A Or, taking the source document as text, see Figure 8B , Figure 8B Schematic diagram of a text display interface in an embodiment of the present application. Figure 8B In (a), the first user can select a text segment in the document as the content to be shared. Then, the first user clicks an operation control (i.e., a first operation) for creating a document card on the display interface a. The document editing client creates a first card b in response to the click operation of the first user. Figure 8B as shown in (b).

[0154] In one embodiment, the first card can be displayed in a display interface of the source document in a variety of forms. For example, the first card can be displayed in the form of annotations, revisions, text boxes, notes, etc.

[0155] In one embodiment, in step S701, the document editing client may also determine a display area in the display interface of the source document in response to the first operation of the first user, and then the document editing client obtains display parameters of the first display area, and then creates a first card in accordance with the display parameters in a display format (or style) corresponding to the first display area, and finally, the document editing client displays the first card in the card display area.

[0156] In one embodiment, the first display area may be any area in the display interface of the source document, an area selected by the first user, a specific area, etc., which is not specifically limited in the embodiment of the present application. In one embodiment, the above-mentioned specific area may be a pre-existing area in the display interface of the source document, such as an annotation display area, a note display area, etc.

[0157] In one embodiment, the first card can be displayed in the display interface of the source document in the form of an annotation. Exemplarily, after responding to the first operation, the document editing client determines the annotation display area in the display interface of the source document, and then the document editing client obtains the display parameters of the annotation display area, such as the style parameters and size parameters of the annotation box, and then the document editing client generates a corresponding annotation box according to the display parameters and the annotation format, and adds the content to be shared to the annotation box, and finally displays the final rendered annotation box in the display interface of the source document.

[0158] In one embodiment, the first card can also be displayed or hidden in the display interface of the source document. Fig. 9 , Fig. 9 Schematic diagram of a display state of the first card in the embodiment of the present application. Fig. 9 In (a), when the first card is hidden, an operation control a1 may be displayed in the display interface a of the source document, and the first user triggers the document editing client to display the first card b by operating the operation control a1. Fig. 9 As shown in (b), the first card b is displayed in the display interface a.

[0159] In one embodiment, the first user can create multiple cards for a source document. In one embodiment, in order to facilitate the management of these cards, the document editing client can create one or more card spaces for a source document. One or more cards can be added to a card space. In one embodiment, the card space of the same source document can be divided according to the granularity of the second user, the type of content to be shared, etc. Of course, the card space can also be classified in other ways, and the embodiments of the present application do not specifically limit this.

[0160] In one embodiment, the first card may have multiple co-editors, and the editing operations of other users on the first card need to be synchronized to the first user in a timely manner. In some cases, the editing operations of other users on the first card can be synchronized to the first user via IM messages. In this case, the execution steps can be referred to in Figure 4 The description of the method steps for updating the first chat bubble in the embodiment of will not be repeated here. In other cases, the editing operations of other users on the first card can be synchronized to the first user through the document editing client. At this time, after step S702, the first IM client can receive a second card from the document editing client, where the second card is a consistent version of the first card. Then, the first IM client updates the first chat bubble based on the second card. For example, the first IM client can add the second card to the first chat bubble to update the first chat bubble. Alternatively, the first IM client can obtain the card content of the second card, and update the card content of the first card in an incremental update manner, thereby updating the first chat bubble. Of course, the first IM client can also use other methods to update the first chat bubble based on the consistent version of the first card, and the embodiments of the present application do not specifically limit this.

[0161] In one embodiment, similar to the first IM client, for the second IM client, the editing operation of the first card by other users also needs to be synchronized to the second user in a timely manner. In some cases, the editing operation of the first card by other users can be synchronized to the second user through IM messages. In this case, the execution steps can refer to Figure 4The description of the method steps for updating the second chat bubble in the embodiment is not repeated here. In other cases, the editing operations of other users on the first card can be synchronized to the second user through the document editing client. At this time, after step S704, the second IM client can receive the second card from the document editing client, where the second card is a consistent version of the first card. Then, the second IM client updates the first chat bubble based on the second card. For example, the second IM client can add the second card to the second chat bubble to update the second chat bubble. Alternatively, the second IM client can obtain the card content of the second card, and update the card content of the first card in an incremental update manner, thereby updating the second chat bubble. Of course, the second IM client can also use other methods to update the second chat bubble based on the consistent version of the first card, and the embodiments of the present application do not specifically limit this.

[0162] In some possible implementations, the first user may also set synchronization mode permissions for the first card. Then, the document editing client may obtain the first user's fourth operation on the first card, that is, setting whether the first document card is synchronized with the source document. Next, the document editing client responds to the fourth operation and sets whether the source document is synchronized with the first card. Then, in response to setting the source document to be synchronized with the first card, when the source document is updated, the document editing client may also update the first card according to the updated content of the source document, thereby updating the first chat bubble; or, in response to setting the source document to be out of sync with the first card, when the source document is updated, the document editing client keeps the first card unchanged. It should be understood that the first card may be synchronized with the first card in the document editing client, or may not be synchronized with the first card in the document editing client, and the embodiments of the present application do not specifically limit this.

[0163] In another embodiment, the above-mentioned synchronization can also be bidirectional. In response to the source document being synchronized with the first card, when the first card is updated, the source document is updated according to the updated content of the first card; or, in response to the source document being out of synchronization with the first card, when the first card is updated, the source document is kept unchanged.

[0164] In one embodiment, the first user can also manage the first card created by himself, such as deleting it. Then, at least one card of the source document can be a card created by the first user, that is, a card owned by the first user. The document editing client determines a card in an idle state from at least one card. Afterwards, the document editing client deletes the card in an idle state. Exemplarily, whether a card is in an idle state can also be determined by whether there has been no operation for a long time, whether there are no associated matters, etc. Then, the card that has not been operated within a preset time period in at least one card corresponding to the same source document can be determined to be deleted; and / or, the card that has no associated matters in multiple cards can be deleted. Of course. The first user can also perform other management operations on the first card, such as updating, restoring, etc., which are not specifically limited in the embodiments of the present application.

[0165] In the embodiment of the present application, the document editing client sends the first card to other users (such as the second user) through the first IM client, and displays the first card in the form of sending a message in the conversation interface (such as the chat interface) with other users. In this way, one or more second users can directly read the card content of the first card on the conversation interface like reading a chat message, without jumping to the document editing client, which facilitates user operation, improves the processing efficiency of online documents, and thus improves the user experience.

[0166] It should be noted that the description of the above steps 703 to S707 can be found in Figure 4 The specific description of step S402 to step S406 in the embodiment is not repeated here for the sake of brevity.

[0167] In some possible implementations, see Fig.10 , Fig.10 The flowchart of another online document processing method provided in the embodiment of the present application is as follows. The online document processing method can be applied to the above-mentioned document editing system. Fig.10 The steps shown are explained.

[0168] In the embodiment of the present application, the document editing system includes an IM client as an example for description. In one embodiment, the IM client may be the first IM client or the second IM client described in one or more of the above embodiments.

[0169] Step S1001: The IM client displays a first card in a third conversation interface.

[0170] Step S1002: The IM client displays a document editing interface in the message editing area of ​​the third conversation interface.

[0171] Step S1003: the IM client obtains the editing content input by the user in the document editing interface.

[0172] Step S1004: The IM client updates the first card displayed in the third conversation interface based on the edited content.

[0173] Here, the document editing interface corresponds to the document editing client, that is, the document editing interface is an interface provided by the document editing client for the IM client to edit the document card.

[0174] In one embodiment, the IM client may be the first IM client or the second IM client. In some cases, if the IM client is the first IM client, the contact information of the contact is the contact information of the receiving contact, and the third session interface is the first session interface. In other cases, if the IM client is the second IM client, the contact information of the contact is the contact information of the sending contact, and the third session interface is the second session interface.

[0175] It should be noted that the description of the above step 1001 can be found in Figure 4 The specific description of steps S401 to S406 in the embodiment and Figure 7 In order to simplify the description, steps S701 to S706 in the embodiment are not described in detail here.

[0176] In one embodiment, the message editing area in the third session interface is an area in the third session interface for editing IM messages. In step 1002, the IM client may display a document editing interface in the message editing interface while displaying the first card in the third session interface. Here, the document editing interface is used to edit the first card. The document editing interface may include one or more document editing components, such as controls such as font, font size, italic, bold, revision, and centering. The user can edit the content of the first card through these document editing components. For example, see Fig.11 , Fig.11 1 is a schematic diagram of a third conversation interface in an embodiment of the present application. The third conversation interface 111 includes a message display area 112 and a message editing area 113. A document editing interface 1131 may be displayed in the message editing area 113. One or more document editing components 1131a are provided in the document editing interface 1131.

[0177] In actual applications, the document editing interface may also include other document editing components, which is not specifically limited in the embodiments of the present application.

[0178] In one embodiment, in step S1003, the IM client calls the embedded document editing module and obtains the document editing interface through the document editing module. Then, the IM client displays the document editing interface in the message editing area.

[0179] In one embodiment, the document editing interface may be provided by a document editing module. In some cases, the document editing module may provide a complete document editing interface for the IM client to call. In other cases, the document editing module may provide elements for generating a document editing interface, so that the IM client can generate the document editing interface based on these elements. Of course, the IM client may also have other ways to obtain a document markup interface, which is not specifically limited in the embodiments of the present application.

[0180] In one embodiment, the document editing interface may include a message editing component in addition to the document editing component. In this case, the document editing interface may be considered to integrate the message editing function. In this way, when the document editing module provides elements for generating the document editing interface, the IM client may obtain the document editing component and the message editing component through the document editing module. Then, the IM client generates the document editing interface based on the message editing component and the document editing component.

[0181] In one embodiment, the document editing system may further include a document editing client. Then, in step S1004, the IM client may also synchronize the first card with the document editing client based on the edited content. Then, the document editing client sends the second card to the IM client. Finally, the IM client updates the first card displayed in the third conversation interface based on the second card.

[0182] It should be understood that the user's editing of the first card needs to be synchronized to multiple co-editors. In some cases, the editing of the first card can be synchronized to other users via IM messages. In this case, the execution steps can be referred to Figure 4The description of the method steps for updating the first chat bubble in the embodiment is not repeated here. In other cases, the edits of the first card can be synchronized to other users through the document editing client. At this time, after step S1003, the IM client sends the edited first card to the document editing client. Then, the document editing client generates a second card based on the edits of the first card by one or more collaborators, and sends the second card to the IM client. The IM client updates the first card displayed in the third session interface based on the second card. For example, the IM client can add the second card to the chat bubble where the first card is located. Alternatively, the IM client can obtain the card content of the second card and update the card content of the first card in an incremental update manner. Of course, the first IM client can also use other methods to update the first card in the third session interface based on the consistent version of the first card, and the embodiments of the present application do not specifically limit this.

[0183] In practical applications, the document editing module in the above embodiment is used to synchronize cards with the document editing client. The document editing module is a plug-in or interface program installed by the document editing client in the IM client, which is used to implement at least one function of the document editing client and communicate with the document editing client.

[0184] It should be noted that the description of the above steps S1001 to S1003 can be found in Figure 4 In the embodiment, steps S401 to S406 and Figure 7 The specific description of step S701 to step S707 in the embodiment is not repeated here for the sake of brevity.

[0185] Based on the same inventive concept, the present disclosure provides a document processing device, still referring to Figure 3 The processing device 355 may include: a receiving module 3551, a processing module 3552 and a sending module 3553.

[0186] In some possible implementations, the processing device 355 may be a first IM client in a document editing system of an online document or a chip or system on chip of the first IM client, or may be a functional module in the first IM client for implementing the methods described in the above implementations. The processing device 355 may implement the functions performed by the first IM client in the above implementations, and these functions may be implemented by hardware executing corresponding software. These hardware or software include one or more modules corresponding to the above functions.

[0187] Correspondingly, the receiving module 3551 is used to receive the card information of the first card sent by the document editing client, and the first card is part of the content of the source file; the processing module 3552 is used to determine the contact information of the receiving contact, and the receiving contact is at least one of the contacts of the first user; the sending module 3553 is used to send the card information to the second instant messaging client according to the contact information of the receiving contact, and the second instant messaging client corresponds to the receiving contact; the processing module 3552 is also used to display the first card as a sent message in the first session interface according to the contact information and card information of the receiving contact.

[0188] In some possible implementations, the processing module 3552 is used to determine a first conversation interface corresponding to the receiving contact based on the contact information of the receiving contact; add the first card to the first chat bubble; and display the first chat bubble in the sending message area in the first conversation interface.

[0189] In some possible implementations, the receiving module 3551 is further used to receive a second card from the document editing client, where the second card is a consistent version of the first card; the processing module 3552 is further used to update the first chat bubble based on the second card.

[0190] In some possible implementations, the processing module 3552 is used to display the first card as a sent message in the first conversation interface according to the contact information of the receiving contact, and then display the document editing interface in the message editing area in the first conversation interface; obtain the editing content entered by the user in the document editing interface; and update the first card displayed in the first conversation interface based on the editing content.

[0191] In some possible implementations, the processing module 3552 is used to synchronize the first card with the document editing client based on the edited content; receive a second card sent by the document editing client, where the second card is a consistent version of the first card; and update the first card displayed in the first session interface based on the second card.

[0192] In some possible implementations, the processing module 3552 is used to call a document editing module embedded in the first instant messaging client, the document editing module is used to implement at least a portion of the functions of the document editing client; through the document editing module, a document editing interface is obtained, the document editing interface includes at least a document editing component; and the document editing interface is displayed in the message editing area.

[0193] In some possible implementations, the document editing interface includes a document editing component and a message editing component of the first instant messaging client, the document editing component is used to edit the first card, and the message editing component is used to edit the message sent by the first instant messaging client; the processing module 3552 is used to obtain the document editing component through the document editing module; obtain the message editing component; and generate a document editing interface based on the message editing component and the document editing component.

[0194] In some possible implementations, the processing device 355 may also be a second IM client or a chip or system on chip of the second IM client in the document editing system of the online document, or a functional module in the second IM client for implementing the methods described in the above implementations. The processing device 355 may implement the functions performed by the second IM client in the above implementations, and these functions may be implemented by hardware executing corresponding software. These hardware or software include one or more modules corresponding to the above functions.

[0195] Correspondingly, the receiving module 3551 is used to receive the card information of the first card from the first IM messaging client and the contact information of the sending contact, the first card being part of the content of the source file; the processing module 3552 is used to determine the second conversation interface based on the contact information of the sending contact; and display the first card as a received message in the second conversation interface based on the card information.

[0196] In some possible implementations, the processing module 3552 is configured to add the first card to the second chat bubble; and display the second chat bubble in the received message area in the second conversation interface.

[0197] In some possible implementations, the receiving module 3551 is further used to receive a second card from the document editing client, where the second card is a consistent version of the first card; the processing module 3552 is further used to update the second chat bubble based on the second card.

[0198] In some possible implementations, the processing module 3552 is used to display a document editing interface in the message editing area of ​​the second conversation interface after displaying the first card as a received message in the second conversation interface according to the card information, wherein the document editing interface corresponds to a document editing client; obtain editing content input by the user in the document editing interface; and update the first card displayed in the second conversation interface based on the editing content.

[0199] In some possible implementations, the processing module 3552 is used to synchronize the first card with the document editing client based on the edited content; receive a second card sent by the document editing client, where the second card is a consistent version of the first card; and update the first card displayed in the second session interface based on the second card.

[0200] In some possible implementations, the processing module 3552 is used to call a document editing module embedded in the second instant messaging client, the document editing module is used to implement at least a portion of the functions of the document editing client; through the document editing module, a document editing interface is obtained, the document editing interface includes at least a document editing component; and the document editing interface is displayed in the message editing area.

[0201] In some possible implementations, the document editing interface includes a document editing component and a message editing component of the second instant messaging client, the document editing component is used to edit the first card, and the message editing component is used to edit the message sent by the first instant messaging client; the processing module 3552 is used to obtain the document editing component through the document editing module; obtain the message editing component; and generate a document editing interface based on the message editing component and the document editing component.

[0202] In some possible implementations, the processing device 355 may be an IM client in a document editing system of an online document or a chip or system on chip of an IM client, or may be a functional module in an IM client for implementing the methods described in the above-mentioned various implementations. The processing device 355 may implement the functions performed by the IM client in the above-mentioned various implementations, and these functions may be implemented by hardware executing corresponding software. These hardware or software include one or more modules corresponding to the above-mentioned functions. Exemplarily, the processing device 355 may be understood as a plug-in that can be installed with an IM client.

[0203] Correspondingly, the processing module 3552 is used to obtain the call instruction sent by the instant messaging client; the sending module 3553 is used to send the document editing object to the instant messaging client in response to the call instruction, and the document editing object is used by the instant messaging client to display the document editing interface in the message editing area of ​​the session interface; the processing module 3552 is also used to obtain the editing content corresponding to the first card sent by the instant messaging client, and the editing content is input by the user in the document editing interface; the updating module is used to update the first card based on the editing content; the sending module 3551 is also used to send the updated first card to the instant messaging client.

[0204] In some possible implementations, the document editing object includes: a document editing interface or a document editing component in the document editing interface, and the document editing component is used to edit the first card.

[0205] In some possible implementations, when the document editing object includes a document editing component in a document editing interface, the processing module 3552 is also used to generate a document editing interface based on a message editing component and a document editing component of an instant messaging client, and the message editing component is used to edit messages sent by the instant messaging client.

[0206] In some possible implementations, the receiving module 3551 is used to receive a second card from a document editing client, where the second card is a consistent version of the first card; the sending module 3552 is also used to send the second card to an instant messaging client.

[0207] In some possible implementations, the processing module 3552 is also used to synchronize the first card with the document editing client based on the edited content; the receiving module 3551 is also used to receive the second card sent by the document editing client, where the second card is a consistent version of the first card; the processing module 3552 is also used to update the first card based on the second card.

[0208] In some possible implementations, the processing device 355 may be a document editing client in a document editing system of an online document or a chip or system on chip of the document editing client, or may be a functional module in the document editing client for implementing the methods described in the above-mentioned implementations. The processing device 355 may implement the functions performed by the document editing client in the above-mentioned implementations, and these functions may be implemented by hardware executing corresponding software. These hardware or software include one or more modules corresponding to the above-mentioned functions.

[0209] Correspondingly, the processing module 3552 is used to: obtain the first operation of the first user on the source document; create a first card in response to the first operation, and the first card includes part of the content of the source document; the sending module 3553 is used to send the card information of the first card to the first instant messaging client, and the card information is used by the first instant messaging client to obtain the first card.

[0210] In some possible implementations, the receiving module 3551 is used to receive the edited content of the first card sent by the document editing module after the sending module 3553 sends the card information of the first card to the first instant messaging client; the processing module 3552 is also used to synchronize the first card with the document editing module based on the edited content; the sending module 3553 is also used to send a second card to the document editing module, and the second card is a consistent version of the synchronized first card.

[0211] In some possible implementations, the processing module 3552 is further used to: determine a first display area in the display interface of the source document in response to a first operation; obtain display parameters of the first display area; create a first card in a display format corresponding to the first display area according to the display parameters; and display the first card in the card display area.

[0212] In some possible implementations, the display area is an annotation area, and the display format is an annotation format.

[0213] In some possible implementations, the processing module 3552 is also used to: obtain the user's synchronization setting operation on the first card; in response to the synchronization setting operation, set whether the source document is synchronized with the first card; in response to the source document being synchronized with the first card, when the source document is updated, update the first card according to the updated content of the source document; or, in response to the source document being out of synchronization with the first card, when the online document is updated, keep the content of the first card unchanged.

[0214] In some possible implementations, the processing module 3552 is further used to obtain at least one card associated with the source document; determine a card in an idle state from the at least one card; and delete the card in an idle state.

[0215] It should be noted that the specific implementation process of the receiving module 3551, the processing module 3552 and the sending module 3553 can be referred to Figures 4 to 11 For the sake of brevity, the detailed description of the embodiments will not be repeated here.

[0216] The receiving module 3551 mentioned in the embodiment of the present disclosure may be a receiving interface, a receiving circuit or a receiver, etc.; the sending module 3553 may be a sending interface, a sending circuit or a transmitter, etc.; the processing module 3552 may be one or more processors.

[0217] Based on the same inventive concept, an embodiment of the present disclosure provides an electronic device, in which the first IM client, the second IM client or the document editing client described in one or more of the above embodiments can run. Fig.12 is a schematic diagram of the structure of an electronic device in an embodiment of the present disclosure, see Fig.12 As shown, the electronic device 1200 adopts general computer hardware, including a processor 1201 , a memory 1202 , a bus 1203 , an input device 1204 and an output device 1205 .

[0218] In some possible implementations, the memory 1202 may include computer storage media in the form of volatile and / or non-volatile memory, such as read-only memory and / or random access memory. The memory 1202 may store an operating system, application programs, other program modules, executable code, program data, user data, etc.

[0219] Input device 1204 can be used to input commands and information to the electronic device, such as a keyboard or a pointing device, such as a mouse, trackball, touch pad, microphone, joystick, game pad, satellite TV antenna, scanner or similar device. These input devices can be connected to processor 1201 via bus 1203.

[0220] The output device 1205 can be used for outputting information to the electronic device. In addition to the monitor, the output device 1205 can also be other peripheral output devices, such as speakers and / or printing devices. These output devices can also be connected to the processor 1201 through the bus 1203.

[0221] The electronic device may be connected to a network, such as a local area network (LAN), via antenna 1206. In a networked environment, the computer-executable instructions stored in the control device may be stored in a remote storage device, rather than being limited to local storage.

[0222] When the processor 1201 in the electronic device executes the executable code or application stored in the memory 1202, the electronic device executes the communication method on the terminal device side or the network device side in the above embodiments. The specific execution process refers to the above embodiments and will not be repeated here.

[0223] In addition, the memory 1202 stores the Figure 3 Computer execution instructions for the functions of the receiving module 3551, the processing module 3552 and the sending module 3553. Figure 3 The functions or implementation processes of the receiving module 3551, the processing module 3552 and the sending module 3553 can be realized by Fig.12 The processor 1201 in the memory 1202 calls the computer execution instructions stored in the memory 1202 to implement it. For specific implementation processes and functions, please refer to the above-mentioned related embodiments.

[0224] Based on the same inventive concept, an embodiment of the present application further provides a computer-readable storage medium, in which instructions are stored; when the instructions are executed on a computer, the online document processing method described in one or more of the above embodiments is executed.

[0225] Based on the same inventive concept, the embodiments of the present disclosure further provide a computer program or a computer program product. When the computer program product is executed on a computer, the computer implements the online document processing method described in one or more of the above embodiments.

[0226] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

[0227] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A method for processing a document, It is characterized in that The method comprises: Obtaining a first card to be shared by a first user and contact information of a second user, wherein the first card includes part of the content of a source document; Sending the first card to the second user according to the contact information of the second user; The first card is displayed as a sent message in the first conversation interface where the second user is located.

2. The processing method according to claim 1, It is characterized in that The displaying the first card as a sent message in the first conversation interface where the second user is located includes: Displaying the first conversation interface according to the contact information of the second user; Adding the first card to the first chat bubble; The first chat bubble is displayed in the sent message area in the first conversation interface.

3. The method according to claim 2, It is characterized in that The method further comprises: Obtaining a conforming version of said portion of content; Based on the consistent version, the first chat bubble is updated.

4. The method according to claim 1, It is characterized in that After displaying the first card as a sent message in the first conversation interface according to the contact information of the second user, the method further includes: Displaying a document editing interface in the message editing area of ​​the first conversation interface; Obtaining first editing content input by the first user in the document editing interface; Based on the first edited content, updating the first card; The updated first card is displayed in the first conversation interface.

5. The method according to claim 4, It is characterized in that The method further comprises: The first edited content is sent, where the first edited content is used to generate a consistent version of the partial content.

6. The method according to claim 4, It is characterized in that The displaying of the document editing interface in the message editing area in the first conversation interface includes: Calling a document editing module, wherein the document editing module is used to implement at least a part of the document editing function; Obtaining the document editing interface through the document editing module; The document editing interface is displayed in the message editing area.

7. A method for processing a document, It is characterized in that The method comprises: Receiving a first card sent by a first user, wherein the first card includes part of the content of a source document; The first card is displayed as a received message in a second conversation interface where the first user is located.

8. The method according to claim 7, It is characterized in that The displaying the first card as a received message in the second conversation interface where the first user is located includes: Obtaining contact information of the first user; Displaying the second conversation interface according to the contact information of the first user; Adding the first card to the second chat bubble; The second chat bubble is displayed in the received message area in the second conversation interface.

9. The method according to claim 8, It is characterized in that The method further comprises: Obtaining a conforming version of said portion of content; Based on the consistent version, update the second chat bubble.

10. The method according to claim 7, It is characterized in that After displaying the first card as a received message in the second conversation interface, the method further includes: Displaying a document editing interface in the message editing area of ​​the second conversation interface; Obtaining second editing content input by the user in the document editing interface; Based on the second edited content, updating the first card; The updated first card is displayed in the second conversation interface.

11. The method according to claim 10, It is characterized in that The method further comprises: The second edited content is sent, where the second edited content is used to generate a consistent version of the partial content.

12. The method according to claim 10, It is characterized in that The message editing area in the second conversation interface displays a document editing interface, including: Calling a document editing module, wherein the document editing module is used to implement at least a part of the document editing function; Obtaining the document editing interface through the document editing module; The document editing interface is displayed in the message editing area.

13. A method for processing a document, It is characterized in that The method comprises: In response to a first operation by a first user, determining a portion of the content in the source document as the content of the first card; In response to a second operation of the first user, obtaining contact information of a second user, where the second user is at least one contact of the first user; In response to a third operation of the first user, the first card and the contact information of the second user are sent, and the first card is displayed as a sent message in the conversation interface where the second user is located.

14. The method according to claim 13, It is characterized in that After the step of using part of the content in the source document as the content of the first card in response to the first operation of the first user, the method further includes: In response to a fourth operation, determining a first display area in the display interface of the source document; Obtaining display parameters of the first display area; According to the display parameters, the first card is displayed in a display format corresponding to the first display area.

15. The method according to claim 14, It is characterized in that The first display area is an annotation area, and the display format is an annotation format.

16. The method according to claim 13, It is characterized in that After sending the first card, the method further includes: Receiving third edited content of the first card by a third user; Based on the third edited content, generating a consistent version of the partial content; Send a conforming version of the partial content.

17. The method according to claim 16, It is characterized in that After generating the consistent version of the partial content based on the third edited content, the method further includes: Based on the consistent version, the first card is updated.

18. The method according to claim 13, It is characterized in that The method further comprises: Obtaining a synchronization setting operation of the first user on the first card; According to the synchronization setting operation, setting whether the source document is synchronized with the first card; When setting the source document to be synchronized with the first card, synchronizing the first card based on the consistent version of the source document; or, When the source document is set to be out of synchronization with the first card, the content of the first card is kept unchanged.

19. The method according to claim 13, It is characterized in that The method further comprises: Obtaining at least one card associated with the source document; determining a card in an idle state among the at least one card; Delete the idle card.

20. A document processing device, It is characterized in that The device comprises: A first obtaining module, used to obtain a first card to be shared by a first user and contact information of a second user, wherein the first card includes part of the content of a source document; A first sending module, configured to send the first card to the second user according to the contact information of the second user; The first display module is configured to display the first card as a sent message in a first conversation interface where the second user is located.

21. A document processing device, It is characterized in that The device comprises: A receiving module, configured to receive a first card sent by a first user, wherein the first card includes part of the content of a source document; The second display module is used to display the first card as a received message in a second conversation interface where the first user is located.

22. A document processing device, It is characterized in that The device comprises: A determination module, configured to determine, in response to a first operation of a first user, a portion of the content in the source document as the content of the first card; A second obtaining module, configured to obtain contact information of a second user in response to a second operation of the first user, where the second user is at least one contact of the first user; The second sending module is used to send the first card and the contact information of the second user in response to the third operation of the first user, and the first card is displayed as a sent message in the conversation interface where the second user is located.

23. An electronic device, It is characterized in that The electronic device comprises: A memory for storing executable instructions; A processor, configured to implement the method according to any one of claims 1 to 19 when executing the executable instructions stored in the memory.

24. A computer-readable storage medium storing executable instructions, It is characterized in that When the executable instructions are executed by a processor, the method according to any one of claims 1 to 19 is implemented.

Citation Information

Cited By

  • Interactive information display method and device, electronic equipment, storage medium and program product

    CN119781890A