The configuration method and the page object display method

By choosing the cross-platform development framework Electron, establishing the correspondence between page objects and rendering and main processes, and generating communication logic configuration files, the problem of low efficiency in multi-platform development is solved, and flexible display of page objects is achieved.

CN117170661BActive Publication Date: 2026-07-21TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2022-05-25
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

When developing page objects in a multi-platform environment, existing technologies are labor-intensive, inefficient, and inflexible, making it difficult to meet cross-platform business needs.

Method used

By determining business requirements and runtime environment information, a cross-platform development framework, such as Electron, is selected, a mapping relationship is established between page objects and rendering processes and main processes, a communication logic configuration file is generated, and inter-process communication is optimized.

Benefits of technology

It improves the efficiency and platform adaptability of page object development, enables flexible implementation of business requirements, and ensures display effects on different platforms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117170661B_ABST
    Figure CN117170661B_ABST
Patent Text Reader

Abstract

The application relates to a configuration method and a page object display method. The method comprises the following steps: in response to a configuration instruction for a page object, determining first business requirement information and running environment information of a target application; when the running environment information indicates a cross-platform running environment, determining a target development framework according to the running environment information; establishing a first corresponding relationship between the first type of page object and a rendering process and a second corresponding relationship between the second type of page object and a main process based on specification information of the target development framework; and generating a first configuration file based on the first business requirement information, the first corresponding relationship and the second corresponding relationship. The application can be applied to various scenes such as cloud technology, artificial intelligence, intelligent transportation and auxiliary driving. In this way, the convenience and efficiency of generating the configuration file are improved, and the platform adaptability of the configuration file is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet communication technology, and in particular to a method for configuring and displaying page objects. Background Technology

[0002] With the development of internet communication technology, various internet products are emerging in an endless stream. Taking applications as an example, page objects in applications can satisfy the user's visual experience and provide guidance for user operations. In related technologies, the development of page objects is often based on the application's running platform, selecting a development framework adapted to that platform. When an application involves multiple running platforms, such development work becomes labor-intensive, inefficient, and inflexible. Summary of the Invention

[0003] To address at least one of the aforementioned technical problems, this application provides a method for configuring page objects and a method for displaying page objects:

[0004] According to a first aspect of this application, a configuration method for a page object is provided, the method comprising:

[0005] In response to configuration instructions for page objects, first business requirement information and target application runtime environment information are determined. The first business requirement information indicates that a preset operation applied to a first type of page object will trigger the display of a second type of page object. The target application is the application to which the first type of page object and the second type of page object belong.

[0006] When the runtime environment information indicates a cross-platform runtime environment, the target development framework is determined based on the runtime environment information;

[0007] Based on the specification information of the target development framework, a first correspondence between the first type of page object and the rendering process, and a second correspondence between the second type of page object and the main process are established. The rendering process is used to display the first type of page object, and the main process is used to display the second type of page object.

[0008] Based on the first business requirement information, the first correspondence, and the second correspondence, a first configuration file is generated that includes the communication logic between the rendering process and the main process.

[0009] According to a second aspect of this application, a method for displaying a page object is provided, applied to a target application, wherein a resource file related to running the target application includes a configuration file for the page object, the configuration file being generated based on the configuration method for the page object as described in the first aspect, the method comprising:

[0010] When the rendering process detects the preset operation for the first type of page object, it uses the main process to display the second type of page object.

[0011] According to a third aspect of this application, a configuration apparatus for a page object is provided, the apparatus comprising:

[0012] Command response module: used to respond to configuration commands for page objects, determine first business requirement information and target application runtime environment information, the first business requirement information indicates that a preset operation applied to a first type of page object will trigger the display of a second type of page object, and the target application is the application to which the first type of page object and the second type of page object belong;

[0013] Framework determination module: used to determine the target development framework based on the runtime environment information when the runtime environment information indicates a cross-platform runtime environment;

[0014] Relationship Establishment Module: Used to establish a first correspondence between the first type of page object and the rendering process, and a second correspondence between the second type of page object and the main process, based on the specification information of the target development framework. The rendering process is used to display the first type of page object, and the main process is used to display the second type of page object.

[0015] File generation module: used to generate a first configuration file including the communication logic between the rendering process and the main process based on the first business requirement information, the first correspondence and the second correspondence.

[0016] According to a fourth aspect of this application, a page object display device is provided, configured in a target application, wherein a resource file related to running the target application includes a configuration file for the page object, the configuration file being generated based on the page object configuration method as described in the first aspect, the device comprising:

[0017] Display module: When the rendering process detects the preset operation for the first type of page object, it uses the main process to display the second type of page object.

[0018] According to a fifth aspect of this application, an electronic device is provided, the electronic device including at least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores at least one instruction or at least one program, the at least one instruction or at least one program being loaded and executed by the at least one processor to implement the configuration method for a page object as described in the first aspect, or the page object display method as described in the second aspect.

[0019] According to a sixth aspect of this application, a computer-readable storage medium is provided, wherein at least one instruction or at least one program is stored therein, the at least one instruction or at least one program being loaded and executed by a processor to implement the configuration method for a page object as described in the first aspect, or the page object display method as described in the second aspect.

[0020] According to a seventh aspect of this application, a computer program product is provided, the computer program product comprising at least one instruction or at least one program segment, the at least one instruction or at least one program segment being loaded and executed by a processor to implement the configuration method for a page object as described in the first aspect, or the page object display method as described in the second aspect.

[0021] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this application.

[0022] Implementing this application will have the following beneficial effects:

[0023] During the development of page objects, a cross-platform target development framework is selected based on the target application's runtime environment information to improve development efficiency and ensure platform adaptability of page objects. This approach is also more flexible and convenient compared to solutions provided by related technologies when business requirements need to be adjusted. Simultaneously, by combining relevant instructions from business requirements with the specification information of the target development framework, a correspondence is established between the first type of page objects and the rendering process, and between the second type of page objects and the main process, thereby generating a configuration file containing inter-process communication logic. By configuring page objects related to preset operations based on the target development framework, the convenience and efficiency of generating configuration files are improved, as well as the platform adaptability of the configuration files. This ensures the implementation of specific business requirements under the target development framework. During the operation of the target application, the configuration file guarantees the display effect of page objects related to preset operations, ensuring applicability across different platforms.

[0024] Other features and aspects of this application will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description

[0025] To more clearly illustrate the technical solutions and advantages in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0026] Figure 1 This diagram illustrates an application environment according to an embodiment of the present application.

[0027] Figure 2 A flowchart illustrating a configuration method for a page object according to an embodiment of this application is shown.

[0028] Figure 3 A flowchart illustrating the establishment of a first response path for a triggering operation according to an embodiment of this application is shown.

[0029] Figure 4 A flowchart illustrating the determination of at least two third-party relationships according to an embodiment of this application is shown;

[0030] Figure 5 A flowchart illustrating a method for displaying a page object according to an embodiment of this application is shown;

[0031] Figure 6 A flowchart illustrating a page object display method according to an embodiment of this application is also shown;

[0032] Figure 7 A flowchart illustrating a page object display method according to an embodiment of this application is also shown;

[0033] Figure 8 This diagram illustrates a device block diagram according to an embodiment of the present application;

[0034] Figure 9 A schematic diagram of an electronic device according to an embodiment of this application is shown. Detailed Implementation

[0035] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0036] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or server that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.

[0037] Various exemplary embodiments, features, and aspects of this application will now be described in detail with reference to the accompanying drawings. The same reference numerals in the drawings denote elements that have the same or similar functions. Although various aspects of the embodiments are shown in the drawings, they are not necessarily drawn to scale unless specifically indicated otherwise.

[0038] The term “exemplary” as used herein means “serving as an example, embodiment, or illustration.” Any embodiment illustrated herein as “exemplary” is not necessarily to be construed as superior to or better than other embodiments.

[0039] In this document, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. Furthermore, the term "at least one" in this document means any combination of at least two of any one or more elements. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.

[0040] Furthermore, to better illustrate this application, numerous specific details are provided in the following detailed description. Those skilled in the art should understand that this application can be implemented without certain specific details. In some instances, methods, means, components, and circuits well-known to those skilled in the art have not been described in detail in order to highlight the main points of this application.

[0041] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.

[0042] Msg: message, refers to the message entity received / sent by the logged-in account.

[0043] Electron: A front-end development framework.

[0044] Main process: The process that runs by default after the client application starts.

[0045] Rendering process: The process that runs in a new window instance of the client application (created within the main process; one visible window corresponds to one rendering process).

[0046] Please see Figure 1 , Figure 1The diagram illustrates an application environment according to an embodiment of this application. The application environment may include a client 10 and a server 20. The client 10 and server 20 can be directly or indirectly connected via wired or wireless communication. Related objects (such as users or simulators) send configuration instructions for page objects to the server 20 through the client 10. The server 20 determines first business requirement information and target application runtime environment information based on the configuration instructions for the page objects. The first business requirement information indicates that a preset operation applied to a first type of page object will trigger the display of a second type of page object. The target application is the application to which the first and second types of page objects belong. Then, when the runtime environment information indicates a cross-platform runtime environment, the target development framework is determined based on the runtime environment information. Next, based on the specification information of the target development framework, a first correspondence between the first type of page object and the rendering process, and a second correspondence between the second type of page object and the main process are established. The rendering process is used to display the first type of page object, and the main process is used to display the second type of page object. Finally, based on the first business requirement information, the first correspondence, and the second correspondence, a first configuration file including the communication logic between the rendering process and the main process is generated. It should be noted that... Figure 1 This is just one example.

[0047] Client 10 can be a physical device such as a smartphone, computer (e.g., desktop computer, tablet, laptop), augmented reality (AR) / virtual reality (VR) device, digital assistant, smart voice interaction device (e.g., smart speaker), smart wearable device, smart home appliance, in-vehicle terminal, etc., or it can be software running on the physical device, such as a computer program. The operating system corresponding to the client can be Android, iOS (a mobile operating system developed by Apple), Linux (an operating system), Microsoft Windows, etc.

[0048] The server-side component 20 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The server may include network communication units, processors, and memory, etc. The server-side component can provide backend services to the corresponding clients.

[0049] In this embodiment, the process from "determining the first business requirement information and the target application's runtime environment information according to the configuration instructions for the page object" to "generating the first configuration file including the communication logic between the rendering process and the main process" can be completed independently by the client 10, or it can be completed through interaction between the client 10 and the server 20. If the resource files related to running the target application include a configuration file for the page object (corresponding to the aforementioned first configuration file), during the operation of the target application, when the rendering process detects a preset operation for the first type of page object, the main process displays the second type of page object. The target application can be a browser application, an instant messaging application, a navigation application, a live streaming application, an e-commerce application, etc.

[0050] The configuration and display schemes for page objects provided in this application embodiment utilize cloud computing technologies. Cloud computing is a computing model that distributes computing tasks across a resource pool composed of numerous computers, enabling various application systems to access computing power, storage space, and information services as needed. The network providing these resources is called the "cloud." Resources in the "cloud" appear infinitely scalable to users, readily available, on-demand, expandable, and pay-as-you-go. Cloud conferencing is an efficient, convenient, and low-cost conferencing format based on cloud computing technology. Users only need to perform simple and easy-to-use operations through an internet interface to quickly and efficiently share voice, data files, and video with teams and clients worldwide. The complex technologies involved in data transmission and processing during the meeting are handled by the cloud conferencing service provider. The cloud conferencing system supports dynamic multi-server cluster deployment and provides multiple high-performance servers, significantly improving meeting stability, security, and availability. In recent years, video conferencing has gained popularity due to its ability to significantly improve communication efficiency, continuously reduce communication costs, and upgrade internal management levels, and has been widely applied in various fields such as government, transportation, finance, telecommunications, education, enterprises, and connected vehicles.

[0051] It should be noted that when data related to user information is applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0052] Figure 2 The diagram illustrates a flowchart of a configuration method for a page object according to an embodiment of this application, as shown below. Figure 2 As shown, the method includes:

[0053] S201: In response to a configuration instruction for a page object, determine first business requirement information and target application runtime environment information, wherein the first business requirement information indicates that a preset operation applied to a first type of page object will trigger the display of a second type of page object, and the target application is the application to which the first type of page object and the second type of page object belong;

[0054] In this embodiment, the configuration instruction for a page object can carry first business requirement information and target application runtime environment information. Correspondingly, the first business requirement information and target application runtime environment information can be extracted from the configuration instruction for the page object. Regarding the configuration instruction for a page object, it can be understood that there is currently a group of page objects to be developed (including at least two page objects). This instruction provides information about the group of page objects to be developed, which can serve as the basis for developing the group of page objects.

[0055] The first business requirement information indicates that a preset operation applied to a first type of page object will trigger the display of a second type of page object. This information tells us that when a preset operation is applied to a first type of page object, the second type of page object needs to be displayed. The preset operation applied to the first type of page object can be a specified operation applied to a designated interactive control within that object. This designated interactive control can indicate the entire first type of page object or a portion of it. Generally, the designated operation is a fixed operation, such as a right-click or double-click. Taking a right-click as an example, it can be triggered by a user through an external computer input device (such as a mouse or keyboard). In practical applications, the user moves the mouse pointer over the first type of page object and clicks the right mouse button to activate a control object on that object. Here, the control object corresponds to the specified interactive control, and the "right-click" operation corresponds to the specified operation, i.e., the preset operation.

[0056] The target application is the application to which both the first and second type of page objects belong. In other words, the target application involves the display of both types of page objects during its operation. Furthermore, the display of the first and second type of page objects conforms to the aforementioned first business requirement information. The target application's runtime environment information indicates the ideal runtime environment for the target application.

[0057] S202: When the runtime environment information indicates a cross-platform runtime environment, determine the target development framework based on the runtime environment information;

[0058] In this embodiment, referring to the description in step S202 above, if the ideal operating environment for the target application is a cross-platform operating environment, then a front-end development framework compatible with it is selected. For example, if the cross-platform operating environment involves platform AC, a front-end development framework compatible with platform AC can be selected as the target development framework. The configuration scheme for page objects provided in this embodiment selects Electron as the target development framework. Through Electron, cross-platform desktop applications can be built using JavaScript, HTML, and CSS, reducing the technical threshold for users to build cross-platform desktop applications and improving the convenience and efficiency of users building cross-platform desktop applications.

[0059] S203: Based on the specification information of the target development framework, establish a first correspondence between the first type of page object and the rendering process, and a second correspondence between the second type of page object and the main process, wherein the rendering process is used to display the first type of page object, and the main process is used to display the second type of page object;

[0060] In this embodiment, the Electron specification indicates how to build a cross-platform desktop application based on Electron. For example, the resulting cross-platform desktop application involves a main process and a rendering process. The main process connects the operating system and the rendering process, and is responsible for managing all windows and their corresponding rendering processes. The rendering process is responsible for rendering pages, receiving user input, and responding to user interactions. Based on this, a first correspondence is established between a first type of page object and the rendering process, and a second correspondence is established between a second type of page object and the main process. On the one hand, combined with the aforementioned first business requirement information, generally speaking, the display time of the second type of page object is later than that of the first type of page object. The function of the main process ensures that it calls the operating system API to effectively display the second type of page object, ensuring the response effect to preset operations. On the other hand, if both the first type of page object and the second type of page object are displayed through the rendering process, the communication between the two rendering processes is more complex than the communication between the rendering process and the main process, which will lead to a poor response effect to preset operations.

[0061] S204: Based on the first business requirement information, the first correspondence and the second correspondence, generate a first configuration file including the communication logic between the rendering process and the main process.

[0062] In this embodiment, based on the first and second correspondences obtained in step S203, they are integrated with the first business requirement information to generate a first configuration file for page objects. The first correspondence clarifies the relationship between the first type of page objects and the rendering process, and the second correspondence clarifies the relationship between the second type of page objects and the main process. The integration of the first and second correspondences with the first business requirement information clarifies the communication logic of the rendering process "monitoring preset operations applied to the first type of page objects," the rendering process sending relevant messages to the main process, and the main process "displaying the second type of page objects based on the received relevant messages." In the subsequent operation of the target application, the display of the first and second type of page objects is implemented based on the first configuration file for the page objects.

[0063] It should be noted that the first configuration file may also include basic communication configuration information, which instructs the main process to register the monitoring of response events to the rendering process, configures the main process to send messages to the rendering process, registers the monitoring of response events to the main process, and configures the rendering process to send messages to the main process.

[0064] When a preset operation is applied to the first type of page object, the second type of page object needs to be displayed. To improve the user experience, the second type of page object provides relevant function options, which users can select to obtain the target information. This target information can be obtained through changes in the display of the first type of page object, or through a newly displayed third type of page object. The following sections will describe the inter-process communication involved in the relevant function options provided by the second type of page object, using both second and third business requirement information as examples.

[0065] 1) such as Figure 3 As shown, the method further includes:

[0066] S301: Obtain second business requirement information, the second business requirement information indicating that the triggering operation applied to the interactive control in the second type of page object will trigger the rendering process to execute a specified function, the specified function being used to implement the functions involved in the interactive control;

[0067] S302: Based on the second business requirement information, establish a first association between the interactive control and the specified function, and a first response path for the triggering operation. The first response path records the process by which the main process sends a notification that the interactive control has been triggered to the rendering process, and the rendering process responds to the notification based on the first association.

[0068] Regarding the second business requirement information, it can be understood that the second type of page object provides multiple functional options, each corresponding to an interactive control (or a group of interactive controls, including at least one interactive control). When a triggering operation is applied to an interactive control, it indicates that the functional option corresponding to the interactive control has been hit, and the specified function needs to be executed by the rendering process. Thus, the first association between the interactive control and the specified function, as well as the first response path for the triggering operation, can be established. The first response path records the inter-process communication involved in the functional option corresponding to the hit interactive control. It clarifies the communication logic of the main process "sending a notification that the interactive control has been triggered to the rendering process" and the rendering process "responding to the notification based on the first association." Furthermore, before "sending the notification that the interactive control has been triggered to the rendering process," the main process also "monitors the triggering operation applied to the interactive control" and "generates a notification that the interactive control has been triggered." For "responding to the notification based on the first association," the rendering process "receives the notification that the interactive control has been triggered," "determines the specified function based on the notification that the interactive control has been triggered and the first association," and "executes the specified function."

[0069] Accordingly, after generating a first configuration file containing communication logic between the rendering process and the main process based on the first business requirement information, the first correspondence, and the second correspondence, the process includes: updating the first configuration file based on the first response path to obtain a second configuration file. Compared to the first configuration file, the second configuration file enriches the application of page objects. The second business requirement information is abstracted into a first association and a first response path, with the response path covering the unidirectional communication between the main process and the rendering process, achieving effectiveness and convenience in developing page objects using Electron. It should be noted that during the process of updating the first configuration file, the "method of sending messages from the rendering process configuration to the main process" can be updated using the "response notification based on the first association" mentioned above.

[0070] 2) The first type of page object includes a first page object and a second page object as its subordinate. The second type of page object includes a third page object. The third page object is displayed triggered by the preset operation performed on the second page object. The first rendering process is used to display the first page object, and the second rendering process is used to display the second page object. The method further includes the following steps:

[0071] First, obtain third business requirement information. The third business requirement information indicates that the triggering operation of the interactive control in the third page object will trigger the first rendering process to execute a specified function. The specified function is used to implement the functions involved in the interactive control.

[0072] Then, based on the third business requirement information, a second association relationship between the interactive control and the specified function and a second response path for the triggering operation are established. The second response path records the process of the main process sending a first notification that the interactive control is triggered to the second rendering process, the second rendering process forwarding a second notification that the specified function is to be executed to the first rendering process through the main process, and the first rendering process responding to the second notification. The second notification is generated by the second rendering process based on the second association relationship.

[0073] Regarding the third business requirement information, it can be understood that the second type of page object provides multiple functional options, each corresponding to an interactive control (or a group of interactive controls, including at least one interactive control). When a trigger operation is applied to an interactive control, it indicates that the functional option corresponding to the interactive control is hit, and the specified function needs to be executed by the rendering process. Furthermore, the rendering process executing the specified function is the rendering process corresponding to the first type of page object that has an indirect relationship with the second type of page object, not the rendering process corresponding to the first type of page object that has a direct relationship with the second type of page object. When a preset operation is applied to the first type of page object, the second type of page object needs to be displayed; at this time, the first type of page object and the second type of page object have a direct relationship. The parent of this first type of page object has an indirect relationship with the second type of page object. In the configuration scheme for page objects provided in this application embodiment, the parent of this first type of page object is also a first type of page object displayed by the rendering process.

[0074] The first rendering process displays the first page object, and the second rendering process displays the second page object. Both the first and second page objects belong to the first type of page object, with the first page object being the parent of the second page object. The third page object is displayed when a preset operation is performed on the second page object. For example, if the first page object indicates the main window (main page) of the target application, the second page object indicates a second-level window (second-level page) relative to the main window (main page), and the third page object indicates the "right-click menu" triggered by the "right-click" operation performed on the second-level window (second-level page).

[0075] Based on the third business requirement information, the execution process of the specified function is the first rendering process, not the second rendering process. This setting takes into account situations where the specific function option selected by the user requires the first rendering process to execute relevant functions, such as executing relevant functions to implement changes in the display of the first page object or to capture relevant information from the first page object. For example, if the first page object indicates a chat window with object A, the second page object indicates a window displaying chat message records with object A, and the third page object indicates a "right-click menu" triggered by the "right-click" operation on the second page object. When the user selects the function option "Forward" from the "right-click menu," the first rendering process needs to execute relevant functions to generate a forwarding guidance window. This forwarding guidance window can be displayed by other rendering processes besides the first and second rendering processes, triggered by the first rendering process executing relevant functions. The default display position of the forwarding guidance window can be above the chat window. The forwarding guidance window can guide the user to select the target forwarding object, such as an object with an existing chat window or an object that does not yet have a chat window (which needs to be selected from the address book).

[0076] This allows the establishment of a second association between interactive controls and specified functions, as well as a second response path for triggered operations. The second response path records the inter-process communication involved in the function options corresponding to the triggered interactive controls. It clarifies the communication logic of the main process "sending a first notification that the interactive control has been triggered to the second rendering process," the second rendering process "forwarding a second notification of the specified function to be executed to the first rendering process through the main process," and the first rendering process "responding to the second notification." Furthermore, before "sending the first notification that the interactive control has been triggered to the second rendering process," the main process also "monitors the triggering operation acting on the interactive control" and "generates a first notification that the interactive control has been triggered." For "forwarding a second notification of the specified function to be executed to the first rendering process through the main process," the second rendering process "receives the first notification that the interactive control has been triggered," "determines the specified function based on the first notification and the second association," "generates a second notification of the specified function to be executed," and "sends the second notification of the specified function to be executed to the main process"; the main process "receives the second notification of the specified function to be executed" and "sends the second notification of the specified function to be executed to the first rendering process." For "responding to the second notification," the first rendering process "receives the second notification of the specified function to be executed" and "executes the specified function."

[0077] Accordingly, after generating a first configuration file containing communication logic between the rendering process and the main process based on the first business requirement information, the first correspondence, and the second correspondence, the process further includes: updating the first configuration file based on the second response path to obtain a third configuration file. Compared to the first configuration file, the third configuration file enriches the application of page objects. The third business requirement information is abstracted into a second association and a second response path, in which the main process provides relay support for communication between rendering processes. Compared to the original Electron where inter-process communication relies on a forwarding module (even communication between the main process and the rendering process is used), the configuration scheme for page objects provided in this application breaks the dependence on the forwarding module, making the configuration of internal process communication more convenient and flexible.

[0078] It should be noted that: 1) During the process of updating the first configuration file, the communication logic of the second rendering process "forwarding the second notification of the specified function to be executed to the first rendering process through the main process" and the first rendering process "responding to the second notification" can be used to update the above "method of sending messages from the rendering process to the main process". 2) The breaking of the dependency on the forwarding module mentioned here also applies to the one-way communication between the main process and the rendering process involved in the aforementioned steps S301-S302 and S205. 3) After "responding to the second notification", the first rendering process can forward the response result to the second rendering process through the main process. Combining the above examples of "chat window", "window displaying chat message records with object A" and "forwarding", message forwarding to object B is realized through the forwarding guide window. The first rendering process "generates the response result forwarded to object B" and "sends the response result to the main process". The main process "receives the response result" and "sends the response result to the second rendering process".

[0079] In one exemplary implementation, such as Figure 4 As shown, the first type of page object includes a fourth page object, the second type of page object includes at least two fifth page objects, and the method further includes:

[0080] S401: Obtain fourth business requirement information, wherein the fourth business requirement information indicates that the preset operation applied to the fourth page object will trigger the display of the fifth page object;

[0081] S402: Determine the association between the fourth page object and each of the fifth page objects according to the fourth business requirement information, and obtain at least two third associations. The third associations are established by the fourth page object and the fifth page object based on indication information. The indication information includes at least one of the following: the operation scenario corresponding to the preset operation, the message entity type of the triggering object, and the triggering object is used to trigger the preset operation.

[0082] By combining the operation scenario and the message entity type of the triggering object, the first type of page object is associated with different second type of page objects, thereby improving the fine-grained management of the display of the second type of page object.

[0083] The fourth business requirement information reveals that when a preset operation is applied to the fourth page object, the fifth page object to be displayed is determined based on the operation scenario and / or the message entity type of the triggering object. For example, if the fourth page object, being a first-type page object, indicates the target application's main window (main page), and at least two fifth page objects, being second-type page objects, each indicate a "right-click menu," then when a preset operation is applied to the main window (main page), the right-click menu to be displayed is determined based on the operation scenario and / or the message entity type of the triggering object.

[0084] Based on the fourth business requirement information, establish association relationships between the fourth page object and each fifth page object, resulting in at least two third association relationships. Each association relationship involves a fourth page object, a fifth page object, and their association parameters (operation scenario and / or message entity type of the triggering object). The operation scenario corresponding to the preset operation can be determined by the position of the first type of page object on which the preset operation is applied. Considering that the display of the first type of page object may change, for the same or similar positions, the operation scenario corresponding to the preset operation applied to the first type of page object before the change may be different from the operation scenario corresponding to the preset operation applied to the first type of page object after the change. The message entity type of the triggering object can be customized, such as text type, image type, voice type, computer external input device type, etc. In practical applications, for a fourth page object, a configuration table can be used to record all message entity types. Among them, for each message entity type, define the fifth page object (indicating "right-click menu") corresponding to different operation scenarios. Taking text type as an example, the right-click menu for the "message list" operation scenario displays "copy," "forward," "favorite," and "delete" buttons, while the right-click menu for the "favorite list" operation scenario displays "copy" and "unfavorite" buttons. This allows the matching fifth-page object to be determined in the configuration table based on the operation scenario and the message entity type of the triggering object when the preset operation is triggered.

[0085] Accordingly, after generating a first configuration file including the communication logic between the rendering process and the main process based on the first business requirement information, the first correspondence, and the second correspondence, the process includes: updating the first configuration file based on the at least two third association relationships to obtain a fourth configuration file.

[0086] As can be seen from the technical solutions provided in the embodiments of this application above, during the development of page objects, the embodiments of this application select a cross-platform target development framework based on the runtime environment information of the target application to improve development efficiency and ensure the platform adaptability of page objects. When business requirements are adjusted, this approach is more flexible and convenient compared to solutions provided by related technologies. Simultaneously, by combining relevant indications of business requirements with the specification information of the target development framework, a correspondence is established between the first type of page objects and the rendering process, and between the second type of page objects and the main process, thereby generating a configuration file containing process communication logic. By configuring page objects related to preset operations based on the target development framework, the convenience and efficiency of generating configuration files are improved, as well as the platform adaptability of the configuration files, thus realizing the implementation of specific business requirements under the target development framework.

[0087] Figure 5 The diagram illustrates a flowchart of a page object display method according to an embodiment of this application. Figure 5 As shown, the method includes:

[0088] S205: When the rendering process detects the preset operation for the first type of page object, the second type of page object is displayed using the main process.

[0089] The page object display method provided in this application embodiment is applied to a target application. The resource files related to running the target application include configuration files for page objects, which are generated based on the page object configuration method described in steps S201-S204. During the operation of the target application, when a preset operation is applied to a first type of page object, a second type of page object is displayed. Monitoring of the preset operation applied to the first type of page object is achieved through a rendering process. Simultaneously, the rendering process is responsible for displaying the first type of page object. The main process is responsible for displaying the second type of page object. Combining the communication logic described in step S204, the rendering process "monitors the preset operation applied to the first type of page object," the rendering process sends relevant messages to the main process, and the main process "displays the second type of page object based on the received relevant messages."

[0090] In practical applications, the first type of page object does not disappear while the second type of page object is displayed. The second type of page object can be displayed on top of the first type of page object, or it can be displayed to the side of the first type of page object. This display format can also be recorded in the configuration file.

[0091] The loading process in step S204 mentioned the second, third, and fourth configuration methods. The following will describe the specific application of these configuration methods to the business requirement information:

[0092] 1) The configuration file is a second configuration file generated based on the above-described configuration method for page objects. The method further includes the following steps: First, in response to the detected triggering operation of the first interactive control in the sixth page object, if the sixth page object belongs to the second type of page object, the main process sends a first message instructing the first interactive control to the third rendering process. The third rendering process is used to display the seventh page object, which belongs to the first type of page object. The sixth page object is triggered to be displayed by the preset operation applied to the seventh page object. Then, the third rendering process determines the target function based on the first message and the first set of association relationships, where the first set of association relationships includes multiple first association relationships. Furthermore, the third rendering process executes the target function to realize the function involved in the first interactive control.

[0093] The second configuration file addresses the second set of business requirements. During the execution of the target application, when a triggering operation is applied to an interactive control of the second type of page object, it indicates that the corresponding function option of the interactive control has been selected, and the specified function is executed by the rendering process to realize the functionality involved in the interactive control.

[0094] The sixth page object belongs to the second type of page object, and the main process is responsible for displaying it. The seventh page object belongs to the first type of page object, and the third rendering process is responsible for displaying it. The sixth page object is displayed based on a preset operation performed on the seventh page object. When the main process detects a trigger operation performed on the first interactive control in the sixth page object, it generates a first message indicating that the first interactive control has been triggered and sends this message to the third rendering process. Then, the third rendering process receives the first message, determines the target function based on the first message and the first set of association relationships, and executes the target function to implement the functionality involved in the first interactive control. The first set of association relationships includes multiple first association relationships. It can be understood that the business scenario targeted by the second business requirement information (the trigger operation performed on the interactive control in the second type of page object will trigger the rendering process to execute the specified function) is adaptable and not limited to the implementation of the functionality involved in a single interactive control. In other words, the first set of association relationships involves multiple interactive controls, and each interactive control and its corresponding specified function form a first association relationship. Considering that there may be multiple first-class page objects, the first set of associations can be established for specific first-class page objects (such as the seventh page object), which can improve the efficiency of related rendering processes (such as the third rendering process here) in determining the target function.

[0095] 2) The configuration file is a third configuration file generated based on the above-described configuration method for page objects. The method further includes the following steps: First, in response to the detected triggering operation of the second interactive control in the eighth page object, if the eighth page object belongs to the second type of page object, the main process sends a second message indicating the second interactive control to the fourth rendering process. The fourth rendering process is used to display the ninth page object, which belongs to the first type of page object. The eighth page object is triggered to be displayed by the preset operation applied to the ninth page object. Then, the fourth rendering process determines the target function based on the second message and the second set of association relationships, where the second set of association relationships includes multiple second association relationships. Furthermore, when the rendering process corresponding to the parent page object needs to execute the target function, the fourth rendering process sends a third message indicating the target function to the main process. Next, the main process sends the third message to the fifth rendering process, which is used to display the tenth page object, which is the parent of the ninth page object. Finally, the fifth rendering process executes the target function to realize the function involved in the second interactive control.

[0096] The third configuration file addresses the third business requirement information. During the execution of the target application, when a triggering operation is applied to an interactive control of a second-type page object, it indicates that the corresponding function option of the interactive control has been selected, and the specified function is executed by the rendering process to implement the functionality involved in the interactive control. However, the rendering process that executes the specified function is the rendering process corresponding to the first-type page object, which has an indirect relationship with the second-type page object.

[0097] The eighth page object belongs to the second type of page object, and the main process is responsible for displaying it. The ninth and tenth page objects belong to the first type of page objects; the fourth rendering process is responsible for displaying the ninth page object, and the fifth rendering process is responsible for displaying the tenth page object. The eighth page object is triggered by a preset operation applied to the ninth page object. The tenth page object is the parent of the ninth page object. When the main process detects a triggering operation applied to the second interactive control in the eighth page object, the main process generates a second message indicating that the second interactive control has been triggered, and sends the second message to the fourth rendering process. Then, the fourth rendering process receives the second message, determines the target function based on the second message and the second set of relationships, generates a third message for the target function to be executed, and sends the third message to the main process. Furthermore, the main process receives the third message and sends it to the fifth rendering process. Finally, the fifth rendering process receives the third message and executes the target function to implement the functionality involved in the second interactive control.

[0098] The second set of association relationships includes multiple second association relationships. It can be understood that the business scenario targeted by the third business requirement information (the triggering operation of interactive controls in the second type of page object will trigger the execution of a specified function by a rendering process with an indirect association relationship) is adaptable and not limited to the implementation of a function involved in a particular interactive control. In other words, the second set of association relationships involves multiple interactive controls, and each interactive control and its corresponding specified function form a second association relationship. Considering that there may be multiple first type of page objects, the first set of association relationships can be established for a specific first type of page object (such as the ninth page object), which can improve the efficiency of the relevant rendering process (such as the fourth rendering process here) in determining the target function.

[0099] Regarding 1) and 2) here, during the execution of the target application, based on the response paths and relationships provided by the configuration file, an effective response to the triggering operations of interactive controls is achieved. The configuration file generated by Electron also ensures the adaptability of the response to the triggering operations of interactive controls.

[0100] 3) The configuration file is a fourth configuration file generated based on the above configuration method for page objects. When the rendering process detects the preset operation for the first type of page object, the main process displays the second type of page object, which includes the following steps: First, when the rendering process detects the preset operation for the fourth page object, the rendering process determines the current indication information, which includes at least one of the following: the current operation scenario of the preset operation, the message entity type of the current triggering object; then, the rendering process determines the target association that matches the current indication information from the at least two third associations; furthermore, the rendering process determines the target fifth page object corresponding to the target association, which belongs to the at least two fifth page objects; next, the rendering process sends a display request to the main process, which carries display parameters indicating the target fifth page object; finally, the main process displays the target fifth page object based on the display parameters.

[0101] Based on the relevant descriptions in steps S401-S402 above, the fourth configuration file addresses the fourth business requirement information. During the operation of the target application, when a preset operation is applied to the fourth page object, the system determines which fifth page object needs to be displayed based on the operation scenario and / or the message entity type of the triggering object. Here, the main process displays the target fifth page object based on display parameters, which can be achieved by calling the operating system API.

[0102] For multiple first-class page objects, each first-class page object can have multiple candidate second-class page objects (e.g., a fourth page object belonging to the first-class page object and at least two fifth page objects belonging to the first-class page object). By establishing a third association between a first-class page object and a candidate second-class page object in advance, rich candidate materials are provided for the main process to display the second-class page object, improving the adaptability of the second-class page object display. In practical applications, it is also possible to configure a corresponding second-class page object (indicating a "right-click menu") uniformly based on the operation scenario and / or the message entity type of the triggering object, without distinguishing between specific first-class page objects.

[0103] In practical applications, Figure 6 The page object display application in 1) above is shown. Figure 6This involves communication between the main process (corresponding to the second type of page object) and a rendering process (a main window, the main display window of the target application; corresponding to the first type of page object). The right-click handling process of the main window is as follows: a) After the target application runs, the main process starts and begins registering right-click related monitoring for the rendering process; b) The rendering process registers event response monitoring for the main process; c) When the user interacts with the main window and triggers a right-click, the rendering process queries and determines the corresponding second type of page object; d) The rendering process sends a message to the main process, passing display parameters; e) The main process displays the corresponding second type of page object according to the display parameters; f) After successful display, it waits for user interaction; g) The user triggers an interactive control; h) The main process sends a notification that the interactive control has been triggered to the rendering process; i) The rendering process executes relevant functions to respond to the received notification.

[0104] Figure 7 The page object display application in 2) above is shown. Compared with the above, the other windows in the figure correspond to another rendering process. Figure 7 This involves communication between two rendering processes. The right-click handling process for other windows is as follows: a) After the target application runs, the main process starts and begins registering right-click related monitoring for the rendering processes; b) The rendering process corresponding to the main window registers the main process event response monitoring; c) The user operates the main window to open a new window: another window (such as opening the favorites window; corresponding to the first type of page object); d) The rendering process corresponding to the other window registers the main process event response monitoring; e) When the user operates another window and triggers a right-click, the rendering process corresponding to that other window queries and determines the corresponding second type of page object; f) The rendering process corresponding to the other window sends a message to the main process. g. The main process displays the corresponding second-type page object according to the display parameters; h. After successful display, wait for user operation; i. The user triggers an interactive control; j. The main process sends a notification that an interactive control has been triggered to the rendering processes of other windows; k. The rendering processes of other windows send notifications that related functions are to be executed to the main process; l. The main process sends notifications that related functions are to be executed to the rendering process of the main window; m. The rendering process of the main window executes the related functions and sends the response results to the main process; n. The main process sends the response results to the rendering processes of other windows.

[0105] As can be seen from the technical solutions provided by the embodiments of this application above, during the operation of the target application, the configuration file of the embodiments of this application ensures the display effect of page objects related to preset operations and ensures the applicability of display on different platforms.

[0106] This application also provides a configuration device for page objects, such as... Figure 8 As shown, the configuration device 80 for page objects includes:

[0107] Instruction response module 801: used to respond to configuration instructions for page objects, determine first business requirement information and target application runtime environment information, the first business requirement information indicates that a preset operation applied to a first type of page object will trigger the display of a second type of page object, and the target application is the application to which the first type of page object and the second type of page object belong;

[0108] Framework determination module 802: used to determine the target development framework based on the runtime environment information when the runtime environment information indicates a cross-platform runtime environment;

[0109] Relationship establishment module 803: used to establish a first correspondence between the first type of page object and the rendering process, and a second correspondence between the second type of page object and the main process based on the specification information of the target development framework, wherein the rendering process is used to display the first type of page object and the main process is used to display the second type of page object;

[0110] File generation module 804: Used to generate a first configuration file including the communication logic between the rendering process and the main process based on the first business requirement information, the first correspondence and the second correspondence.

[0111] It should be noted that the apparatus and method embodiments described in the device embodiments are based on the same inventive concept.

[0112] This application embodiment also provides a page object display device configured in a target application. The resource files related to running the target application include a configuration file for page objects. This configuration file is generated based on the page object configuration method described in steps S201-S204. The page object display device includes:

[0113] Display module: When the rendering process detects the preset operation for the first type of page object, it uses the main process to display the second type of page object.

[0114] It should be noted that the apparatus and method embodiments described in the device embodiments are based on the same inventive concept.

[0115] In some embodiments, the functions or modules of the apparatus provided in this application can be used to perform the methods described in the above method embodiments. The specific implementation can be referred to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.

[0116] This application also provides a computer-readable storage medium storing at least one instruction or at least one program segment, which is loaded and executed by a processor to implement the above-described method. The computer-readable storage medium may be a non-volatile computer-readable storage medium.

[0117] This application also provides an electronic device, which includes at least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the at least one processor to implement the above method.

[0118] Electronic devices can be provided as terminals, servers, or other forms of devices.

[0119] Figure 9 A block diagram of an electronic device according to an embodiment of this application is shown. For example, electronic device 1900 may be provided as a server. (Refer to...) Figure 9 The electronic device 1900 includes a processing component 1922, which further includes one or more processors, and memory resources represented by memory 1932 for storing instructions, such as application programs, that can be executed by the processing component 1922. The application programs stored in memory 1932 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 1922 is configured to execute instructions to perform the methods described above.

[0120] Electronic device 1900 may also include a power supply component 1926 configured to perform power management of electronic device 1900, a wired or wireless network interface 1950 configured to connect electronic device 1900 to a network, and an input / output (I / O) interface 1958. Electronic device 1900 can operate on an operating system stored in memory 1932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or similar.

[0121] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions that can be executed by a processing component 1922 of an electronic device 1900 to perform the above-described method.

[0122] This application may be a system, method, and / or computer program product. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of this application.

[0123] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination thereof. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.

[0124] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.

[0125] The computer program instructions used to perform the operations of this application may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C+, etc., and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuits, such as programmable logic circuits, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), are personalized by utilizing the status information of the computer-readable program instructions. These electronic circuits can execute the computer-readable program instructions to implement various aspects of this application.

[0126] Various aspects of this application are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0127] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0128] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0129] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which includes one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions specified in the blocks may occur in a different order than those specified in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0130] The various embodiments of this application have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical applications, or technological improvements to the embodiments in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. A configuration method for a page object, characterized in that, The method includes: In response to configuration instructions for page objects, first business requirement information and target application runtime environment information are determined. The first business requirement information indicates that a preset operation applied to a first type of page object will trigger the display of a second type of page object. The target application is the application to which the first type of page object and the second type of page object belong. When the runtime environment information indicates a cross-platform runtime environment, the target development framework is determined based on the runtime environment information; Based on the specification information of the target development framework, a first correspondence between the first type of page object and the rendering process, and a second correspondence between the second type of page object and the main process are established. The rendering process is used to display the first type of page object, and the main process is used to display the second type of page object. Based on the first business requirement information, the first correspondence and the second correspondence, a first configuration file is generated that includes the communication logic between the rendering process and the main process; The method further includes: obtaining second business requirement information, wherein the second business requirement information indicates that a triggering operation applied to an interactive control in the second type of page object will trigger the rendering process to execute a specified function, the specified function being used to implement the functions involved in the interactive control; establishing a first association relationship between the interactive control and the specified function and a first response path for the triggering operation based on the second business requirement information, wherein the first response path records the process of the main process sending a notification that the interactive control has been triggered to the rendering process, and the rendering process responding to the notification based on the first association relationship; After generating a first configuration file that includes communication logic between the rendering process and the main process based on the first business requirement information, the first correspondence, and the second correspondence, the process includes: updating the first configuration file based on the first response path to obtain a second configuration file.

2. The method according to claim 1, characterized in that: The first type of page object includes a first page object and a second page object as its subordinate. The second type of page object includes a third page object, which is triggered for display by the preset operation performed on the second page object. A first rendering process is used to display the first page object, and a second rendering process is used to display the second page object. The method further includes: Obtain third business requirement information, wherein the third business requirement information indicates that the triggering operation applied to the interactive control in the third page object will trigger the first rendering process to execute a specified function, wherein the specified function is used to implement the functions involved in the interactive control; Based on the third business requirement information, a second association relationship is established between the interactive control and the specified function, and a second response path is established for the triggering operation. The second response path records the process of the main process sending a first notification that the interactive control is triggered to the second rendering process, the second rendering process forwarding a second notification that the specified function is to be executed to the first rendering process through the main process, and the first rendering process responding to the second notification. The second notification is generated by the second rendering process based on the second association relationship. After generating a first configuration file containing the communication logic between the rendering process and the main process based on the first business requirement information, the first correspondence, and the second correspondence, the process includes: The third configuration file is obtained by updating the first configuration file based on the second response path.

3. The method according to claim 1, characterized in that: The first type of page object includes a fourth page object, the second type of page object includes at least two fifth page objects, and the method further includes: Obtain fourth business requirement information, wherein the fourth business requirement information indicates that the preset operation applied to the fourth page object will trigger the display of the fifth page object; Based on the fourth business requirement information, the association between the fourth page object and each of the fifth page objects is determined to obtain at least two third associations. The third associations are established by the fourth page object and the fifth page object based on indication information. The indication information includes at least one of the following: the operation scenario corresponding to the preset operation, the message entity type of the triggering object, and the triggering object is used to trigger the preset operation. After generating a first configuration file containing the communication logic between the rendering process and the main process based on the first business requirement information, the first correspondence, and the second correspondence, the process includes: The first configuration file is updated based on the at least two third associations to obtain the fourth configuration file.

4. A method for displaying page objects, characterized in that, Applied to the target application, the resource files related to running the target application include a configuration file for a page object, the configuration file being generated based on the configuration method for a page object as described in any one of claims 1-3, the method comprising: When the rendering process detects the preset operation for the first type of page object, it uses the main process to display the second type of page object.

5. The method according to claim 4, characterized in that, The configuration file is generated based on the configuration method for page objects as described in claim 1, and the method further includes: In response to the detected triggering operation of the first interactive control in the sixth page object, if the sixth page object belongs to the second type of page object, the main process sends a first message to the third rendering process to instruct the first interactive control. The third rendering process is used to display the seventh page object, which belongs to the first type of page object. The sixth page object is displayed by the preset operation applied to the seventh page object. The third rendering process determines the target function based on the first message and the first set of associations, wherein the first set of associations includes multiple first associations; The target function is executed using the third rendering process to achieve the functionality involved in the first interactive control.

6. The method according to claim 4, characterized in that, The configuration file is generated based on the configuration method for page objects as described in claim 2, and the method further includes: In response to the detected triggering operation of the second interactive control in the eighth page object, if the eighth page object belongs to the second type of page object, the main process sends a second message to the fourth rendering process to instruct the second interactive control. The fourth rendering process is used to display the ninth page object, which belongs to the first type of page object. The eighth page object is displayed by the preset operation applied to the ninth page object. The fourth rendering process determines the target function based on the second message and the second set of associations, wherein the second set of associations includes multiple second associations; When the rendering process corresponding to the parent page object needs to execute the target function, the fourth rendering process sends a third message to the main process indicating the target function. The main process sends the third message to the fifth rendering process, which is used to display the tenth page object, which is the parent of the ninth page object. The target function is executed using the fifth rendering process to implement the functions involved in the second interactive control.

7. The method according to claim 4, characterized in that, The configuration file is generated based on the configuration method for page objects as described in claim 3. When the rendering process detects the preset operation for the first type of page object, displaying the second type of page object using the main process includes: When the rendering process detects the preset operation for the fourth page object, it uses the rendering process to determine the current indication information, which includes at least one of the following: the current operation scenario of the preset operation, and the message entity type of the current triggering object; The rendering process is used to determine the target association that matches the current indication information from the at least two third associations; The rendering process is used to determine the target fifth page object corresponding to the target association relationship, and the target fifth page object belongs to the at least two fifth page objects; The rendering process sends a display request to the main process, the display request carrying display parameters indicating the target fifth page object; The main process uses the display parameters to display the target fifth page object.

8. A configuration device for a page object, characterized in that, The device includes: Command response module: used to respond to configuration commands for page objects, determine first business requirement information and target application runtime environment information, the first business requirement information indicates that a preset operation applied to a first type of page object will trigger the display of a second type of page object, and the target application is the application to which the first type of page object and the second type of page object belong; Framework determination module: used to determine the target development framework based on the runtime environment information when the runtime environment information indicates a cross-platform runtime environment; Relationship Establishment Module: Used to establish a first correspondence between the first type of page object and the rendering process, and a second correspondence between the second type of page object and the main process, based on the specification information of the target development framework. The rendering process is used to display the first type of page object, and the main process is used to display the second type of page object. File generation module: used to generate a first configuration file including the communication logic between the rendering process and the main process based on the first business requirement information, the first correspondence and the second correspondence; The device is further configured to: acquire second business requirement information, the second business requirement information indicating that a triggering operation applied to an interactive control in the second type of page object will trigger the rendering process to execute a specified function, the specified function being used to implement the functions involved in the interactive control; establish a first association relationship between the interactive control and the specified function and a first response path for the triggering operation based on the second business requirement information, the first response path recording the process of the main process sending a notification that the interactive control has been triggered to the rendering process, and the rendering process responding to the notification based on the first association relationship; The device is further configured to: after generating a first configuration file including the communication logic between the rendering process and the main process based on the first business requirement information, the first correspondence, and the second correspondence, update the first configuration file based on the first response path to obtain a second configuration file.

9. The apparatus according to claim 8, characterized in that: The first type of page object includes a first page object and a second page object as its subordinate. The second type of page object includes a third page object, which is triggered for display by the preset operation performed on the second page object. A first rendering process is used to display the first page object, and a second rendering process is used to display the second page object. The device is further used to: Obtain third business requirement information, wherein the third business requirement information indicates that the triggering operation applied to the interactive control in the third page object will trigger the first rendering process to execute a specified function, wherein the specified function is used to implement the functions involved in the interactive control; Based on the third business requirement information, a second association relationship is established between the interactive control and the specified function, and a second response path is established for the triggering operation. The second response path records the process of the main process sending a first notification that the interactive control is triggered to the second rendering process, the second rendering process forwarding a second notification that the specified function is to be executed to the first rendering process through the main process, and the first rendering process responding to the second notification. The second notification is generated by the second rendering process based on the second association relationship. The device is further configured to: after generating a first configuration file including the communication logic between the rendering process and the main process based on the first business requirement information, the first correspondence and the second correspondence, update the first configuration file based on the second response path to obtain a third configuration file.

10. The apparatus according to claim 8, characterized in that: The first type of page object includes a fourth page object, the second type of page object includes at least two fifth page objects, and the device is further configured to: Obtain fourth business requirement information, wherein the fourth business requirement information indicates that the preset operation applied to the fourth page object will trigger the display of the fifth page object; Based on the fourth business requirement information, the association between the fourth page object and each of the fifth page objects is determined to obtain at least two third associations. The third associations are established by the fourth page object and the fifth page object based on indication information. The indication information includes at least one of the following: the operation scenario corresponding to the preset operation, the message entity type of the triggering object, and the triggering object is used to trigger the preset operation. The device is further configured to: after generating a first configuration file including communication logic between the rendering process and the main process based on the first business requirement information, the first correspondence, and the second correspondence, update the first configuration file based on the at least two third association relationships to obtain a fourth configuration file.

11. A page object display device, characterized in that, Configured in a target application, the resource files related to running the target application include configuration files for page objects, the configuration files being generated based on the configuration method for page objects as described in any one of claims 1-3, the apparatus comprising: Display module: When the rendering process detects the preset operation for the first type of page object, it uses the main process to display the second type of page object.

12. The apparatus according to claim 11, characterized in that, The configuration file is generated based on the configuration method for page objects as described in claim 1, and the apparatus is further used for: In response to the detected triggering operation of the first interactive control in the sixth page object, if the sixth page object belongs to the second type of page object, the main process sends a first message to the third rendering process to instruct the first interactive control. The third rendering process is used to display the seventh page object, which belongs to the first type of page object. The sixth page object is displayed by the preset operation applied to the seventh page object. The third rendering process determines the target function based on the first message and the first set of associations, wherein the first set of associations includes multiple first associations; The target function is executed using the third rendering process to achieve the functionality involved in the first interactive control.

13. The apparatus according to claim 11, characterized in that, The configuration file is generated based on the configuration method for page objects as described in claim 2, and the apparatus is further used for: In response to the detected triggering operation of the second interactive control in the eighth page object, if the eighth page object belongs to the second type of page object, the main process sends a second message to the fourth rendering process to instruct the second interactive control. The fourth rendering process is used to display the ninth page object, which belongs to the first type of page object. The eighth page object is displayed by the preset operation applied to the ninth page object. The fourth rendering process determines the target function based on the second message and the second set of associations, wherein the second set of associations includes multiple second associations; When the rendering process corresponding to the parent page object needs to execute the target function, the fourth rendering process sends a third message to the main process indicating the target function. The main process sends the third message to the fifth rendering process, which is used to display the tenth page object, which is the parent of the ninth page object. The target function is executed using the fifth rendering process to implement the functions involved in the second interactive control.

14. The apparatus according to claim 11, characterized in that, The configuration file is generated based on the configuration method for page objects as described in claim 3, and the display module is further used for: When the rendering process detects the preset operation for the fourth page object, it uses the rendering process to determine the current indication information, which includes at least one of the following: the current operation scenario of the preset operation, and the message entity type of the current triggering object; The rendering process is used to determine the target association that matches the current indication information from the at least two third associations; The rendering process is used to determine the target fifth page object corresponding to the target association relationship, and the target fifth page object belongs to the at least two fifth page objects; The rendering process sends a display request to the main process, the display request carrying display parameters indicating the target fifth page object; The main process uses the display parameters to display the target fifth page object.

15. An electronic device, characterized in that, The electronic device includes at least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores at least one instruction or at least one program, the at least one instruction or at least one program being loaded and executed by the at least one processor to implement the configuration method for a page object as described in any one of claims 1-3, or the page object display method as described in any one of claims 4-7.

16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one instruction or at least one program, which is loaded and executed by a processor to implement the configuration method for a page object as described in any one of claims 1-3, or the page object display method as described in any one of claims 4-7.

17. A computer program product, characterized in that, The computer program product includes at least one instruction or at least one program segment, which is loaded and executed by a processor to implement the configuration method for a page object as described in any one of claims 1-3, or the page object display method as described in any one of claims 4-7.