A data processing method and related apparatus

CN122614435APending Publication Date: 2026-08-21GUANGZHOU TENCENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510202068.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-21
Publication Date
2026-08-21

AI Technical Summary

Technical Problem

[0004]然而,在相关技术中,在等待客户端获取并加载运行资源的过程中,无法向使用小程序的使用对象展示可浏览的有效信息,导致使用对象的等待过程过于枯燥、乏味,容易影响对象的小程序使用体验

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122614435A_ABST
    Figure CN122614435A_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a data processing method and related device, which bring a convenient and high degree of freedom element display construction method for program developers. The program developers only need to input corresponding attribute value information in attribute setting information corresponding to each attribute category information, so as to generate element display information corresponding to the program, complete the construction of the display element, and after obtaining a program use request, the element display information can be obtained first, so that the display device can display the display element constructed by the program developers before displaying the program interface generated by the running resource in the process of obtaining the running resource for running the program, thereby improving the interest of the program user in using the program, and thus helping to improve the user retention rate corresponding to the program, for example, the player can browse more rich game information in the loading process of the game, thereby improving the player retention rate and the player game enthusiasm corresponding to the game.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to a data processing method and related apparatus. Background Technology

[0002] With the continuous development of computer technology, mini-programs have become one of the popular carriers for implementing various functions, and various mini-programs exist on various websites and applications. The advantage of mini-programs is that they do not require downloading, can be used online, and are relatively convenient to use.

[0003] In related technologies, when using mini-programs, it is necessary to wait for the client to obtain and load the corresponding runtime resources of the mini-program, and then use the runtime resources to run the mini-program in the client, such as displaying the mini-program's related interface and constituent elements.

[0004] However, in related technologies, during the process of waiting for the client to acquire and load runtime resources, it is impossible to display any browsable and useful information to users of the mini-program. This makes the waiting process too tedious and boring, easily affecting the user experience. For example, when players are playing various mini-games through the client, they cannot browse any useful information through the client interface while waiting for the game to load, which can easily reduce players' enthusiasm for playing and lead to player churn. Summary of the Invention

[0005] To address the aforementioned technical issues, this application provides a data processing method that enables program developers to quickly construct display elements for presentation during program loading, thereby optimizing the user experience.

[0006] The embodiments of this application disclose the following technical solutions:

[0007] In a first aspect, embodiments of this application disclose a data processing method, the method comprising:

[0008] Based on the program usage request, obtain the element display information corresponding to the program. The program usage request is used to request the use of the program. The element display information includes target attribute category information and target attribute setting information corresponding to the target attribute category information. The target attribute category information is used to identify the target element attribute. The target attribute setting information is used to set the attribute value corresponding to the target element attribute. The target attribute setting information is composed of input attribute value information. The attribute value information is used to determine the attribute value.

[0009] The system acquires runtime resources for running the program. The element display information is used to enable the display device to display a target display element during the acquisition of the runtime resources. The target display element corresponds to the attribute value on the target element attribute. The display device is used to display the program interface generated when the program is run according to the runtime resources.

[0010] Secondly, embodiments of this application disclose a data processing apparatus, the apparatus comprising a first acquisition unit and a second acquisition unit:

[0011] The first acquisition unit is used to acquire element display information corresponding to a program based on a program usage request. The program usage request is used to request the use of the program. The element display information includes target attribute category information and target attribute setting information corresponding to the target attribute category information. The target attribute category information is used to identify target element attributes. The target attribute setting information is used to set the attribute value corresponding to the target element attribute. The target attribute setting information is composed of input attribute value information. The attribute value information is used to determine the attribute value.

[0012] The second acquisition unit is used to acquire runtime resources for running the program. The element display information is used to enable the display device to display a target display element during the acquisition of the runtime resources. The target display element corresponds to the attribute value on the target element attribute. The display device is used to display the program interface generated when the program is run according to the runtime resources.

[0013] In one possible implementation, the apparatus further includes a third acquisition unit and a first determination unit:

[0014] The third acquisition unit is used to acquire mapping relationship information, which is used to identify the mapping relationship between display element identifiers and element attribute identifiers. The display element identifier is used to identify display element information, and the element attribute identifier is used to identify attribute category information.

[0015] The first determining unit is used to determine the target attribute category information corresponding to the target display element information according to the mapping relationship information. The mapping relationship includes the mapping relationship between the target display element identifier and the target element attribute identifier. The target display element identifier is used to identify the target display element information, the target element attribute identifier is used to identify the target attribute category information, and the target display element information is used to indicate the display of the target display element.

[0016] In one possible implementation, the third acquisition unit is specifically used for:

[0017] Obtain the target mapping relationship information corresponding to the program. The target mapping relationship information is used to identify the mapping relationship between the display element identifier and the element attribute identifier corresponding to the display element used by the program. The mapping relationship information is different for different programs.

[0018] The target mapping relationship information is determined as the mapping relationship information.

[0019] In one possible implementation, the third acquisition unit is specifically used for:

[0020] Based on the absence of mapping relationship information corresponding to the program, preset mapping relationship information is obtained from the stored information. The preset mapping relationship information is used to identify the preset mapping relationship between display element identifiers and element attribute identifiers.

[0021] The preset mapping relationship information is determined as the mapping relationship information.

[0022] In one possible implementation, the third acquisition unit is specifically used for:

[0023] Obtain the program type identifier corresponding to the program, wherein the program type identifier is used to identify the program type corresponding to the program;

[0024] Retrieve the preset mapping relationship information corresponding to the program type identifier from the stored information. The preset mapping relationship information is used to indicate the display method of the display elements of the program for the program type. The preset mapping relationship information is different for different program type identifiers.

[0025] In one possible implementation, the device further includes a fourth acquisition unit:

[0026] The fourth acquisition unit is used to acquire the status identifier information corresponding to the target display element. The status identifier information is used to identify the display status corresponding to the target display element. The display status includes a displayable status or a non-displayable status.

[0027] Based on the status identification information, the display status corresponding to the target display element is identified as a displayable state, and the display device is instructed to display the target display element;

[0028] Based on the status identifier information, the display device is instructed not to display the target display element when the display status is not displayed.

[0029] In one possible implementation, the runtime resources are used to display the program interface corresponding to the program, the program interface is used to use the program, and the device further includes a first indicator unit:

[0030] The first instruction unit is used to instruct the display device to cancel the display of the target display element based on the fact that the program interface is in a displayable state, and the display device is used to display the program interface in the displayable state.

[0031] In one possible implementation, the first indicating unit is specifically used for:

[0032] Based on the fact that the program interface is in a displayable state, an interface call instruction is generated. The interface call instruction is used to call the destruction interface to destroy the target display element displayed through the display device.

[0033] In one possible implementation, the program corresponds to multiple display elements, the target display element is any one of the multiple display elements, the element display information includes attribute category information corresponding to each of the multiple display elements, and attribute setting information corresponding to the attribute category information, the target attribute category information is the attribute category information corresponding to the target display element, the element display information includes identification information corresponding to each of the multiple display elements, and the identification information corresponding to the target display element is used to identify the mapping relationship between the target attribute category information and the target attribute setting information.

[0034] In one possible implementation, the device further includes a fifth acquisition unit:

[0035] The fifth acquisition unit is used to acquire the display order information corresponding to the program. The display order information is used to identify the element display order corresponding to the plurality of display elements. The display order information is used to instruct the display device to display the plurality of display elements in the element display order during the acquisition of the running resources.

[0036] In one possible implementation, the first acquisition unit is specifically used for:

[0037] Based on the program usage request, obtain the program identifier used to identify the program;

[0038] Based on the fact that the stored information does not include the display information corresponding to the program identifier, the element display information corresponding to the program is obtained. The display information is used to enable the display device to display the target display element during the process of obtaining the running resources.

[0039] The device further includes a second indicating unit, a second determining unit, and an updating unit:

[0040] The second instruction unit is used to instruct the display device to display the target display element according to the display information corresponding to the program identifier in the stored information during the process of acquiring the running resources;

[0041] The second determining unit is configured to determine the display information corresponding to the program identifier based on the element display information, since the stored information does not include the display information corresponding to the program identifier.

[0042] The update unit is used to update the display information corresponding to the program identifier into the stored information.

[0043] In one possible implementation, the second determining unit is specifically used for:

[0044] Since the stored information does not include the display information corresponding to the program identifier, the element display information is determined to be the display information corresponding to the program identifier.

[0045] In one possible implementation, the second determining unit is specifically used for:

[0046] Based on the fact that the stored information does not include the display information corresponding to the program identifier, a display image is generated according to the element display information. The display image includes the target display element that corresponds to the attribute value on the target element attribute.

[0047] The displayed image is identified as the display information corresponding to the program identifier.

[0048] In one possible implementation, the first acquisition unit is specifically used for:

[0049] Based on the fact that the stored information does not include the display information corresponding to the program identifier, or based on the update information corresponding to the program, obtain the element display information corresponding to the program, wherein the update information is used to indicate that the element display information corresponding to the program has been updated;

[0050] The second indicating unit is specifically used for:

[0051] Based on the stored information including the display information corresponding to the program identifier, and without obtaining the updated information, during the process of obtaining the running resources, the display device is instructed to display the target display element according to the display information;

[0052] The second determining unit is specifically used for:

[0053] Based on the fact that the stored information does not include the display information corresponding to the program identifier, or based on the updated information, the display information corresponding to the program identifier is determined according to the element display information.

[0054] In one possible implementation, the target attribute setting information consists of a preset information template and input attribute value information, wherein the preset information template is used to indicate the information category of the attribute value information to be input.

[0055] Thirdly, embodiments of this application disclose a computer device, which includes a processor and a memory:

[0056] The memory is used to store computer programs and to transfer the computer programs to the processor;

[0057] The processor is configured to execute the data processing method described in any one of the first aspects according to the instructions in the computer program;

[0058] Fourthly, embodiments of this application disclose a computer-readable storage medium for storing a computer program for executing the data processing method described in any one of the first aspects;

[0059] Fifthly, embodiments of this application disclose a computer program product including a computer program, which, when run on a computer device, causes the computer device to perform the data processing method described in any one of the first aspects.

[0060] As can be seen from the above technical solution, this application allows program developers to configure program-related information by simply inputting the corresponding attribute values ​​for each attribute setting to set the attribute values ​​of the display elements on each element attribute. After the device obtains the program usage request, it will obtain the element display information for displaying the aforementioned display elements and the runtime resources for running the program. Thus, during the process of obtaining runtime resources to load the program interface, the display device can first display the display elements that satisfy the aforementioned attribute values ​​based on the element display information. Consequently, when the program user uses the program through the display device, they can see the aforementioned display elements while waiting for the program to load, providing the program user with a smoother and more comfortable program usage experience. The entire process of building display elements only requires the programmer to input attribute values. The construction process is highly efficient and offers a high degree of freedom. While meeting the diverse display element construction needs of programmers, it does not impose additional development pressure on them, which is conducive to the widespread promotion and application of this technical solution. At the same time, through the attribute category information corresponding to the attribute settings, programmers can clearly know the element attributes that need to be set for each display element, making the attribute setting process more organized and further improving the efficiency of display element construction. Attached Figure Description

[0061] To more clearly illustrate the technical solutions 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.

[0062] Figure 1 A schematic diagram illustrating an application scenario provided in an embodiment of this application;

[0063] Figure 2 A schematic diagram illustrating a data processing method in a practical application scenario provided by an embodiment of this application;

[0064] Figure 3 A flowchart illustrating a data processing method provided in an embodiment of this application;

[0065] Figure 4 A schematic diagram illustrating a data processing method provided in an embodiment of this application;

[0066] Figure 5 A schematic diagram illustrating a data processing method provided in an embodiment of this application;

[0067] Figure 6 A schematic diagram illustrating a data processing method provided in an embodiment of this application;

[0068] Figure 7 A schematic diagram illustrating a data processing method provided in an embodiment of this application;

[0069] Figure 8 A schematic diagram illustrating a data processing method provided in an embodiment of this application;

[0070] Figure 9 A schematic diagram illustrating a data processing method provided in an embodiment of this application;

[0071] Figure 10 A schematic diagram illustrating a data processing method provided in an embodiment of this application;

[0072] Figure 11 A schematic diagram illustrating a data processing method provided in an embodiment of this application;

[0073] Figure 12 Signaling diagram of a data processing method in a practical application scenario provided in this application embodiment;

[0074] Figure 13 A structural block diagram of a data processing apparatus provided in an embodiment of this application;

[0075] Figure 14A structural diagram of a terminal provided in an embodiment of this application;

[0076] Figure 15 This is a structural diagram of a server provided in an embodiment of this application. Detailed Implementation

[0077] The embodiments of this application will now be described with reference to the accompanying drawings.

[0078] A mini-program is a lightweight application that can be used without downloading or installing. The runtime resources required for its operation are typically stored on an external device and retrieved only when the program is used. For example, mini-games are an important type of mini-program. In this application, a mini-game refers to a game program that can be played instantly without downloading or installation. It is usually implemented based on a JavaScript engine, providing Canvas / WebGL related interfaces. When a mini-game is launched, the computer device retrieves the necessary runtime resources from the external device. Once ready, the player can directly play the mini-game without prior game installation.

[0079] In related technologies, the development process of mini-programs mainly focuses on the program functions of the mini-program itself, that is, what program functions the mini-program should provide to the program users after it is launched, such as what program interface to display, what program interaction to provide, etc.

[0080] Because these program functions require runtime resources (such as code) to run, users cannot perceive any program functionality during this process. They often see a black screen with no display elements, making the waiting process tedious and reducing user engagement. For example, while players wait for their computer to acquire and load the game's resources, they only see a black screen and cannot access any game-related information. This severely diminishes player interest, leading to player churn and ultimately hindering the promotion and development of mini-games.

[0081] To address the aforementioned technical issues, this application provides a data processing method that offers program developers a convenient and highly flexible way to construct display elements. Program developers only need to input the corresponding attribute values ​​in the attribute settings for each attribute category to generate the corresponding display element information and complete the construction of the display elements. After receiving a program usage request, the display element information can be obtained first. Thus, during the process of acquiring runtime resources for running the program, the display device can display the display elements constructed by the program developer before displaying the program interface generated by the runtime resources. This enhances the user experience and helps improve user retention rates.

[0082] Understandably, this method can be applied to computer devices capable of data processing, such as terminal devices or servers. The method can be executed independently by a terminal device or server, or it can be applied to network scenarios where a terminal device and a server communicate, executing in cooperation. Terminal devices can be mobile phones, tablets, laptops, desktop computers, etc. Terminal devices can also include various virtual reality devices, such as augmented reality (AR) devices like AR glasses and AR screens, and virtual reality (VR) devices like VR headsets. The server can be understood as an application server or a web server. In actual deployment, the server can be a standalone server, a cluster server, or a cloud server, etc.

[0083] like Figure 1 As shown, this application may involve various computer device scenarios. For example, in scenario 1, the computer device can be a terminal device 101. The program developer can store the configured element display information and runtime resources in a server 102. The program user can initiate a program usage request through the terminal device 101. Based on this request, the terminal device 101 will send a resource acquisition request to the server 102 to obtain the element display information and runtime resources corresponding to the program. After obtaining the element display information, the terminal device 101 can, based on this information, display the display elements to the program user during the process of acquiring runtime resources, and after acquiring the runtime resources, run the program and display the corresponding program interface to the program user.

[0084] In Scenario 2, the computer device can be server 104. The program developer can store the configured element display information and runtime resources on server 105. The program user can initiate a program usage request through terminal device 103. Terminal device 103 will send the request to server 104, and server 104 will send a resource acquisition request to server 105 based on the request to obtain the element display information and runtime resources. After obtaining the element display information, server 104 will first construct the display element based on the element display information and send the display element to terminal device 103, so that the display element can be displayed to the program user while server 104 is acquiring runtime resources. After acquiring runtime resources, server 104 will run the program and send the corresponding program interface to terminal device 103, so that the program user can use the program through terminal device 103.

[0085] It should be emphasized that in this application, the description of "based on A, execute B" means that A is the triggering condition for executing B, but it is not necessarily all the triggering conditions for executing B. There may be a condition C, which requires both A and C to be satisfied before B can be executed. Alternatively, there may be no condition C, and B can be executed as long as A is satisfied. All of these fall within the scope of protection described in this application.

[0086] To facilitate understanding of the technical solution provided in this application, the technical solution of this application will be described in detail below in conjunction with the above scenario 1.

[0087] See Figure 2 , Figure 2 This is a schematic diagram illustrating a data processing method in a practical application scenario provided by an embodiment of this application. In this scenario, the program can be a game program, such as a mini-game. The displayed element is a target image. The element display information obtained by the terminal device can include two attribute category information, corresponding to the image size and image content element attributes, respectively. The two attribute category information have corresponding attribute setting information, both consisting of a preset information template and attribute value information input by the program developer. The preset information template can be used to prompt the information category of the required attribute value information. The attribute value information is used to determine the specific attribute value corresponding to the target image under each element attribute. For example, the attribute value information corresponding to the image size is 400 pixels and 300 pixels, determining the attribute values ​​corresponding to the length and height of the target image, respectively; the attribute value information corresponding to the image content is a specific image address, so that the terminal device 101 can obtain the specific image content to fill the target image from this address.

[0088] After acquiring the element display information, the terminal device 101 can display the target image to the program user while acquiring runtime resources. This avoids the user being bored while waiting for the game to load, thus improving the user experience. The runtime resources required to display the target image are stored in the terminal device 101 and do not need to be provided by the program developer. The terminal device 101 only needs to acquire the element display information used to set the specific display method of the target image to complete the display.

[0089] Once the runtime resources are acquired, the terminal device 101 can run the game program and display the corresponding program interface, enabling users to use the game. For the program developer, the entire process involves simply inputting the attribute values ​​for each setting to construct the display elements. This allows the terminal device 101 to display these elements while acquiring runtime resources. Therefore, for the program developer, the construction process is relatively simple and doesn't impose excessive operational burdens; furthermore, it ensures a certain degree of freedom in element construction, meeting the diverse element display needs of the program developer.

[0090] In the following scheme, the game programs mentioned can all refer to mini-games, which will not be elaborated further below.

[0091] The technical solution of this application will now be described in detail with reference to the accompanying drawings.

[0092] See Figure 3 , Figure 3 A flowchart of a data processing method provided in this application embodiment, wherein the computer device can be any of the above-mentioned computer devices, and the method includes:

[0093] S301: Based on the program's usage request, obtain the element display information corresponding to the program.

[0094] Among them, the program usage request is used to request the use of a program. This program usage request can be initiated directly by the computer device itself through an operation performed by the program user, for example... Figure 1 As shown in scenario 1, this can also be data obtained by a computer device from other devices, such as... Figure 1 As shown in Scenario 2. The program can be any program, such as various game programs developed using the Unity engine.

[0095] Based on this request, the computer device can obtain the element display information corresponding to the program. This element display information enables the display device responsible for displaying the program's interface to display the target element. The target element can be any displayable element, such as an image, text, progress bar, or icon. The main function of the target element is to provide browsable information to the program user when the display device cannot display the program's interface, thereby reducing the user's boredom while waiting for the program to load and providing a better and more comfortable user experience.

[0096] To enable developers to more easily configure element display information and improve the efficiency of building target display elements, attribute category information for each display element can be pre-defined. Developers only need to input the attribute values ​​corresponding to the attribute category information to form complete attribute settings. The attribute category information identifies the various element attributes involved in the display element, and the element attributes are used to adjust the display method of the display element. Different display elements may have different element attributes. For example, when the display element is an image, the corresponding element attributes may include image size, image content, and image transparency; when the display element is text, the corresponding element attributes may include text size and text font; when the display element is a progress bar, the corresponding element attributes may include progress bar color and progress bar duration.

[0097] Taking a target display element as an example, the element display information can include target attribute category information and target attribute setting information corresponding to the target attribute category information. The target attribute category information identifies the target element attribute, and the target element attribute is the element attribute used to adjust the display method corresponding to the target display element. The target attribute setting information is used to set the attribute value corresponding to the target element attribute, and this attribute value determines the final display method of the target display element. For example, when the target element attribute is "image length," the corresponding attribute value can be a specific number of pixels. The target attribute setting information consists of input attribute value information, which is the information input by the program developer setting the display element. This attribute value information determines the aforementioned attribute value. The computer device can construct the target display element based on the above element display information. That is, the relevant data processing flow for constructing the display element is a flow that the computer device itself can execute. It only needs to obtain the element display information for setting the display method from the outside; the execution method of these data processing flows does not require operation by the program developer.

[0098] In other words, developers can set the target display elements simply by inputting the required attribute values, thus satisfying their own needs for how the target elements are displayed. Therefore, this setting method is convenient and offers a degree of flexibility. Furthermore, the target attribute category information allows developers to know which element attributes need to be set, guiding them to make more accurate element settings.

[0099] For example, if a developer wants to set up a progress bar with a duration of 10 seconds, they only need to enter the attribute value "10s" in the attribute settings information corresponding to the "progress bar duration" attribute category information. There is no need to provide any other information such as the code information for displaying the progress bar. For the developer, the setup process is relatively simple and efficient.

[0100] S302: Obtain runtime resources for running the program.

[0101] The runtime resources involved in this application can include various types, such as program code for running the program and various display elements required for rendering the program interface, etc., without limitation here. Only after obtaining runtime resources can the aforementioned program be run and its various supported program functions implemented. It is important to emphasize that obtaining runtime resources does not necessarily mean the program can run immediately; for example, some runtime resources require parsing, loading, compilation, and other operations before they can be used to run the program. Obtaining runtime resources is only a necessary step for running the program.

[0102] The element display information is specifically used to enable the display device to display target display elements during the acquisition of runtime resources. Since the element display information includes the aforementioned information used to adjust the display method of the display elements, it allows the target display elements to correspond to specific attribute values, thus meeting the program developer's requirements for the display method of the target display elements. The display device in this application is used to display various interfaces related to the program to the program user, enabling the user to use the program. For example, the display device can be used to display the program interface generated when the program runs based on runtime resources. This program interface can be used to use the program, such as the login interface corresponding to the program, application interfaces for various program functions, etc. That is, when the computer device acquires runtime resources and the display device cannot yet display the program interface, the display device will first display the target display elements set by the program developer. This avoids the program user being unable to browse any information while waiting to use the program, enriching the amount of information that the program user can browse during the waiting process, thereby improving the program user experience to a certain extent.

[0103] The display device can be the same as the computer device. In this case, the computer device can be responsible for displaying the target display elements through element display information, and for displaying the program interface corresponding to the running resources. For example, in Figure 1 In scenario 1, both the computer device and the display device are terminal devices 101. The display device and the computer device can also be different devices. The computer device's function is to construct target display elements based on the acquired element setting information, and to run the program based on the acquired runtime resources to obtain the corresponding program interface. Then, it can send the target display elements and program interface to the display device for display. That is, the display device can only perform a display function and does not involve the aforementioned data processing process. For example, in... Figure 1 In scenario 2 shown, the computer device is server 104, and the display device is terminal device 103.

[0104] In order to enable computer devices to display various display elements more accurately, one possible implementation is to set up relevant information for the computer devices to indicate the accurate display of various display elements.

[0105] In this implementation, to instruct the display device to accurately display the target display elements based on the program developer's settings, the computer device can first obtain mapping relationship information. This mapping relationship information is used to identify the mapping relationship between display element identifiers and element attribute identifiers; that is, each display element identifier has a corresponding element attribute identifier in the mapping relationship. Specifically, the display element identifier identifies the display element information, and the element attribute identifier identifies the attribute category information. There is a one-to-one correspondence between display element information and display elements, used to indicate the corresponding display element. This mapping relationship can be viewed as a mapping relationship between various display elements and their corresponding element attributes. Through this mapping relationship, the element attribute identifier corresponding to each display element identifier can be determined, that is, the element attributes involved in each display element can be determined. It should be emphasized that the display element identifier can be the display element information itself, or it can be other information different from the display element information; the element attribute identifier can be the attribute category information itself, or it can be other information different from the attribute category information. That is, this mapping relationship can also be a direct mapping relationship between display element information and attribute category information, which is not limited here.

[0106] For example, the mapping relationship can be as follows: Figure 4As shown, the program may involve various display elements, including text, images, videos, and interface views. The attribute categories involved may include style, animation content, image content, and position. Different display elements use different attribute category information during display; for example, image display does not involve animation content, and text display does not involve image content. By mapping the display element identifier to the element attribute identifier, we can determine the attribute category information corresponding to the image display element as image content and position, thus enabling accurate display of the image display element.

[0107] Based on this, taking a target display element as an example, after obtaining the mapping relationship information, the computer device can determine the target attribute category information corresponding to the target display element information according to the mapping relationship information. The mapping relationship includes the mapping relationship between the target display element identifier and the target element attribute identifier. The target display element identifier is used to identify the target display element information, the target element attribute identifier is used to identify the target attribute category information, and the target display element information is used to indicate the display of the target display element. Thus, on the one hand, the computer device can know the attribute category information that needs to be referenced when displaying the target display element through the mapping relationship information, which can ensure the rationality and accuracy of the target display element display, and also ensure that the settings of the target display element by the program developer can be accurately reflected. On the other hand, the computer device can understand the target display element that needs to be displayed through the target display element information, avoiding the omission of any display element.

[0108] For example, in Figure 4 In this context, by displaying the identifier of an element, the computer device can know that it needs to display an image as a display element. By understanding the mapping relationship between the display element representation and the element attribute identifier, it can know that the image needs to be displayed according to the set display position and image content.

[0109] There are several ways to obtain mapping relationship information, which will be described in detail below.

[0110] The first method: Set the mapping information separately for the program.

[0111] In one possible implementation, to further enhance the freedom of setting display elements, the computer device can also allow program developers to freely set the types of display elements to be displayed. In this implementation, program developers can set corresponding mapping information for each program to determine the display method of the display elements corresponding to that program. When obtaining mapping information, the computer device can obtain target mapping information corresponding to the program. This target mapping information identifies the mapping relationship between the display element identifier and the element attribute identifier corresponding to the display elements used by the program. Therefore, this target mapping relationship can be used to indicate the display method of the display elements for that program. The mapping information may differ between different programs; however, it is also possible for different programs to have the same mapping information, which is not limited here.

[0112] After obtaining the target mapping relationship information, the computer device can determine the target mapping relationship information as mapping relationship information to execute a series of processing flows, such as displaying display elements, thereby enabling the display of personalized display elements for the program. Since each program has corresponding mapping relationship information, the program developer can adjust the types of display elements to be displayed during program preparation by adjusting the target mapping relationship information corresponding to the program. For example, if the program developer wants to cancel the display of a certain display element, they can directly delete the display element identifier used to identify the display element information corresponding to that display element in the target mapping relationship. If they want to add a display element, they can add a display element identifier corresponding to that display element and construct a mapping relationship corresponding to the display element identifier. For example, in... Figure 4 In this context, if the application developer no longer wants to display an image, they can delete the display element identifier used to identify the image. This provides application developers with greater freedom in setting display elements, further meeting their display element configuration needs, and also allows application users to browse a wider variety of display elements while waiting for the application to prepare. For example... Figure 5 As shown, the program developer can configure the target mapping relationship information in the server 102. After the program user initiates a program usage request, the terminal device 101 can obtain the target mapping relationship information from the server 102 to display the display elements.

[0113] The second method involves pre-setting a unified mapping relationship for multiple programs.

[0114] In another possible implementation, to further improve the efficiency of setting up display elements, the computer device can also pre-set and store the mapping relationship information for displaying various display elements, without requiring the program developer to set it up themselves.

[0115] When acquiring mapping relationship information, the computer device can first determine whether the program itself has corresponding element display information, that is, whether the program developer has set the display element types corresponding to the program. If no mapping relationship information exists for the program, it means that the program developer has not made personalized settings for the display element types corresponding to the program. At this time, the computer device can retrieve preset mapping relationship information from the stored information. The preset mapping relationship information is used to identify the mapping relationship between preset display element identifiers and element attribute identifiers. When using the preset mapping relationship information to display the display elements corresponding to the program, multiple programs can ultimately display the same types of display elements.

[0116] Then, the computer device can determine the preset mapping relationship information as the mapping relationship information. That is, when the program developer has not made personalized settings for the types of display elements in the program, the computer device can use its own stored preset mapping relationship information to analyze the types of display elements and then display them. In this way, the program developer does not need to set the types of display elements to be displayed; they only need to input the corresponding attribute values ​​to achieve accurate display of the elements. While utilizing mapping relationship information to achieve more accurate and reasonable display of elements, it eliminates the need for the program developer to input additional data, ensuring the convenience of the element display function. At the same time, this method also reduces the amount of information the computer device needs to acquire, as it can directly obtain mapping relationship information from local storage without waiting for the information to be retrieved, enabling more timely display of the required elements to the program user. Figure 6 As shown, the preset mapping relationship information can be stored in the terminal device 101. The program developer does not need to configure the mapping relationship information. After obtaining the element display information from the server 102, the terminal device 101 can complete the display of the display elements based on the preset mapping relationship information stored in it.

[0117] In addition to displaying elements using preset mapping information, the computer device can also provide diverse element display effects. For example, in one possible implementation, the computer device can automatically provide different element display methods for different types of programs.

[0118] Computer devices can pre-store multiple program type identifiers and their corresponding preset mapping relationships. The program type identifier identifies the program type, and the preset mapping relationship indicates how the display elements of the program corresponding to the program type are displayed. This application can employ various methods to classify program types, such as classifying them based on program function, or directly setting each different program as a program type, so that each program has corresponding preset mapping relationship information in the stored information; no limitation is made here.

[0119] When retrieving preset mapping information from stored information, the computer device can first obtain the program type identifier corresponding to the program. This program type identifier identifies the program type. Then, the computer device can retrieve the preset mapping information corresponding to the program type identifier from the stored information. This preset mapping information indicates the display method of display elements for each program type; different program type identifiers correspond to different preset mapping information. This method allows for a certain degree of diversity in display element display methods for different types of programs without requiring the program developer to configure the mapping information or obtaining it from external sources. This ensures technical convenience while providing more diverse display elements for program users, further improving the user experience. For example, the mapping information for program type A includes identifiers for image and text display elements. This mapping information allows for the display of images and text during the program preparation process for program type A. Similarly, the mapping information for program type B includes identifiers for progress bars, images, and text display elements. This mapping information allows for the display of progress bars, images, and text during the program preparation process for program type B.

[0120] In addition to adjusting the types of display elements through the aforementioned mapping information, another possible implementation is that the computer device can also allow the program developer to set the display state for each display element in order to control whether each display element is displayed to the program user.

[0121] In this implementation, the program developer can set status identifier information for each display element. This status identifier information is used to identify the status of the corresponding display element, that is, to indicate whether the corresponding display element is displayed. Taking the target display element as an example, the computer device can obtain the status identifier information corresponding to the target display element. The status identifier information is used to identify the display status of the target display element, which includes a displayable status or a non-displayable status.

[0122] Specifically, if the status identifier information indicates that the target display element is in a displayable state, then this status identifier information can be used to instruct the display device to display the target display element during the acquisition of runtime resources. In other words, if the program developer wants to display the target display element, they can set the display state indicated by the status identifier information to a displayable state.

[0123] Based on the status identifier information indicating that the display status of the target display element is "not displayable," this status identifier information can be used to instruct the display device not to display the target display element during the acquisition of runtime resources. That is, if the program developer does not want the display device to display the target display element, they can set the display status indicated by the status identifier information to "not displayable." In this way, the program developer only needs to set the corresponding status identifier information for each display element to accurately control whether the display device displays each display element during program preparation, thus providing a relatively convenient and efficient method for controlling display elements. Figure 7 As shown, the program developer can configure the status identifier information corresponding to the display element in the server 102. For example, the target display element can be configured to be displayable. The terminal device 101 will obtain the element display information and status identifier information from the server 102 to display the display element. Specifically, the target display element will be displayed based on the status identifier information corresponding to the target display element.

[0124] It is understandable that status identification information can be the sole information controlling whether an element is displayed, or other information can be present together with status identification information to control whether various display elements are displayed. For example, computer devices can also decide whether to display an element based on its size information. If the size of the display element exceeds the displayable size of the computer device, even if the status identification information indicates that the display status is displayable, the computer device may not display the element to avoid the problem of incomplete element display.

[0125] As mentioned above, the purpose of displaying elements is to allow program users to browse some information while waiting for the program to complete, reducing the tedium of the waiting process. Ultimately, the user's need is still to use the program. Therefore, in one possible implementation, the computer device automatically cancels the display of elements once the program is ready and the program interface is ready to be displayed.

[0126] In this implementation, runtime resources can be used to display the program's interface, which is used to use the program. The computer device determines whether the program interface is in a displayable state based on the acquired runtime resources. A displayable state refers to the state in which the program interface can be displayed by the display device. The method for determining whether the program interface is in a displayable state may differ for different programs. For example, some programs can display their interface immediately after acquiring runtime resources, while others require compilation, loading, and other processing of the runtime resources before they can display the interface.

[0127] Since the program interface is in a displayable state, the computer device can instruct the display device to cancel the display of the target display element. This display device is used to display the program interface when it is in a displayable state. That is, when the program interface is in a displayable state, the display device will cancel the display of the aforementioned target display element and present the program interface to the program user, allowing the user to use the program through the interface. Specifically, when the display device is the computer device itself, the computer device can instruct itself to cancel the display of the element by generating instruction information; when the display device and the computer device are different devices, the computer device can send instruction information to the display device to instruct it to cancel the display of the target display element.

[0128] This method allows for the timely removal of target display elements once the program is usable by the user, thus ensuring a clean and concise user interface, reducing interference with the user experience, and providing a superior user experience. For example, in Figure 2 Once the game program is ready and the game program interface is in a displayable state, the terminal device 101 will cancel the display of the target image and start displaying the game program interface.

[0129] There are several ways to cancel the display of a displayed element. Specifically, in one possible implementation, when the program interface is in a displayable state and the display device is instructed to cancel the display of the target element, the computer device can generate an interface call instruction based on the program interface being in a displayable state. This interface call instruction is used to call a destruction interface to destroy the target displayed element displayed through the display device. The destruction interface can be, for example, the destroy interface in the display device, which can be used to destroy the displayed element displayed through the display device.

[0130] The method of destroying the displayed elements can also be configured by the program developer. For example, the program developer can set the elements to be destroyed after the display time reaches a preset time. There are no restrictions here.

[0131] Understandably, the richer and more numerous the display elements displayed through the display device, the better the browsing experience for the program user. Based on this, in one possible implementation, the computer device could also support program developers in setting multiple display elements for the same program, thereby enriching the display effects during program preparation.

[0132] In this implementation, the program can correspond to multiple display elements, with the target display element being any one of these elements. The element display information can include attribute category information corresponding to each of the multiple display elements, as well as attribute setting information corresponding to the attribute categories. Specifically, the target attribute category information is the attribute category information corresponding to the target display element. Therefore, through this element display information, the computer device can understand the program developer's settings for the multiple display elements, thereby enabling the display device to display these multiple display elements while acquiring runtime resources.

[0133] As mentioned above, different display elements may have different element attributes. Therefore, to ensure that the settings for each display element by the program developer are accurately reflected, the computer device can configure corresponding identification information for each display element. This identification information is used to identify the mapping relationship between the attribute category information and attribute setting information corresponding to the same display element, thereby ensuring that each display element is displayed according to reasonable and accurate attribute setting information. In this implementation, the element display information can include identification information corresponding to multiple display elements. Taking the target display element as an example, the identification information corresponding to the target display element is used to identify the mapping relationship between the target attribute category information and the target attribute setting information. Therefore, through this identification information, the computer device can determine the specific attribute values ​​involved in the target display element. When the target display element involves multiple element attributes, it can determine the attribute value corresponding to each element attribute. Thus, in display scenarios involving multiple display elements, each corresponding to multiple element attributes, the computer device can still accurately display each display element, avoiding abnormal attribute values ​​or misaligned element attributes. This ensures accurate fulfillment of the program developer's settings for multiple display elements and guarantees a good user experience for the program user. The identification information used to identify the mapping relationship can include various methods. For example, it can construct attribute category information and attribute setting information using key-value pair information formats, where the attribute category information is the key in the key-value pair, and the attribute setting information is the value in the key-value pair.

[0134] like Figure 8As shown in the figure, the display elements displayed during the process of acquiring runtime resources can include three types of display elements: images, progress bars, and text. The correspondence between the attribute category information and attribute setting information of each display element can be seen in the figure.

[0135] In addition, to make the display of multiple display elements more diverse, in one possible implementation, the computer device can also allow the program developer to freely set the display order of multiple display elements.

[0136] In this implementation, the application developer can set the display order information corresponding to the application. The display order information is used to identify the display order of multiple display elements, and this display order is the element display order required by the application developer. The information format of the display order information can be various. For example, the application developer can set the display time node of each display element to complete the setting of the element display order, or can directly set the display order position of each display element, etc. There is no limitation here.

[0137] Computer devices can obtain display order information corresponding to a program. When displaying multiple display elements involved in a program, this display order information can be used to instruct the display device to display multiple display elements in the order they appear during the acquisition of runtime resources. Therefore, program developers can set the display order information to control the display order of multiple display elements during the acquisition of runtime resources, thereby providing program users with more dynamic and diverse display effects and further reducing the boredom experienced by users while waiting for the program to prepare.

[0138] For example Figure 9 As shown, during the process of acquiring the runtime resources corresponding to the game program, based on the display order information, the display device will first display an image and text 1. Text 1 identifies the name of the game program, and the image serves as the display background. Then, the display device will display a progress bar to indicate the initialization progress of the game program (such as the progress of acquiring runtime resources). After a certain period of time, the runtime resources are acquired, and the display device can cancel the display of text 1 and the progress bar, and display text 2 to indicate to the user that they can start using the game program.

[0139] Typically, due to program reusability, multiple requests for program usage are made for the same program. Therefore, in one possible implementation, to further reduce the amount of information transmitted for the element display function and provide a more efficient element display function, the computer device can also store the element display information required for the display function to avoid repeated retrieval.

[0140] In this implementation, after obtaining the element display information corresponding to the program, the computer device can store the element display information and the program identifier corresponding to the program. When executing step S301, the computer device can execute steps S3011-S3012 (not shown in the figure). Steps S3011-S3012 are a possible implementation of step S301, including:

[0141] S3011: Based on the program usage request, obtain the program identifier used to identify the program.

[0142] A program identifier is used to identify the corresponding program. There is usually a one-to-one correspondence between program identifiers and programs. The program identifier tells you which program needs to be launched. The program identifier can be obtained directly from the program usage request, or it can be obtained through other methods, which are not limited here.

[0143] S3012: Based on the fact that the stored information does not include the display information corresponding to the program identifier, obtain the element display information corresponding to the program.

[0144] The computer device first determines whether the stored information includes the display information corresponding to the program identifier. This display information is used to enable the display device to display the target display element during the acquisition of runtime resources; that is, the display information can meet the element display function required by the program. If the display information is not included, it means that the target display element corresponding to the program has not been displayed in the historical period, and therefore no display information that can be used to display the target display element has been saved. Based on this, the computer device can obtain the element display information corresponding to the program from external sources to display the target display element. For example, the computer device can obtain the element display information from a server or terminal device configured by the program developer, such as from... Figure 1 The element display information is obtained from server 102 or server 105 as shown. It should be emphasized that the display information involved in this embodiment can include various types, as long as it can realize the display of the target display element, which will be described in detail below.

[0145] Similarly, if the stored information includes display information corresponding to the program identifier, it indicates that the target display element corresponding to the program was displayed in a historical period. Therefore, display information that can be used to display the target display element is saved. In this case, the computer device does not need to obtain the element display information again; instead, it can instruct the display device to display the target display element based on the display information during the acquisition of runtime resources. Depending on the relationship between the computer device and the display device, the methods for instructing the display device to display based on the display information can be varied, similar to the methods described above that use element display information, and will not be elaborated upon here.

[0146] Furthermore, since the stored information does not include display information corresponding to the program identifier, after obtaining the element display information, in order to avoid re-obtaining the element display information the next time the program is used, the computer device can determine the display information corresponding to the program identifier based on the element display information, and then update the display information corresponding to the program identifier to the stored information. This way, the next time a program usage request for a program is obtained, the display information corresponding to the program identifier can be retrieved from the stored information to display the element. The method by which the computer device determines the display information based on the element display information may differ for different types of display information, which will be described in detail below.

[0147] Therefore, in response to multiple program usage requests, computer devices can acquire element display information only once. This allows for accurate display of the corresponding display elements to the program user during multiple program preparation processes. On the one hand, it reduces the amount of information transmission required for displaying elements and reduces the consumption of transmission resources. On the other hand, it also enables faster display of display elements, reducing the time that program users cannot browse information and further improving the program user experience.

[0148] like Figure 10 As shown, when the program is used for the first time, the terminal device 101 can obtain element display information from the server 102 and determine the display information corresponding to the program identifier based on the element display information and store it; when the display program is used for the Nth time (N is greater than 1), the terminal device 101 does not need to obtain element display information from the server 102, but only needs to obtain running resources. The terminal device 101 can obtain the display information corresponding to the program identifier from the stored information and display the display elements corresponding to the program based on the display information.

[0149] Next, we will introduce several methods for determining the display information based on element display information.

[0150] The first method: Directly define the element's display information as the display information.

[0151] As seen above, the element display information itself can support the display of the target element. Therefore, when determining the display information corresponding to the program identifier based on the element display information, since the stored information does not include the display information corresponding to the program identifier, the computer device can directly determine the element display information as the display information corresponding to the program identifier. The advantage of this method is that no additional information processing is required when storing display information, resulting in high information storage efficiency.

[0152] The second method: Generate display images that meet the display requirements based on element display information.

[0153] Understandably, when displaying various elements, computer devices typically render a corresponding display image based on the relevant information of the element, and then display the element by showing that image. For example, when displaying an image, the computer device determines the pixel values ​​corresponding to each pixel position of the image identified in the element's display information in order to render the corresponding display image; when displaying text, it actually renders an image layer in which the pixel values ​​of the image portion involving the text are the text color, while the pixel values ​​of the other image portions are transparent pixels.

[0154] Based on this, in one possible implementation, in order to further improve the display efficiency of display elements, when determining the display information corresponding to the program identifier based on the element display information, since the stored information does not include the display information corresponding to the program identifier, the computer device can generate a display image based on the element display information. This display image includes the target display element with the corresponding attribute value on the target element attribute. Thus, by displaying this display image, the target display element can be directly displayed, and it is ensured that the target display element can meet the display requirements of the program developer for the target display element.

[0155] Computer devices can identify the displayed image as the display information corresponding to the program identifier. Therefore, when the program's corresponding display element needs to be displayed again in a subsequent process, the computer device can directly obtain the display image for display without having to reconstruct the display image for displaying the target display element based on the element display information corresponding to the target display element. Thus, in scenarios with repeated displays, multiple displays can be completed with only one display image construction, simplifying the data processing flow of the computer device and reducing the consumption of processing resources. At the same time, because there is no need to wait for the display image construction process, the target display element can be displayed to the program user more quickly, which helps to further optimize the program user experience.

[0156] like Figure 11 As shown, taking a target image as an example, based on the image size and content set by the element display information, the terminal device 101 can generate a display image corresponding to the target image. This display image includes the target image that satisfies the aforementioned element attributes. During the Nth use of the program, the terminal device 101 can directly display the target image based on this display image without needing to render the display image again.

[0157] Furthermore, application developers may adjust the display elements shown during application preparation for various reasons. For example, display elements may include text corresponding to the application name, which needs to be adjusted when the application name changes; or, when the application preparation time (such as loading time or initialization time) changes, the progress bar time used to represent the application preparation progress will also be modified. To simplify the data processing flow as described above while supporting application developers in flexibly adjusting display elements, the computer device can also implement the following solutions.

[0158] When executing step S3012, the computer device may execute step S30121 (not shown in the figure). Step S30121 is a possible implementation of step S3012, including:

[0159] S30121: Obtain the element display information corresponding to the program based on the fact that the stored information does not include the display information corresponding to the program identifier, or based on the update information corresponding to the program.

[0160] The update information indicates that the display information of the corresponding elements in the program has been updated. The update method can be various, such as an update to attribute values ​​in attribute settings, or the addition of attribute category information and corresponding attribute settings, etc., which are not limited here. Update information is generated when the program developer updates the element display information. This update information can be generated by a device that supports the program developer in setting element display information, for example... Figure 1 Server 102, etc.

[0161] When displaying elements, the computer device can determine if there is any updated information corresponding to the program. If updated information exists, it indicates that the element display information has been updated, and the computer device needs to display the target element based on the new display information. Therefore, the computer device will re-acquire the element display information corresponding to the program to display the element according to the new display method, ensuring that the program developer's settings for the display elements are promptly reflected in the display method.

[0162] Furthermore, when instructing the display device to display the target element based on the display information corresponding to the program identifier during the acquisition of runtime resources, the computer device needs to determine whether both conditions are met simultaneously: the stored information includes the display information corresponding to the program identifier and no updated information has been acquired. If the stored information includes the display information corresponding to the program identifier, and no updated information has been acquired, it means that the display information of the element corresponding to the program has not been updated. In this case, the computer device can still instruct the display device to display the target element based on the display information during the acquisition of runtime resources.

[0163] When determining the display information corresponding to a program identifier based on element display information, if the stored information does not include the display information corresponding to the program identifier, or if the information is based on updated information, it means that either there is no stored display information that can be used to display the display element corresponding to the program, or the display information of the element corresponding to the program has been updated and the currently stored display information can no longer accurately display the display element corresponding to the program. In this case, the computer device can re-determine the display information corresponding to the program identifier based on the obtained element display information.

[0164] In this way, computer devices can update their stored display information in a timely manner when the program developer adjusts the display method of display elements, ensuring the effectiveness and accuracy of the display information. This allows the computer devices to quickly display display elements using the stored display information while simultaneously synchronizing with the program user's adjustments to the display elements.

[0165] In addition to attribute value information, in one possible implementation, to help program developers set display elements more accurately, the attribute setting information can also include a preset information template. Taking target attribute setting information as an example, the target attribute setting information can consist of a preset information template and the input attribute value information. The preset information template is used to indicate the information category of the required input attribute value information. This preset information template can be pre-written and provided to the program developer. Based on this preset information template, the program developer can accurately know the information category of the required input attribute value information, thereby enabling them to input more accurate and reasonable attribute value information and avoiding situations where abnormal attribute value information leads to abnormal display of display elements. For example, in Figure 2 In the image size attribute settings, the preset information template can include both "image length is" and "image height is". Based on the preset information template, the program developer can accurately set the image height and image length, avoiding the problem of chaotic image length and image height settings, thus ensuring that the image size of the final displayed target image meets the needs of the program developer.

[0166] To facilitate understanding of the technical solution provided in this application, the data processing method provided in this application will be introduced next in conjunction with a practical application scenario.

[0167] See Figure 12 , Figure 12 This application provides a signaling diagram for a data processing method in a practical application scenario. In this scenario, the computer device can be a terminal device, and the method includes:

[0168] S1201: The program developer configures the element settings and runtime resources corresponding to the program on the server.

[0169] The element settings information consists of attribute category information, attribute settings information, and identifier information corresponding to multiple display elements. The identifier information is used to identify the mapping relationship between the attribute category information and the attribute settings information corresponding to the same display element. For this information, the program developer only needs to input the attribute values ​​in the attribute settings information; the other information can be preset. For example, the element settings information can consist of multiple JSON format key-value pairs, where the key information is the attribute category information, and the corresponding value information is the attribute settings information corresponding to the attribute category information.

[0170] When the display elements of the program include progress bars, text, and images, the attribute category information can include the following:

[0171] barConfig: Describes the style of the loading progress bar.

[0172] materialConfig: Describes the style of the loaded image.

[0173] textConfig: Describes the loaded text and text style.

[0174] designWidth: Describes the width of the loaded image.

[0175] designHeight: Describes the height of the loaded image.

[0176] totalLaunchTime: Describes the duration of the autoplay progress corresponding to the progress bar.

[0177] S1202: The terminal device obtains a program usage request initiated by the program user.

[0178] The program usage request includes a program identifier to identify the program, which can be initiated by the program user based on a trigger operation targeting the terminal device.

[0179] S1203: The terminal device determines whether there is element display information corresponding to the program identifier in the stored information.

[0180] In this practical application scenario, the element display information corresponding to the launched program will be stored on the terminal device itself as display information. If it does not exist, step S1204 can be executed to obtain the element display information corresponding to the program from the server. If it exists, step S1205 is executed to determine whether the update information corresponding to the program has been obtained from the server. This update information is used to indicate whether the program developer has adjusted the element display information corresponding to the program. If it has been adjusted, the server will generate the update information.

[0181] S1204: The terminal device obtains the element display information corresponding to the program from the server.

[0182] S1205: The terminal device determines whether it has obtained the update information corresponding to the program from the server.

[0183] The update information can be sent proactively by the server to the terminal device after the program developer detects that the element settings have been updated, or it can be actively obtained by the terminal device from the server; there is no limitation here. If no update information is obtained, it means that the element display information has not been updated, and the terminal device can execute step S1206 to obtain the element display information corresponding to the program identifier from the stored information; if update information is obtained, it means that the element display information has been updated, and the terminal device can execute step S1204 to obtain the new element display information to display the elements.

[0184] S1206: The terminal device retrieves the element display information corresponding to the program identifier from the stored information.

[0185] S1207: The terminal device retrieves the preset mapping relationship information from the stored information.

[0186] This mapping information is used to identify the mapping relationship between display element identifiers and element attribute identifiers. The display element identifier identifies the display element information, and the element attribute identifier identifies the attribute category information. By displaying the element information, this mapping information can identify the mapping relationship between the display element information and the attribute category information. The terminal device can determine which display elements need to be displayed. Through the attribute category information and the corresponding attribute settings, the terminal device can determine the display method for each display element, and then execute step S1208 to display the display elements based on the mapping relationship information and the element display information.

[0187] For example, mapping information can be shown as follows:

[0188] <image id=”bg-img”>

[0189] Here, image id is the display element identifier used to identify the image as a display element, and bg-img is the element attribute identifier used to identify the attribute category information corresponding to the image. It is the attribute setting information corresponding to the attribute category information. Through this mapping relationship information, the terminal device can know that the image as a display element needs to be displayed, and display the image according to the attribute values ​​in the attribute setting information (such as the specific size of the image, the image address, etc.).

[0190] S1208: The terminal device displays the corresponding display elements of the program based on the mapping relationship information and element display information.

[0191] The display of display elements can be performed during step S1209 of the terminal device, when the necessary runtime resources for the running program are obtained. Through the mapping relationship information and element display information, the terminal device can obtain all the information corresponding to each display element (View), including display element information, attribute category information, and attribute setting information, thus completing the display of the display element.

[0192] The display methods for different elements on the terminal device may vary. For example, for the motion animation corresponding to the progress bar, the terminal device can automatically implement the progress bar motion animation based on the category information of the totalLaunchTime attribute configured by the program developer, meaning the progress bar will change according to a fixed duration. Alternatively, the terminal device can also use the setProgress interface provided by the rendering engine to control the progress bar's movement. The terminal device's underlying layer can use animateCoverView to control the progress bar and achieve the corresponding animation effects.

[0193] S1209: The terminal device obtains runtime resources for running the program.

[0194] S1210: The terminal device cancels the display of the corresponding display elements and displays the corresponding program interface based on the program interface being in a displayable state.

[0195] S1211: The terminal device displays the element display information based on the stored information, which does not include the program identifier, or stores the element display information corresponding to the program identifier based on the updated information.

[0196] When the display elements corresponding to the program are displayed for the first time, or when the display information of the elements corresponding to the program is updated, the terminal device will store the newly acquired display information of the elements in correspondence with the program identifier corresponding to the program, so that the display information of the elements does not need to be retrieved again when the program is used next time.

[0197] After acquiring runtime resources, the terminal device will run the program based on those resources and load the corresponding program interface. Once the program interface is loaded and ready to be displayed, the terminal device can remove the display elements shown during the program preparation period and show the program interface to the user, enabling the user to use the program.

[0198] As can be seen from the above technical solution, this application has the following multiple technical effects compared with related technologies:

[0199] 1. This application only requires the program developer to input the attribute value information in each attribute setting information to complete the setting of the corresponding display elements of the program, so that the terminal device can accurately and effectively display the corresponding display elements of the program. The setting process is relatively convenient and efficient, and can meet the diverse element display needs of the program developer.

[0200] 2. During the program preparation process, the terminal device can display the corresponding display elements of the program to reduce the boredom of the program user while waiting to use the program, thereby improving the program user experience.

[0201] 3. Terminal devices can store the corresponding display information and program identifiers of the program, so that when the element display information has not been updated, the element display information does not need to be repeatedly obtained for multiple program usage requests, and the display of the element can be completed.

[0202] 4. On the one hand, terminal devices can further reduce the amount of information required for the display function of display elements by pre-setting mapping relationship information; on the other hand, terminal devices can also support program developers to set mapping relationship information themselves to adjust the types of display elements to be displayed, thereby further improving the freedom of display element display.

[0203] 5. Terminal devices allow program developers to freely set the display order of various display elements, thereby further improving the diversity of display methods and bringing a greater user experience to program users.

[0204] Based on the data processing method provided in the above embodiments, this application also provides a data processing apparatus, see [link to relevant documentation]. Figure 13 , Figure 13 This is a structural block diagram of a data processing apparatus provided in an embodiment of the present application. The apparatus 1300 includes a first acquisition unit 1301 and a second acquisition unit 1302.

[0205] The first acquisition unit 1301 is used to acquire element display information corresponding to a program based on a program usage request. The program usage request is used to request the use of the program. The element display information includes target attribute category information and target attribute setting information corresponding to the target attribute category information. The target attribute category information is used to identify target element attributes. The target attribute setting information is used to set the attribute value corresponding to the target element attribute. The target attribute setting information is composed of input attribute value information. The attribute value information is used to determine the attribute value.

[0206] The second acquisition unit 1302 is used to acquire runtime resources for running the program. The element display information is used to enable the display device to display a target display element during the acquisition of the runtime resources. The target display element corresponds to the attribute value on the target element attribute. The display device is used to display the program interface generated when the program is run according to the runtime resources.

[0207] In one possible implementation, the apparatus further includes a third acquisition unit and a first determination unit:

[0208] The third acquisition unit is used to acquire mapping relationship information, which is used to identify the mapping relationship between display element identifiers and element attribute identifiers. The display element identifier is used to identify display element information, and the element attribute identifier is used to identify attribute category information.

[0209] The first determining unit is used to determine the target attribute category information corresponding to the target display element information according to the mapping relationship information. The mapping relationship includes the mapping relationship between the target display element identifier and the target element attribute identifier. The target display element identifier is used to identify the target display element information, the target element attribute identifier is used to identify the target attribute category information, and the target display element information is used to indicate the display of the target display element.

[0210] In one possible implementation, the third acquisition unit is specifically used for:

[0211] Obtain the target mapping relationship information corresponding to the program. The target mapping relationship information is used to identify the mapping relationship between the display element identifier and the element attribute identifier corresponding to the display element used by the program. The mapping relationship information is different for different programs.

[0212] The target mapping relationship information is determined as the mapping relationship information.

[0213] In one possible implementation, the third acquisition unit is specifically used for:

[0214] Based on the absence of mapping relationship information corresponding to the program, preset mapping relationship information is obtained from the stored information. The preset mapping relationship information is used to identify the preset mapping relationship between display element identifiers and element attribute identifiers.

[0215] The preset mapping relationship information is determined as the mapping relationship information.

[0216] In one possible implementation, the third acquisition unit is specifically used for:

[0217] Obtain the program type identifier corresponding to the program, wherein the program type identifier is used to identify the program type corresponding to the program;

[0218] Retrieve the preset mapping relationship information corresponding to the program type identifier from the stored information. The preset mapping relationship information is used to indicate the display method of the display elements of the program for the program type. The preset mapping relationship information is different for different program type identifiers.

[0219] In one possible implementation, the device further includes a fourth acquisition unit:

[0220] The fourth acquisition unit is used to acquire the status identifier information corresponding to the target display element. The status identifier information is used to identify the display status corresponding to the target display element. The display status includes a displayable status or a non-displayable status.

[0221] Based on the status identification information, the display status corresponding to the target display element is identified as a displayable state, and the display device is instructed to display the target display element;

[0222] Based on the status identifier information, the display device is instructed not to display the target display element when the display status is not displayed.

[0223] In one possible implementation, the runtime resources are used to display the program interface corresponding to the program, the program interface is used to use the program, and the device further includes a first indicator unit:

[0224] The first instruction unit is used to instruct the display device to cancel the display of the target display element based on the fact that the program interface is in a displayable state, and the display device is used to display the program interface in the displayable state.

[0225] In one possible implementation, the first indicating unit is specifically used for:

[0226] Based on the fact that the program interface is in a displayable state, an interface call instruction is generated. The interface call instruction is used to call the destruction interface to destroy the target display element displayed through the display device.

[0227] In one possible implementation, the program corresponds to multiple display elements, the target display element is any one of the multiple display elements, the element display information includes attribute category information corresponding to each of the multiple display elements, and attribute setting information corresponding to the attribute category information, the target attribute category information is the attribute category information corresponding to the target display element, the element display information includes identification information corresponding to each of the multiple display elements, and the identification information corresponding to the target display element is used to identify the mapping relationship between the target attribute category information and the target attribute setting information.

[0228] In one possible implementation, the device further includes a fifth acquisition unit:

[0229] The fifth acquisition unit is used to acquire the display order information corresponding to the program. The display order information is used to identify the element display order corresponding to the plurality of display elements. The display order information is used to instruct the display device to display the plurality of display elements in the element display order during the acquisition of the running resources.

[0230] In one possible implementation, the first acquisition unit 1301 is specifically used for:

[0231] Based on the program usage request, obtain the program identifier used to identify the program;

[0232] Based on the fact that the stored information does not include the display information corresponding to the program identifier, the element display information corresponding to the program is obtained. The display information is used to enable the display device to display the target display element during the process of obtaining the running resources.

[0233] The device further includes a second indicating unit, a second determining unit, and an updating unit:

[0234] The second instruction unit is used to instruct the display device to display the target display element according to the display information corresponding to the program identifier in the stored information during the process of acquiring the running resources;

[0235] The second determining unit is configured to determine the display information corresponding to the program identifier based on the element display information, since the stored information does not include the display information corresponding to the program identifier.

[0236] The update unit is used to update the display information corresponding to the program identifier into the stored information.

[0237] In one possible implementation, the second determining unit is specifically used for:

[0238] Since the stored information does not include the display information corresponding to the program identifier, the element display information is determined to be the display information corresponding to the program identifier.

[0239] In one possible implementation, the second determining unit is specifically used for:

[0240] Based on the fact that the stored information does not include the display information corresponding to the program identifier, a display image is generated according to the element display information. The display image includes the target display element that corresponds to the attribute value on the target element attribute.

[0241] The displayed image is identified as the display information corresponding to the program identifier.

[0242] In one possible implementation, the first acquisition unit 1301 is specifically used for:

[0243] Based on the fact that the stored information does not include the display information corresponding to the program identifier, or based on the update information corresponding to the program, obtain the element display information corresponding to the program, wherein the update information is used to indicate that the element display information corresponding to the program has been updated;

[0244] The second indicating unit is specifically used for:

[0245] Based on the stored information including the display information corresponding to the program identifier, and without obtaining the updated information, during the process of obtaining the running resources, the display device is instructed to display the target display element according to the display information;

[0246] The second determining unit is specifically used for:

[0247] Based on the fact that the stored information does not include the display information corresponding to the program identifier, or based on the updated information, the display information corresponding to the program identifier is determined according to the element display information.

[0248] In one possible implementation, the target attribute setting information consists of a preset information template and input attribute value information, wherein the preset information template is used to indicate the information category of the attribute value information to be input.

[0249] This application also provides a computer device; please refer to [link to relevant documentation]. Figure 14 As shown, the computer device can be a terminal device; for example, a mobile phone can be used as a terminal device.

[0250] Figure 14 This diagram illustrates a partial structural representation of a mobile phone related to the terminal device provided in this embodiment. (Reference) Figure 14The mobile phone includes components such as a radio frequency (RF) circuit 710, a memory 720, an input unit 730, a display unit 740, a sensor 750, an audio circuit 760, a wireless Fidelity (WiFi) module 770, a processor 780, and a power supply 790. Those skilled in the art will understand that... Figure 14 The mobile phone structure shown does not constitute a limitation on the mobile phone and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0251] The following is combined with Figure 14 A detailed introduction to each component of a mobile phone:

[0252] RF circuit 710 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink information from the base station and processes it with processor 780; additionally, it transmits uplink data to the base station. Typically, RF circuit 710 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier (LNA), and a duplexer. Furthermore, RF circuit 710 can also communicate wirelessly with networks and other devices. The aforementioned wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, and Short Messaging Service (SMS).

[0253] The memory 720 can be used to store software programs and modules. The processor 780 executes various mobile phone functions and data processing by running the software programs and modules stored in the memory 720. The memory 720 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, phonebook, etc.). In addition, the memory 720 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0254] The input unit 730 can be used to receive input numerical or character information, and to generate key signal inputs related to user settings and function control of the mobile phone. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, also known as a touch screen, can collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel 731), and drive the corresponding connected devices according to a pre-set program. Optionally, the touch panel 731 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 780, and can also receive and execute commands sent by the processor 780. In addition, the touch panel 731 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 731, the input unit 730 may also include other input devices 732. Specifically, other input devices 732 may include, but are not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power buttons, etc.), trackball, mouse, joystick, etc.

[0255] The display unit 740 can be used to display information input by the user or information provided to the user, as well as various menus of the mobile phone. The display unit 740 may include a display panel 741, which may optionally be configured as a Liquid Crystal Display (LCD), Organic Light-Emitting Diode (OLED), or similar display panel. Further, a touch panel 731 may cover the display panel 741. When the touch panel 731 detects a touch operation on or near it, it transmits the information to the processor 780 to determine the type of touch event. Subsequently, the processor 780 provides corresponding visual output on the display panel 741 based on the type of touch event. Although in Figure 14 In this embodiment, the touch panel 731 and the display panel 741 are two separate components to realize the input and output functions of the mobile phone. However, in some embodiments, the touch panel 731 and the display panel 741 can be integrated to realize the input and output functions of the mobile phone.

[0256] The mobile phone may also include at least one sensor 750, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 741 according to the ambient light level, and the proximity sensor can turn off the display panel 741 and / or backlight when the phone is moved to the ear. As a type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity and can be used for applications that recognize the phone's posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition-related functions (such as pedometer, taps), etc. Other sensors that may be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, will not be described in detail here.

[0257] Audio circuit 760, speaker 761, and microphone 762 provide an audio interface between the user and the mobile phone. Audio circuit 760 converts received audio data into electrical signals and transmits them to speaker 761, where speaker 761 converts them into sound signals for output. On the other hand, microphone 762 converts collected sound signals into electrical signals, which are received by audio circuit 760, converted into audio data, and then processed by processor 780 before being transmitted via RF circuit 710 to, for example, another mobile phone, or the audio data can be output to memory 720 for further processing.

[0258] WiFi is a short-range wireless transmission technology. Through the WiFi module 770, mobile phones can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband internet access. Although Figure 14The WiFi module 770 is shown, but it is understood that it is not an essential component of a mobile phone and can be omitted as needed without changing the essence of the invention.

[0259] The processor 780 is the control center of the mobile phone, connecting various parts of the phone through various interfaces and lines. It executes software programs and / or modules stored in the memory 720, and calls data stored in the memory 720 to perform various functions and process data, thereby performing overall detection of the phone. Optionally, the processor 780 may include one or more processing units; preferably, the processor 780 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may also not be integrated into the processor 780.

[0260] The mobile phone also includes a power supply 790 (such as a battery) that supplies power to various components. Preferably, the power supply can be logically connected to the processor 780 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.

[0261] Although not shown, mobile phones may also include a camera, Bluetooth module, etc., which will not be described in detail here.

[0262] In this embodiment, the processor 780 included in the terminal device also has the following functions:

[0263] Based on the program usage request, obtain the element display information corresponding to the program. The program usage request is used to request the use of the program. The element display information includes target attribute category information and target attribute setting information corresponding to the target attribute category information. The target attribute category information is used to identify the target element attribute. The target attribute setting information is used to set the attribute value corresponding to the target element attribute. The target attribute setting information is composed of input attribute value information. The attribute value information is used to determine the attribute value.

[0264] The system acquires runtime resources for running the program. The element display information is used to enable the display device to display a target display element during the acquisition of the runtime resources. The target display element corresponds to the attribute value on the target element attribute. The display device is used to display the program interface generated when the program is run according to the runtime resources.

[0265] This application also provides a server; please refer to [link / reference]. Figure 15 As shown, Figure 15This is a structural diagram of a server 800 provided in an embodiment of this application. The server 800 can vary significantly due to different configurations or performance. It may include one or more Central Processing Units (CPUs) 822 (e.g., one or more processors) and a memory 832, and one or more storage media 830 (e.g., one or more mass storage devices) for storing application programs 842 or data 844. The memory 832 and storage media 830 can be temporary or persistent storage. The program stored in the storage media 830 may include one or more modules (not shown in the diagram), each module including a series of instruction operations on the server. Furthermore, the CPU 822 may be configured to communicate with the storage media 830 and execute the series of instruction operations in the storage media 830 on the server 800.

[0266] Server 800 may also include one or more power supplies 826, one or more wired or wireless network interfaces 850, one or more input / output interfaces 858, and / or one or more operating systems 841, such as Windows Server. TM Mac OS X TM Unix TM Linux TM FreeBSD TM etc.

[0267] The steps performed by the server in the above embodiments can be based on Figure 15 The server structure shown.

[0268] This application also provides a computer-readable storage medium for storing a computer program that executes any one of the data processing methods described in the foregoing embodiments.

[0269] This application also provides a computer program product including a computer program, which, when run on a computer device, causes the computer device to perform any of the data processing methods described in the above embodiments.

[0270] It is understood that in the specific implementation of this application, data related to user information (such as element setting information) is involved. When the above embodiments of this application are 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.

[0271] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium can be at least one of the following media: read-only memory (ROM), RAM, magnetic disk, or optical disk, etc., and other media capable of storing program code.

[0272] It should be noted that the various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiments. The device and system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of the solution in this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0273] The above description is merely one specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A data processing method, characterized in that, The method includes: Based on the program usage request, obtain the element display information corresponding to the program. The program usage request is used to request the use of the program. The element display information includes target attribute category information and target attribute setting information corresponding to the target attribute category information. The target attribute category information is used to identify the target element attribute. The target attribute setting information is used to set the attribute value corresponding to the target element attribute. The target attribute setting information is composed of input attribute value information. The attribute value information is used to determine the attribute value. The system acquires runtime resources for running the program. The element display information is used to enable the display device to display a target display element during the acquisition of the runtime resources. The target display element corresponds to the attribute value on the target element attribute. The display device is used to display the program interface generated when the program is run according to the runtime resources.

2. The method according to claim 1, characterized in that, The method further includes: Obtain mapping relationship information, which is used to identify the mapping relationship between display element identifiers and element attribute identifiers, wherein the display element identifier is used to identify display element information, and the element attribute identifier is used to identify attribute category information; Based on the mapping relationship information, the target attribute category information corresponding to the target display element information is determined. The mapping relationship includes the mapping relationship between the target display element identifier and the target element attribute identifier. The target display element identifier is used to identify the target display element information, the target element attribute identifier is used to identify the target attribute category information, and the target display element information is used to indicate the display of the target display element.

3. The method according to claim 2, characterized in that, The acquisition of mapping relationship information includes: Obtain the target mapping relationship information corresponding to the program. The target mapping relationship information is used to identify the mapping relationship between the display element identifier and the element attribute identifier corresponding to the display element used by the program. The mapping relationship information is different for different programs. The target mapping relationship information is determined as the mapping relationship information.

4. The method according to claim 3, characterized in that, The acquisition of mapping relationship information includes: Based on the absence of mapping relationship information corresponding to the program, preset mapping relationship information is obtained from the stored information. The preset mapping relationship information is used to identify the preset mapping relationship between display element identifiers and element attribute identifiers. The preset mapping relationship information is determined as the mapping relationship information.

5. The method according to claim 4, characterized in that, The step of obtaining the preset mapping relationship information from the stored information includes: Obtain the program type identifier corresponding to the program, wherein the program type identifier is used to identify the program type corresponding to the program; Retrieve the preset mapping relationship information corresponding to the program type identifier from the stored information. The preset mapping relationship information is used to indicate the display method of the display elements of the program for the program type. The preset mapping relationship information is different for different program type identifiers.

6. The method according to claim 1, characterized in that, The method further includes: Obtain the status identifier information corresponding to the target display element. The status identifier information is used to identify the display status of the target display element. The display status includes a displayable status or a non-displayable status. Based on the status identification information, the display status corresponding to the target display element is identified as a displayable state, and the display device is instructed to display the target display element; Based on the status identifier information, the display device is instructed not to display the target display element when the display status is not displayed.

7. The method according to claim 1, characterized in that, The runtime resources are used to display the program interface corresponding to the program, and the program interface is used to use the program. The method further includes: Based on the fact that the program interface is in a displayable state, the display device is instructed to cancel the display of the target display element, and the display device is used to display the program interface in the displayable state.

8. The method according to claim 7, characterized in that, The step of instructing the display device displaying the target display element to cancel displaying the target display element when the program interface is in a displayable state includes: Based on the fact that the program interface is in a displayable state, an interface call instruction is generated. The interface call instruction is used to call the destruction interface to destroy the target display element displayed through the display device.

9. The method according to claim 1, characterized in that, The program corresponds to multiple display elements, and the target display element is any one of the multiple display elements. The element display information includes attribute category information corresponding to each of the multiple display elements, and attribute setting information corresponding to the attribute category information. The target attribute category information is the attribute category information corresponding to the target display element. The element display information includes identification information corresponding to each of the multiple display elements. The identification information corresponding to the target display element is used to identify the mapping relationship between the target attribute category information and the target attribute setting information.

10. The method according to claim 9, characterized in that, The method further includes: Obtain the display order information corresponding to the program. The display order information is used to identify the element display order corresponding to the multiple display elements. The display order information is used to instruct the display device to display the multiple display elements in the element display order during the process of obtaining the running resources.

11. The method according to claim 1, characterized in that, The process of obtaining element display information corresponding to the program based on the program usage request includes: Based on the program usage request, obtain the program identifier used to identify the program; Based on the fact that the stored information does not include the display information corresponding to the program identifier, the element display information corresponding to the program is obtained. The display information is used to enable the display device to display the target display element during the process of obtaining the running resources. The method further includes: Based on the display information corresponding to the program identifier included in the stored information, during the process of acquiring the running resources, the display device is instructed to display the target display element according to the display information; Based on the fact that the stored information does not include the display information corresponding to the program identifier, the display information corresponding to the program identifier is determined according to the element display information; Update the display information corresponding to the program identifier to the stored information.

12. The method according to claim 11, characterized in that, The step of determining the display information corresponding to the program identifier based on the element display information, since the stored information does not include the display information corresponding to the program identifier, includes: Since the stored information does not include the display information corresponding to the program identifier, the element display information is determined to be the display information corresponding to the program identifier.

13. The method according to claim 11, characterized in that, The step of determining the display information corresponding to the program identifier based on the element display information, since the stored information does not include the display information corresponding to the program identifier, includes: Based on the fact that the stored information does not include the display information corresponding to the program identifier, a display image is generated according to the element display information. The display image includes the target display element that corresponds to the attribute value on the target element attribute. The displayed image is identified as the display information corresponding to the program identifier.

14. The method according to claim 11, characterized in that, The step of obtaining the element display information corresponding to the program based on the fact that the stored information does not include the display information corresponding to the program identifier includes: Based on the fact that the stored information does not include the display information corresponding to the program identifier, or based on the update information corresponding to the program, obtain the element display information corresponding to the program, wherein the update information is used to indicate that the element display information corresponding to the program has been updated; The step of instructing the display device to display the target display element according to the display information corresponding to the program identifier in the stored information during the acquisition of the runtime resources includes: Based on the stored information including the display information corresponding to the program identifier, and without obtaining the updated information, during the process of obtaining the running resources, the display device is instructed to display the target display element according to the display information; The step of determining the display information corresponding to the program identifier based on the element display information, since the stored information does not include the display information corresponding to the program identifier, includes: Based on the fact that the stored information does not include the display information corresponding to the program identifier, or based on the updated information, the display information corresponding to the program identifier is determined according to the element display information.

15. The method according to claim 1, characterized in that, The target attribute setting information consists of a preset information template and the input attribute value information. The preset information template is used to indicate the information category of the attribute value information to be input.

16. A data processing apparatus, characterized in that, The device includes a first acquisition unit and a second acquisition unit: The first acquisition unit is used to acquire element display information corresponding to a program based on a program usage request. The program usage request is used to request the use of the program. The element display information includes target attribute category information and target attribute setting information corresponding to the target attribute category information. The target attribute category information is used to identify target element attributes. The target attribute setting information is used to set the attribute value corresponding to the target element attribute. The target attribute setting information is composed of input attribute value information. The attribute value information is used to determine the attribute value. The second acquisition unit is used to acquire runtime resources for running the program. The element display information is used to enable the display device to display a target display element during the acquisition of the runtime resources. The target display element corresponds to the attribute value on the target element attribute. The display device is used to display the program interface generated when the program is run according to the runtime resources.

17. A computer device, characterized in that, The computer device includes a processor and memory: The memory is used to store computer programs and to transfer the computer programs to the processor; The processor is configured to execute the data processing method according to any one of claims 1-15 according to instructions in the computer program.

18. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store a computer program for performing the data processing method according to any one of claims 1-15.

19. A computer program product comprising a computer program, which, when run on a computer device, causes the computer device to perform the data processing method according to any one of claims 1-15.