一种用户界面配置方法、装置及存储介质

By creating a user interface theme in the database and matching the installation package in the npm private repository, the current theme interface is generated through parsing and configuration. This solves the redundancy problem of manually writing UI theme specifications by the project team, enables online configuration and deployment, and reduces the workload of project development.

CN116909674BActive Publication Date: 2026-07-17广域铭岛数字科技有限公司 +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
广域铭岛数字科技有限公司
Filing Date
2023-08-08
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

When the enterprise UI theme specification is iterated and updated, each project team needs to manually write the code for the latest UI theme specification, which leads to an increase in redundant workload.

Method used

By creating user interface themes and storing them in a database, matching the theme name and description with historical installation packages in the npm private repository, parsing the strings for rendering and configuration, generating the current theme interface, configuring it based on preset theme specifications, and finally compiling the configuration results into a new installation package and publishing it to the npm private repository.

Benefits of technology

It reduces redundant work for project teams in configuring UI themes, enabling online configuration and deployment through user operations, reducing repetitive work for programmers, and making it easier for project teams to adapt to the latest UI theme specifications of the enterprise.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116909674B_ABST
    Figure CN116909674B_ABST
Patent Text Reader

Abstract

本发明涉及用户界面开发领域,公开了一种用户界面配置方法、装置及存储介质,该方法通过创建用户界面主题,并将所对应的主题信息存储于数据库中;根据主题名称与主题描述对npm私库内安装包进行匹配,获取对应的历史安装包;解析历史安装包提取第一字符串,并根据第一字符串对用户界面主题进行渲染,生成当前主题界面,字符串为json字符串;基于预设主题规范对当前主题界面进行配置,获得当前主题版本,并将当前主题版本及当前版本号存储于数据库的版本信息;提取当前主题版本的第二字符串,将第二字符串编译封装成新安装包发布到npm私库。用户在网站上直接完成当前主题的配置,并在npm私库中进行当前主题版本的发布,减少了用户界面配置的冗余工作。
Need to check novelty before this filing date? Find Prior Art