CN116974428A - Document processing method, device, terminal, medium and program product - Google Patents

Document processing method, device, terminal, medium and program product Download PDF

Info

Publication number
CN116974428A
CN116974428A CN202211489362.2A CN202211489362A CN116974428A CN 116974428 A CN116974428 A CN 116974428A CN 202211489362 A CN202211489362 A CN 202211489362A CN 116974428 A CN116974428 A CN 116974428A
Authority
CN
China
Prior art keywords
document
information
online
application interface
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211489362.2A
Other languages
Chinese (zh)
Inventor
黄铁鸣
黄小刚
陈怡晴
林莉
文琛
李斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202211489362.2A priority Critical patent/CN116974428A/en
Publication of CN116974428A publication Critical patent/CN116974428A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a document processing method, a device, a terminal, a medium and a program product, wherein the method comprises the following steps: displaying a document application interface of the social application program; displaying document information of an online document in a document application interface; in response to the information elimination operation in the document application interface, visual disturbance information in the document information is eliminated in the document application interface. By adopting the embodiment of the application, the visual interference information of the online document can be eliminated, the user can be helped to quickly locate the online document, and the document searching efficiency is improved.

Description

Document processing method, device, terminal, medium and program product
Technical Field
The present application relates to the field of computer technology, and in particular, to a document processing method, a document processing apparatus, a terminal, a computer readable storage medium, and a computer program product.
Background
The online document refers to a document which realizes online editing through the Internet; compared with the traditional document, the online document is not limited by space, and supports multi-person collaborative editing. Currently, an application program with a document function can carry operations such as document editing of an online document.
Through practice, the document application interface provided by the application program can be used for displaying document information (such as document title, creation object, creation time or abstract information and the like of the online document), but the display area of the document application interface is limited, so that a great deal of document information is unfavorable for users to focus on key document information, and the searching of the document is not efficient.
Disclosure of Invention
The embodiment of the application provides a document processing method, a device, a terminal, a medium and a program product, which can eliminate visual interference information of an online document, help a user to quickly locate the online document and improve document searching efficiency.
In one aspect, an embodiment of the present application provides a document processing method, including:
displaying a document application interface of a social application program, wherein the document application interface comprises an online document related to the social application program;
displaying document information of an online document in a document application interface;
in response to the information elimination operation in the document application interface, visual disturbance information in the document information is eliminated in the document application interface.
In another aspect, an embodiment of the present application provides a document processing apparatus, including:
The display unit is used for displaying a document application interface of the social application program, wherein the document application interface comprises an online document related to the social application program;
a processing unit for displaying document information of the online document in the document application interface;
and the processing unit is also used for eliminating visual interference information in the document application interface in response to the information elimination operation in the document application interface.
In one implementation, the document information includes at least one of: object information of a creation object of the online document, creation time of the online document, document identification of the online document, message number of unread document messages of a document session associated with the online document, and summary information of the online document;
wherein, the abstract information of the online document refers to: a document message associated with a target account number of the logged-in social application and in an unread state;
visual disturbance information refers to any one or more items of document information.
In one implementation, the visual disturbance information includes summary information of the online document; the processing unit is used for responding to the information elimination operation in the document application interface, and is particularly used for eliminating visual interference information in the document application interface:
In response to a selection operation for an online document, displaying a document content interface, wherein the document content interface contains document content of the online document;
when there is a return operation to switch from the document content interface to the document application interface, summary information of the online document is eliminated in the document content interface.
In one implementation, the visual interference information includes summary information of the online document, and the document application interface further includes a summary elimination component of the online document; the processing unit is used for responding to the information elimination operation in the document application interface, and is particularly used for eliminating visual interference information in the document application interface:
in response to a triggering operation for the summary elimination component, summary information of the online document is eliminated in the document application interface.
In one implementation, the document application interface further comprises an information elimination component corresponding to each document information of the online document; the processing unit is used for responding to the information elimination operation in the document application interface, and is particularly used for eliminating visual interference information in the document application interface:
according to the triggering operation aiming at the information elimination component, eliminating the document information corresponding to the triggered information elimination component in the document application interface;
The document information corresponding to the triggered information elimination component is visual interference information.
In one implementation, the document application interface further includes an information elimination input area, and each document information corresponds to one information category; the processing unit is used for responding to the information elimination operation in the document application interface, and is particularly used for eliminating visual interference information in the document application interface:
inputting at least one target category identification in an information elimination input area;
and eliminating the document information under the information category corresponding to each target category identification in the at least one target category identification in the document application interface.
In one implementation, the number of online documents contained in the document application interface is a plurality; the processing unit is used for eliminating visual interference information in the document application interface, and is specifically used for:
in a document application interface, eliminating visual interference information in document information of each online document in a plurality of online documents;
wherein the visual disturbance information in the document information of each online document is the same.
In one implementation, document information of an online document is displayed in a document application interface according to a first document layout style; the processing unit is further used for:
Switching document information of the online document from a first document layout style to a second document layout style in response to a layout switching operation existing in the document application interface;
and displaying the visual disturbance information of the online document in the document application interface under the second document layout style.
In one implementation, the layout switching operation includes at least one of: gesture operation, triggering operation aiming at a document layout component in a document application interface, and voice audio input operation about layout switching; wherein the gesture operation includes at least one of: and executing a moving operation of a preset track, executing a clicking operation of a preset number of times and executing a long-press operation.
In one implementation, a document application interface is displayed on a first terminal, and a target account number is logged in a social application running in the first terminal; the processing unit is further used for:
responding to an information elimination synchronization event aiming at visual interference information, and outputting an information elimination synchronization result;
wherein, the information cancellation synchronization result is used for indicating: in a document application interface displayed in the second terminal, synchronizing a result of eliminating visual interference information of the online document; a social application running in the second terminal logs in a target account; the second terminal is different from the first terminal.
In one implementation, the information cancellation synchronization event includes any one of the following: an event generated by a triggering operation performed on the information cancellation synchronization component, an event generated by an information cancellation operation performed in the document application interface, and an event generated by a gesture operation performed in the document application interface.
In one implementation, the visual disturbance information is summary information of the online document; the processing unit is further used for:
generating an information elimination notification for indicating that a document message corresponding to summary information of an online document is changed from an unread state to a read state in response to an information elimination synchronization event for visual disturbance information;
the information cancellation notification is sent to the second terminal so that the second terminal performs synchronization cancellation processing of summary information on the online document in response to the information cancellation notification.
In one implementation, a document application interface is displayed on a second terminal, and a social application running in the second terminal logs in with a target account; the information elimination operation in the document application interface includes: a cancel operation performed based on the information cancel notification synchronized from the first terminal;
the method comprises the steps that a social application program which logs in a target account number is operated in a first terminal; the information elimination notification is synchronized to the second terminal when the first terminal performs elimination of visual disturbance information on the online document in the document application interface of the social application.
In one implementation, the visual disturbance information includes summary information of the online document; the processing unit is further used for:
responding to the information elimination notice, acquiring a document message stream of a document session associated with an online document, wherein the document message stream comprises a plurality of document messages which are related to a target account and are orderly sequenced according to the sending time;
if the sending time of the first document message in the document message stream is earlier than the sending time of the information elimination notice, setting the first document message to a read state; the first document message is the last document message in the document message stream.
In one implementation, the processing unit is further configured to:
if the sending time of the first document message in the document message stream is later than the sending time of the information elimination notification, acquiring a second document message of which the sending time in the document message stream is earlier than the sending time of the information elimination notification and is closest to the sending time of the information elimination notification;
setting the second document message to a read state;
and displaying a first document message in the document application interface, wherein the first document message is summary information of the online document.
In one implementation, the visual disturbance information further includes a message number of unread document messages of the document session associated with the online document; if the number of the unread document messages of the document session associated with the online document is greater than the preset number, the information elimination notification is further used for indicating that the number of the unread document messages of the online document is updated to be the preset number;
If the sending time of the first document message in the document message stream is earlier than the sending time of the information elimination notification, the processing unit is further configured to:
setting the message number of the unread document messages stored locally as a preset number;
and eliminating the message quantity of the unread document messages corresponding to the online document in the document application interface.
In one implementation, if the sending time of the first document message in the document message stream is later than the sending time of the information elimination notification, the processing unit is further configured to:
acquiring a sending time in a document message stream, and a third document message positioned after the sending time of the information elimination notification, wherein the third document message comprises the first document message;
taking the message number of the third document message as the message number of the new unread document message;
the message number of the new unread document message is displayed in the document application interface.
In another aspect, an embodiment of the present application provides a terminal, including:
a processor adapted to execute a computer program;
a computer readable storage medium having a computer program stored therein, which when executed by a processor, implements a document processing method as described above.
In another aspect, embodiments of the present application provide a computer readable storage medium storing a computer program adapted to be loaded by a processor and to perform a document processing method as described above.
In another aspect, embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions so that the terminal performs the document processing method described above.
In the embodiment of the application, the document information of the online document can be displayed in the document application interface of the social application program, for example, the document information can comprise the object identification, the creation time, the document identification (for example, the document title) and the abstract information of the creation object of the online document. When the user has a need to eliminate part of the document information of the online document, if the user wants to quickly locate the online document according to the key information of the online document, the user can perform an information elimination operation in the document application interface, and at this time, visual interference information in the document information can be eliminated in the document application interface in response to the information elimination operation so as to preserve the key information of the online document. Therefore, the embodiment of the application can reduce the visual interference information of the online document displayed in the document application interface, so as to highlight the key information of the online document, help a user to quickly search the online document in the document application interface by using the key information, improve the document positioning efficiency and improve the user experience.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of prior art document information for displaying an online document provided by the present application;
FIG. 2a is a schematic diagram of the architecture of a document processing system provided in accordance with one exemplary embodiment of the present application;
FIG. 2b is a schematic diagram of the architecture of another document processing system provided by an exemplary embodiment of the present application;
FIG. 3 is a flow chart of a method of document processing provided in an exemplary embodiment of the application;
FIG. 4a is a document layout style schematic of a social application provided document application interface provided by an exemplary embodiment of the present application;
FIG. 4b is a document layout style schematic of a document application interface provided by another social application provided by an exemplary embodiment of the present application;
FIG. 5a is a schematic diagram of displaying a plurality of document information in a document application interface according to an exemplary embodiment of the present application;
FIG. 5b is a schematic diagram of displaying a plurality of document information in a document application interface in accordance with another exemplary embodiment of the present application;
FIG. 6 is a schematic diagram of eliminating summary information by triggering an online document, in accordance with an exemplary embodiment of the present application;
FIG. 7a is a schematic diagram of a summary elimination component triggered to eliminate summary information of an online document provided in accordance with an exemplary embodiment of the present application;
FIG. 7b is a schematic diagram of a display of a summary elimination component according to an exemplary embodiment of the application;
FIG. 7c is a schematic diagram of a display of another summary elimination component provided by an exemplary embodiment of the present application;
FIG. 8a is a schematic diagram of eliminating custom visual disturbance information for a target object according to an exemplary embodiment of the present application;
FIG. 8b is a schematic diagram of another object elimination custom visual disturbance information provided by an exemplary embodiment of the present application;
FIG. 9 is a schematic diagram of eliminating visual disturbance information of a single or batch of online documents via an information elimination input area, provided in an exemplary embodiment of the application;
FIG. 10 is a schematic diagram of a document application interface switching from a first document layout style to a second document layout style provided by an exemplary embodiment of the present application;
FIG. 11 is a flowchart of another document processing method provided by an exemplary embodiment of the present application;
FIG. 12 is a schematic diagram of a visual disturbance information synchronization cancellation provided by an exemplary embodiment of the present application;
FIG. 13 is a flow diagram of a document session for creating a target online document association from a document message in accordance with one exemplary embodiment of the present application;
FIG. 14 is a flowchart of background logic for summary information synchronization cancellation in accordance with an exemplary embodiment of the present application;
FIG. 15 is a flow chart of a method for message quantity synchronization elimination of summary information and unread document messages provided by an exemplary embodiment of the present application;
FIG. 16 is a schematic diagram of a document processing apparatus according to an exemplary embodiment of the present application;
fig. 17 is a schematic structural view of a terminal according to an exemplary embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Embodiments of the present application relate to a document, which is a file containing document contents. When documents are classified from different dimensions, the same document may be divided into different document categories. For example: documents are classified from the dimension of the document format, and documents can be classified into document categories of any of the following document formats: text category, form category, slide category, etc.; document content that may be included in a document in any document format, including, but not limited to: text, images, links, animations, forms, etc.; the text may include a plurality of characters, one or more of the characters comprising a string of characters, the characters may include at least one of: chinese characters (i.e., chinese characters), english characters (i.e., letters), numbers, and punctuation marks (e.g., comma ", period", bracket "[ MEANS FOR SOLVING").
And the following steps: documents are classified from the dimension of the document storage means, and the documents can be classified into any of the following document categories of the document storage means: online documents and plain documents. The common document can be a document which is stored in a local storage space of the terminal and does not support multi-user collaborative online editing; the common document can be acquired by other objects only when the document creator (or recipient) actively shares the common document. Compared with a common document, the online document is a document which is stored in the Internet and supports multi-user collaborative online editing; because the online document is stored in the Internet, the object can acquire the online document from the Internet at any terminal or time; the multi-person collaborative online editing may be simply referred to as multi-person collaborative editing, that is, a document editing mode in which multiple objects can edit a document at the same time or in a time-sharing manner, where any object may be referred to as a collaborative editing object.
Further, each online document is associated with a document session, and a plurality of collaborative editing objects participating in the creation and editing of the online document can be understood as session objects in the document session associated with the online document; such that multiple session objects of the same document session may conduct the document session in the online document. That is, each online document may correspond to a conversational chat that also supports the same conversational operation as an instant conversation, including, but not limited to: the method comprises the steps of setting a top online document, independently sending information (such as through @ form) to one or more collaborative editing objects in the online document, highlighting unread document information (such as document content which is edited by other collaborative objects in the document and is related to the target object) of the target object (such as red display), deleting the document content in the online document, performing comment operation in the online document, outputting edit reminding operation by the online document, and the like. For convenience of explanation, in the following embodiments, the document is taken as an online document as an example, and embodiments of the present application are described herein.
The above-mentioned documents (online documents and ordinary documents) are carried by an application program, which herein may specifically refer to a document tool having a function of creating or editing a document; the application categories to which the application programs belong are all different according to the document categories to which the documents belong. For example, when the document is an online document, the application program carrying the online document can comprise a multi-person collaborative online document tool supporting creation and editing at any time and any place, that is, collaborative editing of a plurality of collaborative editing objects on the same online document can be realized through the online document tool; alternatively, an application supporting simultaneous loading of online documents and ordinary documents may be used. An application may be a computer program that performs one or more specific tasks. The application programs are classified according to different dimensions (such as running modes, functions and the like of the application programs), so that types of the same application program under different dimensions can be obtained, wherein: (1) the applications may include, but are not limited to, by way of their manner of operation: a client installed in a terminal, an applet that can be used without downloading an installation, a web application opened through a browser, and the like. (2) Applications may include, but are not limited to, by functional type of application: IM (instant messaging) applications, content interaction applications, and the like; wherein, the instant messaging application program refers to an application program of instant messaging and social interaction based on internet, and the instant messaging application program can include but is not limited to: social applications including communication functionality, map applications including social interaction functionality, gaming applications, and the like. The content interaction application is an application capable of realizing content interaction, and may be, for example, an application such as internet banking, a sharing platform, personal space, news, and the like.
It should be noted that, the embodiment of the present application does not limit the application program carrying the online document, specifically, what type of application program is described above; for example, an application that carries an online document may be a social application (i.e., a social client) in the form of a client as mentioned above, i.e., the social application not only improves social functionality, but also improves document online editing functionality for collaborative editing of documents by multiple persons, which may be specifically an enterprise-level enterprise communication application (an enterprise-level communication and office tool). For ease of explanation, embodiments of the present application will be described below using a social application bearing an online document as an example.
In practical applications, the document application interface provided by the social application program can be used for displaying one or more online documents related to the target account number in which the social application program is logged in, and particularly displaying the document information of each online document; by online document related to a target account number for which a social application is logged in may be meant: the target object holding the target account is a collaborative editing object (e.g., creator or editor) of the online document, at which time the online document associated with the target account may also be referred to as an "I-related" document. An exemplary schematic diagram of document information displayed on-line documents in a document application interface provided by a social application program may be seen in FIG. 1; as shown in fig. 1, a plurality of online documents, namely an online document 1 and an online document 2, are displayed in the document application interface, and document information such as document identification, creation time, summary information, and the like of the online document 1 and the online document are specifically displayed. As can be readily appreciated from the document application interface shown in fig. 1, the display area of the document application interface is limited, which makes it inconvenient for the target object (any user with the target account logged in to the social application program) to search for an online document from the document application interface according to the document information when too much document information is displayed in the document application interface, resulting in lower searching efficiency of the document, and thus reducing the document searching experience of the target object.
In order to simplify the document information of the online document displayed in the document application interface, the target object is helped to quickly locate the online document from the document application interface; the embodiment of the application provides a document processing scheme which supports the elimination of visual interference information from various document information displayed by a document application interface, and reserves key document information (such as document information which is favorable for positioning an online document, such as document information of creation objects, creation time and the like) in the document information, so that a target object can quickly position and search the online document based on the reserved key information; the above mentioned visual disturbance information may be any one or more items of document information, and specific types of document information may be referred to the above related description, which is not repeated herein. The general content of the document processing scheme may include: the target object opens a document application interface for bearing an online document through a social application program; displaying an online document, in particular document information of the online document, in the document application interface; then, if the target object has a need to eliminate part of the document information of the online document, if the user wants to quickly locate the online document according to the key information of the online document, the user may perform an information elimination operation in the document application interface, at which time visual interference information in the document information may be eliminated in the document application interface in response to the information elimination operation to preserve the key information of the online document. Therefore, the embodiment of the application can reduce the visual interference information of the online document displayed in the document application interface, so as to highlight the key information of the online document, help a user to quickly search the online document in the document application interface by using the key information, improve the document positioning efficiency and improve the user experience.
Furthermore, considering that the online document is a document which can be edited online through the Internet, the embodiment of the application also supports the synchronous elimination of visual interference information. That is, when the target account number is logged in a different terminal, for example, the target account number is logged in a first terminal and a second terminal (the second terminal is different from the first terminal), after the elimination of the visual interference information of the target online document (such as any online document) under the target account number is implemented in the first terminal, the embodiment of the application further supports the synchronous elimination of the visual interference information, which is the same as the visual interference information eliminated in the first terminal, in the target online document by the second terminal. By means of the synchronous elimination mode of the visual interference information, consistency of document information of the target online documents in the first terminal and the second terminal can be maintained in real time, repeated execution of information elimination operation of the visual interference information by target objects in different terminals is avoided, document positioning time can be saved in a document positioning scene, and document positioning efficiency is improved.
In order to better understand the above-mentioned document processing scheme, the document processing scheme according to the embodiment of the present application will be described below in conjunction with an actual document processing scenario. Referring to FIG. 2a, FIG. 2a illustrates a schematic architecture of a document processing system according to an exemplary embodiment of the present application; as shown in fig. 2a, the document processing system may include a terminal and a server, and the number and names of the terminal and the server are not limited in the embodiment of the present application. Wherein:
1) The terminals may include a first terminal 201 and a second terminal 202. A social application is deployed in both the first terminal 201 and the second terminal 202, and a target account number held by a target object is logged in the social application, that is, the same target account number logs in the first terminal 201 and the second terminal 202. Terminals may include, but are not limited to: smart phones (such as Android phones, iOS phones, etc.), tablet computers, portable personal computers, mobile internet devices (Mobile Internet Devices, abbreviated as MID), smart televisions, vehicle-mounted devices, head-mounted devices, game consoles, remote controllers, street machine devices, and other smart devices capable of performing touch screens.
2) The server may be a background server 203 of the terminal (the first terminal 201 and the second terminal 202), and specifically may be a background server corresponding to a social application deployed in the terminal, and configured to interact with the terminal, so as to provide computing and application service support for the social application deployed in the terminal. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), basic cloud computing services such as big data and artificial intelligent platforms, and the like. The terminals (e.g., the first terminal 201 and the second terminal 202) and the server 203 may be directly or indirectly connected through wired or wireless communication, and the present application is not limited herein.
The document processing scheme provided by the embodiment of the application can be jointly executed by the first terminal 201 and the server 203, or jointly executed by the second terminal 202 and the server 203, or jointly executed by the first terminal 201, the second terminal 202 and the server 203; in other words, both the first terminal 201 and the second terminal 202 provided in the embodiment of the present application may implement the document processing scheme provided in the embodiment of the present application.
In the following, in connection with fig. 2a, a document processing scheme is briefly described by taking an example in which a first terminal 201, a second terminal 202 and a server 203 execute the document processing scheme together; in this implementation, after the first terminal 201 performs information cancellation on the visual interference information of the online document, the same visual interference information of the same online document may be synchronously cancelled in the second terminal 202. In a specific implementation, a target account held by a target object is in a login state in a social application deployed in the first terminal 201, and is in a login state in a social application deployed in the second terminal 202; if the target object performs an information elimination operation on visual interference information of the target online document in the document application interface of the social application program displayed in the first terminal 201, the document application interface is refreshed in the first terminal 201, and the visual interference information of the target online document is no longer displayed in the refreshed document application interface. Meanwhile, the first terminal 201 generates an information elimination request based on the target online document and the visual disturbance information, and transmits the information elimination request to the server 203, so that the server 203 sets the visual disturbance information to a hidden state in response to the information elimination request; and, the server 203 also transmits an information cancellation notification to the second terminal 202 so that the second terminal 202 synchronously cancels the visual disturbance information of the target online document in the document application interface according to the information cancellation notification.
It should be noted that, the above description only provides a general flow of the document processing scheme in conjunction with fig. 2 a; the flow may vary in the actual application scenario. For example, if the target object does not want to achieve the information cancellation synchronization after performing the information cancellation operation in the first terminal 201, the server 201 does not perform the step of generating the information cancellation notification to the second terminal 202, i.e., the second terminal 202 does not perform the synchronization cancellation of the visual disturbance information. For another example, the general flow of the document processing scheme given above is different according to the difference of the visual disturbance information; as shown in fig. 2b, it is assumed that the visual disturbance information is summary information of the online document, for example, the summary information is a content update alert message (for example, for alert target objects to update relevant content in the online document in time). First, a participating object (such as a holding participating account) participating in collaborative editing of an online document may use the third terminal 204 to edit a content update reminder message associated with a target account in the online document; then, the server 203 forwards a content update reminder message related to the target account to the first terminal 201, where the content update reminder message is an unread document message of the target account, and may be displayed as summary information of the online document in the document application interface. Further, if the target object wants to eliminate the summary information of the online document, an information elimination operation may be performed in the document application interface, at this time, the displayed document application interface is updated, and the updated document application interface does not contain the summary information of the online document any more, which may be understood as changing the default summary information from the unread state to the read state. Further, if the target object opens the document application interface through the second terminal 202, the summary information of the same online document may be synchronously eliminated based on the information elimination operation performed in the first terminal 201, so as to maintain the synchronicity of eliminating the visual interference information of the same online document under the same account in different terminals.
It should be noted that, the foregoing is described by taking a social application program that is configured by logging in a target account number in a different terminal as an example; the same target account number can also be logged in the same terminal to realize information synchronization elimination, i.e. the first terminal and the second terminal mentioned above can be the same terminal; in this implementation manner, the social application may be started in different running modes in the same terminal, such as starting the social application in a client form and starting the social application in an applet form; then after the elimination of visual disturbance information about the online document is implemented in the social application in the form of a client, the social application launched in applet form in the same terminal may synchronize the elimination of visual disturbance information for the online document.
It should be further noted that, when the embodiment of the present application is applied to a specific product or technology, for example, when visual interference information of an online document is eliminated, related information under a target account of a target object is inevitably acquired, and then permission or consent of a participating object needs to be obtained, and collection, use and processing of related data need to comply with related laws and regulations and standards of related countries and regions.
Based on the above-described document processing scheme, the embodiment of the present application proposes a more detailed document processing method, and the document processing method proposed by the embodiment of the present application will be described in detail below with reference to the accompanying drawings.
FIG. 3 illustrates a flow diagram of a document processing method provided by an exemplary embodiment of the present application; the document processing method may be performed by a first terminal or a second terminal in the document processing system shown in fig. 2a or 2b described above; for convenience of explanation, taking the first terminal to execute the document processing method as an example, the document processing method may include, but is not limited to, steps S301 to S303:
s301: a document application interface of the social application is displayed.
Wherein the document application interface is provided by a social application program, and is used for displaying an online document related to the social application program, namely the online document related to the social application program can be contained in the document application interface. By online document related to a social application is understood an online document created, edited and transceived by the social application; the embodiment of the application does not limit the specific content and type of the online document.
As described previously, the social application may be a document editing enabled application. Alternatively, when the social application program only has a document editing function, the social application program may be referred to as a document application program, specifically, an application program supporting online document editing, where the document application program provides the document application interface. Optionally, the social application may have other application functions besides the document editing function, such as a social session function, a mailing function, or a schedule setting function; in this implementation, it may be understood that the social application includes one or more sub-applications (or simply referred to as sub-applications), each of which corresponds to an application function, such as a document sub-application provided by the social application corresponds to a document editing function, where a document application interface of the social application may be provided by the document sub-application.
A schematic diagram of a document application interface provided by an exemplary social application may be seen in fig. 4a; as shown in fig. 4a, the social application includes a plurality of application functions including, but not limited to: social sub-application 401, mail sub-application 402, and document sub-application 403, etc., document application interface 404 is provided by document sub-application 403 in the social application program. Among other things, the document sub-application interface 404 contains one or more online documents related to the social application, such as online document 1 created by the document sub-application 403, online document 2 created by other document applications and opened by the social application, and so on.
Further, the embodiment of the application also supports classifying a plurality of online documents related to the social application program according to the attribution attribute of the online documents; the online documents related to the social application may be subdivided into online documents related to the target account and documents unrelated to the target account, based on the attribute of the online documents. For example, if any online document is created by a target object corresponding to the target account, or is created by another participating object and invites the target object corresponding to the target account to participate in editing, determining that the attribute of any online document includes the target account, that is, the online document is related to the target account; for another example, if any online document is created by other participating objects and does not support multi-person collaborative editing, or the target object is not required to participate in collaborative editing, it is determined that the attribute of any online document does not include the target account number, that is, the online document is not related to the target account number.
The above-described schematic diagram of classifying online documents according to their home properties may be continued with reference to fig. 4a, where a document classification area 4041 and a document list area 4042 are included in the document application interface 404. The document classification area 4041 may include the attribute identifier described above, such as attribute identifier "related to me" and attribute identifier "commonly used" and so on; when any of the home attribute identifications in the document classification area 4041 is selected, the online document under the corresponding home attribute of the selected home attribute identification in the document classification area 4041 is displayed in the document list area 4042. For example, the document classification area 4041 may contain the aforementioned attribute-attribute identifier described above, which may include "me-related" indicating that the online document under the attribute corresponding to the attribute-attribute identifier is a target account-related document, then when the "me-related" attribute-attribute identifier is selected, one or more online documents related to the target account are displayed in the document list area 4042; wherein, one or more online documents may be displayed in a sequence according to a preset rule, such as in a sequence from late to early in creation time, such as in a classification display of creation objects, and the like, which embodiments of the present application do not limit. As can be seen from the above description, the document classification area 4041 can combine the attribute identifiers corresponding to different attribute identifiers into one interface for display, so that the path for switching the attribute identifiers can be shortened to a certain extent, and the selection of the attribute identifiers by the target object is facilitated compared with the case that the attribute identifiers corresponding to different attribute identifiers are displayed on different interfaces.
It should be noted that (1) in the embodiment of the present application, as shown in fig. 4a, the attribute identifiers corresponding to different attribute identifiers are displayed in the same area (document classification area), and the document layout style of the selected attribute identifier in the document classification area is displayed in the document list area, which is called the first document layout style. The first document layout style can realize that the online document with the attribute identifier corresponding to the attribute identifier is displayed in a full screen or semi-full screen mode in the document application interface, so that the first document layout style can be called a full screen view (or full screen layout style and the like), and when the online document is displayed in the full screen view, the online document is conveniently searched from the online document list by expanding the display area of the online document, and the document searching experience of the target object is improved. (2) FIG. 4a is a schematic diagram of an exemplary document application interface according to an embodiment of the present application, where the display position and display style of the content included in the document application interface may also be changed in practical applications; for example, the document classification area and the document list area may be displayed side by side in the vertical direction as shown in fig. 4b, in addition to being displayed side by side in the horizontal direction as shown in fig. 4 a.
S302: document information of the online document is displayed in the document application interface.
The document information of the online document may include at least one of: object information of a creation object of the online document, document identification of the online document, creation time of the online document, message number of unread document messages of a document session associated with the online document, and summary information of the online document, etc. The following will briefly describe each document information given above, in which:
(1) the object information of the created object may include a flag for uniquely identifying the identity of the created object, such as an object identification (e.g., an object nickname or an object number) of the created object. (2) Similar to the object information of the created object, the document identification of the online document may be used to uniquely identify a flag of the online document, such as a document name or a document ID, etc. The creation time of the online document may refer to the time when the creation object successfully creates the online document, and the creation time may be specifically accurate to a certain day (or a certain month, a certain time). (3) The number of unread document messages for a document session associated with an online document may refer to the number of document messages related to a target account number edited by other collaborative editing objects participating in online document editing and not read by the target object; for example, if the creator of the online document edits a document message for an information update reminder in the online document and wishes that the information update reminder can be used to remind all collaborative editing objects regarding the online document, the target object corresponding to the target account may also receive the document message for the information update reminder, and when the target object receives and does not read the document message, it is determined that the document message is a message that is related to the target account and that is not read. (4) Summary information of an online document refers to: document messages (edited by other collaborative editing objects participating in the online document or by the target object itself) related to the target account number of the logged-in social application and in an unread state; and may specifically refer to the last document message in the one or more pieces of document information received by the target account and related to the target account and in an unread state. For example, collaborative editing objects for a target online document include: the method comprises the steps of participating in an object 1, participating in the object 2 and a target object, if the participating in the object 1 edits a document message 1 related to a target account corresponding to the target object in a target online document through the participating account 1, the participating in the object 2 edits a document message 2 related to the target account corresponding to the target object in the target online document through the participating account 2, and the time of editing the document message 1 by the participating in the object 1 is earlier than the time of editing the document message 2 by the participating in the object 2, determining that the last document message related to the target account received by the target account is the document message 2, and taking the document message 2 as abstract information of the target online document under the target account.
An exemplary schematic diagram of a plurality of document information of the online document given above and displayed together in the document application interface may be seen in fig. 5a; as shown in fig. 5a, an online document 1, specifically, document information of the online document 1 is displayed in the document application interface; the document information of the online document is "object identification" is "creator 1", the document information of the online document is "document identification" is "online document 1", the number of messages of the document information of the online document, which is "unread document message," is "1", and the document information of the online document is "abstract information" which is "@ target object is" to-be-handled.
Notably, the document information of the different online documents may be different, and with continued reference to fig. 5a, if the online document 2 under the target account does not have an unread document message, then the document information of the online document 2 does not include the "message number of unread document messages" at this time. In addition, the embodiment of the application does not limit the display position and the display style of the document information in the document application interface; as shown in fig. 5b, the embodiment of the present application further supports that the document information "document identification" and other document information are displayed in two rows that are displayed side by side along the vertical direction (this is beneficial to enabling the target object to intuitively sense the document identification of the online document when browsing the document application interface, so that the online document can be quickly located according to the document identification), or that each document information is separately displayed in one row, etc.; this is not limited thereto. In addition, the document information of the online document provided by the embodiment of the present application is not limited to the above-mentioned several exemplary document information, and the above-mentioned several document information does not limit the embodiment of the present application.
S303: in response to the information elimination operation in the document application interface, visual disturbance information in the document information is eliminated in the document application interface.
Considering that the display area of the document application interface is limited, excessive document information can cause that a target object is not easily focused on key document information when the document application interface is displayed; by critical document information may be meant that part of the document information of the online document that is of interest to the target object, e.g. the target object has the need to find the online document based on the document identification, which may then be regarded as critical document information of the online document. Therefore, the embodiment of the application supports the elimination of the visual disturbance message of the online document in the document application interface so as to help the target object focus the rest key document information.
The visual disturbance information may refer to any one or more items of document information shown in step S302. Optionally, the visual interference information may be preset by a service person; for example, the business person uniformly sets default visual disturbance information of the online document as document information "summary information". Optionally, the visual interference information may be customized by the subject according to the requirements; for example, when the object 1 wants to view the creation time of the online document 1, the object 2 wants to view the object identification of the creation object of the online document 2, the document identification and creation time of the online document 1 are the critical document information for the object 1, while the other document information is the visual disturbance information, and the document identification of the online document 2 and the object identification of the creation object are the critical document information for the object 2, while the other document information is the visual disturbance information. The following describes a specific implementation procedure for eliminating visual disturbance information determined in the two modes, wherein:
(1) The visual disturbance information is preset by a business person, for example, the visual disturbance information defaults to abstract information of an online document. As can be seen from the foregoing description, the summary information of the online document is the document information related to the target account number and in an unread state; when there are a plurality of pieces of unread document information, the summary information is specifically the last piece of document information among the plurality of pieces of document information. The principle of eliminating the summary information of the online document in the document application interface is to change the summary information from an unread state to a read state; that is, when the document information corresponding to any summary information is read by the target object (i.e. in a read state), the any summary information is not displayed in the document application interface any more, that is, the summary information is eliminated.
In one implementation, the target object may trigger the online document to effect elimination of summary information for the online document. In a specific implementation, the target object may perform a selection operation on the online document in the document application interface, and at this time, in response to the selection operation on the online document, a document content interface is displayed, where the document content interface includes document content of the online document, and indicates that the target object has read a document message corresponding to summary information of the online document. Then summary information for the online document is eliminated in the document content interface when there is a return operation to switch from the document content interface to the document application interface. In other words, in response to the triggering operation of the target object on the online document, a document content interface of the online document can be displayed, the document content of the online document is displayed in the document content interface, and document information corresponding to the abstract information of the online document is contained in the document content, so that reading of the document information is realized; when the document content interface of the online document returns to the document application interface, the document information corresponding to the abstract information of the online document is determined to be changed from an unread state to a read state, and the abstract information of the online document is not displayed in the document application interface displayed at the moment.
The interface flow diagram of the specific implementation process of eliminating summary information by triggering an online document described above can be seen in fig. 6; as shown in fig. 6, document information of the online document 1 is displayed in the document application interface, including summary information 601"@ target object of the online document is to-do. In response to the selection operation of the target object for the online document 1, a document content interface 602 for displaying the online document 1 is triggered, where the document content interface 602 is used to display document content of the online document 1, and a document message 603 corresponding to summary information of the online document 1 is included in the document content, and it is determined that the target object has read the document message 603. When a return operation to switch from the document content interface 602 to the document application interface is detected, if the return operation is generated when the closing component 6021 in the document content interface 602 is triggered, the document application interface is displayed, and the summary information 601 of the online document 1 in the document application interface is no longer displayed, so that the summary information is eliminated.
The method for eliminating the abstract information by triggering the online document does not need the target object to learn new elimination operation again, namely the target object can continue the original reading habit, so that the abstract information can be eliminated, and the elimination of the abstract information does not need to increase the learning cost.
In other implementations, a summary elimination component is supported that eliminates summary information for an online document by triggering the online document. In particular implementations, a summary elimination component (or control, button, or option) of the online document is also included in the document application interface, and is associated with summary information of the online document. When the target object has the requirement of eliminating the summary information of the online document, the target object can directly trigger the summary elimination component, and at the moment, the terminal (the first terminal or the second terminal) responds to the triggering operation of the target object for the summary elimination component, so that the summary information of the online document can be eliminated in the document application interface.
An exemplary schematic of the elimination of summary information of an online document by triggering a summary elimination component can be seen in FIG. 7a; as shown in fig. 7a, a summary elimination component 701 corresponding to summary information of the online document 1 is displayed in the document application interface, and the summary elimination component 701 may be specifically displayed at a position adjacent to the summary information of the online document 1. In response to a triggering operation of the target object for the digest removal component 701, the digest information of the online document 1 may be deleted in the document application interface.
The method for eliminating the abstract by triggering the abstract eliminating component can improve the speed and efficiency of abstract information to a certain extent and improve the object experience.
It should be understood that (1) the display location of the digest removal component 701 is not limited, as the digest removal component may be displayed at any display location on the line of the online document 1.
(2) The digest elimination component 701 may change from a hidden state to an revealed state; as shown in fig. 7b, when a cursor (a device such as a mouse or an electronic pen, etc. is located at any display position in the area where the summary information is located, the summary elimination component 701 corresponding to the summary information is changed from a hidden state to a display state, and at this time, a triggering operation may be performed on the summary elimination component 701. As shown in fig. 7c, if any display position in the area where the online document is located (e.g., any display position in the area where the summary information is located) is subjected to an activation operation (e.g., a right-click operation or a long-press operation, a double-click operation, etc.), a tool window 702 of the online document is displayed, and at this time, a summary elimination component 701 corresponding to the summary information may be displayed in the tool window 702. The foregoing schematic diagrams are only used to provide possible display modes and display styles of the summary elimination component according to the embodiments of the present application, and the embodiments of the present application are not limited thereto, and are specifically described herein.
(3) The above implementation is described by taking the example of eliminating the visual interference information of a single online document; the number of the online documents contained in the document application interface can be multiple, and at the moment, the embodiment of the application also supports the batch elimination of the visual interference information of the multiple online documents; the method specifically comprises the steps of eliminating visual interference information in document information of each online document in a plurality of online documents in a document application interface; wherein the eliminated visual disturbance information is the same in the document information of each online document. For example, a summary elimination component at an interface level is included in the document application interface; when the summary elimination component of the interface is triggered, summary information in document information of all online documents can be eliminated in the document application interface. By eliminating the summary information of a plurality of online documents in batches, the target object can be prevented from executing the same operation on the summary information of each online document, and the elimination efficiency and speed of the summary information are improved.
In summary, through the two specific implementation processes provided above, the summary information of the online document can be eliminated in the document application interface; it will be appreciated that the manner in which summary information of an online document is eliminated may also vary, and that embodiments of the present application are not exhaustive.
(2) Visual disturbance information is customized by the subject as required. That is, the visual disturbance information is different for the information elimination requirement of different objects. For example, assume that document information of an online document includes: the document identification of the online document, the object identification of the creation object of the online document and the creation time of the online document, and the collaborative editing object 1 and the collaborative editing object 2 can all participate in the document editing of the online document; if the collaborative editing object 1 has the requirement of acquiring an online document created by a certain creation object, for the collaborative editing object 1, the object identification of the creation object of the online document is key document information, and the document identification of the online document and the creation time of the online document are visual interference information; similarly, if the collaborative editing object 2 has a need to acquire an online document created within a certain time, the creation time of the online document is critical document information for the collaborative editing object 2, and the document identification of the online document and the object identification of the creation object of the online document are visual disturbance information.
Taking a collaborative editing object as a target object, the following description will give a few exemplary implementation processes for eliminating visual disturbance information customized by the target object, wherein:
In one implementation, the corresponding document information is eliminated by triggering the information elimination component corresponding to different document information, and the document information corresponding to the triggered information elimination component is visual interference information. In the specific implementation, the document application interface also comprises an information elimination component corresponding to each document information of the online document, namely, one document information corresponds to one information elimination component; if the target object performs a triggering operation on the information elimination component in the document application interface, the terminal (the first terminal or the second terminal) eliminates the document information corresponding to the triggered information elimination component in the document application interface according to the triggering operation on the information elimination component, namely, does not display the document information corresponding to the triggered information elimination component in the document application interface.
An exemplary target object diagram for eliminating custom visual disturbance information can be seen in FIG. 8a; as shown in fig. 8a, it is assumed that document information of an online document includes: document identification of the online document, abstract information of the online document, and creation time of the online document; and when the target object performs triggering operation on one or more information elimination components (such as the information elimination component of the creation time and the information elimination component of the abstract information) in the document application interface, the target object indicates that the target object wants to eliminate the document information corresponding to the triggered information elimination component, and at the moment, the document information corresponding to the triggered information elimination component is deleted in the document application interface.
It should be noted that, similar to the display manner of the summary information component of the summary information described in the foregoing implementation (1), in the embodiment of the present application, the information cancellation component of each document information may be in a hidden state, and only when an activation operation for the information cancellation component is detected, the hidden information cancellation component is revealed, so that a limited interface area may be effectively utilized, and the visual effect of the document application interface is more concise.
It is also noted that the above implementation is described by taking as an example the elimination of visual disturbance information of a single online document; similar to the above-described related descriptions, the number of online documents included in the document application interface may be plural, and thus the embodiment of the present application also supports the elimination of visual disturbance information of plural online documents in batches. In a specific implementation, each document information corresponds to an information category, such as a document identification category (representing the name of a document) corresponding to document information "document identification", a summary category corresponding to document information "summary information", and the like; therefore, the embodiment of the application supports the display of the category eliminating component corresponding to each information category in the document application interface (as shown in fig. 8 b), and eliminates the document information corresponding to the triggered category eliminating component in all online documents in the document application interface in response to the triggering operation of any one or more category eliminating components, so as to realize the batch elimination of the same visual interference information in a plurality of online documents, and improve the elimination efficiency and speed of the visual interference information in different online documents.
Therefore, the embodiment of the application supports different collaborative editing objects to self-define and eliminate visual interference information according to the information elimination requirement of the collaborative editing objects, meets the personalized information elimination requirement of the collaborative editing objects, and improves the information elimination experience of the collaborative editing objects.
In other implementations, the elimination of visual disturbance information of an online document by an input method is supported, and at this time, the document information input by the target object is the visual disturbance information. In the specific implementation, each piece of document information corresponds to one information category, and an information elimination input area is included in a document application interface; then the target object may input at least one target category identification (information that may be used to uniquely identify an information category, such as icon, text, or animation) in the information elimination input area, where the target category identification may be a category identification of any one of the information categories corresponding to the document information of the online document; at this time, in response to the target category identifiers input by the target object in the information elimination input area, the target category identifiers can be eliminated in the document application interface, and the document information under the information category corresponding to each target category identifier in the at least one target category identifier.
Similar to the batch elimination of visual disturbance information for multiple online documents described above, embodiments of the present application support the elimination of visual disturbance information for individual or batches of online documents via an information elimination input area. An exemplary schematic diagram of eliminating visual disturbance information of a single or batch of online documents via an information elimination input area may be seen in FIG. 9. As shown in fig. 9, first, a target object may select all or part of an online document from which visual disturbance information is to be eliminated in a document application interface; the embodiment of the application is not limited to a specific selected mode, for example: the document application interface comprises a document management component, and in response to the triggering operation of the document management component, each online document is in a selectable state (such as a selectable component 901 for displaying each online document), and at the moment, online documents with visual interference information to be eliminated can be selected; for another example, the document identification of the online document to be eliminated with the visual disturbance information is directly input in the information elimination input area, so as to realize the selection of the online document. Then, the target object inputs a category identification (i.e., target category identification) of an information category corresponding to the document information to be eliminated in the information elimination input area 902; the input modes herein may include, but are not limited to: through physical or virtual keyboard input, or selecting from category identifiers (such as icons) of information categories corresponding to the document information (such as category identifier 903 selecting the information category corresponding to the summary information), etc. And finally, responding to the target category identification input by the target object in the information elimination input area, and eliminating the document information under the information category corresponding to the input target category identification in the document application interface.
In summary, through the two specific implementation processes provided above, the elimination of the target object customized document information in the document application interface can be realized; it will be appreciated that the manner in which the target object custom document information is eliminated may also vary, and that embodiments of the present application are not exhaustive.
In addition, as described previously, the document information of the online document is displayed in the document application interface in a first document layout style (or referred to as a full screen view); that is, the embodiment of the application supports eliminating the visual interference information of the online document in the document application interface under the condition that the document application interface is displayed as a full screen view so as to reserve key document information, thereby facilitating the rapid realization of the positioning of the document by the target object based on the key document information. Furthermore, the embodiment of the application also supports switching document layout styles of the document application interface, such as switching from a first document layout style to a second document layout style (or called a pane view), wherein the second document layout style is different from the first document layout style, and visual interference information of the online document displayed in the document application interface can be restored under the second document layout style, so that the target object can still view the document information to be eliminated.
In a specific implementation, if the target object wants the document application interface to switch from the first document layout style to the second document layout style, the target object may perform a layout switching operation in the document application interface under the first document layout style, where in response to the layout switching operation in the document application interface, the document information of the online document is switched from the first document layout style to the second document layout style; and displaying the visual disturbance information of the online document in the document application interface under the second document layout style. The embodiment of the application does not limit the specific implementation process of the layout switching operation, for example, the layout switching operation may include at least one of the following: gesture operation, triggering operation aiming at a document layout component in a document application interface, and voice audio input operation about layout switching; wherein the gesture operation includes at least one of: a movement operation of a preset trajectory (e.g., an "S" shape or an "L" shape, etc.) is performed, a click operation of a preset number of times (e.g., 2 consecutive times) is performed, and a long press operation (e.g., a press time period for pressing any display position is longer than a preset time period) is performed.
An exemplary document application interface switching from a first document layout style to a second document layout style schematic view may be seen in FIG. 10; as shown in fig. 10, a document layout component 1001 is included in the document application interface, where a document layout operation performed in the document application interface may include a trigger operation for the document layout component, and then, in response to the trigger for the document layout component 1001, a switch may be made from a first document layout style to a second document layout style, where the document application interface in the second document layout style still displays document information (e.g., summary information) of the online document. With continued reference to FIG. 10, the document layout component executing in the document application interface may also include gesture operations, such as a move operation to draw an "S" shape in the document application interface.
It should be noted that, the steps S301 to S303 mainly show a specific implementation process of eliminating the visual interference information of the online document in the document application interface of the social application program; it should be understood that, any terminal deployed with the social application may execute the specific implementation process shown in the foregoing steps S301 to S303 as long as the target account number of the target object is registered in the social application. In other words, the embodiment of the present application is not limited to the execution subject of the implementation procedure shown in the foregoing steps S301 to S303, and may be executed by either the first terminal or the second terminal, for example.
In the embodiment of the application, the document information of the online document can be displayed in the document application interface of the social application program; when the user has a need to eliminate part of the document information of the online document, if the user wants to quickly locate the online document according to the key information of the online document, the user can perform an information elimination operation in the document application interface, and at this time, visual interference information in the document information can be eliminated in the document application interface in response to the information elimination operation so as to preserve the key information of the online document. Therefore, the embodiment of the application supports that the visual interference information of the online document is automatically eliminated in the document application interface provided by the social application program according to the requirement of the target object, so that the key information of the online document is highlighted, the target object is helped to realize the quick positioning of the document by using the reserved key information, and the document searching efficiency is improved.
FIG. 11 is a flow chart illustrating another document processing method provided by an exemplary embodiment of the present application; the document processing method may be performed jointly by the first terminal and the second terminal in the document processing system shown in fig. 2a or 2b described above, and may include, but is not limited to, steps S1101-S1104:
s1101: a document application interface of the social application is displayed.
S1102: document information of the online document is displayed in the document application interface.
S1103: in response to the information elimination operation in the document application interface, visual disturbance information in the document information is eliminated in the document application interface.
It should be noted that, the specific implementation process shown in steps S1101-S1103 may be referred to the description of the specific implementation process shown in steps S301-S303 shown in fig. 3, which is not repeated herein.
S1104: and outputting an information elimination synchronization result in response to the information elimination synchronization event for the visual disturbance information.
The embodiment of the application also supports the synchronous elimination of visual interference information; by synchronization cancellation may be meant: when the same target account logs in social application programs (supporting multi-terminal login) deployed in different terminals, if visual interference information of a target online document is realized in the social application program deployed in one terminal, synchronous elimination of the visual interference information is automatically realized in the social application programs deployed in other terminals. The login of the same target account number on different terminals may include: the same target account number is simultaneously registered in different terminals (e.g., the target account number is simultaneously registered in a first terminal and a second terminal at 10:00), or the same target account number is time-shared registered in different terminals (e.g., the target account number is registered in the first terminal at 10:00, and the target account number is registered in the first terminal at 10:30, but is registered in the second terminal). Of course, the classification of applications by way of operation as described above may include: the method and the device for achieving the social networking service support the synchronous elimination of the visual interference information, the client, the applet and the webpage and the like, so that the synchronous elimination of the visual interference information is supported when the same target account logs in social networking applications in different running modes in the same terminal.
For convenience of explanation, a specific implementation process of synchronous elimination of visual interference information will be described by taking the social application programs deployed in different terminals logged in by the same target account number as an example. In a specific implementation, it is assumed that a target account number is logged in a social application running in a first terminal, and the elimination of visual interference information set forth in the foregoing related steps is performed in the first terminal; if an information elimination synchronization event for the visual interference information exists in a document application interface of the social application program displayed by the first terminal, the same document information as the visual interference information eliminated in the first terminal is synchronously eliminated in the second terminal, and an information elimination synchronization result is output in the first terminal. Wherein: (1) the information cancellation synchronization result is used to indicate: and synchronizing the elimination result of the visual interference information of the online document in the document application interface displayed in the second terminal. The social application running in the second terminal is logged in with the target account number and the second terminal is different from the first terminal. (2) The information elimination synchronization event for visual disturbance information performed in the document application interface may include, but is not limited to, any of the following: the method comprises the steps of executing an event generated by triggering operation on an information elimination synchronization component (namely, actively triggering the information elimination synchronization component through a target object to realize synchronous elimination of visual interference information), executing an event generated by information elimination operation in a document application interface (namely, when the information elimination operation exists in a first terminal, the second terminal defaults to realize synchronous elimination of the same visual interference information), and executing an event generated by gesture operation in the document application interface.
An exemplary schematic diagram of visual disturbance information synchronization cancellation may be seen in fig. 12; as shown in fig. 12, the target account of the target object simultaneously logs in the social application deployed in the first terminal and the social application deployed in the second terminal. The target object eliminates the visual interference information of the online document 1 and the online document 2 through the social application program in the first terminal, and if the target object triggers the information elimination synchronization component 1201 in the document application interface displayed in the first terminal, the second terminal can synchronously eliminate the visual interference information of the online document 1 and the online document 2 according to the information elimination operation executed in the first terminal. Further, the first terminal may further output an information cancellation synchronization result 1202 regarding visual disturbance information, where the information cancellation synchronization result indicates: the synchronization elimination of the visual disturbance information of the online document 1 and the online document 2 in the second terminal is successful, or the synchronization elimination of the visual disturbance information of the online document 1 and the online document 2 in the second terminal is failed (such as the synchronization elimination failure of the visual disturbance information due to the communication connection failure).
The above mainly describes the interface implementation of the synchronization elimination of the visual disturbance information, and the background logic of the synchronization elimination of the abstract information is described below by taking the visual disturbance information as the abstract information of the online document. As described above, the summary information of the online document is essentially the document message of the online document; that is, the online document is associated with a document session, and the document content related to the target account edited in the online document can be understood as a document message related to the target account in the online document, that is, the document content is similar to a session message (referred to as a document message) in the document session. Documents and sessions are two distinct stores, with a one-to-one association between the document and session established by the background of the social application (or referred to as a background server, detected as a server).
Wherein creation of the document session associated with the online document is driven by a document message of the online document. An exemplary flow for creating a document session for a target online document association from a document message may be seen in FIG. 13; as shown in fig. 13, the social application deployed in the first terminal and the second terminal each log in the target account number of the target object. The general flow of document session creation may include, but is not limited to: s11, if the target object performs document editing on the target online document in the first terminal, a document identification of the edited content can be generated. s12, the first terminal sends the document message to a document background (or referred to as a document background server). s13, the document background can forward the document information to a conversation background (namely, when the social application program provides a conversation function, the conversation background is the background of the social application program), and the conversation background pushes the document information to terminals held by other collaborative editing objects of the target online document, including a second terminal for logging in a target account of the target object; the other collaborative editing object may be all or part of the object participating in the target online document, specifically, the other collaborative editing object is determined according to the document edited by the target object in the first terminal, if the target object performs a comment operation in the target online document, the comment message may occur to the whole collaborative editing object of the target online document, if the target object edits the document message in the target online document, only a part of the collaborative editing object is mentioned (such as @) and the document message is pushed only to the mentioned part of the collaborative editing object.
The specific process of pushing the document message by the session background comprises the following steps: s14, after receiving the document message, the session background generates a document session associated with the target online document based on the document message; and s15, the session background sends the document message to the second terminal. And S16, the second terminal sends an information acquisition request to a session background according to the session identifier (such as the session ID) of the document session carried by the received document message. And s17, the session background responds to the information acquisition request sent by the second terminal, and after finding out the corresponding document session according to the session identifier, the document information (such as a document title, creation time, participation objects and the like) of the target online document associated with the document session is sent to the second terminal. s18, the second terminal displays each document information in the document application interface, and displays the last document message (last message) of the document session as summary information of the target online document.
Further, based on the above related description of the basic content of the document session, the following describes in detail the background logic for synchronization elimination of summary information. Specifically, the embodiment of the application supports adding a local attribute to the document session to record the last document message (or the last read document message (last read message)) in the read state in the document message stream of the document session, when the information elimination operation (or the standard read operation) for the summary information is performed in the document application interface displayed by the first terminal, as shown in fig. 14, the first terminal judges whether the last read document message of the local attribute record is the same as the unread document message (can be called the last document message) corresponding to the summary information to be eliminated, if the unread document message is the same, the document message which indicates that the target online document is related does not exist in the document session and is in the unread state, namely, all the document messages related to the target account are read, the last read document message is set equal to the last document message in the local area of the first terminal, and the document application interface is notified to update, in particular, if the summary information for the target online document is eliminated is not the same, the unread document message (can be called the last document message) corresponding to the summary information to be eliminated, namely, the unread document message is required to be read in the unread state in the document message is generated in the current state of the first terminal, and the read state is not required to be read in the document is the current, if the unread document message is the target online document is not related to the target account, and the unread state is required to be read in the last document message, the information elimination notification indicates that an unread document message corresponding to summary information of an online document is changed from an unread state to a read state. And, the information elimination notification is transmitted to the second terminal so that the second terminal can perform the synchronization elimination processing of the summary information on the online document (i.e., the target online document) in response to the information elimination notification; the information cancellation notification may be specifically sent to the session background, which forwards the information cancellation notification to the second terminal.
Further, for the second terminal, the second terminal may also display a document application interface of the social application program, where the document application interface includes document information of the target online document. When the second terminal receives the information elimination notification, determining that the second terminal detects the information elimination operation in the document application interface, wherein the information elimination operation specifically comprises the following steps: a cancel operation performed based on the information cancel notification synchronized from the first terminal; that is, the second terminal may automatically perform an operation of information synchronization elimination in the document application interface when receiving an information elimination notification generated based on the execution of the information elimination operation in the first terminal (the information elimination notification is synchronized to the second terminal when the first terminal performs elimination of visual disturbance information on an online document in the document application interface of the social application).
It should be noted that, the refreshing of the document application interface displayed in the second terminal is asynchronous, and the second terminal automatically performs the interface refreshing when receiving the new message. With continued reference to fig. 14, if the second terminal receives the new message, it determines whether the new message is a read-marked control message (i.e., an information cancellation notification). If the new message is a nonstandard read control message (i.e., is not a notification for achieving information cancellation synchronization, such as a notification of receipt of a new document message), it is determined that the second terminal received a new unread document message, which is then saved as the last document message. Otherwise, if the new message is the read standard control message, which means that the document message before the second terminal receives the read standard control message is set to be in a read state in the first terminal, responding to the information elimination notice, acquiring a document message stream associated with the online document, wherein the document message stream comprises a plurality of document messages which are related to the target account number and are orderly sequenced according to the sending time. Then, the second terminal continues to determine the order between the transmission time of the first document message in the document message stream (i.e., the last document message in the document message stream acquired by the second terminal) and the transmission time of the information elimination notification. If the sending time of the first document message in the document message stream is earlier than the sending time of the information elimination notice, which indicates that all the document messages in the document message stream are in a read state by default, the first document message is set as the last read document message (last read message), namely the last document message in the document message stream is set as the last read document message. And notifying the document application interface to update, specifically triggering the step of eliminating summary information in the document application interface.
Otherwise, if the sending time of the first document message in the document message stream is later than the sending time of the information elimination notification, which means that the second terminal receives a new document message after receiving the information elimination notification sent by the first terminal, and that the target account has a new unread document message, the sending time of the second document message in the document message stream is earlier than the sending time of the information elimination notification and is the nearest to the sending time of the information elimination notification, and the second document message is the document message corresponding to the summary information eliminated in the first terminal; and setting the second document message to a read state, and displaying the first document message in the document application interface, wherein the first document message is used as summary information of the online document. It should be noted that the above description is presented by taking the second terminal as an example, and describing the judging flow after receiving the new message; it will be understood that, for the first terminal, the processing logic of the first terminal after receiving the new message is the same as the processing logic of the second terminal after receiving the new message, which is given above, and will not be described herein. For example, the message sent by the first terminal may be pushed back again by the session background, where the processing logic after the first terminal receives the new message is the same as the processing logic after the second terminal receives the new message.
In addition, as can be seen from the foregoing description, the document information of the online document may include a message number of unread document messages of the document session with which the online document is associated; that is, the number of messages that display unread document messages in the document application interface is supported. In order to save information transmission cost and improve information transmission efficiency, the embodiment of the application supports the adoption of an information elimination notice and simultaneously controls the elimination of the summary information and the message quantity of unread document information; specifically, when the message number of the unread document messages associated with the online document is detected to be greater than 0, or the last read document message in the document session associated with the online document is not equal to the last document message, any condition in the document session associated with the online document is triggered to send the information elimination notification. The two information elimination logic modes can be controlled by one information elimination notice, so that the creation of a message channel can be reduced, the notice transmission efficiency is improved, and the information transmission cost is saved.
In a specific implementation, an exemplary schematic diagram of an information elimination notification and simultaneous control of summary information and message number can be seen in fig. 15; as shown in fig. 15, after the second terminal receives the standard read control message (information cancellation notification), if it is detected that the message number of the unread document messages of the document session associated with the online document is greater than the preset number (e.g., the preset number is 0), the information cancellation notification is further used to indicate that the message number of the unread document messages of the updated online document is the preset number, that is, the information cancellation notification supports cancellation of the message number for controlling the unread document messages at this time, and also supports cancellation of the control summary information. Wherein the information cancellation notification background logic for controlling cancellation of a message number of unread document messages comprises: if the sending time of the first document message in the document message stream is earlier than the sending time of the information elimination notice, the message number of the unread document messages stored locally is set to be a preset number, namely the number of the unread document messages recorded locally is cleared. And eliminating the message quantity of the unread document information corresponding to the online document in the document application interface. Conversely, if the sending time of the first document message in the document message stream is later than the sending time of the information elimination notification, the sending time in the document message stream is acquired, and a third document message is positioned after the sending time of the information elimination notification, wherein the third document message comprises the first document message; then the message number of the third document message is used as the message number of the new unread document message; and displaying the message number of the new unread document message in the document application interface. With continued reference to fig. 15, if the second terminal receives a non-standard read control message, which indicates that the target account number has a new unread document message, the second terminal locally increases the message number of the unread message. Each message received by the second terminal is provided with a flag bit, and the flag bit can be used for controlling whether the message needs to increase the message quantity of the unread document message or not; for example, the received message is a message of @ target account number, and a flag bit in the message indicates that the number of unread document messages needs to be increased.
In summary, through the above-described implementation process of synchronous cancellation of visual interference information, when the same target account number is registered in multiple terminals (at least two terminals), synchronous cancellation of visual interference information in multiple terminals can be achieved, and efficiency of cancellation of visual interference information is improved.
In the embodiment of the application, the document information of the online document can be displayed in the document application interface of the social application program, for example, the document information can comprise the object identification, the creation time, the document identification (for example, the document title) and the abstract information of the creation object of the online document. When the user has a need to eliminate part of the document information of the online document, if the user wants to quickly locate the online document according to the key information of the online document, the user can perform an information elimination operation in the document application interface, and at this time, visual interference information in the document information can be eliminated in the document application interface in response to the information elimination operation so as to preserve the key information of the online document. Therefore, the embodiment of the application can reduce the visual interference information of the online document displayed in the document application interface, so as to highlight the key information of the online document, help a user to quickly search the online document in the document application interface by using the key information, improve the document positioning efficiency and improve the user experience.
The foregoing details of the method of the present application and, in order to facilitate better practice of the method of the present application, a device of the present application is provided below.
Fig. 16 is a schematic diagram showing a structure of a document processing apparatus according to an exemplary embodiment of the present application, which may be a computer program (including program code) running in a first terminal and a second terminal; the document processing apparatus may be used to perform some or all of the steps in the method embodiments shown in fig. 3 and 10, and includes the following units:
a display unit 1601, configured to display a document application interface of the social application, where the document application interface includes an online document related to the social application;
a processing unit 1602 for displaying document information of an online document in a document application interface;
the processing unit 1602 is further configured to cancel visual disturbance information in the document application interface in response to an information cancellation operation in the document application interface.
In one implementation, the document information includes at least one of: object information of a creation object of the online document, creation time of the online document, document identification of the online document, message number of unread document messages of a document session associated with the online document, and summary information of the online document;
Wherein, the abstract information of the online document refers to: a document message associated with a target account number of the logged-in social application and in an unread state;
visual disturbance information refers to any one or more items of document information.
In one implementation, the visual disturbance information includes summary information of the online document; the processing unit 1602 is configured to, in response to an information elimination operation in the document application interface, when eliminating visual disturbance information in the document application interface, specifically:
in response to a selection operation for an online document, displaying a document content interface, wherein the document content interface contains document content of the online document;
when there is a return operation to switch from the document content interface to the document application interface, summary information of the online document is eliminated in the document content interface.
In one implementation, the visual interference information includes summary information of the online document, and the document application interface further includes a summary elimination component of the online document; the processing unit 1602 is configured to, in response to an information elimination operation in the document application interface, when eliminating visual disturbance information in the document application interface, specifically:
In response to a triggering operation for the summary elimination component, summary information of the online document is eliminated in the document application interface.
In one implementation, the document application interface further comprises an information elimination component corresponding to each document information of the online document; the processing unit 1602 is configured to, in response to an information elimination operation in the document application interface, when eliminating visual disturbance information in the document application interface, specifically:
according to the triggering operation aiming at the information elimination component, eliminating the document information corresponding to the triggered information elimination component in the document application interface;
the document information corresponding to the triggered information elimination component is visual interference information.
In one implementation, the document application interface further includes an information elimination input area, and each document information corresponds to one information category; the processing unit 1602 is configured to, in response to an information elimination operation in the document application interface, when eliminating visual disturbance information in the document application interface, specifically:
inputting at least one target category identification in an information elimination input area;
and eliminating the document information under the information category corresponding to each target category identification in the at least one target category identification in the document application interface.
In one implementation, the number of online documents contained in the document application interface is a plurality; the processing unit 1602 is configured to, when eliminating visual disturbance information in document information in the document application interface, specifically:
in a document application interface, eliminating visual interference information in document information of each online document in a plurality of online documents;
wherein the visual disturbance information in the document information of each online document is the same.
In one implementation, document information of an online document is displayed in a document application interface according to a first document layout style; the processing unit 1602 is further configured to:
switching document information of the online document from a first document layout style to a second document layout style in response to a layout switching operation existing in the document application interface;
and displaying the visual disturbance information of the online document in the document application interface under the second document layout style.
In one implementation, the layout switching operation includes at least one of: gesture operation, triggering operation aiming at a document layout component in a document application interface, and voice audio input operation about layout switching; wherein the gesture operation includes at least one of: and executing a moving operation of a preset track, executing a clicking operation of a preset number of times and executing a long-press operation.
In one implementation, a document application interface is displayed on a first terminal, and a target account number is logged in a social application running in the first terminal; the processing unit 1602 is further configured to:
responding to an information elimination synchronization event aiming at visual interference information, and outputting an information elimination synchronization result;
wherein, the information cancellation synchronization result is used for indicating: in a document application interface displayed in the second terminal, synchronizing a result of eliminating visual interference information of the online document; a social application running in the second terminal logs in a target account; the second terminal is different from the first terminal.
In one implementation, the information cancellation synchronization event includes any one of the following: an event generated by a triggering operation performed on the information cancellation synchronization component, an event generated by an information cancellation operation performed in the document application interface, and an event generated by a gesture operation performed in the document application interface.
In one implementation, the visual disturbance information is summary information of the online document; the processing unit 1602 is further configured to:
generating an information elimination notification for indicating that a document message corresponding to summary information of an online document is changed from an unread state to a read state in response to an information elimination synchronization event for visual disturbance information;
The information cancellation notification is sent to the second terminal so that the second terminal performs synchronization cancellation processing of summary information on the online document in response to the information cancellation notification.
In one implementation, a document application interface is displayed on a second terminal, and a social application running in the second terminal logs in with a target account; the information elimination operation in the document application interface includes: a cancel operation performed based on the information cancel notification synchronized from the first terminal;
the method comprises the steps that a social application program which logs in a target account number is operated in a first terminal; the information elimination notification is synchronized to the second terminal when the first terminal performs elimination of visual disturbance information on the online document in the document application interface of the social application.
In one implementation, the visual disturbance information includes summary information of the online document; the processing unit 1602 is further configured to:
responding to the information elimination notice, acquiring a document message stream of a document session associated with an online document, wherein the document message stream comprises a plurality of document messages which are related to a target account and are orderly sequenced according to the sending time;
if the sending time of the first document message in the document message stream is earlier than the sending time of the information elimination notice, setting the first document message to a read state; the first document message is the last document message in the document message stream.
In one implementation, the processing unit 1602 is further configured to:
if the sending time of the first document message in the document message stream is later than the sending time of the information elimination notification, acquiring a second document message of which the sending time in the document message stream is earlier than the sending time of the information elimination notification and is closest to the sending time of the information elimination notification;
setting the second document message to a read state;
and displaying a first document message in the document application interface, wherein the first document message is summary information of the online document.
In one implementation, the visual disturbance information further includes a message number of unread document messages of the document session associated with the online document; if the number of the unread document messages of the document session associated with the online document is greater than the preset number, the information elimination notification is further used for indicating that the number of the unread document messages of the online document is updated to be the preset number;
if the sending time of the first document message in the document message stream is earlier than the sending time of the information elimination notification, the processing unit 1602 is further configured to:
setting the message number of the unread document messages stored locally as a preset number;
and eliminating the message quantity of the unread document messages corresponding to the online document in the document application interface.
In one implementation, if the sending time of the first document message in the document message stream is later than the sending time of the information elimination notification, the processing unit 1602 is further configured to:
acquiring a sending time in a document message stream, and a third document message positioned after the sending time of the information elimination notification, wherein the third document message comprises the first document message;
taking the message number of the third document message as the message number of the new unread document message;
the message number of the new unread document message is displayed in the document application interface.
According to an embodiment of the present application, each unit in the document processing apparatus shown in fig. 16 may be individually or collectively constituted as one or several other units, or some unit(s) thereof may be further divided into a plurality of units having smaller functions, which can achieve the same operation without affecting the achievement of the technical effects of the embodiment of the present application. The above units are divided based on logic functions, and in practical applications, the functions of one unit may be implemented by a plurality of units, or the functions of a plurality of units may be implemented by one unit. In other embodiments of the present application, the document processing apparatus may also include other units, and in actual practice, these functions may also be implemented with assistance from other units, and may be implemented by cooperation of a plurality of units. According to another embodiment of the present application, a document processing apparatus as shown in fig. 16 may be constructed by running a computer program (including program code) capable of executing the steps involved in the respective methods shown in fig. 3 and 10 on a general-purpose computing device such as a computer including a processing element such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read only storage medium (ROM), and the like, and a storage element, and the document processing method of the embodiment of the present application may be implemented. The computer program may be recorded on, for example, a computer-readable recording medium, and loaded into and run in the above-described computing device through the computer-readable recording medium.
In the embodiment of the application, the document information of the online document can be displayed in the document application interface of the social application program, for example, the document information can comprise the object identification, the creation time, the document identification (for example, the document title) and the abstract information of the creation object of the online document. When the user has a need to eliminate part of the document information of the online document, if the user wants to quickly locate the online document according to the key information of the online document, the user can perform an information elimination operation in the document application interface, and at this time, visual interference information in the document information can be eliminated in the document application interface in response to the information elimination operation so as to preserve the key information of the online document. Therefore, the embodiment of the application can reduce the visual interference information of the online document displayed in the document application interface, so as to highlight the key information of the online document, help a user to quickly search the online document in the document application interface by using the key information, improve the document positioning efficiency and improve the user experience.
Fig. 17 is a schematic diagram showing a structure of a terminal according to an exemplary embodiment of the present application. Referring to fig. 17, the terminal includes a processor 1701, a communication interface 1702, and a computer-readable storage medium 1703. Wherein the processor 1701, the communication interface 1702, and the computer-readable storage medium 1703 may be connected by a bus or other means. Wherein the communication interface 1702 is used to receive and transmit data. The computer-readable storage medium 1703 may be stored in a memory of the terminal, the computer-readable storage medium 1703 storing a computer program comprising program instructions, and the processor 1701 executing the program instructions stored in the computer-readable storage medium 1703. The processor 1701 (or CPU (Central Processing Unit, central processing unit)) is a computing core and a control core of the terminal, which are adapted to implement one or more instructions, in particular to load and execute one or more instructions to implement a corresponding method flow or a corresponding function.
The embodiment of the application also provides a computer readable storage medium (Memory), which is a Memory device in the terminal and is used for storing programs and data. It will be appreciated that the computer readable storage medium herein may include both a built-in storage medium in the terminal and an extended storage medium supported by the terminal. The computer readable storage medium provides a storage space that stores a processing system of the terminal. Also stored in this memory space are one or more instructions, which may be one or more computer programs (including program code), adapted to be loaded and executed by the processor 1701. Note that the computer readable storage medium can be either a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory; alternatively, it may be at least one computer-readable storage medium located remotely from the aforementioned processor.
In one embodiment, the computer-readable storage medium has one or more instructions stored therein; loading and executing, by the processor 1701, one or more instructions stored in a computer-readable storage medium to implement the corresponding steps in the document processing method embodiments described above; in particular implementations, one or more instructions in the computer-readable storage medium are loaded by the processor 1701 and perform the steps of:
Displaying a document application interface of the social application program, wherein the document application interface comprises an online document related to the social application program;
displaying document information of an online document in a document application interface;
in response to the information elimination operation in the document application interface, visual disturbance information in the document information is eliminated in the document application interface.
In one implementation, the document information includes at least one of: object information of a creation object of the online document, creation time of the online document, document identification of the online document, message number of unread document messages of a document session associated with the online document, and summary information of the online document;
wherein, the abstract information of the online document refers to: a document message associated with a target account number of the logged-in social application and in an unread state;
visual disturbance information refers to any one or more items of document information.
In one implementation, the visual disturbance information includes summary information of the online document; one or more instructions in the computer-readable storage medium are loaded by the processor 1701 and when executed perform the steps of, in response to an information elimination operation in the document application interface, eliminating visually disturbing information in the document application interface, specifically performing the steps of:
In response to a selection operation for an online document, displaying a document content interface, wherein the document content interface contains document content of the online document;
when there is a return operation to switch from the document content interface to the document application interface, summary information of the online document is eliminated in the document content interface.
In one implementation, the visual interference information includes summary information of the online document, and the document application interface further includes a summary elimination component of the online document; one or more instructions in the computer-readable storage medium are loaded by the processor 1701 and when executed perform the steps of, in response to an information elimination operation in the document application interface, eliminating visually disturbing information in the document application interface, specifically performing the steps of:
in response to a triggering operation for the summary elimination component, summary information of the online document is eliminated in the document application interface.
In one implementation, the document application interface further comprises an information elimination component corresponding to each document information of the online document; one or more instructions in the computer-readable storage medium are loaded by the processor 1701 and when executed perform the steps of, in response to an information elimination operation in the document application interface, eliminating visually disturbing information in the document application interface, specifically performing the steps of:
According to the triggering operation aiming at the information elimination component, eliminating the document information corresponding to the triggered information elimination component in the document application interface;
the document information corresponding to the triggered information elimination component is visual interference information.
In one implementation, the document application interface further includes an information elimination input area, and each document information corresponds to one information category; one or more instructions in the computer-readable storage medium are loaded by the processor 1701 and when executed perform the steps of, in response to an information elimination operation in the document application interface, eliminating visually disturbing information in the document application interface, specifically performing the steps of:
inputting at least one target category identification in an information elimination input area;
and eliminating the document information under the information category corresponding to each target category identification in the at least one target category identification in the document application interface.
In one implementation, the number of online documents contained in the document application interface is a plurality; one or more instructions in the computer-readable storage medium are loaded by the processor 1701 and, when executed, perform the steps of:
In a document application interface, eliminating visual interference information in document information of each online document in a plurality of online documents;
wherein the visual disturbance information in the document information of each online document is the same.
In one implementation, document information of an online document is displayed in a document application interface according to a first document layout style; one or more instructions in the computer-readable storage medium are loaded by the processor 1701 and further perform the steps of:
switching document information of the online document from a first document layout style to a second document layout style in response to a layout switching operation existing in the document application interface;
and displaying the visual disturbance information of the online document in the document application interface under the second document layout style.
In one implementation, the layout switching operation includes at least one of: gesture operation, triggering operation aiming at a document layout component in a document application interface, and voice audio input operation about layout switching; wherein the gesture operation includes at least one of: and executing a moving operation of a preset track, executing a clicking operation of a preset number of times and executing a long-press operation.
In one implementation, a document application interface is displayed on a first terminal, and a target account number is logged in a social application running in the first terminal; one or more instructions in the computer-readable storage medium are loaded by the processor 1701 and further perform the steps of:
Responding to an information elimination synchronization event aiming at visual interference information, and outputting an information elimination synchronization result;
wherein, the information cancellation synchronization result is used for indicating: in a document application interface displayed in the second terminal, synchronizing a result of eliminating visual interference information of the online document; a social application running in the second terminal logs in a target account; the second terminal is different from the first terminal.
In one implementation, the information cancellation synchronization event includes any one of the following: an event generated by a triggering operation performed on the information cancellation synchronization component, an event generated by an information cancellation operation performed in the document application interface, and an event generated by a gesture operation performed in the document application interface.
In one implementation, the visual disturbance information is summary information of the online document; one or more instructions in the computer-readable storage medium are loaded by the processor 1701 and further perform the steps of:
generating an information elimination notification for indicating that a document message corresponding to summary information of an online document is changed from an unread state to a read state in response to an information elimination synchronization event for visual disturbance information;
The information cancellation notification is sent to the second terminal so that the second terminal performs synchronization cancellation processing of summary information on the online document in response to the information cancellation notification.
In one implementation, a document application interface is displayed on a second terminal, and a social application running in the second terminal logs in with a target account; the information elimination operation in the document application interface includes: a cancel operation performed based on the information cancel notification synchronized from the first terminal;
the method comprises the steps that a social application program which logs in a target account number is operated in a first terminal; the information elimination notification is synchronized to the second terminal when the first terminal performs elimination of visual disturbance information on the online document in the document application interface of the social application.
In one implementation, the visual disturbance information includes summary information of the online document; one or more instructions in the computer-readable storage medium are loaded by the processor 1701 and further perform the steps of:
responding to the information elimination notice, acquiring a document message stream of a document session associated with an online document, wherein the document message stream comprises a plurality of document messages which are related to a target account and are orderly sequenced according to the sending time;
If the sending time of the first document message in the document message stream is earlier than the sending time of the information elimination notice, setting the first document message to a read state; the first document message is the last document message in the document message stream.
In one implementation, one or more instructions in the computer-readable storage medium are loaded by the processor 1701 and further perform the steps of:
if the sending time of the first document message in the document message stream is later than the sending time of the information elimination notification, acquiring a second document message of which the sending time in the document message stream is earlier than the sending time of the information elimination notification and is closest to the sending time of the information elimination notification;
setting the second document message to a read state;
and displaying a first document message in the document application interface, wherein the first document message is summary information of the online document.
In one implementation, the visual disturbance information further includes a message number of unread document messages of the document session associated with the online document; if the number of the unread document messages of the document session associated with the online document is greater than the preset number, the information elimination notification is further used for indicating that the number of the unread document messages of the online document is updated to be the preset number;
If the time of transmission of the first document message in the document message stream is earlier than the time of transmission of the information cancellation notification, one or more instructions in the computer readable storage medium are loaded by the processor 1701 and further perform the steps of:
setting the message number of the unread document messages stored locally as a preset number;
and eliminating the message quantity of the unread document messages corresponding to the online document in the document application interface.
In one implementation, if the time of transmission of the first document message in the document message stream is later than the time of transmission of the information cancellation notification, one or more instructions in the computer-readable storage medium are loaded by the processor 1701 and further perform:
acquiring a sending time in a document message stream, and a third document message positioned after the sending time of the information elimination notification, wherein the third document message comprises the first document message;
taking the message number of the third document message as the message number of the new unread document message;
the message number of the new unread document message is displayed in the document application interface.
In the embodiment of the application, the document information of the online document can be displayed in the document application interface of the social application program, for example, the document information can comprise the object identification, the creation time, the document identification (for example, the document title) and the abstract information of the creation object of the online document. When the user has a need to eliminate part of the document information of the online document, if the user wants to quickly locate the online document according to the key information of the online document, the user can perform an information elimination operation in the document application interface, and at this time, visual interference information in the document information can be eliminated in the document application interface in response to the information elimination operation so as to preserve the key information of the online document. Therefore, the embodiment of the application can reduce the visual interference information of the online document displayed in the document application interface, so as to highlight the key information of the online document, help a user to quickly search the online document in the document application interface by using the key information, improve the document positioning efficiency and improve the user experience.
Embodiments of the present application also provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions so that the terminal performs the above-described document processing method.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may 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 processes or functions described in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable devices. The computer instructions may be stored in or transmitted across a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). Computer readable storage media can be any available media that can be accessed by a computer or data processing device, such as a server, data center, or the like, that contains an integration of one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SolidStateDisk, SSD)), or the like.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (21)

1. A document processing method, comprising:
displaying a document application interface of a social application program, wherein the document application interface comprises an online document related to the social application program;
displaying document information of the online document in the document application interface;
and in response to the information elimination operation in the document application interface, eliminating visual interference information in the document application interface.
2. The method of claim 1, wherein the document information includes at least one of: object information of the creation object of the online document, creation time of the online document, document identification of the online document, message number of unread document messages of a document session associated with the online document, and summary information of the online document;
Wherein, the abstract information of the online document refers to: a document message associated with a target account number logged into the social application and in an unread state;
the visual disturbance information refers to any one or more items of the document information.
3. The method of claim 2, wherein the visual disturbance information includes summary information of the online document; the eliminating, in response to the information elimination operation in the document application interface, visual interference information in the document application interface includes:
responsive to a selection operation for the online document, displaying a document content interface, the document content interface including document content of the online document;
and when a return operation for switching from the document content interface to the document application interface exists, eliminating summary information of the online document in the document content interface.
4. The method of claim 2, wherein the visual disturbance information comprises summary information of the online document, the document application interface further comprising a summary elimination component of the online document; the eliminating, in response to the information elimination operation in the document application interface, visual interference information in the document application interface includes:
And in response to a triggering operation for the summary elimination component, eliminating summary information of the online document in the document application interface.
5. The method of claim 1, wherein the document application interface further comprises an information elimination component corresponding to each document information of the online document; the eliminating, in response to the information elimination operation in the document application interface, visual interference information in the document application interface includes:
according to the triggering operation aiming at the information elimination component, eliminating the document information corresponding to the triggered information elimination component in the document application interface;
and the document information corresponding to the triggered information elimination component is the visual interference information.
6. The method of claim 1, wherein the document application interface further comprises an information elimination input area, each document information corresponding to one information category; the eliminating, in response to the information elimination operation in the document application interface, visual interference information in the document application interface includes:
inputting at least one target category identification in the information elimination input area;
And eliminating the document information under the information category corresponding to each target category identification in the at least one target category identification in the document application interface.
7. The method of any of claims 4-6, wherein the number of online documents contained in the document application interface is a plurality; the eliminating visual interference information in the document application interface comprises the following steps:
in the document application interface, eliminating visual interference information in document information of each online document in a plurality of online documents;
wherein the visual disturbance information in the document information of each online document is the same.
8. The method of claim 1, wherein the document information of the online document is displayed in the document application interface in a first document layout style; the method further comprises the steps of:
switching document information of the online document from the first document layout style to a second document layout style in response to a layout switching operation existing in the document application interface;
and displaying the visual interference information of the online document in the document application interface under the second document layout style.
9. The method of claim 8, wherein the layout switching operation comprises at least one of: a gesture operation for triggering operation of a document layout component in the document application interface and a voice audio input operation concerning layout switching; wherein the gesture operation includes at least one of: and executing a moving operation of a preset track, executing a clicking operation of a preset number of times and executing a long-press operation.
10. The method of claim 1, wherein the document application interface is displayed on a first terminal, and wherein a target account number is registered in the social application running in the first terminal; the method further comprises the steps of:
outputting an information cancellation synchronization result in response to an information cancellation synchronization event for the visual disturbance information;
wherein the information cancellation synchronization result is used to indicate: in a document application interface displayed in a second terminal, synchronizing a result of eliminating visual interference information of the online document; the social application running in the second terminal logs in with the target account; the second terminal is different from the first terminal.
11. The method of claim 10, wherein the information cancellation synchronization event comprises any one of: an event generated by a triggering operation performed on an information elimination synchronization component, an event generated by an information elimination operation performed in the document application interface, and an event generated by a gesture operation performed in the document application interface.
12. The method of claim 10, wherein the visual disturbance information is summary information of the online document; the method further comprises the steps of:
generating an information elimination notification in response to an information elimination synchronization event for the visual disturbance information, wherein the information elimination notification is used for indicating that a document message corresponding to summary information of the online document is changed from an unread state to a read state;
and sending the information elimination notification to a second terminal so that the second terminal responds to the information elimination notification to perform synchronization elimination processing of summary information on the online document.
13. The method of claim 1, wherein the document application interface is displayed on a second terminal, the social application running in the second terminal having a target account number logged in; the information elimination operation in the document application interface comprises the following steps: a cancel operation performed based on the information cancel notification synchronized from the first terminal;
the social application program which logs in the target account number is operated in the first terminal; the information elimination notification is synchronized to the second terminal when the first terminal performs elimination of visual interference information on the online document in a document application interface of the social application program.
14. The method of claim 13, wherein the visual disturbance information includes summary information of the online document; before the visual interference information in the document information is eliminated in the document application interface, the method further comprises the following steps:
responding to the information elimination notice, acquiring a document message stream of a document session associated with the online document, wherein the document message stream comprises a plurality of document messages which are related to the target account and are orderly sequenced according to the sending time;
if the sending time of the first document message in the document message stream is earlier than the sending time of the information elimination notice, setting the first document message to a read state; the first document message is the last document message in the document message stream.
15. The method of claim 14, wherein the method further comprises:
if the sending time of the first document message in the document message stream is later than the sending time of the information elimination notification, obtaining a second document message of which the sending time in the document message stream is earlier than the sending time of the information elimination notification and is closest to the sending time of the information elimination notification;
Setting the second document message to a read state;
and displaying the first document information in the document application interface, wherein the first document information is abstract information of the online document.
16. The method of claim 14, wherein the visual disturbance information further includes a message number of unread document messages of the document session associated with the online document; if the number of the unread document messages of the document session associated with the online document is greater than a preset number, the information elimination notification is further used for indicating that the number of the unread document messages of the online document is updated to be the preset number;
if the sending time of the first document message in the document message stream is earlier than the sending time of the information elimination notification, the method further comprises:
setting the message number of the unread document messages stored locally to the preset number;
and eliminating the message quantity of the unread document messages corresponding to the online document in the document application interface.
17. The method of claim 16, wherein if the time of transmission of the first document message in the document message stream is later than the time of transmission of the information cancellation notification, the method further comprises:
Acquiring a third document message positioned after the sending time of the information elimination notification in the document message stream, wherein the third document message comprises a first document message;
taking the message number of the third document message as the message number of the new unread document message;
and displaying the message quantity of the new unread document message in a document application interface.
18. A document processing apparatus, comprising:
the display unit is used for displaying a document application interface of the social application program, wherein the document application interface comprises an online document related to the social application program;
a processing unit, configured to display document information of the online document in the document application interface;
the processing unit is further configured to cancel, in response to an information cancellation operation in the document application interface, visual interference information in the document application interface.
19. A terminal, comprising:
a processor adapted to execute a computer program;
a computer readable storage medium having stored therein a computer program which, when executed by the processor, implements the document processing method according to any one of claims 1-17.
20. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program adapted to be loaded by a processor and to perform the document processing method according to any of claims 1-17.
21. A computer program product comprising computer instructions which, when executed by a processor, implement a document processing method as claimed in any one of claims 1 to 17.
CN202211489362.2A 2022-11-25 2022-11-25 Document processing method, device, terminal, medium and program product Pending CN116974428A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211489362.2A CN116974428A (en) 2022-11-25 2022-11-25 Document processing method, device, terminal, medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211489362.2A CN116974428A (en) 2022-11-25 2022-11-25 Document processing method, device, terminal, medium and program product

Publications (1)

Publication Number Publication Date
CN116974428A true CN116974428A (en) 2023-10-31

Family

ID=88480312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211489362.2A Pending CN116974428A (en) 2022-11-25 2022-11-25 Document processing method, device, terminal, medium and program product

Country Status (1)

Country Link
CN (1) CN116974428A (en)

Similar Documents

Publication Publication Date Title
US11243685B2 (en) Client terminal user interface for interacting with contacts
US10728192B2 (en) Apparatus and method for message reference management
US20180270183A1 (en) Methods and apparatuses for selectively displaying messages based on a predicted importance
US9479469B2 (en) Collaborative drafting of a message
US9792015B2 (en) Providing visualizations for conversations
US9087323B2 (en) Systems and methods to automatically generate a signature block
CN112791393B (en) Information processing method, device, equipment and medium
US20150295873A1 (en) Threaded messaging
WO2012082929A2 (en) Generating a relationship history
KR20140052793A (en) A recording medium for control of messenger, apparatus and system for the same
US11516162B2 (en) Methods, systems, and media for generating contextually relevant messages
CN113268964B (en) Table editing method, device, equipment and storage medium
CN112099617A (en) Data processing method and device and computer readable storage medium
KR20230004838A (en) Information sharing methods, information display methods, devices, electronic equipment and storage media
CN104283769A (en) Instant messaging service based on item of interest to user
JP2023523050A (en) Information display method, device, electronic device and storage medium
US11822785B2 (en) Managing application focus transitions
JP2023522672A (en) Information interaction method, device, electronic device, and storage medium
KR102103015B1 (en) Apparatus and operating method of instance messenger application
CN113971392A (en) Document editing method, device, equipment and medium
CN116974428A (en) Document processing method, device, terminal, medium and program product
KR102147665B1 (en) Providing method for message service based on application and apparatus therefor
CN114764289A (en) Expression processing method, device and equipment and computer readable storage medium
US11876771B2 (en) Message display method and apparatus, computer device, storage medium, and program product
CN113810203B (en) Theme session processing method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication