Generated content optimization method, apparatus and device, and computer readable storage medium

By displaying the original text and generated content in the content traceability optimization interface, users can edit the original associated fragments and generate optimization results, solving the problem of uncontrollable accuracy of AI-generated patent application documents and improving work efficiency and accuracy.

CN119106665APending Publication Date: 2024-12-10THE FOURTH PARADIGM BEIJING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411018238.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

In the process of using artificial intelligence to generate patent application documents, AI may have deviations in its understanding of the technical briefing, resulting in the accuracy of the generated application documents, which requires manual review and modification, and takes time and energy.

Method used

Provide a method for generating content optimization. By displaying the original text and generated content in the content traceability optimization interface, users can select and edit the original associated fragments to generate optimization results, improve work efficiency and reduce workload.

Benefits of technology

Users can quickly locate and understand technical content, make corresponding edits, improve the accuracy and work efficiency of generated content, and reduce the time and energy of manual review.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119106665A_ABST
    Figure CN119106665A_ABST
Patent Text Reader

Abstract

The invention relates to a generated content optimization method and device, equipment and a computer readable storage medium. According to the method and the device, the user selects the target optimization content in the generated content and highlights the corresponding associated fragment in the original text, so that the user can quickly position and understand the corresponding technical content and context content and perform editing operations such as addition, deletion, modification and the like on the associated fragment to make a corresponding optimization decision, and the user experience is improved. And the optimization result is further regenerated to replace the target optimization content, so that on one hand, the working efficiency of the user is improved, and on the other hand, the workload of the user is reduced while the accuracy of the generated content is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a method, device, equipment and computer-readable storage medium for generating content optimization. Background Art

[0002] Patent application is a job that requires a high level of professionalism. If the applicant is not clear about the requirements of the Patent Law and related regulations, it will be difficult to successfully complete the application. However, with the development of artificial intelligence (AI) technology, applicants can choose to use AI to analyze technical briefing documents and intelligently generate corresponding patent application documents.

[0003] Normally, when using AI to generate patent application documents, AI will parse the technical briefing document based on a pre-trained framework. However, the technical briefing document does not have a fixed writing format and may vary greatly due to factors such as different industries, different companies, and the inventor's writing style. This will cause AI's understanding of the technical briefing document to have certain deviations, making the accuracy of the generated patent application documents uncontrollable. At this time, the applicant or agency is required to manually review the patent application documents generated by AI, and the reviewer will modify the corresponding application documents based on the technical briefing document.

[0004] However, this modification method requires the reviewer to understand and edit the technical briefing and application documents word by word, which is time-consuming and laborious. Summary of the invention

[0005] In order to solve the above technical problems, the present disclosure provides a method, device, equipment and computer-readable storage medium for generating content optimization, so as to improve the work efficiency of users and reduce the workload of users.

[0006] In a first aspect, an embodiment of the present disclosure provides a method for generating content optimization, including:

[0007] Displaying the original text and the generated content generated based on the original text in the content tracing optimization interface;

[0008] When the user selects the target optimized content in the generated content, the original associated segment in the original text is highlighted in a preset form, and the original associated segment is the basis for generating the target optimized content;

[0009] Determining an updated associated segment according to the user's editing operation on the original associated segment;

[0010] Based on the updated associated fragments, generating an optimization result corresponding to the target optimization content;

[0011] The target optimization content in the content tracing optimization interface is replaced with the optimization result.

[0012] In some embodiments, the original text includes a technical briefing document and a claim, the generated content includes a specification, a flow chart, and the description content corresponding to the flow chart, the content traceability optimization interface includes an original text display area and a generated content display area, and the original text and the generated content generated based on the original text are displayed in the content traceability optimization interface, including:

[0013] Display the technical briefing document and the claims in the original text display area, and display the specification in the generated content display area; or,

[0014] The claims are displayed in the original text display area, and the flow chart and the description content corresponding to the flow chart are displayed in the generated content display area.

[0015] In some embodiments, the specification includes a plurality of content items, and when the user selects the target optimized content in the generated content, the original associated fragment in the original text is highlighted, including:

[0016] When the user selects a target content item from the plurality of content items, the target content item is determined to be target optimized content, wherein the plurality of content items at least include technical field, background technology, invention content, accompanying drawings, and specific implementation methods;

[0017] The original associated segment corresponding to the target content item is highlighted.

[0018] In some embodiments, displaying the flowchart and the description content corresponding to the flowchart in the generated content display area includes:

[0019] Displaying a picture selection control corresponding to each flowchart in the generated content display area;

[0020] In response to a user operation on any of the picture selection controls, the flowchart and description content corresponding to the picture selection control are displayed in the generated content display area.

[0021] In some embodiments, determining the updated associated fragment according to the user's editing operation on the original associated fragment includes:

[0022] In response to a user's selection operation on a newly added segment other than the original associated segment in the original text, displaying a new selection control corresponding to the newly added segment;

[0023] If the user operates the newly added selection control, the newly added segment is highlighted in a preset form;

[0024] The original associated segment and the newly added segment are determined as updated associated segments.

[0025] In some embodiments, determining the updated associated fragment according to the user's editing operation on the original associated fragment includes:

[0026] In response to a user's selection operation on a target word in the original associated segment, displaying a cancel association control corresponding to the target word;

[0027] If the user operates the unlink control, the target text is restored to a default form for display;

[0028] The original associated segment except the target text is determined as the updated associated segment.

[0029] In some embodiments, when the user selects the target optimized content in the generated content, the original associated segment in the original text is highlighted in a preset form, including:

[0030] For each of the original associated segments, a segment sequence number corresponding to the original associated segment is displayed at the original associated segment, and the segment sequence number represents the appearance order of the original associated segment in the original text.

[0031] In some embodiments, after determining the updated associated fragment according to the user's editing operation on the original associated fragment, the method further includes:

[0032] According to the user's editing operation on the original associated fragment, the fragment sequence number is updated to obtain an updated fragment sequence number;

[0033] The updated segment sequence number is displayed at the updated associated segment.

[0034] In some embodiments, updating the fragment sequence number according to the user's editing operation on the original associated fragment includes:

[0035] If the user determines at least one newly added segment in the original text, and the newly added segment is not adjacent to any of the originally associated segments, then determining the previous originally associated segment of the newly added segment;

[0036] Determine the fragment sequence number of the newly added fragment according to the fragment sequence number of the previous original associated fragment;

[0037] According to the segment sequence number of the newly added segment, the segment sequence number of the original associated segment after the newly added segment is updated.

[0038] In some embodiments, updating the fragment sequence number according to the user's editing operation on the original associated fragment includes:

[0039] If the user determines at least one newly added segment in the original text, and the newly added segment is adjacent to any of the originally associated segments, then determining at least one adjacent segment in the originally associated segments that is adjacent to the newly added segment;

[0040] Merging the newly added segment with the at least one adjacent segment to obtain a merged segment;

[0041] Determine the fragment sequence number of the merged fragment according to the fragment sequence number of the previous original associated fragment of the merged fragment;

[0042] According to the segment sequence number of the merged segment, the segment sequence number of the original associated segment after the merged segment is updated.

[0043] In some embodiments, updating the fragment sequence number according to the user's editing operation on the original associated fragment includes:

[0044] If the user cancels the association of the target text in any of the original associated segments, and the target text is not adjacent to any content in the original text other than the original associated segment, the content before the target text in the original associated segment is used as the first segment, and the content after the target text in the original associated segment is used as the second segment;

[0045] Determining the fragment sequence number of the first fragment according to the fragment sequence number of the original associated fragment;

[0046] According to the fragment sequence number of the first fragment, the fragment sequence numbers of the second fragment and the original associated fragment after the second fragment are updated.

[0047] In some embodiments, the content tracing optimization interface displays an optimization control corresponding to the target optimization content, and generating an optimization result corresponding to the target optimization content based on the updated associated fragment includes:

[0048] In response to the user's operation on the optimization control, an optimization result corresponding to the target optimization content is generated based on the updated associated fragment.

[0049] In a second aspect, an embodiment of the present disclosure provides a device for generating content optimization, including:

[0050] A first display module, used to display the original text and the generated content generated based on the original text in the content tracing optimization interface;

[0051] A second display module is used to highlight the original associated fragment in the original text in a preset form when the user selects the target optimized content in the generated content, and the original associated fragment is the generation basis of the target optimized content;

[0052] An editing module, used to determine an updated associated segment according to an editing operation of the user on the original associated segment;

[0053] A generating module, configured to generate an optimization result corresponding to the target optimization content based on the updated associated fragment;

[0054] A replacement module is used to replace the target optimization content in the content tracing optimization interface with the optimization result.

[0055] In some embodiments, the original text includes a technical briefing document and a claim, the generated content includes a specification, a flow chart, and the description content corresponding to the flow chart, and the content traceability optimization interface includes an original text display area and a generated content display area.

[0056] The first display module is specifically used to display the technical briefing document and the claims in the original text display area, and to display the specification in the generated content display area;

[0057] Alternatively, the claims are displayed in the original text display area, and the flowchart and the description content corresponding to the flowchart are displayed in the generated content display area.

[0058] In some embodiments, the instruction manual includes a plurality of content items, and the second display module includes a content item display unit for:

[0059] When the user selects a target content item from the plurality of content items, the target content item is determined to be target optimized content, wherein the plurality of content items at least include technical field, background technology, invention content, accompanying drawings, and specific implementation methods;

[0060] The original associated segment corresponding to the target content item is highlighted.

[0061] In some embodiments, the first display module is specifically used for:

[0062] Displaying a picture selection control corresponding to each flowchart in the generated content display area;

[0063] In response to a user operation on any of the picture selection controls, the flowchart and description content corresponding to the picture selection control are displayed in the generated content display area.

[0064] In some embodiments, the editing module includes a new unit for:

[0065] In response to a user's selection operation on a newly added segment other than the original associated segment in the original text, displaying a new selection control corresponding to the newly added segment;

[0066] If the user operates the newly added selection control, the newly added segment is highlighted in a preset form;

[0067] The original associated segment and the newly added segment are determined as updated associated segments.

[0068] In some embodiments, the editing module includes a cancellation unit for:

[0069] In response to a user's selection operation on a target word in the original associated segment, displaying a cancel association control corresponding to the target word;

[0070] If the user operates the unlink control, the target text is restored to a default form for display;

[0071] The original associated segment except the target text is determined as the updated associated segment.

[0072] In some embodiments, the second display module includes a fragment number display unit, which is used to:

[0073] For each of the original associated segments, a segment sequence number corresponding to the original associated segment is displayed at the original associated segment, and the segment sequence number represents the appearance order of the original associated segment in the original text.

[0074] In some embodiments, the editing module includes a sequence number editing unit, which is used to:

[0075] According to the user's editing operation on the original associated fragment, the fragment sequence number is updated to obtain an updated fragment sequence number;

[0076] The updated segment sequence number is displayed at the updated associated segment.

[0077] In some embodiments, the sequence number editing unit is used to:

[0078] If the user determines at least one newly added segment in the original text, and the newly added segment is not adjacent to any of the originally associated segments, then determining the previous originally associated segment of the newly added segment;

[0079] Determine the fragment sequence number of the newly added fragment according to the fragment sequence number of the previous original associated fragment;

[0080] According to the segment sequence number of the newly added segment, the segment sequence number of the original associated segment after the newly added segment is updated.

[0081] In some embodiments, the sequence number editing unit is used to:

[0082] If the user determines at least one newly added segment in the original text, and the newly added segment is adjacent to any of the originally associated segments, then determining at least one adjacent segment in the originally associated segments that is adjacent to the newly added segment;

[0083] Merging the newly added segment with the at least one adjacent segment to obtain a merged segment;

[0084] Determine the fragment sequence number of the merged fragment according to the fragment sequence number of the previous original associated fragment of the merged fragment;

[0085] According to the segment sequence number of the merged segment, the segment sequence number of the original associated segment after the merged segment is updated.

[0086] In some embodiments, the sequence number editing unit is used to:

[0087] If the user cancels the association of the target text in any of the original associated segments, and the target text is not adjacent to any content in the original text other than the original associated segment, the content before the target text in the original associated segment is used as the first segment, and the content after the target text in the original associated segment is used as the second segment;

[0088] Determining the fragment sequence number of the first fragment according to the fragment sequence number of the original associated fragment;

[0089] According to the fragment sequence number of the first fragment, the fragment sequence numbers of the second fragment and the original associated fragment after the second fragment are updated.

[0090] In some embodiments, the content tracing optimization interface displays an optimization control corresponding to the target optimization content, and the generation module is specifically used to:

[0091] In response to the user's operation on the optimization control, an optimization result corresponding to the target optimization content is generated based on the updated associated fragment.

[0092] In a third aspect, an embodiment of the present disclosure provides an electronic device, including:

[0093] Memory;

[0094] Processor; and

[0095] Computer programs;

[0096] The computer program is stored in the memory and is configured to be executed by the processor to implement the method as described in the first aspect.

[0097] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the method described in the first aspect.

[0098] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the method for generating content optimization as described above is implemented.

[0099] The generated content optimization method, apparatus, device and computer-readable storage medium provided by the embodiments of the present disclosure can highlight the corresponding related fragments in the original text through the user's selection of the target optimized content in the generated content, so that the user can quickly locate and understand the corresponding technical content and contextual content, perform editing operations such as adding, deleting and modifying the related fragments to make corresponding optimization decisions, and further regenerate the optimization results to replace the target optimized content. On the one hand, it improves the user's work efficiency, and on the other hand, it reduces the user's workload while ensuring the accuracy of the generated content. BRIEF DESCRIPTION OF THE DRAWINGS

[0100] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0101] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0102] Figure 1 A flow chart of a method for generating content optimization provided by an embodiment of the present disclosure;

[0103] Figure 2 A schematic diagram of a content tracing optimization interface provided by an embodiment of the present disclosure;

[0104] Figure 3 A schematic diagram of a content tracing optimization interface provided by an embodiment of the present disclosure;

[0105] Figure 4 A schematic diagram of a content tracing optimization interface provided by another embodiment of the present disclosure;

[0106] Figure 5 A schematic diagram of a newly added segment provided in an embodiment of the present disclosure;

[0107] Figure 6 A schematic diagram of canceling an original associated fragment provided by an embodiment of the present disclosure;

[0108] Figure 7 A schematic diagram of a content tracing optimization interface provided by an embodiment of the present disclosure;

[0109] Figure 8 A schematic diagram of the structure of a content optimization device provided in an embodiment of the present disclosure;

[0110] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0111] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0112] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0113] The disclosed embodiment provides a method for generating content optimization, which is introduced below in conjunction with a specific embodiment.

[0114] Figure 1 This is a flow chart of the method for optimizing content generation provided by the embodiment of the present disclosure. The method can be applied to terminals, such as smart phones, PDAs, tablet computers, wearable devices with display screens, desktop computers, laptop computers, all-in-one machines, smart home devices, etc. It is understandable that the method for optimizing content generation provided by the embodiment of the present disclosure can also be applied in other scenarios.

[0115] Below Figure 1 The method for optimizing generated content is introduced as shown in the figure. The specific steps of the method are as follows:

[0116] S101, displaying the original text and the generated content generated based on the original text in a content tracing optimization interface.

[0117] The original text refers to the basis of the AI ​​generation process, and the generated content is the result of the AI ​​generation process. The original text is provided to the AI ​​model, and the AI ​​model analyzes the original text according to the pre-trained rules or user-specified rules to obtain the generated content corresponding to the original text.

[0118] The content traceability optimization interface can display the above original text and the corresponding generated content to the user. The user can view the original text and / or generated content separately through the content traceability optimization interface.

[0119] Optionally, the content traceability optimization interface includes an original text display area and a generated content display area. The original text and the generated content are displayed in their corresponding display areas respectively. The user can view the original text in the original text display area and view the generated content in the generated content display area.

[0120] S102: When the user selects the target optimized content in the generated content, the original associated segment in the original text is highlighted in a preset form, and the original associated segment is the basis for generating the target optimized content.

[0121] The target optimized content may be part of the generated content, such as a paragraph of text in the generated content. The target optimized content is generated based on the original related fragment in the original text.

[0122] For users, when they want to edit and optimize the target optimized content, they need to first understand its generation basis. Specifically, in response to the user's selection operation on the target content, the original associated fragment corresponding to the target content will be switched from the default form to the preset form for display to attract the user's attention. At this time, the user can quickly locate the original associated fragment from the original text.

[0123] Optionally, in response to the user's selection operation on the target optimization content, the target optimization content is highlighted, for example, the target optimization content is switched from a default display form to a preset form that is the same as or different from the original associated segment.

[0124] It is understandable that the preset form can be any display form different from the default form, such as a text color different from the default form, a text size different from the default form, a text background color different from the default form, or a combination of one or more of the above, and the embodiments of the present disclosure are not limited to this.

[0125] S103: Determine an updated associated segment according to the user's editing operation on the original associated segment.

[0126] The editing operation on the original associated fragment includes, but is not limited to: adding one or more associated fragments from the original text, and canceling the association of the original associated fragment or part of its content.

[0127] If the user determines that the target optimized content needs to be optimized by editing the original associated fragment, the user can interact with the content traceability optimization interface to add a new original associated fragment to the original text, or cancel the association of the existing original associated fragment or part of the content therein, and finally obtain the updated associated fragment.

[0128] Specifically, if the user chooses to add a new associated segment to the original text, the newly added associated segment will be switched from the default form to the preset form for display; or, if the user cancels the association of the original associated segment or part of its content, the canceled content will be switched from the preset form to the default form for display.

[0129] S104: Generate an optimization result corresponding to the target optimization content based on the updated associated fragments.

[0130] The editing operation on the original associated fragment in the above steps is actually to select a new generation basis for the subsequent generation operation.

[0131] After the user selects the updated associated fragment, a regeneration instruction is initiated through the content traceability optimization interface; in response to the instruction, the AI ​​model will analyze the updated associated fragment and generate corresponding content, which is the optimization result corresponding to the target optimized content.

[0132] S105: Replace the target optimization content in the content tracing optimization interface with the optimization result.

[0133] The optimization result corresponding to the target optimization content is displayed in the content tracing optimization interface. For example, the target optimization content in the content tracing optimization interface is replaced with the optimization result; or the optimization result is displayed in the area where the target optimization content is located in a revised form.

[0134] The embodiment of the present disclosure displays the original text and the generated content generated based on the original text in a content tracing optimization interface; when the user selects the target optimized content in the generated content, the original associated fragment in the original text is highlighted in a preset form, and the original associated fragment is the generation basis of the target optimized content; according to the user's editing operation on the original associated fragment, an updated associated fragment is determined; based on the updated associated fragment, an optimization result corresponding to the target optimized content is generated; the target optimized content in the content tracing optimization interface is replaced with the optimization result, and through the user's selection of the target optimized content in the generated content, the corresponding associated fragment is highlighted in the original text, so that the user can quickly locate and understand the corresponding technical content and contextual content, perform editing operations such as adding, deleting and modifying the associated fragment to make corresponding optimization decisions, and further regenerate the optimization result to replace the target optimized content. On the one hand, the user's work efficiency is improved, and on the other hand, the user's workload is reduced while ensuring the accuracy of the generated content.

[0135] Based on the above embodiment, the original text includes a technical briefing document and a claim document, the generated content includes an instruction manual, a flow chart, and the explanatory content corresponding to the flow chart, and the content traceability optimization interface includes an original text display area and a generated content display area, wherein the original text display area is used to display the original text, and the generated content display area is used to display the generated content.

[0136] One possible situation is that when the original text includes a technical disclosure document and a claim, the corresponding generated content includes a specification. At this time, displaying the original text and the generated content generated based on the original text in the content traceability optimization interface includes: displaying the technical disclosure document and the claim in the original text display area, and displaying the specification in the generated content display area.

[0137] Another possible situation is that when the original text includes claims, the corresponding generated content includes a flowchart and the description content corresponding to the flowchart. In this case, the display of the original text and the generated content generated based on the original text in the content traceability optimization interface includes: displaying the claims in the original text display area, and displaying the flowchart and the description content corresponding to the flowchart in the generated content display area.

[0138] The above two situations are respectively introduced below in conjunction with specific embodiments.

[0139] In some embodiments, the instructions displayed in the generated content display area are displayed separately according to multiple content items, each content item includes corresponding generated content, wherein the multiple content items include at least technical field, background technology, invention content, illustrations, and specific implementation methods.

[0140] Figure 2 A schematic diagram of a content tracing optimization interface provided by an embodiment of the present disclosure. Figure 2 As shown, the technical briefing document or the claims are displayed in a switchable form in the original text display area 21, and the user can determine the display content in the original text display area 21 by operating the original text switch control 211; the generated content display area 22 displays the specification, which is generated based on the technical briefing document and / or claims in the original text display area 21.

[0141] Optionally, the original text display area 21 also includes an original text modification control 212. When the user selects the original text modification control 212, the original text displayed in the original text display area 21 is switched from a non-editable form to an editable form, and the user can edit the original text; the original text display area 21 also includes an original text upload control 213. When the user selects the original text upload control 213, the original text upload interface will be displayed. At this time, the user can upload files in the original text upload interface, and the uploaded files will be displayed as original text in the original text display area 21.

[0142] When an instruction manual is displayed in the generated content display area, when the user selects the target optimized content in the generated content, the original associated fragment in the original text is highlighted, including: when the user selects the target content item among the multiple content items, the target content item is determined to be the target optimized content; and the original associated fragment corresponding to the target content item is highlighted.

[0143] For any content item, the content item can be optimized as a whole. Specifically, the user selects a target content item from multiple content items, and the target content item is used as the target optimized content.

[0144] Correspondingly, when the user selects a target content item from the plurality of content items, the original associated segment corresponding to the target content item will be displayed in the original text display area 21 in a preset form.

[0145] Optionally, the selected target content item will also be highlighted in a preset format.

[0146] Figure 3 A schematic diagram of a content tracing optimization interface provided by an embodiment of the present disclosure. Figure 3As shown, the content currently displayed in the original text display area 31 is the technical briefing document, and the content displayed in the generated content display area 32 is the content generated intelligently last time. When the user selects the target content item "background technology", it means that the user may need to optimize the target content item. At this time, the corresponding original related segments 311 and 312 in the original text display area 31 are highlighted in a preset form. Optionally, the target content item 321 is also highlighted in a preset form.

[0147] It should be noted that the above embodiment only takes the target content item "background technology" and the original associated fragment in the specification as an example. If the original associated fragment corresponding to the target content item selected by the user exists in the claims, the content displayed in the original text display area 31 is automatically switched to the claims, and the original associated fragment is highlighted in the claims in a preset form.

[0148] When a flowchart is displayed in the generated content display area, the flowchart and the explanatory content corresponding to the flowchart are displayed in the generated content display area, including: displaying a picture selection control corresponding to each flowchart in the generated content display area; in response to a user's operation on any of the picture selection controls, displaying the flowchart and the explanatory content corresponding to the picture selection control in the generated content display area.

[0149] Figure 4 A schematic diagram of a content tracing optimization interface provided by another embodiment of the present disclosure. Figure 4 As shown, what is displayed in the original text display area 41 is the claims, and what is displayed in the generated content display area 42 is the flow chart and the description content corresponding to the flow chart.

[0150] Specifically, a picture selection control 421 corresponding to each flowchart is provided in the generated content display area 42 , and the user can operate the picture selection control corresponding to the flowchart to be displayed to display the flowchart in the generated content display area 42 .

[0151] Accordingly, the flowchart currently displayed in the generated content display area 42 is used as the target optimized content, and its corresponding original associated fragment is displayed in the original text display area 41 in a preset form. Figure 4 As shown, the original associated segments 411 and 412 are highlighted in a preset form.

[0152] The disclosed embodiment divides the content tracing optimization interface into an original text display area and a generated content display area. When a user selects target optimized content in the generated content display area, the corresponding original associated fragment is highlighted in a preset form in the original text display area, thereby making the layout of the content tracing optimization interface clearer and more reasonable, thereby improving the user experience.

[0153] In some embodiments, an optimization control corresponding to the target optimization content is displayed in the content traceability optimization interface, and the optimization result corresponding to the target optimization content is generated based on the updated associated fragment, including: in response to the user's operation on the optimization control, the optimization result corresponding to the target optimization content is generated based on the updated associated fragment.

[0154] Specifically, displaying the optimization control corresponding to the target optimization content means that the name of the optimization control corresponds to the target optimization content.

[0155] For example, Figure 3 As shown, an optimization control 33 is displayed in the content traceability optimization interface. The target optimization content in the interface is the content item "background technology", and the name of the optimization control 33 is "regenerate background technology content"; Figure 4 As shown, the content traceability optimization interface displays an optimization control 43, and the target optimization content in the interface is " Figure 2 "This flowchart, the name of the optimization control 43 is "Regenerate Figure 2 content".

[0156] Based on the above embodiment, the user can edit the original associated segment in the original text display area to obtain an updated associated segment.

[0157] One possible scenario is that when a user needs to add a new associated segment, the updated associated segment is determined based on the user's editing operation on the original associated segment, including: in response to the user's selection operation on the newly added segment other than the original associated segment in the original text, displaying a new selection control corresponding to the newly added segment; if the user operates the new selection control, highlighting the newly added segment in a preset form; and determining the original associated segment and the newly added segment as updated associated segments.

[0158] The user can add one or more associated segments based on at least one original associated segment. These newly added associated segments are called newly added segments, which will participate in the re-transcription during the optimization process of the target optimized content.

[0159] Figure 5 A schematic diagram of a newly added segment provided in an embodiment of the present disclosure. Figure 5As shown, taking the technical briefing document displayed in the original text display area 51 as an example, the original associated segments 511 and 512 have been displayed in a highlighted form. In response to the user's selection operation on the newly added segment 513, the newly added segment 513 is switched from the default form to a selected state for display, and a newly added selection control 514 corresponding to the newly added segment 513 is displayed near the newly added segment 513. When the user operates the newly added selection control 514, the newly added segment 513 can be determined as an associated segment. At this time, the newly added segment 513 is switched to the same preset form as the original associated segment for display, and the newly added segment 513 and the original associated segments 511 and 512 are used as updated associated segments.

[0160] Another possible situation is that when the user needs to cancel the original associated fragment or part of the associated fragments therein, the updated associated fragment is determined according to the user's editing operation on the original associated fragment, including: in response to the user's selection operation on the target text in the original associated fragment, displaying the cancel association control corresponding to the target text; if the user operates the cancel association control, restoring the target text to a default form for display; and determining the original associated fragment except the target text as the updated associated fragment.

[0161] The user can cancel the association operation for the target text in the original associated segment. After the association is cancelled, the target text will no longer be used as an associated segment and will not participate in the re-transcription during the target optimization content optimization process.

[0162] Figure 6 A schematic diagram of canceling an original associated fragment provided by an embodiment of the present disclosure. Figure 6 As shown, taking the technical briefing document displayed in the original text display area 61 as an example, the original associated segments 611 and 612 have been displayed in a prominent form. In response to the user's selection operation on the target text 613 in the original associated segment 611, the target text 613 is displayed in a superimposed selected state on the basis of the preset form. At the same time, a cancel association control 614 corresponding to the target text 613 is displayed near the target text 613. When the user operates the cancel association control 614, the target text 613 can be canceled from the target optimized content, that is, the target text 613 is no longer an associated segment, and the preset form is switched to the default form for display. At the same time, the original associated segments 611 and 612 except the target text 613 are used as updated associated segments.

[0163] It is understandable that the user can update the original associated segment multiple times according to the steps in the above embodiment, such as determining multiple new segments and / or selecting multiple target texts to cancel the association. The above embodiment only takes a single operation as an example for explanation. During multiple updates, the user can simultaneously select and determine multiple new segments and / or simultaneously select multiple target texts to cancel the association; or, determine each new segment in turn and / or select each target text in turn to cancel the association, which is not limited in the embodiment of the present disclosure.

[0164] Furthermore, the content traceability optimization interface displays optimization controls corresponding to the target optimized content, and generates optimization results corresponding to the target optimized content based on the updated associated fragments, including: in response to user operations on the optimization controls, generating optimization results corresponding to the target optimized content based on the updated associated fragments.

[0165] Optimizing the target optimization content is a process of regenerating optimization results according to the updated associated fragments and replacing the target optimization content with the optimization results.

[0166] Figure 7 A schematic diagram of a content tracing optimization interface provided by an embodiment of the present disclosure. Figure 7 As shown, the user Figure 5 In the corresponding embodiment, after the original associated fragment is updated, the following is obtained: Figure 7 The updated associated segments 711, 712, and 713 are shown in the original text display area 71, and the target content item "background technology" (that is, the target optimized content) 721 is displayed in the generated content display area. An optimization control 73 is also provided in the content traceability optimization interface. In response to the user's operation on the optimization control 73, the optimization result corresponding to the target content item "background technology" is regenerated according to the updated associated segments 711, 712, and 713, and the target content item "background technology" 721 is replaced by the optimization result.

[0167] Similarly, if a flowchart is used as the target optimization content, the flowchart is regenerated according to the updated associated fragments, including each step content and its corresponding step number. Optionally, each associated fragment corresponds to a step content.

[0168] The disclosed embodiment adds or removes associated segments through the user's operation on the new segment and / or target text in the original text display area, and regenerates the optimization result based on the last determined updated associated segment. The interactive process is simple and very user-friendly.

[0169] In some embodiments, when the user selects the target optimized content in the generated content, the original associated fragments in the original text are highlighted in a preset form, including: for each of the original associated fragments, the fragment serial number corresponding to the original associated fragment is displayed at the original associated fragment, and the fragment serial number represents the order of appearance of the original associated fragment in the original text.

[0170] There are usually multiple original associated fragments in the original text, and the embodiment of the present disclosure displays the corresponding fragment serial number for each original associated fragment. Optionally, the fragment serial number not only represents the order of appearance of the original associated fragment in the original text, but also indicates the target optimization content corresponding to the original associated fragment.

[0171] For example, Figure 3 As shown, the fragment number of the original associated fragment 311 is displayed as "background technology-associated fragment 1", and the fragment number of the original associated fragment 312 is displayed as "background technology-associated fragment 2", wherein "background technology" indicates the target optimization content corresponding to the original associated fragments 311 and 312, that is, the target content item 321, and "associated fragment 1" and "associated fragment 2" respectively indicate the order of appearance of the original associated fragments 311 and 312 in the original text.

[0172] For example, Figure 4 As shown, the fragment number of the original associated fragment 411 is displayed as " Figure 2 -Associated fragment 1", the fragment number of the original associated fragment 412 is displayed as " Figure 2 -Associated fragment 2", where " Figure 2 " indicates the target optimized content corresponding to the original associated segments 411 and 412, that is, the generated content displayed in the content display area 42 Figure 2 , “Associated fragment 1” and “Associated fragment 2” respectively indicate the order in which the original associated fragments 411 and 412 appear in the original text.

[0173] Optional, such as Figure 3 , Figure 4 As shown, the original text display area is also provided with associated segment jump controls 313 and 413 for assisting the user to quickly jump between multiple associated segments.

[0174] The disclosed embodiment helps users to more clearly understand the contextual relationship between each original associated fragment by displaying the fragment serial number of each original associated fragment. At the same time, the fragment serial number can also indicate the target optimization content corresponding to the original associated fragment, which is convenient for users to check whether the selection of the target optimization content is correct. It also strengthens the traceability relationship between the original text and the generated content, further improving the user experience and the accuracy of traceability optimization.

[0175] Based on the above embodiment, after determining the updated associated fragment according to the user's editing operation on the original associated fragment, the method further includes: updating the fragment sequence number according to the user's editing operation on the original associated fragment to obtain an updated fragment sequence number; and displaying the updated fragment sequence number at the updated associated fragment.

[0176] As described in the above embodiment, after the user edits the original associated fragment, there may be a new associated fragment, or part of the original associated fragment may be removed. These situations will cause the appearance order of each updated associated fragment in the original text to change, and the fragment sequence number needs to be updated.

[0177] One possible situation is that if the user determines at least one newly added segment in the original text, and the newly added segment is not adjacent to any of the originally associated segments, then the previous original associated segment of the newly added segment is determined; based on the segment sequence number of the previous original associated segment, the segment sequence number of the newly added segment is determined; and based on the segment sequence number of the newly added segment, the segment sequence number of the original associated segment after the newly added segment is updated.

[0178] The newly added segment is not adjacent to any of the original associated segments, which means that the newly added segment is not in a continuous relationship with any of the original associated segments, that is, there is original content that has not been selected as an associated segment between the newly added segment and at least one of its nearest original associated segments. At this time, the segment sequence number of the newly added segment is incremented according to the segment sequence number of the previous original associated segment; at the same time, if there is at least one original associated segment after the newly added segment, the segment sequence numbers of these originally associated segments are incremented in sequence according to the segment sequence number of the newly added segment.

[0179] Correspondingly, if the user determines at least one newly added segment in the original text, and the newly added segment is adjacent to any of the originally associated segments, then at least one adjacent segment adjacent to the newly added segment in the original associated segments is determined; the newly added segment is merged with the at least one adjacent segment to obtain a merged segment; the segment sequence number of the merged segment is determined based on the segment sequence number of the original associated segment before the merged segment; and the segment sequence number of the original associated segment after the merged segment is updated based on the segment sequence number of the merged segment.

[0180] The newly added segment is adjacent to any one or more original associated segments, that is, the newly added segment is continuous with at least one original associated segment, and the at least one adjacent original associated segment is determined to be an adjacent segment.

[0181] The newly added segment is merged with the original associated segment connected to it to obtain a merged segment, the segment sequence number of the merged segment is incremented according to the segment sequence number of the original associated segment before the merged segment, and the segment sequence number of the original associated segment after the merged segment is incremented in sequence according to the segment sequence number of the merged segment.

[0182] Optionally, if the newly added segment is adjacent to only one original associated segment, the merged segment after merging inherits the segment sequence number of the merged original associated segment. For example, the segment sequence number of the original associated segment adjacent to the newly added segment is "background technology - associated segment N", and the segment sequence number of the next original associated segment is "background technology - associated segment N+1"; then the segment sequence number of the merged segment is "background technology - associated segment N", and the segment sequence number of the next original associated segment is "background technology - associated segment N+1".

[0183] Optionally, if the newly added segment is adjacent to two original associated segments at the beginning and the end, the merged segment after merging inherits the segment sequence number of the two original associated segments that are merged. For example, the segment sequence numbers of the two original associated segments adjacent to the newly added segment are "background technology - associated segment N" and "background technology - associated segment N+1", and the segment sequence number of the next original associated segment is "background technology - associated segment N+2"; then the segment sequence number of the merged segment is "background technology - associated segment N", and the segment sequence number of the next original associated segment of the merged segment is updated to "background technology - associated segment N+1", and so on.

[0184] Another possible situation is that if the user cancels the association of the target text in any of the original associated fragments, and the target text is not adjacent to the content in the original text other than the original associated fragment, the content before the target text in the original associated fragment is taken as the first fragment, and the content after the target text in the original associated fragment is taken as the second fragment; the fragment sequence number of the first fragment is determined according to the fragment sequence number of the original associated fragment; and the fragment sequence numbers of the second fragment and the original associated fragment after the second fragment are updated according to the fragment sequence number of the first fragment.

[0185] When the target text is located in the middle of the original associated fragment, the user cancels the association of the target text, which is equivalent to "cutting" the original associated fragment into two associated fragments. At this time, the fragment sequence number of the first fragment before the target text is still the fragment sequence number of the original associated fragment, and the fragment sequence number of the second fragment after the target text needs to be incremented according to the fragment sequence number of the first fragment, and the fragment sequence number of the original associated fragment after the second fragment is incremented in sequence according to the fragment sequence number of the second fragment. For example, the fragment sequence number of the original associated fragment where the target text is located is "background technology-associated fragment N", and the fragment sequence number of the next original associated fragment is "background technology-associated fragment N+1". After the user cancels the association of the target text, the fragment sequence number of the first fragment is "background technology-associated fragment N", the fragment sequence number of the second fragment is "background technology-associated fragment N+1", and the fragment sequence number of the next original associated fragment is "background technology-associated fragment N+2".

[0186] Correspondingly, when the target text is located at the beginning or end of the original associated segment, the user cancels the association of the target text to obtain an updated associated segment, but does not affect the segment sequence number, and the updated associated segment has the same segment sequence number as the original associated segment.

[0187] The disclosed embodiment dynamically updates the fragment sequence number of each associated fragment according to the user's editing operation on the original associated fragment, thereby ensuring the user's editing freedom for the original associated fragment while still ensuring that the guiding role of the fragment sequence number on the user is not affected, thereby further improving the user experience.

[0188] Figure 8 The schematic diagram of the structure of the content generation optimization device provided in the embodiment of the present disclosure. The content generation optimization device may be the terminal as described in the above embodiment, or the content generation optimization device may be a component or assembly in the terminal. The content generation optimization device provided in the embodiment of the present disclosure may execute the processing flow provided in the content generation optimization method embodiment, such as Figure 8As shown, the generated content optimization device 80 includes: a first display module 81, a second display module 82, an editing module 83, a generation module 84, and a replacement module 85; wherein the first display module 81 is used to display the original text and the generated content generated based on the original text in the content tracing optimization interface; the second display module 82 is used to highlight the original associated fragment in the original text in a preset form when the user selects the target optimization content in the generated content, and the original associated fragment is the generation basis of the target optimization content; the editing module 83 is used to determine the updated associated fragment according to the user's editing operation on the original associated fragment; the generation module 84 is used to generate the optimization result corresponding to the target optimization content based on the updated associated fragment; the replacement module 85 is used to replace the target optimization content in the content tracing optimization interface with the optimization result.

[0189] Optionally, the original text includes a technical briefing document and a claim document, the generated content includes an instruction manual, a flow chart, and explanatory content corresponding to the flow chart, the content traceability optimization interface includes an original text display area and a generated content display area, and the first display module 81 is specifically used to display the technical briefing document and the claim document in the original text display area, and display the instruction manual in the generated content display area; or, display the claim document in the original text display area, and display the flow chart and the explanatory content corresponding to the flow chart in the generated content display area.

[0190] Optionally, the specification includes multiple content items, and the second display module 82 includes a content item display unit 821, which is used to determine that the target content item is the target optimized content when the user selects the target content item among the multiple content items, and the multiple content items at least include the technical field, background technology, invention content, illustrations, and specific implementation methods; and highlight the original associated fragment corresponding to the target content item.

[0191] Optionally, the first display module 81 is specifically used to display the image selection controls corresponding to each flowchart in the generated content display area; in response to the user's operation on any of the image selection controls, the flowchart and description content corresponding to the image selection control are displayed in the generated content display area.

[0192] Optionally, the editing module 83 includes a new adding unit 831, which is used to display a new selection control corresponding to the new segment in response to the user's selection operation on the new segment other than the original associated segment in the original text; if the user operates the new selection control, the new segment is highlighted in a preset form; and the original associated segment and the new segment are determined as updated associated segments.

[0193] Optionally, the editing module 83 includes a cancel unit 832, which is used to display a cancel association control corresponding to the target text in response to the user's selection operation on the target text in the original associated segment; if the user operates the cancel association control, the target text is restored to a default form for display; and the original associated segment other than the target text is determined as the updated associated segment.

[0194] Optionally, the second display module 82 includes a fragment sequence number display unit 822, which is used to display the fragment sequence number corresponding to the original associated fragment at the original associated fragment for each original associated fragment, and the fragment sequence number represents the appearance order of the original associated fragment in the original text.

[0195] Optionally, the editing module 83 includes a sequence number editing unit 833, which is used to update the segment sequence number according to the user's editing operation on the original associated segment to obtain an updated segment sequence number; and display the updated segment sequence number at the updated associated segment.

[0196] Optionally, the sequence number editing unit 833 is used to determine the previous original associated segment of the newly added segment if the user determines at least one newly added segment in the original text, and the newly added segment is not adjacent to any of the originally associated segments; determine the segment sequence number of the newly added segment according to the segment sequence number of the previous original associated segment; and update the segment sequence number of the original associated segment after the newly added segment according to the segment sequence number of the newly added segment.

[0197] Optionally, the sequence number editing unit 833 is used to determine at least one adjacent segment adjacent to the newly added segment in the original associated segment if the user determines at least one newly added segment in the original text, and the newly added segment is adjacent to any of the original associated segments; merge the newly added segment with the at least one adjacent segment to obtain a merged segment; determine the segment sequence number of the merged segment based on the segment sequence number of the previous original associated segment of the merged segment; and update the segment sequence number of the original associated segment after the merged segment based on the segment sequence number of the merged segment.

[0198] Optionally, the serial number editing unit 833 is used to, if the user cancels the association operation on the target text in any of the original associated fragments, and the target text is not adjacent to the content in the original text other than the original associated fragment, take the content before the target text in the original associated fragment as the first fragment, and take the content after the target text in the original associated fragment as the second fragment; determine the fragment serial number of the first fragment according to the fragment serial number of the original associated fragment; and update the fragment serial numbers of the second fragment and the original associated fragment after the second fragment according to the fragment serial number of the first fragment.

[0199] Optionally, the content traceability optimization interface displays optimization controls corresponding to the target optimization content, and the generation module 84 is specifically used to respond to user operations on the optimization controls and generate optimization results corresponding to the target optimization content based on the updated associated fragments.

[0200] Figure 8 The generated content optimization device of the illustrated embodiment can be used to execute the technical solution of the above-mentioned method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0201] Fig. 9 The electronic device provided in the embodiment of the present disclosure may be a terminal as described in the above embodiment. The electronic device provided in the embodiment of the present disclosure may execute the processing flow provided in the embodiment of the method for generating content optimization, such as Fig. 9 As shown, the electronic device 90 includes: a memory 91, a processor 92, a computer program and a communication interface 93; wherein the computer program is stored in the memory 91 and is configured so that the processor 92 executes the above-mentioned method for generating content optimization.

[0202] In addition, an embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored. The computer program is executed by a processor to implement the method for optimizing generated content described in the above embodiment.

[0203] In addition, an embodiment of the present disclosure further provides a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the above-mentioned method for generating content optimization is implemented.

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

[0205] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for optimizing generated content, characterized in that: The method comprises: Displaying the original text and the generated content generated based on the original text in the content tracing optimization interface; When the user selects the target optimized content in the generated content, the original associated segment in the original text is highlighted in a preset form, and the original associated segment is the basis for generating the target optimized content; Determining an updated associated segment according to the user's editing operation on the original associated segment; Based on the updated associated fragments, generating an optimization result corresponding to the target optimization content; The target optimization content in the content tracing optimization interface is replaced with the optimization result.

2. The method according to claim 1, characterized in that The step of determining an updated associated segment according to the user's editing operation on the original associated segment includes: In response to a user's selection operation on a newly added segment other than the original associated segment in the original text, displaying a new selection control corresponding to the newly added segment; If the user operates the newly added selection control, the newly added segment is highlighted in a preset form; The original associated segment and the newly added segment are determined as updated associated segments.

3. The method according to claim 1, characterized in that When the user selects the target optimized content in the generated content, the original associated fragment in the original text is highlighted in a preset form, including: For each of the original associated segments, a segment sequence number corresponding to the original associated segment is displayed at the original associated segment, and the segment sequence number represents the appearance order of the original associated segment in the original text.

4. The method according to claim 3, characterized in that After determining the updated associated fragment according to the user's editing operation on the original associated fragment, the method further includes: According to the user's editing operation on the original associated fragment, the fragment sequence number is updated to obtain an updated fragment sequence number; The updated segment sequence number is displayed at the updated associated segment.

5. The method according to claim 4, characterized in that The updating of the fragment sequence number according to the user's editing operation on the original associated fragment includes: If the user determines at least one newly added segment in the original text, and the newly added segment is not adjacent to any of the originally associated segments, then determining the previous originally associated segment of the newly added segment; Determine the fragment sequence number of the newly added fragment according to the fragment sequence number of the previous original associated fragment; According to the segment sequence number of the newly added segment, the segment sequence number of the original associated segment after the newly added segment is updated.

6. The method according to claim 4, characterized in that The updating of the fragment sequence number according to the user's editing operation on the original associated fragment includes: If the user determines at least one newly added segment in the original text, and the newly added segment is adjacent to any of the originally associated segments, then determining at least one adjacent segment in the originally associated segments that is adjacent to the newly added segment; Merging the newly added segment with the at least one adjacent segment to obtain a merged segment; Determine the fragment sequence number of the merged fragment according to the fragment sequence number of the previous original associated fragment of the merged fragment; According to the segment sequence number of the merged segment, the segment sequence number of the original associated segment after the merged segment is updated.

7. The method according to claim 4, characterized in that The updating of the fragment sequence number according to the user's editing operation on the original associated fragment includes: If the user cancels the association of the target text in any of the original associated segments, and the target text is not adjacent to any content in the original text other than the original associated segment, the content before the target text in the original associated segment is used as the first segment, and the content after the target text in the original associated segment is used as the second segment; Determining the fragment sequence number of the first fragment according to the fragment sequence number of the original associated fragment; According to the fragment sequence number of the first fragment, the fragment sequence numbers of the second fragment and the original associated fragment after the second fragment are updated.

8. A content optimization device, characterized in that: include: A first display module, used to display the original text and the generated content generated based on the original text in the content tracing optimization interface; A second display module is used to highlight the original associated fragment in the original text in a preset form when the user selects the target optimized content in the generated content, and the original associated fragment is the generation basis of the target optimized content; An editing module, used to determine an updated associated segment according to an editing operation of the user on the original associated segment; A generating module, configured to generate an optimization result corresponding to the target optimization content based on the updated associated fragment; A replacement module is used to replace the target optimization content in the content tracing optimization interface with the optimization result.

9. An electronic device, characterized in that: include: Memory; processor; as well as Computer programs; The computer program is stored in the memory and is configured to be executed by the processor to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.