Front-end page generation method and device, computer device and storage medium

By identifying and filtering redundant elements generated by transcoding tools, the problem of code redundancy was solved, the loading speed of front-end pages and code readability were improved, and efficient code optimization and maintenance were achieved.

CN122331898APending Publication Date: 2026-07-03CHINA PING AN LIFE INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA PING AN LIFE INSURANCE CO LTD
Filing Date
2026-06-02
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

Existing transcoding tools generate a large amount of redundant style code when generating front-end page code, which increases the size of the code file, affects page loading performance, and reduces code readability and maintainability.

Method used

By recognizing regular expressions for different development element types, redundant elements generated by transcoding tools are automatically identified and filtered out, resulting in optimized component development files. A pseudo-selector rule base is used to process pseudo-selectors, ensuring the integrity of interactive effects.

Benefits of technology

It reduces code file size, improves page loading speed and code readability and maintainability, reduces the workload and error rate of manual optimization, and improves development efficiency and code quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122331898A_ABST
    Figure CN122331898A_ABST
Patent Text Reader

Abstract

This invention relates to the field of artificial intelligence technology and discloses a front-end page generation method, apparatus, computer device, and storage medium. The method includes: obtaining a component development file corresponding to a page design source file, wherein the component development file is a front-end page development file generated after the page design source file is transcoded using a transcoding tool; identifying redundant elements in the component development file based on a recognition method corresponding to different development element types, wherein the redundant elements include unreferenced development elements; filtering out redundant code corresponding to the redundant elements in the component development file to generate an optimized component development file; and generating a front-end page corresponding to the page design source file based on the optimized component development file. This method can be applied to front-end page generation scenarios in fintech and healthcare, reducing the file size of the component development file generated after transcoding by the transcoding tool, thereby improving the loading speed of the front-end page.
Need to check novelty before this filing date? Find Prior Art