Content generation method and device, medium, electronic equipment and program product
By displaying the questioning information on the intelligent interactive page, the user's explicit and implicit needs are obtained, and the problem that the question-and-answer system cannot identify implicit needs is solved, and a product demand document that is more in line with the user's actual needs is generated.
Patent Information
- Application Number
- CN202510467985.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-14
- Publication Date
- 2025-08-01
AI Technical Summary
When the Q&A system generates product requirements documents, it cannot effectively identify the user's hidden needs, resulting in the generated documents being incomplete and unable to meet the user's actual needs.
The user is shown the questioning information in the intelligent interaction page, and through the interaction process with the user, the user's explicit and implicit needs are obtained and the product requirements document is generated.
It improves the completeness of user needs, makes the generated product demand documents more accurately meet the actual needs of users, and improves generation efficiency and accuracy.
Smart Images

Figure CN120407736A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet technologies, and in particular, to a content generation method, apparatus, medium, electronic device, and program product. Background Art
[0002] With the development of Internet technologies, the large language model (LLM) technology relying on large-scale corpus for pre-training has made breakthrough progress and has powerful capabilities in natural language understanding. Therefore, large language models are applied to question-and-answer systems.
[0003] In related technologies, a question-and-answer system only extracts the user's needs from the information input by the user. However, the information input by the user may not be complete, resulting in a deviation between the final reply given by the question-and-answer system and the actual needs of the user. Summary of the Invention
[0004] This summary of the invention is provided to introduce concepts in a brief form, which will be described in detail in the following detailed implementation section. This summary of the invention is not intended to identify the key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.
[0005] In a first aspect, the present disclosure provides a content generation method, including: Obtaining the information input by the user on the intelligent interaction page, where the information is used to determine the initial needs of the user for the target application; Performing a target interaction process on the intelligent interaction page, where the target interaction process is used to display follow-up information to the user on the intelligent interaction page and obtain the additional needs of the user for the target application based on the follow-up information; Generating a first reply content for responding to the information based on the needs of the user for the target application during the interaction between the user and the intelligent interaction page, where the first reply content includes a product requirement document for the target application.
[0006] In a second aspect, the present disclosure provides a content generation apparatus, including: An obtaining module, configured to obtain the information input by the user on the intelligent interaction page, where the information is used to determine the initial needs of the user for the target application; An execution module, configured to perform a target interaction process on the intelligent interaction page, where the target interaction process is used to display follow-up information to the user on the intelligent interaction page and obtain the additional needs of the user for the target application based on the follow-up information; A first generation module, configured to generate first reply content for responding to the information based on the requirements of the user for the target application during the interaction between the user and the intelligent interaction page, where the first reply content includes a product requirement document for the target application.
[0007] In a third aspect, the present disclosure provides a computer-readable medium, on which a computer program is stored, and when the computer program is executed by a processing device, the steps of the method described in the first aspect are implemented.
[0008] In a fourth aspect, the present disclosure provides an electronic device, including: A storage device, on which a computer program is stored; A processing device, configured to execute the computer program in the storage device to implement the steps of the method described in the first aspect.
[0009] In a fifth aspect, the present disclosure provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0010] Through the above technical solutions, follow-up information is displayed to the user in the intelligent interaction page, and the additional requirements of the user for the target application based on the follow-up information are obtained, thereby improving the completeness of the user's requirements for the target application; on this basis, a product requirement document for the target application is generated based on the requirements of the user for the target application during the interaction between the user and the intelligent interaction page, so that the generated product requirement document can meet the actual needs of the user.
[0011] Other features and advantages of the present disclosure will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Combined with the drawings and referring to the following specific implementation manners, the above and other features, advantages and aspects of the embodiments of the present disclosure will become more obvious. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic, and the original elements and elements are not necessarily drawn to scale. In the drawings: Figure 1 is a flowchart of a content generation method shown according to an embodiment of the present disclosure.
[0013] Figure 2 is a schematic diagram of an interface of an intelligent interaction page shown according to an embodiment of the present disclosure.
[0014] Figure 3 is a schematic diagram of an interaction control shown according to an embodiment of the present disclosure.
[0015] Figure 4 is a flowchart of a content generation method shown according to an embodiment of the present disclosure.
[0016] Figure 5 is a block diagram of a content generation device shown according to an embodiment of the present disclosure.
[0017] Figure 6 is a schematic structural diagram of an electronic device shown according to an embodiment of the present disclosure. Detailed implementation manners
[0018] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not used to limit the protection scope of the present disclosure.
[0019] It should be understood that the various steps recorded in the method embodiments of the present disclosure can be executed in different orders and / or executed in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this regard.
[0020] As used herein, the term "including" and its variants are open-ended, that is, "including but not limited to". The term "based on" is "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0021] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order of functions executed by these devices, modules or units or their interdependent relationships.
[0022] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive. Those skilled in the art should understand that unless otherwise clearly specified in the context, it should be understood as "one or more".
[0023] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only for illustrative purposes and are not used to limit the scope of these messages or information.
[0024] It can be understood that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, usage scopes, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0025] For example, when responding to an active request received from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested by the user will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application program, server, or storage medium that performs the operations of the present disclosure's technical solution based on the prompt message.
[0026] As an optional but non-limiting implementation manner, the manner of sending a prompt message to the user in response to receiving an active request from the user may, for example, be in the form of a pop-up window. The prompt message may be presented in text in the pop-up window. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0027] It can be understood that the above process of notifying and obtaining user authorization is only illustrative and does not limit the implementation manner of the present disclosure. Other manners that comply with relevant laws and regulations can also be applied to the implementation manner of the present disclosure.
[0028] At the same time, it can be understood that the data involved in the present technical solution (including but not limited to the data itself, the acquisition or use of the data) should comply with the requirements of the corresponding laws, regulations and related regulations.
[0029] A Product Requirements Document (PRD for short) is a very important document in the product development process. It details the requirements of the product's functions, features, performance, etc., and is the basis for the development team to carry out design, development and testing.
[0030] In the related art, the question-and-answer system only extracts the user's requirements from the information input by the user, but the information input by the user may not be complete, resulting in a deviation between the final reply given by the question-and-answer system and the actual requirements of the user. Especially in the application scenario of generating a product requirements document, the question-and-answer system can only extract explicit requirements from the user's input, and cannot actively identify implicit requirements in the business scenario targeted by the application, thereby resulting in an incomplete product requirements document.
[0031] In view of this, the embodiments of the present disclosure provide a content generation method, device, medium, electronic device and program product, which provide the user with the follow-up question information determined by the intelligent agent on the intelligent interaction page to obtain the additional requirements of the user for the target application based on the follow-up question information, improve the integrity of the requirements, and further enable the generated product requirements document to meet the actual requirements of the user.
[0032] The embodiments of the present disclosure are further explained and illustrated below with reference to the accompanying drawings.
[0033] Figure 1 is a flowchart of a content generation method shown according to an embodiment of the present disclosure. The content generation method can be applied to an electronic device, and the content generation method can be executed by a content generation device. Among them, the content generation device can be implemented by software and / or hardware, and the software and / or hardware can be configured in the electronic device. Referring to Figure 1 , the content generation method may include step 110, step 120, and step 130.
[0034] In step 110, obtain the information input by the user in the intelligent interaction page, where the information is used to determine the user's initial requirement for the target application. Among them, the information can be information in different modalities such as text, image, or voice.
[0035] Among them, the intelligent interaction page can be a page provided by the intelligent agent. The interaction between the user and the intelligent interaction page can actually be regarded as the interaction between the user and the intelligent agent. The intelligent agent can be a dialogue system accessing a machine learning model. As an example, the machine learning model can be a large language model or other neural network models, which are not limited in the present disclosure.
[0036] Among them, the initial requirement can be understood as an explicit requirement, which is different from the requirement that the user clearly puts forward and can be directly observed. For example, for the information "I want to build an enterprise express small post office to meet the needs of employees to send and receive express deliveries" input by the user in the intelligent interaction page, the explicit requirement can be express delivery receipt and dispatch management.
[0037] Among them, regarding determining the user's initial requirement for the target application according to the information, reference can be made to the following related embodiments, which will not be elaborated in this embodiment.
[0038] In step 120, execute the target interaction process in the intelligent interaction page, where the target interaction process is used to display follow-up information in the intelligent interaction page and obtain the additional requirement of the user for the target application based on the follow-up information.
[0039] Among them, the follow-up information is used to guide the user to put forward implicit requirements for the target application. Implicit requirements refer to the requirements that may exist in the target application but the user does not clearly express. Different from explicit requirements, implicit requirements often need to be discovered through in-depth analysis and excavation. Taking the above information "I want to build an enterprise express small post office to meet the needs of employees to send and receive express deliveries" input by the user in the intelligent interaction page as an example, its implicit requirements may also include the management and marking of the temporary storage location of express deliveries, the historical query of express delivery receipts, etc.
[0040] Among them, in the target interaction process, the user and the intelligent agent provide follow-up information and obtain the additional requirement of the user for the target application based on the follow-up information through at least one round of dialogue.
[0041] For the generation of follow-up information, reference may be made to the following related embodiments, which will not be described in detail in this embodiment. In step 130, based on the user's demand for the target application during the interaction between the user and the intelligent interactive page, a first reply content is generated to respond to the information, wherein the first reply content includes a product requirement document of the target application.
[0042] Among them, the first reply content not only includes the product requirement document of the target application, but also can include the user's requirements for the target application during the interaction between the user and the intelligent agent, so as to facilitate the alignment of user requirements.
[0043] Among them, the first reply content can be displayed in the smart interaction page.
[0044] Through the above technical solution, follow-up information is displayed to the user in the intelligent interaction page, and the user's additional requirements for the target application based on the follow-up information are obtained, thereby improving the completeness of the user's requirements for the target application; on this basis, based on the user's requirements for the target application during the interaction between the user and the intelligent agent, a product requirement document for the target application is generated, so that the generated product requirement document can meet the user's actual needs.
[0045] In some embodiments, before executing the target interaction process for the first time, the above content generation method may further include the following steps: determining that the initial demand does not meet the preset conditions.
[0046] The preset condition may be that the initial requirements in the information input by the user in the intelligent interaction page have covered the requirements of the preset dimensions in the business scenario corresponding to the target application. Furthermore, the preset dimensions in the business scenario can be configured in advance.
[0047] Considering that users, especially experienced professionals, are able to independently and simultaneously describe all requirements for a target application, it is possible to determine whether the initial requirements meet the preset conditions before executing the target interaction process for the first time, thereby avoiding false triggering of the target interaction process, improving the efficiency of generating product requirement documents for the target application, and avoiding inefficient resource usage.
[0048] In some embodiments, the large language model in the agent can be used to identify the intent of the information entered by the user on the intelligent interaction page to obtain the initial requirements of the target application. It is understood that the intent identification in this embodiment is to extract the explicit requirements for the target application from the information entered by the user on the intelligent interaction page, and the large language model can be trained based on sample information.
[0049] In some embodiments, the initial requirements identified by the agent can be presented to the user simultaneously when the follow-up information is provided for the first time, so as to align with the user on the initial requirements.
[0050] In some embodiments, the above content generation method may further include the following steps: during the execution of the target interaction process, record the number of times of presenting follow-up information to the user in the current round of the target interaction process; when the number reaches a preset number threshold, end the execution of the current round of the target interaction process.
[0051] Among them, the preset number threshold can be configured according to the actual situation, and this embodiment does not limit it here.
[0052] It can be understood that the number of times of presenting follow-up information can be understood as the number of times the large language model in the agent generates follow-up information in the current round of the target interaction process. In order to automatically enter the stage of generating the first response content, the number of times of providing follow-up information to the user in the target interaction process is limited. Therefore, the number of times of providing follow-up information to the user in each round of the target interaction process can be recorded, and when the recorded number reaches the preset number threshold, end the execution of the current round of the target interaction process.
[0053] In some embodiments, the target interaction process can be implemented based on DSL (Domain Specific Language). On this basis, the fields representing loops or iterations in DSL can be used to define the target interaction process to record the number of times of providing follow-up information to the user in the target interaction process.
[0054] In some embodiments, the step of generating the first response content for responding to the information based on the user's requirements for the target application during the interaction between the user and the intelligent interaction page may include: in response to the end of the execution of the target interaction process, generate the first response content for responding to the information based on the user's requirements for the target application during the interaction between the user and the intelligent interaction page.
[0055] In some embodiments, before performing step 130, the above content generation method may further include the following steps: determine whether the user's requirements for the target application during the interaction between the user and the intelligent interaction page meet the preset conditions, where, when it is determined that the requirements meet the preset conditions, perform step 130. When it is determined that the requirements do not meet the preset conditions, perform the next round of the target interaction process on the intelligent interaction page.
[0056] Among them, the explanation and description of the preset conditions can refer to the above related embodiments, and this embodiment will not elaborate here.
[0057] Considering that after executing a target interaction process, the user's requirements for the target application collected may meet the preset conditions or may not meet the preset conditions. Therefore, through the above method, when the preset conditions are met, it enters the link of generating a product requirements document; when the preset conditions are not met, it continues to execute the next round of the target interaction process to further explore the implicit requirements of the user for the target application.
[0058] In some embodiments, the above steps of executing the target interaction process in the intelligent interaction page can be implemented in the following way: determine the follow-up content according to the historical interaction information during the interaction between the user and the intelligent interaction page; display the follow-up information in the intelligent interaction page, and obtain the additional requirements of the user for the target application based on the follow-up information.
[0059] Among them, the historical interaction information can be the historical interaction information newly appeared between the user and the intelligent interaction page. Further, the follow-up content can be determined in the following way: perform semantic relevance detection on the historical interaction information to obtain the follow-up content. It can be understood that the follow-up content and the historical interaction information are content with semantic relevance. For example, when the historical interaction information is "permission grading", the follow-up content can be "which data leakage prevention strategies need to be guarded against for permission grading". It can be understood that "which data leakage prevention strategies need to be guarded against for permission grading" and "permission grading" are semantically related information.
[0060] For another example, the follow-up content can also be determined in the following way: determine the follow-up content according to the historical interaction information during the interaction between the user and the intelligent interaction page and the knowledge graph of the business scenario corresponding to the target application.
[0061] Among them, the knowledge graph of the business scenario can be pre-constructed, and the requirements of the business scenario are covered in the knowledge graph of the business scenario. As an example, the knowledge graph can include different nodes, each node can correspond to a requirement, there can be connection edges between the nodes, and the requirements corresponding to the two nodes with connection edges have an associated relationship. Here, the associated relationship can be, for example, an associated relationship of causal relationship, where one requirement will cause the generation or change of another requirement. For another example, the associated relationship here can be, for example, a complementary relationship of causal relationship, where two requirements complement each other to jointly achieve a complete function or user experience, and achieving only one of the requirements alone may not achieve the best effect.
[0062] Therefore, through the requirement corresponding to the historical interaction information, query the requirement associated with this requirement in the knowledge graph, and further generate the corresponding follow-up content based on this requirement, so as to provide a follow-up logic based on the business scenario and ensure that the generated product program document can closely fit the business scenario of the target application.
[0063] In some embodiments, the steps of displaying follow-up information in the intelligent interaction page and obtaining the additional requirements of the user for the target application based on the follow-up information may include: displaying follow-up information in the intelligent interaction page; in response to an interaction operation triggered by the user for the follow-up information, determining the additional requirements of the user for the target application according to the interaction operation.
[0064] Among them, the follow-up information can be presented by components that support interaction to support the user to trigger interaction operations. Among them, the follow-up information determined by the intelligent agent can be characterized by DSL, and the DSL is rendered by the front end to convert the DSL into a component that supports interaction with the user.
[0065] Among them, the interaction operation can be an information input operation, a drag operation, a selection operation, etc. triggered for the follow-up information.
[0066] Taking the input operation as an example, the input operation can refer to the operation of the user inputting text information, voice information or image information in the intelligent interaction page. It can be understood that the text information, voice information or image information represents the additional requirements of the user for the target application.
[0067] Taking the drag operation as an example, a logical flow chart representing a certain requirement can be provided in the additional content, and the user can adjust the execution order of each step in the logical flow chart based on the drag operation of each node in the logical flow chart.
[0068] Taking the selection operation as an example, the follow-up information includes at least one interaction component and prompt information corresponding to each interaction component. The prompt information is used to represent candidate requirements. On this basis, the step of determining the additional requirements of the user for the target application according to the interaction operation triggered by the user for the follow-up information can be implemented in the following manner: in response to the user's selection operation for the target interaction component in the follow-up information, determining the candidate requirement represented by the prompt information corresponding to the target interaction component as the additional requirement of the user for the target application.
[0069] Among them, the prompt information can be displayed on the interaction component. Figure 2 is a schematic diagram of an intelligent interaction page shown according to an embodiment of the present disclosure. For Figure 2 the information 201 input by the user in the intelligent interaction page in, the intelligent agent gives follow-up information 202, and the follow-up information 202 includes an interaction component 203 for the user to interact. Different prompt information is displayed on the interaction component 203, which is used to represent different requirements. The user can select the target interaction component in the follow-up information 202, and determine the prompt information corresponding to the target interaction component as the additional requirement for the target application.
[0070] Visual interactive components are provided for users to directly select requirements, reducing the risk of ambiguity caused by relying on users to describe requirements in pure text. In addition, the way users directly select requirements can also improve the generation efficiency of product requirement documents.
[0071] In some embodiments, the above content generation method may further include: in response to feedback information input by the user in the intelligent interaction page for the product requirement document, generating second reply content for responding to the feedback information, where the second reply content includes a modified product requirement document.
[0072] Among them, the feedback information may represent the user's modification requirements for the product requirement document. The feedback information may be text information, picture information, etc.
[0073] Among them, the intelligent agent may trigger the target interaction process again in the process of modifying the product requirement document to explore the user's modification requirements for the product requirement document. The triggering method may be to determine whether there are implicit requirements corresponding to the requirements represented in the feedback information. If so, the target interaction process may be triggered. After the target interaction process ends, the link of generating the second reply content is executed. For the implementation manner of executing the target interaction process in this embodiment, reference may be made to the above related embodiments.
[0074] Among them, the second reply content may also include the user's current modification requirements for the product requirement document, and the second reply content may be displayed on the intelligent interaction page.
[0075] In some embodiments, the product requirement document generated for the target application includes multiple versions. In this case, the step of generating second reply content for responding to the feedback information based on the feedback information input by the user in the intelligent interaction page for the product requirement document may include: in response to the feedback information input by the user in the intelligent interaction page for the product requirement document of the target version, generating second reply content for responding to the feedback information.
[0076] Among them, the target version is the version specified by the user. As an example, the user may specify the target version in the feedback information. The feedback information is, for example, "I want to modify the product requirement document of the first version, and the specific modification is XXX".
[0077] As another example, the intelligent interaction page may display for the user each version of the product requirement document historically generated by the intelligent agent for the target application, and display the interaction control corresponding to each product requirement document, where the interaction control is used to support the user to specify the target version. Figure 3 It is a schematic diagram of the interaction control shown according to the embodiments of the present disclosure. Refer to Figure 3, the intelligent interaction page can display a list of product requirement documents for the user. The list includes different versions of the product requirement documents generated by the intelligent agent for the target application history and the relevant information of the product requirement documents. For example, when the user hovers the mouse over a certain version, the interactive control 301 can be displayed in the list. Further, the user can click on the interactive control 301 with the mouse to specify the target version. Continue to refer to Figure 3 , the relevant information of the product requirement documents can include the version number of each version, the generation time of the version, and the requirements corresponding to the version. In addition, the product requirement document that has been historically designated as the target version can also carry a rollback identifier 302.
[0078] In the above manner, in the case of generating multiple versions of the product requirement documents, a backtracking mechanism is provided to support the user to roll back to the version they specified and modify the product requirement document of that version.
[0079] Figure 4 is a flowchart of the content generation method shown according to an embodiment of the present disclosure. Refer to Figure 4 , including step 410, step 420, step 430, step 440, step 450, and step 460.
[0080] In step 410, the information input by the user in the intelligent interaction page is obtained. For the implementation manner of step 410, reference can be made to the above relevant embodiments, and this embodiment will not be elaborated here.
[0081] In step 420, the information is recognized by the intelligent agent to determine the initial requirements of the user for the target application. For the implementation manner of step 420, reference can be made to the above relevant embodiments, and this embodiment will not be elaborated here.
[0082] In step 430, it is determined whether the target requirements meet the preset conditions. Among them, in the case where the target interaction process has not been executed, the target requirements refer to the initial requirements; in the case where the target interaction process has been executed, the target requirements refer to the requirements of the user for the target application during the interaction between the intelligent agent and the user.
[0083] In step 440, the target interaction process is executed. For the implementation manner of step 440, reference can be made to the above relevant embodiments, and this embodiment will not be elaborated here.
[0084] In step 450, based on the user's requirements for the target application during the interaction with the agent, reply content for responding to the information is generated. Among them, when step 450 is executed for the first time, the reply content can be the first reply content; when step 450 is not executed for the first time, the reply content can be other reply content generated by the agent for the target application. In addition, for the implementation manner of generating the reply content in step 450, reference can be made to the above related embodiments, which will not be elaborated herein.
[0085] In step 460, it is determined whether the user is satisfied with the reply content.
[0086] In the case where it is determined that the user is not satisfied with the reply content, step 430 is re-executed. As an example, if the electronic device receives feedback information, it is determined that the user is not satisfied with the reply content. For the explanation and description of the feedback information, reference can be made to the above related embodiments, which will not be elaborated herein.
[0087] In the case where it is determined that the user is satisfied with the reply content, the process ends. As an example, if the electronic device does not receive feedback information for a long time, it can be determined that the user is satisfied with the reply content. In addition, the implementation manner of determining that the user is satisfied with the reply content in this embodiment is not limited, and other implementation manners of determining that the user is satisfied with the reply content are still applicable to this disclosure.
[0088] In the above manner, the agent's determined follow-up information is provided to the user in the intelligent interaction page, and the user's additional requirements for the target application based on the follow-up information are obtained, thereby improving the completeness of the requirements; on this basis, based on the user's requirements for the target application during the interaction with the agent, a product requirement document for the target application is generated, so that the generated product requirement document can meet the user's actual requirements; ensure that the target requirements generate the first reply content when meeting the preset conditions; in addition, when the user is not satisfied with the generated product requirement document, feedback information can be directly submitted, and the agent will modify the product requirement document according to the user's modification requirements until a product requirement document that satisfies the user is generated.
[0089] Figure 5 It is a block diagram of a content generation device shown according to an embodiment of the present disclosure. Refer to Figure 5 , the content generation device 500 may include: An acquisition module 501, configured to acquire the information input by the user in the intelligent interaction page, where the information is used to determine the user's initial requirements for the target application; An execution module 502, configured to execute a target interaction process in the intelligent interaction page, where the target interaction process is used to display follow-up information in the intelligent interaction page and obtain the user's additional requirements for the target application based on the follow-up information; The first generation module 503 is configured to generate a first reply content for responding to the information based on the user's requirements for the target application during the interaction between the user and the intelligent interaction page, where the first reply content includes a product requirement document of the target application.
[0090] In some embodiments, the content generation device 500 further includes: The first determination module is configured to determine that the initial requirement does not meet the preset condition before the target interaction process is first executed.
[0091] In some embodiments, the content generation device 500 further includes: The recording module is configured to record the number of times the follow-up information is displayed to the user in the current round of the target interaction process during the execution of the target interaction process; The end module is configured to end the execution of the current round of the target interaction process when the number reaches the preset number threshold.
[0092] In some embodiments, the content generation device 500 further includes: The second determination module is configured to determine whether the user's requirements for the target application during the interaction between the user and the intelligent interaction page meet the preset condition before performing the step of generating a first reply content for responding to the information based on the user's requirements for the target application during the interaction between the user and the intelligent interaction page, where, when it is determined that the requirements meet the preset condition, the step of generating a first reply content for responding to the information based on the user's requirements for the target application during the interaction between the user and the intelligent interaction page is performed.
[0093] In some embodiments, the execution module 502 is further configured to: when it is determined that the requirements do not meet the preset condition, perform the next round of the target interaction process on the intelligent interaction page.
[0094] In some embodiments, the execution module 502 includes: The first determination sub-module is configured to determine the follow-up content according to the historical interaction information during the interaction between the user and the intelligent interaction page; The first acquisition sub-module is configured to display the follow-up information on the intelligent interaction page and acquire the additional requirements of the user for the target application based on the follow-up information.
[0095] In some embodiments, the first determination sub-module is further configured to determine the follow-up content according to the historical interaction information during the interaction between the user and the intelligent interaction page and the knowledge graph of the business scenario corresponding to the target application.
[0096] In some embodiments, the first acquisition sub-module includes: A display unit, configured to display the follow-up information in the intelligent interaction page; A determination unit, configured to, in response to an interaction operation triggered by the user for the follow-up information, determine the additional requirements of the user for the target application according to the interaction operation.
[0097] In some embodiments, the follow-up information includes at least one interaction component and prompt information corresponding to each interaction component, and the prompt information is used to represent candidate requirements. The determination unit is further configured to, in response to a selection operation of the user for a target interaction component in the follow-up information, determine the candidate requirement represented by the prompt information corresponding to the target interaction component as the additional requirement of the user for the target application.
[0098] In some embodiments, the content generation device 500 further includes: A second generation module, configured to, in response to feedback information input by the user in the intelligent interaction page for the product requirement document, generate second reply content for responding to the feedback information based on the feedback information, where the second reply content includes a modified product requirement document.
[0099] In some embodiments, the product requirement document generated for the target application includes multiple versions. The second generation module is further configured to, in response to feedback information input by the user in the intelligent interaction page for the product requirement document of the target version, generate second reply content for responding to the feedback information based on the feedback information, where the target version is the version specified by the user.
[0100] Wherein, the implementation manners of the modules in the above content generation device 500 may refer to the above related embodiments, and are not described herein again in this embodiment.
[0101] The embodiments of the present disclosure further provide a computer-readable medium, on which a computer program is stored, and when the computer program is executed by a processing device, the steps of the above content generation method are implemented.
[0102] The embodiments of the present disclosure further provide a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of the above content generation method are implemented.
[0103] The embodiments of the present disclosure further provide an electronic device, including: A storage device on which a computer program is stored; A processing device configured to execute the computer program in the storage device to implement the steps of the above content generation method.
[0104] Reference is made below to Figure 6 , which shows a schematic structural diagram of an electronic device 600 suitable for implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), in-vehicle terminals (such as in-vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The electronic device shown is merely an example and should not impose any limitation on the functions and scope of use of the embodiments of the present disclosure.
[0105] As Figure 6 shown, the electronic device 600 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 601, which may perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0106] Generally, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or wiredly to exchange data. Although Figure 6 shows the electronic device 600 having various devices, it should be understood that it is not required to implement or include all the shown devices. Instead, more or fewer devices may be implemented or included.
[0107] In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowchart can be implemented as computer software programs. For example, an embodiment of the present disclosure includes a computer program product that includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes program code for performing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-described functions defined in the method of the embodiment of the present disclosure are performed.
[0108] It should be noted that the computer-readable medium in the present disclosure can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0109] In some embodiments, the electronic device can communicate using any currently known or future-developed network protocol such as HTTP (HyperText Transfer Protocol), and can be interconnected with digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed networks.
[0110] The above computer-readable medium can be included in the above electronic device; or can exist separately without being assembled into the electronic device.
[0111] The above computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to: obtain information input by the user in the intelligent interaction page, where the information is used to determine the initial requirements of the user for the target application; execute a target interaction process in the intelligent interaction page, where the target interaction process is used to display follow-up information to the user in the intelligent interaction page and obtain additional requirements of the user for the target application based on the follow-up information; generate a first response content for responding to the information based on the requirements of the user for the target application during the interaction process between the user and the intelligent interaction page, where the first response content includes product requirement document information of the target application.
[0112] Computer program code for performing the operations of the present disclosure can be written in one or more programming languages or combinations thereof. The above programming languages include, but are not limited to, object-oriented programming languages - such as Java, Smalltalk, C++; and also include conventional procedural programming languages - such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network - including a local area network (LAN) or a wide area network (WAN) - or can be connected to an external computer (e.g., by using an Internet service provider to connect through the Internet).
[0113] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a part of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions noted in the blocks may occur in a different order than noted in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or by a combination of dedicated hardware and computer instructions.
[0114] The modules described in the embodiments of the present disclosure can be implemented in software or in hardware. In some cases, the name of the module does not constitute a limitation on the module itself.
[0115] The functions described above herein can be performed, at least in part, by one or more hardware logic components. By way of example, and without limitation, exemplary types of hardware logic components that can be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0116] In the context of the present disclosure, a machine-readable medium may be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0117] The above description is only a preferred embodiment of the present disclosure and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosure concept. For example, the technical solutions formed by mutually replacing the above features with the technical features (but not limited to) having similar functions disclosed in the present disclosure.
[0118] In addition, although the operations are depicted in a particular order, this should not be construed as requiring that the operations be performed in the particular order shown or in sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, although several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features described in the context of separate embodiments may also be implemented combinatorially in a single embodiment. Conversely, the various features described in the context of a single embodiment may also be implemented separately or in any suitable sub-combination in multiple embodiments.
[0119] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. On the contrary, the specific features and acts described above are merely example forms for implementing the claims. Regarding the apparatus in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments related to the method, and will not be elaborated here.
Claims
1. A content generation method, characterized in that, including: Obtain the information input by the user on the intelligent interaction page, where the information is used to determine the initial requirements of the user for the target application; Execute a target interaction process on the intelligent interaction page, where the target interaction process is used to display follow-up information to the user on the intelligent interaction page and obtain the additional requirements of the user for the target application based on the follow-up information; Generate a first response content for responding to the information based on the requirements of the user for the target application during the interaction between the user and the intelligent interaction page, where the first response content includes a product requirement document of the target application.
2. The method according to claim 1, wherein Before the first execution of the target interaction process, the method further includes: Determine that the initial requirements do not meet the preset conditions.
3. The method according to claim 1, the method further includes: During the execution of the target interaction process, record the number of times the follow-up information is displayed to the user in this round of the target interaction process; When the number reaches the preset number threshold, end the execution of this round of the target interaction process.
4. The method according to claim 1, before the step of generating a first response content for responding to the information based on the requirements of the user for the target application during the interaction between the user and the intelligent interaction page, the method further includes: Determine whether the requirements of the user for the target application during the interaction between the user and the intelligent interaction page meet the preset conditions, where when it is determined that the requirements meet the preset conditions, execute the step of generating a first response content for responding to the information based on the requirements of the user for the target application during the interaction between the user and the intelligent interaction page.
5. The method according to claim 4, the method further includes: When it is determined that the requirements do not meet the preset conditions, execute the next round of the target interaction process on the intelligent interaction page.
6. The method according to any one of claims 1-5, the executing a target interaction process on the intelligent interaction page includes: Determine the follow-up content according to the historical interaction information during the interaction between the user and the intelligent interaction page; Display the follow-up information on the intelligent interaction page and obtain the additional requirements of the user for the target application based on the follow-up information.
7. The method according to claim 6, the determining the follow-up content according to the historical interaction information during the interaction between the user and the intelligent interaction page includes: Determine the follow-up content according to the historical interaction information during the interaction between the user and the intelligent interaction page and the knowledge graph of the business scenario corresponding to the target application.
8. The method according to claim 6, wherein The displaying the follow-up information on the intelligent interaction page and obtaining the additional requirements of the user for the target application based on the follow-up information includes: Display the follow-up information on the intelligent interaction page; In response to the interaction operation triggered by the user for the follow-up information, determine the additional requirements of the user for the target application according to the interaction operation.
9. The method according to claim 8, wherein the follow-up information includes at least one interaction component and prompt information corresponding to each interaction component, and the prompt information is used to characterize candidate requirements. The determining, in response to an interaction operation triggered by the user for the follow-up information, of the requirements added by the user for the target application according to the interaction operation includes: In response to a selection operation of the user for a target interaction component in the follow-up information, determining the candidate requirements characterized by the prompt information corresponding to the target interaction component as the requirements added by the user for the target application.
10. The method according to any one of claims 1-5, the method further comprising; In response to feedback information input by the user for the product requirement document on the intelligent interaction page, generating second reply content for responding to the feedback information based on the feedback information, where the second reply content includes a modified product requirement document.
11. The method according to claim 10, wherein the product requirement document generated for the target application includes multiple versions. The generating, in response to feedback information input by the user for the product requirement document on the intelligent interaction page, of second reply content for responding to the feedback information based on the feedback information includes: In response to feedback information input by the user for a product requirement document of a target version on the intelligent interaction page, generating second reply content for responding to the feedback information based on the feedback information, where the target version is the version specified by the user.
12. A content generation device, characterized in that, Comprising: An acquisition module, configured to acquire information input by the user on the intelligent interaction page, where the information is used to determine the initial requirements of the user for the target application; An execution module, configured to execute a target interaction process on the intelligent interaction page, where the target interaction process is used to display follow-up information to the user on the intelligent interaction page and obtain the requirements added by the user for the target application based on the follow-up information; A first generation module, configured to generate first reply content for responding to the information based on the requirements of the user for the target application during the interaction process between the user and the intelligent interaction page, where the first reply content includes a product requirement document of the target application.
13. A computer-readable medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processing device, the steps of the method according to any one of claims 1-11 are implemented.
14. An electronic device, characterized in that, Comprising: A storage device, on which a computer program is stored; A processing device, configured to execute the computer program in the storage device to implement the steps of the method according to any one of claims 1-11.
15. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, the steps of the method according to any one of claims 1-11 are implemented.
Citation Information
Patent Citations
Demand document automatic generation method and device based on human-computer interaction and storage medium
CN115630146A
Demand information generation method and device, computer equipment, storage medium and computer program product
CN118551114A
Customized page construction method and device, electronic equipment and computer readable medium
CN119336429A