Method, system and medium for generating intelligent terminal dynamic UI framework based on AI agent

By generating a dynamic UI framework for smart terminals through AI intelligent agents, users can interactively design and generate JSON configuration data, simulate and adjust the UI framework, and solve the problems of poor flexibility and high iteration costs in UI pattern management in existing technologies, thus achieving fast and low-cost UI customization.

CN122450563APending Publication Date: 2026-07-24SHENZHEN JIUZHOU ELECTRIC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610585137.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-04-29
Publication Date
2026-07-24

AI Technical Summary

Technical Problem

Existing UI mode management and dynamic update solutions for smart terminals suffer from poor flexibility, weak configuration capabilities, high development dependence, and high iteration costs, failing to meet operators' needs for rapid response to market activities and personalized user demands.

Method used

By generating a dynamic UI framework for smart terminals through an AI agent, users can interactively design the UI framework. The AI ​​agent identifies and generates JSON configuration data, simulates and adjusts the UI framework, and the terminal displays the target UI framework, enabling rapid customization and reducing engineer intervention.

Benefits of technology

It enables fast and low-cost UI customization, reduces development dependencies, and improves the flexibility and efficiency of UI updates. Users can customize the UI themselves without the need for additional engineers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122450563A_ABST
    Figure CN122450563A_ABST
Patent Text Reader

Abstract

The application discloses a method and system for generating an intelligent terminal dynamic UI framework based on an AI agent and a medium, relates to the technical field of UI dynamic configuration and mode management, and can quickly generate a required UI framework design drawing by guiding a user through AI agent interactive mode, can decompose corresponding json format instructions (first json configuration data) from the UI framework design drawing, can generate corresponding applications through a simulator, and can be directly operated and used or changed and adjusted by a customer, so that a target UI framework is finally obtained, the target UI framework is displayed by a terminal, quick UI customization is achieved, and no additional intervention of engineers is needed, and only part of computing power support is needed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of UI dynamic configuration and mode management technology, specifically to a method, system, and medium for generating a dynamic UI framework for smart terminals based on AI intelligent agents. Background Technology

[0002] Currently, most smart terminal launchers or portals on the market support multiple user interface (UI) modes, such as classic mode, fashion mode, senior mode, and children's mode. These modes typically have a fixed UI display architecture (such as layout, control styles, and interaction logic) predefined in the software, while the specific content within the mode (such as application icons, recommendation slots, and background images) can be adjusted to a limited extent through backend configuration. When it is necessary to add a new mode (such as a "holiday mode") or temporarily change the overall UI style for specific dates (such as holidays or events), existing solutions often require extensive modifications and redevelopment of the smart terminal client software, involving changes to layout files, style sheets, image resources, and even code-level changes to interaction logic, resulting in long development cycles and high costs.

[0003] To alleviate this issue, some manufacturers offer front-end configuration capabilities, allowing operators to adjust certain UI elements (such as background images, color themes, and the visibility of certain entry points) within the back-end management system. However, such configuration capabilities are typically limited to a few preset variable parameters, and the configuration process is complex, unintuitive, and requires operators' personnel to possess advanced technical skills. More importantly, if operators wish to implement UI customizations beyond the preset scope (such as changing the overall layout structure, adding special animations, or adjusting mode switching logic), deep involvement from manufacturer engineers is still required for code-level customization development and version release. This makes the update and iteration of smart terminal UIs heavily reliant on manufacturer resources, with update cycles often measured in months or quarters, failing to meet operators' actual needs for rapid response to marketing activities, holiday promotions, or personalized user demands.

[0004] In summary, existing UI mode management and dynamic update solutions for smart terminals suffer from problems such as poor flexibility, weak configuration capabilities, high development dependence, and high iteration costs. There is an urgent need for a low-cost, high-efficiency UI update method that is easy for operators to customize. Summary of the Invention

[0005] To address the shortcomings of existing smart terminal UI mode management and dynamic update solutions, such as poor flexibility, weak configuration capabilities, high development dependency, and high iteration costs, this invention aims to provide a method, system, and medium for generating dynamic UI frameworks for smart terminals based on AI agents. The AI ​​agent interactively guides users to quickly generate the required UI framework design. The AI ​​agent identifies and decomposes the corresponding JSON-formatted instructions (first JSON configuration data) from the UI framework design, and then generates the corresponding application through a simulator. Customers can directly operate, use, or modify the application to obtain the target UI framework. The terminal then displays the target UI framework, enabling rapid UI customization without the need for additional engineers, requiring only partial computing power.

[0006] The above-mentioned technical objective of the present invention is achieved through the following technical solution: This solution provides a method for generating a dynamic UI framework for smart terminals based on AI intelligent agents. The method includes: Obtain the UI framework design drawing and send it to the AI ​​agent; the UI framework design drawing is a preset UI framework design drawing or a UI framework design drawing generated based on the AI ​​agent. The AI ​​agent analyzes the UI elements and framework in the UI framework design diagram and generates the first JSON configuration data. The AI ​​agent simulates the first UI dynamic framework based on the first JSON configuration data and the APK application. The user sends an adjustment instruction to the AI ​​agent for the first UI dynamic framework, and the AI ​​agent adjusts the first UI dynamic framework accordingly to generate the UI framework design. The user sends a fill command to the AI ​​agent, and the AI ​​agent fills in the UI framework design according to the adjustment command to obtain the complete UI framework design. The AI ​​agent generates second JSON configuration data based on a complete UI framework design. The AI ​​agent simulates a second dynamic UI framework based on the second JSON configuration data and the APK application. The user sends an adjustment instruction to the AI ​​agent for the second dynamic UI framework, and the AI ​​agent adjusts the second dynamic UI framework accordingly to obtain the target UI framework. The target UI framework is pushed or deployed to the terminal, and the terminal displays the target UI framework.

[0007] A further optimization is that the method for generating the UI framework design diagram based on the AI ​​intelligent agent includes: The user sends layout instructions for the UI framework to the AI ​​agent, which then generates a static diagram of the UI framework based on the layout instructions. The user sends adjustment instructions to the AI ​​agent based on the static image of the generated UI framework. The AI ​​agent then adjusts the static image accordingly to generate the final UI framework design.

[0008] A further optimization is that the AI ​​agent includes a pre-trained UI element recognition network and a UI element configuration conversion network; The UI element recognition network is used to identify different blocks and different UI elements on the UI interface; The UI element configuration conversion network is used to convert the JSON configurations of different UI elements to each other.

[0009] A further optimization is that after generating the first JSON configuration data and the second JSON configuration data, the AI ​​agent stores the first JSON configuration data and the second JSON configuration data in the context data to learn the user's preferences.

[0010] A further optimization scheme is that the first dynamic UI framework and the second dynamic UI framework are application interfaces that can be dynamically operated; the AI ​​intelligent agent presets example images or example URLs to fill and simulate the first dynamic UI framework and the second dynamic UI framework.

[0011] A further optimization is that the AI ​​agent is configured with first context data and second context data, where the first context data is the UI framework context and the second context data is the content context; the content context includes default content, which is used to correspond to the display results of the UI framework. The AI ​​agent generates first JSON configuration data and second JSON configuration data based on first context data and second context data.

[0012] A further optimized solution is that the method for displaying the target UI framework on the terminal includes: The terminal receives the target UI framework. If the version of the target UI framework is greater than the version on the terminal's local machine, the terminal downloads the JSON configuration and content materials that match the target UI framework. After the terminal download is complete, the JSON configuration and content materials are updated simultaneously. At the same time, the corresponding activity page is loaded in the background. After the corresponding activity page is loaded in the background, the activity page is brought to the forefront and the old activity page that was brought to the forefront is destroyed.

[0013] A further optimization involves the terminal drawing the target UI framework based on JSON configuration, and then reporting the drawing to the AI ​​agent after completion.

[0014] This solution also provides a system for generating a dynamic UI framework for smart terminals based on AI agents, used to implement the above-mentioned method for generating a dynamic UI framework for smart terminals based on AI agents. The system includes: a user terminal, an AI agent, and a terminal. The user terminal is used to obtain the UI framework design diagram and send the UI framework design diagram to the AI ​​intelligent agent; the UI framework design diagram is a preset UI framework design diagram or a UI framework design diagram generated based on the AI ​​intelligent agent; The AI ​​agent analyzes the UI elements and framework in the UI framework design diagram and generates the first JSON configuration data. The AI ​​agent simulates the first UI dynamic framework based on the first JSON configuration data and the APK application. The user sends an adjustment instruction to the AI ​​agent for the first UI dynamic framework. The AI ​​agent then adjusts the first UI dynamic framework accordingly based on the adjustment instruction to generate the UI framework design. The user sends a fill command to the AI ​​agent, and the AI ​​agent fills in the UI framework design accordingly based on the adjustment command to obtain the complete UI framework design. The AI ​​agent generates a second JSON configuration data based on a complete UI framework design. The AI ​​agent simulates a second dynamic UI framework based on the second JSON configuration data and the APK application. The user sends an adjustment instruction to the AI ​​agent for the second dynamic UI framework, and the AI ​​agent adjusts the second dynamic UI framework accordingly to obtain the target UI framework. The target UI framework is pushed or deployed to the terminal, and the terminal displays the target UI framework.

[0015] This solution also provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, can implement the method described above for generating a dynamic UI framework for a smart terminal based on an AI agent.

[0016] Compared with the prior art, the present invention has the following beneficial effects: 1. This invention provides a method, system, and medium for generating a dynamic UI framework for a smart terminal based on an AI agent. The AI ​​agent interactively guides the user to quickly generate the required UI framework design. The AI ​​agent identifies and decomposes the corresponding JSON-formatted instructions (first JSON configuration data) from the UI framework design. Then, a simulator generates the corresponding application, which the customer can directly operate, use, or modify to obtain the target UI framework. The terminal then displays the target UI framework, enabling rapid UI customization without the need for additional engineers, requiring only partial computing power. Attached Figure Description

[0017] To more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of the present invention and should not be considered as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort. In the drawings: Figure 1 A flowchart illustrating the method for generating a dynamic UI framework for smart terminals based on AI agents; Figure 2 A schematic diagram illustrating the process of displaying the target UI framework to the terminal; Figure 3 A schematic diagram illustrating the process of generating UI framework design diagrams; Figure 4 A schematic diagram of a system for generating dynamic UI for smart terminals based on AI intelligent agents; Figure 5 A schematic diagram illustrating the process of displaying the target UI framework on the terminal; Figure 6 A schematic diagram of the system architecture for generating a dynamic UI framework for smart terminals based on AI intelligent agents. Detailed Implementation

[0018] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments and accompanying drawings. The illustrative embodiments and descriptions of the present invention are only used to explain the present invention and are not intended to limit the present invention.

[0019] Existing UI mode management and dynamic update solutions for smart terminals suffer from problems such as poor flexibility, weak configuration capabilities, high development dependence, and high iteration costs. This solution provides the following embodiments to address the above technical problems.

[0020] Example 1

[0021] This embodiment provides a method for generating a dynamic UI framework for smart terminals based on AI intelligent agents, such as... Figure 1 and Figure 2 As shown, the method includes: Step 1: Obtain the UI framework design diagram and send it to the AI ​​agent; the UI framework design diagram is a preset UI framework design diagram or a UI framework design diagram generated based on the AI ​​agent. In step one, Figure 3 As shown, the method for generating UI framework design diagrams based on AI intelligent agents includes: S11, the user sends a layout instruction for the UI framework to the AI ​​agent, and the AI ​​agent generates a static diagram of the UI framework according to the layout instruction; S12, the user sends an adjustment command to the AI ​​agent based on the static image of the generated UI framework. The AI ​​agent then adjusts the static image accordingly based on the adjustment command, and finally generates the UI framework design image.

[0022] The AI ​​agent communicates with the client and guides them in designing the application's UI framework. For example, it prompts the user on where to place the navigation bar, its size, whether it should be horizontal or vertical, and how many tabs to include, generating static UI framework design diagrams as the communication progresses.

[0023] If customers do not want to draw their own designs using AI assistants, they can directly import the UI framework design into the AI ​​assistant.

[0024] Step two: The AI ​​agent analyzes the UI elements and framework in the UI framework design diagram and generates the first JSON configuration data. The AI ​​agent includes a pre-trained UI element recognition network and a UI element configuration conversion network. The UI element recognition network is used to identify different blocks and different UI elements on the UI interface. The UI element configuration conversion network is used to convert the JSON configurations of different UI elements to each other.

[0025] In step two, users can observe the approximate effect based on real-time static images. Then, through communication, the AI ​​intelligently saves the corresponding design configuration JSON file to the context database. This context database is permanently stored to facilitate understanding of the client's previous communication methods, corresponding UI preferences, and design history, thereby better guiding the creation of design solutions.

[0026] Step 3: The AI ​​agent simulates the first UI dynamic framework based on the first JSON configuration data and the APK application; After the user confirms the UI framework design, they can activate the simulation function. Through configuration, a dynamically operable application interface can be generated. In this embodiment, the APK application is the same as the APK application used on the terminal, so the simulated effect is consistent with the actual effect. The content data filled in the simulated application consists of pre-set example images or example URLs within the AI ​​agent. The AI ​​agent automatically adapts to the corresponding example images, providing the corresponding effect display. Users don't need to repeatedly select content, wasting time on content selection; they can simply and conveniently see the corresponding effect.

[0027] Step 4: The user sends an adjustment instruction for the first UI dynamic framework to the AI ​​agent, and the AI ​​agent adjusts the first UI dynamic framework accordingly to generate the UI framework design. During the UI framework design process, users can continue to communicate with the AI ​​agent. If the AI ​​agent misunderstands something, the user can correct it by adjusting the instructions. At the same time, the AI ​​agent will record the context and enhance the filtering of misunderstandings to avoid such errors in the future. After each correction, several steps will be repeated, and users can view the effect of their design in real time.

[0028] Step 5: The user sends a fill command to the AI ​​agent, which fills in the UI framework design according to the adjustment command to obtain the complete UI framework design. After the user finalizes the UI framework design, the AI ​​will guide the user to select the corresponding content files for controls, backgrounds, etc., that need to be filled with content.

[0029] The AI ​​agent is configured with first context data and second context data. The first context data is the UI framework context, and the second context data is the content context. The content context includes default content that corresponds to the display results of the UI framework. After the population is complete, the AI ​​will only change the context of the content based on the latest complete layout. The content context will have a default content for the corresponding UI framework to display the result. After the user selects the content, the new context for this UI template will be updated in the content context. The two contexts together generate a complete JSON configuration file. This process separates the content and UI design, and the management of content and UI are decoupled, making it very easy to generate.

[0030] Step six: The AI ​​agent generates second JSON configuration data based on the complete UI framework design; After generating the first and second JSON configuration data, the AI ​​agent stores the first and second JSON configuration data in the context data to learn the user's preferences.

[0031] Step 7: The AI ​​agent simulates a second dynamic UI framework based on the second JSON configuration data and the APK application; In steps three and seven, the first and second dynamic UI frameworks are dynamically operable application interfaces; the AI ​​agent presets example images or example URLs to fill and simulate the first and second dynamic UI frameworks. Since the UI frameworks will eventually be filled with specific content data, simulating the first and second dynamic UI frameworks only fills in example images, without requiring the user to select the final content.

[0032] Step 8: The user sends an adjustment instruction for the second dynamic UI framework to the AI ​​agent, and the AI ​​agent adjusts the second dynamic UI framework accordingly to obtain the target UI framework. The generated second JSON configuration data will be simulated again in the APK emulator. Users can dynamically use the emulator to confirm whether the final generated version is what they need. If there are any problems, they can modify it in real time without having to push it to the terminal to know the effect.

[0033] Step 9: Push or deploy the target UI framework to the terminal, and the terminal displays the target UI framework.

[0034] like Figure 4 and Figure 5 As shown, the method for displaying the target UI framework on the terminal includes: S91, (The terminal first connects to the front end to obtain authorization, and the terminal reports the current UI version) The terminal receives the target UI framework. If the version of the target UI framework is greater than the version of the terminal's local version, the terminal downloads the JSON configuration and content materials that match the target UI framework. S92 updates JSON configuration and content assets simultaneously after the terminal download is complete, while loading the corresponding activity page in the background. Once the activity page is fully loaded, it is brought to the forefront, and the previously brought-to-the-foreground activity page is destroyed. This solution provides users with a seamless, one-time update experience, eliminating the lag associated with gradual updates. Typically, page loading involves significant data loading time, causing noticeable lag for end users. This solution addresses this issue, providing a significantly improved user experience.

[0035] The terminal uses JSON configuration to draw the target UI framework and then reports it to the front end after drawing.

[0036] After the user confirms the target UI framework, the AI ​​will prompt the user which terminals to push the application to. The user can deploy the application according to the region or serial number and can also know the current deployment status on the terminals.

[0037] The terminal application APK and the front-end APK use the same container, both rendering the UI and corresponding content assets based on JSON configuration. The only difference is that the terminal application APK comes with a default JSON configuration, ensuring that the terminal still has a UI and basic functionality even before obtaining the latest data from the front-end.

[0038] The user and the AI ​​agent form the front end. This AI agent is specifically trained and provides very clear guidance on UI interface segments. Trained on a large amount of diverse data, it is highly accurate in recognizing UI elements such as backgrounds, icons, navigation bars, app sections, and interactive advertising panels. Simultaneously, the agent is also specifically trained to accurately convert the JSON configurations of various UI elements. The converted configuration is then run in a local container simulating an APK, allowing users to immediately experience the effects of their modifications. If the results are unsatisfactory, users can communicate with the AI ​​agent via voice or text to discuss necessary adjustments and then regenerate the JSON configuration.

[0039] The AI ​​agent guides the client in UI design (UI framework design diagram) and generates static images (UI framework design diagram) for reference. The AI ​​agent also saves the JSON configuration of the UI framework design diagram into the corresponding UI context. Any modifications made by the client are saved in the corresponding context and marked with special tags. After the user completes the modifications, a dynamically usable simulation is generated based on the APK application. The client then confirms and modifies the design again. After confirmation, the AI ​​agent guides the client to fill in the content. Once the content is filled in, another dynamically generated simulation application is sent to the client for confirmation. Finally, after the client confirms, the UI and content configuration are sent to the terminal as JSON data. This solution allows an inexperienced client to quickly configure the required UI display interface, significantly saving time and development costs. Furthermore, in this embodiment, the AI ​​agent can be deployed locally without the need for a token. Through user experience, it will gradually optimize itself based on the context, enhancing communication with the client and its understanding of UI designs.

[0040] Example 2

[0041] This embodiment provides a system for generating a dynamic UI framework for smart terminals based on AI intelligent agents, used to implement the method for generating a dynamic UI framework for smart terminals based on AI intelligent agents described in Embodiment 1, such as... Figure 6 As shown, the system includes: a user terminal, an AI agent, and a terminal; The user terminal is used to obtain the UI framework design diagram and send the UI framework design diagram to the AI ​​intelligent agent; the UI framework design diagram is a preset UI framework design diagram or a UI framework design diagram generated based on the AI ​​intelligent agent; The AI ​​agent analyzes the UI elements and framework in the UI framework design diagram and generates the first JSON configuration data. The AI ​​agent simulates the first UI dynamic framework based on the first JSON configuration data and the APK application. The user sends an adjustment instruction for the first UI dynamic framework to the AI ​​agent, and the AI ​​agent adjusts the first UI dynamic framework accordingly to generate the UI framework design. The user sends a fill command to the AI ​​agent, and the AI ​​agent fills in the UI framework design accordingly based on the adjustment command to obtain the complete UI framework design. The AI ​​agent generates a second JSON configuration data based on a complete UI framework design. The AI ​​agent simulates a second dynamic UI framework based on the second JSON configuration data and the APK application. The user sends an adjustment instruction to the AI ​​agent for the second dynamic UI framework. The AI ​​agent then adjusts the second dynamic UI framework accordingly to obtain the target UI framework. The target UI framework is pushed or deployed to the terminal, and the terminal displays the target UI framework.

[0042] The user terminal and the AI ​​agent constitute the front end. The front end generates the target UI framework and sends the configuration of the target UI framework to the terminal. After the terminal loads and displays the target UI framework, it reports the status to the front end.

[0043] Example 3

[0044] This embodiment provides a computer-readable medium storing a computer program, characterized in that the computer program, when executed by a processor, can implement the method for generating a dynamic UI framework for a smart terminal based on an AI agent as described in Embodiment 1.

[0045] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for generating a dynamic UI framework for a smart terminal based on an AI intelligent agent, characterized in that, The method includes: Obtain the UI framework design drawing and send it to the AI ​​agent; the UI framework design drawing is a preset UI framework design drawing or a UI framework design drawing generated based on the AI ​​agent. The AI ​​agent analyzes the UI elements and framework in the UI framework design diagram and generates the first JSON configuration data. The AI ​​agent simulates the first UI dynamic framework based on the first JSON configuration data and the APK application. The user sends an adjustment instruction to the AI ​​agent for the first UI dynamic framework, and the AI ​​agent adjusts the first UI dynamic framework accordingly to generate the UI framework design. The user sends a fill command to the AI ​​agent, and the AI ​​agent fills in the UI framework design according to the adjustment command to obtain the complete UI framework design. The AI ​​agent generates second JSON configuration data based on a complete UI framework design. The AI ​​agent simulates a second dynamic UI framework based on the second JSON configuration data and the APK application. The user sends an adjustment instruction to the AI ​​agent for the second dynamic UI framework, and the AI ​​agent adjusts the second dynamic UI framework accordingly to obtain the target UI framework. The target UI framework is pushed or deployed to the terminal, and the terminal displays the target UI framework.

2. The method for generating a dynamic UI framework for a smart terminal based on an AI agent according to claim 1, characterized in that, The method for generating UI framework design diagrams based on AI intelligent agents includes: The user sends layout instructions for the UI framework to the AI ​​agent, which then generates a static diagram of the UI framework based on the layout instructions. The user sends adjustment instructions to the AI ​​agent based on the static image of the generated UI framework. The AI ​​agent then adjusts the static image accordingly to generate the final UI framework design.

3. The method for generating a dynamic UI framework for a smart terminal based on an AI agent according to claim 2, characterized in that, The AI ​​agent includes a pre-trained UI element recognition network and a UI element configuration conversion network; The UI element recognition network is used to identify different blocks and different UI elements on the UI interface; The UI element configuration conversion network is used to convert the JSON configurations of different UI elements to each other.

4. The method for generating a dynamic UI framework for a smart terminal based on an AI agent according to claim 1, characterized in that, After generating the first JSON configuration data and the second JSON configuration data, the AI ​​agent saves the first JSON configuration data and the second JSON configuration data in the context data to learn the user's preferences.

5. The method for generating a dynamic UI framework for a smart terminal based on an AI agent according to claim 1, characterized in that, The first dynamic UI framework and the second dynamic UI framework are application interfaces that can be dynamically operated; the AI ​​intelligent agent presets example images or example URLs to fill and simulate the first dynamic UI framework and the second dynamic UI framework.

6. The method for generating a dynamic UI framework for a smart terminal based on an AI agent according to claim 1, characterized in that, The AI ​​agent is configured with first context data and second context data. The first context data is the UI framework context, and the second context data is the content context. The content context includes default content that corresponds to the display results of the UI framework. The AI ​​agent generates first JSON configuration data and second JSON configuration data based on first context data and second context data.

7. The method for generating a dynamic UI framework for a smart terminal based on an AI agent according to claim 1, characterized in that, The method for displaying the target UI framework on the terminal includes: The terminal receives the target UI framework. If the version of the target UI framework is greater than the version on the terminal's local machine, the terminal downloads the JSON configuration and content materials that match the target UI framework. After the terminal download is complete, the JSON configuration and content materials are updated simultaneously. At the same time, the corresponding activity page is loaded in the background. After the corresponding activity page is loaded in the background, the activity page is brought to the forefront and the old activity page that was brought to the forefront is destroyed.

8. The method for generating a dynamic UI framework for a smart terminal based on an AI agent according to claim 1 or 7, characterized in that, The terminal draws the target UI framework based on JSON configuration and reports it to the AI ​​agent after completion.

9. A system for generating a dynamic UI framework for smart terminals based on AI intelligent agents, characterized in that, The system is used to implement the method for generating a dynamic UI framework for a smart terminal based on an AI agent as described in any one of claims 1-8, the system comprising: a user terminal, an AI agent, and a terminal; The user terminal is used to obtain the UI framework design diagram and send the UI framework design diagram to the AI ​​intelligent agent; the UI framework design diagram is a preset UI framework design diagram or a UI framework design diagram generated based on the AI ​​intelligent agent; The AI ​​agent analyzes the UI elements and framework in the UI framework design diagram and generates the first JSON configuration data. The AI ​​agent simulates the first UI dynamic framework based on the first JSON configuration data and the APK application. The user sends an adjustment instruction to the AI ​​agent for the first UI dynamic framework, and the AI ​​agent adjusts the first UI dynamic framework accordingly to generate the UI framework design. The user sends a fill command to the AI ​​agent, and the AI ​​agent fills in the UI framework design according to the adjustment command to obtain the complete UI framework design. The AI ​​agent generates a second JSON configuration data based on a complete UI framework design. The AI ​​agent simulates a second dynamic UI framework based on the second JSON configuration data and the APK application. The user sends an adjustment instruction to the AI ​​agent for the second dynamic UI framework, and the AI ​​agent adjusts the second dynamic UI framework accordingly to obtain the target UI framework. The target UI framework is pushed or deployed to the terminal, and the terminal displays the target UI framework.

10. A computer-readable medium having a computer program stored thereon, characterized in that, The computer program, when executed by a processor, can implement the method for generating a dynamic UI framework for a smart terminal based on an AI agent as described in any one of claims 1-8.