Page generation method, running method, device, readable medium and electronic equipment

By receiving style and logic configuration instructions, the page of the target control is automatically generated, which solves the problems of complexity and high error rate in the generation of button controls in the prior art, and realizes simplified operation and increased information content.

CN114594951BActive Publication Date: 2026-02-13BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210234174.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-10
Publication Date
2026-02-13
Estimated Expiration
2042-03-10

Smart Images

  • Figure CN114594951B_ABST
    Figure CN114594951B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a page generation method, a running method, a device, a readable medium and an electronic device, and relates to the technical field of electronic information processing. The method comprises: receiving a style configuration instruction for a target control, configuring each state of a plurality of states of the target control to be associated with a corresponding style picture according to the style configuration instruction; receiving a logic configuration instruction for the target control, parsing the logic configuration instruction to determine the execution qualification and the execution condition corresponding to each state of the plurality of states of the target control, and associating each state with the corresponding execution qualification and execution condition; and in response to a creation instruction, generating a target page including the target control according to the style picture, the execution qualification and the execution condition associated with each state of the target control. The present disclosure can automatically generate a page in which the target control displays a corresponding style picture according to different states, thereby improving the amount of information contained in the page and avoiding invalid operations.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of electronic information processing, and in particular, to a page generation method and device, a page running method and device, a readable medium, and an electronic device. BACKGROUND

[0002] With the continuous development of electronic information technology, various application programs have appeared on the application market to meet the diversified needs of users. In the operation process of the application program, there may be a lot of promotion content to improve the participation of users. The promotion content can be displayed in the form of a promotion page. In order to increase interaction with users, buttons are usually included in the promotion page, and users can obtain resources such as props and coupons by clicking the buttons. In general, to achieve the multi-style display of the buttons, it is necessary to add polymorphism to the controls corresponding to the buttons by writing codes, and the logic of the codes is complex, the operation is cumbersome, and errors are easy to occur. SUMMARY

[0003] This summary is provided to introduce a selection of concepts, which are further described below in the detailed description. This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.

[0004] In a first aspect, the present disclosure provides a page generation method, comprising:

[0005] receiving a style configuration instruction for a target control, and configuring each state of a plurality of states of the target control to be associated with a corresponding style picture according to the style configuration instruction;

[0006] receiving a logic configuration instruction for the target control, parsing the logic configuration instruction to determine an execution qualification and an execution condition corresponding to each state of the plurality of states of the target control, and associating each state with the corresponding execution qualification and execution condition;

[0007] in response to a creation instruction, generating a target page including the target control according to the style picture, the execution qualification, and the execution condition associated with each state of the target control.

[0008] In a second aspect, the present disclosure provides a page running method, comprising:

[0009] running a target page, the target page including a target control, the target page being generated according to a style picture, an execution qualification, and an execution condition associated with each state of the target control;

[0010] Receive the access command triggered by the target object and obtain the attribute information of the target object;

[0011] The target state of the target control is determined based on the attribute information, the execution eligibility associated with each state of the target control, and the execution conditions.

[0012] Control the target control on the target page to display the style image corresponding to the target state.

[0013] Thirdly, this disclosure provides a page generation apparatus, the apparatus comprising:

[0014] The first determining module is used to receive a style configuration instruction for a target control, and configure each of the multiple states of the target control to be associated with a corresponding style image according to the style configuration instruction.

[0015] The second determining module is configured to receive a logical configuration instruction for the target control, parse the logical configuration instruction to determine the execution qualification and execution condition corresponding to each of the plurality of states of the target control, and associate each state with the corresponding execution qualification and execution condition;

[0016] A generation module is configured to, in response to a creation instruction, generate a target page including the target control based on the style image associated with each state of the target control, the execution qualifications, and the execution conditions.

[0017] Fourthly, this disclosure provides a device for operating a webpage, the device comprising:

[0018] The running module is used to run the target page, which includes a target control. The target page is generated based on the style image, execution qualifications, and execution conditions associated with each state of the target control.

[0019] The receiving module is used to receive the access command triggered by the target object and obtain the attribute information of the target object;

[0020] A state determination module is used to determine the target state of the target control based on the attribute information, the execution eligibility associated with each state of the target control, and the execution conditions;

[0021] The control module is used to control the target control on the target page to display the style image corresponding to the target state.

[0022] Fifthly, this disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processing device, implements the steps of the method described in the first aspect of this disclosure.

[0023] In a sixth aspect, the present disclosure provides an electronic device, comprising:

[0024] a storage device having a computer program stored thereon;

[0025] a processing device configured to execute the computer program in the storage device to implement the steps of the method of the first aspect of the present disclosure.

[0026] In a seventh aspect, the present disclosure provides a computer readable medium having a computer program stored thereon, which, when executed by a processing device, implements the steps of the method of the second aspect of the present disclosure.

[0027] In an eighth aspect, the present disclosure provides an electronic device, comprising:

[0028] a storage device having a computer program stored thereon;

[0029] a processing device configured to execute the computer program in the storage device to implement the steps of the method of the second aspect of the present disclosure.

[0030] According to the above technical solution, the style configuration instruction is first received in the present disclosure, and the style picture corresponding to each state of the target control is associated according to the style configuration instruction. Then the logic configuration instruction is received and parsed to determine the execution qualification and execution condition corresponding to each state of the target control, and each state of the target control is associated with the corresponding execution qualification and execution condition. Finally, as a response to the creation instruction, the target page including the target control is generated according to the style picture, the execution qualification and the execution condition associated with each state of the target control. By configuring the style picture, the execution qualification and the execution condition of the target control, the present disclosure automatically generates a page in which the target control can display the corresponding style picture according to different states, thereby improving the information amount contained in the page and avoiding invalid operations.

[0031] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF DRAWINGS

[0032] The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:

[0033] Figure 1 is a flowchart of a page generation method according to an exemplary embodiment;

[0034] Figure 2FIG. 1 is a schematic diagram of a UI of a configuration platform according to an exemplary embodiment;

[0035] Figure 3 FIG. 2 is a schematic diagram of another UI of a configuration platform according to an exemplary embodiment;

[0036] Figure 4 FIG. 3 is a schematic diagram of another UI of a configuration platform according to an exemplary embodiment;

[0037] Figure 5 FIG. 4 is a flowchart of another method for generating a page according to an exemplary embodiment;

[0038] Figure 6 FIG. 5 is a schematic diagram of another UI of a configuration platform according to an exemplary embodiment;

[0039] Figure 7 FIG. 6 is a flowchart of another method for generating a page according to an exemplary embodiment;

[0040] Figure 8 FIG. 7 is a flowchart of a method for running a page according to an exemplary embodiment;

[0041] Figure 9 FIG. 8 is a flowchart of another method for running a page according to an exemplary embodiment;

[0042] Figure 10 FIG. 9 is a flowchart of another method for running a page according to an exemplary embodiment;

[0043] Figure 11 FIG. 10 is a block diagram of a page generating apparatus according to an exemplary embodiment;

[0044] Figure 12 FIG. 11 is a block diagram of a page running apparatus according to an exemplary embodiment;

[0045] Figure 13 FIG. 12 is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0046] Embodiments of the present disclosure will be described more fully hereinafter with reference to the accompanying drawings, in which some, but not all embodiments of the present disclosure are shown. Understanding that these drawings depict only some embodiments of the present disclosure and are not therefore to be considered to be limiting the scope of the present disclosure, the embodiments will be described and explained with additional specificity and detail through the use of the accompanying drawings in which:

[0047] It should be understood that each step recited in the method embodiments of the present disclosure can be performed in different orders and / or in parallel. In addition, the method embodiments can include additional steps and / or omit performing the steps shown. The scope of the present disclosure is not limited in this respect.

[0048] The term "comprising" and variations thereof as used herein are used inclusively, i.e., "comprising, but not limited to." The term "based on" is "based at least in part on." The term "one embodiment" means "at least one embodiment." The term "another embodiment" means "at least one additional embodiment." The term "some embodiments" means "at least some embodiments." Related definitions are given below in the description of the various terms.

[0049] It should be noted that the terms "first", "second", and the like in the present disclosure are merely used to distinguish different devices, modules or units, and do not imply the order or interdependence of the functions performed by these devices, modules or units.

[0050] It should be noted that the terms "one", "multiple" in the present disclosure are illustrative and not restrictive, and those skilled in the art should understand that unless otherwise explicitly stated in the context, it should be understood as "one or more".

[0051] The names of the messages or information exchanged between the devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of the messages or information.

[0052] All actions of obtaining signals, information or data in the present disclosure are carried out in compliance with the corresponding data protection regulations and policies of the country where the device is located, and with the authorization given by the corresponding device owner.

[0053] Before introducing the page generation method, running method, device, readable medium and electronic equipment provided by the present disclosure, first introduce the application scenarios involved in each embodiment of the present disclosure. The application scenario can be a configuration platform for generating a page. The configuration platform can provide a corresponding UI (English: User Interface, Chinese: User Interface) to allow users to enter various instructions (such as the style configuration instructions, logic configuration instructions mentioned later) according to specific needs, so that users can generate target pages that meet their needs without writing code (i.e. NoCode way). The configuration platform can be deployed on a server, and users can access and use the configuration platform through a web page or a designated application program.

[0054] Figure 1 is a flowchart of a page generation method according to an exemplary embodiment, as shown in Figure 1 the method comprises:

[0055] Step 101: Receive style configuration instructions for the target control, and configure each of the multiple states of the target control to be associated with the corresponding style image according to the style configuration instructions.

[0056] For example, when a user needs to generate a target page including a target control, they can input style configuration instructions for the target control through a configuration platform. The configuration platform can then associate each of the target control's multiple states with a corresponding style image based on the received style configuration instructions. The target control can be a button control or other controls that can interact with the object operating the target control (e.g., a scrollbar control, a clock control, etc.). This disclosure does not specifically limit this. The target control can have multiple states, such as three or more states. These multiple states correspond to various attributes of the object operating the target control. The style configuration instructions can specify the style image corresponding to each state of the target control and associate each state with its corresponding style image. The style images corresponding to each state can be different. Specifically, the style configuration instructions can be triggered by the user sequentially selecting the style image corresponding to each state from a pre-established image library, or by the user sequentially inputting the storage path (or resource link) of the style image corresponding to each state. After the style image is determined, the configuration platform can also display the style image so that users can preview it. Furthermore, the configuration platform can also display the effect of the target control displayed with the style image so that users can preview the effect of the target control.

[0057] Taking a button control as the target control as an example, the configuration platform's UI can include a "Style" tab for users to enter style configuration commands, such as... Figure 2 As shown, the button control is used to claim corresponding resources and can be divided into three states: "Available", "Unavailable", and "Claimed". "Available" means the button control can be clicked, allowing the user to claim the corresponding resource. "Unavailable" means the button control cannot be clicked, indicating the resource claiming condition has not been met. "Claimed" means the button control cannot be clicked, and the corresponding resource has already been claimed. Users can click the "+" sign corresponding to each state to select a style image from the image library. For example, the style image associated with "Available" is a light-colored image with the text "On". The style image associated with "Unavailable" is a dark-colored image with the text "On". The style image associated with "Claimed" is a light-colored image with the text "On".

[0058] At step 102, a logic configuration instruction for the target control is received, the logic configuration instruction is parsed to determine an execution qualification and an execution condition corresponding to each state of the target control, and each state is associated with the corresponding execution qualification and execution condition.

[0059] For example, the user can also enter the logic configuration instruction for the target control through the configuration platform. The configuration platform can parse the received logic configuration instruction to obtain the execution qualification and the execution condition corresponding to each state of the target control, and then associate each state with the corresponding execution qualification and execution condition. The logic configuration instruction can indicate the execution qualification and the execution condition corresponding to each state of the target control, and the execution qualification and the execution condition corresponding to each state can be different. The execution qualification is used to limit the qualification of the object that can operate the target control, for example, the role of the object, the number of times of obtaining, etc. The execution condition is used to limit the condition of operating the target control, for example, the time range of operation, etc. Specifically, the triggering mode of the logic configuration instruction can be that the user enters the execution qualification and the execution condition corresponding to each state in turn, or the user enters the execution qualification and the execution condition corresponding to a specified state, and the execution qualification and the execution condition corresponding to other states are determined according to the execution qualification and the execution condition corresponding to the specified state.

[0060] For example, the target control is a button control, the UI of the configuration platform can set a “data” tab page for the user to enter the logic configuration instruction, which includes a “qualification” sub-tab page for the user to enter the execution qualification, and a “condition” sub-tab page for the user to enter the execution condition. The button control is used to obtain the corresponding resource, and can be divided into three states: “obtainable”, “unobtainable”, and “obtained”. In one implementation, the user can enter the execution qualification associated with each state in the “qualification” sub-tab page, and enter the execution condition associated with each state in the “condition” sub-tab page. Figure 3 As shown in FIG. 6, the execution qualification can include a qualification type (used to indicate the type of the object, for example, which can be a role level), a period (used to indicate whether the object participates in the activity, for example, which can be within an activity period), a number of times (used to indicate the number of times of obtaining, for example, which can be 1 time), etc. Further, the user can also enter an exceeding number of times prompt (used to prompt the object that the current number of times of obtaining has been exceeded) in the “qualification” sub-tab page. The user can also enter the execution condition associated with the “obtainable” state in the “condition” sub-tab page, as shown in FIG. 7. Figure 4As shown, the execution condition can include: login time (which can be set by time valid interval, two dimensions within the valid interval, for example), start time, end time, etc. Further, the user can also enter in the "condition" sub-tab: not meet the condition prompt (used to prompt the object that the current does not meet the execution condition). Correspondingly, the execution qualification and execution condition associated with the "not available" and "has been taken" state can be determined according to the execution qualification and execution condition associated with the "available" state. For example, if the "available" corresponding execution qualification is not met, it is "has been taken" state, if the "available" corresponding execution qualification is met, but the "available" corresponding execution condition is not met, it is "not available" state.

[0061] Step 103, in response to the creation instruction, generating a target page including the target control according to the style picture, execution qualification and execution condition associated with each state of the target control.

[0062] For example, after associating each state of the target control with the corresponding style picture, execution qualification and execution condition, the user can also enter the creation instruction through the configuration platform. In response to the creation instruction, the configuration platform can automatically generate a target page including the target control through NoCode according to the style picture, execution qualification and execution condition associated with each state, so that the user can obtain the target page without manually writing code, improving the efficiency of page generation.

[0063] Figure 5 is a flow chart of another page generation method according to an example embodiment, as shown in Figure 5 The method can further include:

[0064] Step 104, according to the logical configuration instruction, configuring each state of the target control to associate with the corresponding associated resource.

[0065] For example, the logic configuration instruction can also be used to configure a plurality of states of the target control, each state being associated with a corresponding associated resource, and the associated resource corresponding to each state can be different. Further, the associated resource can be zero, one or more, and the present disclosure does not make a specific limitation thereon. The associated resource is used to indicate the resource that can be obtained by the object after operating the target control, for example, a resource package, equipment, a coupon, etc. Specifically, in an implementation manner, the trigger manner of the logic configuration instruction can be that the user selects the associated resource corresponding to each state in a pre-established resource library in sequence, or the user enters the storage path (or resource link) of the associated resource corresponding to each state in sequence. In another implementation manner, the trigger manner of the logic configuration instruction can be that the user selects the associated resource corresponding to a specified state in a pre-established resource library, or the user enters the storage path (or resource link) of the associated resource corresponding to the specified state in sequence, and correspondingly, the associated resource corresponding to other states is determined according to the associated resource corresponding to the specified state.

[0066] Similarly, taking the target control as a button control as an example, the "Data" tab page of the UI setting of the configuration platform further includes a "Reward" sub-tab page for the user to enter the associated resource. The button control for obtaining the corresponding resource can be divided into three states: "obtainable", "unobtainable" and "obtained". In an implementation manner, the user can enter the associated resource associated with each state in the "Reward" sub-tab page. In another implementation manner, the user can enter the associated resource associated with the "obtainable" state in the "Reward" sub-tab page, as shown in FIG. 6B. The associated resource can include a gift package name, prop details, etc. Correspondingly, the associated resource associated with the "unobtainable" and "obtained" states can be determined according to the associated resource associated with the "obtainable" state. For example, since the button control in the "unobtainable" and "obtained" states cannot be clicked to obtain the resource, the associated resource associated with the "unobtainable" and "obtained" states can be set as empty, that is, the "unobtainable" and "obtained" states are not associated with the corresponding associated resource. Figure 6

[0067] Correspondingly, the implementation manner of step 103 can be:

[0068] generating a target page according to the style picture, execution qualification, execution condition and associated resource associated with each state of the target control.

[0069] ​For example, in response to the creation instruction, when the target page is generated, the configuration platform can automatically generate the target page in a NoCode manner according to the style picture, execution qualification, execution condition and associated resource associated with each state of the target control. After the target page is generated, the target page can be inserted into a specified host application or displayed in a browser for access by the target object.

[0070] Figure 7 is a flowchart of another page generation method according to an example embodiment, as shown in Figure 7 The method can further include:

[0071] In step 105, at least one state of the target control is associated with a corresponding jump link according to the style configuration instruction.

[0072] Correspondingly, the implementation of step 103 can be:

[0073] According to the style picture, execution qualification and execution condition associated with each state of the target control, and the jump link associated with at least one state of the target control, the target page is generated.

[0074] For example, the style configuration instruction can also be used to associate at least one state of the target control with a corresponding jump link. The jump link corresponding to each state can be different. Further, the jump link can be zero, one or more. The jump link is used to indicate the link to which the target page will jump after the object operates the target control, for example, the link of the host application (i.e. jump to the host application). Specifically, the triggering manner of the style configuration instruction can be that the user enters the jump link associated with at least one state in sequence.

[0075] Again taking the target control as a button control as an example, the "style" tab page of the UI setting of the configuration platform is as shown in Figure 2 The button control is used to obtain resources in a game application and can be divided into three states: "obtainable", "unobtainable" and "obtained". The user can select whether to use the game link as the jump link by clicking the "click to jump to the game" switch. For example, the "click to jump to the game" switch corresponding to "unobtainable" is in an open state, and the jump link associated with "unobtainable" is the game link.

[0076] In another application scenario, the implementation of step 101 can be:

[0077] According to the style configuration instruction, each state of the multiple states of the target control is associated with a corresponding style picture and display mode.

[0078] For example, the style configuration instruction can configure the display mode of each style picture while configuring each state of the target control and the corresponding style picture. That is, the style configuration instruction can configure each state of the target control and the corresponding style picture, and associate each state of the target control with the display mode of the corresponding style picture. The display mode is used to indicate the mode of the target control when the target control is displayed in the style picture, and can include, for example, picture fidelity, filters, special effects, and the like. Specifically, the trigger mode of the style configuration instruction can be that the user enters the display mode associated with each state in sequence.

[0079] For example, the target control is a button control, and the "style" tab of the UI setting of the configuration platform is configured as shown in Figure 2 The button control is used to obtain resources in a game application, and can be divided into three states: "obtainable", "unobtainable", and "obtained". The user can select a specific fidelity by clicking the options provided by "picture fidelity" (including 75%, 95%, and 100%). For example, the display mode associated with "obtainable", "unobtainable", and "obtained" is 100% picture fidelity.

[0080] Correspondingly, the implementation mode of step 103 can be:

[0081] According to the style picture, the display mode, the execution qualification, and the execution condition associated with each state of the target control, a target page is generated.

[0082] For example, in response to the creation instruction, when the target page is generated, the configuration platform can automatically generate the target page in a NoCode manner according to the style picture, the display mode, the execution qualification, and the execution condition associated with each state of the target control. After the target page is generated, the target page can be inserted into a specified host application or displayed in a browser for access by a target object.

[0083] In summary, in the present disclosure, the style configuration instruction is first received, and each state of the target control is associated with the corresponding style picture according to the style configuration instruction. Then, the logic configuration instruction is received and parsed to determine the execution qualification and the execution condition corresponding to each state of the target control, and each state of the target control is associated with the corresponding execution qualification and execution condition. Finally, as a response to the creation instruction, a target page including the target control is generated according to the style picture, the execution qualification, and the execution condition associated with each state of the target control. The present disclosure automatically generates a page in which the target control can display the corresponding style picture according to different states by configuring the style picture, the execution qualification, and the execution condition of the target control, thereby improving the amount of information contained in the page and avoiding invalid operations.

[0084] Figure 8is a flowchart of a running method of a page according to an exemplary embodiment, as shown in Figure 8 The method can include:

[0085] Step 201, running a target page, the target page including a target control, the target page being generated according to a style picture, an execution qualification and an execution condition associated with each state of the target control.

[0086] Step 202, receiving an access instruction triggered by a target object, and obtaining attribute information of the target object.

[0087] Step 203, determining a target state of the target control according to the attribute information, the execution qualification and the execution condition associated with each state of the target control.

[0088] Step 204, controlling the target control in the target page to display according to a style picture corresponding to the target state.

[0089] For example, after the target page is generated according to the generation method of the page in the above embodiment, the target page can be run for the target object to access. Specifically, the target page can be inserted into a specified host application to run, or can be displayed in a browser to run. Wherein, the target object can be understood as a user of the host application or the browser, or can be understood as a terminal device running the host application, or can be understood as a terminal device running the browser, etc., which is not limited in the disclosure.

[0090] When the target object accesses the target page, an access instruction is triggered, and the target page obtains attribute information of the target object after receiving the access instruction, wherein the attribute information can reflect the attributes of the target object, for example, can include: object ID, application ID, login time, type, number of times of obtaining, etc.

[0091] Then, the target page can determine a target state of the target control according to the attribute information, the execution qualification and the execution condition associated with each state of the target control, the execution qualification and the execution condition corresponding to the target state matching the attribute information. Finally, the target page controls the target control to display according to a style picture corresponding to the target state. In this way, the target control in the target page can display different style pictures according to different attribute information, and different style pictures can provide more abundant information for the user, for example, the user can be directly informed whether the target control can be operated through different style pictures, avoiding invalid operations.

[0092] Figure 9 is another flowchart of a running method of a page according to an exemplary embodiment, as shown in Figure 9As shown, the target page is also generated according to the associated resource associated with each state of the target control. Correspondingly, the method can further include:

[0093] Step 205, receiving an operation instruction triggered by the target object.

[0094] Step 206, in the case where the target state is an inoperable state, rejecting the operation instruction.

[0095] Step 207, in the case where the target state is an operable state, allocating the target object with the associated resource associated with the target state.

[0096] Step 208, updating the attribute information, and updating the target state according to the updated attribute information, the execution qualification and the execution condition associated with each state of the target control.

[0097] Step 209, controlling the target control in the target page to display according to the style picture corresponding to the updated target state.

[0098] For example, when the target object performs a specified operation (e.g., single-click, double-click, zoom-in gesture, etc.) on the target control, the operation instruction is triggered. In the case where the target state is inoperable, the target page rejects the operation instruction, that is, the target page does not allocate the target object with the associated resource. In other words, the target page does not respond to the specified operation in the case where the target control is in the inoperable state. In this way, the target page can avoid initiating invalid requests to the background server, and reduce unnecessary traffic and resource consumption.

[0099] In the case where the target state is operable, the target page allocates the target object with the associated resource, that is, the target page responds to the specified operation in the case where the target control is in the operable state, so as to allocate the target object with the associated resource. The way of allocating the target object with the associated resource can be that the target page initiates a request to the background server, so that the background server sends the associated resource to the target object, or so that the background server adds the associated resource to a pre-stored resource list of the target object.

[0100] Meanwhile, the target page also updates the attribute information of the target object. For example, after allocating the target object with the associated resource, the number of times of taking in the attribute information is increased by 1, etc. Then, the target state is updated according to the updated attribute information, the execution qualification and the execution condition associated with each state of the target control. The execution qualification and the execution condition corresponding to the updated target state match the updated attribute information. Finally, the target page controls the target control to display according to the style picture corresponding to the updated target state.

[0101] Taking the target control as a button control, the target state is updated according to the execution qualification and the execution condition associated with each state of the button control. Figure 2The target object accesses the target page, the target page obtains the attribute information of the target object, the number of times of taking included in the attribute information is 0 at this time, the corresponding target state is "available for taking", the button control displays a style picture which is a light color picture, and the text included on the button control is "start". When the user clicks the button control, the target page will allocate the associated resource to the target object, and then modify the number of times of taking included in the attribute information of the target object to 1. After that, the target state can be updated to "has been taken", and the style picture displayed by the button control is a light color picture, and the text included is "has started".

[0102] Figure 10 is a flowchart of another running method of a page according to an example embodiment, as shown in Figure 10 The target page is also generated according to the jump link associated with at least one state of the target control, and accordingly, the method can further include:

[0103] In step 210, an operation instruction triggered by a target object is received, and in the case that the target state is an inoperable state and there is a jump link associated with the target state, the jump link associated with the target state is sent to the target object.

[0104] For example, when the target object performs a specified operation on the target control, an operation instruction is triggered. In the case that the target state is inoperable, the target page rejects the operation instruction, that is, the target page does not allocate the associated resource to the target object. At the same time, if there is a jump link associated with the target state, the jump link associated with the target state can be sent to the target object. In this way, the target object can obtain the content contained in the jump link, for example, the jump link is a link of a host application, and then the target object jumps to the host application.

[0105] In one application scenario, the target page is also generated according to the display mode associated with each state of the target control. Accordingly, the implementation manner of step 204 can be:

[0106] The target control is controlled to be displayed according to the style picture and the display mode corresponding to the target state.

[0107] For example, when the target object accesses the target page, an access instruction is triggered, the target page obtains the attribute information of the target object after receiving the access instruction, determines the target state of the target control according to the attribute information, the execution qualification and the execution condition associated with each state of the target control, and finally controls the target control to be displayed according to the style picture and the display mode corresponding to the target state.

[0108] In another application scenario, step 203 can include the following steps:

[0109] Step 1) In the case that the attribute information does not match the execution qualification, the target state is determined as the first inoperable state.

[0110] Step 2) In the case that the attribute information matches the execution qualification and the attribute information matches the execution condition, the target state is determined as the operable state.

[0111] Step 3) In the case that the attribute information matches the execution qualification and the attribute information does not match the execution condition, the target state is determined as the second inoperable state.

[0112] In an application scenario, the target control can be divided into three states: the operable state, the first inoperable state, and the second inoperable state. When generating the target page, the operable state can be associated with the corresponding execution qualification and execution condition, and the execution qualification and execution condition associated with the first inoperable state and the second inoperable state are determined according to the execution qualification and execution condition associated with the operable state. In the process of running the target page, when determining the target state according to the attribute information of the target object, the attribute information can be compared with the execution qualification corresponding to the operable state first. If the attribute information does not match the execution qualification corresponding to the operable state, the target state is determined as the first inoperable state. If the attribute information matches the execution qualification corresponding to the operable state, the attribute information is further compared with the execution condition corresponding to the operable state. If the attribute information matches the execution condition corresponding to the operable state, the target state is determined as the operable state. If the attribute information does not match the execution condition corresponding to the operable state, the target state is determined as the second inoperable state.

[0113] Taking the target control as a button control as an example, the button control is used to obtain resources in a game application, the operable state corresponds to "obtainable", the first inoperable state corresponds to "obtained", and the second inoperable state corresponds to "unobtainable". The execution qualification corresponding to the "obtainable" state is: character level, activity period, and obtainable times of 1, and the execution condition is: login time within 7 days, start time of 2021-07-22 00:00:00, and end time of 2021-07-22 23:59:59. The target object accesses the target page to trigger an access instruction. After receiving the access instruction, the target page obtains the attribute information of the target object. The attribute information includes the type of the target object, the login time, the obtainable times, and the current time.

[0114] The attribute information is compared with the execution qualification corresponding to the "obtainable" state first. If the obtainable times of the target object is 1, it indicates that the target object has obtained the corresponding resources, that is, the attribute information of the target object does not match the execution qualification corresponding to the "obtainable" state, and the target state is "obtained".

[0115] If the type of the target object is a role level, the current time is within an active period, and the number of pickups of the target object is less than 1 (that is, the attribute information matches the execution qualification corresponding to "available for pickup"), it indicates that the target object has not picked up the corresponding resource, and the attribute information of the target object can be further compared with the execution condition corresponding to "available for pickup". If the interval between the two login times of the target object is less than 7 days, and the current time is 2021-07-22 14:05:00, the target state is "available for pickup". If the interval between the two login times of the target object is greater than 7 days, or the current time is 2021-07-21 14:05:00, the target state is "not available for pickup". Finally, the control button control is displayed according to the style picture corresponding to the target state.

[0116] In summary, when running the target page, the disclosure can obtain the attribute information of the target object in response to the received access instruction, determine the target state of the target control according to the attribute information, the execution qualification and the execution condition associated with each state of the target control, and finally control the target control in the target page to display according to the style picture corresponding to the target state. The target control in the target page can display different style pictures according to different attribute information, and different style pictures can provide more information for the user and avoid invalid operations.

[0117] Figure 11 is a block diagram of a page generation apparatus according to an example embodiment, as shown in Figure 11 The apparatus 300 can include:

[0118] A first determination module 301 is configured to receive a style configuration instruction for a target control, and configure each state of a plurality of states of the target control to be associated with a corresponding style picture according to the style configuration instruction.

[0119] A second determination module 302 is configured to receive a logic configuration instruction for the target control, parse the logic configuration instruction to determine the execution qualification and the execution condition corresponding to each state of the plurality of states of the target control, and associate each state with the corresponding execution qualification and execution condition.

[0120] A generation module 303 is configured to generate a target page including the target control according to the style picture, the execution qualification and the execution condition associated with each state of the target control in response to a creation instruction.

[0121] In an application scenario, the second determination module 302 can be configured to:

[0122] According to the logic configuration instruction, each state of the plurality of states of the target control is associated with a corresponding associated resource.

[0123] The generating module 303 can be configured to:

[0124] generate the target page according to the style picture, the execution qualification, the execution condition and the associated resource associated with each state of the target control.

[0125] The target page is configured to, in response to an operation instruction triggered by the target object, in a case where the target state is an operable state, assign the target object the associated resource corresponding to the target state, update the attribute information, update the target state according to the updated attribute information, the execution qualification and the execution condition, and control the target control to be displayed according to the updated style picture corresponding to the target state.

[0126] In another application scenario, the first determining module 301 can be further configured to:

[0127] configure the target control to associate at least one state of the target control with a corresponding jump link according to the style configuration instruction.

[0128] The generating module 303 can be configured to:

[0129] generate the target page according to the style picture, the execution qualification and the execution condition associated with each state of the target control, and the jump link associated with at least one state of the target control.

[0130] Correspondingly, the target page is configured to, in response to an operation instruction triggered by the target object, in a case where the target state is an inoperable state, send the jump link corresponding to the target state to the target object.

[0131] In yet another application scenario, the first determining module 301 can be configured to:

[0132] configure the target control to associate each state of a plurality of states of the target control with a corresponding style picture and display mode according to the style configuration instruction.

[0133] Correspondingly, the generating module 303 can be configured to:

[0134] generate the target page according to the style picture, the display mode, the execution qualification and the execution condition associated with each state of the target control.

[0135] In yet another application scenario, the state of the target control is three or more.

[0136] As to the apparatus in the above-described embodiments, the specific manners in which various modules perform operations have been described in details in the embodiments of the method, and will not be described herein in details.

[0137] In summary, in the present disclosure, a style configuration instruction is first received, and according to the style configuration instruction, each state of the target control is associated with a corresponding style picture. Then, a logic configuration instruction is received and parsed to determine the execution qualification and execution condition corresponding to each state of the target control, and each state of the target control is associated with the corresponding execution qualification and execution condition. Finally, as a response to the creation instruction, a target page including the target control is generated according to the style picture, the execution qualification and the execution condition associated with each state of the target control. By configuring the style picture, the execution qualification and the execution condition of the target control, the present disclosure automatically generates a page in which the target control can display a corresponding style picture according to different states, thereby improving the amount of information contained in the page and avoiding invalid operations.

[0138] Figure 12 is a block diagram of a running device of a page according to an exemplary embodiment, as shown in Figure 12 The device 400 can include:

[0139] A running module 401 is configured to run a target page, the target page including a target control, and the target page being generated according to a style picture, an execution qualification and an execution condition associated with each state of the target control.

[0140] A receiving module 402 is configured to receive an access instruction triggered by a target object, and obtain attribute information of the target object.

[0141] A state determining module 403 is configured to determine a target state of the target control according to the attribute information, the execution qualification and the execution condition associated with each state of the target control.

[0142] A control module 404 is configured to control the target control in the target page to display a style picture corresponding to the target state.

[0143] In an application scenario, the target page is further generated according to an associated resource associated with each state of the target control. Correspondingly, the receiving module 402 is further configured to:

[0144] receive an operation instruction triggered by the target object.

[0145] The control module 404 is further configured to:

[0146] in a case where the target state is an inoperable state, reject the operation instruction.

[0147] in a case where the target state is an operable state, allocate an associated resource associated with the target state to the target object.

[0148] update the attribute information, and update the target state according to the updated attribute information, the execution qualification and the execution condition associated with each state of the target control.

[0149] The target control in the target page is controlled to be displayed according to the style picture corresponding to the updated target state.

[0150] In another application scenario, the target page is further generated according to the jump link associated with at least one state of the target control.

[0151] The receiving module 402 is further configured to:

[0152] receive an operation instruction triggered by the target object.

[0153] The control module 404 is further configured to:

[0154] In a case where the target state is the inoperable state and there is a jump link associated with the target state, the control module 404 sends the jump link associated with the target state to the target object.

[0155] In another application scenario, the target page is further generated according to the display mode associated with each state of the target control. The control module 404 is configured to:

[0156] The target control is controlled to be displayed according to the style picture corresponding to the target state and the display mode.

[0157] In another application scenario, the state determination module 403 can be configured to implement the following steps:

[0158] Step 1) In a case where the attribute information does not match the execution qualification, the target state is determined to be a first inoperable state.

[0159] Step 2) In a case where the attribute information matches the execution qualification and the attribute information matches the execution condition, the target state is determined to be an operable state.

[0160] Step 3) In a case where the attribute information matches the execution qualification and the attribute information does not match the execution condition, the target state is determined to be a second inoperable state.

[0161] As to the apparatus in the above-described embodiments, the specific manners in which various modules perform operations have been described in detail in the embodiments of the method, and thus will not be described here in detail.

[0162] To sum up, when running the target page, the present disclosure can acquire attribute information of a target object in response to a received access instruction, determine a target state of a target control according to the attribute information, execution qualification and execution condition associated with each state of the target control, and finally control the target control in the target page to be displayed according to a style picture corresponding to the target state. The target control in the target page can display different style pictures according to different attribute information, and different style pictures can provide more abundant information for users and avoid invalid operations.

[0163] The following is for reference. Figure 13 This document illustrates a structural schematic of an electronic device (e.g., an execution entity of the present disclosure) 500 suitable for implementing embodiments of the present disclosure. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 13 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

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

[0165] Typically, the following devices can be connected to I / O interface 505: input devices 506 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 507 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 508 including, for example, magnetic tapes, hard disks, etc.; and communication devices 509. Communication device 509 allows electronic device 500 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 13 An electronic device 500 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0166] In particular, the processes described above with reference to the flowcharts can be implemented as a computer software program according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program comprising program code for performing the methods illustrated by the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the methods of embodiments of the present disclosure are performed.

[0167] It should be noted that the computer-readable medium described above in the present disclosure can be a computer-readable signal medium or a computer-readable storage medium or any combination thereof. The computer-readable storage medium can be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or apparatus, or any suitable combination thereof. More specific examples of the computer-readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program used by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, the computer-readable signal medium can include a data signal propagated in baseband or propagated as a carrier wave in a propagated data signal, in which the computer-readable program code is carried. Such a propagated data signal can take a variety of forms, including but not limited to electro-magnetic, optical, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium that can be used to carry or store program code for use by or in connection with an instruction execution system, apparatus, or device. The program code contained in the computer-readable medium can be transmitted by any suitable medium, including but not limited to wire, cable, RF (radio frequency), or any suitable combination thereof.

[0168] In some embodiments, the terminal device and the server can communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with digital data communication (e.g., a communication network) of any form or medium. Examples of the communication network include a local area network ("LAN"), a wide area network ("WAN"), an internetwork (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0169] The computer readable medium described above can be included in the electronic device described above; or can exist separately, without being assembled into the electronic device.

[0170] The computer readable medium described above carries one or more programs, which, when executed by the electronic device, cause the electronic device to: receive a style configuration instruction for a target control, configure each state of a plurality of states of the target control to be associated with a corresponding style picture according to the style configuration instruction; receive a logic configuration instruction for the target control, parse the logic configuration instruction to determine an execution eligibility and an execution condition corresponding to each state of the plurality of states of the target control, and associate each state with the corresponding execution eligibility and execution condition; and in response to a creation instruction, generate a target page including the target control according to the style picture, the execution eligibility, and the execution condition associated with each state of the target control.

[0171] Alternatively, the computer readable medium described above carries one or more programs, which, when executed by the electronic device, cause the electronic device to: run a target page including a target control, the target page being generated according to a style picture, an execution eligibility, and an execution condition associated with each state of the target control; receive an access instruction triggered by a target object, and obtain attribute information of the target object; determine a target state of the target control according to the attribute information, the execution eligibility, and the execution condition associated with each state of the target control; and control the target control in the target page to be displayed according to a style picture corresponding to the target state.

[0172] Computer program code for carrying out operations of the present disclosure can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).

[0173] The computer program instructions can also be loaded onto a computer or other programmable information processing apparatus to cause a series of operations to be performed on the computer or other programmable information processing apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable information processing apparatus implement the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0174] The modules involved in the embodiments of the present disclosure can be implemented in the manner of software or hardware. Among them, the name of the module does not constitute the limitation of the module itself in some cases. For example, the first determining module can also be described as a module for determining the style picture corresponding to each state.

[0175] The functions described in the foregoing description can be implemented, at least in part, by one or more hardware logic components. For example, and without limitation, illustrative types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Program-specific Integrated Circuits (ASICs), Program-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc.

[0176] In the context of this disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0177] According to one or more embodiments of the present disclosure, example 1 provides a method for generating a page, comprising: receiving a style configuration instruction for a target control, configuring each state of a plurality of states of the target control to be associated with a corresponding style picture according to the style configuration instruction; receiving a logic configuration instruction for the target control, parsing the logic configuration instruction to determine an execution qualification and an execution condition corresponding to each state of the plurality of states of the target control, and associating each state with the corresponding execution qualification and execution condition; and in response to a creation instruction, generating a target page including the target control according to the style picture, the execution qualification, and the execution condition associated with each state of the target control.

[0178] According to one or more embodiments of the present disclosure, example 2 provides the method of example 1, further comprising: configuring each state of the plurality of states of the target control to be associated with a corresponding associated resource according to the logic configuration instruction; and generating the target page including the target control according to the style picture, the execution qualification, the execution condition, and the associated resource associated with each state of the target control.

[0179] According to one or more embodiments of the present disclosure, example 3 provides the method of example 1, the method further comprising: configuring at least one state of the target control to be associated with a corresponding jump link according to the style configuration instruction; and generating the target page including the target control according to the style picture associated with each state of the target control, the execution qualification, and the execution condition, comprising: generating the target page according to the style picture associated with each state of the target control, the execution qualification, the execution condition, and the jump link associated with at least one state of the target control.

[0180] According to one or more embodiments of the present disclosure, example 4 provides the method of example 1, the configuring each state of a plurality of states of the target control to be associated with a corresponding style picture according to the style configuration instruction, comprising: configuring each state of the plurality of states of the target control to be associated with a corresponding style picture and display mode according to the style configuration instruction; and generating the target page including the target control according to the style picture associated with each state of the target control, the execution qualification, and the execution condition, comprising: generating the target page according to the style picture associated with each state of the target control, the display mode, the execution qualification, and the execution condition.

[0181] According to one or more embodiments of the present disclosure, example 5 provides the method of examples 1 to 4, the state of the target control is three or more.

[0182] According to one or more embodiments of the present disclosure, example 6 provides a running method of a page, comprising: running a target page, the target page including a target control, the target page being generated according to a style picture associated with each state of the target control, an execution qualification, and an execution condition; receiving an access instruction triggered by a target object, and obtaining attribute information of the target object; determining a target state of the target control according to the attribute information, the execution qualification associated with each state of the target control, and the execution condition; and controlling the target control in the target page to display according to a style picture corresponding to the target state.

[0183] According to one or more embodiments of the present disclosure, example 7 provides the method of example 6, wherein the target page is further generated according to an associated resource associated with each state of the target control; the method further comprises: receiving an operation instruction triggered by the target object; in a case that the target state is an inoperable state, rejecting the operation instruction; in a case that the target state is an operable state, allocating the associated resource associated with the target state to the target object; updating the attribute information, and updating the target state according to the updated attribute information, the execution qualification associated with each state of the target control and the execution condition; and controlling the target control in the target page to be displayed in a style picture corresponding to the updated target state.

[0184] According to one or more embodiments of the present disclosure, example 8 provides the method of example 6, wherein the target page is further generated according to a jump link associated with at least one state of the target control; the method further comprises: receiving an operation instruction triggered by the target object, and in a case that the target state is an inoperable state and there is a jump link associated with the target state, sending the jump link associated with the target state to the target object.

[0185] According to one or more embodiments of the present disclosure, example 9 provides the method of example 6, wherein the target page is further generated according to a display mode associated with each state of the target control; and the controlling the target control in the target page to be displayed in a style picture corresponding to the target state comprises: controlling the target control to be displayed in a style picture corresponding to the target state and a display mode.

[0186] According to one or more embodiments of the present disclosure, example 10 provides the method of example 6, wherein the determining the target state of the target control according to the attribute information, the execution qualification associated with each state of the target control and the execution condition comprises: in a case that the attribute information does not match the execution qualification, determining the target state as a first inoperable state; in a case that the attribute information matches the execution qualification and the attribute information matches the execution condition, determining the target state as an operable state; and in a case that the attribute information matches the execution qualification and the attribute information does not match the execution condition, determining the target state as a second inoperable state.

[0187] According to one or more embodiments of the present disclosure, example 11 provides a page generation apparatus, comprising: a first determination module configured to receive a style configuration instruction for a target control, and configure each state of a plurality of states of the target control to be associated with a corresponding style picture according to the style configuration instruction; a second determination module configured to receive a logic configuration instruction for the target control, parse the logic configuration instruction to determine an execution qualification and an execution condition corresponding to each state of the plurality of states of the target control, and associate each state with the corresponding execution qualification and execution condition; and a generation module configured to generate a target page including the target control according to the style picture, the execution qualification and the execution condition associated with each state of the target control in response to a creation instruction.

[0188] According to one or more embodiments of the present disclosure, example 12 provides a page running apparatus, comprising: a running module configured to run a target page including a target control, the target page being generated according to a style picture, an execution qualification and an execution condition associated with each state of the target control; a receiving module configured to receive an access instruction triggered by a target object, and obtain attribute information of the target object; a state determination module configured to determine a target state of the target control according to the attribute information, the execution qualification and the execution condition associated with each state of the target control; and a control module configured to control the target control in the target page to be displayed according to a style picture corresponding to the target state.

[0189] According to one or more embodiments of the present disclosure, example 13 provides a computer readable medium having a computer program stored thereon, the program being executed by a processing apparatus to implement the steps of the methods described in examples 1 to 10.

[0190] According to one or more embodiments of the present disclosure, example 14 provides an electronic device, comprising: a storage device having a computer program stored thereon; and a processing apparatus configured to execute the computer program in the storage device to implement the steps of the methods described in examples 1 to 10.

[0191] The above description is merely preferred embodiments of the present disclosure and a description of principles of applied technologies. Those skilled in the art should understand that the disclosed scope of the present disclosure is not limited to the technical solutions formed by the specific combinations of the above technical features, and should also cover other technical solutions formed by any combinations of the above technical features or equivalent features without departing from the above disclosed concept. For example, the above technical features can be replaced with technical features disclosed in the present disclosure (but not limited to) having similar functions to form technical solutions.

[0192] Moreover, while operations have been depicted in a particular order, this should not be understood as requiring such an order nor limiting it to only those operations shown and described. One of ordinary skill in the art will recognize that many of the operations can be performed in a differing order, or be performed concurrently, that some operations can be performed in any order or omitted, and that some operations can be performed in parallel. Similarly, while several specific implementation details have been discussed in the context of the above discussion, these should not be construed as limitations on the scope of the present disclosure. Certain features described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable sub-combination.

[0193] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. With respect to the devices in the above-described embodiments, in which various modules perform operations, the specific manner in which the various modules perform the operations has been described in detail in the embodiments relating to the method. Here, no detailed explanation will be given.

Claims

1. A method of generating a page, characterized by, The method comprises: receiving a style configuration instruction for a target control, and configuring each state of the target control to be associated with a corresponding style picture according to the style configuration instruction, the state corresponding to an attribute of an object operating the target control; receiving a logic configuration instruction for the target control, parsing the logic configuration instruction to determine an execution qualification and an execution condition corresponding to each state of the target control, and associating each state with the corresponding execution qualification and execution condition, the execution qualification being used to limit the qualification of the object operating the target control, and the execution condition being used to limit the condition of operating the target control; in response to a creation instruction, generating a target page including the target control according to the style picture, the execution qualification, and the execution condition associated with each state of the target control.

2. The method of claim 1, wherein, The method further comprises: configuring each state of the target control to be associated with a corresponding associated resource according to the logic configuration instruction; generating the target page including the target control according to the style picture, the execution qualification, the execution condition, and the associated resource associated with each state of the target control. The method further comprises:

3. The method of claim 1, wherein, configuring at least one state of the target control to be associated with a corresponding jump link according to the style configuration instruction; generating the target page including the target control according to the style picture, the execution qualification, the execution condition, and the jump link associated with at least one state of the target control. The method further comprises: configuring each state of the target control to be associated with a corresponding style picture according to the style configuration instruction, comprising:

4. The method of claim 1, wherein, configuring each state of the target control to be associated with a corresponding style picture and display mode according to the style configuration instruction; generating the target page including the target control according to the style picture, the display mode, the execution qualification, and the execution condition associated with each state of the target control. The state of the target control is three or more. The method comprises:

5. The method according to any one of claims 1-4, characterized in that, running a target page including a target control, the target page being generated according to a style picture, an execution qualification, and an execution condition associated with each state of the target control, the state corresponding to an attribute of an object operating the target control, the execution qualification being used to limit the qualification of the object operating the target control, and the execution condition being used to limit the condition of operating the target control; 6. A method of running a page, characterized by, ​ ​ Receiving an access instruction triggered by a target object, and obtaining attribute information of the target object; Determining a target state of the target control according to the attribute information, the execution qualification and the execution condition associated with each state of the target control; Controlling the target control in the target page to be displayed in a style picture corresponding to the target state.

7. The method of claim 6, wherein, The target page is further generated according to associated resources associated with each state of the target control; the method further comprises: Receiving an operation instruction triggered by the target object; In a case where the target state is an inoperable state, rejecting the operation instruction; In a case where the target state is an operable state, allocating the associated resources associated with the target state to the target object; Updating the attribute information, and updating the target state according to the updated attribute information, the execution qualification and the execution condition associated with each state of the target control; Controlling the target control in the target page to be displayed in a style picture corresponding to the updated target state.

8. The method of claim 6, wherein, The target page is further generated according to a jump link associated with at least one state of the target control; the method further comprises: Receiving an operation instruction triggered by the target object, and in a case where the target state is an inoperable state and there is a jump link associated with the target state, sending the jump link associated with the target state to the target object.

9. The method of claim 6, wherein, The target page is further generated according to the display mode associated with each state of the target control; The controlling the target control in the target page to be displayed in a style picture corresponding to the target state comprises: Controlling the target control to be displayed in a style picture and a display mode corresponding to the target state.

10. The method of claim 6, wherein, The determining the target state of the target control according to the attribute information, the execution qualification and the execution condition associated with each state of the target control comprises: In a case where the attribute information does not match the execution qualification, determining the target state to be a first inoperable state; In a case where the attribute information matches the execution qualification and the attribute information matches the execution condition, determining the target state to be an operable state; In a case where the attribute information matches the execution qualification and the attribute information does not match the execution condition, determining the target state to be a second inoperable state.

11. An apparatus for generating a page, characterized by The apparatus comprises: A first determining module configured to receive a style configuration instruction for a target control, and configure each state of a plurality of states of the target control to be associated with a corresponding style picture according to the style configuration instruction, the state corresponding to an attribute of an object operating the target control; The second determining module is configured to receive a logical configuration instruction for the target control, parse the logical configuration instruction to determine an execution qualification and an execution condition corresponding to each of the states of the target control, and associate each of the states with the corresponding execution qualification and execution condition, wherein the execution qualification is used to limit the qualification of an object operating the target control, and the execution condition is used to limit the condition of operating the target control. The generating module is configured to generate a target page including the target control according to the style picture, the execution qualification and the execution condition associated with each of the states of the target control in response to a creation instruction.

12. A page running device, characterized by comprising: The apparatus comprises: The running module is configured to run a target page including a target control, wherein the target page is generated according to a style picture, an execution qualification and an execution condition associated with each of the states of the target control, the state corresponds to the attribute of an object operating the target control, the execution qualification is used to limit the qualification of the object operating the target control, and the execution condition is used to limit the condition of operating the target control. The receiving module is configured to receive an access instruction triggered by a target object and acquire attribute information of the target object. The state determining module is configured to determine a target state of the target control according to the attribute information, the execution qualification and the execution condition associated with each of the states of the target control. The control module is configured to control the target control in the target page to be displayed according to a style picture corresponding to the target state.

13. A computer readable medium having stored thereon a computer program, characterized in that The program is executed by the processing apparatus to implement the steps of the method in any one of claims 1-5 or 6-10.

14. An electronic device, comprising: The apparatus comprises: A storage device having a computer program stored thereon; The processing apparatus is configured to execute the computer program in the storage device to implement the steps of the method in any one of claims 1-5 or 6-10.

Citation Information

Patent Citations

  • Page generation method and device

    CN107423070A

  • Visual page configuration method and system, computer equipment and storage medium

    CN111984902A

  • Page generation method, page display method, page generation device, page display device and electronic equipment

    CN113094049A