UI interface rendering method, system and equipment of application program and storage medium
By sending a request to the application backend in the mobile application, the backend cooperates with the data platform to obtain the filling data for assembly, which solves the problem of poor interface rendering flexibility, realizes efficient UI interface design and application, and reduces iteration costs and Development efficiency.
Patent Information
- Application Number
- CN202410834387.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-10
AI Technical Summary
In the development of mobile applications, the flexibility of interface rendering in the existing technology is poor, resulting in high iteration costs, low development efficiency, repetitive development, and poor reusability.
The target application sends a request to the application background, and the background queries the page configuration items, cooperates with the data platform to obtain the filled data for assembly, and feeds it back to the application for UI rendering, supporting dynamic changes and on-demand adjustments.
It achieves flexible and efficient UI interface design and application, reduces repeated development investment and iteration costs, and improves development and configuration efficiency.
Smart Images

Figure CN118626086A
Abstract
Description
Technical Field
[0001] The present application relates to the field of application technology, and in particular to a method, system, device and storage medium for rendering a UI interface of an application. Background Art
[0002] In the development of mobile applications, the design and application of the UI interface is crucial, because the user's first impression of the application often comes from the interface design and ease of use. With the continuous iteration and update of the product, page elements often need to be adjusted and updated, which requires effective management and iteration of the page to ensure the continuous optimization and improvement of the user experience.
[0003] In the related technology, when rendering the interface of an application, data can only be sent based on a fixed business logic order, which has poor flexibility. Moreover, for different pages, repetitive development is required, and the reusability is poor, resulting in high iteration costs for the application and low efficiency of development configuration.
[0004] In summary, the problems existing in related technologies need to be solved urgently. Summary of the invention
[0005] The purpose of this application is to solve one of the technical problems existing in the related art to at least a certain extent.
[0006] To this end, an object of an embodiment of the present application is to provide a method, system, device and storage medium for rendering a UI interface of an application.
[0007] In order to achieve the above technical objectives, the technical solutions adopted by the embodiments of the present application include:
[0008] On the one hand, an embodiment of the present application provides a method for rendering a UI interface of an application, the method comprising:
[0009] In response to the user's interactive operation, the target application sends a request to the application background;
[0010] In response to the request, the application backend queries the management platform for a target page configuration item corresponding to the request;
[0011] The management platform requests the data platform for filling data of the target page configuration item, and the data platform feeds back the filling data to the management platform;
[0012] The management platform fills the filling data into the target page configuration item to obtain first assembled data, and feeds the first assembled data back to the application background;
[0013] The application backend assembles the first assembled data and the business data associated with the request to obtain second assembled data, and feeds the second assembled data back to the target application;
[0014] The target application performs UI rendering through the target page configuration item, and fills the corresponding filling data in the target page configuration item for display.
[0015] In addition, the UI interface rendering method of the application according to the above embodiment of the present application may also have the following additional technical features:
[0016] Further, in one embodiment of the present application, in response to the user's interactive operation, the target application sends a request to the application background, including:
[0017] In response to the user's interactive operation, determine the target page that currently needs to be rendered;
[0018] An interface corresponding to the target page is determined, and the target application sends a request to the application backend through the interface.
[0019] Further, in one embodiment of the present application, in response to the request, the application backend queries the management platform for a target page configuration item corresponding to the request, including:
[0020] In response to the request, the application backend queries the management platform for a target page configuration item corresponding to the interface.
[0021] Furthermore, in one embodiment of the present application, the management platform requests the data platform to fill in the target page configuration item, including:
[0022] The management platform determines the numbering information corresponding to each of the target page configuration items;
[0023] The management platform requests the filling data of the target page configuration item from the data platform according to the numbering information.
[0024] Further, in an embodiment of the present application, the management platform fills the fill data into the target page configuration item to obtain the first assembly data, including:
[0025] The management platform traverses the target page configuration items according to the corresponding number information, and binds each of the target page configuration items and the filling data;
[0026] Based on a predetermined data format, the bound target page configuration item and the filling data are combined to obtain first assembled data.
[0027] Furthermore, in one embodiment of the present application, the predetermined data format is a json format.
[0028] Furthermore, in one embodiment of the present application, the element type of the target page configuration item includes any one of a carousel image, an advertisement image, a fan list, and a search box.
[0029] On the other hand, an embodiment of the present application provides a UI interface rendering system for an application, the system comprising:
[0030] Target applications, application backends, management platforms, and data platforms;
[0031] The target application is used to send a request to the application background in response to the user's interactive operation;
[0032] The application backend is used to query the management platform for the target page configuration item corresponding to the request in response to the request;
[0033] The management platform is used to request the filling data of the target page configuration item from the data platform, and the data platform is used to feed back the filling data to the management platform;
[0034] The management platform is used to fill the filling data into the target page configuration item to obtain the first assembled data, and feed the first assembled data back to the application background;
[0035] The application backend is used to assemble the first assembled data and the business data associated with the request to obtain second assembled data, and feed the second assembled data back to the target application;
[0036] The target application is also used to perform UI rendering through the target page configuration item, and fill the corresponding filling data in the target page configuration item for display.
[0037] On the other hand, an embodiment of the present application provides an electronic device, including:
[0038] at least one processor;
[0039] at least one memory for storing at least one program;
[0040] When the at least one program is executed by the at least one processor, the at least one processor implements the above-mentioned method for rendering the UI interface of the application.
[0041] On the other hand, an embodiment of the present application further provides a computer-readable storage medium, which stores a program executable by a processor. When the program executable by the processor is executed by the processor, it is used to implement the UI interface rendering method of the above-mentioned application.
[0042] The advantages and benefits of the present application will be partially given in the following description, and partially become apparent from the following description, or be understood through the practice of the present application:
[0043] The UI interface rendering method, system, device and storage medium of the application disclosed in the embodiment of the present application, in response to the user's interactive operation, the target application sends a request to the application background; the application background responds to the request and queries the management platform for the target page configuration item corresponding to the request; the management platform requests the fill data of the target page configuration item from the data platform, and the data platform feeds back the fill data to the management platform; the management platform fills the fill data into the target page configuration item to obtain the first assembly data, and feeds back the first assembly data to the application background; the application background assembles the first assembly data and the business data associated with the request to obtain the second assembly data, and feeds back the second assembly data to the target application; the target application performs UI rendering through the target page configuration item, and fills the corresponding fill data in the target page configuration item for display. This method can flexibly and efficiently realize the design and application of the UI interface, and the page can change dynamically with the configuration of the management platform, which can reduce the repetitive development investment and the iteration cost of the application, and improve the efficiency of application development configuration. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following introduction is made to the drawings of the embodiments of the present application or the related technical solutions in the prior art. It should be understood that the drawings introduced below are only for the convenience of clearly describing some embodiments of the technical solutions of the present application. For technical personnel in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0045] Figure 1 A schematic diagram of an implementation environment of a UI interface rendering method of an application provided in an embodiment of the present application;
[0046] Figure 2 A flowchart of a method for rendering a UI interface of an application provided in an embodiment of the present application;
[0047] Figure 3 A schematic diagram of implementing UI interface rendering of an application program on each platform through data transmission provided in an embodiment of the present application;
[0048] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] The present application is further described below in conjunction with the accompanying drawings and specific embodiments. The described embodiments should not be regarded as limiting the present application, and all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
[0050] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0051] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0052] In the development of mobile applications, the design and application of the UI interface is crucial, because the user's first impression of the application often comes from the interface design and ease of use. With the continuous iteration and update of the product, page elements often need to be adjusted and updated, which requires effective management and iteration of the page to ensure the continuous optimization and improvement of the user experience.
[0053] In the related technology, when rendering the interface of an application, data can only be sent based on a fixed business logic order, which has poor flexibility. Moreover, for different pages, repetitive development is required, and the reusability is poor, resulting in high iteration costs for the application and low efficiency of development configuration.
[0054] In view of this, an embodiment of the present application provides a method for rendering a UI interface of an application, in response to a user's interactive operation, the target application sends a request to the application background; the application background, in response to the request, queries the management platform for the target page configuration item corresponding to the request; the management platform requests the fill data of the target page configuration item from the data platform, and the data platform feeds back the fill data to the management platform; the management platform fills the fill data into the target page configuration item to obtain the first assembled data, and feeds back the first assembled data to the application background; the application background assembles the first assembled data and the business data associated with the request to obtain the second assembled data, and feeds back the second assembled data to the target application; the target application performs UI rendering through the target page configuration item, and fills the corresponding fill data in the target page configuration item for display. This method can flexibly and efficiently realize the design and application of the UI interface, and the page can change dynamically with the configuration of the management platform, which can reduce repetitive development investment and the iteration cost of the application, and improve the efficiency of application development configuration.
[0055] Please refer to Figure 1 , Figure 1 The implementation environment diagram of the UI interface rendering method of an application provided in an embodiment of the present application is shown. In this implementation environment, the main hardware and software entities involved include the target application, the application background, the management platform and the data platform, wherein the application background is the application background server that directly communicates with the target application, and the management platform is the application background server that runs daily management. The management platform also includes a front-end configuration webpage, including page type elements of operation configuration, such as carousel images, advertising images, fan lists, search boxes, etc. The data platform is an application background server that stores specific data content corresponding to page elements, such as carousel image data, advertising image data, fan list data, search box hot search terms, etc., and this application does not limit this.
[0056] In the embodiments of the present application, the above-mentioned application backend servers may be independent physical servers, or they may be server clusters or distributed systems composed of multiple physical servers. They may also be cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms.
[0057] The application and the application backend server, and each application backend server can establish a communication connection through a wireless network or a wired network. The wireless network or wired network uses standard communication technology and / or protocols, and the network can be set to the Internet or any other network, such as but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a private network or any combination of a virtual private network.
[0058] Below, in combination with the introduction of the aforementioned implementation environment, a UI interface rendering method of an application provided in an embodiment of the present application is introduced and explained.
[0059] Please refer to Figure 2 , Figure 2 : is a schematic diagram of a UI interface rendering method of an application provided in an embodiment of the present application, and the UI interface rendering method of the application includes but is not limited to:
[0060] Step 210: In response to the user's interactive operation, the target application sends a request to the application background;
[0061] Step 220: In response to the request, the application backend queries the management platform for a target page configuration item corresponding to the request;
[0062] Step 230: the management platform requests the data platform for filling data of the target page configuration item, and the data platform feeds back the filling data to the management platform;
[0063] Step 240: the management platform fills the filling data into the target page configuration item to obtain first assembled data, and feeds the first assembled data back to the application background;
[0064] Step 250: the application backend assembles the first assembled data and the business data associated with the request to obtain second assembled data, and feeds the second assembled data back to the target application;
[0065] Step 260: The target application performs UI rendering through the target page configuration item, and fills the corresponding filling data in the target page configuration item for display.
[0066] In an embodiment of the present application, a method for rendering the UI interface of an application is provided. The method can conveniently and flexibly implement the rendering of the UI interface of the application, support dynamic changes and on-demand adjustments, improve the reusability and configuration efficiency of application development, and reduce iteration costs.
[0067] In the embodiments of the present application, the application that needs to render the UI interface is recorded as the target application. The target application can be installed in the terminal device, and the user can interact with the terminal device to realize the relevant application functions. The present application does not limit the specific type of the user's interactive operation. For example, in some embodiments, the user can interact by performing touch operations such as clicking and sliding on the screen of the terminal device; in some embodiments, the user can also interact by voice or other means.
[0068] In the embodiment of the present application, when rendering the UI interface of the application, in response to the user's interactive operation, the target application will send a corresponding request to the application background, and the application background can respond to this request to query and request the corresponding page configuration item from the management platform. In the embodiment of the present application, the page configuration item refers to a set of UI element types in the page, which is used to define the layout and content display of the page. The page configuration item may include but is not limited to the following common UI element types: 1) Input box: a UI element for users to input text information, which can be used in search, login, registration and other scenarios; 2) Button: an interactive element used to trigger certain operations or events, which may include functions such as submitting forms and jumping pages; 3) Drop-down menu: a UI element used to provide multiple options for users to choose from, which is often used for functions such as filtering, classification, and sorting; 4) Picture / icon: a UI element used to display pictures or icons, which can be used to beautify pages, supplement content, etc.; 5) List / table: a UI element used to display a large amount of data, which can be browsed by scrolling or paging; 6) Prompt box: a UI element used to display prompt information or pop up an interactive box, which can be used to remind users or confirm operations.
[0069] In some embodiments, the element type of the target page configuration item of the present application includes any one of a carousel image, an advertisement image, a fan list, and a search box. Of course, it can be understood that the above is an exemplary description of the UI element type corresponding to the page configuration item, and does not mean to limit the specific content of the page configuration item in the embodiment of the present application. Those skilled in the art can flexibly adjust it according to actual needs.
[0070] In an embodiment of the present application, the page number configuration item corresponding to the request is recorded as the target page configuration item. After determining the target page configuration item corresponding to the request, the management platform can request the fill data of the target page configuration item from the data platform. The fill data of the page configuration item refers to filling in specific data content in the configuration items of each UI element type in the page for display on the page. The content of the fill data can be in the form of text, pictures, links, etc., and the fill data content is determined according to the requirements and design of each UI element type, and this application does not limit this. After determining the fill data of the target page configuration item, the data platform can feed it back to the management platform. Then the management platform can fill the fill data into the target page configuration item, and the obtained data is recorded as the first assembly data. Then, the management platform can feed back the first assembly data to the application background. At the application background, the first assembly data and the business data associated with the request can be assembled, and the obtained data is recorded as the second assembly data, and then the second assembly data can be fed back to the target application.
[0071] In an embodiment of the present application, the application can perform UI rendering and layout of the page through the UI element type defined in the target page configuration item and the corresponding configuration item. When rendering the page, the application will fill the data into the corresponding UI element according to the data content filled in the target page configuration item for display on the page. By filling in data, various types of content can be dynamically displayed to provide the information and functions required by the user. For example, if the target page configuration item contains a text input box UI element, the application will display a text input box on the page according to the configuration item and fill in the corresponding data content, such as the default text prompt, the content entered by the user, etc.; if the configuration item contains a button UI element, the application will display a button and fill in the text content displayed on the button. Similarly, for UI elements such as drop-down menus, check boxes, pictures, advertisements, etc., the method of filling in data is also the same, and this application will not be repeated here.
[0072] It can be understood that, in the UI interface rendering method of the application provided in the embodiment of the present application, in response to the user's interactive operation, the target application sends a request to the application background; the application background responds to the request and queries the management platform for the target page configuration item corresponding to the request; the management platform requests the fill data of the target page configuration item from the data platform, and the data platform feeds back the fill data to the management platform; the management platform fills the fill data into the target page configuration item to obtain the first assembly data, and feeds back the first assembly data to the application background; the application background assembles the first assembly data and the business data associated with the request to obtain the second assembly data, and feeds back the second assembly data to the target application; the target application performs UI rendering through the target page configuration item, and fills the corresponding fill data in the target page configuration item for display. This method can flexibly and efficiently realize the design and application of the UI interface, and the page can change dynamically with the configuration of the management platform, which can reduce the repetitive development investment and the iteration cost of the application, and improve the efficiency of the application development configuration.
[0073] In some embodiments, in response to the user's interactive operation, the target application sends a request to the application backend, including:
[0074] In response to the user's interactive operation, determine the target page that currently needs to be rendered;
[0075] An interface corresponding to the target page is determined, and the target application sends a request to the application backend through the interface.
[0076] In some embodiments, the application backend, in response to the request, queries the management platform for a target page configuration item corresponding to the request, including:
[0077] In response to the request, the application backend queries the management platform for a target page configuration item corresponding to the interface.
[0078] In an embodiment of the present application, when a user performs an interactive operation, the target page that currently needs to be rendered can be determined. For each page, a corresponding interface may exist. When the target application sends a request to the application background, the corresponding interface can be determined based on the target page, and then the request is sent to the application background through the determined interface. Correspondingly, at the application background, the target page configuration item corresponding to the interface can be queried from the management platform based on the corresponding interface of each request. In this way, the information processing efficiency can be improved, and the UI interface rendering of the application can be conveniently and efficiently realized.
[0079] In some embodiments, the management platform requests the data platform to fill in the target page configuration item, including:
[0080] The management platform determines the numbering information corresponding to each of the target page configuration items;
[0081] The management platform requests the filling data of the target page configuration item from the data platform according to the numbering information.
[0082] In an embodiment of the present application, corresponding numbering information can be set in advance for each page configuration item. The specific content of the numbering information may include numbers or characters, etc., and different page configuration items have different corresponding numbering information. When the management platform requests the data platform to obtain the fill data of the target page configuration item, it can first determine the numbering information corresponding to these target page configuration items, and then request the fill data of the target page configuration item from the data platform according to the corresponding numbering information. On the data platform side, the correspondence between each numbering information and the fill data can be recorded, and the required fill data can be quickly and accurately determined through the numbering information provided by the management platform.
[0083] In some embodiments, the management platform fills the fill data into the target page configuration item to obtain the first assembled data, including:
[0084] The management platform traverses the target page configuration items according to the corresponding number information, and binds each of the target page configuration items and the filling data;
[0085] Based on a predetermined data format, the bound target page configuration item and the filling data are combined to obtain first assembled data.
[0086] In an embodiment of the present application, after obtaining the fill data corresponding to the target page configuration item at the management platform, each target page configuration item can be traversed according to the corresponding number information, and each target page configuration item and the fill data corresponding to the same number information can be bound. Then, the bound target page configuration item and the fill data can be combined in a predetermined data format to obtain the first assembled data. For example, in some embodiments, the predetermined data format is a json format, and can be assembled into a json object according to the json format, and returned as the first assembled data.
[0087] For details, please refer to Figure 3 , Figure 3 A schematic diagram showing a method for implementing UI interface rendering of an application program on various platforms through data transmission provided in an embodiment of the present application is shown.
[0088] In the embodiment of the present application, the dynamic rendering trigger mechanism is as follows:
[0089] 1. The user opens the app page, and the current page requests data through the corresponding interface.
[0090] 2. Based on the current interface type, the application backend goes to the management platform to query the page configuration items corresponding to the interface (i.e., the set of UI element types on the page). For example, page configuration items include banners, advertisements, information flows, and recommendation lists;
[0091] 3. The management platform requests the filling data of the page configuration item from the data platform according to the specific ID of the corresponding page configuration item. For example: the filling data corresponding to the banner, advertisement, information flow, and recommendation list.
[0092] 4. Return the populated data of the page configuration items.
[0093] 5. The management platform combines the page configuration items and the page configuration item fill data, traverses the page configuration item IDs in order, performs one-to-one binding (i.e., combines the UI elements and fill data into a new object), and then assembles them into a json object according to the agreed json format, and then returns it to the application background.
[0094] 6. The application background assembles the data returned by the management platform and other data and returns it to the app.
[0095] 7. The app parses the interface data returned by the application background, and renders basic template UI (such as basic controls such as plain text, pictures, videos, check boxes, etc.) and common template UI (such as banner, horizontal information flow, waterfall flow, advertising space, etc. composite controls) according to the returned data type and the order of page configuration items;
[0096] 8. After rendering, fill in the data one by one for display and the process ends.
[0097] In the embodiment of the present application, the operator can add UI elements (basic template + common template) in order according to the style of the design draft on the front-end webpage of the management platform, and then save it to the background server of the management platform. The order of the UI element set obtained by the APP is the order of the UI elements added by the operator, and no secondary sorting is required in the background. Through the strategy provided in the embodiment of the present application, the app page can be dynamically changed with the configuration of the management platform without releasing the app.
[0098] In an embodiment of the present application, a UI interface rendering system for an application is also provided, including:
[0099] Target applications, application backends, management platforms, and data platforms;
[0100] The target application is used to send a request to the application background in response to the user's interactive operation;
[0101] The application backend is used to query the management platform for the target page configuration item corresponding to the request in response to the request;
[0102] The management platform is used to request the filling data of the target page configuration item from the data platform, and the data platform is used to feed back the filling data to the management platform;
[0103] The management platform is used to fill the filling data into the target page configuration item to obtain the first assembled data, and feed the first assembled data back to the application background;
[0104] The application backend is used to assemble the first assembled data and the business data associated with the request to obtain second assembled data, and feed the second assembled data back to the target application;
[0105] The target application is also used to perform UI rendering through the target page configuration item, and fill the corresponding filling data in the target page configuration item for display.
[0106] It can be understood that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0107] Reference Figure 4 , an embodiment of the present application provides an electronic device, including:
[0108] at least one processor 410;
[0109] At least one memory 420, used to store at least one program;
[0110] When at least one program is executed by at least one processor 410, at least one processor 410 implements the above-mentioned UI interface rendering method of the application program.
[0111] Similarly, the contents of the above method embodiments are all applicable to the electronic device embodiments. The functions specifically implemented by the electronic device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0112] The embodiment of the present application also provides a computer-readable storage medium, which stores a program executable by the processor 410. The program executable by the processor 410 is used to execute the UI interface rendering method of the above-mentioned application when executed by the processor 410.
[0113] Similarly, the contents of the above method embodiments are all applicable to the computer-readable storage medium embodiments. The functions specifically implemented by the computer-readable storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0114] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the application is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part described as a larger operation is performed independently.
[0115] In addition, although the present application is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features can be integrated into a single physical device and / or software module, or one or more functions and / or features can be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present application. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional techniques of the engineer. Therefore, those skilled in the art can implement the present application set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present application, which is determined by the full scope of the attached claims and their equivalents.
[0116] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program code.
[0117] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0118] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0119] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0120] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0121] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.
[0122] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the embodiments. Technical personnel familiar with the field can make various equivalent modifications or substitutions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.
Claims
1. A method for rendering a UI interface of an application, characterized in that: The method comprises: In response to the user's interactive operation, the target application sends a request to the application background; In response to the request, the application backend queries the management platform for a target page configuration item corresponding to the request; The management platform requests the data platform for filling data of the target page configuration item, and the data platform feeds back the filling data to the management platform; The management platform fills the filling data into the target page configuration item to obtain first assembled data, and feeds the first assembled data back to the application background; The application backend assembles the first assembled data and the business data associated with the request to obtain second assembled data, and feeds the second assembled data back to the target application; The target application performs UI rendering through the target page configuration item, and fills the corresponding filling data in the target page configuration item for display.
2. The method for rendering a UI interface of an application according to claim 1, characterized in that: In response to the user's interactive operation, the target application sends a request to the application background, including: In response to the user's interactive operation, determine the target page that currently needs to be rendered; An interface corresponding to the target page is determined, and the target application sends a request to the application backend through the interface.
3. The method for rendering a UI interface of an application according to claim 2, characterized in that: The application backend, in response to the request, queries the management platform for a target page configuration item corresponding to the request, including: In response to the request, the application backend queries the management platform for a target page configuration item corresponding to the interface.
4. The method for rendering a UI interface of an application according to claim 1, characterized in that: The management platform requests the data platform for filling data of the target page configuration item, including: The management platform determines the numbering information corresponding to each of the target page configuration items; The management platform requests the filling data of the target page configuration item from the data platform according to the numbering information.
5. The method for rendering a UI interface of an application according to claim 4, characterized in that: The management platform fills the fill data into the target page configuration item to obtain first assembly data, including: The management platform traverses the target page configuration items according to the corresponding number information, and binds each of the target page configuration items and the filling data; Based on a predetermined data format, the bound target page configuration item and the filling data are combined to obtain first assembled data.
6. The method for rendering a UI interface of an application according to claim 5, characterized in that: The predetermined data format is a json format.
7. A method for rendering a UI interface of an application according to any one of claims 1 to 6, characterized in that: The element type of the target page configuration item includes any one of a carousel image, an advertisement image, a fan list, and a search box.
8. A UI interface rendering system for an application, characterized in that: The system comprises: Target applications, application backends, management platforms, and data platforms; The target application is used to send a request to the application background in response to the user's interactive operation; The application backend is used to query the management platform for the target page configuration item corresponding to the request in response to the request; The management platform is used to request the filling data of the target page configuration item from the data platform, and the data platform is used to feed back the filling data to the management platform; The management platform is used to fill the filling data into the target page configuration item to obtain the first assembled data, and feed the first assembled data back to the application background; The application backend is used to assemble the first assembled data and the business data associated with the request to obtain second assembled data, and feed the second assembled data back to the target application; The target application is also used to perform UI rendering through the target page configuration item, and fill the corresponding filling data in the target page configuration item for display.
9. An electronic device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements a UI interface rendering method for an application as described in any one of claims 1-7.
10. A computer-readable storage medium storing a program executable by a processor, characterized in that: The processor-executable program is used to implement a UI interface rendering method of an application program as described in any one of claims 1 to 7 when executed by the processor.
Citation Information
Cited By
Repeated request processing method, electronic equipment and storage medium
CN121125844A
Processing method of repeated request, electronic device, and storage medium
CN121125844B
