Updating method of material rendering component and related device

By obtaining the designer's target identity information and pre-built target maintenance objects in the low-code development platform, only the material rendering components that need to be updated are updated. Combined with the anti-shake mechanism, the performance problems caused by frequent updates of material rendering components are solved and performance optimization is achieved.

CN120670005APending Publication Date: 2025-09-19QINGDAO HAIER AIR CONDITIONING ELECTRONICS CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510660444.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-21
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

The high update frequency of the material rendering component in the low-code development platform caused performance issues.

Method used

By obtaining the target identity information and pre-built target maintenance objects sent by the designer, only the material rendering components that need to be updated are updated. Combined with the anti-shake mechanism, the update frequency of the material rendering components is reduced.

Benefits of technology

Optimized the performance issues caused by frequent updates of material rendering components and improved system performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120670005A_ABST
    Figure CN120670005A_ABST
Patent Text Reader

Abstract

The invention discloses an updating method of a material rendering component and a related device, and relates to the technical field of low-code development, and the method comprises the steps: sending the target identity identification information of a to-be-updated material rendering component needing to be updated to a renderer through a designer of a low-code development platform, and enabling the renderer to obtain a pre-constructed target maintenance object, and updating target data information corresponding to the target identity identification information in the target maintenance object to trigger the to-be-updated material rendering component to update. According to the material rendering component updating method and device, only the to-be-updated material rendering component is updated through the target maintenance object and the target identity identification information, all the material rendering components do not need to be updated, the updating frequency of the material rendering component is reduced to a certain degree, and then the performance problem caused by frequent updating of the material rendering component is optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of low-code development technology, and in particular to a method for updating a material rendering component and related devices. Background Art

[0002] Designer, renderer, structured data and materials are the four core concepts of low-code development. The designer performs material arrangement and material attribute configuration to form structured data used to guide the renderer to render the interface. After the renderer obtains the structured data, it notifies all material rendering components to update and render the page according to the structured data to generate a user interface.

[0003] However, each time the designer arranges materials and configures material properties, only some materials may be involved. All material rendering components need to be updated each time, which may cause performance problems due to too frequent updates of material rendering components. Summary of the Invention

[0004] In view of the above problems, this application provides a method and related device for updating a material rendering component to reduce the update frequency of the material rendering component and thereby optimize the performance issues caused by frequent updates of the material rendering component. The specific solution is as follows:

[0005] In a first aspect, the present application provides a method for updating a material rendering component, which is applied to a renderer of a low-code development platform, comprising:

[0006] Obtain target identity information sent by the designer of the low-code development platform, wherein the target identity information is the identity information of the material rendering component to be updated, and the material rendering component to be updated refers to the material rendering component corresponding to the updated target material generated by the designer during the process of material arrangement and material attribute configuration;

[0007] Obtain a pre-built target maintenance object, wherein the target maintenance object maintains a correspondence between identity information of all material rendering components and target data information of the corresponding material rendering components;

[0008] The target data information corresponding to the target identity information in the target maintenance object is updated to trigger the to-be-updated material rendering component to be updated.

[0009] In a possible implementation, obtaining a pre-built target maintenance object includes:

[0010] Obtain a pre-built last update time maintenance object, wherein the target maintenance object maintains the corresponding relationship between the identity information of all material rendering components and the last update time of the corresponding material rendering components;

[0011] The updating of the target data information corresponding to the target identity information in the target maintenance object to trigger the updating of the material rendering component to be updated includes:

[0012] The last update time corresponding to the target identity information in the last update time maintenance object is updated to trigger the update of the material rendering component to be updated.

[0013] In a possible implementation, before updating the target data information corresponding to the target identity information in the target maintenance object to trigger the updating of the to-be-updated material rendering component, the method further includes:

[0014] Obtaining structured data sent by a designer of the low-code development platform, wherein the structured data is used to guide the renderer to perform page rendering to generate a user interface;

[0015] Parsing the substructured data corresponding to the target identity information from the structured data as the component data to be updated;

[0016] The updating of the target data information corresponding to the target identity information in the target maintenance object to trigger the updating of the material rendering component to be updated includes:

[0017] The target data information corresponding to the target identity information in the target maintenance object is updated to trigger the material rendering component to be updated according to the component data to be updated.

[0018] In a possible implementation, triggering the to-be-updated material rendering component to be updated according to the to-be-updated component data includes:

[0019] The material rendering component to be updated is triggered to adopt a preset anti-shake mechanism to perform anti-shake update according to the component data to be updated.

[0020] A second aspect of the present application provides a method for updating a material rendering component, which is applied to a designer of a low-code development platform, comprising:

[0021] When performing material arrangement and material attribute configuration, record the updated target material;

[0022] Determine the material rendering component corresponding to the target material as the material rendering component to be updated;

[0023] Obtain the identity information of the material rendering component to be updated as the target identity information;

[0024] The target identity identification information is sent to the renderer of the low-code development platform so that the renderer triggers the updated material rendering component to be updated.

[0025] A third aspect of the present application provides an update device for a material rendering component, which is applied to a renderer of a low-code development platform, including:

[0026] An identification receiving module is used to obtain target identity identification information sent by the designer of the low-code development platform, wherein the target identity identification information is the identity identification information of the material rendering component to be updated, and the material rendering component to be updated refers to the material rendering component corresponding to the updated target material generated by the designer during the process of material arrangement and material attribute configuration;

[0027] An object acquisition module is used to acquire a pre-built target maintenance object, wherein the target maintenance object maintains the corresponding relationship between the identity information of all material rendering components and the target data information of the corresponding material rendering components;

[0028] The component update module is used to update the target data information corresponding to the target identity information in the target maintenance object to trigger the update of the material rendering component to be updated.

[0029] A fourth aspect of the present application provides an updating device for a material rendering component, which is applied to a designer of a low-code development platform, comprising:

[0030] The material record module is used to record the updated target materials when performing material arrangement and material attribute configuration;

[0031] A component determination module is used to determine the material rendering component corresponding to the target material as the material rendering component to be updated;

[0032] An identification acquisition module is used to obtain the identity identification information of the material rendering component to be updated as the target identity identification information;

[0033] An identification sending module is used to send the target identity identification information to the renderer of the low-code development platform so that the renderer triggers the updated material rendering component to be updated.

[0034] In a fifth aspect, the present application provides a computer program product comprising computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements the method for updating the material rendering component of the first aspect or any implementation of the first aspect, or implements the method for updating the material rendering component of the second aspect.

[0035] A sixth aspect of the present application provides an electronic device, comprising at least one processor and a memory connected to the processor, wherein:

[0036] The memory is used to store computer programs;

[0037] The processor is used to execute the computer program so that the electronic device can implement the updating method of the material rendering component of the first aspect or any implementation manner of the first aspect, or implement the updating method of the material rendering component of the second aspect.

[0038] In a seventh aspect, the present application provides a computer storage medium, which carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement the update method of the material rendering component of the above-mentioned first aspect or any implementation method of the first aspect, or implement the update method of the material rendering component of the above-mentioned second aspect.

[0039] By means of the above technical solution, the updating method of the material rendering component provided by this application takes into account that the designer of the low-code development platform can determine which materials have been updated when performing material arrangement and material attribute configuration, and thus can determine which material rendering components need to be updated. Based on this, this application sends the target identity identification information of the material rendering component to be updated to the renderer through the designer of the low-code development platform, and then the renderer obtains the pre-built target maintenance object, and updates the target data information corresponding to the target identity identification information in the target maintenance object to trigger the update of the material rendering component to be updated. It can be seen from this that this application can only update the material rendering component to be updated through the target maintenance object and the target identity identification information, without having to update all material rendering components, which reduces the update frequency of the material rendering component to a certain extent, and thus optimizes the performance problems caused by the frequent updates of the material rendering component. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.

[0041] Figure 1 A flowchart of a method for updating a material rendering component of a renderer provided by this application;

[0042] Figure 2 A flowchart of a method for updating a material rendering component of a designer provided in this application;

[0043] Figure 3 A schematic diagram of the structure of an updating device for a material rendering component of a renderer provided by this application;

[0044] Figure 4 A flowchart of a method for updating a material rendering component of a designer provided in this application;

[0045] Figure 5 This is a schematic diagram of the structure of an electronic device provided in this application. DETAILED DESCRIPTION

[0046] The following describes the embodiments of the present application in conjunction with the accompanying drawings. The terms used in the implementation methods of the present application are only used to explain the specific embodiments of the present application and are not intended to limit the present application.

[0047] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0048] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, and this is merely a way of distinguishing the objects of the same attributes when describing them in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0049] Those skilled in the art should understand that in low-code development, designer, renderer, structured data and materials are four core concepts. The following explains these four core concepts in detail to facilitate understanding of this application.

[0050] Designer: It is an editor that performs visual drag-and-drop arrangement, attribute configuration, and event configuration of materials. After editing, it generates a set of structured data that can be parsed and presented by the renderer.

[0051] Renderer: Renders structured data into a user interface that users can intuitively see according to certain rules.

[0052] Structured data: A set of data that stores configurable specific data structures such as material structure relationships, attribute configurations, event configurations, etc., which is used to guide the renderer to render and generate the user interface.

[0053] Materials are composed of various independent functional components. Each component provides configurable properties and events to implement specific functions. In addition to defining the functional components, materials also expose their related configuration items and lifecycle callbacks. When a material is given a specific data structure, the renderer can render this data structure into a specific component effect and present it on the interface.

[0054] This application provides a method for updating a material rendering component and related devices, which can be applied to scenarios where a low-code development platform is used to generate a user interface.

[0055] For example, projects often require customization of the data overview page (i.e., user interface) based on client requirements. The data overview page is a large screen display consisting of various statistical data, real-time data, and charts. Different clients have different requirements for the display format and data of the data overview page. Custom development for each client would be time-consuming and labor-intensive. Therefore, we developed a low-code development platform specifically for dynamically composing and customizing the data overview page.

[0056] During the layout and customization of the data overview page, in order to meet customer requirements, it is necessary to repeatedly adjust the attributes and layout of each page element (i.e., material) on the data overview page, thereby requiring repeated updates and rendering of the material rendering component. In order to avoid performance issues caused by frequent updates of the material rendering component, the update frequency of the material rendering component can be reduced through the update method and related devices provided in this application.

[0057] In order to enable those skilled in the art to better understand the present application, the implementation process of the updating method of the material rendering component provided by the present application is introduced in detail below.

[0058] First, an update method for a material rendering component of a renderer provided by an embodiment of the present application is introduced. Figure 1 , Figure 1 The present invention provides a flowchart of a method for updating a material rendering component of a renderer according to an embodiment of the present application.

[0059] like Figure 1 As shown, an updating method for a material rendering component of a renderer provided by an embodiment of the present application may include steps S101 to S103, and these steps are described in detail below.

[0060] Step S101: Obtain the target identity information sent by the designer of the low-code development platform.

[0061] The target identity information is the identity information of the material rendering component to be updated. The material rendering component to be updated refers to the material rendering component corresponding to the updated target material generated by the designer during the process of material arrangement and material attribute configuration.

[0062] It is understandable that when the designer of the low-code development platform performs material arrangement and material attribute configuration, it can determine which materials have been updated, and then determine which material rendering components need to be updated. For the convenience of the following description, the updated materials are defined as target materials, and the material rendering components that need to be updated are defined as material rendering components to be updated.

[0063] In this embodiment, the identity identification information of the material component to be updated can be used as the target identity identification information. Then, the designer can send the target identity identification information to the renderer so that the renderer only renders the page based on the material rendering component to be updated.

[0064] Optionally, the above-mentioned identity identification information can be an identity identification number (Identity Document, ID) or other custom identity coding information, such as the Chinese name of the material rendering component and / or summary information of the identity identification number, etc., which is not specifically limited in this application.

[0065] It should also be noted that the target identity information includes at least one identity information. If the target identity information includes multiple identity information, there are multiple material rendering components to be updated.

[0066] Step S102: Acquire a pre-built target maintenance object.

[0067] In this embodiment, a pre-built target maintenance object may be maintained in the renderer. Here, the target maintenance object maintains the correspondence between the identity information of all material rendering components and the target data information of the corresponding material rendering components.

[0068] For example, all material rendering components include: material rendering components 1 to 10, whose identity identification information is ID1 to ID10 respectively, and whose target data information is target data information 1 to target data information 10 respectively. Then the corresponding relationships in the target maintenance object include: corresponding relationship 1 composed of ID1 and target data information 1, corresponding relationship 2 composed of ID2 and target data information 2, and so on, corresponding relationship 10 composed of ID10 and target data information 10.

[0069] Step S103: updating the target data information corresponding to the target identity information in the target maintenance object to trigger the updating of the material rendering component to be updated.

[0070] In this embodiment, the update of the target data information in the target maintenance object can trigger the update of the material rendering component. Therefore, after receiving the target identity identification information, the renderer can update the target data information corresponding to the target identity identification information in the target maintenance object. As a result, the material rendering component to be updated indicated by the target identity identification information is updated accordingly.

[0071] Optionally, a listening event can be set for each material rendering component. When the material rendering component listens to the update of the target data information corresponding to its own identity identification information in the target maintenance object, it can be updated accordingly. For example, in this embodiment, the material rendering component to be updated listens to the update of the target data information corresponding to the target identity identification information, and then the material rendering component to be updated is updated accordingly.

[0072] Of course, the above process of setting up listening events is only an example. In addition to this, there may be other implementation methods. For example, after the renderer updates the target data information corresponding to the target identity information in the target maintenance object, it can generate notification information and send the notification information to the material rendering component to be updated. Thus, the material rendering component to be updated can be updated after receiving the notification information.

[0073] The updating method of the material rendering component provided by the present application takes into account that the designer of the low-code development platform can determine which materials have been updated when performing material arrangement and material attribute configuration, and thus can determine which material rendering components need to be updated. Based on this, the present application sends the target identity identification information of the material rendering component to be updated to the renderer through the designer of the low-code development platform, and then the renderer obtains the pre-built target maintenance object, and updates the target data information corresponding to the target identity identification information in the target maintenance object to trigger the update of the material rendering component to be updated. It can be seen that the present application can only update the material rendering component to be updated through the target maintenance object and the target identity identification information, without having to update all material rendering components, which reduces the update frequency of the material rendering component to a certain extent, and thus optimizes the performance problems (such as performance degradation) caused by the frequent updates of the material rendering component.

[0074] In some embodiments of the present application, the target maintenance object in the previous step S101, as well as the process of step S102 "obtaining a pre-built target maintenance object" and step S103 "updating the target data information corresponding to the target identity information in the target maintenance object to trigger the update of the material rendering component to be updated" are introduced in detail.

[0075] In one possible implementation, the "target maintenance object" can be a last update time maintenance object, also known as a lastRenderTime object. The target data information is the last update time, meaning that the target maintenance object maintains the corresponding relationship between the identity information of all material rendering components and their last update times.

[0076] Based on this, the process of "obtaining a pre-built target maintenance object" in step S102 may include: obtaining a pre-built last update time maintenance object. Correspondingly, the process of "updating the target data information corresponding to the target identity information in the target maintenance object to trigger an update of the material rendering component to be updated" in step S103 may include: updating the last update time corresponding to the target identity information in the last update time maintenance object to trigger an update of the material rendering component to be updated.

[0077] Optionally, the above-mentioned process of "updating the last update time corresponding to the target identity identification information in the last update time maintenance object based on the current time to trigger the update of the material rendering component to be updated" may include: updating the last update time corresponding to the target identity identification information in the last update time maintenance object to the current time to trigger the update of the material rendering component to be updated.

[0078] Those skilled in the art should understand that the update process of the material rendering component needs to be based on the component data, that is, the data in the above-mentioned structured data.

[0079] Based on this, before step S103 "updates the target data information corresponding to the target identity information in the target maintenance object to trigger the update of the material rendering component to be updated", the embodiment of the present application will also obtain the target object data sent by the designer of the low-code development platform, and obtain structured data based on the target object data. Here, structured data refers to the data formed by the designer during the process of material arrangement and material attribute configuration, which is used to guide the renderer to render the page to generate the user interface; the component data corresponding to the target identity information is parsed from the structured data as the component data to be updated. Here, the target object data is the structured data itself, or the reference object of the structured data.

[0080] Optionally, the structured data is JSON (JavaScript Object Notation, JS key-value pair data), which defines the meaning of each level and each attribute in the JSON data. For example, an example of the definition of structured data is as follows:

[0081] "interface MetaData{

[0082] / **

[0083] *Page material warehouse

[0084] * /

[0085] pageStore:MetaDataStore

[0086] / **

[0087] *Pop-up material warehouse

[0088] * /

[0089] dialogStores?:MetaDataStore <metadatadialogmaterial>[]

[0090] / **

[0091] * Designer storage data

[0092] * /

[0093] designer? :MetaDataDesigner

[0094] / **

[0095] *Renderer storage data interface

[0096] * /

[0097] ”.

[0098] In this embodiment, the structured data consists of the identity information of each material rendering component and the corresponding component data. Here, the component data includes but is not limited to material configuration data, such as material attribute data, etc. This embodiment can parse the component data of the material rendering component to be updated from the structured data using the target identity information.

[0099] For the convenience of subsequent description, the component data of the above-mentioned material rendering component to be updated is defined as component data to be updated.

[0100] On this basis, the above-mentioned step S103 "updating the target data information corresponding to the target identity identification information in the target maintenance object to trigger the update of the material rendering component to be updated" may include: updating the target data information corresponding to the target identity identification information in the target maintenance object to trigger the material rendering component to be updated to be updated according to the component data to be updated.

[0101] That is, the above-mentioned process of "updating the last update time corresponding to the target identity identification information in the last update time maintenance object to trigger the update of the material rendering component to be updated" may include: updating the last update time corresponding to the target identity identification information in the last update time maintenance object to trigger the material rendering component to be updated to update according to the component data to be updated.

[0102] In another possible implementation, in actual user interface development, the designer must repeatedly arrange and configure material properties. The time interval between these repeated material arrangement and material property configurations may be very small. For example, after configuring a certain property value for a material, a designer may discover that the configured property value is incorrect and reconfigure the new property value. The time interval between the two configurations is very small.

[0103] When designers perform multiple material arrangements and material property configurations in a short period of time, they may not need to see the rendering effect each time. For example, in the previous example, the designer may not need to see the rendering effect after the first property value configuration.

[0104] Based on this, this embodiment can reduce the update frequency by avoiding the update process of the material rendering component for some material arrangement and material attribute configuration through anti-shake updates. In other words, the process of "triggering the updated material rendering component to be updated based on the data of the component to be updated" mentioned above can include: triggering the updated material rendering component to be updated to perform anti-shake updates based on the data of the component to be updated using a preset anti-shake mechanism.

[0105] To be more specific, each time the designer arranges materials and configures material properties, the corresponding target identity information is sent to the renderer. Each time the renderer receives the target identity information, it updates the target data information in the target maintenance object to notify the updated material rendering component that needs to be updated. However, the updated material component will not be updated according to the updated component data every time, but will only be updated once within the time range agreed upon by the anti-shake mechanism.

[0106] It is understandable that in the above-mentioned anti-shake update implementation method, the anti-shake update reduces the update times of the material rendering component to a certain extent. However, each material arrangement and material attribute configuration still needs to parse the component data to be updated from the structured data, which not only wastes parsing time but also wastes parsing resources.

[0107] Based on this, in a more preferred implementation of anti-shake update, this embodiment can first determine whether the current time is within the time range agreed upon by the triggered anti-shake mechanism before parsing the component data to be updated from the structured data as mentioned above, or before obtaining the target object data sent by the designer of the low-code development platform. (Each time the update and rendering process of the material rendering component to be updated is performed, the anti-shake mechanism will be triggered. If the time difference between the current time and the last update time of the material rendering component to be updated is less than or equal to the time range threshold agreed upon by the anti-shake mechanism, it is determined that the current time is within the time range agreed upon by the triggered anti-shake mechanism; otherwise, it is determined that the current time is not within the time range agreed upon by the triggered anti-shake mechanism. If so, the step of parsing the component data to be updated from the structured data will not be executed to save parsing time and parsing resources.

[0108] In summary, in the embodiments provided above, incremental updates of the material rendering component can be achieved by maintaining the object and target identity information at the last update time. The addition of an anti-shake mechanism can further reduce the update frequency of the material rendering component on the basis of incremental updates, effectively optimizing the performance issues caused by frequent updates of the material rendering component.

[0109] The embodiment of the present application also provides a method for updating a material rendering component applied to a designer. The following describes in detail the method for updating a material rendering component applied to a designer according to the embodiment of the present application in conjunction with the accompanying drawings.

[0110] Reference Figure 2 , Figure 2 The following is a flow chart of a method for updating a material rendering component of a designer provided in an embodiment of the present application. Figure 2 As shown, an updating method for a material rendering component applied to a designer provided in an embodiment of the present application may include steps S201 to S204, and these steps are described in detail below.

[0111] Step S201: When performing material arrangement and material attribute configuration, record the updated target material.

[0112] In this embodiment, the designer provides an interface for designers to arrange materials and configure material properties. The interface is generally divided into three areas: the left area, the middle area, and the right area. The left area provides a variety of materials for designers to select and replace, such as components in the component library such as layout components and data display components, data sources, templates, and images; the right area is the material property configuration area, where designers can arrange materials and configure material properties; the middle area is the rendering effect presentation area of ​​the renderer, where the specific rendering effects of the designer's material arrangement and material property configuration can be displayed in real time.

[0113] Since material arrangement and material attribute configuration are both performed on the designer, the designer can accurately determine which materials have changed each time material arrangement and material attribute configuration are performed. Based on this, this embodiment can record the updated materials through the designer when performing material arrangement and material attribute configuration. For the convenience of subsequent description, this material is defined as the target material.

[0114] Step S202: Determine the material rendering component corresponding to the target material as the material rendering component to be updated.

[0115] It can be understood that there is a corresponding relationship between materials and material rendering components. After the target material is recorded in the current document, the material rendering component corresponding to the target material can be further determined, that is, the material rendering component to be updated that needs to be updated.

[0116] Step S203: Obtain the identity information of the material rendering component to be updated as the target identity information.

[0117] Step S204: Send the target identity identification information to the renderer of the low-code development platform so that the renderer triggers the update of the material rendering component to be updated.

[0118] In this embodiment, after receiving the target identity information, the renderer may trigger the to-be-updated material rendering component to be updated, for example, updating the to-be-updated material rendering component according to the above description.

[0119] Of course, in addition to the update method using the target maintenance object mentioned above, this application can also adopt other update methods. For example, the renderer itself maintains the correspondence between identity identification information and material rendering components. After determining the material rendering component to be updated corresponding to the target identity identification information based on the correspondence, the material rendering component to be updated is triggered to be updated based on the component data to be updated.

[0120] The material rendering component update method provided in this embodiment can update only the material rendering component to be updated each time material arrangement and material attribute configuration are performed, instead of directly updating all material rendering components without thinking. This realizes the incremental update of the material rendering component, effectively reduces the update frequency of the material rendering component, and avoids performance problems such as performance degradation of the material rendering component to a certain extent.

[0121] The above describes a method for updating a material rendering component applied to a renderer provided by an embodiment of the present application. The following describes an apparatus for executing the method for updating a material rendering component applied to a renderer.

[0122] See also Figure 3 , Figure 3 This is a schematic diagram of a structural diagram of an updating device for a material rendering component of a renderer provided in an embodiment of the present application. Figure 3 As shown, the updating device applied to the material rendering component of the renderer may include:

[0123] The identification receiving module 301 is used to obtain the target identity identification information sent by the designer of the low-code development platform, wherein the target identity identification information is the identity identification information of the material rendering component to be updated, and the material rendering component to be updated refers to the material rendering component corresponding to the target material updated by the designer during the process of material arrangement and material attribute configuration;

[0124] The object acquisition module 302 is used to acquire a pre-built target maintenance object, wherein the target maintenance object maintains the corresponding relationship between the identity information of all material rendering components and the target data information of the corresponding material rendering components;

[0125] The component updating module 303 is used to update the target data information corresponding to the target identity information in the target maintenance object, so as to trigger the updating of the material rendering component to be updated.

[0126] In a possible implementation, when acquiring the pre-built target maintenance object, the object acquisition module may be specifically used to:

[0127] A pre-built last update time maintenance object is obtained, wherein the target maintenance object maintains the corresponding relationship between the identity information of all material rendering components and the last update time of the corresponding material rendering components.

[0128] Accordingly, when the component update module updates the target data information corresponding to the target identity information in the target maintenance object to trigger the update of the material rendering component to be updated, it can be specifically used to:

[0129] Update the last update time corresponding to the target identity information in the last update time maintenance object to trigger the update of the material rendering component to be updated.

[0130] In a possible implementation, the updating device for the material rendering component of the renderer provided in the embodiment of the present application may further include: a data parsing module.

[0131] The data parsing module is used to obtain the target object data sent by the designer of the low-code development platform, obtain structured data based on the target object data, and parse the component data corresponding to the target identity information from the structured data as the component data to be updated. The structured data is used to guide the renderer to render the page to generate a user interface.

[0132] Accordingly, when the component update module updates the target data information corresponding to the target identity information in the target maintenance object to trigger the update of the material rendering component to be updated, it can be specifically used to:

[0133] The target data information corresponding to the target identity information in the target maintenance object is updated to trigger the material rendering component to be updated to be updated according to the component data to be updated.

[0134] In a possible implementation, when the component update module triggers the material rendering component to be updated to update according to the component data to be updated, it can be specifically used to:

[0135] The component that triggers the material rendering to be updated uses the preset anti-shake mechanism to perform anti-shake updates based on the component data to be updated.

[0136] It should be noted that each module in the aforementioned updating device for the material rendering component of the renderer can be implemented in whole or in part through software, hardware, or a combination thereof. Each of the aforementioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the aforementioned modules.

[0137] The above also introduces a method for updating a material rendering component applied to a designer provided by an embodiment of the present application. The following will introduce a device for executing the above-mentioned method for updating a material rendering component applied to a designer.

[0138] See also Figure 4 , Figure 4 This is a schematic diagram of the structure of an updating device for a material rendering component of a designer provided in an embodiment of the present application. Figure 4 As shown, the updating device applied to the material rendering component of the designer may include:

[0139] The material recording module 401 is used to record the updated target materials when performing material arrangement and material attribute configuration;

[0140] A component determination module 402 is configured to determine a material rendering component corresponding to the target material as the material rendering component to be updated;

[0141] The identification acquisition module 403 is used to obtain the identity identification information of the material rendering component to be updated as the target identity identification information;

[0142] The identification sending module 404 is used to send the target identity identification information to the renderer of the low-code development platform so that the renderer triggers the updated material rendering component to be updated.

[0143] It should be noted that each module in the updating device for the material rendering component of the designer can be implemented in whole or in part through software, hardware, or a combination thereof. Each of the modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the modules.

[0144] An embodiment of the present application further provides an electronic device, which may include at least one processor and a memory connected to the processor, wherein:

[0145] Memory is used to store computer programs;

[0146] The processor is used to execute a computer program so that the electronic device can implement any method for updating a material rendering component applied to a renderer provided in the embodiments of the present application, or implement any method for updating a material rendering component applied to a designer provided in the embodiments of the present application.

[0147] refer to Figure 5 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present application. The electronic device in the embodiments of the present application may include but is not limited to fixed terminals such as mobile phones, laptops, PDAs (personal digital assistants), PADs (tablet computers), desktop computers, etc. Figure 5 The electronic device shown is merely an example and should not limit the functions and scope of use of the embodiments of the present application.

[0148] like Figure 5 As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. When the electronic device is powered on, the RAM 503 also stores various programs and data required for the operation of the electronic device. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0149] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a memory card, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Figure 5 The electronic device is shown with various devices, but it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed instead.

[0150] Also provided in an embodiment of the present application is a computer program product including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements any one of the methods for updating a material rendering component applied to a renderer provided in an embodiment of the present application, or implements any one of the methods for updating a material rendering component applied to a designer provided in an embodiment of the present application.

[0151] A computer-readable storage medium is also provided in an embodiment of the present application. The storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any one of the methods for updating the material rendering component of the renderer provided in the embodiment of the present application, or implement any one of the methods for updating the material rendering component of the designer provided in the embodiment of the present application.

[0152] It should also be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed across multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. In addition, in the drawings of the device embodiments provided in this application, the connection relationship between the modules indicates that there is a communication connection between them, which can be specifically implemented as one or more communication buses or signal lines.

[0153] Through the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course can also be implemented by special hardware including application-specific integrated circuits, special CPUs, special memories, special components, etc. In general, all functions performed by computer programs can be easily implemented with corresponding hardware, and the specific hardware structures used to implement the same function can also be diverse, such as analog circuits, digital circuits or special circuits, etc. However, for the present application, software program implementation is a better implementation method in most cases. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer's floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk or optical disk, etc., and includes a number of instructions to enable a computer device (which can be a personal computer, training equipment, or network equipment, etc.) to execute the methods described in each embodiment of the present application.

[0154] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0155] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, a computer, a training device or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website, a computer, a training device or a data center. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).< / metadatadialogmaterial>

Claims

1. A method for updating a material rendering component, characterized in that: Renderers for low-code development platforms, including: Obtain target identity information sent by the designer of the low-code development platform, wherein the target identity information is the identity information of the material rendering component to be updated, and the material rendering component to be updated refers to the material rendering component corresponding to the updated target material generated by the designer during the process of material arrangement and material attribute configuration; Obtain a pre-built target maintenance object, wherein the target maintenance object maintains a correspondence between identity information of all material rendering components and target data information of the corresponding material rendering components; The target data information corresponding to the target identity information in the target maintenance object is updated to trigger the to-be-updated material rendering component to be updated.

2. The updating method of the material rendering component according to claim 1, characterized in that: The obtaining of the pre-built target maintenance object includes: Obtain a pre-built last update time maintenance object, wherein the target maintenance object maintains the corresponding relationship between the identity information of all material rendering components and the last update time of the corresponding material rendering components; The updating of the target data information corresponding to the target identity information in the target maintenance object to trigger the updating of the material rendering component to be updated includes: The last update time corresponding to the target identity information in the last update time maintenance object is updated to trigger the update of the material rendering component to be updated.

3. The updating method of the material rendering component according to claim 2, characterized in that: Before updating the last update time corresponding to the target identity information in the last update time maintenance object to trigger the to-be-updated material rendering component to update, the method further includes: Obtaining target object data sent by a designer of the low-code development platform, and obtaining structured data according to the target object data, wherein the structured data is used to guide the renderer to perform page rendering to generate a user interface; Parsing the component data corresponding to the target identity information from the structured data as the component data to be updated; The updating of the last update time corresponding to the target identity information in the last update time maintenance object to trigger the updating of the material rendering component to be updated includes: The last update time corresponding to the target identity information in the last update time maintenance object is updated to trigger the to-be-updated material rendering component to be updated according to the to-be-updated component data.

4. The updating method of the material rendering component according to claim 3, characterized in that: The triggering the to-be-updated material rendering component to be updated according to the to-be-updated component data includes: The material rendering component to be updated is triggered to adopt a preset anti-shake mechanism to perform anti-shake update according to the component data to be updated.

5. A method for updating a material rendering component, characterized in that: Designers for low-code development platforms, including: When performing material arrangement and material attribute configuration, record the updated target material; Determine the material rendering component corresponding to the target material as the material rendering component to be updated; Obtain the identity information of the material rendering component to be updated as the target identity information; The target identity identification information is sent to the renderer of the low-code development platform so that the renderer triggers the updated material rendering component to be updated.

6. A device for updating a material rendering component, characterized in that: Renderers for low-code development platforms, including: An identification receiving module is used to obtain target identity identification information sent by the designer of the low-code development platform, wherein the target identity identification information is the identity identification information of the material rendering component to be updated, and the material rendering component to be updated refers to the material rendering component corresponding to the updated target material generated by the designer during the process of material arrangement and material attribute configuration; An object acquisition module is used to acquire a pre-built target maintenance object, wherein the target maintenance object maintains the corresponding relationship between the identity information of all material rendering components and the target data information of the corresponding material rendering components; The component update module is used to update the target data information corresponding to the target identity information in the target maintenance object to trigger the update of the material rendering component to be updated.

7. A device for updating a material rendering component, characterized in that: Designers for low-code development platforms, including: The material record module is used to record the updated target materials when performing material arrangement and material attribute configuration; A component determination module is used to determine the material rendering component corresponding to the target material as the material rendering component to be updated; An identification acquisition module is used to obtain the identity identification information of the material rendering component to be updated as the target identity identification information; An identification sending module is used to send the target identity identification information to the renderer of the low-code development platform so that the renderer triggers the updated material rendering component to be updated.

8. A computer program product, characterized in that The method comprises computer-readable instructions, which, when executed on an electronic device, enable the electronic device to implement the updating method of the material rendering component as described in any one of claims 1 to 4, or the updating method of the material rendering component as described in claim 5.

9. An electronic device, characterized in that: comprising at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs; The processor is used to execute the computer program so that the electronic device can implement the updating method of the material rendering component according to any one of claims 1 to 4, or implement the updating method of the material rendering component according to claim 5.

10. A computer storage medium, characterized in that The storage medium carries one or more computer programs, which, when executed by an electronic device, enable the electronic device to implement the method for updating the material rendering component as described in any one of claims 1 to 4, or the method for updating the material rendering component as described in claim 5.