Component linkage rendering method and device, electronic equipment, storage medium and product
By implementing rendering listeners and event order management in a low-code platform, the problem of rendering failures involving multiple components and multiple events was solved, thereby improving the accuracy and efficiency of component rendering.
Patent Information
- Application Number
- CN202210248452.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-14
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2042-03-14
AI Technical Summary
In low-code platforms, rendering failures are common when multiple components and events are rendered together. Existing technologies struggle to accurately control rendering events of different renderers and components, resulting in a high rendering failure rate.
By using render listeners, the relationships between components are obtained, render events are determined, and render events are executed according to the pre-configured render order. This enables component grouping and event information generation, ensuring a high render success rate.
It improves the success rate of component rendering, ensures the accurate execution of rendering events, avoids rendering failures, and enhances rendering efficiency and success rate.
Smart Images

Figure CN114661287B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the field of cloud computing and intelligent search in the field of computer technology, and particularly relates to a component linkage rendering method and device, electronic equipment, storage medium and product. BACKGROUND
[0002] A low-code development platform (LCDP) is a development platform that can quickly generate an application without coding or with a small amount of coding. The low-code platform can provide external development services, and usually, the development services can provide visual component configuration through a renderer. In actual applications, multiple renderers can be used, for example, a form renderer can provide form components such as a picture input box and a file input box, and a conditional renderer can provide conditional expression components to dynamically display different contents according to data.
[0003] Usually, after program development is completed, a program page can be rendered and displayed, and page rendering is completed by a rendering engine. However, in actual applications, the engine rendering process can not accurately control different component rendering actions of different renderers, and components are prone to rendering failure, resulting in a high failure rate of rendering. SUMMARY
[0004] The present disclosure provides a component linkage rendering method and device for a low-code platform, electronic equipment, storage medium and product.
[0005] According to a first aspect of the present disclosure, a component linkage rendering method is provided, comprising:
[0006] obtaining at least one component to be rendered;
[0007] determining rendering events having an association relationship with the components, and obtaining rendering events corresponding to at least one of the components, respectively;
[0008] if the components are multiple, grouping the multiple components according to the rendering events to obtain at least one group of components;
[0009] obtaining event information of rendering events having an association relationship with at least one group of components;
[0010] generating corresponding rendering events according to the event information of the rendering events, and executing at least one of the rendering events according to a preconfigured rendering order; the event information includes execution relationship information of at least one component associated with the same rendering event when performing a rendering action.
[0011] According to a second aspect of the present disclosure, a component linkage rendering device is provided, comprising:
[0012] The component obtaining unit is configured to obtain at least one component to be rendered.
[0013] The event determining unit is configured to determine a rendering event associated with the component, and obtain a rendering event corresponding to each of the at least one component.
[0014] The component grouping unit is configured to group the plurality of components according to the rendering event if the component is a plurality of components, and obtain at least one group of components.
[0015] The event generating unit is configured to obtain event information of a rendering event associated with the at least one group of components.
[0016] The event executing unit is configured to generate a corresponding rendering event according to the event information of the rendering event, and execute at least one rendering event according to a preconfigured rendering order. The event information includes execution relationship information of at least one component associated with the same rendering event when performing a rendering action.
[0017] According to a third aspect of the present disclosure, an electronic device is provided, comprising:
[0018] at least one processor; and
[0019] a memory connected with the at least one processor; wherein
[0020] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the component linkage rendering method of the first aspect.
[0021] According to a fourth aspect of the present disclosure, a non-transitory computer readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to perform the component linkage rendering method of the first aspect.
[0022] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising: a computer program stored in a readable storage medium, and at least one processor of an electronic device can read the computer program from the readable storage medium, and the at least one processor executes the computer program to enable the electronic device to perform the method of the first aspect.
[0023] The technical solution according to the present disclosure solves the problem of rendering failure in multi-component multi-event linkage rendering, and acquires at least one component by using a rendering monitoring manner. By determining a rendering event having an association relationship with the component, the rendering event corresponding to each component can be obtained, and the rendering event can be grouped. After grouping, the corresponding rendering event can be generated by using the rendering information of the rendering event, and the rendering event can be generated and executed in sequence, so that the rendering success rate can be ensured. By generating and executing the rendering event by using the event information of the component, the rendering event of the component can be accurately rendered, and the rendering success rate of the component is improved.
[0024] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0025] The accompanying drawings are used to better understand the present scheme and do not limit the present disclosure. Among them:
[0026] Figure 1 is an application scenario diagram of a component rendering method provided by the present disclosure;
[0027] Figure 2 is a flowchart of one embodiment of a component linkage rendering method provided by the present disclosure;
[0028] Figure 3 is a flowchart of another embodiment of a component linkage rendering method provided by the present disclosure;
[0029] Figure 4 is a flowchart of another embodiment of a component linkage rendering method provided by the present disclosure;
[0030] Figure 5 is a flowchart of another embodiment of a component linkage rendering method provided by the present disclosure;
[0031] Figure 6 is a structural schematic diagram of a component linkage rendering system provided by the present disclosure;
[0032] Figure 7 is a structural schematic diagram of one embodiment of a component linkage rendering device provided by the present disclosure;
[0033] Figure 8 is a block diagram of an electronic device for implementing the component linkage rendering method of the present disclosure. DETAILED DESCRIPTION
[0034] Exemplary embodiments of the present disclosure are described herein with reference to the accompanying drawings, which are cited as illustrative examples. Various details of the embodiments of the present disclosure are described herein in order to provide a thorough understanding of the present disclosure. It will be understood by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Also, in the following description, descriptions of well-known functions and constructions are omitted for clarity and conciseness.
[0035] The technical solution of the present disclosure can be applied to the use scenario of a low-code platform. By performing event listening on at least one component, the mapping relationship between the component and the event can be saved. When the target component is triggered, the corresponding rendering event can be constructed according to the event information of the component and executed. It can ensure that the event is accurately executed and improve the storage efficiency of the event.
[0036] Generally, a low-code platform (Low-Code Development Platform, LCDP) is a development platform that can quickly generate an application without coding or with a small amount of coding. In actual applications, a low-code platform can usually provide a renderer to a user through a low-code rendering engine or a low-code front-end framework. The renderer can include a plurality of components, from which the user can select appropriate components and set corresponding data for the components in related attributes. After the component selection and attribute setting are completed, the page can be rendered. The rendering of the page is mainly completed through the low-code rendering engine. The rendering engine can read the data of the components through a communication protocol to render the component events using the data of the components. The component events can be composed of information such as component names and event descriptions. The rendering of the components can be completed using the component events. The rendering engine can render a plurality of components. However, due to the many component call flows and processing methods in the program, a component can have multiple events at the same time. The rendering engine can accurately control the event actions performed by different renderers and different components at the same time during rendering, which can cause the components to fail to render, resulting in a high rendering failure rate.
[0037] The present disclosure provides a component rendering method and device, electronic equipment, storage medium and product. It can be applied to the fields of cloud computing and intelligent search in the computer field to effectively improve the success rate of component rendering.
[0038] To solve the above technical problems, the embodiment adopts a rendering monitoring manner to obtain at least one component. By determining a rendering event having an association relationship with the component, the rendering event corresponding to each of the at least one component can be obtained, and the grouping of the rendering events can be implemented. After grouping, the rendering information of the rendering event can be used to generate a corresponding rendering event, and the rendering event is generated and executed in sequence, which can ensure the rendering success rate. By using the event information of the component to generate the rendering event and execute it, the rendering event of the component can be accurately rendered, and the rendering success rate of the component is improved.
[0039] Based on the above creative findings, the technical solutions of the present disclosure are provided. The component rendering method provided by the embodiments of the present disclosure is described in detail below.
[0040] Figure 1 is an application scenario that can implement a component rendering method provided by the present disclosure. As shown in Figure 1 , the component rendering method corresponds to a system architecture which can include a first electronic device 1 and a second electronic device 2. As shown in Figure 1 , the first electronic device 1 can be a computer. The second electronic device can be a cloud server. The first electronic device 1 can be configured with a low-code development platform, such as a low-code rendering engine or a low-code front-end framework, which can provide one or more renderers for users to display candidate components of the renderer. One or more rendering events created by the user based on the candidate components are detected, and when the user initiates an information generation request, an information generation request is initiated to the second electronic device based on the information generation request carrying one or more rendering events. The rendering event can correspond to at least one component.
[0041] The second electronic device 2 can obtain event information of at least one rendering event based on the information generation request initiated by the first electronic device, so as to determine at least one component and obtain rendering events having an association relationship with each component by using the component linkage rendering method provided by the present disclosure. After performing corresponding component grouping, at least one rendering event is generated and executed in sequence, which can realize the ordered processing between the components and the events, improve the processing efficiency and the rendering success rate.
[0042] As shown in Figure 2 , a flowchart of one embodiment of a component linkage rendering method provided by the embodiments of the present disclosure is shown, which can be configured as a component linkage rendering device. The device can be located in an electronic device. The component linkage rendering method can include the following steps:
[0043] 201: Obtain at least one component to be rendered.
[0044] The component can refer to a specific object obtained by encapsulating data and methods, and can refer to a control corresponding to a page. The technical solutions of the disclosure can be applied to cloud computing and intelligent search scenarios in computer technology, in particular, a low-code front-end framework. The low-code front-end framework is a page renderer, which can render a completed page based on a JSON (English full name: JavaScript Object Notation, Chinese full name: object score of instant compilation type programming language) in a specific format, and can be used for development of various management pages, and can also be referred to as a low-code rendering engine. The component is a page object that can be configured by JSON, and the corresponding page control can be completed by JSON.
[0045] 202: Determine a rendering event associated with the component, and obtain at least one rendering event corresponding to each component.
[0046] Optionally, the rendering event can refer to a specific interaction instant occurring in a document or a browser window, and the browser needs to perform corresponding page rendering operations according to the document. At least one rendering event can be triggered at the same time. The rendering event can be obtained by listening. The rendering event can perform corresponding rendering on at least one component. One component can be rendered by multiple events.
[0047] In this embodiment, the rendering event can include an event name, an event description, and an event context. The event name can be a string or a symbol that identifies the component. The event description can be information recording the specific execution content of the event. The order and execution content of at least one action in the event can be recorded through the event description. The execution content can be the specific execution content of the component. Taking a text box as an example, the execution content can be inputting text information, such as a user's account or password. The event context can refer to the rendering event executed before and after the rendering event.
[0048] 203: If the component is multiple, the multiple components are grouped according to the rendering event, and at least one group of components is obtained.
[0049] The components can be distinguished by using component names. When the component is one, the component can be directly rendered by using the rendering event, thereby improving the rendering efficiency of the component.
[0050] In this embodiment, when the component is multiple, the components can be grouped according to the event names corresponding to the components. When the component is bound to the event, it can be referred to as a component event, and the component event can include an event name and an event name. One component can be in multiple events. The multiple events can be multi-level events, and the multi-level events can refer to that the rendering events are executed in the order of levels.
[0051] 204: Get event information for rendering events of at least one set of related components.
[0052] The event information for a rendering event can include the event name and event description.
[0053] Any group of components consists of at least one component that has the same rendering event. The rendering events that are related to at least one group of components can refer to the rendering events that correspond to at least one component in each group of components.
[0054] 205: Generate corresponding rendering events based on the event information of the rendering events. Execute at least one rendering event according to the pre-configured rendering order. The event information includes the execution relationship information of at least one component associated with the same rendering event when performing rendering actions.
[0055] After obtaining the component, you can generate and initiate the corresponding rendering events. Once the rendering events are generated, they can begin execution.
[0056] In this embodiment, obtaining at least one component to be rendered allows for rendering control of that component. Determining rendering events associated with the component allows for obtaining rendering events corresponding to each component, thus establishing a mapping between rendering events for each component. If multiple components are identified, they are grouped according to rendering events to obtain at least one group of components. Each group of components can be associated with a corresponding rendering event, enabling component and event management. Obtaining event information for the rendering events associated with at least one group of components allows for the generation of corresponding rendering events based on the event information, enabling real-time event triggering. Executing at least one rendering event according to a pre-configured rendering order ensures sequential execution of each rendering event, avoiding conflicts between the execution processes of different components for different rendering events, and ensuring accurate event execution.
[0057] In one possible design, such as Figure 3 The diagram shown is a flowchart of one embodiment of a component-linked rendering method provided in this disclosure. This component-linked rendering method can be configured as a component-linked rendering device, which can be located in an electronic device. This component-linked rendering method is related to... Figure 2 The difference in the component-linked rendering method shown is that step 201: obtaining at least one component to be rendered can include the following steps:
[0058] Step 2011: Listen for at least one broadcast event message. The broadcast event message may include at least one component associated with the same render event, as well as the event information of the render event.
[0059] Step 2012: reading at least one component from at least one broadcast event information respectively to obtain at least one component to be rendered.
[0060] The broadcast event information can include an event name, an event description, and an event context of the rendering event. The broadcast event information can be converted according to the format definition of the rendering event. The event name and the event context can be automatically provided by the low-code front-end framework, and the user can set the event name and the event context through the visual configuration of the low-code front-end framework.
[0061] When listening to the event, the event name and the action set of the event can be set. The action set can include at least one rendering action of the event. The rendering action can include an action name and an action description. In use, one component can be configured with multiple actions. The action set can specify the execution order of multiple actions, the execution dependency condition of the action, and the action intervention information. The execution order can be obtained by the user's arrangement of the action.
[0062] In this example, the broadcast event information can be identified by a listener, such as a didMount component.
[0063] In the embodiments of the present disclosure, one or more broadcast event information can be obtained by listening to the broadcast event information. The broadcast event information can include at least one component associated with the same rendering event and the event information of the rendering event. By reading at least one component from at least one broadcast information respectively, at least one component to be rendered can be obtained. By listening, the accurate acquisition of the component to be rendered can be realized, the omission of the component to be rendered can be avoided, and the comprehensiveness of rendering can be ensured.
[0064] In some embodiments, after step 2011 of listening to at least one event broadcast information, the method can further include:
[0065] Establishing an association between the rendering event in the event broadcast information and the at least one component belonging to the rendering event.
[0066] Optionally, an event binding module can be used to establish an association between the rendering event in the event broadcast information and the at least one component belonging to the rendering event. Through the association, the corresponding relationship between the at least one component and the corresponding rendering event can be realized, and bidirectional query can be realized.
[0067] In the embodiments of the present disclosure, after at least one event broadcast information is listened to, the rendering event in each event broadcast information and the at least one component can be used to establish a corresponding association relationship. The association relationship can be used to determine the component corresponding to the rendering event when the rendering event is executed subsequently. Through the establishment of the association relationship between the rendering event and the at least one component, the corresponding relationship between the rendering event and the at least one component can be more explicit, and the accuracy of event execution can be ensured.
[0068] In some embodiments, before at least one event broadcast information is listened to, the method can further include:
[0069] Detecting a user-triggered information generation request, obtaining at least one rendering event in the information generation request.
[0070] Converting the original event information corresponding to the rendering event into event broadcast information corresponding to the rendering event according to a broadcast event format.
[0071] The broadcast of the event broadcast information can be triggered by the user. The original event information corresponding to the rendering event, that is, the event name and event description of the rendering event, is converted into corresponding event broadcast information according to the broadcast event format.
[0072] The information generation request can be initiated after the user completes the arrangement of the component and the setting of the component attribute by using the renderer in the low-code front-end framework. The initiation of the information generation request can make the electronic device enter the event rendering operation. The event broadcast information can broadcast the event, so that the listener can listen to the corresponding rendering event.
[0073] In the embodiments of the present disclosure, the generation of the event broadcast information can be based on the user-triggered information generation request. By detecting the user-triggered information generation request, at least one rendering event in the information generation request is obtained. The acquisition of the rendering event can accurately and explicitly determine the processing object of the information generation request. After the rendering event is acquired, the original event information corresponding to the rendering event is converted into event broadcast information corresponding to the rendering event according to the broadcast event format. Through the conversion according to the broadcast event format, the accurate generation of the rendering event can be ensured, so that the rendering event can be accurately executed.
[0074] In order to more accurately manage the rendering event, after the at least one rendering event is executed according to the pre-configured rendering order, the method can further include:
[0075] If it is determined that the rendering event execution is completed, the association relationship between the rendering event and the at least one component belonging to the rendering event is unregistered.
[0076] Optionally, a logout component, such as a willUnmount (unmount component) can be used to logout the association between the rendering event and the at least one component belonging to the rendering event, which can ensure accurate logout of the rendering event. The logout component can be a device configured in advance for logging out the association.
[0077] In the embodiments of the present disclosure, when it is determined that the execution of the rendering event ends, the association between the rendering event and the at least one component belonging to the rendering event can be logged out. By logging out the association corresponding to the rendering event, accurate and effective management of the rendering event can be achieved, and repeated rendering of the rendering event or rendering conflict with other rendering events due to the existence of the association can be avoided, thereby improving the processing efficiency and accuracy of the rendering event.
[0078] In order to accurately execute the rendering event, as shown in Figure 4 As shown in the embodiment of Figure 2 In step 205, executing the at least one rendering event according to the pre-configured rendering order can include the following steps:
[0079] Step 2051: According to the configured rendering order, determining a target rendering event to be rendered from the at least one rendering event.
[0080] Step 2052: Executing the target rendering event, and when the rendering of the target rendering event ends, returning to step 2051 to continue executing the step of determining the target rendering event to be rendered from the at least one rendering event according to the configured rendering order until the execution of the last rendering event ends.
[0081] The rendering order can be determined when the user sets the rendering event. The rendering order can be specified by the user, or can be accurately generated by the jump relationship between two or more rendering events to achieve accurate rendering.
[0082] The rendering event can be generated in sequence based on the rendering order. According to the rendering order, each time a rendering event is generated, the rendering event can be determined as a target rendering event, and the target rendering event can be executed.
[0083] In a possible design, if it is determined that rendering of any target rendering event fails, a prompt information indicating that the target rendering event fails to render can be output. If it is determined that the target rendering event ends, the rendering result of each rendering event can be fed back to the user, for example, the rendering result can be sent to the user equipment, and the corresponding rendering result can be displayed on the user equipment. If all the rendering events end and no rendering failure occurs, a prompt information indicating that all the rendering events succeed to render can be output. Specifically, the prompt information indicating that the rendering succeeds can be sent to the user equipment, and the prompt information indicating that the rendering succeeds can be displayed on the user equipment.
[0084] In the embodiments of the present disclosure, according to the configured rendering order, a target rendering event to be currently rendered can be determined from at least one rendering event, so as to realize the sequential acquisition of the at least one rendering event, avoid the omission of the execution of the rendering event, ensure that each rendering event is executed, and improve the execution efficiency and accuracy of the rendering event.
[0085] As an embodiment, in step 2052, the execution of the target rendering event can include the following steps:
[0086] An execution action tree corresponding to at least one rendering action of the target rendering event is acquired. The execution action tree includes at least one execution node. The execution node corresponds to a corresponding rendering action.
[0087] According to the execution relationship information of the rendering actions of the rendering event, a node execution order corresponding to the at least one execution node is determined. The execution relationship information of the rendering actions includes the execution order and the action nesting relationship between the rendering actions of the rendering event.
[0088] According to the node execution order, one execution node is sequentially controlled to execute the corresponding rendering action respectively, so as to complete the target rendering event.
[0089] Optionally, when the execution action tree is generated for the target rendering event, the execution action tree is generated based on the action execution relationship information between the at least one rendering action set for the target rendering event. The action execution relationship information can include at least one of the execution logic, the jump logic and the like of the rendering action. Through the execution relationship information, the jump logic and the information transmission mode between two adjacent rendering actions can be determined.
[0090] The action execution tree can be generated according to the jump logic between the actions. For example, when the execution of the A rendering action ends, the B rendering action is jumped to, and the A rendering action is the parent execution node of the B rendering action.
[0091] The execution node in the action execution tree can be generated according to the rendering action. The node category of the execution node corresponds to the rendering content of the rendering action. For example, when the rendering action is a logic action, the execution node corresponding to the rendering action can be a Break (terminate) node, a Continue (end this loop and continue the next loop) node and the like. In addition, based on the rendering action, the execution stage can further include a concurrent node, an exclusive node, a loop node, a custom action node, a component general action node, a component specific action node and / or a broadcast node.
[0092] In the embodiments of the present disclosure, the rendering event can include at least one rendering action. When the target rendering event is executed, a corresponding execution action tree can be obtained. The execution action tree can include at least one execution node. The execution action tree can accurately locate the context association between the at least one rendering action of the rendering event. Through the execution relationship information of the rendering event, the node execution order corresponding to the at least one execution node can be determined, so that the rendering action corresponding to the at least one execution node in the execution action tree is executed in the node execution order. The accurate execution of the at least one rendering action of the rendering event is realized, and the rendering efficiency and accuracy of the at least one rendering action of the rendering event are improved.
[0093] In a possible design, the action execution tree corresponding to the at least one rendering action of the target rendering event can be generated when the rendering event is generated. After the target rendering event is determined, the execution action tree corresponding to the at least one rendering action of the target rendering event can be obtained, which can include:
[0094] Global event information corresponding to the target rendering event is obtained. The global event information can include positioning information generated when the target rendering event is generated as a global event.
[0095] Based on the global event information corresponding to the rendering event, the execution action tree corresponding to the at least one rendering action of the target rendering event can be located.
[0096] The rendering event can be a global event, and the global event information can be generated when the corresponding target rendering event is generated by using the event information, and can include the location of the target rendering event in the memory.
[0097] In the embodiments of the present disclosure, the global event information corresponding to the target rendering event is obtained, so that the positioning information generated when the target rendering event is generated as the global event information is obtained, and the execution action tree corresponding to the at least one rendering action of the target rendering event is accurately located based on the global event corresponding to the rendering event. Through the acquisition of the global event information, the execution action tree of the target rendering event can be accurately located, the fast and accurate acquisition of the execution action tree of the target rendering event is realized, and the rendering efficiency is improved.
[0098] In order to realize the accurate execution of the rendering action, the execution steps of the rendering action corresponding to the execution node can include the following steps:
[0099] At least one target component corresponding to the rendering action of the execution node in the at least one component of the target rendering event is determined.
[0100] Based on the rendering content corresponding to the rendering action in the at least one target component respectively, the rendering content corresponding to the at least one target component is executed respectively.
[0101] The action object corresponding to the at least one target component can be determined for the rendering action of the execution node, and then the rendering content of each of the at least one component is executed respectively.
[0102] In the embodiment of the present disclosure, when the rendering action is executed, at least one target component corresponding to the rendering action can be determined from the at least one component corresponding to the target rendering event, so as to obtain the at least one target component of the rendering action. The rendering content corresponding to each of the at least one target component is executed based on the rendering action. Through the determination of the at least one target component corresponding to the target rendering event, the at least one target component corresponding to the target rendering event can be accurately positioned, and the rendering content corresponding to each target component is determined and executed respectively, so as to accurately execute the rendering event, avoid the rendering failure caused by the unclear component association relationship and the unclear rendering content corresponding to the component, and accurately render the target rendering event.
[0103] As shown in Figure 5 FIG. 6 is a flowchart of another embodiment of a component linkage rendering method provided by the present disclosure. The method can be configured as a component linkage rendering device, which can be located in an electronic device. The component linkage rendering method is different from the embodiment shown in FIG. 5 in that before determining the at least one component to be rendered, the method can further include the following steps: Figure 1
[0104] 501: Detecting a renderer set by a user based on a page configuration platform, and obtaining at least one candidate component in the renderer.
[0105] 502: Detecting at least one rendering event setting request initiated by a user based on the at least one candidate component.
[0106] The rendering event can include an event name and an event action set. The event action set can include rendering actions determined for each of the at least one component of the rendering event. The rendering action corresponding to any component of the same rendering event can include one or more.
[0107] 503: Generating at least one rendering event according to the at least one rendering event setting request; the at least one rendering event corresponds to a rendering order.
[0108] In the embodiments of the present disclosure, before rendering, a renderer set by a user based on a page configuration platform can be detected to obtain at least one candidate component in the renderer. The at least one candidate component can be used to quickly generate a rendering event, thereby improving the generation efficiency of the rendering event. By detecting a setting request of at least one rendering event initiated by the user based on the at least one candidate component, at least one rendering event can be generated according to the setting request of the at least one rendering event, thereby realizing the personalized setting of the at least one rendering event by the user and improving the matching degree of the at least one rendering event and the user demand. By setting a corresponding rendering order for the at least one rendering event, the accurate execution of the at least one rendering event can be ensured, thereby effectively guaranteeing the execution success rate of the at least one rendering event.
[0109] In a possible design, the step 503 of generating at least one rendering event according to at least one rendering event setting request may, when being performed concretely, include the following steps.
[0110] The preconfigured candidate actions are determined according to the at least one rendering event setting request.
[0111] At least one rendering action of the rendering event is determined from the candidate actions based on the rendering action execution relationship information of the rendering event.
[0112] The candidate actions may include one or more of a broadcast action, a component general action, a component specific action, a logic action, and a custom action.
[0113] The action may be an action for a component, which can also be referred to as a component action, and may include a component general action and a component specific action. The component action can be composed of an action name, an action description, an action context, an action execution condition, an action intervention, and a subaction of the action. One component can be simultaneously defined with multiple actions in one rendering event. The rendering action is a candidate action of the rendering content. The rendering content is the specific content corresponding to the action, that is, the definition or description of the operation of the component under what conditions.
[0114] The context of the action can refer to a previous action and / or a next action, a neighboring action, and the like of the current action. The execution condition can refer to the condition under which the action is triggered to be executed. The action intervention can include preventing the execution of a subsequent action or preventing the execution of a subsequent component specific action of a component, and the like. In actual application, the action intervention can be configured by relying on preventDefault (prevent default event) and stopPropagation (prevent bubbling). preventDefault can notify the renderer not to execute the default action associated with the event. stopPropagation can stop the propagation of the event and prevent the event from being dispatched to other nodes.
[0115] If one component corresponds to one or more actions, the one or more actions can belong to different rendering events, that is, one component can correspond to at least one action corresponding to at least one rendering event respectively. In the embodiment, the rendering event is taken as the rendering unit.
[0116] Among them, the broadcast action can refer to the encapsulation obtained for the broadcast event. The component action can refer to the component-specific action and the component-common action defined for the component.
[0117] The component-common action can include pop-up windows, jumps, drawers, etc.; the component-specific action can include actions specific to the component, for example, the Tabs (tab) switching component can switch to a certain tab page, and the tab switching component can include multiple tab pages.
[0118] The logic action can include parallel, branching, looping, Continue (skipping the loop to continue executing the next loop), Break (stopping a loop under a certain condition), and the like. The logic action node can contain one or more sub-actions. Among them, the parallel action does not interfere with each other, but any one of the sub-actions set by the intervention configuration will affect the execution result of the subsequent logic action. The Break action provides an interrupt logic for the loop, and the Continue action provides a skip logic for the loop.
[0119] The custom action can refer to the custom execution logic based on JS. The execution logic can refer to the specific content of the action execution.
[0120] In the embodiment, the preconfigured candidate actions can be determined according to the request set according to at least one rendering event, and accurate acquisition of the candidate actions is realized. Based on the rendering action execution relationship information of the rendering event, at least one rendering action of the rendering event is determined from the candidate actions. Through the acquisition of the at least one rendering action, the component selected for the rendering action from the at least one candidate component, and the production of the rendering event based on the at least one rendering action and the component corresponding to each rendering action, at least one rendering event is obtained. Through the action selection and the selection of the rendering action corresponding to the action, the rendering event can be quickly generated.
[0121] For ease of understanding, as Figure 6 shown, a structural schematic diagram of a component linkage rendering system provided by an embodiment of the present disclosure is shown, which can include a component manager 601, an event processor 602, and an event executor 603.
[0122] The component manager 601 can be used to acquire at least one component to be rendered.
[0123] The event processor 602 can be configured to determine a rendering event associated with the component. At least one component is obtained respectively corresponding to a rendering event. If the component is a plurality of components, the plurality of components are grouped according to the rendering event to obtain at least one group of components. Event information of the rendering event associated with the at least one group of components is obtained. The corresponding rendering event is generated according to the event information of the rendering event. At least one rendering event is executed according to a preconfigured rendering order. The event information includes execution relationship information of at least one component associated with the same rendering event when performing a rendering action.
[0124] The event executor 603 can be configured to execute a specific rendering event.
[0125] In the embodiment, through the cooperative action of the component manager, the event processor and the event executor, the components can be accurately cooperatively rendered, the cooperative sequential rendering of multiple events is realized, and the accuracy of component rendering is improved.
[0126] In a possible design, in order to more accurately and more meticulously manage the components, with reference to Figure 6 , the component manager 601 can include a component obtaining unit 6011, a request detecting unit 6012, an association canceling unit 6013 and an event triggering unit 6014.
[0127] The component obtaining unit 6011 can listen to at least one event broadcast information, and read at least one component from the at least one event broadcast information.
[0128] The request detecting unit 6012 can first detect an information generation request triggered by a user, obtain at least one rendering event in the information generation request, convert original event information corresponding to the rendering event into event broadcast information corresponding to the rendering event according to a broadcast event format, broadcast each event broadcast information, and be listened to by the information listening module 6011 to obtain at least one component.
[0129] After the information listening module 6011 listens to at least one event broadcast information, at least one component is read from the at least one event broadcast information respectively, and at least one component to be rendered is obtained. Then, the event processor 602 can be initiated to establish a request of an association relationship of at least one component and a corresponding rendering event, and the association establishing unit 6021 in the event processor 602 establishes the association relationship between the rendering event in the event broadcast information and at least one component belonging to the rendering event. The association canceling unit 6013 can cancel the association relationship between the rendering event and at least one component belonging to the rendering event when it is determined that the rendering event execution ends.
[0130] The event triggering unit 6014 can execute at least one rendering event based on the preconfigured rendering order, triggering execution of the corresponding target rendering event. The event execution unit 6022 in the event processor 602 can read at least one component corresponding to the event and event information from the association relationship based on the triggering of the event triggering unit 6014, generate a corresponding rendering event, and execute at least one rendering event in the preconfigured rendering order.
[0131] The specific steps performed by each component can refer to the description of the above embodiments, which will not be repeated here.
[0132] As shown in Figure 7 FIG. 7 is a structural schematic diagram of an embodiment of a component linkage rendering device provided by the embodiments of the present disclosure. The component linkage rendering device can be configured with the component linkage rendering method in the foregoing embodiments. The device can be located in an electronic device. The component linkage rendering device 700 can include the following units:
[0133] The component acquisition unit 701 is configured to acquire at least one component to be rendered.
[0134] The event determination unit 702 is configured to determine a rendering event having an association relationship with the component, and obtain a rendering event corresponding to each of the at least one component.
[0135] The component grouping unit 703 is configured to group the plurality of components according to the rendering event if the component is a plurality of components, and obtain at least one group of components.
[0136] The event generation unit 704 is configured to acquire event information of the rendering event having an association relationship with the at least one group of components.
[0137] The event execution unit 705 is configured to generate a corresponding rendering event according to the event information of the rendering event, and execute at least one rendering event in a preconfigured rendering order. The event information includes execution relationship information of at least one component associated with the same rendering event when performing a rendering action.
[0138] As an embodiment, the component acquisition unit includes:
[0139] The information monitoring module is configured to monitor at least one event broadcast information. The event broadcast information includes at least one component associated with the same rendering event and event information of the rendering event.
[0140] The component reading module is configured to read at least one component from at least one event broadcast information respectively, and obtain at least one component to be rendered.
[0141] In some embodiments, further comprising:
[0142] The association establishing unit is configured to establish an association between a rendering event in the event broadcast information and at least one component belonging to the rendering event.
[0143] In some embodiments, the method further comprises:
[0144] The request detecting unit is configured to detect an information generation request triggered by a user, and obtain at least one rendering event in the information generation request.
[0145] The information converting unit is configured to convert original event information corresponding to the rendering event into event broadcast information corresponding to the rendering event according to a broadcast event format.
[0146] In a possible design, the method further comprises:
[0147] The association canceling unit is configured to cancel the association between the rendering event and the at least one component belonging to the rendering event if it is determined that the rendering event is executed.
[0148] As an embodiment, the event executing unit comprises:
[0149] The target determining module is configured to determine a target rendering event to be rendered currently from the at least one rendering event according to a configured rendering order.
[0150] The event executing module is configured to execute the target rendering event, and return to the step of determining the target rendering event to be rendered currently from the at least one rendering event according to the configured rendering order when the target rendering event is rendered, and execute until the last rendering event is executed.
[0151] In some embodiments, the event executing module comprises:
[0152] The action obtaining submodule is configured to obtain an execution action tree corresponding to at least one rendering action of the target rendering event; the execution action tree comprises at least one execution node, and the execution node corresponds to a corresponding rendering action.
[0153] The node determining submodule is configured to determine a node execution order corresponding to the at least one execution node according to execution relationship information of the rendering action of the rendering event; the execution relationship information of the rendering action comprises an execution order between the rendering actions of the rendering event and action nesting information.
[0154] The node executing submodule is configured to control the at least one execution node to execute the corresponding rendering action respectively according to the node execution order, so as to complete the target rendering event.
[0155] As an optional implementation, the action obtaining submodule is specifically configured to:
[0156] obtaining global event information corresponding to the target rendering event; the global event information comprises positioning information generated when the target rendering event is generated as a global event;
[0157] locating, based on the global event information corresponding to the rendering event, an execution action tree corresponding to at least one rendering action of the target rendering event.
[0158] As a possible implementation manner, the node execution submodule is specifically configured to:
[0159] determining at least one target component corresponding to the rendering action in at least one component of the target rendering event;
[0160] respectively executing corresponding rendering content on the at least one target component based on the rendering content corresponding to the rendering action in the at least one target component.
[0161] As another embodiment, the method further comprises:
[0162] detecting a renderer set by a user based on a page configuration platform, and obtaining at least one candidate component in the renderer;
[0163] detecting at least one rendering event setting request initiated by the user based on the at least one candidate component;
[0164] generating at least one rendering event according to the at least one rendering event setting request; the at least one rendering event corresponds to a rendering order.
[0165] In some embodiments, the generating of the at least one rendering event according to the at least one rendering event setting request comprises:
[0166] determining a preconfigured candidate action according to the at least one rendering event setting request;
[0167] determining at least one rendering action of the rendering event from the candidate action based on execution relationship information of the rendering action of the rendering event;
[0168] detecting a component selected by the user from the at least one candidate component for the rendering action;
[0169] generating a rendering event based on the at least one rendering action and the component corresponding to the rendering action, to obtain the at least one rendering event.
[0170] It should be noted that the human head model in the embodiment is not a human head model for a specific user, and cannot reflect personal information of a specific user. It should be noted that the two-dimensional face image in the embodiment comes from a public data set.
[0171] The collection, storage, use, processing, transmission, provision and disclosure of user personal information in the technical solutions of the present disclosure comply with relevant laws and regulations and do not violate public order and good customs.
[0172] According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0173] According to embodiments of the present disclosure, the present disclosure also provides a computer program product, which comprises a computer program stored in a readable storage medium, at least one processor of an electronic device can read the computer program from the readable storage medium, and the at least one processor executes the computer program to make the electronic device execute the scheme provided in any of the above embodiments.
[0174] Figure 8 A schematic block diagram of an example electronic device 800 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present disclosure described and / or claimed in this document.
[0175] As shown in Figure 8 The device 800 includes a computing unit 801 that can perform various appropriate actions and processes in accordance with a computer program stored in a read-only memory (ROM) 802 or a computer program loaded into a random access memory (RAM) 803 from a storage unit 808. Various programs and data required for the operation of the device 800 can also be stored in the RAM 803. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0176] Various components in the device 800 are connected to the I / O interface 805, including an input unit 806, such as a keyboard, a mouse, etc., an output unit 807, such as various types of displays, speakers, etc., a storage unit 808, such as a magnetic disk, an optical disk, etc., and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.
[0177] The computing unit 801 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs various methods and processes described above, such as the component-linkage rendering method. For example, in some embodiments, the component-linkage rendering method can be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 808. In some embodiments, part or all of the computer program can be loaded and / or installed onto the device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded onto the RAM 803 and executed by the computing unit 801, one or more steps of the component-linkage rendering method described above can be performed. Alternatively, in other embodiments, the computing unit 801 can be configured to perform the component-linkage rendering method by any other suitable means, such as by means of firmware.
[0178] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a complex programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0179] Program code for carrying out methods of the present disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the program code, when executed by the processor or controller, produces a means for implementing the functions / acts specified in the flowcharts and / or block diagrams. The program code can be executed entirely on a machine, partially on a machine, partially on a machine as a stand-alone software package, partially on a machine and partially on a remote machine or entirely on a remote machine or server.
[0180] In the context of this disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more lines of electrical connections, portable computer disks, hard disk drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), optical fibers, portable compact disc read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0181] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0182] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.
[0183] The computer system can include clients and servers. This relationship can be. The servers are generally remote from the users and can be accessed via the Internet using a communication network. The relationship can be a client-server relationship over a communications network, and as such, the servers can be accessed by the clients using computer programs. The servers can be cloud servers, also known as cloud computing servers or cloud hosts, which are mainframe products in the cloud computing service system, and solve the defects of large management difficulty and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or simply "VPS").
[0184] It should be understood that the various forms of flow shown above can be reordered, added to, or have steps deleted. For example, the steps described in the present disclosure can be performed in parallel, in series, or in a different order, as long as the desired results of the technical solutions of the present disclosure can be achieved, and the present disclosure is not limited herein.
[0185] The above detailed description does not constitute a limitation on the protection scope of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A component linkage rendering method, comprising: listening to at least one event broadcast information; the event broadcast information comprises at least one component associated with the same rendering event and event information of the rendering event; reading at least one component from at least one of the event broadcast information respectively, obtaining at least one component to be rendered; determining the rendering event associated with the component, obtaining the rendering event corresponding to at least one of the component respectively; if the component is a plurality of components, grouping the plurality of components according to the rendering event, obtaining at least one group of components; obtaining the event information of the rendering event associated with at least one group of components; generating the corresponding rendering event according to the event information of the rendering event, and executing at least one of the rendering event according to the preconfigured rendering order; the event information includes the execution relationship information of at least one component associated with the same rendering event when performing the rendering action.
2. The method of claim 1, wherein, after listening to at least one event broadcast information, further comprising: establishing the association between the rendering event in the event broadcast information and at least one component belonging to the rendering event.
3. The method of claim 1, wherein, before listening to at least one event broadcast information, further comprising: detecting the information generation request triggered by the user, obtaining at least one rendering event in the information generation request; converting the original event information corresponding to the rendering event into the event broadcast information corresponding to the rendering event according to the broadcast event format.
4. The method of claim 2, wherein, after executing at least one rendering event according to the preconfigured rendering order, further comprising: if it is determined that the rendering event execution is completed, canceling the association between the rendering event and at least one component belonging to the rendering event.
5. The method according to any one of claims 1 to 4, wherein, executing at least one rendering event according to the preconfigured rendering order, comprising: determining the target rendering event to be rendered currently from at least one rendering event according to the configured rendering order; executing the target rendering event, and returning to the step of determining the target rendering event to be rendered currently from at least one rendering event according to the configured rendering order when the target rendering event is rendered, and executing until the last rendering event is executed.
6. The method of claim 5, wherein, the execution of the target rendering event, comprising: obtaining the execution action tree corresponding to at least one rendering action of the target rendering event; the execution action tree includes at least one execution node, and the execution node corresponds to the corresponding rendering action; determining the node execution order corresponding to at least one execution node according to the execution relationship information of the rendering action of the rendering event; the execution relationship information of the rendering action includes the execution order and action nesting information between the rendering actions of the rendering event; controlling at least one execution node to execute the corresponding rendering action respectively according to the node execution order, so as to complete the target rendering event.
7. The method of claim 6, wherein, obtaining the execution action tree corresponding to at least one rendering action of the target rendering event, comprising: obtaining the global event information corresponding to the target rendering event; the global event information includes the positioning information generated when the target rendering event is generated as a global event; locating to an execution action tree corresponding to at least one of the rendering actions of the target rendering event based on global event information corresponding to the rendering event.
8. The method of claim 6 or 7, wherein, The execution step of the rendering action corresponding to the execution node comprises: determining at least one target component corresponding to the rendering action in at least one component of the target rendering event; respectively executing corresponding rendering content of at least one target component based on the rendering content of the rendering action in at least one target component.
9. The method of any one of claims 1-4, 6-7, further comprising: detecting a renderer set by a user based on a page configuration platform, and obtaining at least one candidate component in the renderer; detecting at least one rendering event setting request initiated by the user based on at least one candidate component; generating at least one rendering event according to at least one rendering event setting request; at least one rendering event corresponds to a rendering order.
10. The method of claim 9, wherein, The generating at least one rendering event according to at least one rendering event setting request comprises: determining a preconfigured candidate action according to at least one rendering event setting request; determining at least one rendering action of the rendering event from the candidate action based on execution relationship information of the rendering action of the rendering event; detecting a component selected by the user for the rendering action from at least one candidate component; generating the rendering event based on at least one rendering action and the component corresponding to the rendering action, to obtain at least one rendering event.
11. A component linkage rendering device, comprising: a component acquisition unit comprising an information monitoring module and a component reading module, the information monitoring module is configured to monitor at least one event broadcast information; the event broadcast information comprises at least one component associated with the same rendering event and event information of the rendering event; the component reading module is configured to read at least one component from at least one event broadcast information respectively, and obtain at least one component to be rendered; an event determination unit is configured to determine a rendering event having an association relationship with the component, and obtain at least one rendering event corresponding to at least one component respectively; a component grouping unit is configured to group a plurality of components according to the rendering event if the component is a plurality of components, and obtain at least one group of components; an event generation unit is configured to obtain event information of a rendering event having an association relationship with at least one group of components; an event execution unit is configured to generate a corresponding rendering event according to the event information of the rendering event, and execute at least one rendering event according to a preconfigured rendering order; the event information comprises execution relationship information of at least one component associated with the same rendering event when executing a rendering action.
12. The device of claim 11, further comprising: an association establishing unit is configured to establish an association relationship between the rendering event in the event broadcast information and at least one component belonging to the rendering event.
13. The device of claim 11, further comprising: a request detection unit is configured to detect an information generation request triggered by a user, and obtain at least one rendering event in the information generation request. The information conversion unit is configured to convert original event information corresponding to the rendering event into event broadcast information corresponding to the rendering event according to a broadcast event format.
14. The apparatus of claim 12, further comprising: The association canceling unit is configured to cancel the association between the rendering event and at least one component belonging to the rendering event if it is determined that the rendering event execution ends.
15. The apparatus of any of claims 11-14, wherein, The event execution unit comprises: The target determining module is configured to determine a target rendering event to be currently rendered from at least one rendering event according to a configured rendering sequence; The event execution module is configured to execute the target rendering event and return to the step of determining the target rendering event to be currently rendered from at least one rendering event according to the configured rendering sequence when the target rendering event ends, and the step is executed until the last rendering event ends.
16. The apparatus of claim 15, wherein, The event execution module comprises: The action obtaining submodule is configured to obtain an execution action tree corresponding to at least one rendering action of the target rendering event; the execution action tree comprises at least one execution node, and the execution node corresponds to a corresponding rendering action; The node determining submodule is configured to determine a node execution sequence corresponding to at least one execution node according to execution relationship information of the rendering action of the rendering event; the execution relationship information of the rendering action comprises an execution sequence and action nesting information between the rendering actions of the rendering event; The node execution submodule is configured to control at least one execution node to execute a corresponding rendering action in sequence according to the node execution sequence, so as to complete the target rendering event.
17. The apparatus of claim 16, wherein, The action obtaining submodule is specifically configured to: obtain global event information corresponding to the target rendering event; the global event information comprises positioning information generated when the target rendering event is generated as a global event; based on the global event information corresponding to the target rendering event, locate an execution action tree corresponding to at least one rendering action of the target rendering event.
18. The apparatus of claim 16 or 17, wherein, The node execution submodule is specifically configured to: determine at least one target component corresponding to the rendering action in at least one component of the target rendering event; based on rendering content corresponding to the rendering action in at least one target component, execute the rendering content in the at least one target component respectively.
19. The apparatus of any one of claims 11-14, 16-17, further comprising: detecting a renderer configured by a user based on a page configuration platform to obtain at least one candidate component in the renderer; detecting at least one rendering event setting request initiated by the user based on at least one candidate component; generating at least one rendering event according to at least one rendering event setting request; the at least one rendering event corresponds to a rendering sequence.
20. The apparatus of claim 19, wherein, The generating at least one rendering event according to at least one rendering event setting request comprises: determining a preconfigured candidate action according to at least one rendering event setting request; determining at least one rendering action of the rendering event from the candidate action based on execution relationship information of the rendering action of the rendering event; detecting a component selected by the user from at least one of the candidate components for the rendering action; generating the rendering event based on at least one rendering action and the component corresponding to the rendering action, to obtain at least one of the rendering event. 21.An electronic device, comprising: at least one processor; and a memory connected with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-10.
22. A non-transitory computer readable storage medium having stored thereon computer instructions, wherein, the computer instructions are used to enable the computer to perform the method of any one of claims 1-10. 23.A computer program product, comprising a computer program which, when executed by a processor, implements the steps of the method of any one of claims 1-10.
Citation Information
Patent Citations
Page rendering method and device based on component template and readable storage medium
CN111708537A
Component linkage configuration method and device, computer equipment and storage medium
CN112487112A