Content label processing method and device, equipment and medium
By adding target tags to the content editor and configuring publishing tags, the problem of large workload and content display errors when publishing content on different platforms is solved, and fast and accurate multi-platform content release is achieved.
Patent Information
- Application Number
- CN202411613218.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2025-03-04
AI Technical Summary
When the existing technology publishes content on different platforms, new documents need to be created for copy, paste and edited, resulting in large workload and time-consuming maintenance. Many documents are prone to disconnection and missed, resulting in content display errors.
Provide a content tag processing method, which adds target tags in response to the marking operation of the original document to generate target documents; when publishing, displays the publishing editing page, configures the editing area of multiple platforms, determines the publishing tags of each platform, and publishes the corresponding tag content in the target document on each platform.
Through the tag processing method, different content is quickly published on different platforms, reducing workload and maintenance time, avoiding content display errors, and improving the efficiency and accuracy of content release and display.
Smart Images

Figure CN119558272A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a content tag processing method, device, equipment and medium. Background Art
[0002] With the development of technology, content editors usually support tagging content. In related technologies, if different content sections are published on different platforms after the content editor has edited the content, it is necessary to create a new document and copy and paste the content sections for secondary editing before it can be realized. There are problems such as large workload, time-consuming maintenance, and multiple documents are prone to disconnection and omission, which may cause content errors in document display. Summary of the invention
[0003] In order to solve the above technical problems, the present disclosure provides a content tag processing method, device, equipment and medium.
[0004] The present disclosure provides a content tag processing method, the method comprising:
[0005] In response to a tagging operation on an original document, adding at least one target tag to the original document to obtain a target document;
[0006] In response to a publishing trigger operation on the target document, displaying a publishing editing page, wherein the publishing editing page includes a plurality of editing areas corresponding to a plurality of platforms, and each of the editing areas displays the at least one target tag;
[0007] In response to the tag configuration operation on the plurality of editing areas, determining a publishing tag corresponding to each of the platforms;
[0008] The marked contents of the publishing tags respectively corresponding to the multiple platforms in the target document are published on the corresponding platforms.
[0009] The present disclosure also provides a content tag processing device, the device comprising:
[0010] A tagging module, configured to, in response to a tagging operation on an original document, add at least one target tag to the original document to obtain a target document;
[0011] An editing module, configured to display a publishing editing page in response to a publishing trigger operation on the target document, wherein the publishing editing page includes a plurality of editing areas corresponding to a plurality of platforms, and each of the editing areas displays the at least one target tag;
[0012] A configuration module, configured to determine a release tag corresponding to each of the platforms in response to a tag configuration operation on the plurality of editing areas;
[0013] The publishing module is used to publish the marked contents of the publishing tags corresponding to the multiple platforms in the target document on the corresponding platforms.
[0014] An embodiment of the present disclosure also provides an electronic device, comprising: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement the content tag processing method provided by the embodiment of the present disclosure.
[0015] The embodiment of the present disclosure further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the content tag processing method provided by the embodiment of the present disclosure.
[0016] Compared with the prior art, the technical solution provided by the embodiment of the present disclosure has the following advantages: the content tag processing solution provided by the embodiment of the present disclosure, in response to the tagging operation of the original document, adds at least one target tag to the original document to obtain the target document; in response to the release trigger operation of the target document, displays the release editing page, wherein the release editing page includes multiple editing areas corresponding to multiple platforms, and at least one target tag is displayed in each editing area; in response to the tag configuration operation of the multiple editing areas, the release tags corresponding to each platform are determined; the marked content of the release tags corresponding to the multiple platforms in the target document is published on the corresponding platform. By adopting the above technical solution, after adding the target tag to the original document, the target document is obtained. When publishing the target document, the tag configuration operation of different release tags is performed on different platforms in multiple editing areas of multiple platforms on the release editing page, and the marked content corresponding to different release tags in the target document can be published on the corresponding platform. Through tags, different content can be quickly published on different platforms, which greatly reduces the workload and maintenance time, and avoids content display errors caused by disconnection, missed release, etc., and improves the efficiency and accuracy of content publishing and display. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0018] Figure 1 A flowchart of a content tag processing method provided by an embodiment of the present disclosure;
[0019] Figure 2 A schematic diagram of a target tag provided by an embodiment of the present disclosure;
[0020] Figure 3 A schematic diagram of a publishing and editing page provided in an embodiment of the present disclosure;
[0021] Figure 4 A flowchart of another content tag processing method provided by an embodiment of the present disclosure;
[0022] Figure 5 A schematic diagram of a content editing page provided in an embodiment of the present disclosure;
[0023] Figure 6 A schematic diagram of another content editing page provided in an embodiment of the present disclosure;
[0024] Figure 7 A schematic diagram of another content editing page provided in an embodiment of the present disclosure;
[0025] Figure 8 A schematic diagram of another content editing page provided by an embodiment of the present disclosure;
[0026] Fig. 9 A schematic diagram of another content editing page provided in an embodiment of the present disclosure;
[0027] Fig.10 A schematic diagram of the structure of a content tag processing device provided by an embodiment of the present disclosure;
[0028] Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0029] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0030] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0031] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0032] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0033] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0034] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0035] Content editors usually have visual means of marking content. After editing the content, if different content paragraphs are published on different platforms, new documents need to be created and maintained separately. The cost and time-consuming manual operation and maintenance of each document published on different platforms are high. Multiple documents are prone to disconnection, omissions, and other problems, resulting in the risk of missing and erroneous content when the documents are displayed, and the accuracy is low.
[0036] In order to solve the above problems, the embodiments of the present disclosure provide a content tag processing method, which is introduced below in conjunction with specific embodiments.
[0037] Figure 1 The present invention provides a flowchart of a method for processing content tags, which can be performed by a content tag processing device, wherein the device can be implemented by software and / or hardware, and can generally be integrated in an electronic device. Figure 1 As shown, the method includes:
[0038] Step 101: In response to a tagging operation on an original document, at least one target tag is added to the original document to obtain a target document.
[0039] The content tag processing method of the embodiment of the present disclosure can be executed by a content editor, and the content editor can be used to edit documents. The document may include content in multiple formats, such as text, images, videos, tables, etc., all of which support editing.
[0040] Among them, the original document can be a document that has not been marked or labeled, and can be any document, and the format of the document is not limited. The original document of the embodiment of the present disclosure takes the format of Markdown, which is a lightweight markup language, as an example. Markdown can be used to add formatting elements in plain text documents. It is in plain text format and easy to read and write. The marking operation can be an operation of using specific marks or tags to highlight part of the content in the document or to make annotations. In the embodiment of the present disclosure, the marking operation can add tags to the selected content in the document. The tag can be a carrier of the marking operation. The tag is used to understand the document, facilitate document editing, revision, search and other operations. The embodiment of the present disclosure does not limit the form of the tag. For example, the tag can be expressed in the form of bold, italic, underline, annotation, etc. The target tag can be a tag added to the original document, and the number of target tags can be one or more. The target document can be the original document after adding at least one target tag.
[0041] The content tag processing device can display the original document. When receiving the user's tagging operation on the original document, the tagging operation here can include selecting content by marking words and selecting tags. At least one target tag can be added to at least one tagged content selected by the user in the original document to obtain a target document. Only one target tag is added for one tagged content.
[0042] For example, Figure 2 A schematic diagram of a target tag provided by an embodiment of the present disclosure, such as Figure 2 As shown in the figure, a page 200 including an example target tag is shown, the target tag includes a tag start mark, a tag mark, a tag name and a tag end mark, the tag mark is a black filled circle, the tag name is "A platform...", the tag mark and the tag name can be combined into a tag capsule, after which the tag content targeted by the target tag can be. It is understandable that different target tags can be displayed in different forms. Figure 2 The target tags are only examples and are not limiting.
[0043] Step 102: In response to a publishing trigger operation on a target document, a publishing editing page is displayed, wherein the publishing editing page includes multiple editing areas corresponding to multiple platforms, and at least one target tag is displayed in each editing area.
[0044] The publishing trigger operation may be a gesture control operation such as clicking, long pressing, or double clicking on the publishing control of the page where the target document is located, which is used to trigger the start of publishing the target document. The publishing edit page may be a page for editing publishing related items such as the platform and content on which the target document is published. The publishing edit page may include multiple editing areas, which may be used to edit the content published by at least one platform. If the content published by two or more platforms is the same, it may be edited in the same editing area; each editing area may include all target tags of the target document, which is used to determine the content published by at least one platform by selecting some target tags.
[0045] Specifically, after receiving a publishing trigger operation for a target document, the content tag processing device can display a publishing editing page, and display multiple editing areas corresponding to multiple platforms on which the target document is about to be published in the publishing editing page. The platform here can be a platform that allows users to publish content, and the platform has an interface in the content editor that allows access.
[0046] For example, Figure 3 A schematic diagram of a publishing and editing page provided in an embodiment of the present disclosure, such as Figure 3 As shown in the figure, an exemplary publishing editing page 300 is shown, and the publishing editing page 300 may include editing areas of three platforms of two publishing channels as an example, including editing areas 301 of platform A, platform B and editing area 302 of platform C in the figure. Since the publishing contents of platform A and platform B are the same, they can be edited through the same editing area 301. Both the editing area 301 and the editing area 302 may include at least one target tag of the target document, as shown in the figure with 3 target tags as an example.
[0047] Step 103: In response to the tag configuration operation on the multiple editing areas, determine the publishing tags corresponding to each platform.
[0048] The tag configuration operation may include a selection operation on the platform corresponding to the editing area and the tag corresponding to the platform. Each editing area corresponds to at least one platform, and the tags corresponding to the at least one platform are the same. The release tag may be a tag determined by the tag configuration operation for the platform from at least one target tag. The marked content corresponding to the release tag is the part of the content to be released determined for the platform. Configuring different tags for different platforms can achieve the determination of different release contents. A platform may correspond to at least one release tag, which is specifically determined according to the tag configuration operation.
[0049] Specifically, after displaying the publishing editing page, the content tag processing device can display an editing area in the publishing editing page. The required editing area can be added according to the user's adding operation, and then the user's tag configuration operation for each editing area can be received, which can specifically include a platform selection operation to determine at least one platform targeted by the current editing area, and a selection operation for at least one target tag, and the selected target tag is determined as the publishing tag corresponding to the at least one platform targeted by the current editing area. After each editing area is subjected to the tag configuration operation, the publishing tag corresponding to each platform after editing can be determined. One platform can correspond to at least one publishing tag, and at least one platform that performs tag configuration operations in the same editing area corresponds to the same publishing tag, and different platforms that perform tag configuration operations in different editing areas correspond to different publishing tags.
[0050] For example, see Figure 3 , two platforms, platform A and platform B, are selected in the editing area 301, and two target tags, tag 1 and tag 3, are selected as the publishing tags for platform A and platform B; platform C is selected in the editing area 302, and tag 2 is selected as the publishing tag for platform C. Optionally, in response to the user's triggering operation of adding a publishing channel control 303, an editing area can be added to the publishing editing page 300, and the tag configuration operation of the platform and the publishing tag corresponding to the platform is continued for the added editing area.
[0051] Optionally, the edit area 301 and the edit area 302 can also set the content visibility items, such as the two function buttons of internal visibility and public visibility in the figure, both of which are set to public visibility. Optionally, the edit area 301 and the edit area 302 can also add release instructions for the selected release platform.
[0052] Step 104: Publish the marked contents of the publishing tags corresponding to the multiple platforms in the target document on the corresponding platforms.
[0053] After determining the publishing tags corresponding to each platform, the content tag processing device can obtain the tagged content of the publishing tags corresponding to the platform in the target document for each of the multiple platforms in response to the publishing operation, and publish the tagged content on the platform, and the tagged content can be displayed on the platform; in addition, the tagged content of the target tags other than the publishing tags in at least one target tag in the target document will not be displayed on any platform, and the other content in the target document without the target tag added except at least one tagged content of at least one target tag can be published on each platform and displayed.
[0054] See also Figure 3After the editing of the publishing edit page 300 is completed, when the user triggers the confirm publishing control 305, it can be regarded as a publishing operation. The corresponding tagged content in the target document can be published on the corresponding platform according to the publishing tags corresponding to each platform. For example, as shown in the figure, the tagged content corresponding to tag 1 and tag 3 in the current document can be published on platform A and platform B, and the tagged content corresponding to tag 2 in the current document can be published on platform C; optionally, the publishing can be canceled in response to the triggering operation of the cancel control 304, and editing can be performed again on the publishing edit page 300.
[0055] This solution can add tags to documents to select different tags according to different platforms when publishing. When publishing, different contents of the document are selectively published and displayed, while the tagged content of unselected tags is not published and displayed. Different platforms can choose to publish tagged content corresponding to different publishing tags in the target document, and different platforms can also choose to publish tagged content corresponding to the same publishing tag in the target document, so as to quickly realize personalized publishing of documents on multiple platforms and improve the effectiveness of content editing and content publishing efficiency.
[0056] Compared with the prior art, the technical solution provided by the embodiment of the present disclosure has the following advantages: the content tag processing solution provided by the embodiment of the present disclosure, in response to the tagging operation of the original document, adds at least one target tag to the original document to obtain the target document; in response to the release trigger operation of the target document, displays the release editing page, wherein the release editing page includes multiple editing areas corresponding to multiple platforms, and at least one target tag is displayed in each editing area; in response to the tag configuration operation of the multiple editing areas, the release tags corresponding to each platform are determined; the marked content of the release tags corresponding to the multiple platforms in the target document is published on the corresponding platform. By adopting the above technical solution, after adding the target tag to the original document, the target document is obtained. When publishing the target document, the tag configuration operation of different release tags is performed on different platforms in multiple editing areas of multiple platforms on the release editing page, and the marked content corresponding to different release tags in the target document can be published on the corresponding platform. Through tags, different content can be quickly published on different platforms, which greatly reduces the workload and maintenance time, and avoids content display errors caused by disconnection, missed release, etc., and improves the efficiency and accuracy of content publishing and display.
[0057] For example, Figure 4 A flowchart of another content tag processing method provided by an embodiment of the present disclosure is shown as follows: Figure 4 As shown, in a feasible implementation manner, in response to the tagging operation on the original document, adding at least one target tag to the original document to obtain the target document may include:
[0058] Step 401: In response to a tagging trigger operation on marked content in an original document, display at least one draft tag, wherein the number of marked content is at least one.
[0059] Among them, the marked content can be the selected part of the original document that needs to be specially marked, and can be the part of the content targeted by the marking trigger operation. The number of marked contents is not limited and can be one or more. The marking trigger operation can be an operation of selecting the marked content in the original document and triggering the marking control. The selection of the marked content can be achieved by selecting words, and the marking control can be a functional control for adding tags. The draft tag can be a tag pre-created by the current user. The number of draft tags is not specifically limited. For example, the draft tag can be one or more. The display forms of different draft tags can be different. For example, the colors of the tag logos of different draft tags can be different.
[0060] Specifically, the content tag processing device can display the original document. When receiving the user's tagging trigger operation on the marked content in the original document, at least one draft tag can be obtained and displayed. The display method can be, for example, a card in a floating manner, and a preset number of draft tags can be displayed by default. The remaining draft tags can be slid and displayed according to the user's sliding operation. The preset number can be set according to the actual situation, for example, the preset number is 3.
[0061] For example, Figure 5 A schematic diagram of a content editing page provided by an embodiment of the present disclosure, such as Figure 5 As shown in the figure, an exemplary content editing page 500 is shown in which an original document is shown. The gray filling of "123456789" in the original document indicates that it is selected as the marked content. Then, a card 501 can be shown. The card 501 can have multiple function controls, and a marking control 502 is one of them. When the user triggers the marking control 502, it can be determined that a marking trigger operation for the marked content "123456789" is received, and a card 501 can be shown. Figure 6 Medium card 601.
[0062] For example, Figure 6 A schematic diagram of another content editing page provided by an embodiment of the present disclosure, such as Figure 6 As shown, another content editing page 600 is shown in the figure, and the content editing page 600 includes a card 601, and the card 601 includes three draft tags as an example. And the card 601 can be displayed in a suspended manner, which is only an example.
[0063] In some embodiments, the content tag processing method may further include: in response to an editing operation on the tag management page, setting tag display information of at least one draft tag to generate at least one draft tag.
[0064] Among them, the tag management page can be used to perform management operations such as adding, modifying, and deleting draft tags. The tag management page may include multiple functional controls for setting the tag display information of the draft tag. The tag display information may include all attribute information of the tag when it is displayed. The display method of the tag display information is not limited. For example, it can be displayed in the form of a capsule. In the disclosed embodiment, the tag display information may include a tag identifier and a tag name. The tag identifier may be an identifier that uniquely represents a tag. The display attributes of the tag identifiers of different tags are different. The display attributes may include color. For example, a circle can be used as a tag identifier, and different tags have different fill colors. The tag name may be a name that uniquely represents a tag. The tag names of different tags are different.
[0065] Before the above step 401 or step 101, the content tag processing device may also respond to the display operation of the tag management page, for example, Figure 6 The triggering operation of the tag management control 602 in the middle card 601 is to display the tag management page, display the tag management page, and then set the tag display information of at least one draft tag according to the user's editing operation on the tag management page. After the setting is completed, at least one draft tag can be generated, and then the user can use at least one draft tag to add tags to the original document. Through the setting of the draft tag, the document tag can be added quickly, and the editing of the existing draft tag and the addition of the draft tag are supported, which improves the efficiency of tag management and makes tag management more flexible.
[0066] In some embodiments, in response to a tagging trigger operation on marked content in an original document, displaying at least one draft tag may include: in response to a tagging trigger operation on marked content in the original document, determining the degree of match between the marked content and each draft tag; and displaying at least one draft tag in order of the degree of match from largest to smallest.
[0067] The matching degree is a parameter that can measure whether the marked content and a draft tag are related in terms of content relevance. It can be implemented by a matching model, which can be pre-trained. When the content tag processing device receives a tagging trigger operation of the user on the marked content in the original document, it can obtain at least one draft tag, input the marked content and at least one draft tag into the matching model, and output the matching degree between the marked content and each draft tag. After that, the at least one draft tag can be sorted in descending order of matching degree, and the at least one draft tag can be displayed according to the sorting result, for example, in Figure 6 When displaying the middle card 601, only the first three draft tags can be displayed according to the sorting result, or only the first two draft tags can be displayed according to the sorting result, and the remaining draft tags can be displayed in a preset order. In the above scheme, when the user adds tags to the document, the marked content and the draft tags can be automatically analyzed and the draft tags with a high content matching degree can be displayed to the user, without the need for the user to manually judge and select, thereby improving the accuracy and efficiency of subsequent user selection of tags.
[0068] Step 402: In response to a selection operation on at least one draft tag, determine a target tag corresponding to the marked content.
[0069] The target tag may be a tag added to the original document. The number of the target tags may be one or more, and the number of the target tags is the same as the number of the marked contents.
[0070] After displaying at least one draft tag, the content tag processing device can determine the draft tag as the target tag corresponding to the current tagged content when receiving a user's selection operation on one of the draft tags. The above selection operation can be a gesture control operation such as clicking, double-clicking, and long pressing on a draft tag, without limitation.
[0071] Step 403: Add a target tag to the marked content of the original document to obtain a target document.
[0072] The target document may be the original document after at least one target tag is added.
[0073] In some embodiments, adding a target tag to the marked content of the original document to obtain the target document may include: adding a mark start marker and tag display information of the target tag to the starting position of the marked content of the original document, and adding a mark end marker to the ending position of the marked content to obtain the target document.
[0074] In the embodiment of the present disclosure, the target tag may be composed of a tag start identifier, tag display information and a tag end identifier. The tag start identifier may be an identifier for specially marking the starting position of the tag, for example, the tag start identifier may be a slash; the tag end identifier may be an identifier for specially marking the ending position of the tag, and the tag end identifier may be the same as the tag start identifier; the tag display information may include a tag identifier and a tag name, and the display attributes of the tag identifiers of different tags are different, and the display attributes may include color.
[0075] After determining the target tag for each tagged content, the content tag processing device can add the target tag to the tagged content. Specifically, it can add a tag start marker and tag display information of the target tag at the starting position of the tagged content, and add a tag end marker at the ending position of the tagged content, and then the target document can be obtained.
[0076] For example, Figure 7 A schematic diagram of another content editing page provided in an embodiment of the present disclosure is shown as follows: Figure 7 As shown in the figure, a content editing page 700 including a target document is shown. The content editing page 700 is for Figure 5 , Figure 6 The marked content "123456789" in the original document is displayed after adding the target tag of tag 1. The starting position and the ending slash of the marked content "123456789" in area 701 in the figure are the mark start mark and the mark end mark. The mark display information can be displayed in the form of a capsule to indicate the mark added to the content. The mark display information in the figure can include a black-filled circular mark mark and the tag name of tag 1. The format of the marked content in the figure remains unchanged. Figure 5 The content of the tag is underlined, and the underline remains unchanged after adding the target tag.
[0077] Understandably, Figure 5 , Figure 6 , Figure 7 In the example, only adding a target tag to a marked content in the original document is taken as an example. The marked content may include multiple, and the corresponding target tags may also be multiple, which can be set according to actual conditions.
[0078] In the above solution, the content editor can add tags to the document as needed, and the added tags will not affect the format of the corresponding marked content, which can not only achieve efficient content tagging, but also avoid affecting the display of the marked content.
[0079] In the related art, after a content editor adds a tag to selected content, the selected content is usually treated as part of the tag and cannot be modified. If the modification requires canceling the tag, it results in high content editing costs, low efficiency and flexibility, and limited tag functionality.
[0080] In some embodiments, the content tag processing method may further include: in response to a modification operation on a first content corresponding to a first tag in at least one target tag, modifying the first content into a second content.
[0081] Among them, the first tag can be any tag among at least one target tag, and the first content can be the marked content corresponding to the first tag. The second content can be the content updated after the first content is modified, and the modification operation can include adding and deleting. The content tag processing device can receive a user's modification operation on a marked content, and the marked content is the first content corresponding to the first tag, and the first content is modified to the second content, and the marked content of the first tag is replaced from the first content to the second content, so that after adding tags to the selected content, the content can be modified, which improves the efficiency and flexibility of content editing and better meets the actual needs of users.
[0082] In some embodiments, the content tag processing method may further include: in response to a deletion operation on a second tag in at least one target tag, or in response to a triggering operation on a cancel control of the second tag, deleting the second tag.
[0083] The second tag may be any tag in at least one target tag that currently needs to be deleted. The cancel control may be a functional control for canceling the marking, and the specific display position may be set according to the actual situation. For example, the cancel control may be displayed in a card including information such as the tag's details. The deletion operation may be an operation of selecting and deleting all or one by one the marking start identifier, the tag display information, and the marking end identifier in the second tag.
[0084] The content tag processing device can receive a user's deletion operation on a tag among at least one target tag. If the tag is a second tag, the second tag can be deleted to cancel the marking of the second content corresponding to the second tag; or in response to the user's display operation and trigger operation of the cancel control corresponding to one tag among at least one target tag, the second tag can also be deleted to cancel the marking of the second content.
[0085] In the above scheme, on the basis of labeling the content, the already added labels can also be modified, deleted, etc., so as to improve the efficiency and flexibility of label processing.
[0086] In some embodiments, the content tag processing method may further include: in response to a detail triggering operation on a third tag in at least one target tag, displaying tag detail information of the third tag, wherein the tag detail information includes tag display information and tag description information.
[0087] Among them, the third tag can be any tag in at least one target tag whose tag detail information the user needs to view, the detail trigger operation can be an operation for triggering the display of the details of a tag, and can be a gesture control operation such as clicking, hovering, double-clicking, etc. on a tag, and the third tag can be the target tag corresponding to the detail trigger operation. Tag detail information can be all attribute information related to a tag. In the disclosed embodiment, the tag detail information can include the above-mentioned tag display information and tag description information. The tag description information can be information for describing the creator, usage instructions, usage period, recommended publishing platform, and user-oriented information of a tag. The content tag processing device can receive a user's detail trigger operation on a tag in at least one target tag, and the tag is the third tag. After that, the tag detail information of the third tag can be obtained, and the tag detail information of the third tag can be displayed on the current page. The specific display method is not limited, for example, it can be displayed through a floating card.
[0088] For example, Figure 8 A schematic diagram of another content editing page provided by an embodiment of the present disclosure, such as Figure 8 As shown, a content editing page 800 is shown in the figure, in which a detail trigger operation is performed on the tag 1 in the figure, and a card 801 is displayed. The card 801 may include the tag display information and the tag detail information in the tag detail information of the tag 1, and the card 801 is displayed in a suspended manner, which is only an example. Optionally, the card 801 may also include a control 802 for viewing all tags and a cancel control 803 including a prompt message of "cancel tag". By triggering the control 802, you can enter the tag management page to view all draft controls, and by triggering the cancel control 803, you can delete the tag 1.
[0089] In the above scheme, detailed information of the added tags can be displayed to enable users to quickly understand various information of the added tags, thereby improving the efficiency of subsequent publishing, searching, and unified maintenance based on the tags.
[0090] In some embodiments, the content tag processing method may further include: in response to a check trigger operation on a fourth tag in at least one target tag, displaying a matching result and suggestion information between the fourth tag and the corresponding fourth content.
[0091] Among them, the third tag can be any tag in at least one target tag for which the user needs to view the auxiliary inspection information, the inspection trigger operation can be an operation for triggering the display of the auxiliary inspection information of a tag, and can be a gesture control operation such as clicking, hovering, and double-clicking a tag. The inspection trigger operation can be different from the above-mentioned detail trigger operation to display different information, and the fourth tag can be the target tag corresponding to the detail trigger operation. The auxiliary inspection information here can include the matching result and suggestion information between the fourth tag and the fourth content. The matching result between the fourth tag and the fourth content can be semantically analyzing and matching the tag detail information of the fourth tag with the fourth content to determine the matching result, which can be specifically achieved through a matching model. The matching result can include part of the fourth content that does not conform to the fourth tag; the suggestion information can be new content that is recommended to be modified for part of the fourth content in the matching result that does not conform to the fourth tag, and the new content matches the fourth tag.
[0092] The content tag processing device can receive a user's inspection trigger operation on a tag in at least one target tag, then the tag is the fourth tag, and then the matching model in the auxiliary inspection module can be used to analyze the tag detail information and the fourth content of the fourth tag to determine whether there is content in the fourth content that does not match the fourth tag, obtain matching results and suggestion information, and display the matching results and suggestion information on the current page. The specific display method is not limited, for example, it can be displayed through a floating card.
[0093] For example, Fig. 9 A schematic diagram of another content editing page provided for an embodiment of the present disclosure is shown in the figure; a content editing page 900 is shown in the figure, in which a check trigger operation is performed on label 1 in the figure, label 1 is the fourth label, and card 901 is displayed, and the card 901 may include the matching result and suggestion information of label 1 and the corresponding marked content. As shown in the figure, the feedback suggests displaying the matching result, and it is suggested to display the suggestion information instead, and card 901 is displayed in a suspended manner, which is only an example. Optionally, card 901 may also include a control for viewing all labels and a cancel control including a prompt message of "cancel label". By triggering the control for viewing all labels, you can enter the label management page to view all draft controls, and by triggering the cancel control, you can delete label 1.
[0094] In the above scheme, the added tags can support automatic identification of whether there is any mismatched content in the corresponding marked content based on the tag details information, and provide corresponding modification suggestions. The marked content can be optimized based on the suggested information, so that users can quickly understand the matching situation between the tag and the corresponding marked content, and then quickly optimize and improve the efficiency of content modification.
[0095] This solution uses content tags to label the same content with different paragraphs, different texts, different words, etc., and when publishing a document, different content tags can be circled according to different channels. After the selection, the published content will selectively display the content of the circled tags in the corresponding channel, and the content without the circled tags will not be displayed. In this way, different articles and content can be quickly published on different channels, improving the work efficiency of differentiated content publishing and the intelligent attributes of the content editor.
[0096] This solution facilitates subsequent publishing, searching, and unified maintenance by marking the content of the document with words and selecting the corresponding tags for some content. It can also create, edit, replace, and modify the tags of the circled content and the tagged content. Different channels can select different content tags for publishing, and the content of unchecked tags will be hidden and not displayed. Combined with the model, semantic analysis can be performed on the tagged content and tags, and auxiliary inspection can be made on whether the publishing channels match and whether there are any mismatches that need to be modified. The marked content can be optimized based on the tag content, and content modification suggestions can be provided to users, effectively improving the practicality and usability of the content editor, and improving the efficiency of editing and operation and maintenance, providing efficient and fast differentiated content solutions for different publishing channels.
[0097] Fig.10 This is a schematic diagram of the structure of a content tag processing device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated into an electronic device. Fig.10 As shown, the device comprises:
[0098] The marking module 1001 is used for adding at least one target tag to the original document to obtain a target document in response to a marking operation on the original document;
[0099] The editing module 1002 is used to display a publishing editing page in response to a publishing trigger operation on the target document, wherein the publishing editing page includes multiple editing areas corresponding to multiple platforms, and each of the editing areas displays the at least one target tag;
[0100] A configuration module 1003, configured to determine a release tag corresponding to each of the platforms in response to a tag configuration operation on the plurality of editing areas;
[0101] The publishing module 1004 is used to publish the marked contents of the publishing tags corresponding to the multiple platforms in the target document on the corresponding platforms.
[0102] Optionally, the marking module 1001 includes:
[0103] A first unit is configured to display at least one draft tag in response to a tagging trigger operation on a tagged content in an original document, wherein the number of the tagged content is at least one;
[0104] A second unit is configured to determine a target tag corresponding to the marked content in response to a selection operation on the at least one draft tag;
[0105] The third unit is used to add the target tag to the marked content of the original document to obtain a target document.
[0106] Optionally, the third unit is used for:
[0107] A tag start mark and the tag display information of the target tag are added to the start position of the tag content of the original document, and a tag end mark is added to the end position of the tag content to obtain the target document.
[0108] Optionally, the device further includes a label management module, which is used to:
[0109] In response to an editing operation on the tag management page, tag display information of the at least one draft tag is set to generate at least one draft tag.
[0110] Optionally, the label display information includes a label identifier and a label name;
[0111] The display attributes of the tag identifiers of different tags are different, and the display attributes include color.
[0112] Optionally, the first unit is used to:
[0113] In response to a tagging trigger operation on the marked content in the original document, determining a degree of match between the marked content and each of the draft tags;
[0114] The at least one draft tag is displayed in descending order of the matching degree.
[0115] Optionally, the device further includes a content modification module, configured to:
[0116] In response to a modification operation on a first content corresponding to a first tag in the at least one target tag, the first content is modified into a second content.
[0117] Optionally, the device further includes a label deletion module, configured to:
[0118] In response to a deletion operation on a second tag in the at least one target tag, or in response to a triggering operation on a cancel control of the second tag, the second tag is deleted.
[0119] Optionally, the device further includes a details module, configured to:
[0120] In response to a detail triggering operation on a third tag in the at least one target tag, tag detail information of the third tag is displayed, wherein the tag detail information includes tag display information and tag description information.
[0121] Optionally, the device further comprises a checking module, which is used to:
[0122] In response to a check trigger operation on a fourth tag in the at least one target tag, a matching result between the fourth tag and the corresponding fourth content and suggestion information are displayed.
[0123] The content tag processing device provided in the embodiments of the present disclosure can execute the content tag processing method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0124] The embodiments of the present disclosure also provide a computer program product, including a computer program / instruction, which implements the content tag processing method provided by any embodiment of the present disclosure when the computer program / instruction is executed by a processor.
[0125] Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure.
[0126] The following specific reference Fig.11 , which shows a schematic diagram of the structure of an electronic device 1100 suitable for implementing the embodiment of the present disclosure. The electronic device 1100 in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.11 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0127] like Fig.11 As shown, the electronic device 1100 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage device 1108 to a random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the electronic device 1100 are also stored. The processing device 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.
[0128] Typically, the following devices may be connected to the I / O interface 1105: an input device 1106 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1107 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1108 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1109. The communication device 1109 may allow the electronic device 1100 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.11 The electronic device 1100 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0129] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 1109, or installed from the storage device 1108, or installed from the ROM 1102. When the computer program is executed by the processing device 1101, the above-mentioned functions defined in the content tag processing method of the embodiment of the present disclosure are executed.
[0130] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0131] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0132] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0133] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: responds to the marking operation of the original document, adds at least one target tag to the original document to obtain the target document; responds to the publishing trigger operation of the target document, displays a publishing editing page, wherein the publishing editing page includes multiple editing areas corresponding to multiple platforms, and each of the editing areas displays the at least one target tag; responds to the tag configuration operation of the multiple editing areas, determines the publishing tags corresponding to each of the platforms; and publishes the marked contents of the publishing tags corresponding to the multiple platforms in the target document on the corresponding platforms.
[0134] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0135] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0136] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0137] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0138] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0139] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0140] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0141] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0142] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A content tag processing method, characterized in that: include: In response to a tagging operation on an original document, adding at least one target tag to the original document to obtain a target document; In response to a publishing trigger operation on the target document, displaying a publishing editing page, wherein the publishing editing page includes a plurality of editing areas corresponding to a plurality of platforms, and each of the editing areas displays the at least one target tag; In response to the tag configuration operation on the plurality of editing areas, determining a publishing tag corresponding to each of the platforms; The marked contents of the publishing tags respectively corresponding to the multiple platforms in the target document are published on the corresponding platforms.
2. The method according to claim 1, characterized in that: In response to the tagging operation on the original document, adding at least one target tag to the original document to obtain a target document includes: In response to a tagging trigger operation on a marked content in the original document, displaying at least one draft tag, wherein the number of the marked content is at least one; In response to a selection operation on the at least one draft tag, determining a target tag corresponding to the marked content; The target tag is added to the marked content of the original document to obtain a target document.
3. The method according to claim 2, characterized in that Adding the target tag to the marked content of the original document to obtain a target document includes: A tag start mark and the tag display information of the target tag are added to the start position of the tag content of the original document, and a tag end mark is added to the end position of the tag content to obtain the target document.
4. The method according to claim 2, characterized in that: The method further comprises: In response to an editing operation on the tag management page, tag display information of the at least one draft tag is set to generate at least one draft tag.
5. The method according to claim 3 or 4, characterized in that: The label display information includes a label identifier and a label name; The display attributes of the tag identifiers of different tags are different, and the display attributes include color.
6. The method according to claim 2, characterized in that The step of displaying at least one draft tag in response to a tagging trigger operation on the marked content in the original document comprises: In response to a tagging trigger operation on the marked content in the original document, determining a degree of match between the marked content and each of the draft tags; The at least one draft tag is displayed in descending order of the matching degree.
7. The method according to claim 1, characterized in that The method further comprises: In response to a modification operation on a first content corresponding to a first tag in the at least one target tag, the first content is modified into a second content.
8. The method according to claim 1, characterized in that The method further comprises: In response to a deletion operation on a second tag in the at least one target tag, or in response to a triggering operation on a cancel control of the second tag, the second tag is deleted.
9. The method according to claim 1, characterized in that: The method further comprises: In response to a detail triggering operation on a third tag in the at least one target tag, tag detail information of the third tag is displayed, wherein the tag detail information includes tag display information and tag description information.
10. The method according to claim 1, characterized in that The method further comprises: In response to a check trigger operation on a fourth tag in the at least one target tag, a matching result between the fourth tag and the corresponding fourth content and suggestion information are displayed.
11. A content tag processing device, characterized in that: include: A marking module, configured to, in response to a marking operation on an original document, add at least one target tag to the original document to obtain a target document; An editing module, configured to display a publishing editing page in response to a publishing trigger operation on the target document, wherein the publishing editing page includes a plurality of editing areas corresponding to a plurality of platforms, and each of the editing areas displays the at least one target tag; A configuration module, configured to determine a release tag corresponding to each of the platforms in response to a tag configuration operation on the plurality of editing areas; The publishing module is used to publish the marked contents of the publishing tags corresponding to the multiple platforms in the target document on the corresponding platforms.
12. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the content tag processing method described in any one of claims 1-10.
13. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the content tag processing method described in any one of claims 1 to 10.