Page code generation method and device, electronic equipment and storage medium

By configuring the page design draft in the editing engine, a rendering configuration file is generated and compiled into Flutter code. This solves the problems of prolonged development process due to manual code writing and poor controllability of AI-generated code, achieving efficient and controllable code generation and expanding the applicable scenarios.

CN116304442BActive Publication Date: 2026-07-24DOUYIN VISION CO LTD
2 Cites 0 Cited by

Patent Information

Application Number
CN202111573834.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-21
Publication Date
2026-07-24
Estimated Expiration
2042-01-21

AI Technical Summary

Technical Problem

In existing technologies, manually writing code prolongs the application development process and reduces development efficiency, while AI-generated code has poor controllability and a low pass rate.

Method used

By configuring the page design drafts in the editing engine, multiple rendering configuration files are generated, and the target Flutter code is compiled using the Flutter engine, improving code quality and development efficiency.

Benefits of technology

It improved the pass rate of generated code, expanded the applicable scenarios of the code, and improved the efficiency of page-to-code conversion through an intuitive configuration method.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The present disclosure provides a page code generation method and device, electronic equipment and storage medium, wherein the method comprises: determining a page design draft, wherein the page design draft comprises a plurality of view controls; in response to a configuration operation on the page design draft, a target configuration page comprising a to-be-configured item is displayed, and an editing operation on the to-be-configured item is received to determine configuration information of the corresponding to-be-configured item; the configuration data corresponding to the to-be-configured item is associated with rendering data of the page design draft; a plurality of rendering configuration files are generated based on the configuration information; wherein different rendering configuration files correspond to different types of to-be-configured items; a target Flutter code is generated based on the plurality of rendering configuration files, and the target Flutter code is sent to a Flutter engine for compilation to obtain at least one compilation result of the page design draft; wherein different compilation results are used for display on different system platforms.
Need to check novelty before this filing date? Find Prior Art