User interface (UI) component generation method and device, electronic equipment and storage medium
By generating and streaming UI components on the server side, the problem of Large Language Models (LLM) being unable to provide real-time responses is solved, improving the interactivity and responsiveness of the user interface.
Patent Information
- Application Number
- CN202511086648.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-04
- Publication Date
- 2025-11-21
AI Technical Summary
Large Language Models (LLMs) struggle to provide rich visuals and user experiences in applications, and existing technologies cannot generate UI components that respond to user requests in real time.
By receiving user request information, the system generates target UI components using a Large Language Model (LLM) and streams them to the client, reducing the amount of data loaded at once and improving response performance.
It enables real-time data transmission and rapid response to user requests, improving client loading speed and response performance.
Smart Images

Figure CN120994191A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of large model, and particularly relates to a UI component generation method and device, electronic equipment and storage medium. BACKGROUND
[0002] At present, the application of a large language model (LLM) mainly interacts through text, and it is difficult to provide richer visual and user experience. In order to solve this limitation, generative user interface (UI) technology has emerged. Through this technology, the LLM can directly generate personalized and richly interactive UI components. SUMMARY
[0003] The present application aims to at least solve one of the technical problems in the related art to some extent.
[0004] To this end, the first object of the present application is to provide a UI component generation method to realize real-time data transmission and timely response to user requests.
[0005] The second object of the present application is to provide a UI component generation device.
[0006] The third object of the present application is to provide an electronic device.
[0007] The fourth object of the present application is to provide a computer-readable storage medium.
[0008] The fifth object of the present application is to provide a computer program product.
[0009] To achieve the above objects, the first aspect of the present application provides a UI component generation method, comprising: receiving user demand information; generating a target UI component based on the user demand information by a large language model (LLM); and streaming the target UI component to a client.
[0010] To achieve the above objects, the second aspect of the present application provides a UI component generation device, comprising: a receiving module configured to receive user demand information; a generating module configured to generate a target UI component based on the user demand information by a large language model (LLM); and a transmission module configured to stream the target UI component to a client.
[0011] To achieve the above object, the third aspect of the present application provides an electronic device, comprising: a processor; and a memory connected with the processor in communication; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory, so that the processor can execute the UI component generation method of the first aspect of the present application.
[0012] To achieve the above object, the fourth aspect of the present application provides a computer readable storage medium, which stores a computer program, and the computer instructions are used to make the computer execute the UI component generation method of the first aspect of the present application.
[0013] To achieve the above object, the fifth aspect of the present application provides a computer program product, comprising a computer program, which is executed by a processor to realize the UI component generation method of the first aspect of the present application.
[0014] The UI component generation method, device, electronic device and storage medium provided by the present application receive user demand information, and generate target UI components based on the user demand information by LLM, and then stream the target UI components to the client. Therefore, by generating target UI components corresponding to user demand information on the server and streaming the target UI components to the client, real-time data transmission is realized to respond to user requests in time. Through streaming, the amount of data loaded at one time can be reduced, and the loading speed and response performance of the client can be improved.
[0015] Additional aspects and advantages of the present application will be in part apparent and in part pointed out hereinafter. BRIEF DESCRIPTION OF DRAWINGS
[0016] The above and / or additional aspects and advantages of the present application will become apparent and more readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
[0017] Figure 1 A flowchart of a UI component generation method provided by an embodiment of the present application;
[0018] Figure 2 A flowchart of another UI component generation method provided by an embodiment of the present application;
[0019] Figure 3 A flowchart of another UI component generation method provided by an embodiment of the present application;
[0020] Figure 4 An interaction diagram of a UI component generation method provided by an embodiment of the present application;
[0021] Figure 5 A flowchart of a method for generating a UI component according to an embodiment of the present application is shown in FIG. 1.
[0022] Figure 6 A structural diagram of a device for generating a UI component according to an embodiment of the present application is shown in FIG. 2. DETAILED DESCRIPTION
[0023] Embodiments of the present application are described in detail below with reference to the accompanying drawings. The embodiments described below are examples for explaining the present application and are not intended to limit the present application.
[0024] A method and a device for generating a UI component according to an embodiment of the present application are described below with reference to the accompanying drawings.
[0025] Figure 1 A flowchart of a method for generating a UI component according to an embodiment of the present application is shown in FIG. 1. Figure 1 The method for generating a UI component according to an embodiment of the present application includes, but is not limited to, the following steps:
[0026] S101, receiving user demand information.
[0027] It should be noted that the execution subject of the method for generating a UI component according to an embodiment of the present application is an electronic device, which can be a terminal device. Alternatively, the terminal device can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a personal computer (PC), a television, etc. The present application is not limited in this regard.
[0028] In some embodiments, the user demand information sent by the client can be received. The user inputs information on the client, and the client sends the user input information as the user demand information to the server.
[0029] In some embodiments, the user demand information can include information such as a question to be queried, a requirement for a user interface (UI) component, and the like. For example, the user inputs: query the weather of location A, and it can be determined that the user demand information is to query the weather of location A. Accordingly, a weather corresponding UI component is generated.
[0030] Optionally, the user can input information on the client in the form of text, voice or other forms, and then the client sends the user demand information to the server.
[0031] S102, the large language model LLM generates a target UI component based on the user demand information.
[0032] In some embodiments, the large language model (Large Language Model, LLM) calls a target service according to the user demand information, and generates a target UI component from the target service. The target service can be a target tool to generate a target UI component using the target tool.
[0033] In some embodiments, the target service can generate corresponding response information according to the user demand information, and generate a target UI component according to the response information.
[0034] Taking the generation of a weather component as an example, the LLM determines to call a weather query tool according to the user demand information, and queries weather information, and then generates a corresponding target UI component according to the weather information.
[0035] In some embodiments, it can also be determined from the user demand information whether there is an update instruction to update the UI component, and when there is an update instruction, the target UI component is updated based on the update instruction to obtain an updated target UI component.
[0036] S103, streaming the target UI component to the client.
[0037] It can be understood that streaming refers to transmitting data in the form of a continuous stream, rather than transmitting the entire data block at once. In streaming, data is divided into smaller data packets, and then transmitted packet by packet.
[0038] In some embodiments, by streaming the target UI component to the client, the user request can be responded to in a timely manner, thereby significantly reducing the user waiting time.
[0039] In some embodiments, streaming the target UI component to the client means that the server transmits the data of the target UI component to the client in real time in the form of streaming, and after the client receives the data of the target UI component, the target UI component in the user interface can be presented immediately.
[0040] In some embodiments, before streaming the target UI component, the target UI component can be rendered using a renderer, and the rendered target UI component can be streamed to the client.
[0041] The method for generating a UI component provided in the embodiments of the present application receives user demand information, and generates a target UI component based on the user demand information by using an LLM, and then streams the target UI component to a client. Thus, the target UI component corresponding to the user demand information is generated on the server, and the target UI component is streamed to the client, so that real-time data transmission is realized, and the user request is responded in time. Through streaming, the amount of data loaded at one time can be reduced, and the loading speed and response performance of the client can be improved.
[0042] Figure 2 is a flowchart of a method for generating a UI component according to an embodiment of the present application, as shown in Figure 2 The method for generating a UI component according to the embodiments of the present application includes but is not limited to the following steps:
[0043] S201, receiving user demand information.
[0044] In the embodiments of the present application, the implementation of step S201 can be implemented in any of the embodiments of the present application, and here it is not limited, and will not be repeated.
[0045] S202, reasoning the user demand information by using an LLM to determine a target service to be called.
[0046] S203, generating a target UI component based on a component generation intention indicated by the target service and the user demand information.
[0047] In some embodiments, after receiving the user demand information, the server transmits the user demand information to the LLM, and the LLM performs semantic recognition, entity recognition, intention recognition and other natural language processing methods on the user demand information, so as to reason the user demand information, and thus the target service to be called can be determined.
[0048] Optionally, the target service includes but is not limited to information query, data processing, content generation, task execution, etc. For example, if the user asks about the weather, the LLM can identify that the weather query service needs to be called.
[0049] In some embodiments, after determining the target service, the LLM can interact with the target service to generate a target UI component according to the user demand information.
[0050] In some embodiments, when the LLM reasons the user demand information, the component generation intent indicated by the user demand information can be reasoned.
[0051] Further, the target UI component can be generated by invoking the target service in combination with the component generation intent.
[0052] In some embodiments, the target service is invoked through the interface corresponding to the target service, and the response information fed back by the target service is obtained. That is, the target service is invoked through the interface corresponding to the target service, the user demand information is responded to by the target service, and the response information fed back by the target service is obtained.
[0053] Further, the target UI component can be generated based on the response information and the component generation intent. That is, a preliminary UI component is generated according to the component generation intent, and the response information is combined with the preliminary UI component to obtain the target UI component.
[0054] It can be understood that the UI component, as a basic constituent unit of the user interface, needs to be displayed on the screen through a rendering process for user interaction and operation. Before streaming the target UI component to the client, the target UI component can be rendered to realize visual display.
[0055] In some embodiments, the target UI component can be rendered using a renderer. By determining a plurality of candidate renderers deployed on the client, and according to the correspondence between the target UI component and the candidate renderers, a target renderer deployed on the client is determined from the candidate renderers.
[0056] Further, the target UI component can be rendered based on the target renderer to generate rich text supported by the target renderer. The rich text refers to text containing formatting and embedded content, such as bold, italic, underline, link, picture, table, etc. Compared with plain text, rich text provides more expressive power and visual appeal.
[0057] In some embodiments, a custom HyperText Markup Language (HTML) tag, such as a div tag, can be rendered in the target renderer to write the target UI component, thereby generating rich text supported by the target renderer.
[0058] S204, the rich text of the target UI component is streamed to obtain the stream data of the target UI component, and the stream data of the target UI component is transmitted to the client.
[0059] In some embodiments, the stream conversion refers to a process of processing and transmitting data in a continuous stream form, and the stream data of the target UI component is obtained by converting the format corresponding to the rich text into a stream data format. The stream data can be a binary stream, a text stream or other forms of data stream.
[0060] Further, the stream data of the target UI component can be transmitted to the client to realize the streaming of the target UI component to the client.
[0061] In some embodiments, the target UI component can be updated during the streaming of the target UI component to the client. The update requirement information of the component element is received during the streaming of the target UI component to the client, and the component element in the stream data is updated based on the update requirement information of the component element by the LLM.
[0062] In some embodiments, the update requirement of the component element can be inferred by the LLM to obtain an update instruction, and the component update function is called based on the update instruction to execute an update process matched with the update instruction to update the component element in the stream data, so as to stream the updated target UI component to the client and display the target UI component on the client.
[0063] Optionally, the component element can be modified or added to update the component element in the stream data.
[0064] The method for generating the UI component provided in the embodiments of the present application determines the target service to be called, generates the target UI component based on the component generation intention indicated by the target service and the user requirement information, renders the target UI component, generates the rich text supported by the target renderer, and then performs stream conversion on the rich text to obtain the stream data of the target UI component, and transmits the stream data of the target UI component to the client. Therefore, by generating the corresponding UI component on the server, the server pressure can be reduced, and the UI component has more extensive versatility. By rendering the target UI component, it is ensured that the UI component can respond quickly during user interaction, reduces the lag and delay, and improves the smoothness of user experience.
[0065] On the basis of the above embodiments, the embodiments of the present application explain the method for generating the UI component with the client as the execution subject, as shown in the method for generating the UI component, which includes but is not limited to the following steps: Figure 3
[0066] S301, send user requirement information.
[0067] S302, receive the target UI component streamed.
[0068] S303, rendering is performed based on the target UI component, and the rendered target UI component is displayed on the client.
[0069] In the embodiments of the present application, the implementation manners of steps S301-S303 can be implemented by any of the embodiments of the present application respectively, and here, no limitation is made to this, and no further description is made.
[0070] In the UI component generation method provided by the embodiments of the present application, the user demand information is sent to the server, and the target UI component generated according to the user demand information is received, so that the target UI component is rendered and displayed. Thus, the target UI component corresponding to the user demand information is generated on the server, and the target UI component is streamed to the client, so that real-time data transmission is realized, and the user request is responded in time.
[0071] Figure 4 is an interaction diagram of a UI component generation method according to an embodiment of the present application, as Figure 4 The UI component generation method of the embodiments of the present application includes but is not limited to the following steps:
[0072] S401, the client sends user demand information to the server.
[0073] S402, the server generates a target UI component based on the user demand information by LLM.
[0074] S403, the server streams the target UI component to the client.
[0075] S404, the target UI component is displayed on the client.
[0076] In the embodiments of the present application, the implementation manners of steps S401-S404 can be implemented by any of the embodiments of the present application respectively, and here, no limitation is made to this, and no further description is made.
[0077] In the UI component generation method provided by the embodiments of the present application, the server receives user demand information, and generates a target UI component based on the user demand information by LLM, and then streams the target UI component to the client. Thus, the target UI component corresponding to the user demand information is generated on the server, and the target UI component is streamed to the client, so that real-time data transmission is realized, and the user request is responded in time. Through streaming, the amount of data loaded at one time can be reduced, and the loading speed and response performance of the client can be improved.
[0078] Figure 5 The figure shows a flowchart of generating a UI component.
[0079] As Figure 5As shown, the user demand information sent by the client is received at the server side, and the target service to be called is determined by the LLM according to the user demand information, and then the target UI component can be generated according to the target service and the component indicated by the user demand information. Further, the target renderer deployed on the client is determined, and the target UI component is written using the target renderer to generate a rich text supported by the target renderer, and then the target UI component is streamed based on the rich text. In the process of streaming the target UI component, the update demand information of the component element is received, and the component element in the stream data is updated by the LLM based on the update demand information of the component element.
[0080] Corresponding to the above-mentioned several embodiments of the method for generating a UI component, an embodiment of the present application also proposes a device for generating a UI component. Since the device for generating a UI component proposed by the embodiment of the present application corresponds to the method for generating a UI component proposed by the above-mentioned several embodiments, the implementation of the above-mentioned method for generating a UI component is also applicable to the device for generating a UI component proposed by the embodiment of the present application, which will not be described in detail in the following embodiments.
[0081] In order to realize the above-mentioned embodiments, the present application also proposes a device for generating a UI component.
[0082] Figure 6 A structural schematic diagram of a device for generating a UI component provided by an embodiment of the present application.
[0083] As shown in the above-mentioned several embodiments of the method for generating a UI component, the device for generating a UI component proposed by the embodiment of the present application corresponds to the method for generating a UI component proposed by the above-mentioned several embodiments, and the implementation of the above-mentioned method for generating a UI component is also applicable to the device for generating a UI component proposed by the embodiment of the present application, which will not be described in detail in the following embodiments. Figure 6 The device for generating a UI component 600 includes:
[0084] The receiving module 601 is configured to receive user demand information.
[0085] The generating module 602 is configured to generate a target UI component by a large language model LLM based on the user demand information.
[0086] The transmission module 603 is configured to stream the target UI component to the client.
[0087] In a possible implementation manner of the embodiment of the present application, the generating module 602 is further configured to: infer the user demand information by the LLM to determine the target service to be called; and generate the target UI component based on the target service and the component indicated by the user demand information.
[0088] In a possible implementation manner of the embodiment of the present application, the generating module 602 is further configured to: call the target service through the interface corresponding to the target service, and obtain the response information fed back by the target service; and generate the target UI component based on the response information and the component generation intention.
[0089] In a possible implementation of the embodiment of the application, the transmission module 603 is further configured to determine a target renderer deployed on the client; and generate a rich text supported by the target renderer based on the target renderer compiling the target UI component.
[0090] In a possible implementation of the embodiment of the application, the transmission module 603 is configured to stream the rich text of the target UI component to obtain stream data of the target UI component, and transmit the stream data of the target UI component to the client.
[0091] In a possible implementation of the embodiment of the application, the transmission module 603 is configured to receive update requirement information of a component element during streaming the target UI component to the client; and update the component element in the stream data based on the update requirement information of the component element by the LLM.
[0092] In a possible implementation of the embodiment of the application, the transmission module 603 is configured to infer the update requirement of the component element by the LLM to obtain an update instruction; and call a component update function to perform an update process matched with the update instruction by the component update function to update the component element in the stream data.
[0093] The UI component generation apparatus provided in the embodiment of the application receives user requirement information, and generates a target UI component based on the user requirement information by the LLM, and then streams the target UI component to the client. Therefore, the target UI component corresponding to the user requirement information is generated on the server, and the target UI component is streamed to the client, so that real-time data transmission is realized, and the user request is responded in time. Through streaming, the amount of data loaded at one time can be reduced, and the loading speed and response performance of the client can be improved.
[0094] It should be noted that the above explanation and description of the UI component generation method embodiment are also applicable to the UI component generation apparatus of the embodiment, which will not be described here.
[0095] To implement the above embodiment, the application further provides an electronic device, which comprises a processor and a memory connected with the processor in communication; the memory stores computer execution instructions; and the processor executes the computer execution instructions stored in the memory to implement the method provided in the above embodiment.
[0096] To implement the above embodiment, the application further provides a computer readable storage medium, which stores computer execution instructions; and the computer execution instructions are executed by the processor to implement the method provided in the above embodiment.
[0097] To achieve the above-mentioned embodiments, the application further provides a computer program product comprising a computer program which, when executed by a processor, implements the method provided by the foregoing embodiments.
[0098] The collection, storage, use, processing, transmission, provision and application of user personal information involved in the present application comply with relevant laws and regulations and do not violate public order and good customs.
[0099] It should be noted that the personal information from the user should be collected for legal and reasonable purposes, and should not be shared or sold outside these legal uses. In addition, such collection / sharing should be carried out after the user's informed consent is received, including but not limited to informing the user to read the user agreement / user notice before the user uses the function, and signing the agreement / authorization including authorization of relevant user information. In addition, any necessary steps should be taken to protect and secure access to such personal information data and ensure that other people with access to personal information data comply with their privacy policies and processes.
[0100] The present application is expected to provide embodiments in which the user can selectively prevent the use or access of personal information data. That is, the present application is expected to provide hardware and / or software to prevent or block access to such personal information data. Once the personal information data is no longer needed, the risk is minimized by limiting data collection and deleting data. In addition, such personal information is de-identified, if applicable, to protect the privacy of the user.
[0101] In the foregoing embodiment description, the description of the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the present description, the illustrative description of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any appropriate manner in any one or more embodiments or examples. In addition, the person skilled in the art can combine and combine the different embodiments or examples described in the present description and the features of the different embodiments or examples, without contradiction.
[0102] In addition, the terms "first", "second" are only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include at least one of the features. In the description of the present application, the meaning of "a plurality of" is at least two, for example, two, three, etc., unless otherwise specifically limited.
[0103] Any processes or methods described in the flowcharts or otherwise described herein can be understood as representing modules, segments, or portions of code that include one or more executable instructions for implementing specific logic functions (or steps) and / or can be implemented entirely in hardware. The various embodiments of the application can include additional or fewer steps or methods as desired for a given implementation. The various steps or methods can be implemented in software, firmware, hardware, or a combination thereof. The order of any steps or methods can be varied as desired. The various embodiments of the application can be implemented in software and / or firmware and / or hardware, and / or any combination thereof.
[0104] Logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be embodied in computer-readable instructions, modules, segments, or portions of codes, which are executable by an instruction execution system, apparatus, or device, such as a computer-based system, processor- based system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For purposes of this section, a "computer-readable medium" can be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. The computer-readable medium can be a
[0105] It should be understood that aspects of the application can be implemented in hardware, software, firmware, or combinations thereof. In the above embodiments, various steps or methods can be implemented in software or firmware that is stored in memory and executed by a suitable instruction execution system. As examples, if implemented in hardware, the hardware can include any or a combination of the following: discrete logic circuitry having logic gates for implementing logic functions upon an application of data signals; application specific integrated circuits having logic gates, application specific integrated circuits having logic gates; field programmable gate arrays (FPGAs), programmable logic devices, etc.
[0106] Those skilled in the art of the present technology can understand that all or part of the steps carried out by the above-mentioned embodiment method can be completed by programs instructing related hardware, and the programs can be stored in a computer readable storage medium. When the program is executed, it includes one of the steps of the method embodiment or a combination thereof.
[0107] In addition, each functional unit in each embodiment of the present application can be integrated into one processing module, or each unit can exist physically alone, or two or more units can be integrated into one module. The integrated module can be realized in the form of hardware or in the form of a software functional module. When the integrated module is realized in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer readable storage medium.
[0108] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it should be understood that the above-mentioned embodiments are exemplary and cannot be understood as limiting the present application, and those skilled in the art can make changes, modifications, replacements and variations to the above-mentioned embodiments within the scope of the present application.
Claims
1. A method for generating user interface (UI) components, characterized in that, The method includes: Receive user request information; The target UI component is generated by the Large Language Model (LLM) based on the user requirement information; The target UI component is streamed to the client.
2. The method according to claim 1, characterized in that, The generation of target UI components by the Large Language Model (LLM) based on the user requirement information includes: The LLM infers the user's needs information to determine the target service to be invoked; The target UI component is generated based on the component generation intent indicated by the target service and the user demand information.
3. The method according to claim 2, characterized in that, The generation of the target UI component based on the component generation intent indicated by the target service and the user demand information includes: The target service is invoked through the interface corresponding to the target service, and the response information returned by the target service is obtained. Based on the response information and the component generation intent, the target UI component is generated.
4. The method according to any one of claims 1-3, characterized in that, Before streaming the target UI component to the client, the method further includes: Determine the target renderer deployed on the client; The target UI component is written based on the target renderer to generate rich text that the target renderer supports.
5. The method according to claim 4, characterized in that, The streaming transmission of the target UI component to the client includes: The rich text of the target UI component is streamed to obtain the stream data of the target UI component, and the stream data of the target UI component is transmitted to the client.
6. The method according to claim 5, characterized in that, The method further includes: During the process of streaming the target UI component to the client, update request information for component elements is received; The LLM updates the component elements in the streaming data based on the update requirement information of the component elements.
7. The method according to claim 6, characterized in that, The step of updating the component elements in the streaming data by the LLM based on the update requirement information of the component elements includes: The update instruction is derived by reasoning from the update requirements of the component elements in the LLM; The component update function is invoked, and the component update function executes an update process that matches the update instruction to update the component elements in the stream data.
8. A device for generating user interface (UI) components, characterized in that, The device includes: The receiving module is used to receive user request information; The generation module is used to generate target UI components based on the user requirement information using the Large Language Model (LLM). The transmission module is used to stream the target UI component to the client.
9. The apparatus according to claim 8, characterized in that, The generation module is further configured to: The LLM infers the user's needs information to determine the target service to be invoked; The target UI component is generated based on the component generation intent indicated by the target service and the user demand information.
10. The apparatus according to claim 9, characterized in that, The generation module is further configured to: The target service is invoked through the interface corresponding to the target service, and the response information returned by the target service is obtained. Based on the response information and the component generation intent, the target UI component is generated.
11. The apparatus according to any one of claims 8-10, characterized in that, The transmission module is also used for: Determine the target renderer deployed on the client; The target UI component is written based on the target renderer to generate rich text that the target renderer supports.
12. The apparatus according to claim 11, characterized in that, The transmission module is used for: The rich text of the target UI component is streamed to obtain the stream data of the target UI component, and the stream data of the target UI component is transmitted to the client.
13. The apparatus according to claim 12, characterized in that, The transmission module is used for: During the process of streaming the target UI component to the client, update request information for component elements is received; The LLM updates the component elements in the streaming data based on the update requirement information of the component elements.
14. The apparatus according to claim 13, characterized in that, The transmission module is used for: The update instruction is derived by reasoning from the update requirements of the component elements in the LLM; The component update function is invoked, and the component update function executes an update process that matches the update instruction to update the component elements in the stream data.
15. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1-7.
16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-7.
17. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method of any one of claims 1-7.