CN116595954A - Method, device, equipment and storage medium for editing items - Google Patents

Method, device, equipment and storage medium for editing items Download PDF

Info

Publication number
CN116595954A
CN116595954A CN202310612092.8A CN202310612092A CN116595954A CN 116595954 A CN116595954 A CN 116595954A CN 202310612092 A CN202310612092 A CN 202310612092A CN 116595954 A CN116595954 A CN 116595954A
Authority
CN
China
Prior art keywords
content
editing
version
published
target item
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
CN202310612092.8A
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.)
Douyin Vision Co Ltd
Original Assignee
Douyin Vision 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 Douyin Vision Co Ltd filed Critical Douyin Vision Co Ltd
Priority to CN202310612092.8A priority Critical patent/CN116595954A/en
Publication of CN116595954A publication Critical patent/CN116595954A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/194Calculation of difference between files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/197Version control

Abstract

Embodiments of the present disclosure relate to a method, apparatus, device, and storage medium for item editing. The method proposed herein comprises: acquiring editing content for the target item, the editing content being created based on the first version of the target item; in response to the edit content having a predetermined type of conflict with the post content for the target entry, presenting an auxiliary edit interface, wherein the post content corresponds to a second version of the target entry, the second version being later than the first version, and the auxiliary edit interface presents at least a difference between the edit content and the post content; and responding to a preset operation in the auxiliary editing interface, and generating the content to be issued aiming at the target item. In this way, embodiments of the present disclosure may avoid editing conflicts due to release of new versions.

Description

Method, device, equipment and storage medium for editing items
Technical Field
Example embodiments of the present disclosure relate generally to the field of computers and, more particularly, relate to a method, apparatus, device, and computer-readable storage medium for item editing.
Background
The internet is an important platform for people to acquire and share content. Some platforms (e.g., encyclopedia platforms) can allow users to create new entries (also referred to as terms) or to modify existing entry content. Such items can be shared to other users, forming a share of the content.
In such an item editing scenario, multiple users may edit the version of the item. However, in some cases, such multi-user editing may have editing conflicts.
Disclosure of Invention
In a first aspect of the present disclosure, a method of item editing is provided. The method comprises the following steps: acquiring editing content for the target item, the editing content being created based on the first version of the target item; in response to the edit content having a predetermined type of conflict with the post content for the target entry, presenting an auxiliary edit interface, wherein the post content corresponds to a second version of the target entry, the second version being later than the first version, and the auxiliary edit interface presents at least a difference between the edit content and the post content; and responding to a preset operation in the auxiliary editing interface, and generating the content to be issued aiming at the target item.
In a second aspect of the present disclosure, an apparatus for item editing is provided. The device comprises: an acquisition module configured to acquire editing content for a target item, the editing content being created based on a first version of the target item; a presentation module configured to present the auxiliary editing interface in response to a conflict of a predetermined type of the editing content with the release content for the target item, wherein the release content corresponds to a second version of the target item, the second version being later than the first version, and the auxiliary editing interface presents at least a difference between the editing content and the release content; and the generation module is configured to respond to preset operation in the auxiliary editing interface and generate the content to be published aiming at the target item.
In a third aspect of the present disclosure, an electronic device is provided. The apparatus comprises at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. The instructions, when executed by at least one processing unit, cause the apparatus to perform the method of the first aspect.
In a fourth aspect of the present disclosure, a computer-readable storage medium is provided. The computer readable storage medium has stored thereon a computer program executable by a processor to implement the method of the first aspect.
It should be understood that what is described in this section of the disclosure is not intended to limit key features or essential features of the embodiments of the disclosure, nor is it intended to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other features, advantages and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, wherein like or similar reference numerals denote like or similar elements, in which:
FIG. 1 illustrates a schematic diagram of an example environment in which embodiments in accordance with the present disclosure may be implemented;
FIGS. 2A and 2B illustrate example interfaces according to some embodiments of the present disclosure;
FIG. 3 illustrates an example interface according to further embodiments of the present disclosure;
FIG. 4 illustrates a flowchart of an example process of item editing, according to some embodiments of the present disclosure;
FIG. 5 illustrates a schematic block diagram of an apparatus for item editing in accordance with some embodiments of the present disclosure; and
fig. 6 illustrates a block diagram of an electronic device capable of implementing various embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been illustrated in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather, these embodiments are provided so that this disclosure will be more thorough and complete. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be noted that any section/subsection headings provided herein are not limiting. Various embodiments are described throughout this document, and any type of embodiment may be included under any section/subsection. Furthermore, the embodiments described in any section/subsection may be combined in any manner with any other embodiment described in the same section/subsection and/or in a different section/subsection.
In describing embodiments of the present disclosure, the term "comprising" and its like should be taken to be open-ended, i.e., including, but not limited to. The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions are also possible below. The terms "first," "second," and the like, may refer to different or the same object. Other explicit and implicit definitions are also possible below.
Embodiments of the present disclosure may relate to user data, the acquisition and/or use of data, and the like. These aspects all follow corresponding legal and related regulations. In embodiments of the present disclosure, all data collection, acquisition, processing, forwarding, use, etc. is performed with knowledge and confirmation by the user. Accordingly, in implementing the embodiments of the present disclosure, the user should be informed of the type of data or information, the range of use, the use scenario, etc. that may be involved and obtain the authorization of the user in an appropriate manner according to the relevant laws and regulations. The particular manner of notification and/or authorization may vary depending on the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.
In the present description and embodiments, if the personal information processing is concerned, the processing is performed on the premise of having a validity base (for example, obtaining agreement of the personal information body, or being necessary for executing a contract, etc.), and the processing is performed only within a prescribed or contracted range. The user refuses to process the personal information except the necessary information of the basic function, and the basic function is not influenced by the user.
As mentioned briefly above, multiple users may edit the same item, which may result in editing conflicts. For example, when a current user edits based on some historical version of an item, another user may have released an updated version of the item. This may result in the version edited by the current user conflicting with the version published by the other user.
Embodiments of the present disclosure propose a scheme for item editing. According to this scheme, the editing content for the target item, which is created based on the first version of the target item, can be acquired. Further, in response to the edit content having a predetermined type of conflict with the post content for the target item, the supplemental editing interface is presented, wherein the post content corresponds to a second version of the target item, the second version being later than the first version, and the supplemental editing interface presents at least a difference between the edit content and the post content. Correspondingly, generating the content to be published aiming at the target item in response to a preset operation in the auxiliary editing interface.
In this way, in the context of editing an item, embodiments of the present disclosure are able to automatically prompt for editing conflicts between the user's current editing content and the other user's newly released release content, and thereby avoid the current user simply overriding the other user's newly released version.
Various example implementations of the scheme are described in further detail below in conjunction with the accompanying drawings.
Example Environment
FIG. 1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure may be implemented. In this example environment 100, an application 120 is installed in an electronic device 110. The user 140 may interact with the application 120 via the electronic device 110 and/or its attached device. The application 120 may be an encyclopedia application, a news application, a video application, etc., or any other suitable application having entry editing capabilities. Alternatively, the application 120 may also be a browser, through which the user 120 may access a corresponding website to obtain services related to item editing.
In the environment 100 of fig. 1, the electronic device 110 may present the interface 150 of the application 120 if the application 120 is in an active state. Interface 150 may include various types of interfaces that application 120 can provide, such as an item editing interface in an encyclopedia platform.
In some embodiments, the electronic device 110 communicates with the server 130 to enable provisioning of services for the application 120. The electronic device 110 may be any type of mobile terminal, fixed terminal, or portable terminal, including a mobile handset, desktop computer, laptop computer, notebook computer, netbook computer, tablet computer, media computer, multimedia tablet, personal Communication System (PCS) device, personal navigation device, personal Digital Assistant (PDA), audio/video player, digital camera/camcorder, positioning device, television receiver, radio broadcast receiver, electronic book device, game device, or any combination of the preceding, including accessories and peripherals for these devices, or any combination thereof. In some embodiments, electronic device 110 is also capable of supporting any type of interface to the user (such as "wearable" circuitry, etc.). Server 130 may be various types of computing systems/servers capable of providing computing power, including, but not limited to, mainframes, edge computing nodes, computing devices in a cloud environment, and so forth.
It should be understood that the structure and function of the various elements in environment 100 are described for illustrative purposes only and are not meant to suggest any limitation as to the scope of the disclosure.
Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
First example edit conflict
As discussed above, when a current user edits for a certain version (e.g., version a) of a certain item, version B created by other users may have been published. In this case, if the current user is simply given to release the editing content based on the version a, other edits made by other users in the version B may be lost.
In some embodiments, the electronic device 110 may prompt for editing conflicts between the editing content for the target item for the current user and other published content for the target item. Illustratively, as shown in FIG. 2A, the electronic device 110 may obtain the edit content 205 for the target item (e.g., "XXX" as shown in FIG. 2A) through the interface 200A. Such editing content 205 may be created, for example, based on the first version of the target item.
For example, the user may make modifications or adjustments based on the first version published by the target item to generate current editing content for the target item.
Further, when the edit content 205 has a predetermined type of conflict with the particular post content of the target entry, the electronic device 110 may provide a prompt 210 as shown in fig. 2A, for example, to indicate an edit conflict between the current edit content 205 and the particular post content. Such particular published content may correspond to a second version of the target item, where the second version is later than the first version.
For example, when the current user edits based on the first version, other users also edit based on the first version and submit an audit pass. In this case, the first version on which the user is based will no longer be the latest version of the current entry.
In some embodiments, the electronic device 110 can only present the reminder 210 if there is a particular type of conflict between the edited content and the published content. Such a particular type of conflict may, for example, indicate that at least a portion of the published content is not included in the edited content. For example, the published content may be newly added with some content or replaced with some content.
In another example, if the post content is only partially new relative to the edit content, the electronic device 110 may not provide the reminder 210, for example, but rather directly incorporate the newly added content into the current edit content for post.
In some embodiments, such conflict detection may occur, for example, upon acquisition of an edit request for the edit content. For example, when a user opens the edit content draft, the electronic device 110 can provide the reminder 210 if a conflict between the edit content and the release content is detected.
In other embodiments, such conflict detection may occur, for example, upon acquisition of a publication request for the editing content. For example, when a user clicks to publish the current edit content, the electronic device 110 may provide the alert 210 if a conflict between the edit content and the publish content is detected.
As shown in fig. 2A, the electronic device 110 may also provide an auxiliary editing portal 215 in the reminder 210. Upon receiving a selection regarding the auxiliary edit portal 215, the electronic device 110 may, for example, provide an auxiliary edit interface for auxiliary editing.
FIG. 2B illustrates an example auxiliary editing interface 200B, according to some embodiments of the present disclosure. As shown in fig. 2B, such an auxiliary editing interface 200B may, for example, expose at least the differences between the edited content and the published content.
In some embodiments, as shown in fig. 2B, the auxiliary editing interface 200B may include, for example, a first region 220 and a second region 225, where the first region 220 may correspond to, for example, published content and the second region 225 may correspond to edited content. Such first and second regions 220 and 225 may indicate a difference between release content and edit content through a preset style.
Illustratively, the first area 220 may also present, for example, publication information of the publication content, such as a publication user, a publication time, a summary of edits made, and so forth.
Additionally, as shown in fig. 2B, the first area 220 may also present content of the published content that is deleted relative to the edited content through the first pattern 235. For example, the first area 220 may indicate that the text "1968-1980" in the published content is deleted relative to the edited content by a score. It should be appreciated that deletion of content may also be indicated by other suitable patterns.
In addition, as shown in fig. 2B, the second region 225 may also display content in which the edited content is newly added to the published content through the second style 240. For example, the second area 225 may indicate that the edited content has a text "musical instrument" added to the release content by a specific background color: guitar. It should be appreciated that the new addition of content may also be indicated by other suitable patterns.
In such a way, the embodiment of the disclosure can intuitively display the difference between the edited content and the released content for the user, thereby facilitating the user to execute content merging between different versions.
In some embodiments, the auxiliary editing interface 200B may also compare the published content to the edited content according to a preset content unit, wherein the preset content unit includes paragraphs and/or chapters. For example, taking FIG. 2B as an example, the auxiliary editing interface 200B may indicate their corresponding content differences for paragraphs 230-1, 230-2, 230-3, and 230-4, respectively.
In some examples, taking paragraph 230-3 as an example, electronic device 110 can indicate in first region 220 that the published content does not include content corresponding to paragraph 230-3.
In other examples, taking paragraph 230-2 as an example, electronic device 110 can also provide an entry 250 in first region 220, for example, such entry 250 can be used to copy content in the published content corresponding to paragraph 230-2, or can be used to replace the portion of the edited content corresponding to paragraph 230-2 with content in the published content corresponding to paragraph 230-2.
In still other examples, electronic device 110 may also update the editing content with the published content, for example. For example, the electronic device 110 may update the paragraph 230-4 of the editing content with the published content. For example, where the published content modifies paragraph 230-4 in the first version of the entry and the edited content does not modify paragraph 230-4 in the first version, electronic device 110 may replace the portion of the edited content corresponding to paragraph 230-4 with the updated content of the published content corresponding to paragraph 230-4.
Additionally, electronic device 110 may also provide, for example, reminder 255 to indicate that the content of paragraph 230-4 has been updated based on the published content.
In still other embodiments, the electronic device 110 may automatically update the editing content with the published content prior to presenting the auxiliary editing interface 200B. Additionally, the electronic device 110 may also present the updated editing content in the content editing interface of the target item.
FIG. 3 illustrates an example content editing interface 300B in some embodiments according to this disclosure. The electronic device 110 may present updated editing content in the content editing interface 300B, for example, and such a process may also be referred to as an automatic merge process.
In some embodiments, the automatic merge process may be performed for a first content, such first content may be content in a first version of the target item that is modified by the published content and not edited in the edited content.
For example, taking fig. 3 as an example, content 310 may be automatically consolidated based on published content. In addition, the electronic device 110 may also present in the content editing interface 300 a prompt that the modified content 310 is originating from published content.
In still other embodiments, the automatic merge process may be performed for second content, such second content may be content deleted in the published content of the target item that is not edited in the edited content.
For example, taking fig. 3 as an example, the electronic device 110 may delete content corresponding to paragraph 320 from the edited content. In addition, the electronic device 110 may also present a prompt in the content editing interface 300 that the second content is deleted according to the published content.
Additionally, the electronic device 110 may also present a restore portal for restoring automatically deleted content, for example, in the content editing interface 300. For example, the user may automatically restore the content of paragraph 320 by clicking on the text "click restore the paragraph".
Based on such a manner, the embodiments of the present disclosure can realize automatic merging between contents according to the difference type between the edited contents and the published contents, thereby improving efficiency of item editing.
Further, with continued reference to fig. 2B, the electronic device 110 may also generate the content to be published according to a preset operation of the user in the auxiliary editing interface 200B.
For example, the user may resolve at least a portion of the editing conflict between the editing content and the publishing content through the interface 200B, and may in turn create the content to be published for the target entry. Alternatively, the user may also ignore such differences in the interface 200B and create the content to be published of the target item directly based on the edited content.
In this way, embodiments of the present disclosure can automatically prompt for editing conflicts between the user's current editing content and the other user's newly released release content, and thereby avoid the current user simply overriding the other user's newly released version. Thereby, editing conflicts between users due to, for example, a release delay can be avoided.
Further, it should be understood that the information of the specific text, the specific size layout, and the like in the interface shown in the above embodiments are all exemplary.
Second example edit conflict
In some scenarios, editing conflicts may also exist due to audit delays. For example, when a user submits a publication request for content to be published, the target entry may have other versions of the content being reviewed. In this case, directly allowing the majority of the content to enter the audit and/or distribution phase may result in edits in other audit content being lost.
In some embodiments, electronic device 110 may also receive a publication request for content to be published, for example. Further, in response to the content to be distributed having a predetermined type of conflict with the in-audit content for the target item, the electronic device 110 may also present a third prompt associated with the in-audit content.
For example, the electronic device 110 may provide a reminder: "there are other users who have released a version in XX time, which is still under review, and advice to save the content you are editing in the draft box first, after the version passes the review, the version you are editing can be further perfected and released by the version merge tool.
Thus, the present disclosure is able to resolve editing conflicts that may exist between a current version and an under-audit version by delaying the current user from publishing the current version.
Third example edit conflict
In some scenarios, the item may also perform an automatic version update of the target item, for example, through an automatic update process. Such an automatic update procedure may be performed, for example, using a robot program. However, such an automatic update process may also create editing conflicts with the version to be checked. For example, when a user submits version B based on version a, and such version B is in an audit phase, it may cause loss of editing content in version B if the automatic update process is allowed to automatically update based on version a.
Thus, in accordance with embodiments of the present disclosure, during the audit phase of the content to be distributed, a set of automated update processes associated with the target entry will be suspended from being performed to prevent loss of edits made to the content to be distributed in the audit.
Fourth example edit conflict
In yet other scenarios, one entry may also update the same version using multiple different automatic update processes. This may also lead to editing content conflicts between the automatic update processes. For example, a first update process may update version a to version B, and a subsequent second update process may further update version a to version C. At this time, if version C is directly released, it may result in the update made in version B being lost.
Thus, in some embodiments according to the present disclosure, after the content to be distributed is distributed, a set of automatic update processes associated with the target entry are performed serially in a predetermined order. For example, the second update process is always performed after the first update process is completed. Thus, the same version can be prevented from being updated by a plurality of updating processes, and partial updated content is prevented from being lost.
Example procedure
FIG. 4 illustrates a flowchart of an example process 400 for item editing, according to some embodiments of the present disclosure. The process 400 may be implemented at the electronic device 110. Process 400 is described below with reference to fig. 1.
As shown in fig. 4, at block 410, the electronic device 110 obtains editing content for the target item, the editing content being created based on the first version of the target item.
At block 420, the electronic device 110 presents an auxiliary editing interface in response to the edit content having a predetermined type of conflict with the post content for the target entry, wherein the post content corresponds to a second version of the target entry that is later than the first version, and the auxiliary editing interface presents at least the difference between the edit content and the post content.
At block 430, the electronic device 110 generates content to be published for the target item in response to a preset operation within the auxiliary editing interface.
In some embodiments, responsive to the edit content having a predetermined type of conflict with the post content for the target entry, exposing the auxiliary edit interface includes: acquiring an editing request and/or a release request for editing content; and if the edited content and the released content have a conflict of a preset type, displaying an auxiliary editing interface.
In some embodiments, presenting the auxiliary editing interface in response to the presence of a predetermined type of conflict between the editing content and the published content for the target item includes: providing an auxiliary editing portal in response to the edit content having a predetermined type of conflict with the release content for the target item; and responsive to receiving a selection of the auxiliary editing portal, exposing an auxiliary editing interface.
In some embodiments, the process 400 further includes, prior to providing the auxiliary editing portal: updating the editing content according to the release content; and presenting the updated editing content in the content editing interface.
In some embodiments, updating the editorial content according to the published content includes: if the first content in the first version of the target item is modified in the published content and the first content is not edited in the edited content, updating the edited content with the modified first content in the published content; and presenting a first hint in the content editing interface, the first hint indicating that the modified first content originated from the published content.
In some embodiments, updating the editorial content according to the published content includes: deleting the second content from the edited content if the second content in the first version of the target item is deleted in the published content and the second content is not edited in the edited content; and displaying a second prompt corresponding to the second content in the content editing interface, the second prompt indicating that the second content is deleted according to the published content.
In some embodiments, the process 400 further comprises: a resume portal for resuming the second content is presented in the content editing interface.
In some embodiments, the predetermined type of conflict indicates that at least a portion of the published content is not included in the edited content.
In some embodiments, the auxiliary editing interface includes a first region corresponding to the published content and a second region corresponding to the edited content, the first region and/or the second region exhibiting a difference of the edited content from the published content in a preset style.
In some embodiments, the first region presents third content of the published content deleted relative to the edited content in a first style; and/or the second area displays the fourth content which is added by the editing content relative to the release content through the second style.
In some embodiments, the auxiliary editing interface is configured to compare the published content with the edited content according to a preset content unit that includes paragraphs and/or chapters.
In some embodiments, the auxiliary editing interface includes a replacement entry for replacing a corresponding portion of the edited content with content in the published content corresponding to the particular content unit.
In some embodiments, the process 400 further comprises: receiving a release request about content to be released; and responsive to the content to be distributed having a predetermined type of conflict with the in-audit content for the target item, displaying a third cue associated with the in-audit content.
In some embodiments, during an audit phase of the content to be distributed, a set of automated update processes associated with the target item are suspended from being performed.
In some embodiments, a set of automatic update processes associated with the target entry are performed serially in a predetermined order after the content to be published is published.
Example apparatus and apparatus
Embodiments of the present disclosure also provide corresponding apparatus for implementing the above-described methods or processes.
Fig. 5 illustrates a schematic block diagram of an apparatus 500 for item editing according to some embodiments of the present disclosure. The apparatus 500 may be implemented as or included in the electronic device 110. The various modules/components in apparatus 500 may be implemented in hardware, software, firmware, or any combination thereof.
The apparatus 500 includes an acquisition module 510 configured to acquire editing content for a target item, the editing content being created based on a first version of the target item; a presentation module 520 configured to present the auxiliary editing interface in response to a predetermined type of conflict of the editing content with the release content for the target item, wherein the release content corresponds to a second version of the target item, the second version being later than the first version, and the auxiliary editing interface presents at least a difference between the editing content and the release content; and a generation module 530 configured to generate content to be published for the target item in response to a preset operation within the auxiliary editing interface.
In some embodiments, presentation module 520 is further configured to: acquiring an editing request and/or a release request for editing content; and if the edited content and the released content have a conflict of a preset type, displaying an auxiliary editing interface.
In some embodiments, presentation module 520 is further configured to: providing an auxiliary editing portal in response to the edit content having a predetermined type of conflict with the release content for the target item; and responsive to receiving a selection of the auxiliary editing portal, exposing an auxiliary editing interface.
In some embodiments, presentation module 520 is further configured to, prior to providing the auxiliary editing portal: updating the editing content according to the release content; and presenting the updated editing content in the content editing interface.
In some embodiments, presentation module 520 is further configured to: if the first content in the first version of the target item is modified in the published content and the first content is not edited in the edited content, updating the edited content with the modified first content in the published content; and presenting a first hint in the content editing interface, the first hint indicating that the modified first content originated from the published content.
In some embodiments, presentation module 520 is further configured to: deleting the second content from the edited content if the second content in the first version of the target item is deleted in the published content and the second content is not edited in the edited content; and displaying a second prompt corresponding to the second content in the content editing interface, the second prompt indicating that the second content is deleted according to the published content.
In some embodiments, presentation module 520 is further configured to: a resume portal for resuming the second content is presented in the content editing interface.
In some embodiments, the predetermined type of conflict indicates that at least a portion of the published content is not included in the edited content.
In some embodiments, the auxiliary editing interface includes a first region corresponding to the published content and a second region corresponding to the edited content, the first region and/or the second region exhibiting a difference of the edited content from the published content in a preset style.
In some embodiments, the first region presents third content of the published content deleted relative to the edited content in a first style; and/or the second area displays the fourth content which is added by the editing content relative to the release content through the second style.
In some embodiments, the auxiliary editing interface is configured to compare the published content with the edited content according to a preset content unit that includes paragraphs and/or chapters.
In some embodiments, the auxiliary editing interface includes a replacement entry for replacing a corresponding portion of the edited content with content in the published content corresponding to the particular content unit.
In some embodiments, presentation module 520 is further configured to: receiving a release request about content to be released; and responsive to the content to be distributed having a predetermined type of conflict with the in-audit content for the target item, displaying a third cue associated with the in-audit content.
In some embodiments, during an audit phase of the content to be distributed, a set of automated update processes associated with the target item are suspended from being performed.
In some embodiments, a set of automatic update processes associated with the target entry are performed serially in a predetermined order after the content to be published is published.
Fig. 6 illustrates a block diagram of an electronic device 600 in which one or more embodiments of the disclosure may be implemented. It should be understood that the electronic device 600 illustrated in fig. 6 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 600 shown in fig. 6 may be used to implement the electronic device 110 of fig. 1.
As shown in fig. 6, the electronic device 600 is in the form of a general-purpose electronic device. The components of electronic device 600 may include, but are not limited to, one or more processors or processing units 610, memory 620, storage 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. The processing unit 610 may be an actual or virtual processor and is capable of performing various processes according to programs stored in the memory 620. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to increase the parallel processing capabilities of electronic device 600.
The electronic device 600 typically includes a number of computer storage media. Such a medium may be any available media that is accessible by electronic device 600, including, but not limited to, volatile and non-volatile media, removable and non-removable media. The memory 620 may be volatile memory (e.g., registers, cache, random Access Memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 630 may be a removable or non-removable media and may include machine-readable media such as flash drives, magnetic disks, or any other media that may be capable of storing information and/or data (e.g., training data for training) and may be accessed within electronic device 600.
The electronic device 600 may further include additional removable/non-removable, volatile/nonvolatile storage media. Although not shown in fig. 6, a magnetic disk drive for reading from or writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk may be provided. In these cases, each drive may be connected to a bus (not shown) by one or more data medium interfaces. Memory 620 may include a computer program product 625 having one or more program modules configured to perform the various methods or acts of the various embodiments of the disclosure.
The communication unit 640 enables communication with other electronic devices through a communication medium. Additionally, the functionality of the components of the electronic device 600 may be implemented in a single computing cluster or in multiple computing machines capable of communicating over a communication connection. Thus, the electronic device 600 may operate in a networked environment using logical connections to one or more other servers, a network Personal Computer (PC), or another network node.
The input device 650 may be one or more input devices such as a mouse, keyboard, trackball, etc. The output device 660 may be one or more output devices such as a display, speakers, printer, etc. The electronic device 600 may also communicate with one or more external devices (not shown), such as storage devices, display devices, etc., with one or more devices that enable a user to interact with the electronic device 600, or with any device (e.g., network card, modem, etc.) that enables the electronic device 600 to communicate with one or more other electronic devices, as desired, via the communication unit 640. Such communication may be performed via an input/output (I/O) interface (not shown).
According to an exemplary implementation of the present disclosure, a computer-readable storage medium having stored thereon computer-executable instructions, wherein the computer-executable instructions are executed by a processor to implement the method described above is provided. According to an exemplary implementation of the present disclosure, there is also provided a computer program product tangibly stored on a non-transitory computer-readable medium and comprising computer-executable instructions that are executed by a processor to implement the method described above.
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus, devices, and computer program products implemented according to the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer readable program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable medium having the instructions stored therein includes an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various implementations of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The foregoing description of implementations of the present disclosure has been provided for illustrative purposes, is not exhaustive, and is not limited to the implementations disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various implementations described. The terminology used herein was chosen in order to best explain the principles of each implementation, the practical application, or the improvement of technology in the marketplace, or to enable others of ordinary skill in the art to understand each implementation disclosed herein.

Claims (15)

1. A method of item editing, comprising:
obtaining edit content for a target item, the edit content created based on a first version of the target item;
responsive to the edit content having a predetermined type of conflict with the post content for the target item, presenting a secondary edit interface, wherein the post content corresponds to a second version of the target item, the second version being later than the first version, and the secondary edit interface presents at least a difference between the edit content and the post content; and
and responding to preset operation in the auxiliary editing interface, and generating the content to be issued aiming at the target item.
2. The method of claim 1, wherein exposing an auxiliary editing interface in response to the edit content having a predetermined type of conflict with the post content for the target item comprises:
acquiring an editing request and/or a release request aiming at the editing content; and
and if the editing content and the release content have the conflict of the preset type, displaying the auxiliary editing interface.
3. The method of claim 1, wherein presenting an auxiliary editing interface in response to a predetermined type of conflict between the editing content and the published content for the target item comprises:
providing an auxiliary editing portal in response to the editing content having a predetermined type of conflict with the published content for the target item; and
in response to receiving a selection of the auxiliary editing portal, an auxiliary editing interface is presented.
4. A method according to claim 3, further comprising, prior to providing the auxiliary editing portal:
updating the editing content according to the release content; and
the updated editing content is presented in a content editing interface.
5. The method of claim 4, wherein updating the editorial content according to the published content comprises:
updating the editing content with the modified first content in the publishing content if the first content in the first version of the target item is modified in the publishing content and the first content is not edited in the editing content; and
a first hint is presented in the content editing interface, the first hint indicating that the modified first content originated from the published content.
6. The method of claim 4, wherein updating the editorial content according to the published content comprises:
deleting a second content in the first version of the target item from the edited content if the second content is deleted in the published content and the second content is not edited in the edited content; and
and displaying a second prompt corresponding to the second content in the content editing interface, wherein the second prompt indicates that the second content is deleted according to the release content, and the content editing interface further comprises a restoration entry for restoring the second content.
7. The method of claim 1, wherein the predetermined type of conflict indicates that at least a portion of the published content is not included in the edited content.
8. The method of claim 1, wherein the auxiliary editing interface comprises a first region corresponding to the published content and a second region corresponding to the edited content, the first region and/or the second region exhibiting a difference of the edited content from the published content by a preset style.
9. The method according to claim 8, wherein:
the first area displays third content deleted relative to the editing content in the release content through a first style; and/or
And the second area displays fourth content which is newly added by the editing content relative to the release content through a second style.
10. The method of claim 1, wherein the auxiliary editing interface is configured to compare the published content and the edited content according to a preset content unit comprising paragraphs and/or chapters.
11. The method of claim 10, wherein the auxiliary editing interface includes a replacement entry for replacing a corresponding portion of the editing content with content of the published content corresponding to a particular content unit.
12. The method of claim 1, further comprising:
receiving a release request about the content to be released; and
in response to the content to be distributed having a predetermined type of conflict with the in-audit content for the target entry, a third hint associated with the in-audit content is presented.
13. An apparatus for item editing, comprising:
an acquisition module configured to acquire editing content for a target item, the editing content being created based on a first version of the target item;
a presentation module configured to present an auxiliary editing interface in response to a predetermined type of conflict of the editing content with the published content for the target item, wherein the published content corresponds to a second version of the target item, the second version being later than the first version, and the auxiliary editing interface presents at least a difference between the editing content and the published content; and
the generation module is configured to respond to preset operation in the auxiliary editing interface and generate content to be issued for the target item.
14. An electronic device, comprising:
at least one processing unit; and
at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, which when executed by the at least one processing unit, cause the electronic device to perform the method of any one of claims 1 to 12.
15. A computer readable storage medium having stored thereon a computer program executable by a processor to implement the method of any of claims 1 to 12.
CN202310612092.8A 2023-05-26 2023-05-26 Method, device, equipment and storage medium for editing items Pending CN116595954A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310612092.8A CN116595954A (en) 2023-05-26 2023-05-26 Method, device, equipment and storage medium for editing items

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310612092.8A CN116595954A (en) 2023-05-26 2023-05-26 Method, device, equipment and storage medium for editing items

Publications (1)

Publication Number Publication Date
CN116595954A true CN116595954A (en) 2023-08-15

Family

ID=87611402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310612092.8A Pending CN116595954A (en) 2023-05-26 2023-05-26 Method, device, equipment and storage medium for editing items

Country Status (1)

Country Link
CN (1) CN116595954A (en)

Similar Documents

Publication Publication Date Title
US10860185B2 (en) Content item activity feed for presenting events associated with content items
US20200387443A1 (en) Systems and methods for testing source code
KR101643022B1 (en) Catalog-based software component management
US9069788B2 (en) Truncating data associated with objects in a multi-tenant database
US20130232229A1 (en) Distribution of Application Files
CN109408751B (en) Data processing method, terminal, server and storage medium
US8825612B1 (en) System and method for delivering content to a communication device in a content delivery system
US20140075301A1 (en) Information processing apparatus, control method, and recording medium
US20210383370A1 (en) Enhanced multi-party user data deletion
CN108536745B (en) Shell-based data table extraction method, terminal, equipment and storage medium
CN111026568A (en) Data and task relation construction method and device, computer equipment and storage medium
US20170024426A1 (en) Information processing apparatus, information processing method, and non-transitory computer readable medium
US20190317928A1 (en) Information processing apparatus and non-transitory computer readable medium storing information processing program
CN110865806B (en) Code processing method, device, server and storage medium
US20220222068A1 (en) Data structures for managing configuration versions of cloud-based applications
US9703848B2 (en) Caching linked queries for optimized compliance management
CN112559913B (en) Data processing method, device, computing equipment and readable storage medium
US10671959B2 (en) Information processing system, information processing method, and non-transitory computer readable storage medium
US10311138B2 (en) Preventing partial change set deployments in content management systems
CN116595954A (en) Method, device, equipment and storage medium for editing items
CN113448493B (en) Method, electronic device and computer readable medium for backing up data
JP6178119B2 (en) Data migration system and data migration method
CN113761075A (en) Method, device, equipment and computer readable medium for switching databases
CN113760936B (en) Timing updating method, medium, device and electronic equipment
CN116980705A (en) Method, device, equipment and storage medium for special effect production

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