Search

CN-122018872-A - Software generation method, device, computer equipment, medium and program product

CN122018872ACN 122018872 ACN122018872 ACN 122018872ACN-122018872-A

Abstract

The embodiment of the application discloses a software generation method, a device, computer equipment, a medium and a program product, wherein a user can input a software generation instruction based on natural language description in a dialogue area of a software generation interface so as to generate required target software based on the software generation instruction. That is, the user can describe the generation requirement of the software in a natural language mode, so that the quality requirement on software developers is reduced, and the software development threshold is lowered. And before generating the target software, the demand question content and a plurality of candidate answer contents for answering the demand question content are displayed in the dialogue area, so that the user can quickly select own demands based on the plurality of candidate answer contents, the user can be guided to perfect the software generation instruction in a manner similar to a questionnaire survey, the software generation efficiency is improved conveniently and quickly, and meanwhile, the accuracy of understanding the software generation instruction is improved, so that the target software more conforming to the user requirements is generated.

Inventors

  • LIU ZHONGYUAN

Assignees

  • 腾讯科技(深圳)有限公司

Dates

Publication Date
20260512
Application Date
20260212

Claims (20)

  1. 1. A method of software generation, the method comprising: displaying a software generation interface comprising a dialogue area and a software preview area; Acquiring a first software generation instruction based on natural language description through the dialogue area; displaying a demand question content and a plurality of candidate answer contents aiming at the demand question content in the dialogue area, wherein the demand question content is used for guiding an object to perfect the first software generation instruction; acquiring confirmation operation aiming at target candidate answer content in the candidate answer contents, and generating first target software; And displaying an operation control in the software preview area, wherein the operation control is used for operating the first target software in the software preview area.
  2. 2. The method of claim 1, wherein the displaying a software generation interface comprising a dialog region and a software preview region comprises: displaying the dialogue area in a first area of the software generation interface, displaying the software preview area in a second area of the software generation interface, wherein the first area is at the left side or the right side of the horizontal display direction, the second area is at the left side or the right side of the horizontal display direction, and the second area is a different area from the first area; And if the area dividing line is adjusted, the sizes of the first area and the second area in the software generation interface can be adjusted, and the adjusted area dividing line is used for distinguishing the first area and the second area in the software generation interface.
  3. 3. The method according to claim 1, wherein the method further comprises: Displaying a development control of the project file sub-interface; Responding to the triggering operation for the expansion control, displaying the project file sub-interface on the software generation interface, wherein the project file sub-interface is used for displaying a project file catalog corresponding to the first target software, and the project file catalog comprises a plurality of sub-files used for generating the first target software; displaying a stowage control of the project file sub-interface; And in response to the triggering operation for the stowage control, canceling the display of the project file sub-interface on the software generation interface.
  4. 4. A method according to claim 3, characterized in that the method further comprises: And in response to a triggering operation for a target sub-file in a plurality of sub-files in the project file catalog, displaying the target sub-file in an editing sub-interface independent of the software generation interface.
  5. 5. The method according to claim 1, wherein the method further comprises: displaying a plurality of archive slot controls in the software preview area, wherein different archive slot controls correspond to different versions of the first target software, and the first target software of different versions is generated based on different software generation instructions; And responding to the triggering operation of a target archive slot control in the plurality of archive slot controls, and running first target software of a corresponding version of the target archive slot control in the software preview area.
  6. 6. The method of claim 1, wherein if the dialog region includes a natural language input region and a message display region, the obtaining, by the dialog region, a first software generation instruction based on a natural language description, comprises: Acquiring a first software generation instruction input in the natural language input area in response to a sending operation of the first software generation instruction; the method further comprises the steps of: Displaying the first software generation instruction in the message display area; and displaying a generation result of the first software generation instruction in the message display area.
  7. 7. The method of claim 6, wherein the method further comprises: Responding to a sending instruction of a second software generation instruction input in the natural language input area, and acquiring the second software generation instruction, wherein the second software generation instruction is used for modifying the first target software; Displaying the second software generation instruction in the message display area; Modifying the first target software according to the second software generation instruction to generate first updated software; And displaying a generation result of the second software generation instruction in the message display area.
  8. 8. The method according to claim 1, wherein the method further comprises: if the first target software is generated according to the first software generation instruction, acquiring a third software generation instruction based on natural language description; a message waiting prompt is displayed, the message waiting prompt being for prompting that a software-generated instruction is present for a waiting process.
  9. 9. The method according to claim 8, wherein the obtaining a third software generation instruction based on a natural language description during the generating of the first target software according to the first software generation instruction includes: If the third software generation instruction and the fourth software generation instruction based on natural language description are acquired in the process of generating the first target software according to the first software generation instruction; the method further comprises the steps of: generating a merging instruction according to the third software generation instruction and the fourth software generation instruction; and generating second target software according to the merging instruction.
  10. 10. The method according to claim 1, wherein the method further comprises: displaying a history message viewing control on the software generation interface; and responding to the triggering operation of the historical message viewing control, displaying a historical message sub-interface in the software generation interface, wherein the historical message sub-interface comprises at least one software generation instruction and a generation result generated by the software generation instruction, the display mode of a first generation result is different from the display mode of a second generation result, the first generation result is a generation result related to a version in at least one generation result, and the second generation result is a generation result unrelated to the version in at least one generation result.
  11. 11. The method according to claim 1, wherein the method further comprises: displaying additional function controls; responsive to a triggering operation for the additional functionality control, displaying at least one additional functionality; the generating the first target software includes: And generating the first target software according to the target additional function in response to a selection operation for the target additional function in the at least one additional function.
  12. 12. The method according to claim 1, wherein the method further comprises: Displaying team management controls; And responding to the triggering operation aiming at the team management control, displaying a team management sub-interface in the software generation interface, wherein the team management sub-interface comprises a plurality of account identifications and management controls aiming at the account identifications, and the account corresponding to the account identifications is used for developing the first target software.
  13. 13. The method of claim 12, wherein the team management sub-interface further comprises a fan view control and an invite control, the method further comprising: Responding to triggering operation of the vermicelli viewing control, displaying at least one vermicelli account identifier and an invitation control of the first target software, wherein the vermicelli account identifier corresponds to a vermicelli account for paying attention to the first target software; And responding to the triggering operation for the invitation control, and sending an invitation request to a target vermicelli account corresponding to the invitation control, wherein the target vermicelli account is the vermicelli account corresponding to the at least one vermicelli account identifier for the first target software.
  14. 14. The method according to claim 12, wherein the method further comprises: And displaying a first software generation instruction from a first account identifier and a second software generation instruction from a second account identifier in the dialogue area, wherein the plurality of account identifiers comprise the first account identifier and the second account identifier.
  15. 15. The method according to claim 1, wherein the method further comprises: Displaying a professional mode control in the software generation interface; responding to triggering operation aiming at the professional mode control, and jumping to a professional development interface, wherein the professional development interface and the software generation interface are different interfaces; And displaying a common mode control in the professional development interface, wherein the common mode control is used for jumping to the software generation interface.
  16. 16. The method of claim 15, wherein the method further comprises: Displaying a project list area and a task panel area in the professional development interface, wherein the project list area is used for displaying a plurality of target software established under a current account, and the task panel area comprises a task creation control which is used for creating at least one task of the selected target software; And if the trigger operation for the third target software in the target software and the trigger operation for the task creation control are acquired, displaying the created one or more tasks in the task panel area.
  17. 17. The method of claim 16, wherein the displaying the created one or more tasks in the task panel area if the trigger operation for the third target software of the plurality of target software and the trigger operation for the task creation control are acquired comprises: In response to a trigger operation for a third target software of the plurality of target software and a trigger operation for the task creation control, displaying a task creation sub-interface in the task panel area, wherein the task creation sub-interface comprises a task instruction input area; if a first task creation instruction based on natural language description is input in the task instruction input area, displaying a first task corresponding to the first task creation instruction in the task panel area; and if the second task creation instruction based on the natural language description is input in the task instruction input area, displaying a second task corresponding to the second task creation instruction in the task panel area.
  18. 18. The method of claim 17, wherein the task creation sub-interface further comprises an agent quantity setting control, and wherein the displaying the first task corresponding to the first task creation instruction in the task panel area if the first task creation instruction based on the natural language description is input in the task instruction input area comprises: And if the first task creation instruction based on natural language description and the agent number acquired through the agent number setting control are input in the task instruction input area, displaying a plurality of first tasks corresponding to the first task creation instruction in the task panel area, wherein the number of the plurality of first tasks is the same as the agent number, and each first task completes the first task creation instruction through one agent.
  19. 19. The method according to claim 1, wherein the method further comprises: Displaying a content filling control on the software generating interface; Responding to the triggering operation of the content filling control, and displaying a content filling sub-interface for the first target software; displaying the content to be filled and an automatic generation control on the content filling sub-interface; And responding to the triggering operation of the automatic generation control, and automatically filling and releasing the content required by the first target software in the content to be filled.
  20. 20. The method according to claim 1, wherein the method further comprises: Displaying a wishing control on a main interface, wherein the software generation interface is an interface jumped from the main interface; Responding to the triggering operation for the wishing control, displaying a inspiration exploration sub-interface on the main interface, wherein the inspiration exploration sub-interface comprises a preference determination area and a software rudiment display area; Displaying a plurality of idea contents for generating fourth target software in the preference determination area; Displaying a software rudiment generated based on at least one target idea content among a plurality of the idea contents in the software rudiment display area in response to a selection operation for the at least one target idea content; and generating the fourth target software according to the at least one target idea content.

Description

Software generation method, device, computer equipment, medium and program product Technical Field The present application relates to the field of artificial intelligence technology, and in particular, to a software generation method, apparatus, computer device, medium, and program product. Background Software (software) is a collection of computer data and instructions organized in a particular order, and is an intangible part of a computer device. The software can also be of various kinds, such as game software, office software, chat software, etc. In the related art, the software is generally generated by handwriting codes by a programmer, but the method has higher requirements on the quality of developers of the software and lower generation efficiency of the software. Disclosure of Invention In order to solve the technical problems, the application provides a software generation method, a device, computer equipment, a medium and a program product, which are used for solving the problems that the quality requirements of developers of the software are higher and the generation efficiency of the software is lower in the related technology. The embodiment of the application discloses the following technical scheme: in one aspect, an embodiment of the present application provides a software generating method, including: displaying a software generation interface comprising a dialogue area and a software preview area; Acquiring a first software generation instruction based on natural language description through the dialogue area; displaying a demand question content and a plurality of candidate answer contents aiming at the demand question content in the dialogue area, wherein the demand question content is used for guiding an object to perfect the first software generation instruction; acquiring confirmation operation aiming at target candidate answer content in the candidate answer contents, and generating first target software; And displaying an operation control in the software preview area, wherein the operation control is used for operating the first target software in the software preview area. Optionally, before the message display area displays the generation result of the first software generation instruction, the method further includes: And displaying the generation process content of the generation result of the first software generation instruction in the message display area. Optionally, the method further comprises: Displaying an item selection control in the natural language input area; And responding to the triggering operation of the item selection control, and displaying the item file corresponding to the item selection control on a preview sub-interface independent of the dialogue area. Optionally, the method further comprises: if the messages with multiple sources are displayed in the dialogue area, the messages with different sources are displayed based on different display modes. Optionally, the team management sub-interface further includes a feature value view control, and the method further includes: and in response to the triggering operation of the characteristic value checking control, displaying characteristic values of a team, wherein the characteristic values are used for generating the first target software. Optionally, the method further comprises: Displaying a release control on the software generation interface; Responding to the triggering operation of the release control, and displaying a plurality of versions of the first target software and auditing states of the versions; And responding to triggering operation aiming at a target version in the plurality of versions, releasing first target software of the target version, wherein the auditing state of the first target software of the target version is passed. Optionally, the method further comprises: Displaying, on the inspiration probe sub-interface, a generation result generated for the at least one target idea content; and if a fifth software generation instruction based on natural language description is acquired, the fifth software generation instruction is used for modifying the fourth target software so as to display a generation result aiming at the fifth software generation instruction. Optionally, displaying a plurality of kinds of idea content for generating fourth target software in the preference determining area, and displaying a software rudiment generated based on at least one kind of target idea content in the software rudiment display area in response to a selection operation for the at least one kind of target idea content among the plurality of kinds of idea content, including: Displaying a plurality of idea contents belonging to a first dimension in the preference determination area; In response to a trigger operation for a first target idea content, displaying a plurality of idea contents belonging to a second dimension in the preference determination area, displaying a software rudiment generate