Interface generation method and related equipment

Through human-computer interaction technology, users and computing devices collaborate to generate interfaces, solving the problem of information loss caused by inaccurate user requirements descriptions, achieving efficient and accurate interface generation, and ensuring that the interface meets user needs and design specifications.

CN120447894APending Publication Date: 2025-08-08XFUSION DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510369854.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-26
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

Users cannot correctly and completely describe the requirements information, resulting in lost or distorted information in the interface design, making it difficult to generate an interface that meets user needs.

Method used

Through human-computer interaction, users interact with computing devices to select interface templates, and use modification information to guide computing devices to generate interfaces that meet user needs. Generative models and design specification verification technology are used to ensure that the interface complies with design standards.

Benefits of technology

It avoids information loss or distortion in communication between people, improves interface generation efficiency, reduces labor costs, and ensures that the generated interface meets user needs and team consistency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120447894A_ABST
    Figure CN120447894A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an interface generation method and related equipment, and the method comprises the steps: determining an interface template selected by a user as a first interface in response to the selection of the interface template by the user; in response to an operation of a user on a first area in the first interface, modifying the first area according to modification information input by the user to obtain a second interface; and obtaining a third interface in response to feedback information of the user on the second interface. In the embodiment of the invention, in the process of generating the third interface, a man-machine interaction mode is used for replacing a process of communicating, transmitting and issuing demand information among people, so that the condition of information loss or distortion in the process of communicating, transmitting and issuing is avoided, and the interface meeting the user demand can be generated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to an interface generation method and related equipment. Background Art

[0002] Requirements acquisition is the first stage of software design. This stage requires a comprehensive and accurate understanding of user needs and expectations, thereby laying a solid foundation for the subsequent development of the project.

[0003] Users provide their requirements to analysts, developers, and other technical personnel, who then design interfaces based on their descriptions. However, because users may not be able to accurately and completely describe their requirements, and information may be lost or distorted during the transmission process, the resulting interface may not meet user needs.

[0004] Based on this, a solution is urgently needed to solve the above technical problems. Summary of the Invention

[0005] Based on the above problems, an embodiment of the present application provides an interface generation method and related equipment.

[0006] The embodiments of this application disclose the following technical solutions:

[0007] First aspect: An embodiment of the present application provides an interface generation method, which determines the interface template selected by the user as the first interface in response to the user's selection of the interface template; in response to the user's operation on the first area in the first interface, modifies the first area according to the modification information input by the user to obtain the second interface; and in response to the user's feedback information on the second interface, obtains the third interface.

[0008] In the embodiment of the present application, the user can generate a second interface by interacting with the computing device, and can then instruct the computing device to generate a third interface that meets the user's needs based on the second interface by inputting modification information. The method provided in the embodiment of the present application replaces the process of human-to-human communication, transmission, and issuance of required information in the process of generating the third interface with human-computer interaction, thus avoiding the loss or distortion of information during the communication, transmission, and issuance process, and can generate an interface that meets the user's needs.

[0009] In one possible implementation, obtaining the third interface in response to user feedback information on the second interface includes: when the feedback information indicates that the second interface meets user requirements, determining the second interface as the third interface in response to user feedback information on the second interface.

[0010] In one possible implementation, obtaining the third interface in response to user feedback on the second interface includes: when the feedback information includes modification information corresponding to the second interface, modifying the second interface in response to the user's feedback on the second interface to obtain the fourth interface; and obtaining the third interface in response to user feedback on the fourth interface.

[0011] In the embodiment of the present application, the user can interact with the computing device multiple times and guide the computing device to modify the current interface through feedback information until a third interface that meets the user's needs is generated.

[0012] In one possible implementation, in response to a user operation on a first area in the first interface, modifying the first area according to modification information input by the user to obtain a second interface includes: in response to the user operation on the first area in the first interface, converting the first area in the first interface into Domain Definition Model Language (DSL) data; and modifying the DSL data corresponding to the first interface according to the modification information input by the user to obtain the second interface. In this embodiment of the present application, converting the first area in the first interface into DSL data facilitates subsequent processing of the DSL data, thereby improving interface generation efficiency.

[0013] In one possible implementation, modifying the DSL data corresponding to the first area in the first interface according to the modification information input by the user to obtain the second interface includes: modifying the DSL data corresponding to the first area in the first interface according to the modification information input by the user to obtain modified DSL data; and visualizing the modified DSL data to obtain the second interface, so that the user can view and determine whether the second interface meets the requirements.

[0014] In one possible implementation, visualizing the modified DSL data to obtain the second interface includes: verifying the modified DSL data based on design specifications; and visualizing the modified DSL data to obtain the second interface if it is determined that the modified DSL data complies with the design specifications.

[0015] In the embodiment of the present application, the modified DSL data is verified to avoid the lack of standardization in the interface generated by the computing device, to avoid too many angles affecting the user experience, and to ensure the overall consistency of the team.

[0016] In one possible implementation, after verifying the modified DSL data based on the design specification, the method further includes: if it is determined that the modified DSL data does not comply with the design specification, modifying the modified DSL data based on specification verification information to obtain verified DSL data; verifying the verified DSL data based on the design specification; and if it is determined that the verified DSL data complies with the design specification, visualizing the verified DSL data to obtain a second interface.

[0017] In the embodiment of the present application, the modified DSL data is verified. If it is determined that the modified DSL data does not comply with the design specifications, the modified DSL data is modified based on the specification verification information to avoid the problem of lack of standardization in the interface generated by the computing device, avoid affecting the user experience from too many angles, and ensure the overall consistency of the team.

[0018] In one possible implementation, in response to the user's operation on the first area in the first interface, the first area is modified according to the modification information input by the user to obtain the second interface, including: in response to the user's operation on the first area in the first interface, the first area is modified according to the modification information input by the user based on the generation model to obtain the second interface; the generation model is trained based on multiple interface templates and modification information.

[0019] In the embodiment of the present application, a second interface can be generated based on the generation model, replacing the process of communicating, conveying, and issuing demand information between people with human-computer interaction, avoiding the loss or distortion of information during the communication, conveying, and issuing process, and generating an interface that meets user needs.

[0020] In one possible implementation, in response to the user's selection of an interface template, determining the interface template selected by the user as the first interface includes: obtaining the user's historical interface generation data and / or user portrait based on the user's login information; in response to the user's selection of an interface template, modifying the interface template selected by the user based on the historical interface generation data and / or user portrait to obtain a modified interface template; and determining the modified interface template as the first interface.

[0021] In the embodiment of the present application, the modified interface template is more in line with the user's style than the original interface template. Based on the modified interface template that is more in line with the user's style, the amount of modification to the modified interface template can be effectively reduced during the generation of the third interface, thereby improving the efficiency of interface generation.

[0022] Second aspect: The embodiment of the present application provides an interface generation device, including:

[0023] Determine units, modify units, and obtain units;

[0024] The determining unit is configured to, in response to a user selecting an interface template, determine the interface template selected by the user as the first interface;

[0025] The modification unit is configured to modify the first area in the first interface according to modification information input by the user in response to the user's operation on the first area, thereby obtaining a second interface;

[0026] The obtaining unit is configured to obtain a third interface in response to user feedback information on the second interface.

[0027] A third aspect: An embodiment of the present application provides a computing device, the computing device comprising: a processor and a memory;

[0028] The memory is used to store program code and transmit the program code to the processor;

[0029] The processor is used to execute the steps of the interface generation method described above according to the instructions in the program code. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0031] Figure 1 A schematic diagram of an interface generation scenario provided in an embodiment of the present application;

[0032] Figure 2 A flowchart of the first interface generation method provided in an embodiment of the present application;

[0033] Figure 3 A schematic diagram of a technical support interface template provided in an embodiment of the present application;

[0034] Figure 4 A schematic diagram of an interface template for an official website provided in an embodiment of the present application;

[0035] Figure 5 A schematic diagram of a forum interface template provided in an embodiment of the present application;

[0036] Figure 6 A flow chart of a training generation model provided in an embodiment of the present application;

[0037] Figure 7 A flowchart of a second interface generation method provided in an embodiment of the present application;

[0038] Figure 8 An architectural diagram of a human-computer interaction requirements acquisition system provided in an embodiment of the present application;

[0039] Figure 9 A flowchart of a third interface generation method provided in an embodiment of the present application;

[0040] Figure 10 An architectural diagram of another human-computer interaction requirements acquisition system provided in an embodiment of the present application;

[0041] Figure 11 A flowchart for adding design rules provided in an embodiment of the present application;

[0042] Figure 12 A flowchart of deleting design rules provided in an embodiment of the present application;

[0043] Figure 13 A flowchart of modifying design rules provided in an embodiment of the present application;

[0044] Figure 14 A schematic structural diagram of an interface generation device is provided for an embodiment of the present application;

[0045] Figure 15 A schematic diagram of the structure of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] In order to help those skilled in the art better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0047] Requirements elicitation plays a crucial role in the information technology (IT) industry and is fundamental to project success. In the current interface generation process, users provide their requirements to analysts, developers, and other technical personnel, who then design the interface based on the user's description of the requirements.

[0048] First, users may not be able to fully describe their needs. For example, they may only provide a general idea without providing detailed and in-depth information about their needs. Incomplete information may prevent the development team from designing an interface that meets user needs.

[0049] Second, the current interface generation process involves the transmission of requirements information, for example, from users to technical personnel like analysts and developers. Due to language imprecision, inadequate communication, or misunderstandings, each communication step can lead to new interpretations and assumptions, resulting in loss or distortion of the original requirements information. Interfaces generated based on this lost or distorted information may fail to meet actual user needs, resulting in wasted resources and project failure.

[0050] Based on this, an embodiment of the present application provides an interface generation method, in which a computing device responds to a user's selection of an interface template and determines the interface template selected by the user as a first interface; in response to a user's operation on a first area in the first interface, the first area is modified according to the modification information input by the user to obtain a second interface; and in response to the user's feedback information on the second interface, a third interface is obtained. In an embodiment of the present application, a user can generate a second interface by interacting with a computing device, and can guide the computing device to generate a third interface that meets the user's needs based on the second interface by inputting modification information. Since the process of generating the third interface replaces the process of communicating, conveying, and issuing demand information between people in a human-computer interaction manner, the loss or distortion of information in the process of communication, conveying, and issuing is avoided, and an interface that meets the user's needs can be generated.

[0051] The following combination Figure 1 An interface generation scenario provided by an embodiment of the present application is introduced.

[0052] In an embodiment of the present application, the terminal device 1100 is connected to the computing device 1101, and the user obtains the system login interface through the human-computer interaction requirements in the terminal device 1100 to log in to access the computing device 1101. The computing device 1101 may include but is not limited to a cabinet server, a rack server, a blade server, etc., or a general-purpose server, a GPU server, a DPU server, etc., which is not limited here.

[0053] The user can interact with the terminal device 1100, log in to the human-computer interaction demand acquisition system and select an interface template. After the user selects the interface template, the computing device 1101 connected to the terminal device 1100 responds to the user's selection of the interface template and determines the user-selected interface template as the first interface.

[0054] On terminal device 1100, the user selects a first area of the first interface that does not meet the requirements and enters modification information. In response to the user's operation on the first area of the first interface, computing device 1101 modifies the first area according to the modification information entered by the user, obtains a second interface, and displays it to the user. By viewing the second interface, the user can determine whether the second interface meets the requirements.

[0055] If the user determines that the second interface meets the requirements, the terminal device 1100 can feed back feedback information indicating that the second interface meets the requirements to the computing device 1101. Thus, the computing device 1101 can determine the second interface as the third interface in response to the user's feedback information on the second interface.

[0056] If the user determines that the second interface does not meet the requirements, the terminal device 1100 may provide feedback information including modification information corresponding to the second interface to the computing device 1101. Thus, the computing device 1101 may modify the second interface in response to the user's feedback information on the second interface until a third interface that meets the user's requirements is generated.

[0057] In one example, to avoid the problem of missing standards in the interface generated by computing device 1101 and to prevent excessive angles from affecting the user experience while ensuring overall team consistency, computing device 1101 can first verify the modified data when modifying the current interface based on modification information or feedback information to generate a third interface that meets user needs. If it is determined that it meets the design specifications, the third interface is generated based on the modified data.

[0058] The following combination Figure 2 Introducing an interface generation method provided by an embodiment of the present application, such as Figure 2 As shown in the figure, this figure is a flowchart of the first interface generation method provided in an embodiment of the present application.

[0059] S201. In response to a user selecting an interface template, the computing device determines the interface template selected by the user as the first interface.

[0060] In the embodiment of the present application, the interface may include but is not limited to a web page interface, a game interface, an application program (APP) interface, and an embedded system interface.

[0061] According to the interface design and consistent experience design specifications, multiple interface templates can be designed in advance so that users can design based on the interface templates to improve the efficiency of interface generation.

[0062] like Figure 3-Figure 5As shown in the figure, taking a webpage interface as an example, a technical support interface template, an official website interface template, and a forum interface template are respectively displayed. The user can select an interface template according to their needs. For example, if the user clicks on the technical support interface template, the computing device will determine the technical support interface template as the first interface in response to the user's selection of the interface template.

[0063] In one example, the interface template may further include a blank template, and the user may select the blank template and perform interface design based on the blank template.

[0064] It is understandable that the embodiments of the present application do not specifically limit the style, type, and number of interface templates, and the above are only examples.

[0065] In a possible implementation, a user may log in to a human-computer interaction requirement acquisition system on a computing device, and the human-computer interaction requirement acquisition system is used to generate an interface.

[0066] If the user logs in successfully, the computing device determines that the user is a user with usage permission and can display an interface template for the user so that the user can select an interface template; if the user logs in unsuccessfully, the computing device determines that the user does not have the usage permission to obtain the system for human-computer interaction requirements and can record and return information such as login failure to prompt the user to log in again or register.

[0067] In an embodiment of the present application, the computing device can determine whether the user has the human-computer interaction requirements to obtain the use permission of the system based on the user's login information. If it is determined that the user has the use permission, the computing device can generate an interface in response to the user's operation, thereby ensuring the security of the system.

[0068] In one possible implementation, after a user logs in to the human-computer interaction demand acquisition system, the computing device may obtain the user's historical interface generation data and / or user portrait based on the user's login information.

[0069] On this basis, in response to the user's selection of an interface template, the interface template selected by the user is modified based on the user's historical interface generation data and / or user portrait to obtain a modified interface template, and the modified interface template is determined as the first interface.

[0070] For example, a user selects a technical support interface template, which has a search bar in the upper right corner. The computing device, based on the user's historical interface generation data and / or user profile, determines that the user has previously selected the technical support interface template or other types of interface templates, and typically deletes the search bar in the upper right corner of the interface. In this case, the computing device can modify the technical support interface template selected by the user, for example, by deleting the search bar in the upper right corner of the interface template to obtain a modified interface template.

[0071] After generating the modified interface template, the computing device may determine the modified interface template as the first interface and display it, so that the user can design based on the modified interface template to generate the final interface. Because the modified interface template is more consistent with the user's design style, the amount of subsequent modifications to the modified interface template can be reduced, thereby improving interface generation efficiency.

[0072] S202: In response to a user operation on a first area in a first interface, the computing device modifies the first area according to modification information input by the user to obtain a second interface.

[0073] The first area is the area that needs to be modified, that is, the area that does not meet the user's requirements.

[0074] The user may click on a first area in the first interface that does not meet the user's requirements, so that the computing device may determine an area that needs to be modified.

[0075] In one example, to improve interface generation efficiency, a user may click on multiple first areas, and the computing device may determine multiple areas that need to be modified in response to the user's click operation on the multiple first areas in the first interface.

[0076] After the user clicks on the first area, the user can enter the modification information through text, voice, or voice-to-text. The computing device can make corresponding modifications to the first area based on the modification information entered by the user to obtain the second interface.

[0077] In one example, the computing device may modify the first area in the first interface in response to the user's operation on the first area based on the generated model and the modification information input by the user to obtain the second interface.

[0078] Among them, the generation model is trained based on multiple interface templates and modification information, such as Figure 6 As shown in the figure, this figure is a flow chart of a training generation model provided in an embodiment of the present application.

[0079] S2101. The computing device obtains multiple interface templates and modification information, and performs data cleaning on the multiple interface templates and modification information.

[0080] In the embodiment of the present application, a large number of interface templates and modification information can be collected. The interface template may include the original interface template and the interface obtained by modifying the interface template based on the modification information.

[0081] By performing data cleaning on the collected interface templates and modification information, redundant data and invalid data can be removed to obtain cleaned interface templates and modification information.

[0082] S2102. The computing device generates a data set from the cleaned multiple interface templates and modification information.

[0083] In one example, the cleaned multiple interface templates and modification information are made into a data set, which can be used for training to obtain a generative model.

[0084] In another example, the cleaned multiple interface templates can be converted into domain definition model language (DSL) data, and a data set can be created based on the DSL data and the modification information to train and obtain a generative model.

[0085] S2103. The computing device inputs the data set into the basic pre-trained large model and sets the loss function.

[0086] In one example, a basic pre-trained large model can be selected, and a loss function can be set. The dataset can be input into the conditional diffusion main process of UNet to minimize the diffusion loss for model training.

[0087] S2104. The computing device is trained until the loss value is minimized to obtain a generation model.

[0088] In the embodiment of the present application, when the loss value is minimized after training, the training of the generation model is completed, and the generation model is obtained. Based on the generation model, the first area can be modified according to the modification information input by the user to obtain the second interface.

[0089] S203: The computing device obtains a third interface in response to user feedback on the second interface.

[0090] After obtaining the second interface, the computing device may display the second interface to the user, and the user may determine whether the second interface meets the requirements and input feedback information.

[0091] In one possible implementation, if the user determines that the second interface meets the requirements, the user may enter feedback information indicating that the second interface meets the user requirements, such as entering text such as "satisfied" or "meets the requirements" as feedback information.

[0092] In this case, the computing device may determine the second interface as the third interface in response to user feedback information on the second interface.

[0093] In a possible implementation, if the user determines that the second interface does not meet the requirements, the user may input modification information corresponding to the second interface as feedback information.

[0094] In this case, the computing device can modify the second interface in response to the user's feedback information on the second interface, that is, in response to the modification information corresponding to the second interface input by the user, to obtain the fourth interface.

[0095] After obtaining the fourth interface, the computing device may display the fourth interface to the user, and the user may determine whether the fourth interface meets the requirements and input feedback information. In response to the user's feedback information on the fourth interface, the third interface may be obtained.

[0096] Exemplarily, when the user determines that the fourth interface meets the requirements, feedback information indicating that the fourth interface meets the user's requirements can be input, so that the computing device can determine the fourth interface as the third interface; when the user determines that the fourth interface does not meet the requirements, modification information corresponding to the fourth interface can be input as feedback information, so that the computing device can modify the fourth interface based on the modification information corresponding to the fourth interface, until the user determines that the output interface meets the requirements, and feedback information indicating that the interface meets the requirements is fed back, so that the computing device determines the current interface as the third interface.

[0097] In summary, in the method provided in the embodiments of the present application, a user can generate a second interface by interacting with a computing device, and can then instruct the computing device to modify the second interface by inputting modification information until a third interface that meets the user's needs is generated. Because the process of generating the third interface replaces the process of communicating, conveying, and distributing the required information between people with human-computer interaction, information loss or distortion during the communication, conveying, and distributing process is avoided, and an interface that meets the user's needs can be generated.

[0098] At the same time, since users only need to interact with computing devices, the cost of communication between people is reduced, the process of interface generation is shortened, and a lot of labor costs are saved.

[0099] For ease of understanding, the following Figure 7-Figure 8 The interface generation method provided in the embodiment of the present application is introduced. Figure 7 As shown in FIG, this figure is a flow chart of the second interface generation method provided in an embodiment of the present application.

[0100] S701. In response to a user selecting an interface template, the computing device determines the interface template selected by the user as the first interface.

[0101] It is understandable that S701 is the same as the above-mentioned S201 and will not be described in detail here.

[0102] S702: The computing device converts the first interface into domain definition model language (DSL) data in response to a user operation on a first area of the first interface.

[0103] Among them, DSL is a computer programming language with limited expressiveness for a specific domain. It provides a means to communicate the intention of a part of the system more clearly.

[0104] S703: The computing device modifies the DSL data corresponding to the first area in the first interface according to the modification information input by the user to obtain a second interface.

[0105] In an embodiment of the present application, the modification information and the DSL data corresponding to the first interface may be input into a generation model. The generation model modifies the DSL data corresponding to the first area in the first interface based on the modification information to obtain a second interface.

[0106] In one possible implementation, Figure 8 As shown, after the generation module obtains the modification information and the first interface, it can convert the first interface into DSL data based on the first converter in the generation module, and convert the modification information and DSL data into a first token.

[0107] The first converter sends the first token to the generation model in the generation module. After inference and prediction, the generation model can modify the DSL data corresponding to the first area based on the modification information and generate a second token corresponding to the modified DSL data.

[0108] The generation model sends the second token to the second converter in the generation module. The second converter converts the second token into modified DSL data and sends the modified DSL data to the rendering module.

[0109] The rendering module can convert the modified DSL data into a second interface to realize visualization of the modified DSL data.

[0110] S704: The computing device displays the second interface to the user.

[0111] In the embodiment of the present application, the modified DSL data is visualized by the rendering module to obtain a visualized second interface. In this case, the visualized second interface is presented to the user, which can facilitate the user to determine whether the second interface meets the requirements.

[0112] If the user determines that the second interface meets the requirements, S705 may be executed; otherwise, S706 may be executed.

[0113] S705: The computing device determines the second interface as the third interface based on the feedback information input by the user.

[0114] When the user determines that the second interface meets the requirements, the user may input feedback information indicating that the second interface meets the requirements. The generation module may determine the second interface as the third interface based on the feedback information input by the user.

[0115] Among them, the third interface is the interface that meets the user's requirements.

[0116] S706: The computing device modifies the second interface according to the feedback information input by the user to generate a third interface.

[0117] If the user determines that the second interface does not meet the requirements, the user can input feedback information including modification information corresponding to the second interface. The generation module can modify the second interface based on the feedback information input by the user. The specific process is similar to the above S702-S704 and will not be repeated here.

[0118] In an embodiment of the present application, the user can view the interface generated by the rendering module. When the user determines that the currently output interface meets the requirements, feedback information indicating that the interface meets the requirements is fed back so that the computing device can determine the current interface as the third interface.

[0119] In order to ensure that the interface generated by the computing device is standardized and avoid affecting the user experience due to lack of standardization, in the embodiment of the present application, the computing device can first verify the DSL data based on the design specifications before visualizing the DSL data. If it is determined that the DSL data meets the design specifications, it can be visualized and the corresponding interface can be generated. Figures 9-13 , another interface generation method provided in an embodiment of the present application is introduced.

[0120] like Figure 9 As shown, this figure is a flowchart of the third interface generation method provided in an embodiment of the present application, including S901-S910.

[0121] S901. In response to a user selecting an interface template, the computing device determines the interface template selected by the user as the first interface.

[0122] It is understandable that S901 is the same as the above-mentioned S201 and S701, and will not be repeated here.

[0123] S902: The computing device converts the first interface into DSL data in response to a user operation on a first area of the first interface.

[0124] S903: The computing device modifies the DSL data corresponding to the first area in the first interface according to the modification information input by the user, and obtains the modified DSL data.

[0125] S904: The computing device verifies the modified DSL data based on the design specification.

[0126] like Figure 10 As shown, in the embodiment of the present application, after obtaining the modified DSL data sent by the generation module, the rendering module can send the modified DSL data to the verification module.

[0127] The third converter in the verification module converts the modified DSL data into a third token and sends the third token to the inspection module. The inspection module verifies the third token based on the design specifications in the rule base.

[0128] It is understandable that the design specifications in the rule library can be set through the management background, and the specific content of the design specifications is not specifically limited in the embodiments of the present application.

[0129] like Figure 11 As shown, this figure is a flow chart of adding design rules provided in an embodiment of the present application.

[0130] S4101. The computing device enters the management backend of the human-computer interaction demand acquisition system in response to the user's login operation.

[0131] S4102. The computing device identifies the design specifications in the imported interface in response to the user's operation of importing the interface.

[0132] In one example, after the user imports the generated interface, the computing device can automatically identify the design specifications of the interface, such as the length, width, rounded corners, color, stacking, and layout of the design elements in the interface.

[0133] S4103. The computing device adds new specifications to the design specifications in the interface in response to the new specification information input by the user to obtain the newly added design specifications.

[0134] In an embodiment of the present application, the user can input the newly added information of the specification through voice, text, or voice-to-text conversion to obtain the newly added design specification.

[0135] Among them, the newly added information of the specification may include newly added design specifications.

[0136] like Figure 12 As shown in FIG, this figure is a flowchart of deleting design rules provided in an embodiment of the present application.

[0137] S4201. The computing device enters the management backend of the human-computer interaction demand acquisition system in response to the user's login operation.

[0138] S4202: In response to the user's operation of importing the interface, the computing device identifies the design specifications in the imported interface.

[0139] S4203: In response to the user's deletion operation on the design specification, the computing device deletes the design specification in the interface to obtain an updated design specification.

[0140] In the embodiment of the present application, the user can click on the design specifications to be deleted according to needs to delete the design specifications in the interface and obtain updated design specifications.

[0141] like Figure 13 As shown in FIG, this figure is a flow chart of modifying design rules provided in an embodiment of the present application.

[0142] S4301. The computing device responds to the user's login operation and enters the management background of the human-computer interaction demand acquisition system.

[0143] S4302: In response to the user's operation of importing the interface, the computing device identifies the design specifications in the imported interface.

[0144] S4303. The computing device modifies the design specification in the interface in response to the specification modification information input by the user to obtain a modified design specification.

[0145] In the embodiment of the present application, the user can select the design specification that needs to be modified according to the needs and input the specification modification information. In response to the specification modification information input by the user, the computing device modifies the design specification that needs to be modified selected by the user to obtain the modified design specification.

[0146] In the method provided in the embodiments of the present application, a user can interact with a computing device and instruct the computing device to add new design specifications, or to modify or delete existing design specifications through voice, text, or voice-to-text. Thus, the user can verify the DSL data sent by the rendering module based on one or more of the newly added, updated, and modified design specifications.

[0147] It is understandable that different companies or individuals may have different design specifications for the generated interface. For example, the design specifications may include but are not limited to the length, width, rounded corners, color, stacking, and layout of the design elements.

[0148] If it is determined that the modified DSL data meets the design specification, execute S905; otherwise, execute S906.

[0149] S905: The computing device performs visualization processing on the modified DSL data to obtain a second interface.

[0150] When it is determined that the modified DSL data meets the design specifications, the modified DSL data can be sent to the rendering module through the output module in the verification module, so that the rendering module can visualize the modified DSL data to obtain the second interface.

[0151] S906: The computing device modifies the modified DSL data based on the specification verification information to obtain verified DSL data.

[0152] When it is determined that the modified DSL data meets the design specifications, specification verification information can be output through the output module in the verification module.

[0153] Exemplarily, the specification verification information may include a prompt word, which is used to indicate that data in the modified DSL data does not comply with the design specification. For example, the prompt word may indicate that the length of a design element in the modified DSL data does not comply with the design specification.

[0154] The specification verification information and the modified DSL data are input into the generation module, and the generation module can modify the modified DSL data based on the specification verification information to obtain the verified DSL data.

[0155] S907: The computing device verifies the verified DSL data based on the design specification, and generates a second interface based on the verified DSL data.

[0156] The generation module inputs the verified DSL data into the verification module through the rendering module, and the verification module can verify the verified DSL data again based on the design specifications.

[0157] When it is determined that the verified DSL data meets the design specification, the verified DSL data is input into the rendering module, so that the rendering module performs visualization processing on the verified DSL data to obtain a second interface.

[0158] If it is determined that the verified DSL data does not comply with the design specifications, the specification verification information corresponding to the verified DSL data is output again, so that the generation module can modify the verified DSL data based on the specification verification information corresponding to the verified DSL data, until the verification module determines that the current DSL data complies with the design specifications.

[0159] In this case, the verification module may input the DSL data that meets the design specifications into the rendering module, so that the rendering module may perform visualization processing on the DSL data that meets the design specifications.

[0160] S908: The computing device displays the second interface to the user.

[0161] If the user determines that the second interface meets the requirements, S909 may be executed; otherwise, S910 may be executed.

[0162] S909: The computing device determines the second interface as the third interface based on the feedback information input by the user.

[0163] If the user determines that the second interface meets the requirements, the user may input feedback information indicating that the second interface meets the requirements, and the generation module may determine the second interface as the third interface based on the feedback information input by the user, wherein the third interface is the interface that meets the user requirements.

[0164] S910: The computing device modifies the second interface according to feedback information input by the user to generate a third interface.

[0165] It is understandable that S908-S910 are similar to the above-mentioned S904-S907 and will not be described in detail here.

[0166] In summary, in the method provided in the embodiments of the present application, a user can generate a second interface by interacting with a computing device, and can then instruct the computing device to generate a third interface that meets the user's needs based on the second interface by inputting modification information. Because the process of generating the third interface replaces the process of communicating, conveying, and issuing the required information between people with human-computer interaction, information loss or distortion during the communication, conveying, and issuing process is avoided, and an interface that meets the user's needs can be generated.

[0167] At the same time, by verifying the DSL data based on the design specifications before visualizing the data, the computing device can visualize the DSL data and generate the corresponding interface if it is determined that the DSL data meets the design specifications. This ensures the standardization of the interface generated by the computing device, avoids the user experience being affected by the lack of standardization, and ensures the overall consistency of the team.

[0168] This application provides an interface generation device, see Figure 14 This figure is a structural schematic diagram of an interface generation device provided in an embodiment of the present application. Its specific implementation method is consistent with the implementation method and the technical effect achieved in the embodiment of the above method, and some contents will not be repeated here.

[0169] The embodiment of the present application provides an interface generation device 1400, including:

[0170] Determining unit 1401, modifying unit 1402 and obtaining unit 1403;

[0171] The determining unit 1401 is configured to, in response to a user selecting an interface template, determine the interface template selected by the user as the first interface;

[0172] The modifying unit 1402 is configured to modify the first area in the first interface according to modification information input by the user in response to the user's operation on the first area, thereby obtaining a second interface;

[0173] The obtaining unit 1403 is configured to obtain a third interface in response to user feedback information on the second interface.

[0174] In the embodiment of the present application, the user can generate a second interface by interacting with the computing device, and can then instruct the computing device to generate a third interface that meets the user's needs based on the second interface by inputting modification information. The method provided in the embodiment of the present application replaces the process of human-to-human communication, transmission, and issuance of required information in the process of generating the third interface with human-computer interaction, thus avoiding the loss or distortion of information during the communication, transmission, and issuance process, and can generate an interface that meets the user's needs.

[0175] In a possible implementation, the obtaining unit is specifically configured to:

[0176] In a case where the feedback information indicates that the second interface meets the user's requirements, the second interface is determined as the third interface in response to the user's feedback information on the second interface.

[0177] In a possible implementation, the obtaining unit is specifically configured to:

[0178] In the case where the feedback information includes modification information corresponding to the second interface, in response to the user's feedback information on the second interface, the second interface is modified to obtain the fourth interface; in response to the user's feedback information on the fourth interface, the third interface is obtained.

[0179] In the embodiment of the present application, the user can interact with the computing device multiple times and guide the computing device to modify the current interface through feedback information until a third interface that meets the user's needs is generated.

[0180] In a possible implementation, the modification unit is specifically configured to:

[0181] In response to a user operation on a first area in the first interface, the first area in the first interface is converted into DSL data; and the DSL data corresponding to the first interface is modified according to modification information input by the user to obtain a second interface.

[0182] In the embodiment of the present application, by converting the first area in the first interface into DSL data, subsequent processing of the DSL data is facilitated, thereby improving the efficiency of interface generation.

[0183] In a possible implementation, the modification unit is specifically configured to:

[0184] The DSL data corresponding to the first area in the first interface is modified according to the modification information input by the user to obtain the modified DSL data; and the modified DSL data is visualized to obtain the second interface.

[0185] In a possible implementation, the modification unit is specifically configured to:

[0186] Based on the design specification, the modified DSL data is verified; if it is determined that the modified DSL data meets the design specification, the modified DSL data is visualized to obtain a second interface.

[0187] In the embodiment of the present application, the modified DSL data is verified to avoid the lack of standardization in the interface generated by the computing device, to avoid too many angles affecting the user experience, and to ensure the overall consistency of the team.

[0188] In a possible implementation, the modifying unit is further configured to:

[0189] If it is determined that the modified DSL data does not comply with the design specification, the modified DSL data is modified based on the specification verification information to obtain verified DSL data; the verified DSL data is verified based on the design specification; if it is determined that the verified DSL data complies with the design specification, the verified DSL data is visualized to obtain a second interface.

[0190] In the embodiment of the present application, the modified DSL data is verified. If it is determined that the modified DSL data does not comply with the design specifications, the modified DSL data is modified based on the specification verification information to avoid the problem of lack of standardization in the interface generated by the computing device, avoid affecting the user experience from too many angles, and ensure the overall consistency of the team.

[0191] In a possible implementation, the modification unit is specifically configured to:

[0192] In response to the user's operation on the first area in the first interface, the first area is modified based on the modification information input by the user based on the generation model to obtain the second interface; the generation model is trained based on multiple interface templates and modification information.

[0193] In the embodiment of the present application, a second interface can be generated based on the generation model, replacing the process of communicating, conveying, and issuing demand information between people with human-computer interaction, avoiding the loss or distortion of information during the communication, conveying, and issuing process, and generating an interface that meets user needs.

[0194] In a possible implementation, the determining unit is specifically configured to:

[0195] According to the user's login information, the user's historical interface generation data and / or user portrait are obtained; in response to the user's selection of an interface template, the interface template selected by the user is modified based on the historical interface generation data and / or user portrait to obtain a modified interface template; and the modified interface template is determined as the first interface.

[0196] In the embodiment of the present application, the modified interface template is more in line with the user's style than the original interface template. Based on the modified interface template that is more in line with the user's style, the amount of modification to the modified interface template can be effectively reduced during the generation of the third interface, thereby improving the efficiency of interface generation.

[0197] like Figure 15 As shown in FIG, this figure is a schematic diagram of the structure of a computing device provided in an embodiment of the present application. In this embodiment, the computing device can be a server, which can include but is not limited to a cabinet server, a rack server, a blade server, etc., or a general-purpose server, a GPU server, a DPU server, etc., without limitation.

[0198] The computing device includes a memory 1501, a processor 1502 and a communication interface 1503; wherein the memory 1501 stores computer instructions, and the processor 1502 is used to execute the computer instructions, so that the computing device performs the steps of an interface generation method shown above.

[0199] In some embodiments, the processor 1502 may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.

[0200] In some embodiments, the memory 1501 may be a volatile memory or a non-volatile memory, such as a register. Specifically, a volatile memory refers to a memory in which the data stored therein will be lost when the power supply is interrupted. Among them, the volatile memory is mainly a random access memory (RAM), including a static random access memory (SRAM) and a dynamic random access memory (DRAM). A non-volatile memory refers to a memory in which the data stored therein will not be lost even if the power supply is interrupted. Common non-volatile memories include read-only memory (ROM), optical disks, magnetic disks, solid-state hard disks, and various memory cards based on flash memory technology.

[0201] In some embodiments, the memory 1501 has executable code, and the processor 1502 executes the code. The bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of understanding, Figure 15 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.

[0202] The above is merely one specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A method for generating an interface, characterized in that: include: In response to a user selecting an interface template, determining the interface template selected by the user as the first interface; In response to a user operation on a first area in the first interface, modify the first area according to modification information input by the user to obtain a second interface; In response to user feedback on the second interface, a third interface is obtained.

2. The method according to claim 1, characterized in that The obtaining of the third interface in response to user feedback on the second interface includes: In a case where the feedback information indicates that the second interface meets the user's requirements, the second interface is determined as the third interface in response to the user's feedback information on the second interface.

3. The method according to claim 1, characterized in that The obtaining of the third interface in response to user feedback on the second interface includes: In a case where the feedback information includes modification information corresponding to the second interface, in response to the user's feedback information on the second interface, modify the second interface to obtain a fourth interface; In response to user feedback information on the fourth interface, a third interface is obtained.

4. The method according to claim 1, wherein In response to the user's operation on the first area in the first interface, modifying the first area according to the modification information input by the user to obtain the second interface includes: In response to a user operation on a first area in the first interface, converting the first interface into domain definition model language (DSL) data; The DSL data corresponding to the first area in the first interface is modified according to the modification information input by the user to obtain a second interface.

5. The method according to claim 4, characterized in that The step of modifying the DSL data corresponding to the first area in the first interface according to the modification information input by the user to obtain the second interface includes: Modify the DSL data corresponding to the first area in the first interface according to the modification information input by the user to obtain the modified DSL data; Visualization processing is performed on the modified DSL data to obtain a second interface.

6. The method according to claim 4, characterized in that The visualizing the modified DSL data to obtain a second interface includes: Verifying the modified DSL data based on design specifications; When it is determined that the modified DSL data meets the design specification, the modified DSL data is visualized to obtain a second interface.

7. The method according to claim 6, characterized in that After verifying the modified DSL data based on the design specification, the method further includes: If it is determined that the modified DSL data does not comply with the design specification, modify the modified DSL data based on the specification verification information to obtain verified DSL data; Verifying the verified DSL data based on design specifications; When it is determined that the verified DSL data meets the design specification, the verified DSL data is visualized to obtain a second interface.

8. The method according to any one of claims 1 to 7, characterized in that In response to the user's operation on the first area in the first interface, modifying the first area according to the modification information input by the user to obtain the second interface includes: In response to the user's operation on the first area in the first interface, the first area is modified based on the modification information input by the user based on the generation model to obtain the second interface; the generation model is trained based on multiple interface templates and modification information.

9. The method according to any one of claims 1 to 7, characterized in that In response to the user selecting the interface template, determining the interface template selected by the user as the first interface includes: Obtain the user's historical interface generation data and / or user profile based on the user's login information; In response to a user's selection of an interface template, modifying the interface template selected by the user based on the historical interface generation data and / or the user portrait to obtain a modified interface template; The modified interface template is determined as the first interface.

10. A computing device, characterized in that The computing device includes: a processor and a memory; The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the steps of an interface generation method as described in any one of claims 1 to 9 according to the instructions in the program code.