Interactive interface code generation method and device, equipment and storage medium
A technology of interactive interface and code generation, which is applied in software engineering design, instrumentation, electrical digital data processing, etc., and can solve problems such as codes consume a lot of time and are prone to errors
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] figure 1 It is a flow chart of a code generation method for an interactive interface according to an embodiment of the present invention. This embodiment can be applied to the case of processing the code of the interactive interface. The method can be executed by a device that generates the code for the interactive interface. The means of the code can be realized by means of software and / or hardware. Such as figure 1 As shown, the method specifically includes:
[0031] S110. Obtain the elements in each control in the interactive interface, and receive the variable information in the code of each element input from the outside.
[0032] In the embodiment of the present invention, the interactive interface identifies the user's input information and operation process, and provides messages to the user after processing for reading and analysis. Wherein, the interactive interface may be, but not limited to, a command language user interface, a graphical user interface, a...
Embodiment 2
[0048] figure 2 It is a flow chart of the code generation method for the interactive interface in Embodiment 2 of the present invention, and this embodiment is further optimized on the basis of the foregoing embodiments. Such as figure 2 As shown, the method includes:
[0049] S210. Invoking the code editor to display a code editing page.
[0050] In the embodiment of the present invention, based on the variable information corresponding to each element in each control in the interactive interface to be obtained in the code, the code editor is invoked and a code editing page is displayed. Such as image 3 As shown, the code editing page includes the type of the interactive interface, the display box of each element to be edited, and the information input box corresponding to each element. The information input box on the code editing page can input the corresponding value of any element in the code. variable information.
[0051] Optionally, the code editor includes at ...
Embodiment 3
[0064] Figure 4 It is a flow chart of the code generation method of the interactive interface in the third embodiment of the present invention, and this embodiment is further optimized on the basis of the above-mentioned embodiments. Such as Figure 4 As shown, the method includes:
[0065] S310. Obtain the elements in each control in the interactive interface, and receive the variable information in the code of each element input from the outside.
[0066] S320. Determine path information of each element based on the affiliation relationship between the elements and the affiliation relationship between the element and the control.
[0067] S330. Call the corresponding initial code based on the type information of each element.
[0068] S340. Determine that the type information of the element is the button type, and call a click response function.
[0069] In the embodiment of the present invention, the code editor is invoked, and the corresponding position in the code ed...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com