CN114594951A - Page generation method, page operation method, page generation device, page readable medium and electronic equipment - Google Patents

Page generation method, page operation method, page generation device, page readable medium and electronic equipment Download PDF

Info

Publication number
CN114594951A
CN114594951A CN202210234174.9A CN202210234174A CN114594951A CN 114594951 A CN114594951 A CN 114594951A CN 202210234174 A CN202210234174 A CN 202210234174A CN 114594951 A CN114594951 A CN 114594951A
Authority
CN
China
Prior art keywords
target
state
target control
page
execution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210234174.9A
Other languages
Chinese (zh)
Inventor
潘杰
吴政庭
谢军令
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202210234174.9A priority Critical patent/CN114594951A/en
Publication of CN114594951A publication Critical patent/CN114594951A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a page generation method, a page operation device, a readable medium and electronic equipment, and relates to the technical field of electronic information processing, wherein the method comprises the following steps: the method comprises the steps of receiving a style configuration instruction aiming at a target control, configuring each state in 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 aiming at the target control, analyzing the logic configuration instruction to determine execution qualification and execution condition corresponding to each state in the plurality of states of the target control, associating each state with the corresponding execution qualification and execution condition, responding to a creation instruction, and generating a target page comprising the target control according to the style picture, the execution qualification and the execution condition associated with each state of the target control. According to the method and the device, the page of the target control for displaying the corresponding pattern picture according to different states can be automatically generated, the information content contained in the page is improved, and invalid operation is avoided.

Description

Page generation method, page operation method, page generation device, page readable medium and electronic equipment
Technical Field
The present disclosure relates to the field of electronic information processing technologies, and in particular, to a page generation method, an operation method, an apparatus, a readable medium, and an electronic device.
Background
With the continuous development of electronic information technology, various application programs appear in the application market to meet the diversified demands of users. In the operation process of the application program, a lot of promotion contents may be provided so as to improve the participation degree of the user. The promotion content can be displayed in a promotion page form, a button is usually included in the promotion page in order to increase interaction with a user, and the user can obtain resources such as props and coupons by clicking the button. In general, to realize multi-style display of the button, multiple states need to be added to the control corresponding to the button by writing codes, and the codes have complex logic, complex operation and easy error.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In a first aspect, the present disclosure provides a method for generating a page, where the method includes:
receiving a style configuration instruction for a target control, and configuring each state in a plurality of states of the target control to be associated with a corresponding style picture according to the style configuration instruction;
receiving a logical configuration instruction for the target control, parsing the logical configuration instruction to determine an execution qualification and an execution condition corresponding to each of the plurality of states of the target control, and associating each of the states with the corresponding execution qualification and execution condition;
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.
In a second aspect, the present disclosure provides a method for running a page, where the method includes:
running a target page, wherein the target page comprises a target control, and the target page is generated according to a style picture, an execution qualification and an execution condition which are associated with each state of the target control;
receiving an access instruction triggered by a target object, and acquiring 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;
and controlling the target control in the target page, and displaying according to the style picture corresponding to the target state.
In a third aspect, the present disclosure provides an apparatus for generating a page, where the apparatus includes:
the system comprises a first determination module, a second determination module and a third determination module, wherein the first determination module is used for receiving a style configuration instruction for a target control and configuring each state in a plurality of states of the target control to be associated with a corresponding style picture according to the style configuration instruction;
a second determining module, 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 plurality of states of the target control, and associate each of the states with the corresponding execution qualification and the execution condition;
and the generation module is used for responding to a creation instruction, and generating a target page comprising the target control according to the style picture, the execution qualification and the execution condition which are associated with each state of the target control.
In a fourth aspect, the present disclosure provides an apparatus for running a page, the apparatus comprising:
the running module is used for running a target page, the target page comprises a target control, and the target page is generated according to the style picture, the execution qualification and the execution condition which are associated with each state of the target control;
the receiving module is used for receiving an access instruction triggered by a target object and acquiring attribute information of the target object;
the state determination module is used for determining the target state of the target control according to the attribute information, the execution qualification and the execution condition which are associated with each state of the target control;
and the control module is used for controlling the target control in the target page and displaying the target control according to the style picture corresponding to the target state.
In a fifth aspect, the present disclosure provides a computer readable medium having stored thereon a computer program which, when executed by a processing apparatus, performs the steps of the method of the first aspect of the present disclosure.
In a sixth aspect, the present disclosure provides an electronic device comprising:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to implement the steps of the method of the first aspect of the present disclosure.
In a seventh aspect, the present disclosure provides a computer readable medium having stored thereon a computer program which, when executed by a processing apparatus, performs the steps of the method of the second aspect of the present disclosure.
In an eighth aspect, the present disclosure provides an electronic device comprising:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to implement the steps of the method of the second aspect of the present disclosure.
According to the technical scheme, the method comprises the steps of firstly receiving a style configuration instruction, and configuring each state of a plurality of states of the target control to be associated with the corresponding style picture according to the style configuration instruction. And then receiving and analyzing the logic configuration instruction, determining the execution qualification and the execution condition corresponding to each state of the target control, and associating each state of the target control with the corresponding execution qualification and the execution condition. And finally, generating a target page comprising the target control according to the style picture, the execution qualification and the execution condition which are associated with each state of the target control as a response of the creating instruction. According to the method and the device, the page of the target control capable of displaying the corresponding style picture according to different states is automatically generated by configuring the style picture, the execution qualification and the execution condition of the target control, so that the information content of the page is increased, and invalid operation is avoided.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale. In the drawings:
FIG. 1 is a flow diagram illustrating a method for generating a page in accordance with an exemplary embodiment;
FIG. 2 is a schematic diagram illustrating a UI of a configuration platform in accordance with an illustrative embodiment;
FIG. 3 is a schematic diagram illustrating a UI of another configuration platform in accordance with an exemplary embodiment;
FIG. 4 is a schematic diagram illustrating a UI of another configuration platform in accordance with an illustrative embodiment;
FIG. 5 is a flow diagram illustrating another method of generating a page in accordance with an illustrative embodiment;
FIG. 6 is a schematic diagram illustrating a UI of another configuration platform in accordance with an illustrative embodiment;
FIG. 7 is a flowchart illustrating another method of generating a page in accordance with an illustrative embodiment;
FIG. 8 is a flowchart illustrating a method of operating a page in accordance with an exemplary embodiment;
FIG. 9 is a flowchart illustrating another method of operating a page in accordance with an illustrative embodiment;
FIG. 10 is a flowchart illustrating another method of operating a page in accordance with an illustrative embodiment;
FIG. 11 is a block diagram illustrating an apparatus for generating a page in accordance with an exemplary embodiment;
FIG. 12 is a block diagram illustrating an apparatus for running a page in accordance with an exemplary embodiment;
FIG. 13 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including 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". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
All actions of acquiring signals, information or data in the present disclosure are performed under the premise of complying with the corresponding data protection regulation policy of the country of the location and obtaining the authorization given by the owner of the corresponding device.
Before describing the page generation method, the page running device, the page readable medium and the electronic device, an application scenario related to various embodiments of the present disclosure is described first. The application scenario may be a configuration platform for generating a page, and the configuration platform may provide a corresponding UI (english: User Interface, chinese: User Interface) for a User to enter various instructions (for example, a style configuration instruction, a logic configuration instruction, and the like mentioned later) according to specific requirements, so that the User may generate a target page meeting the requirements without writing a code (i.e., a NoCode manner). The configuration platform may be deployed on a server and a user may access and use the configuration platform through a web page, or a designated application.
Fig. 1 is a flowchart illustrating a method for generating a page according to an exemplary embodiment, where the method includes, as shown in fig. 1:
step 101, 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.
For example, when a user needs to generate a target page including a target control, a style configuration instruction for the target control may be entered through the configuration platform, and the configuration platform may associate each state of the plurality of states of the target control with a corresponding style picture according to the received style configuration instruction. The target control may be a button control, or may be other controls (for example, a scroll bar control, a clock control, and the like) capable of interacting with an object (understood as a player, a terminal device used by the player, and the like) for operating the target control, which is not specifically limited in this disclosure. The target control may have multiple states, for example, three or more states, where the multiple states correspond to multiple attributes of an object operating the target control, and the style configuration instruction may indicate a style picture corresponding to each state of the target control and associate each state with a corresponding style picture. The style picture corresponding to each state may be different. Specifically, the triggering manner of the style configuration instruction may be that the user sequentially selects the style picture corresponding to each state from a pre-established picture library, or that the user sequentially enters a storage path (or resource link) of the style picture corresponding to each state. After the style picture is determined, the configuration platform can display the style picture so that a user can preview the style picture, and further, the configuration platform can display the effect of displaying the target control in the style picture so that the user can preview the effect of the target control.
Taking the target control as a button control for example, the UI of the configuration platform may include a "style" tab for the user to enter a style configuration instruction, as shown in fig. 2, the button control is used to retrieve corresponding resources, and may be divided into three states: the resource management system comprises a button control, a resource management module and a resource management module, wherein the button control can be clicked to acquire a resource corresponding to the button control after the button control is clicked, the button control cannot be clicked to acquire the resource, the resource management module does not meet the acquisition condition of the corresponding resource, and the button control cannot be clicked to acquire the resource. The user can select a corresponding style picture from the picture library by clicking on the "+" corresponding to each state. For example, the style picture associated with "retrievable" is a light color picture, and the included text is: and (4) opening. The style picture associated with "not retrievable" is a dark picture, and the characters included thereon are: and (4) opening. The style picture associated with the "received" is a light-colored picture, and the included characters are as follows: is already opened.
Step 102, 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 a plurality of states of the target control, and associating each state with the corresponding execution qualification and the execution condition.
For example, the user may further enter a logic configuration instruction for the target control through the configuration platform, and the configuration platform may parse the received logic configuration instruction to obtain an execution qualification and an execution condition corresponding to each state in the multiple states of the target control, and then associate each state with the corresponding execution qualification and the corresponding execution condition. The logic configuration instructions can indicate execution qualifications and execution conditions corresponding to each state of the target control, and the execution qualifications and execution conditions corresponding to each state may be different. Wherein the execution qualification is to limit the qualification of the object capable of operating the target control, such as: the role of the object, the number of picks, etc. The execution condition is used to limit the condition under which the target control can be operated, for example: operational time ranges, etc. Specifically, the triggering manner of the logic configuration instruction may be that the user sequentially enters the execution qualification and the execution condition corresponding to each state, or that the user enters the execution qualification and the execution condition corresponding to a certain 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.
Also taking the target control as an example of a button control, the UI of the configuration platform may set a "data" tab page for the user to enter a logical configuration instruction, where the "qualification" sub tab page is included for the user to enter an execution qualification, and the "condition" sub tab page is included for the user to enter an execution condition. The button control is used for getting corresponding resources and can be divided into three states: "available", "unavailable", "acquired". In one implementation, the user may enter the execution qualifications associated with each state in a "qualifications" sub-tab page and the execution conditions associated with each state in a "conditions" sub-tab page. In another implementation, the user may enter an execution qualification associated with the "retrievable" state in a "qualification" sub-tab page, which may include, as shown in fig. 3: qualification type (for indicating the type of object, which may be, for example, a role level), period (for indicating whether the object is engaged in an activity, which may be, for example, within an activity period), number (for indicating the number of draws, which may be, for example, 1), and the like. Further, the user may also enter, on the "qualifications" sub-tab page: an excess times prompt (to prompt that the object has currently exceeded the number of picks). The user may also enter execution conditions associated with the "retrievable" state in a "conditions" sub-tab page, as shown in fig. 4, which may include: login time (which may be set, for example, by a time validity interval, two dimensions within the validity interval), start time, end time, and the like. Further, the user can also enter: conditional hints (for hints that the object currently does not satisfy the execution condition) are not satisfied. Accordingly, the execution qualifications and execution conditions associated with the "not retrievable" and "retrieved" states may be determined based on the execution qualifications and execution conditions associated with the "retrievable" state. For example, if the corresponding execution qualification "can be picked" is not satisfied, the state is "picked", and if the corresponding execution qualification "can be picked" is satisfied, but the corresponding execution condition "can be picked" is not satisfied, the state is "not picked".
Step 103, responding to the creating instruction, and generating a target page comprising the target control according to the style picture, the execution qualification and the execution condition associated with each state of the target control.
For example, after associating each state of the target control with the corresponding style picture, execution qualification, and execution condition, the user may further enter a creation instruction through the configuration platform, and as a response to the creation instruction, the configuration platform may automatically generate a target page including the target control in a NoCode manner according to the style picture, the execution qualification, and the execution condition associated with each state, so that the user may obtain the target page without manually writing a code, and efficiency of page generation is improved.
Fig. 5 is a flowchart illustrating another method for generating a page according to an exemplary embodiment, where as shown in fig. 5, the method may further include:
and 104, configuring each state of the plurality of states of the target control to be associated with the corresponding associated resource according to the logic configuration instruction.
For example, the logic configuration instruction may be further configured to configure a plurality of states of the target control, where each state is associated with a corresponding associated resource, and the associated resources corresponding to each state may be different from each other. Further, the associated resources may be zero, one, or more, and the disclosure does not specifically limit this. The associated resource is used to indicate a resource that can be retrieved after the object operates the target control, and may be, for example: resource packages, equipment, coupons, etc. Specifically, in an implementation manner, the triggering manner of the logic configuration instruction may be that the user sequentially selects the associated resource corresponding to each state from a pre-established resource library, or that the user sequentially enters a storage path (or resource link) of the associated resource corresponding to each state. In another implementation manner, the triggering manner of the logic configuration instruction may be that the user selects an associated resource corresponding to a certain specified state from a pre-established resource library, or the user sequentially enters a storage path (or a resource link) of the associated resource corresponding to the specified state, and correspondingly, associated resources corresponding to other states are determined according to the associated resource corresponding to the specified state.
Also taking the target control as the button control for example, the data tab of the UI setting of the configuration platform further includes a reward tab for the user to enter the associated resource. The button control is used for getting corresponding resources and can be divided into three states: "available", "unavailable", "acquired". In one implementation, the user may enter the associated resources associated with each state in a "rewards" sub-tab page. In another implementation, the user may enter an associated resource associated with the "retrievable" status in the "rewards" sub-tab page, as shown in fig. 6, which may include: the name of the gift bag, the details of the property, etc. Accordingly, the associated resources associated with the "unavailable" and "acquired" states may be determined based on the associated resources associated with the "available" state. For example, since the button controls in the "not available" and "available" states may not be clicked, and no resource may be available, the associated resource associated with the "not available" and "available" states may be set to null, i.e., the "not available" and "available" states are not associated with the corresponding associated resource.
Accordingly, the implementation manner of step 103 may be:
and generating a 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.
For example, in response to the creation instruction, when generating the target page, the configuration platform may automatically generate the target page by means of NoCode according to the style picture, the execution qualification, the execution condition, and the associated resource associated with each state of the target control. After the target page is generated, the target page may be inserted into a designated host application or displayed in a browser for access by the target object.
Fig. 7 is a flowchart illustrating another method for generating a page according to an exemplary embodiment, where as shown in fig. 7, the method may further include:
and 105, configuring at least one state of the target control to be associated with the corresponding jump link according to the style configuration instruction.
Accordingly, the implementation manner of step 103 may be:
and generating a target page according to the style picture, the execution qualification and the execution condition which are associated with each state of the target control and the jump link which is associated with at least one state of the target control.
For example, the style configuration instruction may be further configured to configure at least one state of the target control to be associated with a corresponding jump link, where jump links corresponding to the respective states may be different from each other, and further, zero, one, or multiple jump links may be provided. The jump link is used to indicate a link to be jumped to by the target page after the target control is operated by the object, and may be, for example, a link of the host application (i.e., jump to the host application). Specifically, the triggering manner of the style configuration instruction may be that the user sequentially enters jump links associated with at least one state.
Also taking the target control as an example of a button control, configuring a "style" tab of the UI setting of the platform, as shown in fig. 2, the button control is used for retrieving resources in the game application, and may be divided into three states: "available", "unavailable", "acquired". The user can select whether to take the game link as the jump link by clicking a 'click jump game' switch. For example, if the "click to jump game" switch corresponding to "no retrievable" is in an on state, the jump link associated with "no retrievable" is the game link.
In another application scenario, the implementation manner of step 101 may be:
and according to the style configuration instruction, each state in the plurality of states of the configuration target control is associated with the corresponding style picture and the display mode.
For example, the style configuration instruction may configure the presentation mode of each style picture while configuring each state of the target control and the corresponding style picture. Namely, the style configuration instruction can configure each state of the target control to be associated with the corresponding style picture and the display mode of each style picture. The display mode is used for indicating a mode when the target control is displayed in a style picture, and may include, for example: picture fidelity, filters, special effects, etc. Specifically, the triggering mode of the style configuration instruction may be that the user sequentially enters a display mode associated with each state.
Also taking the target control as an example of a button control, configuring a "style" tab of the UI setting of the platform, as shown in fig. 2, the button control is used for retrieving resources in the game application, and may be divided into three states: "available", "unavailable", "acquired". The user may select a particular fidelity by clicking on the "picture fidelity" provided option (including: 75%, 95%, 100%). For example, the presentation modes associated with "available", "unavailable", "available" are all 100% picture fidelity.
Correspondingly, the implementation manner of step 103 may be:
and generating a target page according to the style picture, the display mode, the execution qualification and the execution condition which are associated with each state of the target control.
For example, in response to the creation instruction, when generating the target page, the configuration platform may automatically generate the target page by means of NoCode according to the style picture, the presentation 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 may be inserted into a designated host application or displayed in a browser for access by the target object.
In summary, in the present disclosure, a style configuration instruction is first received, and each state of a plurality of states of a configuration target control is associated with a corresponding style picture according to the style configuration instruction. And then receiving and analyzing the logic configuration instruction, determining the execution qualification and the execution condition corresponding to each state of the target control, and associating each state of the target control with the corresponding execution qualification and the execution condition. And finally, generating a target page comprising the target control according to the style picture, the execution qualification and the execution condition which are associated with each state of the target control as a response of the creating instruction. According to the method and the device, the page of the target control capable of displaying the corresponding style picture according to different states is automatically generated by configuring the style picture, the execution qualification and the execution condition of the target control, so that the information content of the page is increased, and invalid operation is avoided.
FIG. 8 is a flowchart illustrating a method of operating a page, according to an example embodiment, which may include, as shown in FIG. 8:
step 201, a target page is run, the target page includes a target control, and the target page is generated according to the style picture, the execution qualification and the execution condition associated with each state of the target control.
Step 202, receiving an access instruction triggered by the target object, and acquiring attribute information of the target object.
And step 203, 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.
And 204, controlling a target control in the target page, and displaying according to the style picture corresponding to the target state.
For example, after the target page is generated according to the page generation method in the above embodiment, the target page may be run for the target object to access. Specifically, the target page may be inserted into a specified host application program to run, or may be displayed to run in a browser. The target object may be understood as a user of the host application or the browser, may also be understood as a terminal device running the host application, may also be understood as a terminal device running the browser, and the like, which is not specifically limited in this disclosure.
When a target object accesses a target page, an access instruction is triggered, and after receiving the access instruction, the target page acquires attribute information of the target object, where the attribute information may reflect an attribute of the target object, and the attribute information may include: object ID, application ID, login time, type, number of retrievals, etc.
Then, the target page may determine the target state of the target control, the execution qualification and the execution condition corresponding to the target state, and match the target state with the attribute information according to the attribute information, the execution qualification and the execution condition associated with each state of the target control. And finally, the target page can control the target control to display according to the pattern picture corresponding to the target state. Therefore, the target control in the target page can show different style pictures according to different attribute information, the different style pictures can provide richer information for the user, for example, the user can be directly informed whether the target control can be operated or not through the different style pictures, and invalid operation is avoided.
FIG. 9 is a flowchart illustrating another method for operating a page, according to an exemplary embodiment, where as shown in FIG. 9, the target page is further generated according to an associated resource associated with each state of the target control, and accordingly, the method may further include:
step 205, receiving an operation instruction triggered by the target object.
In step 206, the operation instruction is rejected when the target state is the inoperable state.
And step 207, under the condition that the target state is the operable state, allocating the associated resources associated with the target state to the target object.
And 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.
And step 209, controlling the target control in the target page, and displaying according to the style picture corresponding to the updated target state.
For example, when the target object performs a specified operation (e.g., a single click, a double click, a zoom-in gesture, etc.) on the target control, an operation instruction is triggered. The target page rejects the operation instruction when the target state is inoperable, that is, the target page does not allocate the associated resource to the target object, that is, the target page does not respond to the specified operation when the target control is inoperable. Therefore, the target page can be prevented from initiating an invalid request to the background server, and unnecessary traffic and resource consumption are reduced.
When the target state is the operable state, the target page allocates the associated resource to the target object, that is, when the target control is the operable state, the target page responds to the specified operation to allocate the associated resource to the target object. The method for allocating the associated resources to the target object may be that the target page issues a request to the background server, so that the background server sends the associated resources to the target object, or so that the background server adds the associated resources to a resource list of the target object, which is stored in advance.
And simultaneously, the target page also updates the attribute information of the target object. For example, after the associated resource is allocated to the target object, 1 may be added to the number of retrievals in the attribute information. And then, updating the target state according to the updated attribute information and the execution qualification and the execution condition associated with each state of the target control, wherein the execution qualification and the execution condition corresponding to the updated target state are matched with the updated attribute information. And finally, the target page controls the target control to display according to the style picture corresponding to the updated target state.
Taking a target control as a button control, generating a target page according to the configuration shown in fig. 2 as an example, when the target object accesses the target page, the target page obtains attribute information of the target object, at this time, the number of pickup times included in the attribute information is 0, the corresponding target state is "retrievable", and the button control shows that the pattern picture is a light-color picture, and the text included on the pattern picture is: and (4) opening. When a user clicks the button control, the target page allocates the associated resources to the target object, and then the number of retrievals included in the attribute information of the target object is modified to 1. Then, the target state may be updated to "received", and accordingly, the style picture displayed by the button control is a light color picture, which includes the following characters: is already opened.
FIG. 10 is a flowchart illustrating another method for operating a page, according to an exemplary embodiment, in which a target page is further generated according to a jump link associated with at least one state of a target control, as shown in FIG. 10, and the method may further include:
step 210, receiving an operation instruction triggered by the target object, and sending the jump link associated with the target state to the target object when the target state is an inoperable state and the jump link associated with the target state exists.
For example, when the target object performs a specified operation on the target control, an operation instruction is triggered. And under the condition that the target state is not operable, the target page refuses the operation instruction, namely the target page does not allocate the associated resources for the target object. Meanwhile, if there is a jump link associated with the target state, the jump link associated with the target state may 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 the host application program, and then the target object jumps to the host application program.
In one application scenario, the target page is also generated according to a presentation mode associated with each state of the target control. Accordingly, the implementation manner of step 204 may be:
and controlling the target control to display according to the style picture and the display mode corresponding to the target state.
Illustratively, when a target object accesses a target page, an access instruction is triggered, after the target page receives the access instruction, attribute information of the target object is acquired, the target state of the target control is determined according to the attribute information, execution qualification and execution conditions associated with each state of the target control, and finally the target control is controlled to be displayed according to a style picture and a display mode corresponding to the target state.
In another application scenario, step 203 may comprise the steps of:
step 1) determining that the target state is a first inoperable state in the case that the attribute information does not match the execution qualification.
And step 2) determining the target state to be an operable state under the condition that the attribute information is matched with the execution qualification and the attribute information is matched with the execution condition.
And 3) under the condition that the attribute information is matched with the execution qualification and the attribute information is not matched with the execution condition, determining that the target state is a second inoperable state.
In one application scenario, the target control may be divided into three states: an operable state, a first inoperable state, and a second inoperable state. In generating the target page, the operable state may be configured to be associated with corresponding execution qualifications and execution conditions, and accordingly, the execution qualifications and execution conditions associated with the first inoperable state and the second inoperable state are determined according to the execution qualifications and execution conditions associated with the operable state. In the process of running the target page, when the target page determines the target state according to the attribute information of the target object, the attribute information may be compared with the execution qualification corresponding to the operable state, and if the attribute information does not match with the execution qualification corresponding to the operable state, the target state may be determined to be 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 may be determined to be the operable state, and if the attribute information does not match the execution condition corresponding to the operable state, the target state may be determined to be the second inoperable state.
Taking the target control as the button control as an example, the button control is used for getting resources in the game application, the operable state corresponds to "available", the first inoperable state corresponds to "already taken", and the second inoperable state corresponds to "unavailable". The "retrievable" state corresponds to an execution qualification of: the role grade, the activity period and the picking times are 1, and the execution conditions are as follows: the login time is within 7 days, the start time is 2021-07-2200: 00:00, and the end time is 2021-07-2223: 59: 59. The target object accesses the target page to trigger an access instruction, and the target page acquires the attribute information of the target object after receiving the access instruction. The attribute information includes the type of the target object, the login time, the number of retrievals, and the current time.
Comparing the attribute information with the execution qualification corresponding to the 'retrievable' state, if the number of times of the target object is 1, indicating that the target object has received the corresponding resource, namely, the attribute information of the target object is not matched with the execution qualification corresponding to the 'retrievable' state, and the target state is 'received'.
If the type of the target object is the role level, the current time is within the active period, and the number of times of picking up the target object is less than 1 (i.e. the attribute information is matched with the execution qualification corresponding to "retrievable"), it indicates that the target object has not picked up the corresponding resource, and the attribute information of the target object may be further compared with the execution condition corresponding to "retrievable". If the target object has two login times less than 7 days apart and the current time is 2021-07-2214: 05:00, then the target state is "retrievable". If the interval between two logins of the target object is more than 7 days, or the current time is 2021-07-2114: 05:00, the target state is "unavailable". And finally, the control button control is displayed according to the pattern picture corresponding to the target state.
In summary, when the target page is run, in response to the received access instruction, the attribute information of the target object may be obtained, the target state of the target control is determined according to the attribute information, the execution qualification and the execution condition associated with each state of the target control, and finally the target control in the target page is controlled to be displayed according to the style picture corresponding to the target state. The target control in the target page can show different style pictures according to different attribute information, and the different style pictures can provide richer information for a user, so that invalid operation is avoided.
Fig. 11 is a block diagram illustrating an apparatus for generating a page according to an exemplary embodiment, and as shown in fig. 11, the apparatus 300 may include:
the first determining module 301 is configured to receive a style configuration instruction for the target control, and configure each state of the multiple states of the target control to be associated with a corresponding style picture according to the style configuration instruction.
A second determining module 302, 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 state of the plurality of states of the target control, and associate each state with the corresponding execution qualification and execution condition.
A generating module 303, configured to generate a target page including the target control according to the style sheet, the execution qualification, and the execution condition associated with each state of the target control in response to the creating instruction.
In an application scenario, the second determining module 302 may be configured to:
and according to the logic configuration instruction, configuring each state in the plurality of states of the target control to be associated with the corresponding associated resource.
The generating module 303 may be configured to:
and generating a 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.
The target page is used for responding to an operation instruction triggered by the target object, distributing associated resources corresponding to the target state for the target object under the condition that the target state is an operable state, updating the attribute information, updating the target state according to the updated attribute information, the execution qualification and the execution condition, and controlling the target control to display according to a style picture corresponding to the updated target state.
In another application scenario, the first determining module 301 may further be configured to:
and according to the style configuration instruction, at least one state of the configuration target control is associated with the corresponding jump link.
The generating module 303 may be configured to:
and generating a target page according to the style picture, the execution qualification and the execution condition which are associated with each state of the target control and the jump link which is associated with at least one state of the target control.
Correspondingly, the target page is used for responding to an operation instruction triggered by the target object and sending the jump link corresponding to the target state to the target object under the condition that the target state is the inoperable state.
In yet another application scenario, the first determining module 301 may be configured to:
and according to the style configuration instruction, each state in the plurality of states of the configuration target control is associated with the corresponding style picture and the display mode.
Accordingly, the generating module 303 may be configured to:
and generating a target page according to the style picture, the display mode, the execution qualification and the execution condition which are associated with each state of the target control.
In yet another application scenario, the states of the target control are three or more.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In summary, in the present disclosure, a style configuration instruction is first received, and each state of a plurality of states of a configuration target control is associated with a corresponding style picture according to the style configuration instruction. And then receiving and analyzing the logic configuration instruction, determining the execution qualification and the execution condition corresponding to each state of the target control, and associating each state of the target control with the corresponding execution qualification and the execution condition. And finally, generating a target page comprising the target control according to the style picture, the execution qualification and the execution condition which are associated with each state of the target control as a response of the creating instruction. According to the method and the device, the page of the target control capable of displaying the corresponding style picture according to different states is automatically generated by configuring the style picture, the execution qualification and the execution condition of the target control, so that the information content of the page is increased, and invalid operation is avoided.
Fig. 12 is a block diagram illustrating an apparatus for running a page according to an exemplary embodiment, and as shown in fig. 12, the apparatus 400 may include:
the running module 401 is configured to run a target page, where the target page includes a target control, and the target page is generated according to the style picture, the execution qualification, and the execution condition associated with each state of the target control.
A receiving module 402, configured to receive an access instruction triggered by a target object, and acquire attribute information of the target object.
And a state determining module 403, 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 the control module 404 is configured to control a target control in a target page and display the target control according to a style picture corresponding to the target state.
In one application scenario, the target page is also generated from associated resources associated with each state of the target control. Correspondingly, the receiving module 402 is further configured to:
and receiving an operation instruction triggered by the target object.
The control module 404 is further configured to:
and in the case that the target state is the inoperable state, rejecting the operation instruction.
And in the case that the target state is the operable state, allocating the associated resources associated with the target state to the target object.
And 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.
And controlling a target control in the target page, and displaying according to the style picture corresponding to the updated target state.
In another application scenario, the target page is further generated based on a jump link associated with at least one state of the target control.
The receiving module 402 is further configured to:
and receiving an operation instruction triggered by the target object.
The control module 404 is further configured to:
and under the condition that the target state is an inoperable state and the jump link associated with the target state exists, sending the jump link associated with the target state to the target object.
In yet another application scenario, the target page is further generated according to a presentation mode associated with each state of the target control. The control module 404 is configured to:
and controlling the target control to display according to the style picture and the display mode corresponding to the target state.
In yet another application scenario, the state determination module 403 may be configured to implement the following steps:
step 1) determining that the target state is a first inoperable state in the case that the attribute information does not match the execution qualification.
And step 2) determining the target state to be an operable state under the condition that the attribute information is matched with the execution qualification and the attribute information is matched with the execution condition.
And 3) under the condition that the attribute information is matched with the execution qualification and the attribute information is not matched with the execution condition, determining that the target state is a second inoperable state.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In summary, when the target page is run, in response to the received access instruction, the attribute information of the target object may be obtained, the target state of the target control is determined according to the attribute information, the execution qualification and the execution condition associated with each state of the target control, and finally the target control in the target page is controlled to be displayed according to the style picture corresponding to the target state. The target control in the target page can show different style pictures according to different attribute information, and the different style pictures can provide richer information for a user, so that invalid operation is avoided.
Referring now to fig. 13, a schematic structural diagram of an electronic device (e.g., an execution body of an embodiment of the present disclosure) 500 suitable for use in implementing an embodiment of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 13 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 13, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 13 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. 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 containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 501.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may 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 of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the terminal devices, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a style configuration instruction for a target control, and configuring each state in a plurality of states of the target control to be associated with a corresponding style picture according to the style configuration instruction; receiving a logical configuration instruction for the target control, parsing the logical configuration instruction to determine an execution qualification and an execution condition corresponding to each of the plurality of states of the target control, and associating each of the states with the corresponding execution qualification and execution condition; 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.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: running a target page, wherein the target page comprises a target control, and the target page is generated according to a style picture, an execution qualification and an execution condition which are associated with each state of the target control; receiving an access instruction triggered by a target object, and acquiring 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; and controlling the target control in the target page, and displaying according to the style picture corresponding to the target state.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may 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 case of a remote computer, the remote computer may 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 may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. Here, the name of the module does not constitute a limitation to the module itself in some cases, for example, the first determination module may also be described as a "module that determines a style picture corresponding to each state".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may 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 a machine-readable storage medium would include an electrical connection based on 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 of the foregoing.
Example 1 provides a page generation method according to one or more embodiments of the present disclosure, including: receiving a style configuration instruction for a target control, and configuring each state in a plurality of states of the target control to be associated with a corresponding style picture according to the style configuration instruction; receiving a logical configuration instruction for the target control, parsing the logical configuration instruction to determine an execution qualification and an execution condition corresponding to each of the plurality of states of the target control, and associating each of the states with the corresponding execution qualification and execution condition; 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.
Example 2 provides the method of example 1, further comprising, in accordance with one or more embodiments of the present disclosure: 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; the generating a 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 comprises: and generating 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.
Example 3 provides the method of example 1, further comprising, in accordance with one or more embodiments of the present disclosure: configuring at least one state of the target control to be associated with the corresponding jump link according to the style configuration instruction; the 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 comprises: and generating the target page according to the style picture, the execution qualification and the execution condition which are associated with each state of the target control and the jump link which is associated with at least one state of the target control.
Example 4 provides the method of example 1, wherein configuring each of a plurality of states of the target control to be associated with a corresponding style picture according to the style configuration instructions comprises: configuring each state of the plurality of states of the target control to be associated with the corresponding style picture and display mode according to the style configuration instruction; the generating a 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 comprises: and generating the target page according to the style picture, the display mode, the execution qualification and the execution condition which are associated with each state of the target control.
Example 5 provides the methods of examples 1-4, the states of the target control being three or more, according to one or more embodiments of the present disclosure.
Example 6 provides a method of running a page, according to one or more embodiments of the present disclosure, including: running a target page, wherein the target page comprises a target control, and the target page is generated according to a style picture, an execution qualification and an execution condition which are associated with each state of the target control; receiving an access instruction triggered by a target object, and acquiring 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; and controlling the target control in the target page, and displaying according to the style picture corresponding to the target state.
Example 7 provides the method of example 6, the target page further generated according to an associated resource associated with each state of the target control, in accordance with one or more embodiments of the present disclosure; the method further comprises the following steps: receiving an operation instruction triggered by the target object; rejecting the operating instruction under the condition that the target state is an inoperable state; in the 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 and the execution condition associated with each state of the target control; and controlling the target control in the target page, and displaying according to the updated style picture corresponding to the target state.
Example 8 provides the method of example 6, the target page further generated from a jump link associated with at least one state of the target control, in accordance with one or more embodiments of the present disclosure; the method further comprises the following steps: and receiving an operation instruction triggered by the target object, and sending the jump link associated with the target state to the target object under the condition that the target state is an inoperable state and the jump link associated with the target state exists.
Example 9 provides the method of example 6, the target page further generated according to the presentation mode associated with each state of the target control, in accordance with one or more embodiments of the present disclosure; the controlling the target control in the target page and displaying according to the style picture corresponding to the target state comprises: and controlling the target control to display according to the style picture and the display mode corresponding to the target state.
Example 10 provides the method of example 6, the determining a target state of the target control according to the property information, the execution qualifications associated with each state of the target control, and the execution conditions, including: determining the target state as a first inoperable state if the attribute information does not match the execution qualification; determining the target state to be an operable state if the attribute information matches the execution qualification and the attribute information matches an execution condition; and determining the target state as a second inoperable state if the attribute information is matched with the execution qualification and the attribute information is not matched with the execution condition.
Example 11 provides, in accordance with one or more embodiments of the present disclosure, an apparatus for generating a page, comprising: the system comprises a first determination module, a second determination module and a third determination module, wherein the first determination module is used for receiving a style configuration instruction for a target control and configuring each state in a plurality of states of the target control to be associated with a corresponding style picture according to the style configuration instruction; a second determining module, 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 plurality of states of the target control, and associate each of the states with the corresponding execution qualification and the execution condition; and the generation module is used for responding to a creation instruction, and generating a target page comprising the target control according to the style picture, the execution qualification and the execution condition which are associated with each state of the target control.
Example 12 provides an apparatus for running a page, according to one or more embodiments of the present disclosure, including: the running module is used for running a target page, the target page comprises a target control, and the target page is generated according to the style picture, the execution qualification and the execution condition which are associated with each state of the target control; the receiving module is used for receiving an access instruction triggered by a target object and acquiring attribute information of the target object; the state determination module is used for determining the target state of the target control according to the attribute information, the execution qualification and the execution condition which are associated with each state of the target control; and the control module is used for controlling the target control in the target page and displaying the target control according to the style picture corresponding to the target state.
Example 13 provides a computer readable medium having stored thereon a computer program that, when executed by a processing apparatus, implements the steps of the methods of examples 1-10, in accordance with one or more embodiments of the present disclosure.
Example 14 provides, in accordance with one or more embodiments of the present disclosure, an electronic device, comprising: a storage device having a computer program stored thereon; processing means for executing the computer program in the storage means to implement the steps of the methods of examples 1-10.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
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 regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

Claims (14)

1. A method for generating a page, the method comprising:
receiving a style configuration instruction for a target control, and configuring each state in a plurality of states of the target control to be associated with a corresponding style picture according to the style configuration instruction;
receiving a logical configuration instruction for the target control, parsing the logical configuration instruction to determine an execution qualification and an execution condition corresponding to each of the plurality of states of the target control, and associating each of the states with the corresponding execution qualification and execution condition;
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, 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;
the generating a 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 comprises:
and generating 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.
3. The method of claim 1, further comprising:
configuring at least one state of the target control to be associated with the corresponding jump link according to the style configuration instruction;
the generating a 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 comprises:
and generating the target page according to the style picture, the execution qualification and the execution condition which are associated with each state of the target control and the jump link which is associated with at least one state of the target control.
4. The method according to claim 1, wherein configuring each of a plurality of states of the target control in association with a corresponding style picture according to the style configuration instructions comprises:
configuring each state of the plurality of states of the target control to be associated with the corresponding style picture and display mode according to the style configuration instruction;
the generating a 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 comprises:
and generating the target page according to the style picture, the display mode, the execution qualification and the execution condition which are associated with each state of the target control.
5. The method of any of claims 1-4, wherein the states of the target control are three or more.
6. A method for running a page, the method comprising:
running a target page, wherein the target page comprises a target control, and the target page is generated according to a style picture, an execution qualification and an execution condition which are associated with each state of the target control;
receiving an access instruction triggered by a target object, and acquiring 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;
and controlling the target control in the target page, and displaying according to the 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 the following steps:
receiving an operation instruction triggered by the target object;
rejecting the operating instruction when the target state is an inoperable state;
in the 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 and the execution condition associated with each state of the target control;
and controlling the target control in the target page, and displaying according to the updated style picture corresponding to the target state.
8. The method of claim 6, wherein the target page is further generated from a jump link associated with at least one state of the target control; the method further comprises the following steps:
and receiving an operation instruction triggered by the target object, and sending the jump link associated with the target state to the target object under the condition that the target state is an inoperable state and the jump link associated with the target state exists.
9. The method of claim 6, wherein the target page is further generated according to the presentation mode associated with each state of the target control;
the controlling the target control in the target page and displaying according to the style picture corresponding to the target state comprises:
and controlling the target control to display according to the style picture and the display mode corresponding to the target state.
10. The method of claim 6, wherein determining the target state of the target control based on the property information, the execution qualifications associated with each state of the target control, and the execution conditions comprises:
determining the target state as a first inoperable state if the attribute information does not match the execution qualification;
determining the target state to be an operable state if the attribute information matches the execution qualification and the attribute information matches an execution condition;
and determining that the target state is a second inoperable state when the attribute information is matched with the execution qualification and the attribute information is not matched with the execution condition.
11. An apparatus for generating a page, the apparatus comprising:
the system comprises a first determination module, a second determination module and a third determination module, wherein the first determination module is used for receiving a style configuration instruction for a target control and configuring each state in a plurality of states of the target control to be associated with a corresponding style picture according to the style configuration instruction;
a second determining module, 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 plurality of states of the target control, and associate each of the states with the corresponding execution qualification and the execution condition;
and the generation module is used for responding to a creation instruction, and generating a target page comprising the target control according to the style picture, the execution qualification and the execution condition which are associated with each state of the target control.
12. An apparatus for running a page, the apparatus comprising:
the running module is used for running a target page, the target page comprises a target control, and the target page is generated according to the style picture, the execution qualification and the execution condition which are associated with each state of the target control;
the receiving module is used for receiving an access instruction triggered by a target object and acquiring attribute information of the target object;
the state determination module is used for determining the target state of the target control according to the attribute information, the execution qualification and the execution condition which are associated with each state of the target control;
and the control module is used for controlling the target control in the target page and displaying the target control according to the style picture corresponding to the target state.
13. A computer-readable medium, on which a computer program is stored, which program, when being executed by processing means, is adapted to carry out the steps of the method of any one of claims 1 to 5 or 6 to 10.
14. An electronic device, comprising:
a storage device having a computer program stored thereon;
processing means for executing said computer program in said storage means to carry out the steps of the method according to any one of claims 1 to 5, or 6 to 10.
CN202210234174.9A 2022-03-10 2022-03-10 Page generation method, page operation method, page generation device, page readable medium and electronic equipment Pending CN114594951A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210234174.9A CN114594951A (en) 2022-03-10 2022-03-10 Page generation method, page operation method, page generation device, page readable medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210234174.9A CN114594951A (en) 2022-03-10 2022-03-10 Page generation method, page operation method, page generation device, page readable medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114594951A true CN114594951A (en) 2022-06-07

Family

ID=81808555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210234174.9A Pending CN114594951A (en) 2022-03-10 2022-03-10 Page generation method, page operation method, page generation device, page readable medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114594951A (en)

Similar Documents

Publication Publication Date Title
CN111026490B (en) Page rendering method and device, electronic equipment and storage medium
CN111309415B (en) User Interface (UI) information processing method and device of application program and electronic equipment
CN111432001B (en) Method, apparatus, electronic device and computer readable medium for jumping scenes
CN111488185B (en) Page data processing method, device, electronic equipment and readable medium
CN111246228B (en) Method, device, medium and electronic equipment for updating gift resources of live broadcast room
CN114491349B (en) Page display method, page display device, electronic device, storage medium and program product
CN111464424A (en) Information sharing method, system and non-transitory computer-readable recording medium
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN110865846B (en) Application management method, device, terminal, system and storage medium
CN110618768B (en) Information presentation method and device
CN111580883B (en) Application program starting method, device, computer system and medium
CN111177634A (en) Multi-language supporting file content loading method, device, equipment and medium
CN115933936A (en) Task prompting method and device, storage medium and electronic equipment
CN110908629A (en) Electronic equipment operation method and device, electronic equipment and storage medium
CN115587860A (en) Service processing method, device, storage medium and electronic equipment
CN114594951A (en) Page generation method, page operation method, page generation device, page readable medium and electronic equipment
CN111444457B (en) Data release method and device, storage medium and electronic equipment
CN114090938A (en) Page processing method and equipment
CN110727882B (en) Information presentation method, electronic device and computer readable medium
CN110086880B (en) Method and apparatus for creating instances of network requests
CN111787043A (en) Data request method and device
CN110865760A (en) Electronic equipment operation method and device, electronic equipment and storage medium
US11902340B2 (en) Data processing method, apparatus, electronic device and storage medium
CN111641692B (en) Session data processing method and device and electronic equipment
CN112235333B (en) Function package management method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination