A page generation method, device, computer equipment and storage medium
By switching the user interface and providing functional configuration options, the operation activity page is generated, which solves the problem of low flexibility in the development of operation activity pages, and realizes flexible page configuration and high responsiveness reuse.
Patent Information
- Application Number
- CN202010645632.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-07
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2040-07-07
AI Technical Summary
In the prior art, the development flexibility of operating activity pages is low, and the page area functions cannot be flexibly configured, resulting in insufficient responsiveness and reuse.
By switching the user interface, displaying view components and page view frameworks, detecting user operations, providing multiple functional configuration options, obtaining user input information, generating target pages, and achieving flexible page configuration.
It improves the configuration freedom and flexibility of the operation activity page, breaks the limitations of fixed functional blocks and static boot pages, and enhances the responsiveness and reusability of the page.
Smart Images

Figure CN111984254B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a page generation method, device, computer equipment and storage medium. Background Art
[0002] With the development of Internet technology, people are becoming more and more dependent on Internet technology products. More and more people are spreading or collecting information by displaying pages on Internet platforms, such as the display of operation activity pages. Compared with business pages (such as business application pages and loan pages), operation activity pages require higher responsiveness and reuse. Responsiveness means that even if the text or pattern on the page is frequently modified, the operation activity page can still be quickly launched to ensure timeliness, while reuse means that for different operation activities, although the static resources are different, the basic logic of the page is similar and can be used multiple times.
[0003] In the prior art, more static guide pages can be configured in the operation activity page to improve responsiveness and reuse. For example, resources without background interactive functions such as pictures and texts can be set in the operation activity page, and the page can be formed only by configuring static resources. Alternatively, in order to improve the interactivity with users and enhance the page's support for the promotion of operation activities, an interactive configuration function is provided in a designated area.
[0004] However, in the above methods, whether it is a static guide page or the setting of an interactive configuration function, the function corresponding to the area is configured in a designated area, resulting in low flexibility in page development. Summary of the invention
[0005] Based on this, it is necessary to provide a page generation method, device, computer equipment and storage medium that can improve the flexibility of page development in response to the above technical problems.
[0006] A page generation method, the method comprising:
[0007] In response to the page creation request, switch to the first user interface and display a preset view component in the first user interface; the view component is used to configure the page view framework of the page;
[0008] A first user operation on the view component is detected, and a page view frame corresponding to the view component is displayed in a first user interface; the page view frame includes a view block;
[0009] Detecting a function configuration operation for the view block, switching to a second user interface, where a plurality of function configuration options are displayed;
[0010] Acquire input operation information set by the user for each function configuration option, and obtain function configuration information corresponding to the view block;
[0011] The page view framework and the function configuration information are used to generate a target page.
[0012] Optionally, the function configuration options include multiple application environment options and multiple resource configuration options, and the acquiring of input operation information set by the user for each function configuration option to obtain the function configuration information corresponding to the view block includes:
[0013] detecting a second user operation on at least one application environment option corresponding to the view block, acquiring a resource configuration option corresponding to the at least one application environment option as a target resource configuration option, and displaying the target resource configuration option in a second user interface;
[0014] Acquire input operation information set by the user for the target resource configuration option;
[0015] The input operation information is used to generate function configuration information corresponding to the view block.
[0016] Optionally, the target resource configuration option includes any one or more of a static resource configuration option, a link configuration option, or an interactive function configuration option, and the acquiring of input operation information set by the user for the target resource configuration option includes:
[0017] If a third user operation on the static resource configuration option is detected, acquiring interaction operation type information set by the user for the static resource configuration option and static resource information corresponding to the interaction operation type information as input operation information for the static resource configuration option;
[0018] If a third user operation on the link configuration option is detected, obtaining link address information set by the user for the link configuration option as input operation information of the link configuration option;
[0019] If a third user operation on the interactive function configuration option is detected, activity type information and activity identification information set by the user for the interactive function configuration option are obtained as input operation information of the interactive function configuration option.
[0020] Optionally, the using the input operation information to generate function configuration information corresponding to the view block includes:
[0021] Get the preset text information output format;
[0022] The input operation information is processed in the text information output format to obtain function configuration information corresponding to the view block.
[0023] Optionally, the view component includes a plurality of candidate interface component options, and the detecting a first user operation on the view component and displaying a page view frame corresponding to the view component in a first user interface includes:
[0024] Detecting a first user operation on any candidate interface component option among the multiple candidate interface component options, and acquiring a target page view frame corresponding to the any candidate interface component option from a plurality of preset page view frames;
[0025] The target page view frame is displayed in the first user interface.
[0026] Optionally, the first user interface includes a view component selection area and a preview area, and displaying a preset view component in the first user interface includes:
[0027] Displaying a preset view component in the view selection area;
[0028] The displaying of the target page view frame in the first user interface includes:
[0029] The target page view frame is displayed in the preview area.
[0030] Optionally, the first user interface further includes a function selection area, and after the step of detecting a first user operation on the view component and displaying a page view frame corresponding to the view component in the first user interface, the step further includes:
[0031] A preset function selection component is loaded and displayed in the function selection area; the function selection component serves as a user operation entry component for the function configuration of the corresponding view block.
[0032] A page generation device, comprising:
[0033] A view component display module, used to switch to the first user interface in response to a page creation request, and display a preset view component in the first user interface; the view component is used to configure a page view framework of the page;
[0034] A page view frame display module, used to detect a first user operation on the view component and display a page view frame corresponding to the view component in a first user interface; the page view frame includes a view block;
[0035] A function configuration option display module, configured to detect a function configuration operation on the view block and switch to a second user interface, in which a plurality of function configuration options are displayed;
[0036] A function configuration information acquisition module is used to acquire input operation information set by the user for each function configuration option, and obtain function configuration information corresponding to the view block;
[0037] The page generation module is used to generate a target page using the page view framework and the function configuration information.
[0038] A computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the page generation method as described above when executing the computer program.
[0039] A computer-readable storage medium stores a computer program, which implements the steps of the page generation method described above when executed by a processor.
[0040] The above-mentioned page generation method, device, computer equipment and storage medium can switch to the first user interface in response to a page creation request, and display a preset view component in the first user interface. The view component can be used to configure the page view frame of the page. When a first user operation on the view component is detected, the page view frame corresponding to the view component can be displayed in the first user interface. The page view frame can include a view block. When a function configuration operation on the view block is detected, it can switch to the second user interface and display multiple function configuration options in the second user interface. Then, the input operation information set by the user for each function configuration option can be obtained, and the function configuration information corresponding to the view block can be obtained. The page view frame and the function configuration information are used to generate the target page, thereby realizing flexible configuration of page development. Different function configuration methods can be flexibly selected for different areas in the page, breaking the limitation that fixed function blocks and static guide pages are difficult to freely set page area functions, and improving the freedom and flexibility of operation activity page configuration. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A schematic diagram of a flow chart of a page generation method in an embodiment;
[0042] Figure 2 is a schematic diagram of a user interface in one embodiment;
[0043] Figure 3 A flowchart of steps for obtaining function configuration information in one embodiment;
[0044] Figure 4A schematic flow chart of steps for setting target resource configuration options in one embodiment;
[0045] Figure 5 is a schematic diagram of another user interface in one embodiment;
[0046] Figure 6 It is a structural block diagram of a page generating device in one embodiment;
[0047] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0049] In one embodiment of the present application, Figure 1 As shown, a page generation method is provided. This embodiment takes the method applied to a terminal as an example. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0050] Step 101, in response to a page creation request, switching to a first user interface, and displaying a preset view component in the first user interface; the view component is used to configure a page view framework of the page;
[0051] As an example, the page view frame may be a block layout in a page, and the view frame of the page may be configured by setting the view component.
[0052] In an embodiment of the present application, the method can be applied to a configuration system, and the configuration system can have a publishing function and a configuration function. By providing a publishing function, the configuration system can quickly put the generated page file online, replacing the use of a preset publishing process to ensure the timeliness of page publishing; by providing a configuration function, the content or functions of different areas in the page can be configured in different operating activities based on similar or identical operating logic.
[0053] In actual application, a button may be pre-set in the configuration system, and the user may send a page creation request by clicking the button. In response to the page creation request, the configuration system may switch the interface to the first user interface and display a preset view component in the first user interface.
[0054] Step 102, detecting a first user operation on the view component, and displaying a page view frame corresponding to the view component in a first user interface; the page view frame includes a view block;
[0055] After displaying the view component, the user can perform a first user operation on the view component. After detecting the first user operation of the user on the view component, the configuration system can display a page view frame corresponding to the view component in the first user interface, and the page view frame can include a view block.
[0056] Step 103, detecting a function configuration operation for the view block, switching to a second user interface, in which a plurality of function configuration options are displayed;
[0057] In a specific implementation, the page view frame may include one or more view blocks. After selecting a view block in the page view frame, the user may configure functions, thereby flexibly setting different functions for different view blocks. When the user selects a view block and triggers the corresponding component, the configuration system may detect the function configuration operation for the view block, switch the first user interface to the second user interface, and display multiple function configuration options in the second user interface.
[0058] Step 104, obtaining input operation information set by the user for each function configuration option, and obtaining function configuration information corresponding to the view block;
[0059] As an example, the function configuration may be the operation performed by the page when the page is displayed and the view block in the page is triggered by the user, such as the display of a static guide page or an interactive activity page; the function configuration information may be the information set for a function configuration during the configuration process of the page.
[0060] In the second user interface, the user can perform different operations on multiple function configuration options, such as selecting from multiple options provided by the configuration system, or inputting custom information by the user. In response to the user operation, the configuration system can obtain the input operation information set by the user for each function configuration option, and obtain the function configuration information corresponding to the view block in combination with the input operation information.
[0061] Step 105: Generate a target page using the page view framework and the function configuration information.
[0062] After generating the function configuration information, the configuration system may combine the page view framework and the function configuration information with a preset page template to generate a target page.
[0063] In an embodiment of the present application, by responding to a page creation request, a switch can be made to a first user interface, and a preset view component can be displayed in the first user interface. The view component can be used to configure the page view frame of the page. When a first user operation on the view component is detected, the page view frame corresponding to the view component can be displayed in the first user interface. The page view frame can include a view block. When a function configuration operation on the view block is detected, a switch can be made to a second user interface, and multiple function configuration options can be displayed in the second user interface. Then, the input operation information set by the user for each function configuration option can be obtained, and the function configuration information corresponding to the view block can be obtained. The page view frame and the function configuration information are used to generate a target page, thereby realizing flexible configuration of page development. Through the combined configuration of the view component and the function configuration options, different function configuration methods can be flexibly selected for different areas of the page, breaking the limitation that fixed function blocks and static guide pages are difficult to freely set page area functions, and improving the freedom and flexibility of operation activity page configuration.
[0064] In an embodiment of the present application, a view component may include multiple candidate interface component options, and the step of detecting a first user operation on the view component and displaying a page view frame corresponding to the view component in a first user interface may include the following steps:
[0065] A first user operation on any candidate interface component option among the multiple candidate interface component options is detected, and a target page view frame corresponding to the any candidate interface component option is obtained from a plurality of preset page view frames; and the target page view frame is displayed in a first user interface.
[0066] In actual applications, the view component may include multiple candidate interface component options, and different candidate interface component options may be pre-set with corresponding page view frames, such as a page view frame including a row and one column area, a page view frame including a row and two columns area, a page view frame including a floating area, a page view frame including a bottom area (the component is fixed to the area below the interface), and so on.
[0067] When a first user operation is detected on any candidate interface component among multiple candidate interface component options, a page view frame corresponding to the candidate interface component can be obtained from multiple preset page view frames, and the page view frame can be determined as the target page view frame, and the target view frame can be displayed in the first user interface.
[0068] By pre-setting multiple candidate interface component options and acquiring the corresponding target page view frame from the preset multiple page view frames when the first user operation on any of the multiple candidate interface component options is detected, the reusability of the configuration system can be improved. The user can select a target page view frame from the preset candidate interface components according to development requirements, and since the view component can be independent of other components, the page view frame can be modified by selecting a different view component. When providing users with more optional page view frames, the developers of the configuration system can focus on the development of the view component.
[0069] In one embodiment of the present application, the first user interface may include a view component selection area and a preview area, and displaying a preset view component in the first user interface may include the following steps: displaying a preset view component in the view selection area.
[0070] The displaying of the target page view frame in the first user interface may include the following steps: displaying the target page view frame in the preview area.
[0071] In a specific implementation, the first user interface can be divided into multiple areas. The divided first user interface can include a view selection area and a preview area, wherein a preset view component can be displayed in the view selection area, and when a first user operation on the view component is detected, the target page view frame can be displayed in the preview area.
[0072] By displaying preset view components in the view selection area and displaying the target page view frame in the preview area, the first user interface can be divided into different functional blocks. Users can quickly find candidate interface component options and preview the target page view frame through the preview area to check the page effect in time.
[0073] In an embodiment of the present application, the first user interface may further include a function selection area. After the step of detecting the first user operation on the view component and displaying the page view frame corresponding to the view component in the first user interface, the following steps may be further included:
[0074] A preset function selection component is loaded and displayed in the function selection area; the function selection component serves as a user operation entry component for the function configuration of the corresponding view block.
[0075] In actual applications, a function selection area can be set in the first user interface. When the first user operation on the view component is detected, in addition to displaying the target page view frame in the preview area, a preset function selection component can be loaded and displayed in the function selection area. The function component serves as a user operation entry for the corresponding view block function configuration. When the user operation is detected, the function configuration interface for the view block, such as the second user interface, can be displayed.
[0076] like Figure 2 The figure shows an example of the first user interface, which includes a view selection area in the left area, a preview area in the middle area, and a function selection area in the right area. The view selection area includes multiple candidate interface component options ("one row and one column area" option, "one row and two columns area" option, "floating area" option, and "bottom suction area" option). When the user selects "one row and one column area", the page view frame including the one row and one column area can be previewed in the preview area. Correspondingly, in the function selection area, the function selection components for the "one row and one column area" (i.e. Figure 2 , then click the Function Selection button in the .
[0077] By loading the function selection component and displaying it in the function selection area, users can be provided with a function configuration entry for the corresponding view block, thus avoiding the current interface content from being too complicated.
[0078] In an embodiment of the present application, the function configuration options may include multiple application environment options and multiple resource configuration options, such as Figure 3 As shown, the step of obtaining the input operation information set by the user for each function configuration option and obtaining the function configuration information corresponding to the view block may include the following steps:
[0079] Step 301, detecting a second user operation on at least one application environment option corresponding to the view block, acquiring a resource configuration option corresponding to the at least one application environment option as a target resource configuration option, and displaying the target resource configuration option in a second user interface;
[0080] As an example, the application environment option can configure the application environment of the page, that is, a specific application platform, such as an application in a certain client.
[0081] In actual applications, in different application environments, the view block in the page frame may have different functions. When a second user operation on the application environment option corresponding to the view block is detected, the resource configuration option corresponding to the application environment may be obtained and used as the target resource configuration option. After determining the target resource configuration option, the target resource configuration option may be displayed in the second user interface.
[0082] Step 302, obtaining the user's input operation information for the target resource configuration option setting;
[0083] After the target resource configuration options are displayed, the user can set the target resource configuration options. Then, the configuration system can obtain the user's input operation information for setting the target resource options in response to the user operation.
[0084] Step 303: using the input operation information to generate function configuration information corresponding to the view block.
[0085] After the input operation information is acquired, the function configuration information corresponding to the view block may be generated using the input operation information.
[0086] By displaying the target resource configuration options in the second user interface, obtaining the input operation information set by the user for the target resource configuration options, and using the input operation information to generate the functional configuration information corresponding to the view block, different functions can be flexibly set for different view blocks, and view components and functional configuration options can be arbitrarily combined. Developers of the configuration system can focus on the functional development of the view block when developing.
[0087] In an embodiment of the present application, the target resource configuration option may include any one or more of a static resource configuration option, a link configuration option, or an interactive function configuration option, such as Figure 4 As shown, the step of obtaining the input operation information set by the user for the target resource configuration option may include the following sub-steps:
[0088] Step 401, if a third user operation on the static resource configuration option is detected, obtaining the interactive operation type information set by the user for the static resource configuration option and the static resource information corresponding to the interactive operation type information as the input operation information of the static resource configuration option;
[0089] As an example, the static resource configuration option can configure static functions for the view block. For the objects in the view block that are configured with static functions, when the objects are clicked, the page can perform operations without background interaction.
[0090] The interactive operation type information may indicate the operation performed by the page on the static resource, such as copying, prompting, sharing, and pop-up windows.
[0091] Static resource information may be information on which interactive operations are performed, such as picture information, text information, etc.
[0092] In actual applications, if a third user operation for a static resource configuration option is detected, such as selecting the "static function" option in the second user interface, the interactive operation type information set by the user for the static resource configuration option and the static resource information corresponding to the interactive operation type information can be further obtained, and the interactive operation type information and the static resource information are determined as the input operation information of the static resource configuration option. By setting the operation information of the static resource configuration option, the user can select a view block from the page to set a static function, such as displaying operation promotion information, copying text on the operation page, and popping up pictures.
[0093] Step 402: if a third user operation on the link configuration option is detected, obtaining link address information set by the user for the link configuration option as input operation information of the link configuration option;
[0094] As an example, the link address information may include a web page link address and / or a client link, wherein the client link may jump to a client page specified by the link.
[0095] If a third user operation on the link configuration option is detected, such as selecting the "Link" option in the second user interface, the link address information set by the user for the resource configuration option can be further obtained, and the link address information can be used as input operation information for the link configuration option. By setting the operation information of the link configuration option, the user can select the view block from the page to set the link function. When the object in the view block is clicked, it can jump to the link corresponding to the link address information.
[0096] Step 403: If a third user operation on the interactive function configuration option is detected, activity type information and activity identification information set by the user for the interactive function configuration option are obtained as input operation information of the interactive function configuration option.
[0097] As an example, the interactive function configuration option can configure the background interactive function for the view block. When the view block is configured with the background interactive function, after the object in the view block is clicked, operations that interact with the background can be performed, such as lotteries, coupon collection, team formation (such as group buying), initiating event invitations to third-party users, binding event invitation relationships, and other operations.
[0098] In actual applications, operators can hold multiple activities, and the same activity can have different activity entrances. For example, a lottery event and a coupon collection event can be held at the same time. For the same lottery event, different lottery sub-activities can be set up, and each lottery sub-activity has a different probability of winning.
[0099] Based on this, activity type information can be set for different activities, as well as activity identification information for different sub-activities in the same activity type. When the user performs a third user operation on the interactive function configuration option, the activity type information and activity identification information can be set, and the configuration system can obtain the activity type information and the activity identification information, and determine the activity type information and the activity identification information as the input operation information of the interactive function configuration option.
[0100] By obtaining information about the user's static resource configuration options, link configuration option settings, and interactive function configuration option settings and generating input operation information, the user can configure static resources, link jumps, or functions for interacting with the backend database for different view blocks.
[0101] like Figure 5 The figure shows an example of the second user interface. In a specific implementation, the same application environment can have multiple publishing methods, i.e., publishing channels. Taking client A as an example, it can have two publishing channels, "B Public Account" and "C Public Account" (i.e., different public account accounts are used for information publishing). Users can set the "Environment Selection" in the second user interface and select the appropriate application environment options and publishing methods. After determining the application environment options, multiple resource configuration options corresponding to the application environment can be obtained as target resource configuration options and displayed in the second user interface, for example Figure 5 "Link" option, "Static function" option, "Background interactive function" option, "Function selection", "Sub-activity coding", etc.
[0102] In an embodiment of the present application, the step of using the input operation information to generate the function configuration information corresponding to the view block may include the following steps:
[0103] A preset text information output format is obtained; and the input operation information is processed using the text information output format to obtain function configuration information corresponding to the view block.
[0104] In actual applications, after obtaining the input operation information, a preset text information output format can be obtained, and the input operation information is processed using the text information output format, so that the input operation information is arranged according to the text information output format to obtain the functional configuration information corresponding to the view block.
[0105] For example, for a view block in a page view frame, the view block is configured in the WeChat client environment (WEC). When the button is triggered, the text information is copied (copyText). The copied text content (text) is "test". Then, the function configuration information "WEC:mutation: / / copyText?text=test" can be obtained according to the text information output format.
[0106] By processing the input operation information in a text information output format, when the corresponding view block in the page view frame is triggered, the function configuration information in a preset format can be parsed to determine the operation to be performed.
[0107] It should be understood that although Figure 1-5 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1-5 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0108] In one embodiment of the present application, Figure 6 As shown, a page generation device is provided, and the device may include:
[0109] The view component display module 601 is used to switch to the first user interface in response to the page creation request, and display a preset view component in the first user interface; the view component is used to configure the page view framework of the page;
[0110] A page view frame display module 602 is used to detect a first user operation on the view component and display a page view frame corresponding to the view component in a first user interface; the page view frame includes a view block;
[0111] A function configuration option display module 603 is used to detect a function configuration operation on the view block and switch to a second user interface in which a plurality of function configuration options are displayed;
[0112] Function configuration information acquisition module 604, used to acquire input operation information set by the user for each function configuration option, and obtain function configuration information corresponding to the view block;
[0113] The page generation module 605 is used to generate a target page using the page view framework and the function configuration information.
[0114] In an embodiment of the present application, the function configuration options may include multiple application environment options and multiple resource configuration options, and the function configuration information acquisition module 604 includes:
[0115] a target resource configuration option display submodule, configured to detect a second user operation on at least one application environment option corresponding to the view block, obtain a resource configuration option corresponding to the at least one application environment option as a target resource configuration option, and display the target resource configuration option in a second user interface;
[0116] An input operation information acquisition submodule is used to acquire input operation information set by the user for the target resource configuration option;
[0117] The function configuration information generating submodule is used to generate the function configuration information corresponding to the view block by using the input operation information.
[0118] In an embodiment of the present application, the target resource configuration option includes any one or more of a static resource configuration option, a link configuration option, or an interactive function configuration option, and the input operation information acquisition submodule includes:
[0119] a static resource information acquisition unit, configured to, if a third user operation on the static resource configuration option is detected, acquire interactive operation type information set by the user for the static resource configuration option and static resource information corresponding to the interactive operation type information as input operation information for the static resource configuration option;
[0120] a link information acquisition unit, configured to acquire, if a third user operation on the link configuration option is detected, link address information set by the user for the link configuration option as input operation information for the link configuration option;
[0121] The interactive function information acquisition unit is used to acquire the activity type information and activity identification information set by the user for the interactive function configuration option as the input operation information of the interactive function configuration option if a third user operation for the interactive function configuration option is detected.
[0122] In an embodiment of the present application, the function configuration information generating submodule includes:
[0123] A format acquisition unit, used to acquire a preset text information output format;
[0124] A format processing unit is used to process the input operation information using the text information output format to obtain function configuration information corresponding to the view block.
[0125] In an embodiment of the present application, the view component includes a plurality of candidate interface component options, and the page view frame display module 602 includes:
[0126] A target page view frame determination submodule is used to detect a first user operation on any candidate interface component option among the multiple candidate interface component options, and obtain a target page view frame corresponding to any candidate interface component option from a plurality of preset page view frames;
[0127] The target page view frame display submodule is used to display the target page view frame in the first user interface.
[0128] In an embodiment of the present application, the first user interface includes a view component selection area and a preview area, and the view component display module 601 includes:
[0129] A first display submodule, used for displaying a preset view component in the view selection area;
[0130] The target page view framework display submodule includes:
[0131] The second display unit displays the target page view frame in the preview area.
[0132] In an embodiment of the present application, the first user interface further includes a function selection area, and the device further includes:
[0133] The function selection component display module is used to load a preset function selection component and display the function selection component in the function selection area; the function selection component serves as a user operation entry component corresponding to the view block function configuration.
[0134] In an embodiment of the present application, by responding to a page creation request, a switch can be made to a first user interface, and a preset view component can be displayed in the first user interface. The view component can be used to configure the page view frame of the page. When a first user operation on the view component is detected, the page view frame corresponding to the view component can be displayed in the first user interface. The page view frame can include a view block. When a function configuration operation on the view block is detected, a switch can be made to a second user interface, and multiple function configuration options can be displayed in the second user interface. Then, the input operation information set by the user for each function configuration option can be obtained, and the function configuration information corresponding to the view block can be obtained. The page view frame and the function configuration information are used to generate a target page, thereby realizing flexible configuration of page development. Through the combined configuration of the view component and the function configuration options, different function configuration methods can be flexibly selected for different areas of the page, breaking the limitation that fixed function blocks and static guide pages are difficult to freely set page area functions, and improving the freedom and flexibility of operation activity page configuration.
[0135] For the specific definition of a page generation device, please refer to the definition of a page generation method above, which will not be repeated here. Each module in the above-mentioned page generation device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0136] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 7 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a page generation method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0137] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0138] In one embodiment of the present application, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0139] In response to the page creation request, switch to the first user interface and display a preset view component in the first user interface; the view component is used to configure the page view framework of the page;
[0140] A first user operation on the view component is detected, and a page view frame corresponding to the view component is displayed in a first user interface; the page view frame includes a view block;
[0141] Detecting a function configuration operation for the view block, switching to a second user interface, where a plurality of function configuration options are displayed;
[0142] Acquire input operation information set by the user for each function configuration option, and obtain function configuration information corresponding to the view block;
[0143] The page view framework and the function configuration information are used to generate a target page.
[0144] In one embodiment, when the computer program is executed by a processor, the steps of the page generation method in the other embodiments described above are also implemented.
[0145] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0146] In response to the page creation request, switch to the first user interface and display a preset view component in the first user interface; the view component is used to configure the page view framework of the page;
[0147] A first user operation on the view component is detected, and a page view frame corresponding to the view component is displayed in a first user interface; the page view frame includes a view block;
[0148] Detecting a function configuration operation for the view block, switching to a second user interface, where a plurality of function configuration options are displayed;
[0149] Acquire input operation information set by the user for each function configuration option, and obtain function configuration information corresponding to the view block;
[0150] The page view framework and the function configuration information are used to generate a target page.
[0151] In one embodiment, when the computer program is executed by a processor, the steps of the page generation method in the other embodiments described above are also implemented.
[0152] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0153] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0154] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A page generation method, characterized in that: The method comprises: In response to the page creation request, switch to the first user interface and display a preset view component in the first user interface; the view component is used to configure the page view framework of the page; A first user operation on the view component is detected, and a page view frame corresponding to the view component is displayed in a first user interface; the page view frame includes a view block, and the page view frame includes at least a page view frame of a row and two columns area, a page view frame of a floating area, or a page view frame of a bottom absorption area; The page view frame includes a plurality of view blocks, and after the user selects a view block in the page view frame, the user performs function configuration; when the function configuration operation for the view block is detected, the user interface is switched to a second user interface, and a plurality of function configuration options are displayed in the second user interface, and the function configuration options include a plurality of application environment options and a plurality of resource configuration options; Detecting a second user operation on at least one application environment option corresponding to the view block, obtaining a resource configuration option corresponding to the at least one application environment option as a target resource configuration option, and displaying the target resource configuration option in a second user interface; the same application environment includes multiple publishing channels, and the method further includes: selecting a suitable application environment option and publishing channel in the second user interface; after determining the application environment option, obtaining multiple resource configuration options corresponding to the application environment as the target resource configuration option; Acquire input operation information set by the user for each function configuration option, and obtain function configuration information corresponding to the view block; Generate a target page using the page view framework and the function configuration information; The first user interface further includes a function selection area. After the step of detecting a first user operation on the view component and displaying a page view frame corresponding to the view component in the first user interface, the step further includes: A preset function selection component is loaded and displayed in the function selection area; the function selection component serves as a user operation entry component for the function configuration of the corresponding view block.
2. The method according to claim 1, characterized in that The acquiring of the input operation information set by the user for each function configuration option to obtain the function configuration information corresponding to the view block includes: Acquire input operation information set by the user for the target resource configuration option; The input operation information is used to generate function configuration information corresponding to the view block.
3. The method according to claim 2, characterized in that The target resource configuration option includes any one or more of a static resource configuration option, a link configuration option, or an interactive function configuration option, and the obtaining of input operation information set by the user for the target resource configuration option includes: If a third user operation on the static resource configuration option is detected, acquiring interaction operation type information set by the user for the static resource configuration option and static resource information corresponding to the interaction operation type information as input operation information for the static resource configuration option; If a third user operation on the link configuration option is detected, obtaining link address information set by the user for the link configuration option as input operation information of the link configuration option; If a third user operation on the interactive function configuration option is detected, activity type information and activity identification information set by the user for the interactive function configuration option are obtained as input operation information of the interactive function configuration option.
4. The method according to claim 2, characterized in that: The step of using the input operation information to generate function configuration information corresponding to the view block includes: Get the preset text information output format; The input operation information is processed in the text information output format to obtain function configuration information corresponding to the view block.
5. The method according to claim 1, characterized in that The view component includes a plurality of candidate interface component options, and the detecting a first user operation on the view component and displaying a page view frame corresponding to the view component in a first user interface includes: Detecting a first user operation on any candidate interface component option among the plurality of candidate interface component options, and acquiring a target page view frame corresponding to the any candidate interface component option from a plurality of preset page view frames; The target page view frame is displayed in the first user interface.
6. The method according to claim 5, characterized in that The first user interface includes a view component selection area and a preview area, and the displaying of a preset view component in the first user interface includes: Displaying a preset view component in the view component selection area; The displaying of the target page view frame in the first user interface includes: The target page view frame is displayed in the preview area.
7. A page generating device, characterized in that: The device comprises: A view component display module, used to switch to the first user interface in response to a page creation request, and display a preset view component in the first user interface; the view component is used to configure a page view frame of the page, and the page view frame includes at least a page view frame of a row and two columns area, a page view frame of a floating area, or a page view frame of a bottom absorption area; A page view frame display module, used to detect a first user operation on the view component and display a page view frame corresponding to the view component in a first user interface; the page view frame includes a plurality of view blocks, and the user performs function configuration after selecting a view block in the page view frame; A function configuration option display module, configured to detect a function configuration operation for the view block and switch to a second user interface, in which a plurality of function configuration options are displayed, the function configuration options including a plurality of application environment options and a plurality of resource configuration options; A function configuration information acquisition module is used to acquire input operation information set by the user for each function configuration option, and obtain function configuration information corresponding to the view block; The function configuration information acquisition module includes a target resource configuration option display submodule, the target resource configuration option display submodule is used to detect a second user operation on at least one application environment option corresponding to the view block, obtain a resource configuration option corresponding to the at least one application environment option as a target resource configuration option, and display the target resource configuration option in a second user interface; the same application environment includes multiple publishing channels, and the target resource configuration option display submodule is further used to: select a suitable application environment option and publishing channel in the second user interface; after determining the application environment option, obtain multiple resource configuration options corresponding to the application environment as the target resource configuration option; A page generation module, used to generate a target page using the page view framework and the function configuration information; The first user interface further includes a function selection area, and the device further includes: The function selection component display module is used to load a preset function selection component and display the function selection component in the function selection area; the function selection component serves as a user operation entry component corresponding to the view block function configuration.
8. The device according to claim 7, characterized in that The function configuration information acquisition module also includes: An input operation information acquisition submodule is used to acquire input operation information set by the user for the target resource configuration option; The function configuration information generating submodule is used to generate the function configuration information corresponding to the view block by using the input operation information.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the page generation method according to any one of claims 1 to 6 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the page generation method according to any one of claims 1 to 6 are implemented.
