Configurable content generation method and system, electronic equipment and storage medium

By obtaining user content needs and preference feature information, selecting and updating templates, it solves the problem of cumbersome template selection and editing process in traditional content editing, realizes free modification of content and customization of templates, and improves editing efficiency and user satisfaction.

CN118690735APending Publication Date: 2024-09-24深圳华云信息系统科技股份有限公司
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410722521.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

In the traditional content editing process, it is difficult for users to select matching templates according to their needs, and real-time preview of content and automatic generation of templates cannot be achieved during post-editing, making the editing process cumbersome and inconvenient.

Method used

By obtaining user content needs and preference feature information, selecting a matching standard template, and updating the template according to the edited content adjustment process, configurable content is generated, enabling free modification of content and customization of templates.

Benefits of technology

It realizes quick acquisition of accurately divided editable content. Users can freely modify the content according to their needs and automatically adjust paragraph styles to meet personalized needs and improve editing efficiency and user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690735A
    Figure CN118690735A
Patent Text Reader

Abstract

The invention relates to a configurable content generation method and system, electronic equipment and a storage medium. The method comprises the following steps: acquiring a standard template list corresponding to a user content demand; obtaining preference feature information of a user, and selecting an initial template from the standard template list by using the preference feature information; inputting the obtained user receiving content into an initial template to obtain initial output content; adjusting the initial output content to obtain target output content; and updating the initial template according to the adjustment process of the initial output content, taking the updated initial template as a configuration template corresponding to the target output content, and generating corresponding configurable content based on the target output content and the configuration template. According to the method, the content template has the requirements of standardization and individuation at the same time, a subsequent user edits and modifies the output content, paragraph styles are automatically added or deleted in the template according to the edited and modified content, and therefore free modification of the content and self-defined adjustment of the template are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, system, electronic device and storage medium for generating configurable content. Background Art

[0002] Traditional content editing mainly involves manually typeset paragraphs in different areas such as title, author, text, cover, etc. The post-editing process directly edits the corresponding positions of the title, author, text, cover, etc., which is cumbersome to input, and the edited content is difficult to preview in real time according to the typesetting requirements.

[0003] However, some editing templates can be refined to title, author, text, cover, etc., but there are few types of templates to choose from, and it is impossible to select a matching template based on user needs or user editing habits. In the later editing process, it is also impossible to automatically generate templates based on the revised content to achieve real-time browsing of the content.

[0004] Therefore, there is an urgent need to develop a method, system, electronic device and storage medium for generating configurable content to solve one or more of the above-mentioned problems. Summary of the invention

[0005] In view of this, in order to solve the above technical problems or part of the technical problems, the embodiments of the present invention provide a method, system, electronic device and storage medium for generating configurable content.

[0006] In a first aspect, the present application provides a method for generating configurable content, the method comprising:

[0007] Get a list of standard templates corresponding to user content requirements;

[0008] Acquire user's preference characteristic information, and select an initial template from the standard template list using the preference characteristic information;

[0009] Inputting the acquired user received content into the initial template to obtain initial output content;

[0010] Adjusting the initial output content to obtain target output content, and recording the adjustment process of the initial output content;

[0011] The initial template is updated according to the adjustment process of the initial output content, the updated initial template is used as a configuration template corresponding to the target output content, and the corresponding configurable content is generated based on the target output content and the configuration template.

[0012] In a possible implementation, the user content requirement includes a topic requirement and a paragraph requirement, and the paragraph requirement includes a paragraph arrangement requirement;

[0013] The obtaining of a list of standard templates corresponding to the user's content requirements includes:

[0014] Get a collection of standard templates that meet the theme requirements from the template library;

[0015] Obtaining the standard similarity between the paragraph arrangement of each standard template in the standard template set and the paragraph arrangement requirement;

[0016] Selecting a subset of standard templates whose standard similarity is greater than a first similarity threshold from the standard template set;

[0017] According to the standard similarity of each standard template in the standard template subset, each standard template is added to the standard template list in turn.

[0018] In a possible implementation manner, the selecting an initial template from the standard template list using the preference feature information includes:

[0019] Obtaining the standard similarity of each standard template in the standard template list, and the preference similarity of the paragraph arrangement and the preference feature information of each standard template;

[0020] Obtaining a preset normative weight and a preference weight, and setting a second similarity threshold and a third similarity threshold according to the normative weight and the preference weight;

[0021] Using the second similarity threshold and the third similarity threshold, a matching standard template is selected from the standard template list as an initial template, wherein the standard similarity of the initial template is greater than the second similarity threshold, and the preference similarity is greater than the third similarity threshold.

[0022] In a possible implementation manner, updating the initial template according to the adjustment process of the initial output content includes:

[0023] Obtaining paragraph adjustment in the adjustment process, wherein the paragraph adjustment includes paragraph position adjustment and paragraph content adjustment;

[0024] In the case where the paragraph adjustment is a paragraph position adjustment, the paragraph arrangement in the initial template is updated according to the paragraph position adjustment.

[0025] In a possible implementation manner, after updating the initial template according to the adjustment process of the initial output content, the method further includes:

[0026] Recording the updating process of the initial template;

[0027] In the case that the updating process of the initial template satisfies the preference feature adjustment, the updating process of the initial template is used to obtain new preference feature information, and the preference feature information is recorded.

[0028] In a possible implementation, when the updating process of the initial template satisfies the preference feature adjustment, obtaining new preference feature information by using the updating process of the initial template includes:

[0029] Acquire the number of updates of the initial template during the updating process, and if the number of updates is greater than a first adjustment threshold, acquire the paragraph arrangement of the updated paragraphs during the updating process;

[0030] Obtaining a normative similarity between the paragraph arrangement and the paragraph arrangement requirement, and a preference similarity between the paragraph arrangement and the preference feature information;

[0031] When the specification similarity is less than a fourth similarity threshold, and the preference similarity is less than a fifth similarity threshold, new preference feature information is acquired by using the updating process of the initial template.

[0032] In a possible implementation, the method further includes:

[0033] When the norm similarity is greater than a fourth similarity threshold and the preference similarity is less than a fifth similarity threshold, adjusting a preset norm weight;

[0034] When the specification similarity is less than a fourth similarity threshold and the preference similarity is greater than a fifth similarity threshold, a preset preference weight is adjusted.

[0035] In a second aspect, the present application provides a system for generating configurable content, the system comprising:

[0036] The first acquisition module is used to acquire a list of standard templates corresponding to the user's content requirements;

[0037] Selecting a template, for obtaining the user's preference characteristic information, and selecting an initial template from the standard template list using the preference characteristic information;

[0038] An output module, used for inputting the acquired user received content into the initial template to obtain initial output content;

[0039] A first adjustment module, configured to adjust the initial output content to obtain target output content, and record the adjustment process of the initial output content;

[0040] The second adjustment module is used to update the initial template according to the adjustment process of the initial output content, use the updated initial template as the configuration template corresponding to the target output content, and generate corresponding configurable content based on the target output content and the configuration template.

[0041] In a third aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the steps of the method for generating configurable content as described in any one of the embodiments of the first aspect.

[0042] In a fourth aspect, the present application provides a storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the method for generating configurable content described in any one of the embodiments of the first aspect are implemented.

[0043] The above-mentioned technical scheme provided by the embodiment of the present application has the following advantages over the prior art: the method for generating configurable content provided by the embodiment of the present application selects a matching content template through normalization and user preference characteristics, so that the matched content template meets both the requirements of normalization and personalization, and then inputs the received content into the content template to output the edited segmented content, so as to quickly obtain accurately divided editable content. Subsequently, the user edits and modifies the output content, and automatically adds or deletes paragraph styles in the template according to the edited and modified content, thereby realizing free modification of the content and customized adjustment of the template. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0045] 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.

[0046] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0047] Figure 1 A flowchart of a method for generating configurable content provided in an embodiment of the present application;

[0048] Figure 2 A flowchart of another method for generating configurable content provided in an embodiment of the present application;

[0049] Figure 3 A schematic diagram of the structure of a configurable content generation system provided in an embodiment of the present application;

[0050] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0052] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.

[0053] In order to solve the problems in the prior art that traditional content editing is mainly to manually layout paragraphs in different areas such as title, author, text, cover, etc., and the corresponding positions of title, author, text, cover, etc. are directly edited in the post-editing process, which is troublesome to input, and the edited content is difficult to preview in real time according to the layout requirements, and it is impossible to select a matching template according to user needs or user editing habits, and it is impossible to automatically generate a template according to the revised content in the post-editing process to achieve real-time browsing of the content, the present application provides a configurable content generation method that selects a matching content template through normalization and user preference characteristics, so that the matched content template meets both normalization and personalization requirements, and then inputs the received content into the content template to output the edited segmented content, so as to quickly obtain accurately divided editable content, and the user edits and modifies the output content, and automatically adds or deletes paragraph styles in the template according to the edited and modified content, thereby achieving free modification of content and customized adjustment of templates.

[0054] Figure 1 A flow chart of a method for generating configurable content provided in an embodiment of the present application is shown as follows: Figure 1 As shown, the method specifically includes:

[0055] S101, obtaining a list of standard templates corresponding to user content requirements;

[0056] In this embodiment, there are already various subject classification standard template libraries in the prior art. The relevant standard template library is called according to the user's demand for content, and each standard template is added to the standard template list in turn according to its compliance. The standard templates in the standard template list are sorted from high to low according to their compliance with the user's content needs.

[0057] Subsequently, a matching standard template is selected from the standard template list according to the requirements for content template standardization.

[0058] S102, obtaining user preference characteristic information, and selecting an initial template from the standard template list using the preference characteristic information;

[0059] In this embodiment, the user's preference information is used to select a content template that meets both the standard requirements and the user's personalized preference requirements from the standard template; specifically, the preference feature information includes the location of different information paragraphs, and the text ratio of each paragraph information.

[0060] For example, when writing history, users are accustomed to summarizing the content in the main text. The corresponding initial template selected needs to have a summary paragraph to be entered. For another example, when writing history, the cover of the user is uniformly numbered in the upper left corner, with a title and a signature in the middle. When selecting a template, the corresponding cover template is selected. Preference feature information includes writing habits, typesetting habits, etc., which will not be described one by one in this application.

[0061] It should be noted that in the present application, the recorded user preference feature information is obtained. If the user preference feature information is not recorded, the user preference feature information can be obtained by obtaining the user's historical edited content and obtaining the user's preference feature information based on the historical edited content.

[0062] S103, inputting the acquired user received content into the initial template to obtain initial output content;

[0063] In this embodiment, after the initial template is determined, the user received content is input into the initial template, and the initial output content is automatically generated or manually output according to the initial template content. The initial output content is the received content that conforms to the paragraph layout in the initial template.

[0064] It should be noted that the data content of the received content and the typeset data content included in the initial template are not determined to be in a one-to-one relationship. If there are missing or redundant data content in the received content, the redundant data content or the typeset position of the data-free content in the initial template will be marked to prompt the user that there is missing content or exceeds the template content, thereby obtaining initial output data that meets the requirements.

[0065] S104, adjusting the initial output content to obtain target output content, and recording the adjustment process of the initial output content;

[0066] In this embodiment, after the template outputs the content, it can add content or modify the content based on the initial output content, record the user's editing actions, and adjust the content template that meets the user's needs according to the user's editing actions.

[0067] When the user adjusts the initial output content, the data content corresponding to each adjustment action is stored, and the target output content obtained by the final adjustment is displayed.

[0068] S105: updating the initial template according to the adjustment process of the initial output content, using the updated initial template as a configuration template corresponding to the target output content, and generating corresponding configurable content based on the target output content and the configuration template.

[0069] In this embodiment, after the user edits the output content, the content template is updated according to the user's adjustment of the content to obtain a configuration template corresponding to the target output content, and the target output content is further input into the configuration template, or the content template corresponding to the original target output content is converted into a configuration template, and corresponding configurable content is generated according to the target output content and the corresponding configuration template. The configurable content meets the user's free editing needs. Since the template corresponding to the editable content is the configuration template, text editing of the configurable content can automatically generate a corresponding template and save it, thereby realizing free modification of the content and corresponding custom adjustment of the template.

[0070] The method for generating configurable content provided in this embodiment obtains a corresponding standard template list based on user content requirements, selects a matching initial template from the standard template list according to user preference feature information, and obtains an initial template that satisfies both the standard requirements and the user's personalized preference requirements. The initial output is further used to obtain initial output content. If the output content has subsequent adjustment requirements, the initial output content can be edited and adjusted according to the subsequent requirements. After the adjustment, configurable content including the corresponding configuration template mode is obtained, so that content editing and corresponding preservation of the template are realized, thereby realizing free modification of the content and corresponding custom adjustment of the template.

[0071] In an optional solution of the embodiment of the present invention, the user content requirement includes a topic requirement and a paragraph requirement, and the paragraph requirement includes a paragraph arrangement requirement;

[0072] The obtaining of a list of standard templates corresponding to the user's content requirements includes:

[0073] Get a collection of standard templates that meet the theme requirements from the template library;

[0074] The template library includes standard templates for various topics, such as advertising topics, work content report topics, and product introduction topics. A collection of standard templates that meet the topic requirements of user content needs is obtained.

[0075] Obtaining the standard similarity between the paragraph arrangement of each standard template in the standard template set and the paragraph arrangement requirement;

[0076] In this embodiment, the similarity of paragraph arrangement includes the number of paragraph arrangements and the positions of different content paragraph arrangements, wherein different content paragraphs include attribute introduction paragraphs, price introduction paragraphs, summary paragraphs, etc., and the specific content paragraphs are related to the theme of the user content; the paragraph arrangement requirements include the arrangement positions of each content paragraph, and the specific paragraph arrangement requirements are set based on the user's requirements for content, and further based on the similarity of different content paragraph arrangements, the standard similarity between the paragraph arrangement of each standard template and the paragraph arrangement requirements is obtained.

[0077] Selecting a subset of standard templates whose standard similarity is greater than a first similarity threshold from the standard template set;

[0078] According to the standard similarity of each standard template in the standard template subset, each standard template is added to the standard template list in turn.

[0079] In this embodiment, the first similarity threshold is first set to filter out standard templates with lower similarity to paragraph arrangement requirements. In specific implementation, the first similarity threshold can be set to 50% to 70%. In addition, the setting of the specific first similarity threshold is related to the number of standard templates in the standard template set. When the number of standard templates in the standard template set is small, the first similarity threshold can be set to 50% or even lower, and the template can be further selected from the filtered standard template subset.

[0080] Specifically, after the standard template subset is obtained by screening, the standard templates in the standard template subset are sorted according to the standard similarity to obtain the standard template list.

[0081] In an optional solution of the embodiment of the present invention, the selecting an initial template from the standard template list using the preference feature information includes:

[0082] Obtaining the standard similarity of each standard template in the standard template list, and the preference similarity of the paragraph arrangement and the preference feature information of each standard template;

[0083] Obtaining a preset normative weight and a preference weight, and setting a second similarity threshold and a third similarity threshold according to the normative weight and the preference weight;

[0084] Using the second similarity threshold and the third similarity threshold, a matching standard template is selected from the standard template list as an initial template, wherein the standard similarity of the initial template is greater than the second similarity threshold, and the preference similarity is greater than the third similarity threshold.

[0085] In this embodiment, the preference similarity between the paragraph arrangement and the preference feature information of each standard template is first obtained, and then the pre-set standard weight and preference weight are set to a similarity threshold, and the most suitable standard template in the standard template list is selected as the initial template using the similarity threshold.

[0086] Specifically, the positions of different information paragraphs of the user in the preference feature information, as well as the text ratio of each paragraph information and other information are used to perform similarity matching processing with the paragraph arrangement of each standard template in the standard template list to obtain the similarity between the two; then the standard similarity threshold and the preference similarity threshold are adjusted according to the standard weight and the preference weight, for example, the standard similarity threshold is 60%, the preference similarity threshold is 80%, and the set standard weight and preference weight are 2 and 8. This weight represents the user's selection requirement for the selected content template that is more in line with the user's preference choice. Therefore, the standard similarity threshold is lowered and the preference similarity threshold is increased accordingly, and the preference similarity threshold is increased to 90%, so as to select a standard template that better meets personalized needs.

[0087] In addition, the normative similarity threshold and the preference similarity threshold are determined to select the most matching normative template from the initial template, ensuring that the normative similarity of the initial template is greater than the second similarity threshold and the preference similarity is greater than the third similarity threshold, as the initial template.

[0088] In an optional solution of the embodiment of the present invention, updating the initial template according to the adjustment process of the initial output content includes:

[0089] Obtaining paragraph adjustment in the adjustment process, wherein the paragraph adjustment includes paragraph position adjustment and paragraph content adjustment;

[0090] In the case where the paragraph adjustment is a paragraph position adjustment, the paragraph arrangement in the initial template is updated according to the paragraph position adjustment.

[0091] In this embodiment, if the adjustment process of the initial output content includes the adjustment of the paragraph positions, the paragraph arrangement in the initial template is updated accordingly according to the adjustment process of the paragraph positions.

[0092] For example, if the position of the attribute introduction paragraph in the content is adjusted from the first paragraph to the second paragraph, the arrangement of the attribute paragraph in the initial template is correspondingly adjusted to the position of the second paragraph.

[0093] It should be noted that, in this embodiment, the adjustment of the paragraph position is taken as an example. In specific implementation, the adjustment of the addition / deletion of the paragraph content of the initial output content also corresponds to updating the paragraph arrangement in the initial template to perform addition or deletion processing.

[0094] In an optional solution of the embodiment of the present invention, after updating the initial template according to the adjustment process of the initial output content, the method further includes:

[0095] Recording the updating process of the initial template;

[0096] In the case that the updating process of the initial template satisfies the preference feature adjustment, the updating process of the initial template is used to obtain new preference feature information, and the preference feature information is recorded.

[0097] In this embodiment, the user's preference characteristics can be summarized based on the paragraph distribution information of the user's content. Therefore, according to the update status of the initial template, it can be determined whether the user's preference characteristic information needs to be adjusted.

[0098] Specifically, an update boundary of the initial template is set, and when the update boundary is reached, the update process of the initial template is used to obtain new preference feature information of the user to replace the original preference feature information.

[0099] Figure 2 A flowchart of another method for generating configurable content provided in an embodiment of the present application is shown as follows: Figure 2 As shown, the method specifically includes:

[0100] S201, obtaining the number of updates of the initial template during the updating process, and when the number of updates is greater than a first adjustment threshold, obtaining the paragraph arrangement of the updated paragraphs during the updating process;

[0101] S202, obtaining the specification similarity between the paragraph arrangement and the paragraph arrangement requirement, and the preference similarity between the paragraph arrangement and the preference feature information;

[0102] In this embodiment, when the initial template is updated, the number of updates during the initial template update process is first obtained to determine whether the number of updates reaches the preference feature adjustment requirements. If the preference feature adjustment requirements are met, the paragraph arrangement of the updated paragraphs is obtained, and the preference similarity between the paragraph arrangement of the updated paragraphs and the preference feature information is further obtained. Based on the preference similarity, it is determined whether the preference feature obtained by the template adjustment process is the original preference feature.

[0103] S203: When the specification similarity is less than a fourth similarity threshold and the preference similarity is less than a fifth similarity threshold, new preference feature information is acquired by using the updating process of the initial template.

[0104] In this embodiment, the fourth similarity threshold and the fifth similarity threshold are set according to the user needs and the number of standard template lists, and the standard similarity and the preference similarity are compared with the fourth similarity threshold and the fifth similarity threshold respectively, and whether the user preference feature information needs to be updated is determined based on the comparison results.

[0105] Specifically, if the standard similarity is less than the fourth similarity threshold, it means that the adjustment of the initial template does not meet the standard requirements. If the preference similarity is also less than the fifth similarity threshold when it does not meet the standard requirements, it means that the adjustment of the initial template does not meet the original recorded user preference feature information. In this case, new preference feature information is obtained according to the update process of the initial template, and the updated preference feature information is recorded.

[0106] The method for generating configurable content provided in this embodiment updates the user's preference feature information according to each adjustment of the template, so that the content template has personalized processing, thereby ensuring that the content obtained by this solution better meets the user's personalized needs and improves the user's satisfaction with the generated content.

[0107] In an optional solution of the embodiment of the present invention, the method further includes:

[0108] When the norm similarity is greater than a fourth similarity threshold and the preference similarity is less than a fifth similarity threshold, adjusting a preset norm weight;

[0109] When the specification similarity is less than a fourth similarity threshold and the preference similarity is greater than a fifth similarity threshold, a preset preference weight is adjusted.

[0110] In this embodiment, if the normative similarity is greater than the fourth similarity threshold, it means that the adjustment of the initial template meets the normative requirements. If the preference similarity is less than the fifth similarity threshold while meeting the normative requirements, it means that the adjustment of the initial template does not meet the user's preference feature information. In summary, the adjustment of the template meets the normative requirements but does not meet the personalized requirements, which means that the adjustment of the template needs to focus on the standardization requirements. Therefore, the pre-set normative weight can be appropriately increased.

[0111] Similarly, if the standard similarity is less than the fourth similarity threshold, it means that the adjustment of the initial template does not meet the standard requirements. If the preference similarity is greater than the fifth similarity threshold while meeting the standard requirements, it means that the adjustment of the initial template meets the user's preference feature information. In summary, the adjustment of the template does not meet the standard requirements but meets the personalized requirements, which means that the adjustment of the template needs to focus on personalized needs, so the pre-set preference weight can be appropriately increased.

[0112] Figure 3A schematic diagram of a structure of a configurable content generation system provided in an embodiment of the present application, such as Figure 3 As shown, the system specifically includes:

[0113] The first acquisition module 301 is used to acquire a list of standard templates corresponding to the user's content requirements;

[0114] Selecting a template 302, for obtaining user preference characteristic information, and selecting an initial template from the standard template list using the preference characteristic information;

[0115] An output module 303 is used to input the acquired user received content into the initial template to obtain initial output content;

[0116] A first adjustment module 304, configured to adjust the initial output content to obtain target output content, and record the adjustment process of the initial output content;

[0117] The second adjustment module 305 is used to update the initial template according to the adjustment process of the initial output content, use the updated initial template as the configuration template corresponding to the target output content, and generate corresponding configurable content based on the target output content and the configuration template.

[0118] In one possible implementation, the first acquisition module 301 is also used to acquire a set of standard templates that meet the subject requirements from the template library; acquire the standard similarity between the paragraph arrangement of each standard template in the standard template set and the paragraph arrangement requirements; filter a subset of standard templates whose standard similarity is greater than a first similarity threshold from the standard template set; and add each standard template to the standard template list in turn according to the standard similarity of each standard template in the standard template subset.

[0119] In one possible implementation, the selected template 302 is also used to obtain the standard similarity of each standard template in the standard template list, as well as the preference similarity of the paragraph arrangement and preference feature information of each standard template; obtain the pre-set standard weight and preference weight, and set the second similarity threshold and the third similarity threshold according to the standard weight and the preference weight; use the second similarity threshold and the third similarity threshold to select a matching standard template from the standard template list as the initial template, wherein the standard similarity of the initial template is greater than the second similarity threshold, and the preference similarity is greater than the third similarity threshold.

[0120] In a possible implementation, the second adjustment module 305 is further used to obtain paragraph adjustments in the adjustment process, wherein the paragraph adjustments include paragraph position adjustments and paragraph content adjustments; when the paragraph adjustments are paragraph position adjustments, the paragraph arrangement in the initial template is updated correspondingly according to the paragraph position adjustments.

[0121] In a possible implementation, the second adjustment module 305 is further used to record the update process of the initial template; when the update process of the initial template satisfies the preference feature adjustment, the update process of the initial template is used to obtain new preference feature information, and the preference feature information is recorded.

[0122] In a possible implementation, the second adjustment module 305 is further used to obtain the number of updates of the initial template during the updating process, and when the number of updates is greater than the first adjustment threshold, obtain the paragraph arrangement of the updated paragraphs during the updating process; obtain the normative similarity between the paragraph arrangement and the paragraph arrangement requirement, and the preference similarity between the paragraph arrangement and the preference feature information; and when the normative similarity is less than a fourth similarity threshold, and the preference similarity is less than a fifth similarity threshold, use the updating process of the initial template to obtain new preference feature information.

[0123] In a possible implementation, the second adjustment module 305 is further used to adjust the pre-set normative weight when the normative similarity is greater than a fourth similarity threshold and the preference similarity is less than a fifth similarity threshold; and to adjust the pre-set preference weight when the normative similarity is less than the fourth similarity threshold and the preference similarity is greater than the fifth similarity threshold.

[0124] The configurable content generation system provided in this embodiment can be as follows Figure 3 The configurable content generation system shown in , can be executed as follows Figure 1-2 All steps of configurable content generation can be achieved Figure 1-2 The technical effects of the generation of the configurable content shown are shown in the figure. Figure 1-2 For the sake of brevity, the relevant description is not repeated here.

[0125] The system embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0126] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 4As shown, an embodiment of the present application provides an electronic device, including a processor 401, a communication interface 402, a memory 403 and a communication bus 404, wherein the processor 401, the communication interface 402, and the memory 403 communicate with each other through the communication bus 404; the memory 403 is used to store computer programs; the processor 401 is used to execute the program stored in the memory 403, and implement the steps of the method for generating configurable content provided by any of the aforementioned method embodiments:

[0127] Obtain a list of standard templates corresponding to user content requirements; obtain user preference feature information, and select an initial template from the list of standard templates using the preference feature information; input the obtained user received content into the initial template to obtain initial output content; adjust the initial output content to obtain target output content, and record the adjustment process of the initial output content; update the initial template according to the adjustment process of the initial output content, use the updated initial template as a configuration template corresponding to the target output content, and generate corresponding configurable content based on the target output content and the configuration template.

[0128] In one possible implementation, a set of standard templates that meet the subject requirements is obtained from a template library; the standard similarity between the paragraph arrangement of each standard template in the standard template set and the paragraph arrangement requirements is obtained; a subset of standard templates whose standard similarity is greater than a first similarity threshold is screened from the standard template set; and each standard template is added to the standard template list in turn according to the standard similarity of each standard template in the standard template subset.

[0129] In one possible implementation, the standard similarity of each standard template in the standard template list, as well as the preference similarity of the paragraph arrangement and preference feature information of each standard template are obtained; the pre-set standard weight and preference weight are obtained, and the second similarity threshold and the third similarity threshold are set according to the standard weight and the preference weight; the second similarity threshold and the third similarity threshold are used to select a matching standard template from the standard template list as the initial template, wherein the standard similarity of the initial template is greater than the second similarity threshold, and the preference similarity is greater than the third similarity threshold.

[0130] In a possible implementation, paragraph adjustments in the adjustment process are obtained, wherein the paragraph adjustments include paragraph position adjustments and paragraph content adjustments; when the paragraph adjustments are paragraph position adjustments, the paragraph arrangement in the initial template is updated correspondingly according to the paragraph position adjustments.

[0131] In a possible implementation, the updating process of the initial template is recorded; when the updating process of the initial template satisfies the preference feature adjustment, the updating process of the initial template is used to obtain new preference feature information, and the preference feature information is recorded.

[0132] In one possible implementation, the number of updates of the initial template during the updating process is obtained, and when the number of updates is greater than a first adjustment threshold, the paragraph arrangement of the updated paragraphs during the updating process is obtained; the normative similarity between the paragraph arrangement and the paragraph arrangement requirement, and the preference similarity between the paragraph arrangement and the preference feature information are obtained; and when the normative similarity is less than a fourth similarity threshold, and the preference similarity is less than a fifth similarity threshold, the new preference feature information is obtained using the updating process of the initial template.

[0133] In one possible implementation, when the normative similarity is greater than a fourth similarity threshold and the preference similarity is less than a fifth similarity threshold, the pre-set normative weight is adjusted; when the normative similarity is less than the fourth similarity threshold and the preference similarity is greater than the fifth similarity threshold, the pre-set preference weight is adjusted.

[0134] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0135] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0136] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. 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 invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for generating configurable content, characterized in that: The method comprises: Get a list of standard templates corresponding to user content requirements; Acquire user's preference characteristic information, and select an initial template from the standard template list using the preference characteristic information; Inputting the acquired user received content into the initial template to obtain initial output content; Adjusting the initial output content to obtain target output content, and recording the adjustment process of the initial output content; The initial template is updated according to the adjustment process of the initial output content, the updated initial template is used as a configuration template corresponding to the target output content, and the corresponding configurable content is generated based on the target output content and the configuration template.

2. The method according to claim 1, characterized in that The user content requirements include topic requirements and paragraph requirements, and the paragraph requirements include paragraph arrangement requirements; The obtaining of a list of standard templates corresponding to the user's content requirements includes: Get a collection of standard templates that meet the theme requirements from the template library; Obtaining the standard similarity between the paragraph arrangement of each standard template in the standard template set and the paragraph arrangement requirement; Selecting a subset of standard templates whose standard similarity is greater than a first similarity threshold from the standard template set; According to the standard similarity of each standard template in the standard template subset, each standard template is added to the standard template list in turn.

3. The method according to claim 2, characterized in that The selecting an initial template from the standard template list using the preference feature information includes: Obtaining the standard similarity of each standard template in the standard template list, and the preference similarity of the paragraph arrangement and the preference feature information of each standard template; Obtaining a preset normative weight and a preference weight, and setting a second similarity threshold and a third similarity threshold according to the normative weight and the preference weight; Using the second similarity threshold and the third similarity threshold, a matching standard template is selected from the standard template list as an initial template, wherein the standard similarity of the initial template is greater than the second similarity threshold, and the preference similarity is greater than the third similarity threshold.

4. The method according to claim 1, characterized in that: The updating of the initial template according to the adjustment process of the initial output content includes: Obtaining paragraph adjustment in the adjustment process, wherein the paragraph adjustment includes paragraph position adjustment and paragraph content adjustment; In the case where the paragraph adjustment is a paragraph position adjustment, the paragraph arrangement in the initial template is updated according to the paragraph position adjustment.

5. The method according to claim 1, characterized in that After updating the initial template according to the adjustment process of the initial output content, the method further includes: Recording the updating process of the initial template; In the case that the updating process of the initial template satisfies the preference feature adjustment, the updating process of the initial template is used to obtain new preference feature information, and the preference feature information is recorded.

6. The method according to claim 5, characterized in that In the case where the updating process of the initial template satisfies the preference feature adjustment, obtaining new preference feature information by using the updating process of the initial template includes: Acquire the number of updates of the initial template during the updating process, and if the number of updates is greater than a first adjustment threshold, acquire the paragraph arrangement of the updated paragraphs during the updating process; Obtaining a normative similarity between the paragraph arrangement and the paragraph arrangement requirement, and a preference similarity between the paragraph arrangement and the preference feature information; When the specification similarity is less than a fourth similarity threshold, and the preference similarity is less than a fifth similarity threshold, new preference feature information is acquired by using the updating process of the initial template.

7. The method according to claim 6, characterized in that The method further comprises: When the norm similarity is greater than a fourth similarity threshold and the preference similarity is less than a fifth similarity threshold, adjusting a preset norm weight; When the specification similarity is less than a fourth similarity threshold and the preference similarity is greater than a fifth similarity threshold, a preset preference weight is adjusted.

8. A configurable content generation system, characterized in that: The system comprises: The first acquisition module is used to acquire a list of standard templates corresponding to the user's content requirements; Selecting a template, for obtaining the user's preference characteristic information, and selecting an initial template from the standard template list using the preference characteristic information; An output module, used for inputting the acquired user received content into the initial template to obtain initial output content; A first adjustment module, configured to adjust the initial output content to obtain target output content, and record the adjustment process of the initial output content; The second adjustment module is used to update the initial template according to the adjustment process of the initial output content, use the updated initial template as the configuration template corresponding to the target output content, and generate corresponding configurable content based on the target output content and the configuration template.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method for generating configurable content according to any one of claims 1 to 7 are implemented.

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

Citation Information

Cited By

  • Data use control strategy determination method and device, medium, equipment and product

    CN121144566A