Page generation method and device, storage medium and electronic device
By obtaining user information and campaign plans through a unified interface and generating target content, the problem of cumbersome content adjustment steps in terminal financial software has been solved, thus improving efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- DUXIAOMAN TECH (BEIJING) CO LTD
- Filing Date
- 2022-12-23
- Publication Date
- 2026-06-02
AI Technical Summary
Adjusting the content displayed in financial software on the terminal is a cumbersome process, resulting in low efficiency, and existing technologies have not been able to effectively solve this problem.
The system obtains user information and the corresponding preset delivery plan for the resource slot through a unified preset interface, generates a target delivery plan based on the user information and the delivery plan, obtains the target content to be delivered, and finally generates the page, thus realizing the reuse of the delivery plan.
It reduces the workload of adjusting the content being advertised, improves efficiency, and solves the problem of cumbersome steps in adjusting the content.
Smart Images

Figure CN116010004B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of front-end technology, and more specifically, to a page generation method, apparatus, storage medium, and electronic device. Background Technology
[0002] To provide a better purchasing experience for users within the financial software platform, staff need to tailor content to different users and scenarios to increase user activity and encourage users to increase the scale of their assets held within the financial software. Figure 1 This is a schematic diagram of the interface of financial software in the graphical user interface of the terminal, such as... Figure 1 As shown, "Resource Slot 1" in the interface is the location where content can be placed.
[0003] In existing technologies, content delivered to different locations often comes from different systems. If staff need to adjust the current content, they need to log into different systems and make certain adjustments to both the front-end and back-end, which is cumbersome and inefficient.
[0004] There is currently no effective solution to the above problems. Summary of the Invention
[0005] This application provides a page generation method, apparatus, storage medium, and electronic device to at least solve the technical problem of low efficiency caused by the cumbersome steps of adjusting the content to be displayed.
[0006] According to one aspect of the embodiments of this application, a page generation method is provided, comprising: responding to receiving a page access instruction, obtaining user information corresponding to the page access instruction and a preset delivery plan corresponding to a resource position through a preset interface, wherein the resource position is used to characterize the display position of the content to be delivered in the page accessed by the page access instruction, and the preset delivery plan is used to characterize the mapping relationship between different user information and the content to be delivered; obtaining a target delivery plan based on the user information and the preset delivery plan; obtaining target content to be delivered according to the target delivery plan; and generating a page based on the target content to be delivered.
[0007] Optionally, obtaining the target delivery plan based on user information and a preset delivery plan includes: determining target decision factors corresponding to user information from multiple decision factors, wherein different decision factors are used to characterize different user characteristics; and determining the target delivery plan from the preset delivery plan based on the target decision factors.
[0008] Optionally, determining the target delivery plan from the preset delivery plans based on the target decision factors includes: determining an initial delivery plan that matches the target decision factors from the preset delivery plans; obtaining the priority of the initial delivery plans in response to the number of initial delivery plans being greater than the preset number; and determining the target delivery plan from the initial delivery plans based on the priority.
[0009] Optionally, the target content to be delivered includes: display template style and display content. The display content includes at least text and video, and the display template style is used to characterize the display style of the display content on the page.
[0010] Optionally, generating a page based on the target content to be delivered includes: verifying whether the user information and the target content to be delivered match based on preset verification rules, and obtaining a verification result; in response to the verification result indicating that the user information and the target content to be delivered match, generating a page based on the target content to be delivered.
[0011] Optionally, generating a page based on the target content to be delivered includes: filling the display content into the resource slot to obtain the target resource slot; and generating a page based on the display template style and the target resource slot.
[0012] Optionally, the preset deployment plan is stored in the database. The method further includes: outputting the current configuration information stored in the database, wherein the current configuration information includes: the current resource location, the current user information, the current preset verification rules, and the current deployment plan; in response to receiving an operation instruction to modify the current configuration information, obtaining the target configuration information corresponding to the operation instruction; and updating the target configuration information to the database through a preset interface.
[0013] According to another aspect of the embodiments of this application, a page generation apparatus is also provided, comprising: a first acquisition module, configured to, in response to receiving a page access instruction, acquire user information corresponding to the page access instruction and a preset delivery plan corresponding to a resource position through a preset interface, wherein the resource position is used to characterize the display position of the content to be delivered in the page accessed by the page access instruction, and the preset delivery plan is used to characterize the mapping relationship between different user information and the content to be delivered; a obtaining module, configured to obtain a target delivery plan based on the user information and the preset delivery plan; a second acquisition module, configured to acquire the target content to be delivered corresponding to the target delivery plan; and a generation module, configured to generate a page based on the target content to be delivered.
[0014] Optionally, the module includes: a decision factor determination unit, used to determine the target decision factor corresponding to the user information from multiple decision factors, wherein different decision factors are used to characterize different user characteristics; and a delivery plan determination unit, used to determine the target delivery plan from the preset delivery plan based on the target decision factor.
[0015] Optionally, the delivery plan determination unit is further configured to determine an initial delivery plan that matches the target decision factor from the preset delivery plans; in response to the number of initial delivery plans being greater than the preset number, obtain the priority of the initial delivery plans; and determine the target delivery plan from the initial delivery plans based on the priority.
[0016] Optionally, the target content to be delivered includes: display template style and display content. The display content includes at least text and video, and the display template style is used to characterize the display style of the display content on the page.
[0017] Optionally, the generation module includes: a verification unit, used to verify whether the user information and the target content to be delivered match based on preset verification rules, and obtain a verification result; and a page generation unit, used to generate a page based on the target content to be delivered in response to the verification result that the user information and the target content to be delivered match.
[0018] Optionally, the page generation unit is also used to fill the display content into the resource slot to obtain the target resource slot; and to generate the page based on the display template style and the target resource slot.
[0019] Optionally, the device further includes: an output module for outputting current configuration information stored in the database, wherein the current configuration information includes: current resource bit, current user information, current preset verification rules, and current deployment plan; an instruction acquisition module for acquiring target configuration information corresponding to the received operation instruction to modify the current configuration information; and an update module for updating the target configuration information to the database through a preset interface.
[0020] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer-readable storage medium, and the computer program is configured to execute any of the page generation methods in the embodiments when run by a processor.
[0021] According to another aspect of the embodiments of this application, an electronic device is also provided, wherein a memory stores a computer program, and a processor is configured to run the computer program to perform any of the page generation methods in the embodiments.
[0022] In this embodiment, after receiving a page access instruction, the user information corresponding to the page access instruction and the preset delivery plan corresponding to the resource position can be obtained through a preset interface. This eliminates the need to obtain the required information from interfaces provided by different systems. Subsequently, based on the user information and the preset delivery plan, a target delivery plan is obtained, and then the target content to be delivered according to the target delivery plan is obtained. Finally, a page is generated based on the target content to be delivered. It is noteworthy that this application uses a unified preset interface to obtain user information and the preset delivery plan corresponding to the resource position, and obtains the target delivery plan from the preset delivery plan based on the user information. This achieves the reuse of the delivery plan, thereby reducing the workload when adjusting the delivery content and solving the technical problem of low efficiency caused by the cumbersome steps of adjusting the delivery content. Attached Figure Description
[0023] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0024] Figure 1 This is a schematic diagram of the interface of financial software in the graphical user interface of the terminal in the embodiments of this application;
[0025] Figure 2 This is a flowchart illustrating a page generation method according to an embodiment of this application;
[0026] Figure 3 The following is a schematic diagram showing the template style, which is one of the page generation methods in the embodiments of this application;
[0027] Figure 4 This is a schematic diagram of the deployment process of a page generation method according to an embodiment of this application;
[0028] Figure 5 This is a schematic diagram of the data table relationship in a database in a page generation method according to an embodiment of this application;
[0029] Figure 6 This is a schematic diagram of the delivery process module in a page generation method according to an embodiment of this application;
[0030] Figure 7 This is a schematic diagram illustrating the relationship between delivery sites, delivery plans, and preset verification rules in a page generation method according to an embodiment of this application.
[0031] Figure 8 This is a schematic diagram illustrating the concept of a page generation method in one embodiment of this application;
[0032] Figure 9This is a flowchart illustrating a page generation method in another embodiment of this application;
[0033] Figure 10 This is a schematic diagram of the interface for modifying the delivery strategy in a page generation method according to an embodiment of this application;
[0034] Figure 11 This is a flowchart illustrating a preferred embodiment of a page generation method according to this application.
[0035] Figure 12 This is a schematic diagram of the structure of a page generation device according to an embodiment of this application. Detailed Implementation
[0036] To enable those skilled in the art to better understand the present invention, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0037] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0038] The existing technology for ad placement has the following drawbacks: First, there is a lack of unified configuration entry points. To place ads in different locations on the app (Application) interface, different systems need to be logged into for operation.
[0039] Secondly, there is no unified entry point for acquiring resources. Taking financial software as an example, on the user's holdings list interface, it may be necessary to display currently ongoing activities and articles related to those activities. Currently, the only approach is for front-end engineers to call different front-end services to obtain these resources. After the activity ends, if the front-end engineers do not remove the relevant code, this useless code will remain, affecting the subsequent launch of other activities.
[0040] Thirdly, the priority, launch, and delaunch of activities cannot be flexibly controlled. Taking financial software as an example, when displaying content related to an ongoing activity on a user's holdings list interface, and also pushing other promotional resources (such as the user's current monthly financial product report) on the same interface, the display order of the activity content and other promotional resources must be determined when writing the code for the holdings list interface because these need to be obtained from different systems. If the display order needs to be changed later, or the activity needs to be delaunched, the front-end code of the interface must be modified, which is very inconvenient.
[0041] Fourth, the lack of unified management of ad-hoc access criteria makes them difficult to reuse. These access criteria refer to the rules used by the system that distributes a resource to determine whether it should be displayed when it needs to be deployed. Currently, different systems are involved in deploying resources to different scenarios and users, and the access criteria in these systems are usually different. If the access criteria of one system are incompatible with those of the currently used system, the current system's access criteria need to be modified again. Furthermore, if the logic of the current system's access criteria is modified, the access criteria of other systems that interface with the current system also need to be modified simultaneously, which is extremely cumbersome.
[0042] Fifth, the display style of the deployed resources is inflexible. For the existing styles currently being deployed, even if only simple modifications are needed, such as an icon (interface title label), background color, or background image, the front-end engineer still needs to modify the front-end code of the interface and redeploy it. If the interface linked to by the style changes after modifying the current deployed style, the back-end also needs to modify the redirect address of the style synchronously, which is very troublesome.
[0043] To address the aforementioned technical problems, this application provides a page generation method, apparatus, storage medium, and electronic device.
[0044] According to an embodiment of this application, a page generation method embodiment is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0045] Figure 2 This is a flowchart illustrating a page generation method according to an embodiment of this application, such as... Figure 2 As shown, the method includes the following steps:
[0046] Step S202: In response to receiving a page access instruction, obtain the user information corresponding to the page access instruction and the preset delivery plan corresponding to the resource position through a preset interface. The resource position is used to represent the display position of the content to be delivered on the page accessed by the page access instruction, and the preset delivery plan is used to represent the mapping relationship between different user information and the content to be delivered.
[0047] Specifically, the aforementioned preset interface can be the API (Application Programming Interface) interface for the entire campaign process after unifying the campaign workflow. The aforementioned user information may include, but is not limited to: user registration time, the scale of products purchased by the user and revenue data for purchased goods, user category tags, etc.
[0048] As an optional implementation method, the preset delivery plan can be a delivery plan formulated by the staff after determining the content to be delivered. The delivery plan consists of delivery positions (i.e., resource slots), delivery templates (i.e., display template styles), delivery access (i.e., preset verification rules), and materials (i.e., display content).
[0049] In one optional embodiment, the content to be displayed includes a display template style and display content. Figure 3 The following is a schematic diagram showing the template style, which is one of the page generation methods in the embodiments of this application. Figure 3 As shown, the display template can be a general basic component, including content element fields, background images, links, and CSS (Cascading Style Sheets). The links mentioned above can be pseudo-class selectors. The list basic components include the `List` tag used to define the general basic template and the `showtype` tag used to define the display format, which can include, but is limited to, sliders, carousels, etc. The CSS can define the font size and color of the displayed content. The displayed content can be the currently displayed content, such as articles and videos. Articles could be monthly reports on the user's behavior or announcements of new product launches, while videos could be explanations of a product or promotional videos for events.
[0050] Step S204: Obtain the target delivery plan based on user information and preset delivery plan.
[0051] Specifically, user information may include, but is not limited to, user registration time, user profile, and information on assets held by the user in the financial software.
[0052] Optionally, obtaining the target delivery plan based on user information and a preset delivery plan includes: determining target decision factors corresponding to user information from multiple decision factors, wherein different decision factors are used to characterize different user characteristics; and determining the target delivery plan from the preset delivery plan based on the target decision factors.
[0053] In one optional embodiment, multiple decision factors can be determined first based on user information. Different decisions are therefore used to characterize different user characteristics. For example, user characteristics could be used to characterize whether a user is a new user, or to characterize whether a user holds assets in the financial software. After obtaining multiple decision factors, an initial deployment plan matching the multiple decision factors can be determined from a preset deployment plan.
[0054] Optionally, determining the target delivery plan from the preset delivery plan based on the target decision factors includes: determining an initial delivery plan that matches the target decision factors from the preset delivery plan; in response to the number of initial delivery plans being greater than the preset number, obtaining the priority of the initial delivery plans; and determining the target delivery plan from the initial delivery plan based on the priority.
[0055] Specifically, if there is only one initial campaign, that initial campaign is designated as the target campaign. If there are multiple initial campaigns, the campaign with the highest priority among them is designated as the target campaign.
[0056] As an optional implementation method, Figure 4 This is a schematic diagram illustrating the deployment process of a page generation method according to an embodiment of this application, such as... Figure 4 As shown, before launching the campaign, staff need to formulate a content delivery decision F() (i.e., the aforementioned pre-set delivery plan) in advance, and can obtain user information to determine multiple decision factors x1, x2, x3…x4. n By substituting the decision factors into the preset delivery plan, the decision result Y (i.e., the target delivery plan mentioned above) can be obtained.
[0057] It should be noted that staff can adjust the relationship between decision factors and preset deployment plans according to actual needs. For example, preset deployment plan A can use decision factors x2 and x3, while preset deployment plan B can use x1, x1, and x3. It is also worth noting that new deployment plans in this application can still use historical decision factors, achieving flexible reuse of decision factors.
[0058] Step S206: Obtain the target content to be delivered according to the target delivery plan.
[0059] As an alternative implementation, the target content to be delivered for the target delivery plan can be obtained from the database. Figure 5 This is a schematic diagram of the data table relationship in a database in a page generation method according to an embodiment of this application, such as... Figure 5 As shown, the deployment location information table is associated with the deployment location-deployment plan relationship table and the deployment location-template relationship table. The deployment location-deployment plan relationship table is associated with the deployment plan table. The deployment location-template relationship table is associated with the template style table. The template style table is associated with the template-material type relationship table. The deployment location information can be resource location information, the deployment plan can be a preset deployment plan, the template can be a display template, and the materials can be text, image, or video content displayed in the resource location.
[0060] Figure 6 This is a schematic diagram of the delivery process module in a page generation method according to an embodiment of this application, such as... Figure 6 As shown, the entire campaign process can be divided into five modules: campaign platform module, campaign plan module, campaign access module, campaign module, and campaign resource module. The campaign resource module includes the content to be campaigned, such as articles and announcements.
[0061] Furthermore, the delivery site and the preset rule data packet have a one-to-one relationship, but the delivery plan and the preset verification rule have a one-to-one relationship, and the delivery site and the delivery plan have a one-to-many relationship. Figure 7 This is a schematic diagram illustrating the relationship between delivery sites, delivery plans, and preset verification rules in a page generation method according to an embodiment of this application. Figure 7 As shown, taking financial software as an example, placement platform 1 is the banner display position on the fund holdings list interface. Placement platform 1 corresponds to placement plan A, which plans to place multiple articles and incentive information in this banner. Placement plan A uses preset verification rule package 1, which includes preset verification rule 1, for verification during placement. Placement platform 2 is the companion position on the fund holdings list interface, which corresponds to placement plan B. Placement plan B plans to place incentive information for the user when a certain indicator reaches a preset threshold in this companion position. Placement plan B uses preset verification rule package 2, which includes preset verification rule 2, for verification during placement. Placement platform 3 is the pop-up window on the high-end fund holdings list interface. This pop-up window corresponds to multiple placement plans, including placement plan N and placement plan X. Placement plan N plans to place high-yield and related incentive information for the fund in this pop-up window. Placement plan X plans to place target incentive information in this pop-up window. Placement plan N uses preset verification rule N in preset rule data package 3, and placement plan X uses preset verification rule X in preset rule data package 3.
[0062] Optionally, the target content to be delivered includes: display template style and display content. The display content includes at least text and video, and the display template style is used to characterize the display style of the display content on the page.
[0063] Step S208: Generate a page based on the target content to be delivered.
[0064] Optionally, generating a page based on the target content to be delivered includes: verifying whether the user information and the target content to be delivered match based on preset verification rules, and obtaining a verification result; in response to the verification result indicating that the user information and the target content to be delivered match, generating a page based on the target content to be delivered.
[0065] Specifically, the preset verification rules can be a mapping relationship between pre-set resource slots, user information, and preset delivery plans, used to verify whether the current user information and the target content to be delivered meet the mapping relationship in the preset verification rules.
[0066] Optionally, generating a page based on the target content to be delivered includes: filling the display content into the resource slot to obtain the target resource slot; and generating a page based on the display template style and the target resource slot.
[0067] Specifically, you can first fill the display content into the resource slot, and then fill the display template style into the resource slot that has already been filled with display content to get the page.
[0068] As an optional implementation method, Figure 8 This is a schematic diagram of a page generation method in an embodiment of this application. When a user needs to access a resource slot in the interface, the first step is to obtain all preset delivery plans related to that resource slot. The delivery engine determines the target delivery plan by matching all preset delivery plans with decision factors. For example, the decision factor can be decision factor 1, which indicates whether the user is a new customer; decision factor 2, which indicates whether the user is a satisfied holding user; or decision factor 3, which indicates whether the user has achieved a small goal. Among these, a satisfied holding user can be a user who has participated in the satisfied plan. The satisfied plan is just an example in this application. A user who has achieved a small goal can refer to a user whose asset size has reached a certain preset threshold, or a user whose profit has reached a certain preset threshold. The target content to be delivered corresponding to the target delivery plan is obtained, and the display template and display content in the content to be delivered are assembled to generate delivery data. The delivery data is then delivered to the resource slot, and the resource slot is displayed in the display interface.
[0069] As an optional implementation method, Figure 9 This is a flowchart illustrating a page generation method in another embodiment of this application, as shown below. Figure 9As shown, upon receiving a user access command, the front-end determines the resource location in the interface corresponding to the access command, then determines the content to be delivered to that resource location, and transmits the query request to the front-end. The front-end can obtain user information and SID (Security Identifier) information, etc. After obtaining the user information and SID information, the content platform can obtain all preset delivery plans related to that resource location, and the strategy platform obtains the variables (i.e., decision factors) that need to be determined in the preset verification rules corresponding to the preset delivery plans. Specifically, the content platform determines decision factors, i.e., common variables, related to the variables that need to be determined in the preset delivery plan from user information and SID information. Then, it uses preset verification rules corresponding to the target delivery plan to verify the mapping relationship between the target delivery plan, user information, and resource positions. After the verification is passed, the ID of the target delivery plan is obtained. Based on the ID, the display template style and display content (i.e., materials) used to jump to the resource position are obtained. The display content is provided by the content pool platform, including article materials, video materials, banner materials, and announcement materials, etc. The display content can be filled into the List<materials> in the resource position, and then the display template is filled into the resource position.
[0070] Through the above steps, after receiving a page access instruction, the user information corresponding to the page access instruction and the preset delivery plan corresponding to the resource position can be obtained through a preset interface. This eliminates the need to obtain the required information from interfaces provided by different systems. Subsequently, based on the user information and the preset delivery plan, the target delivery plan is obtained, and then the target content to be delivered according to the target delivery plan is obtained. Finally, the page is generated based on the target content to be delivered. It is noteworthy that this application uses a unified preset interface to obtain user information and the preset delivery plan corresponding to the resource position, and obtains the target delivery plan from the preset delivery plan based on the user information. This achieves the purpose of reusing the delivery plan, thereby reducing the workload when adjusting the delivery content and solving the technical problem of low efficiency caused by the cumbersome steps of adjusting the delivery content.
[0071] Optionally, the preset delivery plan is stored in the database. The method further includes: outputting the current delivery strategy stored in the database, wherein the current delivery strategy includes: the current resource location, the current user information, the current preset verification rules, and the current delivery plan; in response to receiving an operation instruction to modify the current delivery strategy, obtaining the target delivery strategy corresponding to the operation instruction; and updating the target delivery strategy to the database through a preset interface.
[0072] Specifically, the current delivery strategy can be the strategy information currently used by the system, including the current resource location, current user information, current preset verification rules, and current delivery plan, as well as the relationships among these information.
[0073] As an optional embodiment, Figure 10 This is a schematic diagram of the interface for modifying the delivery strategy in a page generation method according to an embodiment of this application, such as... Figure 10 As shown, staff can select the deployment sites that need to be modified. The strategy package is used to represent and store data packets containing some admission rules, deployment plans and their corresponding priorities. Then, users can click the "Add" button to add configuration information, configure admission rules, deployment plans and their priority identification.
[0074] Figure 11 This is a flowchart illustrating a preferred embodiment of a page generation method according to this application. Figure 11 As shown, upon receiving a page access instruction, the system first determines whether a delivery platform exists on the page requested by the instruction. In this application, the presence of a delivery platform identifier on the page is used to confirm its existence. If a delivery platform exists, all preset delivery plans associated with that delivery platform are retrieved and verified. The system then checks whether variables exist in the preset verification rules corresponding to all preset delivery plans. If variables exist, the system identifies the variables present in the preset verification rules and retrieves the corresponding common variables (i.e., decision factors) from the user information. These are then verified using the preset verification rules to confirm whether the verification passes. Specifically, the common variables are matched with all preset delivery plans to obtain the target preset delivery plan that matches the common variable. The user information, resource slots, and target delivery plans are then verified using the preset verification rules. Finally, if the verification passes, the materials (i.e., display content) corresponding to the target preset delivery plan are retrieved, and the display content and display template style are filled into the resource slots to generate the page.
[0075] This application also provides a page generation apparatus. Figure 12 This is a schematic diagram of the structure of a page generation device according to an embodiment of this application, such as... Figure 12 As shown, the device includes:
[0076] The first acquisition module 122 is used to respond to receiving a page access instruction by acquiring the user information corresponding to the page access instruction and the preset delivery plan corresponding to the resource position through a preset interface. The resource position is used to represent the display position of the content to be delivered in the page accessed by the page access instruction, and the preset delivery plan is used to represent the mapping relationship between different user information and the content to be delivered.
[0077] The first module 124 is used to obtain the target delivery plan based on user information and a preset delivery plan; the second module is used to obtain the target content to be delivered in accordance with the target delivery plan.
[0078] The generation module 126 is used to generate a page based on the target content to be delivered.
[0079] Optionally, the module includes: a decision factor determination unit, used to determine the target decision factor corresponding to the user information from multiple decision factors, wherein different decision factors are used to characterize different user characteristics; and a delivery plan determination unit, used to determine the target delivery plan from the preset delivery plan based on the target decision factor.
[0080] Optionally, the delivery plan determination unit is further configured to determine an initial delivery plan that matches the target decision factor from the preset delivery plans; in response to the number of initial delivery plans being greater than the preset number, obtain the priority of the initial delivery plans; and determine the target delivery plan from the initial delivery plans based on the priority.
[0081] Optionally, the target content to be delivered includes: display template style and display content. The display content includes at least text and video, and the display template style is used to characterize the display style of the display content on the page.
[0082] Optionally, the generation module includes: a verification unit, used to verify whether the user information and the target content to be delivered match based on preset verification rules, and obtain a verification result; and a page generation unit, used to generate a page based on the target content to be delivered in response to the verification result that the user information and the target content to be delivered match.
[0083] Optionally, the page generation unit is also used to fill the display content into the resource slot to obtain the target resource slot; and to generate the page based on the display template style and the target resource slot.
[0084] Optionally, the device further includes: an output module for outputting current configuration information stored in the database, wherein the current configuration information includes: current resource bit, current user information, current preset verification rules, and current deployment plan; an instruction acquisition module for acquiring target configuration information corresponding to the received operation instruction to modify the current configuration information; and an update module for updating the target configuration information to the database through a preset interface.
[0085] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer-readable storage medium, and the computer program is configured to execute any of the page generation methods in the embodiments when run by a processor.
[0086] According to another aspect of the embodiments of this application, an electronic device is also provided, wherein a memory stores a computer program, and a processor is configured to run the computer program to perform any of the page generation methods in the embodiments.
[0087] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0088] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0089] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0090] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0091] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0092] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0093] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A page generation method, characterized in that, include: In response to receiving a page access instruction, it is determined whether there is a delivery site identifier in the page accessed by the page access instruction, wherein the delivery site identifier is used to indicate whether there is a resource bit in the page accessed by the page access instruction; In response to the existence of the delivery site identifier, the user information corresponding to the page access instruction and the preset delivery plan corresponding to the resource position are obtained through a preset interface. The user information includes a user profile, the resource position is used to represent the display position of the content to be delivered in the page accessed by the page access instruction, and the preset delivery plan is used to represent the mapping relationship between different user information and the content to be delivered. The preset delivery plan is validated to determine whether there are variables in the preset validation rules corresponding to the preset delivery plan; In response to the presence of variables in the preset verification rules, multiple target decision factors corresponding to the user information are determined from multiple decision factors based on the user information and security identifier information; An initial delivery plan matching the multiple target decision factors is determined from the preset delivery plan; In response to the initial deployment plan having a quantity greater than a preset quantity, the priority of the initial deployment plan is obtained; The target deployment plan is determined from the initial deployment plan based on the priority; The user information, the resource slot, and the target delivery plan are verified based on the preset verification rules. If the verification is successful, the target content to be delivered corresponding to the target delivery plan is obtained. The target content to be delivered includes a display template style and display content. The display content includes at least text and video. The display template style is used to characterize the display style of the display content on the page. Based on preset verification rules, the user information and the target content to be delivered are verified to determine whether they match, and the verification result is obtained. In response to the verification result indicating that the user information and the target content to be delivered match, the display content is filled into the resource slot to obtain the target resource slot; A page is generated based on the display template style and the target resource location.
2. The method according to claim 1, characterized in that, The preset delivery plan is stored in a database, and the method further includes: Output the current configuration information stored in the database, wherein the current configuration information includes: current resource location, current user information, current preset verification rules, and current delivery plan; In response to receiving an operation instruction to modify the current configuration information, the target configuration information corresponding to the operation instruction is obtained; The target configuration information is updated to the database through the preset interface.
3. A page generation device, characterized in that, include: The first acquisition module is configured to, in response to receiving a page access instruction, determine whether a delivery location identifier exists in the page accessed by the page access instruction, wherein the delivery location identifier is used to indicate whether a resource slot exists in the page accessed by the page access instruction; in response to the existence of the delivery location identifier, acquire user information corresponding to the page access instruction and a preset delivery plan corresponding to the resource slot through a preset interface, wherein the user information includes a user profile, the resource slot is used to characterize the display position of the content to be delivered in the page accessed by the page access instruction, and the preset delivery plan is used to characterize the mapping relationship between different user information and the content to be delivered; The module is configured to: validate the preset delivery plan; determine whether there are variables in the preset validation rules corresponding to the preset delivery plan; in response to the presence of variables in the preset validation rules, determine multiple target decision factors corresponding to the user information from multiple decision factors based on the user information and security identifier information; determine an initial delivery plan matching the multiple target decision factors from the preset delivery plan; in response to the number of initial delivery plans being greater than a preset number, obtain the priority of the initial delivery plan; and determine a target delivery plan from the initial delivery plan based on the priority. The second acquisition module is used to verify the user information, the resource slot and the target delivery plan based on the preset verification rules, and if the verification is successful, to acquire the target content to be delivered corresponding to the target delivery plan. The target content to be delivered includes: a display template style and display content. The display content includes at least text and video. The display template style is used to characterize the display style of the display content on the page. The generation module is used to verify whether the user information and the target content to be delivered match based on preset verification rules, and obtain a verification result; in response to the verification result that the user information and the target content to be delivered match, the display content is filled into the resource slot to obtain the target resource slot; and a page is generated based on the display template style and the target resource slot.
4. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the page generation method according to any one of claims 1 to 2 when run by a processor.
5. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to run the computer program to perform the page generation method as described in any one of claims 1 to 2.