A code generation method, apparatus, device, medium, and product

CN122308844APending Publication Date: 2026-06-30INSPUR SUZHOU INTELLIGENT TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
INSPUR SUZHOU INTELLIGENT TECH CO LTD
Filing Date
2026-05-28
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

In the current front-end development process, the ability to describe interaction logic is insufficient, design and development are disconnected, and there is a lack of formal representations that can be parsed by machines, resulting in low development efficiency, difficulty in guaranteeing quality, and high maintenance costs.

Method used

The design data of the front-end application is transformed into a structured dataset, an attributed state transition graph is constructed, development code is generated based on this graph, and automated code generation is achieved using a pre-trained language model.

Benefits of technology

It has enabled automated and standardized output of front-end development, improved development quality and efficiency, and reduced communication and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122308844A_ABST
    Figure CN122308844A_ABST
Patent Text Reader

Abstract

This application discloses a code generation method, apparatus, device, medium, and product, relating to the field of application development. The method includes converting front-end application design data into a structured dataset containing page element information, initial interaction topology, and visual design specifications, addressing the problem of insufficient interaction logic description capabilities. It then converts this data into an attributed state transition diagram, describing the complete interaction attributes of the front-end application's page-to-page interaction from pre-interaction preparation to the completion of the interaction's effect, replacing vague natural language descriptions and achieving machine-analyzable interaction logic, bridging the information gap between design and implementation. Finally, it combines a pre-trained language model to directly generate front-end development code, achieving automated and standardized output from design to code, addressing the lack of machine-analyzable formal representation of front-end interaction logic, thereby improving front-end development efficiency and code quality, and reducing communication and maintenance costs.
Need to check novelty before this filing date? Find Prior Art