Document processing method, electronic device and readable medium

By adding target documents to the content publishing interface and displaying document cards in the dynamic information interface, the problems of complex document sharing operations and inconvenient document reading are solved, and convenient document sharing and efficient document reading are achieved.

CN113672839BActive Publication Date: 2025-04-25NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111033741.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-03
Publication Date
2025-04-25
Estimated Expiration
2041-09-03

AI Technical Summary

Technical Problem

In the prior art, document sharing has a complex and long operation path in the communication platform or community in the form of information flow, and has a deep sharing entry, resulting in a small amount of user usage and inconvenient document reading.

Method used

By adding target documents corresponding to the document sharing operation in the content publishing interface and displaying document cards in the dynamic information interface, users can directly read target documents through document cards, simplifying the document publishing process and improving the convenience of document reading.

Benefits of technology

It realizes the convenience of document sharing and document reading, simplifies user operation processes, and improves user experience and document sharing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113672839B_ABST
    Figure CN113672839B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention provides a document processing method, an electronic device and a readable medium, the method comprising: when a user wants to publish a target document to a "social circle", the terminal can respond to the user's document sharing operation, add the target document corresponding to the document sharing operation in the corresponding content publishing interface, then respond to the content publishing operation, publish the content in the content publishing interface, and display the first sharing information corresponding to the target document in a preset dynamic information interface, wherein the first sharing information may include a document card corresponding to the target document, and the sharing user and the shared user can read the target document through the document card, so that the user can quickly share and access the target document, which greatly simplifies the document publishing process and improves the convenience of document publishing. At the same time, the user can browse the content corresponding to the document conveniently, quickly and completely, thereby improving the user's browsing experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a document processing method, an electronic device and a computer-readable medium. Background Art

[0002] The existing communication platforms or communities in the form of information flow on the market, including Weibo, Zhihu, WeChat social circle, etc., can mainly support the content publishing forms of text, pictures, emoticons, videos and links. The combination of different information forms is relatively thin. For example, text, pictures and videos are presented separately in Weibo and WeChat social circle, and do not support mixed text and picture arrangement, which limits the ability of expression; while Zhihu articles support mixed text and picture arrangement, but it is inconvenient for browsing users to download, save and secondary dissemination during the browsing process. In this regard, compared with the above-mentioned sharing forms, document sharing is richer in information presentation, documents support rich text editing and dynamic effects, and documents are more stable when shared and disseminated, and can completely retain and restore the original format. However, in the document sharing of communication platforms or communities, the document sharing operation path is complex and lengthy, and the sharing entrance is deep, which is a hidden function, resulting in less user usage, and there is still the problem of inconvenience in browsing after the document sharing is completed. Summary of the invention

[0003] The embodiments of the present invention provide a document processing method, an electronic device, and a computer-readable storage medium to solve or partially solve the problems of low convenience of document sharing and inconvenience of document reading in the related art.

[0004] The embodiment of the present invention discloses a method for processing a document, comprising:

[0005] In response to the document sharing operation, adding a target document corresponding to the document sharing operation in the preset content publishing interface;

[0006] In response to a content publishing operation, the content of the content publishing interface is published, and first sharing information corresponding to the target document is displayed in a preset dynamic information interface. The first sharing information at least includes a document card corresponding to the target document, and the document card is used to read the target document.

[0007] Optionally, providing a graphical user interface through an electronic terminal, the content displayed by the graphical user interface includes a content publishing interface of the first application, the content publishing interface includes a document adding control, and in response to the document sharing operation, adding a target document corresponding to the document sharing operation in a preset content publishing interface includes:

[0008] In response to a control operation of adding a control to the document, a document interface is displayed, wherein the document interface includes at least one local document;

[0009] In response to the control operation on the local document, a target document is determined, and the target document is added to the content publishing interface.

[0010] Optionally, the electronic terminal includes a file manager, and the step of responding to a control operation of adding a control to the document and displaying a document interface includes:

[0011] In response to a control operation of adding a control to the document, the file manager is called to display a document interface in the graphical user interface.

[0012] Optionally, providing a graphical user interface through an electronic terminal, wherein content displayed by the graphical user interface includes a first application interface of a first application program, wherein the first application interface includes a target document, and in response to the document sharing operation, adding a target document corresponding to the document sharing operation in a preset content publishing interface includes:

[0013] In response to the access control operation on the target document, display the document content of the target document;

[0014] In response to the document sharing operation for the target document, a content publishing interface of the first application is displayed, and the target document is added to the content publishing interface.

[0015] Optionally, the first application is configured with a publishing interface, and the step of responding to the document sharing operation for the target document, displaying a content publishing interface of the first application, and adding the target document in the content publishing interface includes:

[0016] In response to a document sharing operation for the target document, the publishing interface is called to display a content publishing interface of the first application in the graphical user interface, and the target document is added to the content publishing interface.

[0017] Optionally, the first application interface includes at least one of a session interface, a dynamic information interface and an application web page interface.

[0018] Optionally, providing a graphical user interface through an electronic terminal, wherein the content displayed by the graphical user interface includes a second application interface of a second application program, and in response to the document sharing operation, adding a target document corresponding to the document sharing operation in a preset content publishing interface includes:

[0019] Displaying the document content of the target document in the second application interface;

[0020] In response to a document sharing operation for the target document, displaying a document processing page, the document processing page at least including an application sharing path corresponding to the first application;

[0021] In response to a control operation on the application sharing path, a content publishing interface of the first application program is displayed, and the target document is added to the content publishing interface.

[0022] Optionally, in response to the content publishing operation, before publishing the content of the content publishing interface and displaying the first sharing information corresponding to the target document in a preset dynamic information interface, the method further includes:

[0023] In response to an input operation on the content publishing interface, text content corresponding to the input operation is displayed in the content publishing interface.

[0024] Optionally, in response to the content publishing operation, publishing the content of the content publishing interface and displaying the first sharing information corresponding to the target document in a preset dynamic information interface includes:

[0025] In response to the content publishing operation, the content of the content publishing interface is published, and the text content and the document card corresponding to the target document are displayed in a preset dynamic information interface.

[0026] Optionally, the content publishing interface includes a content publishing control, and in response to a content publishing operation, the content of the content publishing interface is published, and the first sharing information corresponding to the target document is displayed in a preset dynamic information interface, including:

[0027] In response to the control operation on the content publishing control, the content of the content publishing interface is published, and the first sharing information corresponding to the target document is displayed in a preset dynamic information interface.

[0028] Optionally, it also includes:

[0029] In response to the access control operation on the document card, the document content corresponding to the target document is displayed.

[0030] Optionally, in response to the access control operation on the document card, displaying the document content corresponding to the target document includes:

[0031] In response to the access control operation on the document card, acquiring the document content of the target document and the document format of the document content;

[0032] If the document format successfully matches the preset document format, displaying the document content according to the document format;

[0033] If the document format fails to match the preset document format, the document content is converted into a target document format, and the document content is displayed according to the target document format.

[0034] Optionally, it also includes:

[0035] Providing a document interaction control for the target document in the graphical user interface;

[0036] Providing an operation control for the target document in the graphical user interface, the operation control comprising at least one of the following: a document interaction control, a document collection control, and a document sharing control;

[0037] In response to a control operation on the document interaction control, determining a target document interaction control, and performing a document processing operation corresponding to the target document interaction control;

[0038] or, in response to a control operation on the document collection control, executing a document collection operation on the target document;

[0039] Or, in response to a control operation on the document sharing control, a content sharing operation on the target document is performed.

[0040] Optionally, the document sharing control includes a document forwarding control, and the step of performing a content sharing operation on the target document in response to a control operation on the document sharing control includes:

[0041] In response to a control operation on the document forwarding control, displaying a social list, the social list including at least one social friend and / or at least one social group;

[0042] In response to the control operation on the social friend, a target social friend is determined, and the target document is shared to a session window corresponding to the target social friend, and / or, in response to the control operation on the social group, a target social group is determined, and the target document is shared to a session window corresponding to the target social group.

[0043] Optionally, the document sharing control includes a document publishing control, and the step of performing a content sharing operation on the target document in response to a control operation on the document sharing control includes:

[0044] In response to a control operation on the document publishing control, displaying the content publishing interface;

[0045] In response to a content publishing operation, the content of the content publishing interface is published, and second sharing information corresponding to the target document is displayed in the dynamic information interface, where the second sharing information at least includes a document card corresponding to the target document.

[0046] Optionally, the document sharing control includes a document opening control, and the step of performing a content sharing operation on the target document in response to a control operation on the document sharing control includes:

[0047] In response to a control operation on the document opening control, displaying a document processing page, the document processing page including at least one application sharing interface;

[0048] In response to a control operation on the application sharing interface, a target application is determined, and the target document is shared with the target application.

[0049] Optionally, in response to the access control operation on the document card, displaying the document content corresponding to the target document includes:

[0050] In response to the access control operation on the document card, the document content corresponding to the target document and the document processing controls for the target document are displayed.

[0051] Optionally, providing a document processing control for the target document in the graphical user interface includes:

[0052] In response to a control operation on the document processing control, a document interaction control for the target document is provided in the graphical user interface.

[0053] Optionally, before displaying the document content corresponding to the target document in response to the access control operation on the document card, the method further includes:

[0054] Obtaining the document memory of the target document;

[0055] If the document memory is less than or equal to a preset memory threshold, preloading the target document;

[0056] The step of displaying the document content corresponding to the target document in response to the access control operation on the document card includes:

[0057] In response to the access control operation on the document card, a preset file preview service is called to display the document content corresponding to the target document.

[0058] Optionally, in response to the access control operation on the document card, displaying the document content corresponding to the target document includes:

[0059] If the document memory is greater than the preset memory threshold, in response to the access control operation on the document card, downloading the target document corresponding to the document card;

[0060] After the target document is downloaded, a preset file preview service is called to display the document content corresponding to the target document.

[0061] The embodiment of the present invention further discloses a document processing device, comprising:

[0062] A target document adding module, configured to, in response to a document sharing operation, add a target document corresponding to the document sharing operation in a preset content publishing interface;

[0063] A content publishing module is used to publish the content of the content publishing interface in response to a content publishing operation, and display the first sharing information corresponding to the target document in a preset dynamic information interface, wherein the first sharing information at least includes a document card corresponding to the target document, and the document card is used to read the target document.

[0064] Optionally, a graphical user interface is provided through an electronic terminal, and content displayed by the graphical user interface includes a content publishing interface of the first application program, the content publishing interface includes a document adding control, and the target document adding module includes:

[0065] A document interface display submodule, for responding to a control operation of adding a control to the document, and displaying a document interface, wherein the document interface includes at least one local document;

[0066] The first document adding submodule is used to respond to the control operation on the local document, determine the target document, and add the target document in the content publishing interface.

[0067] Optionally, the document interface display submodule is specifically used for:

[0068] In response to a control operation of adding a control to the document, the file manager is called to display a document interface in the graphical user interface.

[0069] Optionally, a graphical user interface is provided through an electronic terminal, and content displayed by the graphical user interface includes a first application interface of a first application program, the first application interface includes a target document, and the target document adding module includes:

[0070] A first document content display submodule, configured to display the document content of the target document in response to an access control operation on the target document;

[0071] The second document adding submodule is used to respond to the document sharing operation for the target document, display the content publishing interface of the first application, and add the target document in the content publishing interface.

[0072] Optionally, the first application is configured with a publishing interface, and the second document adding submodule is specifically used for:

[0073] In response to a document sharing operation for the target document, the publishing interface is called to display a content publishing interface of the first application in the graphical user interface, and the target document is added to the content publishing interface.

[0074] Optionally, the first application interface includes at least one of a session interface, a dynamic information interface and an application web page interface.

[0075] Optionally, a graphical user interface is provided by an electronic terminal, and the content displayed by the graphical user interface includes a second application interface of a second application program, and the target document adding module includes:

[0076] A second document content display submodule, used to display the document content of the target document in the second application interface;

[0077] A document processing page display submodule, configured to respond to a document sharing operation on the target document and display a document processing page, wherein the document processing page at least includes an application sharing path corresponding to the first application program;

[0078] The third document adding submodule is used to respond to the control operation on the application sharing path, display the content publishing interface of the first application program, and add the target document in the content publishing interface.

[0079] Optionally, the device further comprises:

[0080] The text content display module is used to respond to an input operation on the content publishing interface and display text content corresponding to the input operation in the content publishing interface.

[0081] Optionally, the content publishing module is specifically used to:

[0082] In response to the content publishing operation, the content of the content publishing interface is published, and the text content and the document card corresponding to the target document are displayed in a preset dynamic information interface.

[0083] Optionally, the content publishing interface includes a content publishing control, and the content publishing module is specifically used to:

[0084] In response to the control operation on the content publishing control, the content of the content publishing interface is published, and the first sharing information corresponding to the target document is displayed in a preset dynamic information interface.

[0085] Optionally, it also includes:

[0086] The document content display module is used to display the document content corresponding to the target document in response to the access control operation on the document card.

[0087] Optionally, the document content display module includes:

[0088] A content acquisition submodule, configured to acquire the document content of the target document and the document format of the document content in response to an access control operation on the document card;

[0089] A first display submodule, configured to display the document content according to the document format if the document format successfully matches the preset document format;

[0090] The second display submodule is used to convert the document content into a target document format if the document format fails to match the preset document format, and display the document content according to the target document format.

[0091] Optionally, it also includes:

[0092] An operation control display module, used for providing an operation control for the target document in the graphical user interface, wherein the operation control includes at least one of the following: a document interaction control, a document collection control, and a document sharing control;

[0093] A document interaction response module, configured to determine a target document interaction control in response to a control operation on the document interaction control, and execute a document processing operation corresponding to the target document interaction control;

[0094] A document collection response module, configured to execute a document collection operation on the target document in response to a control operation on the document collection control;

[0095] The document sharing response module is used to execute a content sharing operation on the target document in response to a control operation on the document sharing control.

[0096] Optionally, the document sharing control includes a document forwarding control, and the content sharing submodule is specifically used for:

[0097] In response to a control operation on the document forwarding control, displaying a social list, the social list including at least one social friend and / or at least one social group;

[0098] In response to the control operation on the social friend, a target social friend is determined, and the target document is shared to a session window corresponding to the target social friend, and / or, in response to the control operation on the social group, a target social group is determined, and the target document is shared to a session window corresponding to the target social group.

[0099] Optionally, the document sharing control includes a document publishing control, and the content sharing submodule is specifically used for:

[0100] In response to a control operation on the document publishing control, displaying the content publishing interface;

[0101] In response to a content publishing operation, the content of the content publishing interface is published, and second sharing information corresponding to the target document is displayed in the dynamic information interface, where the second sharing information at least includes a document card corresponding to the target document.

[0102] Optionally, the document sharing control includes a document opening control, and the content sharing submodule is specifically used for:

[0103] In response to a control operation on the document opening control, displaying a document processing page, the document processing page including at least one application sharing interface;

[0104] In response to a control operation on the application sharing interface, a target application is determined, and the target document is shared with the target application.

[0105] Optionally, the document content display module is specifically used to:

[0106] In response to the access control operation on the document card, the document content corresponding to the target document and the document processing controls for the target document are displayed.

[0107] Optionally, the document interaction control providing module is specifically used for:

[0108] In response to a control operation on the document processing control, a document interaction control for the target document is provided in the graphical user interface.

[0109] Optionally, the device further comprises:

[0110] A document memory acquisition module, used to acquire the document memory of the target document;

[0111] A document preloading module, configured to preload the target document if the document memory is less than or equal to a preset memory threshold;

[0112] Wherein, the document content display module is specifically used for:

[0113] In response to the access control operation on the document card, a preset file preview service is called to display the document content corresponding to the target document.

[0114] Optionally, the document content display module includes:

[0115] A document cache submodule, configured to download a target document corresponding to the document card in response to an access control operation on the document card if the document memory is greater than the preset memory threshold;

[0116] The document content display submodule is used to call a preset file preview service to display the document content corresponding to the target document after the target document is downloaded.

[0117] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0118] The memory is used to store computer programs;

[0119] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.

[0120] The embodiment of the present invention further discloses one or more computer-readable media on which instructions are stored. When executed by one or more processors, the processors are enabled to execute the method described in the embodiment of the present invention.

[0121] The embodiments of the present invention include the following advantages:

[0122] In an embodiment of the present invention, when a user wants to publish a target document to a "social circle", the terminal can respond to the user's document sharing operation, add a target document corresponding to the document sharing operation in a corresponding content publishing interface, and then respond to the content publishing operation to publish the content in the content publishing interface, and display the first sharing information corresponding to the target document in a preset dynamic information interface, wherein the first sharing information may include a document card corresponding to the target document, and the sharing user and the shared user can read the target document through the document card. Therefore, in the process of document sharing, the user can add the target document to the content publishing interface through a convenient document adding method, so that when publishing the content of the content publishing interface, the target document can be published "with one click", which greatly simplifies the document publishing process and improves the convenience of document publishing. At the same time, the user can read the target document through the document card, so that the user can browse the content corresponding to the document conveniently, quickly and completely, thereby improving the user's browsing experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0123] Figure 1 is a flowchart of a method for processing a document provided in an embodiment of the present invention;

[0124] Figure 2 is a schematic diagram of a content publishing interface provided in an embodiment of the present invention;

[0125] Figure 3 is a schematic diagram of a document interface provided in an embodiment of the present invention;

[0126] Figure 4 is a schematic diagram of a content publishing interface provided in an embodiment of the present invention;

[0127] Figure 5 is a schematic diagram of a conversation interface provided in an embodiment of the present invention;

[0128] Figure 6 is a schematic diagram of a document browsing interface provided in an embodiment of the present invention;

[0129] Figure 7 is a schematic diagram of a document browsing interface provided in an embodiment of the present invention;

[0130] Figure 8 is a schematic diagram of a document browsing interface provided in an embodiment of the present invention;

[0131] Fig. 9 is a schematic diagram of content publishing provided in an embodiment of the present invention;

[0132] Fig.10 is a schematic diagram of document processing provided in an embodiment of the present invention;

[0133] Fig.11 is a structural block diagram of a document processing device provided in an embodiment of the present invention;

[0134] Fig.12 is a block diagram of an electronic device provided in an embodiment of the present invention;

[0135] Fig.13 is a schematic diagram of a computer-readable medium provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0136] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0137] As an example, in a communication platform or community in the form of information flow, users deliberately interact with their friends by posting text, pictures, emoticons, videos, and links in a "dynamic social circle". Among them, the combination of different information forms is relatively thin, and there are certain limitations in the ability to express. In this regard, the document-based sharing format is richer in information presentation. Documents can support rich text editing and dynamic effects, and the documents are more stable when shared and disseminated, and can completely retain and restore the original format.

[0138] Among them, in one way of sharing documents, its main publishing process does not support uploading local documents, and only supports collecting documents first, then saving them as notes, and then sharing the documents. When reading documents, you need to jump to the corresponding note viewing interface before you can open the document; in another way of sharing documents, its main publishing process also does not support local documents. You can only select the corresponding document through the cloud disk, then add it to the publishing interface, and then share the document. When reading documents, you need to jump to the corresponding cloud disk page, and then read the document in the cloud disk page. It can be seen that for the first sharing method, its operation process is complicated, the path is too long, and the function entrance is deep. It is a hidden function, and the user usage is small. In addition, it is inconvenient to browse documents because it cannot read documents directly. For the second sharing method, it only supports a single cloud disk, and the sharing source is single. It is not compatible with the upload requirements of local documents. Because it relies on the cloud disk, there may be risks in data security, and it is inconvenient to browse documents because it cannot read documents directly.

[0139] In this regard, one of the core invention points of an embodiment of the present invention is that when a user wants to publish a target document to a "social circle", the terminal can respond to the user's document sharing operation, add a target document corresponding to the document sharing operation in the corresponding content publishing interface, and then respond to the content publishing operation to publish the content in the content publishing interface, and display the first sharing information corresponding to the target document in a preset dynamic information interface, wherein the first sharing information may include a document card corresponding to the target document, and the sharing user and the shared user can read the target document through the document card, so that in the process of document sharing, the user can add the target document to the content publishing interface through a convenient document adding method, so that when publishing the content of the content publishing interface, the target document can be published "with one click", which greatly simplifies the document publishing process and improves the convenience of document publishing. At the same time, the user can read the target document through the document card, so that the user can browse the content corresponding to the document conveniently, quickly and completely, thereby improving the user's browsing experience.

[0140] Reference Figure 1 , shows a flowchart of a method for processing a document provided in an embodiment of the present invention, which may specifically include the following steps:

[0141] Step 101, in response to a document sharing operation, adding a target document corresponding to the document sharing operation in a preset content publishing interface;

[0142] In an embodiment of the present invention, the document processing method can be applied to an electronic terminal, which may include a mobile terminal and a PC (Personal Computer) terminal, etc. A corresponding application can be run in the electronic terminal, and a user can share a document in the application, so that other users who have a social relationship with the sharing user in the same application can read the document. Optionally, in an embodiment of the present invention, when the electronic terminal is a mobile terminal, the corresponding control operation can be a touch operation; when the electronic terminal is a PC terminal, the corresponding control operation can be a mouse click, a sliding operation, and a keyboard input operation, etc. In the embodiment of the present invention, a mobile terminal is used as an example for illustrative description, and it can be understood that the present invention is not limited to this.

[0143] In a specific implementation, a graphical user interface that can respond to touch operations is provided through a mobile terminal. When the terminal responds to a document sharing operation, a content publishing interface can be displayed in the graphical user interface, and a target document corresponding to the document sharing operation can be added to the content publishing interface. The target document may include documents local to the terminal, such as existing documents in the terminal document manager, documents cached or preloaded by an application, etc. For documents corresponding to an application, it may include documents cached or preloaded inside the application, as well as documents cached or preloaded inside other applications other than the target application for document sharing, etc.

[0144] Among them, the content publishing interface can be an interface in the application for publishing and editing dynamic information in the "social circle". In this content publishing interface, users perform content editing operations such as text, pictures, videos, emoticons, links, audio and documents, so that when the terminal responds to detecting a document sharing operation, it can jump to the content publishing interface of the corresponding application and add the corresponding target document in the content publishing interface so as to share the target document to the "social circle" so that other users who have social relationships with the sharing user in the same application can read the target document.

[0145] It should be noted that the content publishing interface referred to in the embodiments of the present invention may be an interface for publishing and editing dynamic information in a "social circle" in a certain instant messaging application. In order to distinguish, in the following description, the application corresponding to the content publishing interface is referred to as the first application, and other applications are referred to as the second application. In addition, the first application may read the local data of the terminal after obtaining the read permission, such as local documents, local multimedia documents, local text messages, etc., which can only be read after obtaining the user's authorization, thereby ensuring the security of the terminal data.

[0146] For the document sharing operation, it can be sharing documents in the first application, or it can be sharing the browsed documents through the first application while the user is browsing the documents in the second application, so that through the document sharing within or outside the application, users can share local documents in different ways, enriching the document sharing methods and realizing the multi-scenario coverage of document sharing. Optionally, for the first application, it can be configured with functional interfaces such as publishing interface, collection interface, forwarding interface, etc. for performing different functions; the electronic terminal can include a file manager, etc., and a file preview service corresponding to the file manager, so that the first application can read the local documents in the electronic terminal by calling the file manager to realize the sharing of local documents, and can preview the documents through the file preview service; in addition, the electronic terminal can also include an inter-application sharing interface, through which data sharing between different applications can be realized, such as document sharing between the first application and the second application, etc., and the present invention does not limit this.

[0147] In an optional embodiment, for the document sharing process within an application, a graphical user interface can be provided through an electronic terminal, and the content displayed by the graphical user interface includes a content publishing interface of a first application, and the content publishing interface includes a document adding control. The terminal can respond to the control operation on the document adding control, display the document interface, and the document interface includes at least one local document. Then, in response to the control operation on the local document, determine the target document, and add the target document to the content publishing interface.

[0148] In a specific implementation, the first application may provide a "social circle" dynamic sharing portal, through which users may enter a content publishing interface, which may include several different content adding controls, such as emoticon adding controls, picture adding controls, link adding controls, tag adding controls, and document adding controls, etc.

[0149] Among them, when the user touches the tag to add a control, the terminal can display the corresponding expression page in the content publishing interface, so that the user can select the expression to be published and display it in the content publishing interface; when the user touches the picture to add a control, the terminal can display the picture interface, so that the user can select a local picture in the picture interface to share, and add it to the content publishing interface; when the user touches the link to add a control, the terminal can obtain the corresponding target link according to the user's input operation, and add it to the content publishing interface; when the user touches the tag to add a control, the terminal can obtain the corresponding target tag according to the user's input operation, and add it to the content publishing interface; when the user touches the document to add a control, the terminal can call the file manager to display the document interface in the graphical user interface, so that the user can select a local document from the document interface to share, and add the target document in the content publishing interface, so that through different content adding controls, the user can enrich the shared content by combining different information forms when sharing content.

[0150] In one example, referring to Figure 2 , shows a schematic diagram of a content publishing interface provided in an embodiment of the present invention, wherein a content publishing interface 20 is displayed through a graphical user interface of a mobile terminal, and the content publishing interface 20 includes a content editing area 210, a keyboard area 220 (not always displayed on the content publishing interface, but displayed on the content publishing interface when the user needs to enter text, and the keyboard area 220 can be folded when no text is entered), an expression adding control 230, a picture adding space 240, a link adding control 250, a tag adding control 260, and a document adding space 270, etc. The content added by the user through each content adding control or the text entered through the keyboard area 220 can be displayed in the content editing area 210. Among them, referring to Figure 3 , shows a schematic diagram of a document interface provided in an embodiment of the present invention. When a user touches a document adding control 270, the terminal can call a file manager to display a corresponding document interface 30 in a graphical user interface. The document interface 30 may include several local documents 310, from which the user can select a target document to be shared. Figure 4 , showing a schematic diagram of a content publishing interface provided in an embodiment of the present invention, in which the target document 410 (i.e., document XX) selected by the user in the previous process is added to the content publishing interface 40. After the addition is completed, the user can choose whether to complete the content editing through other content adding controls or enter some text, thereby providing corresponding document adding controls and document sharing paths, making the document sharing entrance more obvious, and through the "one-click" document adding method, the user's document sharing operation process is greatly simplified, effectively improving the efficiency and convenience of document sharing.

[0151] In addition, for the document sharing process within the application, the target document can also be shared from the first application interface of the first application. Specifically, the terminal can respond to the access control operation for the target document, display the document content of the target document, and then respond to the document sharing operation for the target document, display the content publishing interface, and add the target document in the content publishing interface.

[0152] Among them, the first application interface includes at least one of a conversation interface, a dynamic information interface and an application web page interface. The conversation interface can be a chat interface for the local user to conduct conversational communication with users of other terminals; the dynamic information interface can be a "social circle" dynamic information browsing interface, which can include dynamic information shared by the local user and / or other users; the application web page interface can be a browser page in the application, such as the interface corresponding to the user browsing articles, tweets, etc. in the first application.

[0153] In a specific implementation, during the conversation communication process, users can share documents with each other in the conversation interface; when users browse the dynamic information of the "social circle", there may be scenes where other users share documents in the dynamic information interface; when users browse the application web page, there may be document sharing in the page, etc. Therefore, when users browse documents in these interfaces, in addition to browsing the content of the document, they can also share the document to the "social circle" dynamic. Specifically, when the target document appears in these interfaces, the user can touch the corresponding target document to access the document content, and the terminal can respond to the access control operation for the target document and display the document browsing interface. The document browsing interface may include the document content corresponding to the target document and the document processing control for the target document. Then the terminal can respond to the control operation for the document processing control and display the document interaction control for the target document. Then the terminal can respond to the control operation of the document interaction control, jump to display the content publishing interface, and add the target document in the content publishing interface so that the user can share the target document.

[0154] In one example, referring to Figure 5 , shows a schematic diagram of a conversation interface provided in an embodiment of the present invention, wherein a conversation interface 50 of a first application is displayed through a graphical user interface of a mobile terminal, and the conversation interface 50 includes a target document 510 (i.e., document XX) shared during the conversation communication process, and a user can access the document content by touching the target document 510. Figure 6, showing a schematic diagram of a document browsing interface provided in an embodiment of the present invention. When a user touches the corresponding target document, the terminal can jump to display the document browsing interface 60 corresponding to the target document XX. The document browsing interface 60 may include document content 610 and a document processing control 620 (located in the upper right corner of the document browsing interface, or located in other positions, which is not limited by the present invention). When the user touches the document processing control 620, the terminal can display a floating window 630 in the document browsing interface 60. The floating window 630 may include several different document interaction controls 6301. The user can use the document interaction control 6301 to forward the target document, share it to a YY path, collect it, and open it through other applications. When the user touches the sharing control for forwarding the target document, the terminal can call the publishing interface of the first application to jump to display the content publishing interface of the first application, and display the target document in the content publishing interface. For specific diagrams, please refer to Figure 4 , so that users can share documents that appear in different scenarios within the application, and the sharing entrance is obvious and the sharing operation is simple, which greatly simplifies the operation process of users sharing documents and effectively improves the efficiency and convenience of document sharing.

[0155] In another optional embodiment, for the document sharing process outside the application, a graphical user interface can be provided through an electronic terminal, and the content displayed by the graphical user interface includes the second application interface of the second application. Then, the terminal can display the document content of the target document in the second application interface, and then respond to the document sharing operation for the target document, display the document processing page, and the document processing page at least includes the application sharing path corresponding to the first application, and then respond to the control operation for the application sharing path, display the content publishing interface of the first application, and then add the target document to the content publishing interface. Optionally, the document processing page can include application sharing paths corresponding to different applications, and the present invention is not limited to this.

[0156] In a specific implementation, the mobile terminal may include a first application and a second application. For the first application, it can open a corresponding interface for other applications to call the interface to share data, such as an inter-application sharing interface. When a user browses the document content of a target document in the second application, the browsed document can be shared by calling the inter-application sharing interface corresponding to the first application, thereby establishing an application sharing path between different applications to achieve document sharing outside the application, further enriching the document sharing method.

[0157] In one example, referring to Figure 7, showing a schematic diagram of a document browsing interface provided in an embodiment of the present invention, wherein a document browsing interface 70 of a second application is displayed through a graphical user interface of a mobile terminal, and the document browsing interface 70 may include document content 710 of a target document and a document processing control 720 (located in the upper right corner of the document browsing interface, or may be located in other locations, which is not limited by the present invention). When a user touches the document processing control 720, the terminal may display a floating window 730 in the document browsing interface 70, and the floating window 730 may include a number of different document interaction controls 7301, and the user may use the document interaction controls 7301 to forward, share, collect, and open the target document through other applications within the second application. Reference Figure 8 , showing a schematic diagram of a document browsing interface provided in an embodiment of the present invention, when a user selects to open through other applications in the floating window, the terminal can display a document processing page 810 in the document browsing interface 80, and the document processing page 810 can include sharing paths corresponding to different applications, and then the user can select the sharing path corresponding to the first application, and the terminal responds to the user's control operation on the sharing path, calls the inter-application sharing interface to jump to the first application, and then calls the publishing interface of the first application to display the content publishing interface, and adds the target document stored locally in the terminal by the second application in the content publishing interface (refer to Figure 4 ), thereby establishing sharing paths between different applications, allowing users to share documents from other applications, further enriching the document sharing path.

[0158] It should be noted that through document sharing within or outside the application, users can share local documents in different ways, enriching the document sharing methods and realizing multi-scenario coverage of document sharing. In practice, users can choose to share documents in a way that matches their own needs, and the present invention does not limit this.

[0159] Step 102, in response to the content publishing operation, publishes the content of the content publishing interface, and displays the first sharing information corresponding to the target document in a preset dynamic information interface, wherein the first sharing information at least includes a document card corresponding to the target document, and the document card is used to read the target document.

[0160] In an embodiment of the present invention, after the user completes the corresponding content editing operation in the content publishing interface, the content in the content publishing interface (including documents, texts, pictures, emoticons, links, tags, and videos, etc.) can be published, and the terminal can respond to the user's content sharing operation and display the corresponding sharing information in the corresponding dynamic information interface.

[0161] Optionally, the shared information may include information corresponding to the content in the content editing interface. The shared information can be divided into two parts. For example, text, emoticons, tags and other content are displayed as the text part, and pictures, links, videos, documents, etc. are displayed as another part, including picture thumbnails, video thumbnails, link cards and document cards, etc. The present invention is not limited to this.

[0162] Among them, a content publishing control can be provided in the content publishing interface, and the user can publish the content in the content publishing interface through the content publishing control. Specifically, after the user completes the addition of the target document in the information publishing interface, the terminal can also respond to the input operation on the content publishing interface, display the text content corresponding to the input operation in the content publishing interface, and then respond to the control operation on the content publishing control to publish the content of the content publishing interface, and display the first sharing information corresponding to the target document in the preset dynamic information interface. It can be understood that the text content can include plain text, emoticons, etc. In addition, the user can also input pictures, videos, links, etc.

[0163] In one example, referring to Fig. 9 , shows a schematic diagram of content publishing provided in an embodiment of the present invention. In a content publishing interface 901, after a user adds a corresponding target document 910 and enters a text 920 of "worth a look...", the user can publish the content in the content publishing interface through a content publishing control 930 located in the upper right corner of the content publishing interface 901. After the publishing is successful, the terminal can display a corresponding dynamic information interface 902, which includes sharing information published by the user. The sharing information includes a text content 940 "worth a look..." and a document card 950 corresponding to the target document 910. For the document card 950 corresponding to the target document in the dynamic information interface 902, the (sharing) user and other users (shared users) can directly touch the document card to access the target document. Specifically, the document content corresponding to the target document can be displayed in response to the access control operation on the document card, so that the document content of the target document can be browsed by clicking the shared document card, which greatly simplifies the document access process and improves the efficiency of document access.

[0164] Before reading the target document through the document card, the terminal can obtain the document memory of the target document. If the document memory is less than or equal to the preset memory threshold, the target document can be preloaded, so that when the user touches the document card, the terminal can respond to the user's control operation, call the system-configured file preview service, and restore the content and format of the target document to realize online viewing of the document content, and the browsing process is uninterrupted, which effectively improves the document reading efficiency; if the document memory is greater than the preset memory threshold, when the user views the target document through the document card, the terminal can respond to the access control operation, download the target document corresponding to the document card, and after the download is complete, call the system-configured file preview service to display the document content corresponding to the target document. Therefore, for documents with larger memory, the document is only cached when the user shows that he wants to browse, which effectively reduces the pressure on the local cache.

[0165] For example, assuming that the preset memory threshold is 1M, after the terminal obtains the document memory of the target document, if the document memory of the target document is less than or equal to 1M, the target document can be directly preloaded, thereby taking advantage of the small memory, small transmission volume, and fast transmission speed of the document to preload the document with small memory without the user's perception, so that when the user reads such a document, the document content of the document is quickly displayed, ensuring that the user's browsing process is not interrupted, and effectively improving the document reading efficiency; if the document memory of the target document is greater than 1M, the terminal will respond to the user's access control operation and download the corresponding target document only when the user wants to read the target document. Therefore, for documents with large memory, the terminal adopts the "user request" method to download the target document, effectively avoiding caching the target document when the user has no browsing intention, reducing the pressure on the local cache, and at the same time, through the "one-time download" method, when the user reads the same document subsequently, the terminal can read the corresponding document from the local without having to request the server again to obtain the corresponding document and then download it, effectively reducing the consumption of network traffic during the second reading of the document and ensuring the user's browsing experience.

[0166] After the target document is stored in the terminal by preloading or downloading, if the user reads the target document, the terminal can first obtain the document content of the target document and the document format of the document content. If the document format successfully matches the preset document format, the document content of the target document is directly displayed according to the document format; if the document format fails to match the preset document format, the document content is first converted into the target document format, and then the document content of the target document is displayed according to the target document format. Specifically, in the first application, it supports online preview and editing of documents in preset document formats, which may include Word format, Excel format, Powerpoint format, PDF format, etc. If the target document belongs to the aforementioned format, the terminal can directly display the document content of the target document in the corresponding format. If it does not belong to the aforementioned format, the same is converted into PDF format, and then the document content of the target document is displayed in PDF format. Therefore, on the one hand, the terminal can display the document content according to the original document format of the target document, avoid converting the document format while ensuring the integrity of the document content display, and reduce the computing resources of the terminal. On the other hand, when the format of the target document belongs to an unconventional format, the document format is converted, which can effectively ensure the integrity of the document content and improve the user's document browsing experience. In addition, the document content is displayed by restoring the document format, which effectively reduces the user's operation process and reduces the multi-layer jump operation of the interface (multiple jump interfaces within the application, or interface jumps between different applications, etc.), greatly improving the efficiency of document reading and editing.

[0167] When the user browses the document content of the target document, the terminal can display the corresponding document browsing interface through the graphical user interface. The document browsing interface can include the document content corresponding to the target document and the document processing control located in the upper right corner of the interface. When the user touches the document processing control, the terminal can provide a document interaction control for the target document on the document browsing interface, and then can respond to the control operation of the document interaction control, determine the target document interaction control, and execute the document processing operation corresponding to the target document interaction control.

[0168] Optionally, the document interaction control may include a document download control, a document collection control, and a document sharing control, wherein the document sharing control may include a document forwarding control, a document publishing control, and a document opening control, etc. Specifically, the terminal may, in response to a control operation on the document download control, call a document download interface of the first application to perform a document download operation on a target document; it may also, in response to a control operation on a document collection control, call a document collection interface of the first application to perform a document collection operation on a target document; it may also, in response to a control operation on a document sharing control, call a document sharing interface of the first application to perform a content sharing operation on a target document, etc.

[0169] Among them, when the document sharing control is a document forwarding control, the terminal can display a social list in response to a control operation on the document forwarding control, the social list includes at least one social friend and / or at least one social group, and then determine a target social friend in response to a control operation on the social friend, and share the target document to a session window corresponding to the target social friend, and / or, in response to a control operation on the social group, determine a target social group, and share the target document to a session window corresponding to the target social group, so that if the user is a first user who shares the target document, the target document can be shared with social friends who have a social relationship with the first user, and / or a corresponding social group through the document forwarding control; if the user is a second user who browses the target document from the dynamic information interface, the target document can be shared with social friends who have a social relationship with the second user, and / or a corresponding social group through the document forwarding control during the process of browsing the target document through the document card, thereby realizing secondary sharing of the target document so that other users can browse the target document.

[0170] When the document sharing control is a document publishing control, the terminal can respond to the control operation on the document publishing control, display the content publishing interface, and then respond to the content publishing operation to publish the content of the content publishing interface, and display the second sharing information corresponding to the target document in the dynamic information interface. The second sharing information at least includes a document card corresponding to the target document. If the user is the first user who shares the target document, the target document can be shared a second time through the document distribution control; if the user is the second user who browses to the target document from the dynamic information interface, the target document can be shared a second time through the document publishing control during the process of browsing the target document through the document card, thereby increasing the exposure range of the target document and allowing more users to browse the target document.

[0171] When the document sharing control is a document opening control, the terminal can respond to the control operation on the document opening control and display a document processing page, which includes at least one application sharing interface, and then respond to the control operation on the application sharing interface to determine the target application and share the target document to the target application, so that the user is the first user to share the target document, and can use the document opening control to open, share or edit the target document through other applications on the same mobile terminal; if the user is the second user who browses to the target document from the dynamic information interface, the target document can be opened, shared or edited through other applications on the same terminal through the document opening control during the process of browsing the target document through the document card, thereby realizing cross-application processing of the target document. Among them, for the cross-application processing of documents, please refer to the relevant description above, which will not be repeated here.

[0172] In one example, referring to Fig.10 , showing a schematic diagram of document processing provided in an embodiment of the present invention, the dynamic information interface 101 includes sharing information shared by a first user, and the sharing information includes text content 1011 and a document card 1012. When the first user touches the document card 1012, the terminal can display a document browsing interface 102 of a target document (i.e., document XX) corresponding to the document card 1012, and the document browsing interface 102 can include document content 1021 and a document processing control 1022 located in the upper right corner, and the user can browse by sliding the document content 1021 up and down. When the first user wants to perform other processing on the document, he can touch the document processing control 1022, and the terminal can display a corresponding floating window in the document browsing interface 102, which may include a document download control 1023, a document forwarding control 1024, a document publishing control 1025, a document collection control 1026, and a document opening control 1027, etc. Then the user can download the target document XX through the document download control 1023, collect the target document XX through the document collection control 1024, forward the target document to the corresponding social friend and / or social group corresponding session window through the document forwarding control 1025, re-publish the target document XX in YY through the document publishing control 1026, perform cross-application processing on the target document XX through the document opening control 1027, etc., so that the user can perform different document processing on the target document in the process of reading the target document through the document card, which enables the user to browse the content corresponding to the document conveniently, quickly and completely, improving the user's browsing experience, and greatly enriches the document processing method by providing different document interaction controls.

[0173] It should be noted that the embodiments of the present invention include but are not limited to the above examples. It is understandable that under the guidance of the ideas of the embodiments of the present invention, those skilled in the art can also make settings according to actual needs, and the present invention is not limited to this.

[0174] In an embodiment of the present invention, when a user wants to publish a target document to a "social circle", the terminal can respond to the user's document sharing operation, add a target document corresponding to the document sharing operation in a corresponding content publishing interface, and then respond to the content publishing operation to publish the content in the content publishing interface, and display the first sharing information corresponding to the target document in a preset dynamic information interface, wherein the first sharing information may include a document card corresponding to the target document, and the sharing user and the shared user can read the target document through the document card. Therefore, in the process of document sharing, the user can add the target document to the content publishing interface through a convenient document adding method, so that when publishing the content of the content publishing interface, the target document can be published "with one click", which greatly simplifies the document publishing process and improves the convenience of document publishing. At the same time, the user can read the target document through the document card, so that the user can browse the content corresponding to the document conveniently, quickly and completely, thereby improving the user's browsing experience.

[0175] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0176] Reference Fig.11 , shows a structural block diagram of a document processing device provided in an embodiment of the present invention, which may specifically include the following modules:

[0177] A target document adding module 1101 is used to add a target document corresponding to the document sharing operation in a preset content publishing interface in response to the document sharing operation;

[0178] The content publishing module 1102 is used to publish the content of the content publishing interface in response to the content publishing operation, and display the first sharing information corresponding to the target document in a preset dynamic information interface, wherein the first sharing information at least includes a document card corresponding to the target document, and the document card is used to read the target document.

[0179] In an optional embodiment of the present invention, a graphical user interface is provided by an electronic terminal, and the content displayed by the graphical user interface includes a content publishing interface of a first application program, and the content publishing interface includes a document adding control, and the target document adding module 1101 includes:

[0180] A document interface display submodule, for responding to a control operation of adding a control to the document, and displaying a document interface, wherein the document interface includes at least one local document;

[0181] The first document adding submodule is used to respond to the control operation on the local document, determine the target document, and add the target document in the content publishing interface.

[0182] In an optional embodiment of the present invention, the document interface display submodule is specifically used for:

[0183] In response to a control operation of adding a control to the document, the file manager is called to display a document interface in the graphical user interface.

[0184] In an optional embodiment of the present invention, a graphical user interface is provided by an electronic terminal, and content displayed by the graphical user interface includes a first application interface of a first application program, the first application interface includes a target document, and the target document adding module 1101 includes:

[0185] A first document content display submodule, configured to display the document content of the target document in response to an access control operation on the target document;

[0186] The second document adding submodule is used to respond to the document sharing operation for the target document, display the content publishing interface of the first application, and add the target document in the content publishing interface.

[0187] In an optional embodiment of the present invention, the first application is configured with a publishing interface, and the second document adding submodule is specifically used for:

[0188] In response to a document sharing operation for the target document, the publishing interface is called to display a content publishing interface of the first application in the graphical user interface, and the target document is added to the content publishing interface.

[0189] In an optional embodiment of the present invention, the first application interface includes at least one of a session interface, a dynamic information interface, and an application web page interface.

[0190] In an optional embodiment of the present invention, a graphical user interface is provided by an electronic terminal, and the content displayed by the graphical user interface includes a second application interface of a second application program, and the target document adding module 1101 includes:

[0191] A second document content display submodule, used to display the document content of the target document in the second application interface;

[0192] A document processing page display submodule, configured to respond to a document sharing operation on the target document and display a document processing page, wherein the document processing page at least includes an application sharing path corresponding to the first application program;

[0193] The third document adding submodule is used to respond to the control operation on the application sharing path, display the content publishing interface of the first application program, and add the target document in the content publishing interface.

[0194] In an optional embodiment of the present invention, the device further comprises:

[0195] The text content display module is used to respond to an input operation on the content publishing interface and display text content corresponding to the input operation in the content publishing interface.

[0196] In an optional embodiment of the present invention, the content publishing module 1102 is specifically used for:

[0197] In response to the content publishing operation, the content of the content publishing interface is published, and the text content and the document card corresponding to the target document are displayed in a preset dynamic information interface.

[0198] In an optional embodiment of the present invention, the content publishing interface includes a content publishing control, and the content publishing module 1102 is specifically used to:

[0199] In response to the control operation on the content publishing control, the content of the content publishing interface is published, and the first sharing information corresponding to the target document is displayed in a preset dynamic information interface.

[0200] In an optional embodiment of the present invention, it also includes:

[0201] The document content display module is used to display the document content corresponding to the target document in response to the access control operation on the document card.

[0202] In an optional embodiment of the present invention, the document content display module includes:

[0203] A content acquisition submodule, configured to acquire the document content of the target document and the document format of the document content in response to an access control operation on the document card;

[0204] A first display submodule, configured to display the document content according to the document format if the document format successfully matches the preset document format;

[0205] The second display submodule is used to convert the document content into a target document format if the document format fails to match the preset document format, and display the document content according to the target document format.

[0206] In an optional embodiment of the present invention, it also includes:

[0207] An operation control display module, used for providing an operation control for the target document in the graphical user interface, wherein the operation control includes at least one of the following: a document interaction control, a document collection control, and a document sharing control;

[0208] A document interaction response module, configured to determine a target document interaction control in response to a control operation on the document interaction control, and execute a document processing operation corresponding to the target document interaction control;

[0209] A document collection response module, configured to execute a document collection operation on the target document in response to a control operation on the document collection control;

[0210] The document sharing response module is used to execute a content sharing operation on the target document in response to a control operation on the document sharing control.

[0211] In an optional embodiment of the present invention, the document sharing control includes a document forwarding control, and the content sharing submodule is specifically used for:

[0212] In response to a control operation on the document forwarding control, displaying a social list, the social list including at least one social friend and / or at least one social group;

[0213] In response to the control operation on the social friend, a target social friend is determined, and the target document is shared to a session window corresponding to the target social friend, and / or, in response to the control operation on the social group, a target social group is determined, and the target document is shared to a session window corresponding to the target social group.

[0214] In an optional embodiment of the present invention, the document sharing control includes a document publishing control, and the content sharing submodule is specifically used for:

[0215] In response to a control operation on the document publishing control, displaying the content publishing interface;

[0216] In response to a content publishing operation, the content of the content publishing interface is published, and second sharing information corresponding to the target document is displayed in the dynamic information interface, where the second sharing information at least includes a document card corresponding to the target document.

[0217] In an optional embodiment of the present invention, the document sharing control includes a document opening control, and the content sharing submodule is specifically used for:

[0218] In response to a control operation on the document opening control, displaying a document processing page, the document processing page including at least one application sharing interface;

[0219] In response to a control operation on the application sharing interface, a target application is determined, and the target document is shared with the target application.

[0220] In an optional embodiment of the present invention, the document content display module is specifically used for:

[0221] In response to the access control operation on the document card, the document content corresponding to the target document and the document processing controls for the target document are displayed.

[0222] In an optional embodiment of the present invention, the document interaction control providing module is specifically used for:

[0223] In response to a control operation on the document processing control, a document interaction control for the target document is provided in the graphical user interface.

[0224] In an optional embodiment of the present invention, the device further comprises:

[0225] A document memory acquisition module, used to acquire the document memory of the target document;

[0226] A document preloading module, configured to preload the target document if the document memory is less than or equal to a preset memory threshold;

[0227] Wherein, the document content display module is specifically used for:

[0228] In response to the access control operation on the document card, a preset file preview service is called to display the document content corresponding to the target document.

[0229] In an optional embodiment of the present invention, the document content display module includes:

[0230] A document cache submodule, configured to download a target document corresponding to the document card in response to an access control operation on the document card if the document memory is greater than the preset memory threshold;

[0231] The document content display submodule is used to display the document content corresponding to the target document using a preset file preview service after the target document is downloaded.

[0232] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0233] In addition, an embodiment of the present invention further provides an electronic device, such as Fig.12 As shown, it includes a processor 1201, a communication interface 1202, a memory 1203 and a communication bus 1204, wherein the processor 1201, the communication interface 1202, and the memory 1203 communicate with each other through the communication bus 1204.

[0234] Memory 1203, used for storing computer programs;

[0235] The processor 1201 is used to implement the following steps when executing the program stored in the memory 1203:

[0236] In response to the document sharing operation, adding a target document corresponding to the document sharing operation in the preset content publishing interface;

[0237] In response to a content publishing operation, the content of the content publishing interface is published, and first sharing information corresponding to the target document is displayed in a preset dynamic information interface. The first sharing information at least includes a document card corresponding to the target document, and the document card is used to read the target document.

[0238] In an optional embodiment of the present invention, a graphical user interface is provided by an electronic terminal, and content displayed by the graphical user interface includes a content publishing interface of a first application program, and the content publishing interface includes a document adding control, and in response to a document sharing operation, adding a target document corresponding to the document sharing operation in a preset content publishing interface includes:

[0239] In response to a control operation of adding a control to the document, a document interface is displayed, wherein the document interface includes at least one local document;

[0240] In response to the control operation on the local document, a target document is determined, and the target document is added to the content publishing interface.

[0241] In an optional embodiment of the present invention, the electronic terminal includes a file manager, and the step of responding to a control operation of adding a control to the document and displaying a document interface includes:

[0242] In response to a control operation of adding a control to the document, the file manager is called to display a document interface in the graphical user interface.

[0243] In an optional embodiment of the present invention, a graphical user interface is provided by an electronic terminal, content displayed by the graphical user interface includes a first application interface of a first application, the first application interface includes a target document, and in response to a document sharing operation, adding a target document corresponding to the document sharing operation in a preset content publishing interface includes:

[0244] In response to the access control operation on the target document, display the document content of the target document;

[0245] In response to the document sharing operation for the target document, a content publishing interface of the first application is displayed, and the target document is added to the content publishing interface.

[0246] In an optional embodiment of the present invention, the first application is configured with a publishing interface, and the response to the document sharing operation for the target document is to display a content publishing interface of the first application and add the target document in the content publishing interface, including:

[0247] In response to a document sharing operation for the target document, the publishing interface is called to display a content publishing interface of the first application in the graphical user interface, and the target document is added to the content publishing interface.

[0248] In an optional embodiment of the present invention, the first application interface includes at least one of a session interface, a dynamic information interface, and an application web page interface.

[0249] In an optional embodiment of the present invention, a graphical user interface is provided by an electronic terminal, and content displayed by the graphical user interface includes a second application interface of a second application program, and in response to the document sharing operation, a target document corresponding to the document sharing operation is added to a preset content publishing interface, including:

[0250] Displaying the document content of the target document in the second application interface;

[0251] In response to a document sharing operation for the target document, displaying a document processing page, the document processing page at least including an application sharing path corresponding to the first application;

[0252] In response to a control operation on the application sharing path, a content publishing interface of the first application program is displayed, and the target document is added to the content publishing interface.

[0253] In an optional embodiment of the present invention, in response to the content publishing operation, before publishing the content of the content publishing interface and displaying the first sharing information corresponding to the target document in the preset dynamic information interface, the method further includes:

[0254] In response to an input operation on the content publishing interface, text content corresponding to the input operation is displayed in the content publishing interface.

[0255] In an optional embodiment of the present invention, in response to the content publishing operation, publishing the content of the content publishing interface and displaying the first sharing information corresponding to the target document in a preset dynamic information interface include:

[0256] In response to the content publishing operation, the content of the content publishing interface is published, and the text content and the document card corresponding to the target document are displayed in a preset dynamic information interface.

[0257] In an optional embodiment of the present invention, the content publishing interface includes a content publishing control, and in response to the content publishing operation, the content of the content publishing interface is published, and the first sharing information corresponding to the target document is displayed in a preset dynamic information interface, including:

[0258] In response to the control operation on the content publishing control, the content of the content publishing interface is published, and the first sharing information corresponding to the target document is displayed in a preset dynamic information interface.

[0259] In an optional embodiment of the present invention, it also includes:

[0260] In response to the access control operation on the document card, the document content corresponding to the target document is displayed.

[0261] In an optional embodiment of the present invention, in response to the access control operation on the document card, displaying the document content corresponding to the target document includes:

[0262] In response to the access control operation on the document card, acquiring the document content of the target document and the document format of the document content;

[0263] If the document format successfully matches the preset document format, displaying the document content according to the document format;

[0264] If the document format fails to match the preset document format, the document content is converted into a target document format, and the document content is displayed according to the target document format.

[0265] In an optional embodiment of the present invention, it also includes:

[0266] Providing a document interaction control for the target document in the graphical user interface;

[0267] Providing an operation control for the target document in the graphical user interface, the operation control comprising at least one of the following: a document interaction control, a document collection control, and a document sharing control;

[0268] In response to a control operation on the document interaction control, determining a target document interaction control, and performing a document processing operation corresponding to the target document interaction control;

[0269] or, in response to a control operation on the document collection control, executing a document collection operation on the target document;

[0270] Or, in response to a control operation on the document sharing control, a content sharing operation on the target document is performed.

[0271] In an optional embodiment of the present invention, the document sharing control includes a document forwarding control, and the step of performing a content sharing operation on the target document in response to a control operation on the document sharing control includes:

[0272] In response to a control operation on the document forwarding control, displaying a social list, the social list including at least one social friend and / or at least one social group;

[0273] In response to the control operation on the social friend, a target social friend is determined, and the target document is shared to a session window corresponding to the target social friend, and / or, in response to the control operation on the social group, a target social group is determined, and the target document is shared to a session window corresponding to the target social group.

[0274] In an optional embodiment of the present invention, the document sharing control includes a document publishing control, and the step of performing a content sharing operation on the target document in response to a control operation on the document sharing control includes:

[0275] In response to a control operation on the document publishing control, displaying the content publishing interface;

[0276] In response to a content publishing operation, the content of the content publishing interface is published, and second sharing information corresponding to the target document is displayed in the dynamic information interface, where the second sharing information at least includes a document card corresponding to the target document.

[0277] In an optional embodiment of the present invention, the document sharing control includes a document opening control, and the step of performing a content sharing operation on the target document in response to a control operation on the document sharing control includes:

[0278] In response to a control operation on the document opening control, displaying a document processing page, the document processing page including at least one application sharing interface;

[0279] In response to a control operation on the application sharing interface, a target application is determined, and the target document is shared with the target application.

[0280] In an optional embodiment of the present invention, in response to the access control operation on the document card, displaying the document content corresponding to the target document includes:

[0281] In response to the access control operation on the document card, the document content corresponding to the target document and the document processing controls for the target document are displayed.

[0282] In an optional embodiment of the present invention, providing a document processing control for the target document in the graphical user interface includes:

[0283] In response to a control operation on the document processing control, a document interaction control for the target document is provided in the graphical user interface.

[0284] In an optional embodiment of the present invention, before displaying the document content corresponding to the target document in response to the access control operation on the document card, the method further includes:

[0285] Obtaining the document memory of the target document;

[0286] If the document memory is less than or equal to a preset memory threshold, preloading the target document;

[0287] The step of displaying the document content corresponding to the target document in response to the access control operation on the document card includes:

[0288] In response to the access control operation on the document card, a preset file preview service is called to display the document content corresponding to the target document.

[0289] In an optional embodiment of the present invention, in response to the access control operation on the document card, displaying the document content corresponding to the target document includes:

[0290] If the document memory is greater than the preset memory threshold, in response to the access control operation on the document card, downloading the target document corresponding to the document card;

[0291] After the target document is downloaded, a preset file preview service is called to display the document content corresponding to the target document.

[0292] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0293] The communication interface is used for communication between the above terminal and other devices.

[0294] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0295] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0296] like Fig.13As shown, in another embodiment provided by the present invention, a computer-readable storage medium 1301 is also provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the document processing method described in the above embodiment.

[0297] In another embodiment of the present invention, a computer program product including instructions is provided. When the computer program product is run on a computer, the computer executes the document processing method described in the above embodiment.

[0298] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0299] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0300] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0301] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A document processing method, characterized in that: Providing a graphical user interface through an electronic terminal, wherein the content displayed by the graphical user interface includes a first application interface of a first application program, including: In response to the document sharing operation, adding a target document corresponding to the document sharing operation in the preset content publishing interface; In response to a content publishing operation on the content publishing interface, the content of the content publishing interface is published, and first sharing information corresponding to the target document is displayed in a preset dynamic information interface, wherein the first sharing information at least includes a document card corresponding to the target document, the document card is used to read the target document and display the document name of the target document on the document card; The method further comprises: In response to an access control operation on the document card on the dynamic information interface, displaying document content corresponding to the target document; In response to the document sharing operation, adding a target document corresponding to the document sharing operation in a preset content publishing interface includes: In response to the access control operation on the target document, display the document content of the target document; In response to the document sharing operation for the target document, a content publishing interface of the first application is displayed, and the target document is added to the content publishing interface.

2. The method according to claim 1, characterized in that The first application is configured with a publishing interface, and the response to the document sharing operation for the target document is to display a content publishing interface of the first application and add the target document in the content publishing interface, including: In response to a document sharing operation for the target document, the publishing interface is called to display a content publishing interface of the first application in the graphical user interface, and the target document is added to the content publishing interface.

3. The method according to claim 1, characterized in that The first application interface includes at least one of a session interface, a dynamic information interface and an application web page interface.

4. The method according to claim 1, characterized in that: The step of publishing the content of the content publishing interface in response to the content publishing operation on the content publishing interface and displaying the first sharing information corresponding to the target document in a preset dynamic information interface includes: In response to the content publishing operation, the content of the content publishing interface is published, and the text content and the document card corresponding to the target document are displayed in a preset dynamic information interface.

5. The method according to claim 1, characterized in that The step of displaying the document content corresponding to the target document in response to the access control operation on the document card on the dynamic information interface includes: In response to an access control operation on the document card on the dynamic information interface, acquiring document content of the target document and a document format of the document content; If the document format successfully matches the preset document format, displaying the document content according to the document format; If the document format fails to match the preset document format, the document content is converted into a target document format, and the document content is displayed according to the target document format.

6. The method according to claim 1, characterized in that Also includes: Providing an operation control for the target document in the graphical user interface, the operation control comprising at least one of the following: a document interaction control, a document collection control, and a document sharing control; In response to a control operation on the document interaction control, determining a target document interaction control, and performing a document processing operation corresponding to the target document interaction control; or, in response to a control operation on the document collection control, executing a document collection operation on the target document; Or, in response to a control operation on the document sharing control, a content sharing operation on the target document is performed.

7. The method according to claim 1, characterized in that Before displaying the document content corresponding to the target document in response to the access control operation on the document card on the dynamic information interface, the method further includes: Obtaining the document memory of the target document; If the document memory is less than or equal to a preset memory threshold, preloading the target document; The step of displaying the document content corresponding to the target document in response to the access control operation on the document card on the dynamic information interface includes: In response to the access control operation on the document card on the dynamic information interface, a preset file preview service is called to display the document content corresponding to the target document.

8. The method according to claim 7, characterized in that The step of displaying the document content corresponding to the target document in response to the access control operation on the document card on the dynamic information interface includes: If the document memory is greater than the preset memory threshold, in response to an access control operation on the document card on the dynamic information interface, downloading a target document corresponding to the document card; After the target document is downloaded, a preset file preview service is called to display the document content corresponding to the target document.

9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 8 when executing the program stored in the memory.

10. One or more computer-readable media having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method of any one of claims 1-8.