CN115688693A - Document processing method, device, equipment and storage medium - Google Patents

Document processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN115688693A
CN115688693A CN202110826705.9A CN202110826705A CN115688693A CN 115688693 A CN115688693 A CN 115688693A CN 202110826705 A CN202110826705 A CN 202110826705A CN 115688693 A CN115688693 A CN 115688693A
Authority
CN
China
Prior art keywords
container
item
attribute
document
preset
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
CN202110826705.9A
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.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Wuhan Kingsoft Office Software Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Wuhan Kingsoft Office Software 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 Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd, Wuhan Kingsoft Office Software Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN202110826705.9A priority Critical patent/CN115688693A/en
Publication of CN115688693A publication Critical patent/CN115688693A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a document processing method, a device, equipment and a storage medium, wherein the method comprises the following steps: responding to at least one container selected in a document, and acquiring attribute information of each container, wherein the attribute information comprises at least one attribute item; determining attribute items meeting preset conditions in the at least one attribute item as target attribute items; and determining the target position of the at least one container in the document according to the target attribute item. The invention can determine the target position of the at least one container in the document according to the target attribute item, thereby flexibly adjusting the position of the container in the document, further realizing typesetting and cooperation of the document and improving the intelligent level of document processing.

Description

Document processing method, device, equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for processing a document.
Background
With the development of internet technology, enterprises have higher and higher requirements on collaborative office, and the definition of collaborative application expands accordingly, so that the collaborative application tends to be more complex and diverse, and also tends to be simpler and intelligent, and the trend of breaking the difference between different collaborative applications is great.
The typesetting mode and the collaborative mode of the current mainstream document processing software are single, and the requirements on more flexible forms and more immersive collaborative scenes can not be met. Therefore, how to provide a document processing scheme capable of realizing more flexible typesetting and collaboration is one of the technical problems to be solved at present.
Disclosure of Invention
In view of the above, the present invention provides a document processing method, apparatus, device and storage medium to solve the above technical problems.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
according to a first aspect of an embodiment of the present invention, a document processing method is provided, including:
in response to selecting at least one container in a document, acquiring attribute information of the container, wherein the attribute information comprises at least one attribute item;
determining attribute items meeting preset conditions in the at least one attribute item as target attribute items;
and determining the target position of the at least one container in the document according to the target attribute item.
In an embodiment, in a case that the document includes more than two containers, the determining, according to the target attribute item, a target position of the at least one container in the document includes:
and sequencing the results of the more than two containers according to the parameter values of the target attribute items, and arranging the results in the document.
In an embodiment, the determining, as the target attribute item, an attribute item that satisfies a preset condition in the at least one attribute item includes:
determining a target attribute item based on the currently selected attribute item; or the like, or, alternatively,
determining the attribute item with the highest priority as a target attribute item; or the like, or a combination thereof,
determining a target property item based on a currently detected operation triggered on the container.
In one embodiment, the container is a parent container or a child container, and the parent container includes at least one child container.
In one embodiment, the parent container and the child container have different editing rights, and the editing rights of the parent container are higher than the editing rights of the child container.
In an embodiment, the property item includes an editing right, the type of the container includes a to-do item container, and the to-do item container includes to-do items;
the editing authority of the to-be-handled item container belongs to a container creator or a to-be-handled task distributor, and the editing authority of the to-be-handled item belongs to a task collaborator.
In an embodiment, the method further comprises:
in response to detecting a touch operation within range of the container, determining that the container is selected; and/or the presence of a gas in the gas,
in response to detecting that an object selected based on a preset composition shortcut includes any part of an element in a container, determining that the container is selected.
In an embodiment, in a case where the property item includes an editing right, the method further includes:
setting the editing authority based on any one of the following attribute items:
mounting information, a cooperation boundary and an interaction mode are preset.
In an embodiment, the method further comprises:
updating elements in the container based on preset information acquired from a third-party application; and/or the presence of a gas in the gas,
and synchronously updating the elements in the container to a third-party application.
In an embodiment, the updating the elements in the container based on the preset information acquired from the third-party application includes:
updating the elements in the container by adopting the acquired preset information based on the authority provided by the third-party application; or the like, or a combination thereof,
updating the elements in the container by adopting the acquired preset information based on the authority in the options of the container; or the like, or a combination thereof,
and updating the elements in the container by adopting the acquired preset information based on the permission provided by the third-party application and the permission in the options of the container.
In one embodiment, the container has a cooperating container;
the method further comprises the following steps:
and triggering the collaborative container to carry out collaborative updating in response to the detection of the preset interactive operation aiming at the container.
In an embodiment, the triggering the collaborative container to perform collaborative update includes:
updating the collaborative container and/or elements in the collaborative container based on a preset priority.
In one embodiment, the method further comprises:
when the collaborative container is a streaming text container, updating elements in the collaborative container with a higher priority than updating the collaborative container;
when the collaborative container is a view type container, the collaborative container is updated with a higher priority than the collaborative container.
In an embodiment, the triggering the collaborative container to perform collaborative update includes:
updating the collaborative container based on a manner associated with the collaborative container type.
In an embodiment, the method further comprises:
and executing preset operations on the at least one container based on a preset cooperative boundary, wherein the preset operations comprise merging operations and/or splitting operations.
In an embodiment, in a case that the preset operation includes a merge operation, the method further includes:
and carrying out de-duplication treatment on the repeated elements in the container obtained after the combination operation.
In an embodiment, the elements of the container include feature items and information items, and in the case that the preset operation includes a merge operation, the method further includes:
in response to determining that the level of the first characteristic item of the first container is higher than the level of the second characteristic item of the second container, merging the first container and the second container by merging the second information item of the second container into the first information item of the first container.
In an embodiment, after incorporating the second feature item into the first feature item, the method further comprises:
promoting the level of the first feature item; and/or the presence of a gas in the atmosphere,
raising the level of the first container.
In an embodiment, the method further comprises:
in response to detecting that a first trigger condition is satisfied, converting a selected object in the document into a container, attribute information of the container being determined based on the first trigger condition.
In one embodiment, said converting selected objects in said document into containers in response to detecting that a first trigger condition is met comprises:
in response to detecting that the stream text in the document has a preset element, converting the stream text associated with the element into a container of a type corresponding to the element.
In an embodiment, the element is a predetermined keyword.
In an embodiment, the preset keywords include at least two of the to-do item, the time, the place, the event and the person;
the type of container corresponding to the element comprises a to-Do item container.
In one embodiment, said converting selected objects in said document into containers in response to detecting that a first trigger condition is met comprises:
in response to receiving an instruction to convert a container, the content currently selected in the document is converted to a container of an instruction-specified type.
In one embodiment, said converting selected objects in said document into containers in response to detecting that a first trigger condition is met comprises:
in response to detecting that a plurality of objects are selected in the document and the plurality of objects satisfy a set condition, converting the plurality of objects into a container.
In an embodiment, the method further comprises:
in response to detecting that the second trigger condition is satisfied, converting the selected container to streaming text.
According to a second aspect of an embodiment of the present invention, there is provided a document processing apparatus including:
the attribute information acquisition module is used for responding to at least one container selected in a document and acquiring the attribute information of each container, wherein the attribute information comprises at least one attribute item;
the attribute item determining module is used for determining the attribute items meeting the preset conditions in the at least one attribute item as target attribute items;
and the target position determining module is used for determining the target position of the at least one container in the document according to the target attribute item.
In one embodiment, the attribute items include at least one of:
editing authority, preset mounting information, a cooperation boundary, an interaction mode, element attribution information and association degree setting information.
In an embodiment, the elements of the container comprise at least one of:
streaming text;
a webpage or a part of content corresponding to the webpage;
an item to be dealt with;
a billboard;
the method comprises the steps that a graph comprises at least one of a mind map, UML and a flow chart, wherein the mind map comprises at least one module, the mind map corresponds to a parent container, the module corresponds to a child container, and the child containers corresponding to the at least one module have an association relationship and are connected based on the association relationship;
multimedia data.
In an embodiment, in a case that the document includes more than two containers, the target position determination module is further configured to sort the results of the more than two containers in the document according to the parameter values of the target attribute items.
In an embodiment, the attribute item determination module is further configured to any one of:
determining a target attribute item based on the currently selected attribute item; or the like, or a combination thereof,
determining the attribute item with the highest priority as a target attribute item; or the like, or, alternatively,
determining a target property item based on a currently detected operation triggered on the container.
In one embodiment, the container is a parent container or a child container, and the parent container includes at least one child container.
In one embodiment, the parent container and the child container have different editing rights, and the editing right of the parent container is higher than that of the child container.
In an embodiment, the property item includes an editing right, the type of the container includes a to-do item container, and the to-do item container includes to-do items;
the editing authority of the to-be-handled item container belongs to a container creator or a to-be-handled task distributor, and the editing authority of the to-be-handled item belongs to a task collaborator.
In one embodiment, the apparatus further comprises a container selection module;
the container selection module is configured to:
in response to detecting a touch operation within range of the container, determining that the container is selected; and/or the presence of a gas in the atmosphere,
in response to detecting that an object selected based on a preset composition shortcut includes any part of an element in a container, determining that the container is selected.
In an embodiment, in a case where the property item includes an editing right, the apparatus further includes: an editing authority setting module;
the editing authority setting module is used for setting the editing authority based on any one of the following attribute items:
mounting information, a cooperation boundary and an interaction mode are preset.
In one embodiment, the apparatus further comprises:
the container element updating module is used for updating the elements in the container based on preset information acquired from a third-party application; and/or the presence of a gas in the gas,
and the container element synchronization module is used for synchronously updating the elements in the container to a third-party application.
In an embodiment, the container element update module is further configured to:
updating the elements in the container by adopting the acquired preset information based on the authority provided by the third-party application; or the like, or a combination thereof,
updating elements in the container by adopting the acquired preset information based on the authority in the options of the container; or the like, or, alternatively,
and updating the elements in the container by adopting the acquired preset information based on the permission provided by the third-party application and the permission in the options of the container.
In one embodiment, the container has a cooperating container;
the device further comprises:
and the container cooperation updating module is used for triggering the cooperation container to perform cooperation updating in response to the detection of the preset interactive operation aiming at the container.
In an embodiment, the container collaboration update module is further configured to update the collaboration container and/or elements in the collaboration container based on a preset priority.
In an embodiment, the apparatus further comprises a priority update module configured to:
when the collaborative container is a streaming text container, updating elements in the collaborative container with a higher priority than updating the collaborative container;
when the collaborative container is a view type container, the collaborative container is updated with a higher priority than the collaborative container.
In an embodiment, the container collaboration update module is further configured to update the collaboration container based on a manner associated with the collaboration container type.
In one embodiment, the apparatus further comprises:
and the preset operation execution module is used for executing preset operation on the at least one container based on a preset cooperative boundary, wherein the preset operation comprises a merging operation and/or a splitting operation.
In an embodiment, in a case that the preset operation includes a merge operation, the preset operation execution module is further configured to perform deduplication processing on a repeated element in a container obtained after the merge operation.
In an embodiment, the elements of the container include feature items and information items, and in the case that the preset operation includes a merge operation, the preset operation execution module is further configured to, in response to determining that a level of a first feature item of a first container is higher than a level of a second feature item of a second container, implement merging of the first container and the second container by merging the second information item of the second container into the first information item of the first container.
In an embodiment, after the second feature item is incorporated into the first feature item, the preset operation performing module is further configured to:
promoting the level of the first feature item; and/or the presence of a gas in the gas,
raising the level of the first container.
In one embodiment, the apparatus further comprises:
the container conversion module is used for converting the selected objects in the document into containers in response to the detection that a first trigger condition is met, and the attribute information of the containers is determined based on the first trigger condition.
In an embodiment, the container conversion module is further configured to, in response to detecting that the stream text in the document has a preset element, convert the stream text associated with the element into a container of a type corresponding to the element.
In one embodiment, the element is a predetermined keyword.
In an embodiment, the preset keywords include at least two of a to-do item, or a time, a place, an event, and a person;
the type of container corresponding to the element comprises a to-Do item container.
In one embodiment, the container conversion module is further configured to convert the content currently selected in the document into a container of an instruction-specified type in response to receiving an instruction to convert a container.
In an embodiment, the container conversion module is further configured to convert a plurality of objects into a container in response to detecting that the plurality of objects are selected in the document and the plurality of objects satisfy a set condition.
In one embodiment, the apparatus further comprises:
and the stream text conversion module is used for converting the selected container into stream text in response to detecting that the second trigger condition is met.
According to a third aspect of an embodiment of the present invention, there is provided an electronic apparatus, including:
a processor;
a memory for storing a computer program;
wherein the processor is configured to, when executing the computer program, implement:
responding to at least one container selected in a document, and acquiring attribute information of each container, wherein the attribute information comprises at least one attribute item;
determining attribute items meeting preset conditions in the at least one attribute item as target attribute items;
and determining the target position of the at least one container in the document according to the target attribute item.
According to a fourth aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when processed by a processor, implements:
responding to at least one container selected in a document, and acquiring attribute information of each container, wherein the attribute information comprises at least one attribute item;
determining attribute items meeting preset conditions in the at least one attribute item as target attribute items;
and determining the target position of the at least one container in the document according to the target attribute item.
Compared with the prior art, the method and the device have the advantages that the attribute information of each container is obtained in response to the selection of at least one container in the document, the attribute information comprises at least one attribute item, the attribute item meeting the preset condition in the at least one attribute item is determined as the target attribute item, and the target position of the at least one container in the document is determined according to the target attribute item.
Drawings
FIG. 1 shows a flowchart of a document processing method according to an exemplary embodiment of the present invention;
FIG. 2 shows a flowchart of a document processing method according to yet another exemplary embodiment of the present invention;
FIG. 3 shows a flowchart of a document processing method according to another exemplary embodiment of the present invention;
FIG. 4 illustrates a flowchart of a document processing method according to yet another exemplary embodiment of the present invention;
FIG. 5 shows a block diagram of a document processing apparatus according to an exemplary embodiment of the present invention;
FIG. 6 is a block diagram showing a configuration of a document processing apparatus according to another exemplary embodiment of the present invention;
fig. 7 shows a block diagram of an electronic device according to an exemplary embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to specific embodiments shown in the drawings. These embodiments are not intended to limit the present invention, and structural, methodological, or functional changes made by those of ordinary skill in the art in light of these embodiments are intended to be within the scope of the present invention.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein to describe various structures, these structures should not be limited by these terms. These terms are only used to distinguish one type of structure from another.
FIG. 1 shows a flowchart of a document processing method according to an exemplary embodiment of the present invention. The method of the embodiment may be applied to a terminal device with a document processing function (e.g., a smart phone, a tablet computer, a notebook computer, a desktop computer, or the like), or may be applied to a server (e.g., a server or a server cluster composed of multiple servers, or the like). The following embodiments are exemplarily described by taking application to a terminal device as an example. As shown in fig. 1, the method comprises the following steps S101-S103:
in step S101, in response to selection of at least one container in a document, attribute information of each of the containers is acquired.
In this embodiment, a container is an object that records the content and attributes of a document. The document may be divided into a plurality of containers, each of which records all or part of the content of the document. The containers may have a hierarchical relationship therebetween, and if the content of the first container record includes the content of the second container record, the first container is considered to be a parent container of the second container, and the second container is considered to be a child container of the first container. The entire document may be considered a container that stores the entire contents of the document and is the parent of all other containers in the document.
Further, a document may be stored using one file, or may be stored using a plurality of files. Correspondingly, the file of the document can store at least one container of the document, and the way of storing the container in a file at least comprises one of the following ways: all contents of the storage container, a reference manner of the storage container. The reference mode may be an address of a file where the referenced container is located, and the address may be a path in a file system or a network address.
In one embodiment, the document data about the container may be read from a file in which the document is stored correspondingly; rendering the document content if the document data is the document content; under the condition that the document data is in a reference mode of a container, acquiring actual document content based on the reference mode and rendering the document content; and after the rendering of the document content is completed, displaying the document content.
In this embodiment, the terminal device may select at least one container in the document, and obtain attribute information of each container. For example, when a user processes the document through the terminal device, if the position of the at least one container in the document needs to be adjusted, the user may select the at least one container that needs to be adjusted from the document by performing a preset operation, and the terminal device may obtain the attribute information of each container in the at least one container in response to the preset operation. It should be noted that the type of the preset operation may be set based on actual needs, and this embodiment does not limit this.
The attribute information may include at least one attribute item. In one embodiment, the attribute item is one of the following 1) to 7):
1) Editing authority which can be used for stipulating whether a user has the authority of editing the container, wherein the authority relates to whether the content and/or the attribute information in the container can be added, deleted, changed and the like;
2) The viewing permission can be used for stipulating whether the user has the permission to view the container;
3) The preset mounting information can be used for setting various types of additional information mounted on the container, such as one or more of a creator of the container, the time of creation, and personnel involved in a task corresponding to the container (in the case that the content contained in the container relates to a task to be processed);
4) A collaboration boundary, which may be used to specify whether the current container may collaborate with other containers and/or a specific collaboration manner, etc.;
5) The interaction mode can be used for specifying a mode of interaction between the user or a third-party application and the container, such as one or more of a selection mode, an editing mode, an updating mode, a conversion mode and the like of the content in the container;
6) The attribution information of the element can be used for specifying a specific attribution party of the element in the container, such as one or more of identification information, identity information, ownership information and the like of the attribution party;
7) The association degree setting information may be used to specify the association degree between the current container and other containers in the document, such as whether elements in the container have relevance.
In an embodiment, when the attribute item includes an editing right, the editing right of the container may be further set based on any one of preset mount information, a collaboration boundary, and an interaction manner.
In another embodiment, when the attribute item includes a viewing right, the viewing right of the container may be further set based on any one of preset mount information, a collaboration boundary, and an interaction manner.
It is to be noted that the container in the document of the present embodiment may be a container that fuses concepts of the subdocuments and the pages. For example, the header, footer, and body of a document may each be stored as a subdocument. It should be noted that the sub-documents are independent, but the containers in this embodiment may perform association and collaboration through the attribute information of the containers, and further, according to the association and collaboration between the containers, the contents in the document may be reorganized, such as editing and transformation, so as to increase the extensibility and flexibility of the document.
In an embodiment, the elements in the container may carry data in a preset display mode. The elements of the container (i.e., the contents of the container) may include at least one of the following (1) to (6):
(1) Streaming text; (2) web pages or parts of content corresponding to web pages; (3) to-do items; (4) a billboard; (5) a graph; and (6) multimedia data.
The stream text is also called text stream, and is a text typeset by stream type. That is, when the elements of the container are stream texts, the texts in the container are typeset in a stream mode. Compared with format typesetting, stream typesetting refers to specific format typesetting processing on characters contained in a document, stored contents are original editing elements, namely characters, a user can view the typesetting style after editing through terminal equipment, and the typesetting style can be displayed in a self-adaptive layout size mode among different zoom ratios. The best performance on the terminal equipment with a small screen is that the initial layout can be automatically rearranged after being enlarged, and the line feed of the paragraph can be adjusted according to the width of the screen so as to adapt to the visual field range of a single page.
The above-mentioned figures may comprise at least one of mind map, UML, and flow chart. Of course, the elements of the container may also be containers, for example, the mind map includes at least one module, the mind map corresponds to a parent container, the module corresponds to a child container, and the child containers corresponding to the at least one module have an association relationship therebetween and are connected based on the association relationship.
The multimedia data, including text, sound, image, etc., streaming text, web page, to-do item, billboard, etc., may also be reorganized or typeset, and finally displayed in a container. For example, the streaming text may be regarded as the text that is formatted in a streaming manner.
The web page may be plain text that describes the multimedia data using HTML tags. The content, source and presentation mode of the multimedia data can be determined according to the HTML label.
The pending items may be a collection of multimedia data, i.e. one or more multimedia data, which may be used to describe one or more of people, things, time, and things.
The billboard may include a column and a card, wherein the card may be disposed in the column and may be moved from one column to another, or may be moved from one location in the column to another location in the column. Additionally, the cards may also be used to store one or more of the multimedia data.
Optionally, the elements of the container may further include a code block, that is, a text corresponding to a preset program language code, that is, the container in this embodiment may apply a preset theme to the text corresponding to the code according to the type of the program language, where the theme may set a font, a color, and the like for functions, parameters, and the like in the code.
It is understood that the type of the container may be determined according to the type of the elements in the container in the present embodiment, such as a streaming text container, a web page container, a proxy item container, a billboard container or a graphics container.
In another embodiment, the container may further be provided with a typesetting manner related to the element display manner.
The embodiment may also select at least one container in the document based on at least one of the following manners (a) and (b):
(a) In response to detecting a touch operation within range of the container, determining that the container is selected; and/or the presence of a gas in the gas,
(b) In response to detecting that an object selected based on a preset compound shortcut includes any part of an element in a container, determining that the container is selected.
For example, the touch operation may include an operation based on a mouse or a touch screen, and the combination shortcut key may be set based on actual needs, for example, the combination shortcut key is set as a "shift + direction key", and the present embodiment does not limit this.
In step S102, an attribute item satisfying a preset condition among the at least one attribute item is determined as a target attribute item.
In this embodiment, when the terminal device responds to at least one container selected from the document and acquires the attribute information of each container, an attribute item satisfying a preset condition in the at least one attribute item may be determined as a target attribute item.
For example, after the terminal device obtains the attribute information of each container, it may be determined whether an attribute item meeting a preset condition exists in the at least one attribute item, that is, whether the attribute item meets the preset condition is detected for each attribute item in the at least one attribute item, and then when it is determined that an attribute item meeting the preset condition exists, the attribute item meeting the preset condition is determined as a target attribute item.
In an embodiment, the above-mentioned manner for determining, as the target attribute item, an attribute item that satisfies a preset condition in the at least one attribute item may include the following (i) or (ii) or (iii):
(i) Determining a target attribute item based on the currently selected attribute item;
in this embodiment, after the terminal device obtains the attribute information of each container, the terminal device may detect the attribute item currently selected by the user in the document, and then the terminal device may determine the currently selected attribute item as the target attribute item. For example, the user may determine the currently selected attribute item by clicking the attribute item in the alternative attribute items, which is not limited in this embodiment.
(ii) Determining the attribute item with the highest priority as a target attribute item;
in this embodiment, after the terminal device obtains the attribute information of each container, the priority of the attribute information of each container may be detected, and then the attribute item with the highest priority may be determined as the target attribute item.
It should be noted that the priority of the attribute item may be preset or set based on the operation of the current user, which is not limited in this embodiment.
(iii) Determining a target property item based on a currently detected operation triggered on the container.
In this embodiment, after the terminal device obtains the attribute information of each container, it may detect a current operation triggered by the user on the container, and further determine the target attribute item based on the current operation triggered on the container.
In an embodiment, the operation triggered on the container may include a splitting operation on the current container (i.e., splitting the current container into at least two containers, etc.), a merging operation (i.e., merging the current container with at least one other container), and the like.
Taking the above operation as an example of a merging operation, after a merging operation currently triggered by a user on a container is detected, an attribute item of the current container, which is related to container merging, may be determined as a target attribute item. It should be noted that the property item related to container merging may be set based on actual needs, such as setting as an editing authority (e.g., whether the property item may be merged, etc.), an interactive manner (i.e., specifically by what manner to merge, such as based on a dragging operation, a selecting operation, etc.).
In this embodiment, the merging operation of the containers may include: merging between different containers, merging of different versions of the same container.
In one embodiment, the merging between different containers may be merging between containers in different documents, or merging between containers in the same document.
In an embodiment, in an application scenario of multi-person collaboration, different versions of the same container may represent different versions edited by multiple users on the same container. Therefore, merging of containers can be understood as resolving content conflicts resulting from multiple users editing simultaneously, resulting in a final version of the container.
In yet another embodiment, in an application scenario of document backup or synchronization, different versions of the same container may represent historical versions of the same container edited by the same user at different times or on different devices. Therefore, merging containers can be understood as resolving content conflicts of multiple version containers, and a final version container can be obtained, and specific content with conflicts can also be obtained.
In this embodiment, how to resolve the content conflict is not limited.
In an embodiment, different versions of content can be obtained, semantic elements including parts of speech, logic and the like of different versions of content are proposed based on a natural language analysis technology, and then the different versions of content are reorganized into the same version of content according to the semantic elements to solve the problem of content conflict.
In yet another embodiment, editors of different versions of content may also be obtained, the user level of the editors is obtained, and the content of the version corresponding to the editor with the higher user level is adopted as the content of the final version, so as to solve the problem of content conflict.
In step S103, a target position of the at least one container in the document is determined according to the target attribute item.
In this embodiment, after determining, as a target attribute item, an attribute item that satisfies a preset condition in the at least one attribute item, a target position of the at least one container in the document may be determined according to the target attribute item.
For example, after determining the target property item, a target position of the at least one container in the document may be determined based on the target property item, and the at least one container may be adjusted from the current position to the target position.
Taking the operation triggered by the container as the merging operation and the target attribute item as the editing authority and the interaction mode as examples, after the terminal device determines the editing authority and the interaction mode of the current container, it may be detected whether the editing authority represents "mergeable", and further, when it is determined that the editing authority represents "mergeable", it may be detected whether the interaction mode, such as a dragging mode or a clicking mode, etc., is used. For example, when it is detected that the interaction manner is a "dragging manner," dragging the current container to a target container for merging in response to a dragging operation triggered by a user, where a position of the target container is a target position of the container in the document determined based on the target attribute item. That is, the position of the target container is the target position of the current container, because the current container is dragged from the original position to the position of the target container and merged with the target container.
In an embodiment, when the document includes more than two containers, the step S103 may further include: and sequencing the results of the more than two containers according to the parameter values of the target attribute items, and arranging the results in the document. For example, the more than two containers may be sorted according to the levels of the editing permissions, and then the container with the highest permission level may be arranged at the top of the document, so that each container may be displayed in the document based on the level of the editing permission of the container, and the effect of displaying the containers may be improved, and the requirements of the user may be met.
In this embodiment, the container may be a parent container or a child container, where the parent container may include at least one child container therein.
In this embodiment, the child container may inherit all or part of the attribute information of the parent container. For example, if the first container is a child container of the second container and the second container is a parent container of the first container, then the first container may contain all or part of the attribute information of the second container.
In one embodiment, the parent container may preset attribute information that can be inherited by the child container. For example, the inherited attribute information is element attribution information. As described above, the element attribution information may be used to specify a specific attribution of the element in the container, such as one or more of identification information, identity information, and ownership information of the attribution. Then, when the child container inherits the element attribution information in the parent container, the child container may have the same element attribution information as the parent container, indicating that the specific attributions of the elements in the parent container and the child container are consistent.
Of course, in this embodiment, the parent container and the child container may have different attribute information, and due to the difference between the child container and the parent container, the extended space of the child container is increased, and the flexibility of setting and displaying the document using the container is embodied.
In one embodiment, the parent container and the child container may have different editing rights, and the editing right of the parent container is higher than that of the child container. For example, a user who owns the editing right of a parent container must have the editing right of a child container, while a user who owns the editing right of a child container does not necessarily have the editing right of a child container.
In another embodiment, when the elements of the container are to-Do items, the type of such container may be defined as a to-Do item container. The editing authority of the to-be-handled item container belongs to a container creator or a to-be-handled task distributor, and the editing authority of the to-be-handled item belongs to a task collaborator.
In this embodiment, in response to selecting at least one container in a document, attribute information of each container is acquired, where the attribute information includes at least one attribute item, and an attribute item that satisfies a preset condition in the at least one attribute item is determined as a target attribute item, and then a target position of the at least one container in the document is determined according to the target attribute item.
FIG. 2 shows a flowchart of a document processing method according to yet another exemplary embodiment of the present invention; the method of the embodiment may be applied to a terminal device with a document processing function (e.g., a smart phone, a tablet computer, a notebook computer, a desktop computer, or the like), or may be applied to a server (e.g., a server or a server cluster composed of multiple servers, or the like). The following embodiments are exemplarily described by taking the application to a terminal device as an example. As shown in fig. 2, the method includes the following steps S201-S204:
in step S201, in response to selection of at least one container in a document, attribute information of each of the containers is acquired. Wherein the attribute information includes at least one attribute item.
In step S202, a property item satisfying a preset condition among the at least one property item is determined as a target property item.
In step S203, a target position of the at least one container in the document is determined according to the target attribute item.
For the explanation and explanation of steps S201 to S203, reference may be made to steps S101 to S103 in the embodiment shown in fig. 1, which is not repeated herein.
In step S204, updating the elements in the container based on preset information acquired from a third-party application; and/or synchronously updating the elements in the container to a third-party application. In this embodiment, after the terminal device detects that at least one container is selected from the document, preset information may be acquired from a pre-associated third-party application to update elements in the container; and/or synchronously updating the elements in the container to a third-party application, thereby realizing information intercommunication and/or synchronous display between the container and the third-party application, and realizing dynamic update of documents without acquiring and updating data artificially.
Wherein, the content of the preset information is matched with the content of the element of the container. For example, if the element in the container is weather information of a preset area, real-time weather of the preset area may be obtained from a third-party application (i.e., a weather application), and then the weather information in the container is updated. For another example, if the element in the container is a to-do item and the content in the to-do item changes, the element in the container may be updated to the third-party application for displaying the to-do item synchronously.
In an embodiment, the updating the elements in the container based on the preset information obtained from the third-party application in step S204 may include:
updating the elements in the container by adopting the acquired preset information based on the authority provided by the third-party application; or the like, or, alternatively,
updating the elements in the container by adopting the acquired preset information based on the authority in the options of the container; or the like, or, alternatively,
and updating the elements in the container by adopting the acquired preset information based on the permission provided by the third-party application and the permission in the options of the container.
For example, if the element in the container is updated by using the acquired preset information based on the permission provided by the third-party application, the level of the permission provided by the third-party application may be set to the highest level, and then after the preset information is acquired from the third-party application, the element in the container may be updated by using the acquired preset information based on the permission provided by the third-party application; or if the element in the container is updated by using the acquired preset information based on the authority in the option of the container, the level of the authority in the option of the container may be set to the highest level, and then the element in the container may be updated by using the acquired preset information based on the authority in the option of the container after the preset information is acquired from the third-party application; or, if the element in the container is updated by using the acquired preset information based on the permission provided by the third-party application and the permission in the option of the container, the level of the permission provided by the third-party application and the level of the permission in the option of the container may be set to be the same level, and then the element in the container may be updated by using the acquired preset information based on the permission provided by the third-party application and the permission in the option of the container.
It is understood that in order to distinguish the above three ways of permission adoption, the user name used in each way may be set differently. And further, in practical application, the currently adopted authority can be determined based on the user name.
In practical application, different information that can be obtained based on different permissions can be set based on business needs, for example, the information that can be obtained based on the permissions provided by a third-party application is set differently from the information that can be obtained based on the permissions in the container-based options; alternatively, it may be set that information that can be acquired by the right of the lower level can be acquired based on the right of the higher level of the two rights, but information that can be acquired by the right of the higher level cannot be acquired based on the right of the lower level, and the like.
In an embodiment, a container in the above document may have a collaborative container, where the container has an update correlation with its collaborative container, that is, after the container is updated, its collaborative container may be triggered to update. On this basis, the document processing method of the embodiment may further include:
and triggering the collaborative container to carry out collaborative updating in response to the detection of the preset interactive operation aiming at the container.
In an embodiment, the manner for triggering the collaborative container to perform collaborative update may include updating the collaborative container and/or elements in the collaborative container based on a preset priority.
Wherein, the preset priority refers to the update priority order of the container update and the element update. For example, the priority of updating the element in the collaborative container is higher than the priority of updating the collaborative container, or the priority of updating the collaborative container is higher than the priority of updating the element in the collaborative container.
In addition, in this embodiment, the update of the container may refer to a change of a container type, for example, the update may be based on converting a container of a view type into a container of a stream text type, or converting a container of a stream text type into a container of a view type; and an update of an element may refer to a change of the element itself, e.g., an element update of a stream text container is a change of the stream text content in the stream text container. The present embodiment may further include, on the basis of the above embodiment:
when the collaborative container is a streaming text container, updating elements in the collaborative container with a higher priority than updating the collaborative container;
and in the case that the collaborative container is a view type container, the collaborative container is updated with a higher priority than the elements in the collaborative container.
In another embodiment, the above-mentioned manner for triggering the collaborative container to perform collaborative update may further include updating the collaborative container based on a manner associated with the collaborative container type.
For example, the update mode associated with each collaborative container type may be preset, for example, the update mode associated with the stream text container type (that is, the container type of which the element of the container is the stream text) is set as an element update (that is, a stream text update), and when it is detected that the current collaborative container type is the stream text container, the collaborative container may be updated based on the pre-associated element update mode, that is, the element of the collaborative container is updated.
FIG. 3 shows a flowchart of a document processing method according to another exemplary embodiment of the present invention; the method of the embodiment may be applied to a terminal device with a document processing function (e.g., a smart phone, a tablet computer, a notebook computer, a desktop computer, or the like), or may be applied to a server (e.g., a server or a server cluster composed of multiple servers, or the like). The following embodiments are exemplarily described by taking the application to a terminal device as an example. As shown in fig. 3, the method comprises the following steps S301-S304:
in step S301, in response to selection of at least one container in a document, attribute information of each of the containers is acquired. Wherein the attribute information includes at least one attribute item.
In step S302, a property item satisfying a preset condition among the at least one property item is determined as a target property item.
In step S303, a target position of the at least one container in the document is determined according to the target attribute item.
For the explanation and explanation of steps S301 to S303, reference may be made to steps S101 to S103 in the embodiment shown in fig. 1, which is not repeated herein.
In step S304, a preset operation is performed on the at least one container based on a preset collaboration boundary.
The preset collaboration boundary, namely the collaboration update mode of the container, comprises at least one of priority of updating the container and the element, updating the container and updating the element, and the container and the element can be clearly divided by presetting the collaboration boundary of the container, so that strict and diversified definition of the container is realized.
In one embodiment, the configuration of the container may be read first; then obtaining a configuration item about the collaborative boundary from the configuration, wherein the value of the configuration item can be the setting of at least one of container and element update priority, container update and element update; the collaboration boundary may then be determined based on the values of the configuration items.
In this embodiment, the container update may refer to a change of a container type, and the container operated by the preset operation and the container obtained by the preset operation may belong to different types of containers. And element update may refer to a change of an element itself, and a container operated by a preset operation and a container obtained by the preset operation may be the same type of container.
Further, the container and element update priority may refer to updating the container or updating the element when the two containers perform the preset operation. On the basis of the above, the priority order of the container update and the element update, i.e. whether the container update is prior to the element update or lags behind the element update, is also considered in the present embodiment. For example, if the update priority of the container is set to be higher than the element update priority, the update of the container may be preferentially performed; if the update priority of the element is set to be higher than the element update priority, the element can be preferentially updated.
In this embodiment, the cooperative boundary of the container may be preset based on three aspects of the priority of the container and the element update, the container update, and the element update, and then the preset operation may be performed on the at least one container based on the cooperative boundary. Wherein the preset operation may comprise a splitting operation (i.e., splitting the container into at least two containers, etc.) and/or a merging operation (i.e., merging the container with at least one other container), etc.
In an embodiment, the performing, based on the preset cooperative boundary, a preset operation on the at least one container in step S102 may further include: acquiring an operation rule aiming at the cooperative boundary; and executing preset operation on at least one container based on the operation rule. The operation rule may be used to specify one or more of a type of a container after the preset operation, whether an object operated by the preset operation is a container or an element, and an operation manner of the preset operation on the object. In this embodiment, the specific operation rule is not limited, and different operation rules may be formulated according to different application scenarios in actual implementation. As one example, the operation rules may be stored as a configuration file. When the device is actually used, the configuration file can be read, and the preset operation is executed according to the operation rule configured by the configuration file; as another example, the operation rule may also be stored as an executable code, and then when the operation rule is actually used, the executable code corresponding to the operation rule may be called, so as to execute a preset operation according to the operation rule.
1. In this embodiment, the description will be given by taking the cooperative boundary as an element update as an example.
In one embodiment, an operation rule corresponding to a preset collaboration boundary is acquired; merging the at least one container operated by the merging operation into a container based on the operation rule, wherein the container obtained by merging comprises all elements in the at least one container before merging.
Furthermore, the elements in the container obtained by combination can be displayed according to a preset display rule. The display rule may specify an ordering manner, a screening condition, a grouping manner, and the like of the elements. In this embodiment, the specific display rule is not limited, and different display rules may be formulated according to different application scenarios. In addition, the display rule may be stored as a configuration file, and when the display rule is used specifically, the configuration file may be read, and all elements in the merged container may be displayed according to the display rule configured by the configuration file. The display rule can also be stored as an executable code, and when the display rule is used specifically, the executable code corresponding to the display rule can be called so as to display all elements in the merged container according to the display rule.
In a particular embodiment, at least one container operated by the merge operation is a streaming text container. For example, an element update of a stream text container is a change of the stream text content in the stream text container. Specifically, the corresponding operation rule may be configured as: the type of the container after the preset operation is still a stream text container, the object operated by the preset operation is stream text (element) in the stream text container, and the preset operation is to operate the stream text in a way that the stream text of one container is added behind the stream text of another container. Further, when an original stream text container is detected to be dragged to a target stream text container, the original stream text container and the target stream text container are determined to be selected; and in response to the merging operation of the original stream text container and the target stream text container, merging the stream text contents in the original stream text container and the target stream text container according to an operation rule corresponding to the merging operation, and taking the merged stream text contents as the stream text contents of the target stream text container, wherein the type of the container is still the stream text container, but the elements (stream text contents) of the stream text container are updated.
In another specific embodiment, when the preset operation includes a merge operation, the corresponding operation rule may be configured to: the object operated by the merge operation is an element in a container, the type of the container after the merge operation is an original type, and the operation mode of the element by the merge operation is deduplication. Specifically, the duplicate elements in the container obtained after the merging operation may be subjected to deduplication processing, for example, only one of the multiple identical elements in the container after the merging operation is deleted, and the like. The deduplication processing mode may be: acquiring elements of all containers operated by the merging operation as an element list; comparing elements in the element list; when the comparison result between at least two elements is the same, deleting redundant elements and only keeping one element in the element list; and in the case that no repeated element exists in the element list, taking all elements in the element list as elements in the container after the merging operation.
In another embodiment, the preset operation may further include a container summarizing operation. For example, a parent container may be set at a preset position of the current document for aggregating child containers with target attribute items in the whole document, for example, the parent container may be set at the beginning of the document to aggregate all backlogs in the current document based on the parent container. Alternatively, a convergence condition may be set when performing container aggregation, such as setting the number of containers after convergence, and the like.
In an embodiment, the elements of the container may include a feature item and an information item, and further, in a case that the preset operation includes a merge operation, the document processing method of this embodiment may further include:
in response to determining that the level of the first characteristic item of the first container is higher than the level of the second characteristic item of the second container, merging the first container and the second container by merging the second information item of the second container into the first information item of the first container.
It is worth to be noted that the characteristic items and the information items of the container are contents that can be directly seen in the container, wherein the characteristic items may be time-based information such as information task processing time, event validity time, and the like for characterizing the life cycle of the container, and when the time is exceeded, the life cycle of the container may be regarded as "end"; and the information item can be used for characterizing the substantive content in the container, for example, when the element of the container is a work group, the information item can be the member information of the work group, and the like.
The attribute items of the container include contents that cannot be directly seen in the container, such as at least one of editing authority of the container, preset mounting information, collaboration boundary, interaction mode, element attribution information, and association setting information.
In an embodiment, after the second feature item is incorporated into the first feature item, the level of the first feature item may be further raised; and/or, upgrade the first container.
For example, assuming that the containers to be merged are a first container and a second container, respectively, the elements of the first container include a first characteristic item, a first information item, and a first other information item (the other information item may be used to set custom information, and may be deleted if not necessary); and elements of the second container include a second characteristic item, a second information item, and a second other information item (which may be used to set custom information, and may be deleted if not required). For example, the first container and the second container may be streaming text containers, and the first feature item and the second feature item may be used to determine the life cycle of the container to which the first feature item belongs, and satisfy a customized rule (feature item level takes precedence for a merge element). For example, assuming that the level of the first feature item is higher than the level of the second feature item, when a merge operation (e.g., an operation triggered based on a ctrl + cmd + c shortcut key) on the first container and the second container is detected, if the first container and the second container are both stream text containers, elements of the first container and the second container may be merged based on a pre-formulated merge rule (i.e., elements of the stream text containers are merged at a level higher than the level at which the containers are merged). And since the level of the first characteristic item is higher than the level of the second characteristic item, the second information item and the second other information item of the second container are incorporated into the first information item and the first other information item of the first container, respectively.
Optionally, the level of the first feature item of the merged first container and the level of the first container may be raised, and the whole container merging operation is completed. For example, a plurality of preset levels of the feature items may be preset, and after the second information item and the second other information item of the second container are respectively merged into the first information item and the first other information item of the first container, the level of the first feature item may be raised from the current first preset level to the second preset level.
As another example, assume a hierarchical architecture is characterized based on containers, where: container 1 may be used to characterize a class of one, container 2 may be used to characterize a class of 1 class of one, and container 3 may be used to characterize a class of 2 classes of one, then the elements in container 1 may be set as class containers, such as container 2 and container 3, and further the elements in container 2 and container 3 may also be set as class members (e.g., teachers and students, etc.). When a container 4 for representing 3 shifts of a year is newly added, the container 4 and the container 1 can be fused (i.e. merged), that is, the container 4 is taken as a sub-container of the container 1, which means that the year is one shift more; if the class members of class 1 and class 3 need to be merged, container 4 and container 2 may be merged, for example, container 4 and container 2 are merged into container 2 (i.e., the feature item of container 2 is "2", the feature item of container 4 is "4", and after the feature item "4" of container 4 is merged into the feature item "2" of container 2, the feature items of merged container 2 are "2" and "4", since the level of feature item "2" of container 2 is higher than the level of feature item "4" of container 4, the feature item of merged container 2 is promoted to be "2"), and the elements of merged container 2 are the union of container 4 and container 2, i.e., all class members including class 1 and class 3.
In another specific embodiment, taking the collaborative boundary as an element update as an example for explanation, the corresponding operation rule may be configured as follows: the object operated by the merge operation is an element in a container, the type of the container after the merge operation is an original type, and the operation mode of the element by the merge operation is summary. Specifically, determining a to-do item container meeting a predetermined condition in a document as a selected container, and acquiring a preset collaboration boundary of the at least one to-do item container in response to at least one to-do item container selected in the document; determining an operation rule set for a preset cooperation boundary under the condition that the cooperation boundary is updated by an element; executing merging operation on the at least one to-do item container according to the operation rule; and responding to the merging operation, and obtaining a merged summary container based on all elements in the selected at least one to-do item container, wherein the summary container comprises all elements in all to-do item containers.
In an embodiment, the preset operation is a splitting operation, and an operation rule corresponding to a preset collaboration boundary may be obtained; splitting each of the containers operated on by the splitting operation into at least two containers based on the operation rules.
In a case that the preset operation includes a splitting operation, the performing the preset operation on the at least one container in step S304 may further include: splitting the container into at least two containers based on the information items of the container. For example, still assuming that a hierarchical architecture is characterized based on containers, wherein a container 1 may be used to characterize a hierarchy, and an information item 1, an information item 2, an information item 3, and an information item 4 in the container may be used to characterize a hierarchy 1, a hierarchy 2, a hierarchy 3, and a hierarchy 4, respectively, when a splitting operation of the container 1 is detected, the container 1 may be divided into a plurality of containers based on the information items in the container 1, for example, when an operation of splitting by a class odd-even number is detected, the information item 1 and the information item 3 in the container 1 may be divided into the container 2, and the information item 2 and the information item 4 may be divided into the container 3, that is, the splitting of the container 1 into the container 2 and the container 3 is realized.
In an embodiment, when a setting operation for a target element in a container is detected, the target element may be moved out of the container, and a new container may be formed based on the target element, where the setting operation includes at least one of a drag operation and a click operation. Still taking the above container 1 for characterizing the hierarchical architecture as an example, when an operation of dragging the information item 1 of the hierarchical 1 shift (it is understood that the information item is also an element of the container) in the container 1 to the outside of the container 1 is detected, the information item 1 can be moved to the outside of the container 1, and a new container 2 is formed based on the information item 1, and then the current element in the original container 1 is left with the information item 2 of the hierarchical 2 shift, the information item 3 of the hierarchical 3 shift, and the information item 4 of the hierarchical 4 shift.
2. Collaborative frontier updating for containers
In this embodiment, the following description will be given taking a cooperation boundary as a container update example.
In a specific embodiment, taking the collaboration boundary as a container update as an example for explanation, in the case of merging the to-do item containers into the billboard container, the corresponding operation rule may be configured as: the object operated by the merging operation is a to-do item container, the type of the container after the merging operation is a billboard container, and the operation mode of the merging operation on the to-do item container is as follows: determining elements in the to-do item container as cards; and attributing the card to the column corresponding to the attribute item in the billboard container according to the attribute item of the to-do item container, wherein the attribute item can be element attribution information, such as an executor corresponding to the to-do item in the to-do item container. Specifically, determining a to-do item container in a document as a selected container, and responding to at least one to-do item container selected in the document to obtain an operation rule corresponding to a preset collaboration boundary of the at least one to-do item container; executing a merging operation on the at least one to-do item container based on the operation rule; in response to the merge operation, a container (e.g., kanban container) of the type specified by the operation rule is obtained. Specifically, a billboard container specified by the operation rule is generated; acquiring all the to-do items (elements) in all the selected to-do item containers; determining element attribution information of all to-be-handled item containers; adding columns corresponding to the attribution information of the elements in the billboard container based on the attribution information of the elements; classifying all items to be handled based on the element attribution information, and attributing all items to be handled to columns corresponding to the element attribution information in the billboard container in a card form.
In another specific embodiment, taking the collaboration boundary as an example of container update, in the case of merging the stream text container into the brain graph container, the corresponding operation rule may be configured as: the object operated by the merging operation is a stream text container, the type of the container after the merging operation is a brain graph container, and the operation mode of the stream text container by the merging operation is as follows: taking the to-do item container as a child container (node) in the brain graph container; and determining the connection relation of the stream text container in the brain graph container according to the hierarchical relation between the stream text containers.
Wherein the brain graph container is a brain graph type container. The brain graph can comprise multiple levels of nodes, the brain graph can be determined to be a parent container, each node in the brain graph is a child container, and the connection relationship of each node determines the hierarchical relationship among the nodes. The node connected with the root node is the next node of the root node, wherein the root node is the topmost node.
In one embodiment, a stream text container in a document is determined as a selected container, and in response to at least one stream text container selected in the document, an operation rule corresponding to a preset collaboration boundary of the at least one stream text container is acquired; performing a merge operation on the at least one streaming text container based on the operation rule; in response to the merge operation, a container of the type specified by the operation rule (e.g., a brain graph container) is obtained. Specifically, a brain graph container specified by the operation rule is generated; acquiring all selected stream text containers; determining the hierarchical relationship of all the stream text containers (for example, the attribute item of a stream text container may set that the stream text container corresponds to one of a first title, a second title, a body text, and the like, and has a hierarchical relationship, for example, the first title is a layer above the second title); and adding nodes corresponding to the flow text containers in the brain graph container, and determining the connection relation among the nodes according to the hierarchical relation.
3. Collaborative frontier being update priority of containers and elements
In a specific embodiment, the merging operation performed on the to-Do item container is taken as an example.
3.1 collaborative frontier is element update
In another specific embodiment, taking the collaborative boundary as an element update as an example for explanation, the corresponding operation rule may be configured as follows: the object operated by the merge operation is an element in a container, the type of the container after the merge operation is an original type, and the operation mode of the merge operation on the element is a summary. Specifically, a to-do item container meeting a predetermined condition in a document is determined as a selected container, and a preset collaboration boundary of the at least one to-do item container is obtained in response to the selection of the at least one to-do item container in the document; determining an operation rule set for a preset cooperation boundary under the condition that the cooperation boundary is updated by an element; executing merging operation on the at least one to-do item container according to the operation rule; and responding to the merging operation, and obtaining a merged summary container based on all elements in the selected at least one to-do item container, wherein the summary container comprises all elements in all to-do item containers.
3.2 collaborative frontier updating containers
In a specific embodiment, taking the collaboration boundary as an example of container update, in the case of merging the to-do item containers into the billboard container, the corresponding operation rule may be configured to: the object operated by the merging operation is a to-do item container, the type of the container after the merging operation is a billboard container, and the operation mode of the merging operation on the to-do item container is as follows: determining elements in the to-do item container as cards; and attributing the card to a column corresponding to the attribute item in the billboard container according to the attribute item of the to-do item container, wherein the attribute item can be element attribution information, such as an executor corresponding to the to-do item in the to-do item container. Specifically, determining a to-do item container in a document as a selected container, and responding to at least one selected to-do item container in the document to obtain an operation rule corresponding to a preset collaboration boundary of the at least one to-do item container; executing a merging operation on the at least one to-do item container based on the operation rule; in response to the merge operation, a container (e.g., kanban container) of the type specified by the operation rule is obtained. Specifically, a billboard container specified by the operation rule is generated; acquiring all the to-do items (elements) in all the selected to-do item containers; determining element attribution information of all to-be-handled item containers; adding columns corresponding to the attribution information of the elements in the billboard container based on the attribution information of the elements; classifying all items to be handled based on the element attribution information, and attributing all items to be handled to columns corresponding to the element attribution information in the billboard container in a card form.
In an embodiment, when the update priority of an element is higher than the update priority of a container, a merge operation on the to-do item container is performed according to the updated collaboration boundary of the container, so as to obtain a summary container.
In another embodiment, in the case that the update priority of the container is higher than the element update priority, the merge operation on the to-Do item container is performed according to the updated collaboration boundary of the element, resulting in the billboard container. As can be seen from the above description, in this embodiment, by responding to at least one container selected in a document, obtaining a preset collaboration boundary of the at least one container, and then performing a preset operation on the at least one container based on the preset collaboration boundary, where the preset operation includes a merge operation and/or a split operation, the preset operation can be performed on the at least one container selected in the document based on the preset collaboration boundary, so that collaboration modes of the containers in the document and processing forms of the document can be enriched, a document processing flow can be simplified, efficiency of processing the document by a terminal device is improved, and user experience can be improved.
FIG. 4 illustrates a flowchart of a document processing method according to yet another exemplary embodiment of the present invention; the method of the embodiment may be applied to a terminal device with a document processing function (e.g., a smart phone, a tablet computer, a notebook computer, a desktop computer, or the like), or may be applied to a server (e.g., a server or a server cluster composed of multiple servers, or the like). The following embodiments are exemplarily described by taking the application to a terminal device as an example. As shown in fig. 4, the method comprises the following steps S401-S405:
in step S401, in response to selection of at least one container in a document, attribute information of each of the containers is acquired. Wherein the attribute information includes at least one attribute item.
In step S402, an attribute item satisfying a preset condition among the at least one attribute item is determined as a target attribute item.
In step S403, a target position of the at least one container in the document is determined according to the target attribute item.
For the explanation and explanation of steps S401 to S403, reference may be made to steps S101 to S103 in the embodiment shown in fig. 1, which is not repeated herein.
In step S404, in response to detecting that a first trigger condition is satisfied, converting a selected object in the document into a container of a preset type, wherein attribute information of the container is determined based on the first trigger condition.
The first trigger condition may be set based on actual service needs, for example, set to allow a user to select an object with a conversion container and trigger an operation of converting the object into the container, which is not limited in this embodiment.
In an embodiment, the converting the selected object in the document into a container of a preset type in response to detecting that the first trigger condition is satisfied in step S404 may further include: in response to detecting that the stream text in the document has a preset element, converting the stream text associated with the element into a container of a type corresponding to the element. That is, the selected object in the document in the present embodiment is the stream text associated with the above-described element.
The above elements may be preset keywords, such as "to do" for representing the to-do item. The selected object in the document can be a container in the document or an element in the container. Of course, the elements in the container may also be containers. For example, for a stream text container, the selected object may be the entire stream text container or the stream text (element) in the stream text container.
It should be noted that, when the selected object is a partial element in the original container, the selected partial element may be converted into a container of a preset type, and other unselected elements constitute other containers, which is equivalent to performing a splitting operation on the original container to obtain at least two containers.
In this embodiment, the preset keywords may be set based on the requirements of the actual application scenario, for example, set as to-be-handled items, or at least two items of time, place, event, and people. It should be noted that the keywords listed in this embodiment are all used to represent corresponding information, and do not refer to specific keywords, such as time-representing information describing time, for example, 4.
The type of container corresponding to the element comprises a to-do item container.
In another embodiment, the converting the selected object in the document into a container in response to detecting that the first trigger condition is satisfied in step S404 may further include: in response to receiving an instruction to convert a container, the content currently selected in the document is converted to a container of an instruction-specified type. That is, the selected object in the document in the present embodiment is the content selected in the document.
In another embodiment, the converting the selected object in the document into a container in response to detecting that the first trigger condition is satisfied in step S404 may further include: in response to detecting that a plurality of objects are selected in the document and the plurality of objects satisfy a set condition, converting the plurality of objects into a container. For example, when the element in the container is a task that needs multiple persons to complete cooperatively, the task corresponding to the multiple persons may be selected as multiple objects, and it may be detected whether the objects satisfy a set condition, for example, whether the tasks processed by the persons are subtasks included in an overall task, or whether there is "transitivity" between the tasks processed by the persons, for example: the task A needs to be processed by a first person, the task A is handed to a second person for processing after the first person is finished, and then the task A is handed to a third person for processing after the second person is finished. It should be understood that the setting conditions are only for illustrative purposes, and the present embodiment does not limit this. On this basis, when it is detected that these objects satisfy the set condition, the plurality of objects may be converted into containers. For example, the tasks (i.e., objects) that three people, a, b, and c, need to complete are converted into a task type container. That is, the selected objects in the document in this embodiment are tasks (i.e., a plurality of objects) that the three people a, b, and c need to complete.
It should be noted that, in the present embodiment, the triggering manner for converting the selected object in the document into the container may be conditional triggering, and element detection is performed (the element is an object for converting into a container of a preset type). Wherein, the condition selectable items can include the following 3:
1. specific interaction-front direct trigger; for example: triggering an option in the document for inserting a container, etc.
2. Escape interaction-trigger detection; for example: triggering an operation in the document to leave the edited stream text object, for example: when the operation of editing the stream text container is finished, an enter key can be clicked to indicate that the editing is finished; alternatively, the cursor may be moved from the stream text container to another position to indicate that the stream text container editing is finished.
3. Specific interaction-post trigger detection; for example: triggering a preset shortcut key and the like.
On the other hand, the elements available for detection in the document may include the following categories:
a. text element detection
For example, assuming that when three elements of user, time and place are satisfied, and a trigger detection conversion condition is satisfied in the container, a container converted into a "clustered application" structure based on the three elements can be realized.
The container of the "grouping application" structure may be an integrated container containing the contents of the three elements of the user, the time and the place, and the user of the integrated container may be two or more people to represent the "grouping" of the elements in the container. For example, when it is detected that three persons a, b, and c all have travel information at the same time and the same location, it may be determined that the trigger detection conversion condition is currently satisfied (i.e., the condition for triggering detection of the element for converting the container and converting the object corresponding to the element into the container of the preset type is satisfied, the same applies below), and then the three elements of the user, the time, and the location in the travel information of the three persons may be converted into a "group application" type container, such as a conference container or an activity container.
In the conference container or the movable container, the same streaming texts associated with preset elements can be extracted from the target container, for example, the same time corresponding to the time element and the same place corresponding to the place element; taking the same stream text as an element in a conference container or an activity container, and displaying the same stream text in the conference container or the activity container, for example, taking the same time as the conference time or the activity time of the conference container or the activity container, and taking the same place as the conference place or the activity place of the conference container or the activity container; and extracting different stream texts corresponding to other preset elements from the target container, integrating and displaying the different stream texts in the conference container or the activity container, wherein if the different stream texts are extracted from the target container, the different stream texts are used as participants of the conference container or the activity container.
b. Container incidental information detection
For example, assuming that the trigger detection transition condition is satisfied within the container when the container satisfies the incidental creator and the state of the creator is a specific state, it may be converted to a container of a structure that may limit interaction or visibility. Wherein the restrictable interaction may indicate whether the container may be edited, clicked on, etc.; the visibility restriction may indicate whether the container is displayed in the document, or whether the container is displayed in the document according to the user's rights.
c. Container + element comprehensive detection
For example, assuming that when the parent container is accompanied by user information and the text element satisfies the conditions of time and place, a container converted into a structure of an assigned "conference application" can be realized, wherein the assigned object can be a user or a user group represented in the user information, and the user or the user group can be stored as a unique identification number in the electronic device.
Exemplarily, element attribution information in attribute information of a stream text container is obtained; determining a user to which the parent container belongs from the element attribution information; when the stream text in the stream text container has preset elements of time and place; and constructing a container of the structure of the conference application based on the user, the stream text corresponding to the time element and the stream text corresponding to the place element. For example, a page is displayed in a container of a structure of a "conference application", and the page is used for displaying information of time, place and participant related to a conference; further, when constructing a container of the structure of the "conference application", the user, the stream text corresponding to the time element, and the stream text corresponding to the place element may be set in corresponding positions on the page, such as the participant information, the time, and the place.
In one embodiment, the detection range of the above elements may include the following categories:
a) Single container detection: i.e. a single container is used as the test object to determine whether the container needs to be converted into another type of container.
B) Multi-stage container detection: under the current container, element detection and conversion of multiple containers can be triggered if the conditions for converting element detection into a single structure container are met and the conditions for detecting all child containers and elements under the same parent container are attached to the container. For example, when multiple conditions are satisfied, multiple currently detected elements or sub-containers belonging to the same parent container may be converted into containers in a chain structure, such as a container comprising a structure of task chain and task nodes, wherein the task nodes may include three elements of people, events, and time, etc., or may include a board-like structure composed of a group container and a single node, and the single node may also be converted by a preset definition element.
C) Upper and lower container association detection, converging under set rules: that is, the currently converted container may be obtained by converting on the basis of the original container, or may be a container after the conversion is set at a preset position. For example, when a structure conversion occurs in a certain container, the context container detection is performed, and when the context container and the current container satisfy another level defined element again, the conversion is performed again until the conversion chain of the type reaches a certain level upper limit or a cutoff condition, and the convergence of the structure upgrade is completed.
For example, a summary container may be set at the beginning of the document to summarize the to-do item containers in the document that satisfy the predetermined condition, where the elements in the summary container may be the elements in the to-do item containers that satisfy the predetermined condition. And the predetermined condition may be a preset priority, a preset user, etc. In the case of a container set, the detected element is container + element integrated detection, the detected range is context container association detection, and the predetermined condition may be a convergence condition under a set rule.
As another example, a multi-level container may be used to represent an organizational structure, each container in the multi-level container may represent a department, and elements in the container may be members of a particular department or may be containers representing lower departments. Wherein, the hierarchical relationship of the multi-level container can be equal to the hierarchical relationship of the department represented by the container. Assume that department types in the overall organizational structure may include: division, secondary division, tertiary division, etc. In addition, each type of department may also be provided with a corresponding level of manager, such as a division provided with a division type manager. In the example of representing a department in a container, a manager of the department may be attached to the container, such as embodied as a creator of the container, or a user specified by the container attribute information.
In a specific application, in a multi-stage container, when a container does not include a sub-container and the number of elements (department members) in the container is greater than a preset number of people (e.g., 5 people), the container can be converted into a container of a three-stage department type; when all the sub-containers in one container are containers of a third-level department type and a manager of a second-level department type is arranged, the container can be converted into a container of a second-level department type; similarly, when all the sub-containers in a container are of a second-level department type and a manager of a department type is provided, the container may be converted into a department type container.
On the result of the conversion, interaction limitation and/or editing permission limitation can be embodied, for example, the common fluent edited stream text is converted into a container similar to a control, and the container with the editing permission is allowed, namely, the editing mode is not the same as the stream text but is similar to the control, and the upgrading can be accompanied by the permission, and the editing of some items on the current collaborators is limited.
In the case of a multi-stage container represented by a multi-stage container, the detected element is container + element comprehensive detection, the detected range is context-container correlation detection, and the department is converted into a department of division type, that is, the upper limit of conversion is reached, that is, the convergence condition under the set rule can be set.
In step S405, in response to detecting that the second trigger condition is satisfied, the selected container is converted into a streaming text.
In this embodiment, when it is detected that the second trigger condition is satisfied, the selected container may be converted into a streaming text.
The second trigger condition may be set based on actual service needs, for example, the second trigger condition is set to be an operation that a user selects a container and triggers a container conversion object, and the like.
FIG. 5 shows a block diagram of a document processing apparatus according to an exemplary embodiment of the present invention; the device of the embodiment can be applied to a terminal device with a document processing function (such as a smart phone, a tablet computer, a notebook computer or a desktop computer, etc.), or can be applied to a server (such as a server or a server cluster formed by multiple servers, etc.). As shown in fig. 5, the apparatus includes: an attribute information obtaining module 110, an attribute item determining module 120, and a target position determining module 130, wherein:
the attribute information acquiring module 110 is configured to, in response to at least one container being selected in a document, acquire attribute information of each container, where the attribute information includes at least one attribute item;
a property item determining module 120, configured to determine a property item satisfying a preset condition from the at least one property item as a target property item;
a target location determining module 130, configured to determine a target location of the at least one container in the document according to the target attribute item.
As can be seen from the foregoing description, in this embodiment, attribute information of each container is obtained in response to at least one container being selected in a document, where the attribute information includes at least one attribute item, an attribute item that satisfies a preset condition in the at least one attribute item is determined as a target attribute item, and then a target position of the at least one container in the document is determined according to the target attribute item, and since the attribute information of each container is obtained in response to at least one container being selected in a document, and an attribute item that satisfies a preset condition in the at least one attribute item is determined as a target attribute item, it is possible to determine the target position of the at least one container in the document according to the target attribute item, thereby implementing flexible adjustment of a position of a container in the document, further implementing composition and collaboration on the document, and improving an intelligence level of document processing.
FIG. 6 is a block diagram showing a configuration of a document processing apparatus according to another exemplary embodiment of the present invention; the device of the embodiment can be applied to a terminal device with a document processing function (such as a smart phone, a tablet computer, a notebook computer or a desktop computer, etc.), or can be applied to a server (such as a server or a server cluster formed by multiple servers, etc.). The functions of the attribute information obtaining module 210, the attribute item determining module 220, and the target position determining module 230 are the same as those of the attribute information obtaining module 110, the attribute item determining module 120, and the target position determining module 130 in the embodiment shown in fig. 5, and are not described herein again.
As shown in fig. 6, the attribute items in this embodiment may include at least one of the following items:
editing authority, preset mounting information, a cooperation boundary, an interaction mode, element attribution information and association degree setting information.
In an embodiment, the elements of the container may include at least one of:
streaming text;
a webpage or a part of content corresponding to the webpage;
a to-do item;
a billboard;
the method comprises the steps that a graph comprises at least one of a mind map, UML and a flow chart, wherein the mind map comprises at least one module, the mind map corresponds to a parent container, the module corresponds to a child container, and the child containers corresponding to the at least one module have an association relationship and are connected based on the association relationship;
multimedia data.
In an embodiment, in a case that the document includes more than two containers, the target position determining module 230 may be further configured to sort the results of the more than two containers in the document according to the parameter values of the target attribute items.
In an embodiment, the attribute item determination module 220 is further configured to any one of:
determining a target attribute item based on the currently selected attribute item;
determining the attribute item with the highest priority as a target attribute item;
determining a target property item based on a currently detected operation triggered on the container.
In an embodiment, the container may be a parent container or a child container, where the parent container includes at least one child container.
In an embodiment, the parent container and the child container have different editing rights, and the editing right of the parent container is higher than that of the child container.
In an embodiment, the property item includes an editing right, the type of the container includes a to-do item container, and the to-do item container includes to-do items;
the editing authority of the to-be-handled item container belongs to a container creator or a to-be-handled task distributor, and the editing authority of the to-be-handled item belongs to a task collaborator.
In one embodiment, the apparatus may further include a container selection module 250;
container selection module 250 may be used to:
in response to detecting a touch operation within range of the container, determining that the container is selected; and/or the presence of a gas in the gas,
in response to detecting that an object selected based on a preset composition shortcut includes any part of an element in a container, determining that the container is selected.
In an embodiment, in a case where the property item includes an editing right, the apparatus further includes: an editing right setting module 260;
the editing right setting module 260 can be used for setting the editing right based on any one of the following attribute items:
mounting information, a cooperation boundary and an interaction mode are preset.
In an embodiment, the apparatus may further include:
a container element updating module 270, configured to update elements in the container based on preset information acquired from a third-party application; and/or the presence of a gas in the gas,
a container element synchronization module 280 for synchronously updating the elements in the container to a third party application.
In an embodiment, the container element update module 270 may be further configured to:
updating the elements in the container by adopting the acquired preset information based on the authority provided by the third-party application; or the like, or, alternatively,
updating the elements in the container by adopting the acquired preset information based on the authority in the options of the container; or the like, or, alternatively,
and updating the elements in the container by adopting the acquired preset information based on the permission provided by the third-party application and the permission in the options of the container.
In an embodiment, the container may have a cooperating container;
the above apparatus may further include:
and the container cooperation updating module 290 is configured to trigger the cooperation container to perform cooperation updating in response to detecting the preset interaction operation for the container.
In an embodiment, the container collaboration update module 290 may be further configured to update the collaboration container and/or elements in the collaboration container based on a preset priority.
In an embodiment, the apparatus further comprises a priority update module 240, and the priority update module 240 may be configured to:
when the collaborative container is a streaming text container, updating elements in the collaborative container with a higher priority than updating the collaborative container;
when the collaborative container is a view type container, the collaborative container is updated with a higher priority than the collaborative container.
In an embodiment, the container collaboration update module 290 is further configured to update the collaboration container based on a manner associated with the collaboration container type.
In an embodiment, the apparatus may further include:
a preset operation executing module 300, configured to execute a preset operation on the at least one container based on a preset coordination boundary, where the preset operation includes a merge operation and/or a split operation.
In an embodiment, in a case that the preset operation includes a merge operation, the preset operation executing module 300 may be further configured to perform deduplication processing on the repeated elements in the container obtained after the merge operation.
In an embodiment, the elements of the container include feature items and information items, and in a case that the preset operation includes a merge operation, the preset operation executing module 300 may be further configured to, in response to determining that a level of a first feature item of a first container is higher than a level of a second feature item of a second container, merge the first container and the second container by merging the second information item of the second container into the first information item of the first container.
In an embodiment, after the second feature item is incorporated into the first feature item, the preset operation performing module 300 may be further configured to:
promoting the level of the first feature item; and/or the presence of a gas in the gas,
raising the level of the first container.
In an embodiment, the apparatus may further include:
a container conversion module 310, configured to convert, in response to detecting that a first trigger condition is met, a selected object in the document into a container, where attribute information of the container is determined based on the first trigger condition.
In an embodiment, the container conversion module 310 is further configured to, in response to detecting that the stream text in the document has a preset element, convert the stream text associated with the element into a container of a type corresponding to the element.
In one embodiment, the element is a predetermined keyword.
In an embodiment, the preset keywords include at least two of a to-do item, or a time, a place, an event, and a person;
the type of container corresponding to the element comprises a to-do item container.
In an embodiment, the container conversion module 310 may be further configured to convert the content currently selected in the document into a container of an instruction-specified type in response to receiving the instruction for converting the container.
In an embodiment, the container conversion module 310 is further configured to convert a plurality of objects into a container in response to detecting that the plurality of objects are selected in the document and the plurality of objects satisfy a set condition.
In an embodiment, the apparatus may further include:
a stream text conversion module 320, configured to convert the selected container into stream text in response to detecting that the second trigger condition is satisfied.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the invention. One of ordinary skill in the art can understand and implement it without inventive effort.
The embodiment of the document processing device can be applied to network equipment. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. The software implementation is taken as an example, and is formed by reading corresponding computer program instructions in the nonvolatile memory into the memory for operation through the processor of the device where the software implementation is located as a logical means. From a hardware aspect, as shown in fig. 7, it is a hardware structure diagram of an electronic device where a document processing apparatus of the present invention is located, and besides the processor, the network interface, the memory, and the nonvolatile memory shown in fig. 7, the device where the apparatus is located in the embodiment may also include other hardware, such as a forwarding chip responsible for processing a packet, and the like; the device may also be a distributed device in terms of hardware structure, and may include multiple interface cards to facilitate expansion of message processing at the hardware level.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is processed by a processor to implement:
responding to at least one container selected in a document, and acquiring attribute information of each container, wherein the attribute information comprises at least one attribute item;
determining attribute items meeting preset conditions in the at least one attribute item as target attribute items;
and determining the target position of the at least one container in the document according to the target attribute item.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (28)

1. A method of document processing, comprising:
in response to selecting at least one container in a document, acquiring attribute information of the container, wherein the attribute information comprises at least one attribute item;
determining attribute items meeting preset conditions in the at least one attribute item as target attribute items;
and determining the target position of the at least one container in the document according to the target attribute item.
2. The method according to claim 1, wherein in a case that the document contains more than two containers, said determining the target position of the at least one container in the document according to the target property item comprises:
and sequencing the results of the more than two containers according to the parameter values of the target attribute items, and arranging the results in the document.
3. The method according to claim 1, wherein the determining, as the target attribute item, an attribute item that satisfies a preset condition from among the at least one attribute item comprises:
determining a target attribute item based on the currently selected attribute item; or the like, or, alternatively,
determining the attribute item with the highest priority as a target attribute item; or the like, or, alternatively,
determining a target property item based on a currently detected operation triggered on the container.
4. The method of claim 1, wherein the container is a parent container or a child container, and wherein the parent container comprises at least one child container.
5. The method of claim 4, wherein the parent container and the child container have different editing rights, and wherein the editing rights of the parent container are higher than the editing rights of the child container.
6. The method according to claim 1, wherein the attribute items comprise editing rights, the type of the container comprises a to-do item container, and the to-do item container contains to-do items;
the editing permission of the to-do item container belongs to a container creator or a to-do task distributor, and the editing permission of the to-do item belongs to a task collaborator.
7. The method of claim 1, further comprising:
in response to detecting a touch operation within range of the container, determining that the container is selected; and/or the presence of a gas in the atmosphere,
in response to detecting that an object selected based on a preset composition shortcut includes any part of an element in a container, determining that the container is selected.
8. The method according to claim 1, wherein in a case where the property item includes an editing right, the method further comprises:
setting the editing authority based on any one of the following attribute items:
mounting information, a cooperation boundary and an interaction mode are preset.
9. The method of claim 1, further comprising:
updating elements in the container based on preset information acquired from a third-party application; and/or the presence of a gas in the gas,
and synchronously updating the elements in the container to a third-party application.
10. The method of claim 9, wherein updating the elements in the container based on the preset information obtained from the third-party application comprises:
updating the elements in the container by adopting the acquired preset information based on the authority provided by the third-party application; or the like, or, alternatively,
updating the elements in the container by adopting the acquired preset information based on the authority in the options of the container; or the like, or, alternatively,
and updating the elements in the container by adopting the acquired preset information based on the permission provided by the third-party application and the permission in the options of the container.
11. The method of claim 1, wherein the container has a cooperating container;
the method further comprises the following steps:
and triggering the collaborative container to carry out collaborative updating in response to the detection of the preset interactive operation aiming at the container.
12. The method of claim 11, wherein triggering collaborative updating by collaborative containers comprises:
updating the collaborative container and/or the elements in the collaborative container based on a preset priority.
13. The method of claim 12, further comprising:
when the collaborative container is a streaming text container, updating elements in the collaborative container with a higher priority than updating the collaborative container;
in the case that the collaborative container is a view type container, updating the collaborative container is prioritized over updating elements in the collaborative container.
14. The method of claim 11, wherein triggering collaborative updating by a collaborative container comprises:
updating the collaborative container based on a manner associated with the collaborative container type.
15. The method of claim 1, further comprising:
and executing preset operations on the at least one container based on a preset cooperative boundary, wherein the preset operations comprise merging operations and/or splitting operations.
16. The method of claim 15, wherein in the case that the preset operation comprises a merge operation, the method further comprises:
and carrying out de-duplication treatment on the repeated elements in the container obtained after the combination operation.
17. The method according to claim 15, wherein the elements of the container contain characteristic items and information items, and in the case where the preset operation comprises a merge operation, the method further comprises:
in response to determining that the level of the first characteristic item of the first container is higher than the level of the second characteristic item of the second container, merging the first container and the second container by merging the second information item of the second container into the first information item of the first container.
18. The method of claim 17, wherein after incorporating the second feature item into the first feature item, the method further comprises:
promoting the level of the first feature item; and/or the presence of a gas in the gas,
raising the level of the first container.
19. The method of claim 1, further comprising:
in response to detecting that a first trigger condition is met, converting a selected object in the document into a container, attribute information of the container being determined based on the first trigger condition.
20. The method of claim 19, wherein converting the selected object in the document into a container in response to detecting that the first trigger condition is satisfied comprises:
in response to detecting that the stream text in the document has a preset element, converting the stream text associated with the element into a container of a type corresponding to the element.
21. The method of claim 20, wherein the element is a predetermined keyword.
22. The method of claim 21, wherein the preset keywords comprise at least two of to-do items, or time, place, event and people;
the type of container corresponding to the element comprises a to-Do item container.
23. The method of claim 19, wherein converting the selected object in the document into a container in response to detecting that the first trigger condition is satisfied comprises:
in response to receiving the instruction to convert the container, the content currently selected in the document is converted to a container of an instruction specified type.
24. The method of claim 19, wherein converting the selected object in the document into a container in response to detecting that a first trigger condition is satisfied comprises:
in response to detecting that a plurality of objects are selected in the document and the plurality of objects meet a set condition, converting the plurality of objects into a container.
25. The method of claim 1, further comprising:
in response to detecting that the second trigger condition is satisfied, converting the selected container to streaming text.
26. A document processing apparatus, comprising:
the attribute information acquisition module is used for responding to at least one container selected in a document and acquiring the attribute information of each container, wherein the attribute information comprises at least one attribute item;
the attribute item determining module is used for determining the attribute items meeting the preset conditions in the at least one attribute item as target attribute items;
and the target position determining module is used for determining the target position of the at least one container in the document according to the target attribute item.
27. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing a computer program;
wherein the processor is configured, when executing the computer program, to implement:
responding to at least one container selected in a document, and acquiring attribute information of each container, wherein the attribute information comprises at least one attribute item;
determining attribute items meeting preset conditions in the at least one attribute item as target attribute items;
and determining the target position of the at least one container in the document according to the target attribute item.
28. A computer-readable storage medium, on which a computer program is stored, which program, when being processed by a processor, is adapted to carry out:
responding to at least one container selected in a document, and acquiring attribute information of each container, wherein the attribute information comprises at least one attribute item;
determining attribute items meeting preset conditions in the at least one attribute item as target attribute items;
and determining the target position of the at least one container in the document according to the target attribute item.
CN202110826705.9A 2021-07-21 2021-07-21 Document processing method, device, equipment and storage medium Pending CN115688693A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110826705.9A CN115688693A (en) 2021-07-21 2021-07-21 Document processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110826705.9A CN115688693A (en) 2021-07-21 2021-07-21 Document processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115688693A true CN115688693A (en) 2023-02-03

Family

ID=85043938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110826705.9A Pending CN115688693A (en) 2021-07-21 2021-07-21 Document processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115688693A (en)

Similar Documents

Publication Publication Date Title
US11435874B2 (en) Formulas
US10657313B2 (en) Method and system for editing virtual documents
US9038001B2 (en) System and method for graphically illustrating external data source information in the form of a visual hierarchy in an electronic workspace
US11625686B2 (en) Managing reminders in a content management system
US20080288462A1 (en) Database system and display method on information terminal
US20070234201A1 (en) Information Management Device
US20190294659A1 (en) Embedding a portion of a source content item
US11829575B1 (en) Workflow assembly tool and workflow model
JP6948492B2 (en) Information management device and file management method
EP1744271A1 (en) Document processing device
CN115688693A (en) Document processing method, device, equipment and storage medium
CN115688691A (en) Document processing method, device, equipment and storage medium
US20070055928A1 (en) User workflow lists to organize multimedia files
CN115688694A (en) Document processing method, device, equipment and storage medium
CN115688692A (en) Document processing method, device, equipment and storage medium
Domínguez García et al. FReSET: an evaluation framework for folksonomy-based recommender systems
WO2021025091A2 (en) Information management device and file management method
US11960525B2 (en) Automatically formatting content items for presentation
US20180181549A1 (en) Automatically formatting content items for presentation
CN116502008A (en) Cross-screen Web page self-adaptive rendering system and method
CN114935996A (en) Method, computer device and storage medium for online processing of documents

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination