Page generation method, device and electronic device
By determining the page template and seed material and filling the material in batches based on the material matching strategy, the problem of inefficient content delivery page creation in the existing technology is solved, and efficient page generation and resource reuse is achieved.
Patent Information
- Application Number
- CN202210486142.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-06
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2042-05-06
AI Technical Summary
In the prior art, the creation of content delivery pages requires developers to re-develop code, resulting in high labor costs and low generation efficiency.
By obtaining the generation request of the target page, the page template and seed material are determined, and the target material is batch determined and filled to generate the target page based on the material matching strategy of the slot to be filled.
Improve page generation efficiency, reduce developer workload, and improve resource reuse through template reuse.
Smart Images

Figure CN114860238B_ABST
Abstract
Description
Technical Field
[0001] This document relates to the field of Internet technology, and in particular to a page generation method, device and electronic device. Background Art
[0002] With the rapid development of Internet technology, content delivery on the Internet has gradually become one of the main ways of content dissemination due to its advantages of being faster, more convenient, and more flexible. Content delivery on the Internet is usually presented in the form of users being able to jump to the corresponding content delivery page by clicking on a link or page. At present, the creation of a content delivery page often requires the demand personnel to provide the developer with specific requirements for the content delivery page, and the developer then develops the code based on the specific requirements of the content delivery page. This means that the creation of each content delivery page requires the developer to redevelop it, which results in high labor costs.
[0003] Therefore, how to improve the efficiency of page generation and reduce the workload of developers still needs to provide further solutions. Summary of the invention
[0004] The purpose of the embodiments of this specification is to provide a page generation method, device and electronic device to improve page generation efficiency.
[0005] To solve the above technical problems, the embodiments of this specification are implemented as follows:
[0006] In a first aspect, a page generation method is proposed, comprising:
[0007] Get the generated request of the target page;
[0008] Based on the request for generating the target page, determining a page template of the target page and a seed material of the target page, wherein the page template of the target page includes at least one slot to be filled;
[0009] Determine a target material for filling the target slot to be filled based on a material matching strategy corresponding to a target slot to be filled in the at least one slot to be filled and a seed material of the target page, so as to obtain a target material corresponding to each of the at least one slot to be filled;
[0010] The target material corresponding to each of the at least one slot to be filled is filled into the at least one slot to be filled, so as to generate the target page.
[0011] In the second aspect, a page generation method is proposed, comprising:
[0012] Get the generated request for multiple pages;
[0013] Based on the generation request of the multiple pages, determining page templates of the multiple pages and seed materials of the multiple pages, wherein each page template of the multiple pages includes at least one slot to be filled;
[0014] Determine a target material for filling the target slot to be filled based on a material matching strategy corresponding to a target slot to be filled in at least one slot to be filled in each page template of the multiple pages and the seed materials of the multiple pages, so as to obtain a target material corresponding to each of the at least one slot to be filled in each page template of the multiple pages;
[0015] The target materials corresponding to at least one slot to be filled in each page template of the multiple pages are respectively filled into at least one slot to be filled in each page template of the multiple pages, so as to batch generate the multiple pages.
[0016] In a third aspect, a page generation device is proposed, comprising:
[0017] Request acquisition module, obtains the generation request of the target page;
[0018] A template determination module, based on the request for generating the target page, determines a page template of the target page and a seed material of the target page, wherein the page template of the target page includes at least one slot to be filled;
[0019] A material determination module determines a target material for filling the target slot to be filled based on a material matching strategy corresponding to a target slot to be filled in the at least one slot to be filled and a seed material of the target page, so as to obtain a target material corresponding to each of the at least one slot to be filled;
[0020] The page generation module fills the target material corresponding to each of the at least one slot to be filled into the at least one slot to be filled, and generates the target page.
[0021] In a fourth aspect, a page generation device is provided, comprising:
[0022] Request acquisition module, which obtains generation requests for multiple pages;
[0023] A template determination module, based on the generation request of the multiple pages, determines page templates of the multiple pages and seed materials of the multiple pages, wherein each page template of the multiple pages includes at least one slot to be filled;
[0024] A material determination module determines a target material for filling the target slot to be filled in at least one slot to be filled in each page template of the multiple pages based on a material matching strategy corresponding to the target slot to be filled in at least one slot to be filled in each page template of the multiple pages and the seed materials of the multiple pages, so as to obtain a target material corresponding to each of the at least one slot to be filled in each page template of the multiple pages;
[0025] The page generation module fills the target materials corresponding to at least one slot to be filled in each page template of the multiple pages into at least one slot to be filled in each page template of the multiple pages, and batch generates the multiple pages.
[0026] In a fifth aspect, an electronic device is provided, comprising:
[0027] Processor; and
[0028] a memory arranged to store computer executable instructions which, when executed, cause the processor to:
[0029] Get the generated request of the target page;
[0030] Based on the request for generating the target page, determining a page template of the target page and a seed material of the target page, wherein the page template of the target page includes at least one slot to be filled;
[0031] Determine a target material for filling the target slot to be filled based on a material matching strategy corresponding to a target slot to be filled in the at least one slot to be filled and a seed material of the target page, so as to obtain a target material corresponding to each of the at least one slot to be filled;
[0032] The target material corresponding to each of the at least one slot to be filled is filled into the at least one slot to be filled, so as to generate the target page.
[0033] In a sixth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by an electronic device including a plurality of application programs, the electronic device performs the following operations:
[0034] Get the generated request of the target page;
[0035] Based on the request for generating the target page, determining a page template of the target page and a seed material of the target page, wherein the page template of the target page includes at least one slot to be filled;
[0036] Determine a target material for filling the target slot to be filled based on a material matching strategy corresponding to a target slot to be filled in the at least one slot to be filled and a seed material of the target page, so as to obtain a target material corresponding to each of the at least one slot to be filled;
[0037] The target material corresponding to each of the at least one slot to be filled is filled into the at least one slot to be filled, so as to generate the target page.
[0038] In a seventh aspect, an electronic device is provided, comprising:
[0039] Processor; and
[0040] a memory arranged to store computer executable instructions which, when executed, cause the processor to:
[0041] Get the generated request for multiple pages;
[0042] Based on the generation request of the multiple pages, determining page templates of the multiple pages and seed materials of the multiple pages, wherein each page template of the multiple pages includes at least one slot to be filled;
[0043] Determine a target material for filling the target slot to be filled based on a material matching strategy corresponding to a target slot to be filled in at least one slot to be filled in each page template of the multiple pages and the seed materials of the multiple pages, so as to obtain a target material corresponding to each of the at least one slot to be filled in each page template of the multiple pages;
[0044] The target materials corresponding to at least one slot to be filled in each page template of the multiple pages are respectively filled into at least one slot to be filled in each page template of the multiple pages, so as to batch generate the multiple pages.
[0045] In an eighth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by an electronic device including a plurality of application programs, the electronic device performs the following operations:
[0046] Get the generated request for multiple pages;
[0047] Based on the generation request of the multiple pages, determining page templates of the multiple pages and seed materials of the multiple pages, wherein each page template of the multiple pages includes at least one slot to be filled;
[0048] Determine a target material for filling the target slot to be filled based on a material matching strategy corresponding to a target slot to be filled in at least one slot to be filled in each page template of the multiple pages and the seed materials of the multiple pages, so as to obtain a target material corresponding to each of the at least one slot to be filled in each page template of the multiple pages;
[0049] The target materials corresponding to at least one slot to be filled in each page template of the multiple pages are respectively filled into at least one slot to be filled in each page template of the multiple pages, so as to batch generate the multiple pages.
[0050] It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification have at least one of the following technical effects:
[0051] One or more embodiments provided in this specification can determine the page template of the target page and the seed material of the target page based on the generation request of the target page. The page template of the target page includes at least one slot to be filled, and each slot to be filled is configured with a corresponding material matching strategy. Then, based on the material matching strategy corresponding to the at least one slot to be filled and the seed material of the target page, target materials adapted to each slot to be filled are determined in batches, and batch filling of these multiple slots to be filled is completed, thereby generating the target page, which greatly improves the generation efficiency of the target page. Moreover, the use of templates to generate the target page can also enable the same type of pages to reuse the template, thereby improving the reuse rate of resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0053] Figure 1 It is a schematic diagram of an implementation flow of a page generation method provided by an embodiment of this specification.
[0054] Figure 2 It is a schematic diagram of a page template of a book page in a page generation method provided in an embodiment of this specification.
[0055] Figure 3 It is a schematic diagram of a page template of a book page after being filled with materials in a page generation method provided in an embodiment of the present specification.
[0056] Figure 4It is a flowchart of a page generation method provided according to an embodiment of the present specification applied to a book delivery scenario.
[0057] Figure 5 This is a schematic diagram of an implementation flow of another page generation method provided by an embodiment of this specification.
[0058] Figure 6 It is a structural schematic diagram of a page generating device provided by an embodiment of this specification.
[0059] Figure 7 It is a structural schematic diagram of an electronic device provided by an embodiment of this specification.
[0060] Figure 8 It is a structural schematic diagram of a page generating device provided by an embodiment of this specification.
[0061] Fig. 9 It is a structural schematic diagram of an electronic device provided by an embodiment of this specification. DETAILED DESCRIPTION
[0062] In order to make the purpose, technical solution and advantages of this document more obvious, the example embodiments according to this document will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of this document, rather than all the embodiments of this document, and it should be understood that this document is not limited to the example embodiments described here.
[0063] Embodiments of the present document will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present document are shown in the accompanying drawings, it should be understood that the present document can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein, which are instead provided for a more thorough and complete understanding of the present document. It should be understood that the drawings and embodiments of the present document are for exemplary purposes only and are not intended to limit the scope of protection of the present document.
[0064] It should be understood that the various steps described in the method implementation of this document can be performed in different orders and / or performed in parallel. In addition, the method implementation may include additional steps and / or omit the steps shown. The scope of this document is not limited in this respect.
[0065] The term "including" and its variations used in this document are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0066] It should be noted that the concepts such as "first" and "second" mentioned in this document are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0067] It should be noted that the modifications of "one" and "plurality" mentioned in this document are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0068] The names of the messages or information exchanged between multiple devices in the implementation manner of this document are for illustrative purposes only and are not used to limit the scope of these messages or information.
[0069] As described in the background technology, currently, the creation process of a content delivery page often requires the following process:
[0070] (1) The requirements personnel provide the developer with the required style of the page to be created;
[0071] (2) Developers develop code based on the required style of the page;
[0072] (3) Developers insert tracking points at the locations of pages that users may operate to trigger statistics on user access records;
[0073] (4) Generate a URL for the created page;
[0074] (5) Advertising based on the URL of the page;
[0075] (6) When a user clicks on a page to access resources, obtain the user's access record;
[0076] (7) The developer writes a program to collect statistics on the access records of multiple users visiting the page and displays them to the operations staff.
[0077] Obviously, the current way of creating this kind of page requires strong support from developers, and each new page needs to be redeveloped, which has high labor costs and a long entire cycle.
[0078] In view of this, one or more embodiments of the present specification provide a page generation method to improve the efficiency of page creation. Specifically, based on the generation request of the target page, the page template of the target page and the seed material of the target page can be determined, the page template of the target page contains at least one slot to be filled, each slot to be filled is configured with a corresponding material matching strategy, and then based on the material matching strategy corresponding to the at least one slot to be filled and the seed material of the target page, the target material adapted to each slot to be filled is determined in batches, and the batch filling of these multiple slots to be filled is completed, thereby generating the target page, which greatly improves the generation efficiency of the target page, and the use of a template to generate the target page can also enable the same type of page to reuse the template, thereby improving the reuse rate of resources.
[0079] It should be understood that the execution subject of the page generation method provided in the embodiments of this specification may be, but is not limited to, a server, a computer, etc., which can be configured to execute at least one of the user terminals of the method provided in the embodiments of this specification.
[0080] For ease of description, the following takes the execution subject of the method as a server capable of executing the method as an example to introduce the implementation of the method. It can be understood that the execution subject of the method as a server is only an exemplary description and should not be understood as a limitation of the method.
[0081] Figure 1 It is a schematic diagram of an implementation flow of a page generation method provided by an embodiment of this specification. Figure 1 Methods may include:
[0082] S110, obtaining a request for generating a target page.
[0083] As an example, the target page generation request may include style information of the target page, purpose of the target page, and other information for indicating the final generation effect of the target page.
[0084] Optionally, the target page generation request may also include a content tag of the target page. The content tag of the target page is used to indicate the content theme of the material used to fill the target page, such as game, book, APP, finance and other content themes.
[0085] S120: Determine a page template of the target page and a seed material of the target page based on a request for generating the target page, wherein the page template of the target page includes at least one slot to be filled.
[0086] As an example, a page template library of a page can be maintained, and the page template library of the page contains page templates of various types of pages, such as page templates for game pages, page templates for book pages, page templates for APP pages, page templates for financial pages, and so on. The page template of each page carries corresponding content tags, purpose tags, style tags and other tags. After obtaining the target page generation request, the page template of the target page that meets the target page generation request can be determined from the page template library of the page. If it is a book page, the page template of the target page that meets the book delivery requirements can be determined from the page template library of the page; if it is a game page, the page template of the target page that meets the game delivery requirements can be determined from the page template library of the page.
[0087] The page template of the target page includes at least one slot to be filled, and one slot to be filled corresponds to one material matching strategy. In order to realize automatic matching of materials matching the material matching strategy of each slot to be filled based on the page template of the target page, the material type, material content label, material size (length, width and other size information) of the corresponding slot to be filled can be configured in the material matching strategy of each slot to be filled.
[0088] Optionally, in order to count the delivery effect of the target page, the page template of the target page may also include multiple embedding points, which are used to trigger the statistics of the user's access data to the target page when the user operates the target page. It should be understood that the multiple embedding points in the page template of the target page should be set at the position where the user may click.
[0089] Among them, one target page corresponds to one seed material. The seed material of the target page can be directly specified by the requester of the target page, that is, the requester of the target page directly selects it from the material library; or it can be carried in the page template of the target page, that is, a default seed material can be configured for each page template for the requester of the target page to choose. The requester of the target page can choose to use the seed material, or re-select the seed material from the material library; or it can also be matched from the material library based on the content tag carried in the target page generation request.
[0090] Optionally, in order to improve the efficiency of matching materials for the page template of the target page, the seed material that obviously matches the content tag of the target page can be determined from the target material library that matches the page template type of the target page based on the content tag carried in the target page generation request, and then the materials associated with the seed material can be determined in batches from the target material library. Specifically, the target page generation request includes the content tag of the target page, and based on the target page generation request, the page template of the target page and the seed material of the target page are determined, including:
[0091] Determine a target material library that matches the page template type of the target page from among multiple material libraries;
[0092] Based on the content tag of the target page, the seed material of the target page is determined from the target material library.
[0093] Figure 2 Schematic diagram of a page template of a book page in a page generation method provided in an embodiment of the present specification. As an example, based on a request for generating a target page, the page template of the target page is determined to be Figure 2 The page template of the book page shown in the figure contains multiple slots to be filled, including the illustrated "book cover", "book title", "book content label", "book content introduction" and "similar novel recommendation".
[0094] S130, determining a target material for filling the target slot to be filled based on a material matching strategy corresponding to a target slot to be filled in at least one slot to be filled and a seed material of a target page, so as to obtain a target material corresponding to each of the at least one slot to be filled.
[0095] In order to improve the efficiency of target page generation, the corresponding material library can be configured in advance according to the page templates of different pages, such as the material library of games and the material library of books.
[0096] Optionally, the material matching strategy in the at least one slot to be filled includes at least one of the following:
[0097] A material matching strategy for determining materials similar to the seed materials of the target page from the target material library;
[0098] Determine a material matching strategy for materials with the same tags as the seed materials of the target page from the target material library;
[0099] A material matching strategy for determining the material of the work introduction that matches the seed material of the target page from the target material library;
[0100] A material matching strategy for extracting the specified picture frame material in the related video of the seed material of the target page from the target material library.
[0101] Optionally, the material matching strategy in the at least one slot to be filled also includes material size and material type.
[0102] As an example, when the material matching strategy in at least one slot to be filled is a material matching strategy of determining a material similar to the seed material of the target page from the target material library, and the material type is a picture, based on the seed material of the target page and the material matching strategy in the target slot to be filled, the target material for filling the target slot to be filled is determined from the target material library. Specifically, based on the seed material of the target page, a picture similar to the seed material of the target page can be selected from the target material library as the target material for filling the target slot to be filled.
[0103] When the material matching strategy in at least one slot to be filled is a material matching strategy of determining the material of the work introduction that matches the seed material of the target page from the target material library, and the material type is text, based on the seed material of the target page and the material matching strategy in the target slot to be filled, the target material for filling the target slot to be filled is determined from the target material library. Specifically, according to the seed material of the target page, the work introduction that matches the seed material of the target page can be selected from the target material library as the target material for filling the target slot to be filled.
[0104] When the material matching strategy in at least one slot to be filled is a material matching strategy of extracting a specified picture frame material in a related video of a target seed material from a target material library, and the material type is a picture, based on the seed material of the target page and the material matching strategy in the target slot to be filled, the target material to fill the target slot to be filled is determined from the target material library. Specifically, according to the seed material of the target page, a specified picture frame in a related video of the target seed material is extracted from the target material library as the target material to fill the target slot to be filled.
[0105] When the material matching strategy in at least one slot to be filled is a material matching strategy of determining from the target material library a material with a label similar to that of the seed material of the target page, and the material type is video, based on the seed material of the target page and the material matching strategy in the target slot to be filled, the target material for filling the target slot to be filled is determined from the target material library. Specifically, based on the seed material of the target page, a video with a label similar to that of the seed material of the target page can be determined from the target material library as the target material for filling the target slot to be filled.
[0106] As an example, the material matching strategy for slot 1 to be filled is a material matching strategy for determining a material similar to the seed material of the target page from the target material library, the material type is a picture, and the material size is a 4:1 aspect ratio, and the material matching strategy for slot 2 to be filled is a material matching strategy for determining a text parsing material matching the seed material of the target page from the target material library, the material type is text, and the material size is within a length of 50. Based on the material matching strategy for slot 1 to be filled, the image material to fill the slot to be filled can be obtained from the target material library, and based on the material matching strategy for slot 2 to be filled, the text material to fill the slot to be filled can be obtained from the target material library.
[0107] Continue to use the above Figure 2 Take the page template of the book page as an example. The slots to be filled in the page template of the book page include: "Book Cover", "Book Title", "Book Content Label", "Book Content Introduction" and "Similar Novels Recommendation". Each slot to be filled corresponds to a material matching strategy. For example, the material matching strategy corresponding to the slot "Book Cover" to be filled is to determine the book cover that matches the seed material from the target material library, the material matching strategy corresponding to the slot "Book Title" to be filled is to determine the book title that matches the seed material from the target material library, the material matching strategy corresponding to the slot "Book Content Label" to be filled is to determine the book content label that matches the seed material from the target material library, the material matching strategy corresponding to the slot "Book Content Introduction" to be filled is to determine the book content introduction that matches the seed material from the target material library, and the material matching strategy corresponding to the slot "Similar Novels Recommendation" to be filled is to determine the material matching strategy of materials similar to the seed material from the target material library.
[0108] Assume that Figure 2The seed material of the book page is novel A. Then, based on the page template of the book page and the seed material of the book page, the specific process of determining the target material corresponding to at least one to-be-filled slot of the page template used to fill the book page is as follows: based on the material matching strategy corresponding to the to-be-filled slot "book cover", determine from the target material library that the book cover that matches the seed material is "novel A cover picture"; based on the material matching strategy corresponding to the to-be-filled slot "book title", determine from the target material library that the book title that matches the seed material is "novel A book title"; based on the material matching strategy corresponding to the to-be-filled slot "book title", determine from the target material library that the book title that matches the seed material is "novel A book title"; Based on the material matching strategy corresponding to the slot to be filled "Book content label", the book content labels that match the seed material are determined from the target material library as "Label 1", "Label 2", and "Label 3"; based on the material matching strategy corresponding to the slot to be filled "Book content introduction", the book content introduction that matches the seed material is determined from the target material library as "Introduction to novel A: xxx..."; based on the material matching strategy corresponding to the slot to be filled "Similar novel recommendation", the material matching strategy for materials similar to the seed material is determined from the target material library as "Novel B cover", "Novel C cover", and "Novel D cover".
[0109] S140, filling the at least one slot to be filled with the target material corresponding to each of the at least one slot to be filled, and generating a target page.
[0110] Optionally, since the types and number of generated pages are often large, in order to facilitate tracking of the delivery effect of the target page, a unique identifier can be configured for the target page, and the unique identifier can be associated with the target page and the URL of the target page. After the target page is generated, the method further includes:
[0111] Generate a unique identifier of the target page and a uniform resource locator URL of the target page;
[0112] The unique identifier of the target page is associated with the target page and the URL of the target page.
[0113] Among them, the URL of the target page can load and display the target page after being clicked by the user, that is, the URL of the target page can display the target page after being clicked by the user.
[0114] Optionally, in order to facilitate statistics and distinction of user access data of different pages, other pages may be distinguished by a unique identifier of the target page, and the user access data of the target page may be counted. The method further includes:
[0115] Based on the unique identifier of the target page, the user's access data to the target page is counted through multiple embedding points in the page template of the target page.
[0116] Optionally, the statistical data of users' visits to the target page can be sent to the mailboxes of followers of the target page, or the statistical data of users' visits to the target page can be displayed on a platform for the delivery effect of the page.
[0117] Figure 3 FIG. 1 is a schematic diagram of a page template of a book page after being filled with materials in a page generation method provided in an embodiment of the present specification. Figure 2 The target materials corresponding to the slots to be filled in the page template of the book page shown are filled into the corresponding slots to be filled, that is, the target material "Novel A cover picture" is filled into the slot to be filled "Book cover"; the target material "Novel A title" is filled into the slot to be filled "Book title"; "Label 1", "Label 2", "Label 3" are filled into the slot to be filled "Book content label"; the target material "Novel A introduction: xxx..." is filled into the slot to be filled "Book content introduction"; the target materials "Novel B cover", "Novel C cover", "Novel D cover" are filled into the slot to be filled "Similar novel recommendation", and then it can be generated. Figure 3 The Books page shown.
[0118] Figure 4 This is a flow chart of a page generation method provided by an embodiment of this specification applied to a book delivery scenario. Figure 2 and Figure 3 The schematic diagram shown, Figure 4 The generation process of the book page may include:
[0119] S401, based on a request for generating a book page, determining a page template of the book page, wherein the page template is configured with a plurality of slots to be filled, and each slot to be filled corresponds to a material matching strategy.
[0120] Among them, a plurality of embedding points are configured in the page template of the book page, and the plurality of embedding points are used to trigger statistics of the user's access data to the book page when the user operates the book page.
[0121] for example, Figure 2The material matching strategy corresponding to the slot to be filled "book cover" is to determine the book cover that matches the seed material from the target material library, the material matching strategy corresponding to the slot to be filled "book title" is to determine the book title that matches the seed material from the target material library, the material matching strategy corresponding to the slot to be filled "book content tag" is to determine the book content tag that matches the seed material from the target material library, the material matching strategy corresponding to the slot to be filled "book content introduction" is to determine the book content introduction that matches the seed material from the target material library, and the material matching strategy corresponding to the slot to be filled "similar novel recommendation" is to determine the material matching strategy of the material similar to the seed material from the target material library.
[0122] S402: configuring a jump link and a URL for a page template of a book page.
[0123] S403: Determine the seed material of the book page.
[0124] The seed material of the target landing page can be directly selected from the material library by the requester of the book page, or carried by the page template of the book page by default, or can be matched from the material library based on the content tag carried in the generation request of the book page.
[0125] For example, the seed material of the book page is "Novel A".
[0126] S404, based on the material matching strategy of each slot to be filled in the page template of the book page, determine the target material to fill the slot to be filled from the target material library corresponding to the book page.
[0127] for example, Figure 2 Based on the material matching strategy corresponding to the slot to be filled "book cover", the book cover that matches the seed material is determined to be "Novel A cover picture" from the target material library; based on the material matching strategy corresponding to the slot to be filled "book title", the book title that matches the seed material is determined to be "Novel A book title" from the target material library; based on the material matching strategy corresponding to the slot to be filled "book content label", the book content labels that match the seed material are determined to be "Label 1", "Label 2", and "Label 3" from the target material library; based on the material matching strategy corresponding to the slot to be filled "Book content introduction", the book content introduction that matches the seed material is determined to be "Novel A introduction: xxx..." from the target material library; based on the material matching strategy corresponding to the slot to be filled "Similar novel recommendation", the material matching strategy for materials similar to the seed material is determined to be "Novel B cover", "Novel C cover", and "Novel D cover" from the target material library.
[0128] S405, filling the target material into each slot to be filled in the page template of the book page, and generating the book page.
[0129] For example, Figure 2 The target materials corresponding to the slots to be filled in the page template of the book page shown are filled into the corresponding slots to be filled, that is, the target material "Novel A cover picture" is filled into the slot to be filled "Book cover"; the target material "Novel A title" is filled into the slot to be filled "Book title"; "Label 1", "Label 2", "Label 3" are filled into the slot to be filled "Book content label"; the target material "Novel A introduction: xxx..." is filled into the slot to be filled "Book content introduction"; the target materials "Novel B cover", "Novel C cover", "Novel D cover" are filled into the slot to be filled "Similar novel recommendation", and then it can be generated. Figure 3 The Books page shown.
[0130] S406: Generate a unique identifier for the book page to associate the URL of the book page and the book page with the unique identifier.
[0131] One or more embodiments provided in this specification can determine the page template of the target page and the seed material of the target page based on the generation request of the target page. The page template of the target page includes at least one slot to be filled, and each slot to be filled is configured with a corresponding material matching strategy. Then, based on the material matching strategy corresponding to the at least one slot to be filled and the seed material of the target page, target materials adapted to each slot to be filled are determined in batches, and batch filling of these multiple slots to be filled is completed, thereby generating the target page, which greatly improves the generation efficiency of the target page. Moreover, the use of templates to generate the target page can also enable the same type of pages to reuse the template, thereby improving the reuse rate of resources.
[0132] Figure 5 This is a schematic diagram of an implementation flow of a page generation method provided by an embodiment of this specification, including:
[0133] S510, obtaining a request for generating multiple pages.
[0134] S520: Based on the generation request of the multiple pages, determine page templates of the multiple pages and seed materials of the multiple pages, wherein each page template of the multiple pages includes at least one slot to be filled.
[0135] S530, based on the material matching strategy corresponding to the target slot to be filled in at least one slot to be filled in each page template of the multiple pages and the seed materials of the multiple pages, determine the target material for filling the target slot to be filled, so as to obtain the target material corresponding to each of the at least one slot to be filled in each page template of the multiple pages.
[0136] S540: Fill the target materials corresponding to at least one slot to be filled in each page template of the multiple pages into at least one slot to be filled in each page template of the multiple pages, and generate multiple pages in batches.
[0137] Figure 5 The specific implementation of the relevant steps of generating each page in the multiple pages in the embodiment shown can be referred to Figure 1 to Figure 4 The specific implementation method of the generation step corresponding to the target page in the illustrated embodiment will not be repeated in one or more embodiments of this specification.
[0138] One or more embodiments provided in the present specification can respectively determine the page templates of the multiple pages and the seed materials of the multiple pages based on the generation requests of the multiple pages, each page template of the multiple pages contains at least one slot to be filled, each slot to be filled is configured with a corresponding material matching strategy, and then based on the material matching strategy corresponding to at least one slot to be filled in each page template of the multiple pages and the seed materials of the multiple pages, batch determine the target materials that are adapted to each slot to be filled in each page template of the multiple pages, complete the batch filling of multiple slots to be filled in each page template of the multiple pages, thereby generating multiple pages, greatly improving the generation efficiency of multiple pages, and using templates to generate multiple pages can also make the same template used repeatedly for the same type of pages, thereby improving the reuse rate of resources.
[0139] Figure 6 is a schematic diagram of a page generation device 600 provided by an embodiment of this specification. Figure 6 In a software implementation, the page generating device 600 may include:
[0140] The request acquisition module 601 acquires a request for generating a target page;
[0141] The template determination module 602 determines a page template of the target page and a seed material of the target page based on the request for generating the target page, wherein the page template of the target page includes at least one slot to be filled;
[0142] The material determination module 603 determines the target material for filling the target slot to be filled based on the material matching strategy corresponding to the target slot to be filled in the at least one slot to be filled and the seed material of the target page, so as to obtain the target material corresponding to each of the at least one slot to be filled;
[0143] The page generating module 604 fills the target material corresponding to each of the at least one slot to be filled into the at least one slot to be filled, and generates the target page.
[0144] The page generation device provided in the embodiment of the present specification can determine the page template of the target page and the seed material of the target page based on the generation request of the target page. The page template of the target page includes at least one slot to be filled, and each slot to be filled is configured with a corresponding material matching strategy. Then, based on the material matching strategy corresponding to the at least one slot to be filled and the seed material of the target page, the target materials adapted to each slot to be filled are determined in batches, and the batch filling of these multiple slots to be filled is completed, thereby generating the target page, which greatly improves the generation efficiency of the target page. Moreover, the use of a template to generate the target page can also enable the same type of pages to reuse the template, thereby improving the reuse rate of resources.
[0145] Optionally, in an implementation manner, the target page generation request includes a content tag of the target page, and the template determination module 602 is used to:
[0146] Determining a target material library that matches the page template type of the target page from multiple material libraries;
[0147] Based on the content tag of the target page, the seed material of the target page is determined from the target material library.
[0148] Optionally, in one implementation, the material matching strategy in the at least one slot to be filled includes at least one of the following:
[0149] Determine a material matching strategy for materials similar to the seed material of the target page from the target material library;
[0150] Determining a material matching strategy for materials with the same tags as the seed material of the target page from the target material library;
[0151] Determine a material matching strategy for the material of the work introduction that matches the seed material of the target page from the target material library;
[0152] A material matching strategy for extracting a specified picture frame material in a video related to the target seed material from the target material library.
[0153] Optionally, in one embodiment, the page template of the target page also includes a plurality of embedding points, and the plurality of embedding points are used to trigger statistics of user access data to the target page when the user operates the target page.
[0154] Optionally, in one implementation, after filling the target material corresponding to each of the at least one slot to be filled into the at least one slot to be filled in the page template of the target page and generating the target page, the device further includes:
[0155] A generating module, generating a unique identifier of the target page and a uniform resource locator URL of the target page;
[0156] The association module associates the unique identifier of the target page with the target page and the URL of the target page.
[0157] Optionally, in one embodiment, the device further comprises:
[0158] The statistics module counts the user's access data to the target page based on the identifier of the target page through the multiple embedding points in the page template of the target page.
[0159] Optionally, in one implementation, the material matching strategy in the at least one slot to be filled further includes material size and material type.
[0160] The page generation device 600 can realize Figure 1 to Figure 4 For details, please refer to Figure 1 to Figure 4 The page generation method of the illustrated embodiment will not be described in detail.
[0161] Figure 7 This is a schematic diagram of the structure of an electronic device according to an embodiment of this specification. Figure 7 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.
[0162] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0163] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.
[0164] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a page generation device at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations:
[0165] Get the generated request of the target page;
[0166] Based on the request for generating the target page, determining a page template of the target page and a seed material of the target page, wherein the page template of the target page includes at least one slot to be filled;
[0167] Determine a target material for filling the target slot to be filled based on a material matching strategy corresponding to a target slot to be filled in the at least one slot to be filled and a seed material of the target page, so as to obtain a target material corresponding to each of the at least one slot to be filled;
[0168] The target material corresponding to each of the at least one slot to be filled is filled into the at least one slot to be filled, so as to generate the target page.
[0169] The electronic device provided in the embodiments of the present specification can determine the page template of the target page and the seed material of the target page based on the generation request of the target page. The page template of the target page includes at least one slot to be filled, and each slot to be filled is configured with a corresponding material matching strategy. Then, based on the material matching strategy corresponding to the at least one slot to be filled and the seed material of the target page, the target materials adapted to each slot to be filled are determined in batches, and the batch filling of these multiple slots to be filled is completed, thereby generating the target page, which greatly improves the generation efficiency of the target page. Moreover, the use of a template to generate the target page can also enable the same type of pages to reuse the template, thereby improving the reuse rate of resources.
[0170] The above is as in this manual Figure 1 to Figure 4The method performed by the page generation device disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of this specification can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of this specification can be directly embodied as a hardware decoding processor for execution, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0171] The electronic device may also perform Figure 1 to Figure 4 The method and the page generation device are implemented in Figure 1 to Figure 4 The functions of the illustrated embodiments will not be described in detail in the embodiments of this specification.
[0172] The embodiment of the present specification also provides a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by a portable electronic device including a plurality of application programs, enable the portable electronic device to execute Figure 1 to Figure 4 The method of the embodiment shown is specifically used to perform the following operations:
[0173] Get the generated request of the target page;
[0174] Based on the request for generating the target page, determining a page template of the target page and a seed material of the target page, wherein the page template of the target page includes at least one slot to be filled;
[0175] Determine a target material for filling the target slot to be filled based on a material matching strategy corresponding to a target slot to be filled in the at least one slot to be filled and a seed material of the target page, so as to obtain a target material corresponding to each of the at least one slot to be filled;
[0176] The target material corresponding to each of the at least one slot to be filled is filled into the at least one slot to be filled, so as to generate the target page.
[0177] The computer-readable storage medium provided in the embodiments of the present specification can determine the page template of the target page and the seed material of the target page based on the generation request of the target page. The page template of the target page includes at least one slot to be filled, and each slot to be filled is configured with a corresponding material matching strategy. Then, based on the material matching strategy corresponding to the at least one slot to be filled and the seed material of the target page, target materials adapted to each slot to be filled are determined in batches, and batch filling of these multiple slots to be filled is completed, thereby generating the target page, which greatly improves the generation efficiency of the target page. Moreover, the use of a template to generate the target page can also enable the same type of pages to reuse the template, thereby improving the reuse rate of resources.
[0178] Figure 8 is a schematic diagram of a page generation device 800 provided by an embodiment of this specification. Figure 8 In a software implementation, the page generating device 800 may include:
[0179] The request acquisition module 801 acquires generation requests of multiple pages;
[0180] The template determination module 802 determines, based on the generation request of the multiple pages, page templates of the multiple pages and seed materials of the multiple pages, wherein each page template of the multiple pages includes at least one slot to be filled;
[0181] The material determination module 803 determines a target material for filling the target slot to be filled in at least one slot to be filled in each page template of the multiple pages based on a material matching strategy corresponding to the target slot to be filled in at least one slot to be filled in each page template of the multiple pages and the seed materials of the multiple pages, so as to obtain a target material corresponding to each of the at least one slot to be filled in each page template of the multiple pages;
[0182] The page generating module 804 fills the target materials corresponding to at least one slot to be filled in each page template of the multiple pages into at least one slot to be filled in each page template of the multiple pages, and generates the multiple pages in batches.
[0183] The page generation device 800 can realize Figure 5 For details, please refer to Figure 5 The page generation method of the illustrated embodiment will not be described in detail.
[0184] Fig. 9 This is a schematic diagram of the structure of an electronic device according to an embodiment of this specification. Fig. 9 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.
[0185] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0186] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.
[0187] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a page generation device at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations:
[0188] Get the generated request for multiple pages;
[0189] Based on the generation request of the multiple pages, determining page templates of the multiple pages and seed materials of the multiple pages, wherein each page template of the multiple pages includes at least one slot to be filled;
[0190] Determine a target material for filling the target slot to be filled based on a material matching strategy corresponding to a target slot to be filled in at least one slot to be filled in each page template of the multiple pages and the seed materials of the multiple pages, so as to obtain a target material corresponding to each of the at least one slot to be filled in each page template of the multiple pages;
[0191] The target materials corresponding to at least one slot to be filled in each page template of the multiple pages are respectively filled into at least one slot to be filled in each page template of the multiple pages, so as to batch generate the multiple pages.
[0192] The electronic device provided in the embodiments of the present specification can determine the page templates of the multiple pages and the seed materials of the multiple pages respectively based on the generation requests of the multiple pages, each page template of the multiple pages contains at least one slot to be filled, and each slot to be filled is configured with a corresponding material matching strategy, and then based on the material matching strategy corresponding to at least one slot to be filled in each page template of the multiple pages and the seed materials of the multiple pages, the target materials adapted for each slot to be filled in each page template of the multiple pages are determined in batches, and the batch filling of the multiple slots to be filled in each page template of the multiple pages is completed, thereby generating multiple pages, greatly improving the generation efficiency of multiple pages, and using templates to generate multiple pages can also make the same template used repeatedly for the same type of pages, thereby improving the reuse rate of resources.
[0193] The above is as in this manual Figure 5The method performed by the page generation device disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of this specification can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of this specification can be directly embodied as a hardware decoding processor for execution, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0194] The electronic device may also perform Figure 5 The method and the page generation device are implemented in Figure 5 The functions of the illustrated embodiments will not be described in detail in the embodiments of this specification.
[0195] The embodiment of the present specification also provides a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by a portable electronic device including a plurality of application programs, enable the portable electronic device to execute Figure 5 The method of the embodiment shown is specifically used to perform the following operations:
[0196] Get the generated request for multiple pages;
[0197] Based on the generation request of the multiple pages, determining page templates of the multiple pages and seed materials of the multiple pages, wherein each page template of the multiple pages includes at least one slot to be filled;
[0198] Determine a target material for filling the target slot to be filled based on a material matching strategy corresponding to a target slot to be filled in at least one slot to be filled in each page template of the multiple pages and the seed materials of the multiple pages, so as to obtain a target material corresponding to each of the at least one slot to be filled in each page template of the multiple pages;
[0199] The target materials corresponding to at least one slot to be filled in each page template of the multiple pages are respectively filled into at least one slot to be filled in each page template of the multiple pages, so as to batch generate the multiple pages.
[0200] The computer-readable storage medium provided in the embodiments of the present specification can determine the page templates of the multiple pages and the seed materials of the multiple pages respectively based on the generation requests of the multiple pages, each page template of the multiple pages contains at least one slot to be filled, and each slot to be filled is configured with a corresponding material matching strategy, and then based on the material matching strategy corresponding to at least one slot to be filled in each page template of the multiple pages and the seed materials of the multiple pages, the target materials adapted for each slot to be filled in each page template of the multiple pages are batch determined, and the batch filling of the multiple slots to be filled in each page template of the multiple pages is completed, thereby generating multiple pages, greatly improving the generation efficiency of the multiple pages, and the use of templates to generate multiple pages can also make the same template used repeatedly for the same type of pages, thereby improving the reuse rate of resources.
[0201] Of course, in addition to software implementation, the electronic device of this specification does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc., that is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0202] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0203] In short, the above description is only a preferred embodiment of this specification and is not intended to limit the protection scope of this specification. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this specification shall be included in the protection scope of this specification.
[0204] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0205] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0206] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0207] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
Claims
1. A page generation method, comprising: Get the generated request of the target page; Based on the request for generating the target page, determining a page template of the target page and a seed material of the target page, wherein the page template includes at least one slot to be filled; Based on the material matching strategy corresponding to the target slot to be filled in the at least one slot to be filled and the seed material of the target page, determine the target material to fill the target slot to be filled, so as to obtain the target material corresponding to each of the at least one slot to be filled, wherein the seed material is selected from a material library, and the material matching strategy is used to determine the target material associated with the seed material from the target material library, and the target material library is a material library that matches the page template type of the target page; The target material corresponding to each of the at least one slot to be filled is respectively filled into the at least one slot to be filled to generate the target page.
2. The method according to claim 1, wherein the target page generation request includes a content tag of the target page, and based on the target page generation request, determining a page template of the target page and a seed material of the target page comprises: Determining a target material library that matches the page template type of the target page from multiple material libraries; Based on the content tag of the target page, the seed material of the target page is determined from the target material library.
3. The method according to claim 2, wherein the material matching strategy in the at least one slot to be filled comprises at least one of the following: Determining a material matching strategy for a material similar to a seed material of the target page from the target material library; Determine, from the target material library, a material matching strategy for materials having the same tags as the seed material of the target page; Determine, from the target material library, a material matching strategy for the material of the work introduction that matches the seed material of the target page; A material matching strategy for a designated picture frame material in a video related to the seed material of the target page is extracted from the target material library.
4. According to the method described in claim 1, the page template of the target page also includes multiple embedding points, and the multiple embedding points are used to trigger statistics of user access data to the target page when the user operates the target page.
5. The method according to claim 4, wherein after filling the target material corresponding to each of the at least one slot to be filled into the at least one slot to be filled and generating the target page, the method further comprises: Generate a unique identifier of the target page and a uniform resource locator URL of the target page; The unique identifier of the target page is associated with the target page and the URL of the target page.
6. The method of claim 5, further comprising: Based on the identifier of the target page, statistics of users' access data to the target page are collected through the multiple embedding points in the page template of the target page.
7. A page generation method, comprising: Get the generated request for multiple pages; Based on the generation request of the multiple pages, determining page templates of the multiple pages and seed materials of the multiple pages, wherein each page template of the multiple pages includes at least one slot to be filled; Based on the material matching strategy corresponding to the target slot to be filled in at least one slot to be filled in each page template of the multiple pages and the seed materials of the multiple pages, determine the target material to fill the target slot to be filled, so as to obtain the target material corresponding to each of the at least one slot to be filled in each page template of the multiple pages, wherein the seed material is selected from a material library, and the material matching strategy is used to determine the target material associated with the seed material from the target material library, and the target material library is a material library that matches the page template type of the multiple pages; The target materials corresponding to at least one slot to be filled in each page template of the multiple pages are respectively filled into at least one slot to be filled in each page template of the multiple pages, so as to batch generate the multiple pages.
8. A device for generating a page, comprising: Request acquisition module, obtains the generation request of the target page; A template determination module, based on the request for generating the target page, determines a page template of the target page and a seed material of the target page, wherein the page template of the target page includes at least one slot to be filled; A material determination module determines a target material for filling the target slot to be filled based on a material matching strategy corresponding to a target slot to be filled in the at least one slot to be filled and a seed material of the target page, so as to obtain a target material corresponding to each of the at least one slot to be filled, wherein the seed material is selected from a material library, the material matching strategy is used to determine a target material associated with the seed material from a target material library, and the target material library is a material library that matches a page template type of the target page; The page generation module fills the target material corresponding to each of the at least one slot to be filled into the at least one slot to be filled, and generates the target page.
9. A page generating device, comprising: Request acquisition module, which obtains generation requests for multiple pages; A template determination module, based on the generation request of the multiple pages, determines page templates of the multiple pages and seed materials of the multiple pages, wherein each page template of the multiple pages includes at least one slot to be filled; A material determination module, based on a material matching strategy corresponding to a target slot to be filled in at least one slot to be filled in each page template of the multiple pages and seed materials of the multiple pages, determines a target material to fill the target slot to be filled, so as to obtain a target material corresponding to each of the at least one slot to be filled in each page template of the multiple pages, wherein the seed material is selected from a material library, and the material matching strategy is used to determine a target material associated with the seed material from a target material library, and the target material library is a material library that matches the page template type of the multiple pages; The page generation module fills the target material corresponding to at least one slot to be filled in each page template of the multiple pages into at least one slot to be filled in each page template of the multiple pages, so as to batch generate the multiple pages.
10. An electronic device, comprising: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: Get the generated request of the target page; Based on the request for generating the target page, determining a page template of the target page and a seed material of the target page, wherein the page template of the target page includes at least one slot to be filled; Based on the material matching strategy corresponding to the target slot to be filled in the at least one slot to be filled and the seed material of the target page, determine the target material to fill the target slot to be filled, so as to obtain the target material corresponding to each of the at least one slot to be filled, wherein the seed material is selected from a material library, and the material matching strategy is used to determine the target material associated with the seed material from the target material library, and the target material library is a material library that matches the page template type of the target page; The target materials corresponding to the at least one slot to be filled are respectively filled into the at least one slot to be filled to generate the target page.
11. A computer-readable storage medium storing one or more programs, which, when executed by an electronic device including a plurality of application programs, causes the electronic device to perform the following operations: Get the generated request of the target page; Based on the request for generating the target page, determining a page template of the target page and a seed material of the target page, wherein the page template of the target page includes at least one slot to be filled; Based on the material matching strategy corresponding to the target slot to be filled in the at least one slot to be filled and the seed material of the target page, determine the target material to fill the target slot to be filled, so as to obtain the target material corresponding to each of the at least one slot to be filled, wherein the seed material is selected from a material library, and the material matching strategy is used to determine the target material associated with the seed material from the target material library, and the target material library is a material library that matches the page template type of the target page; The target materials corresponding to the at least one slot to be filled are respectively filled into the at least one slot to be filled to generate the target page.
12. An electronic device comprising: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: Get the generated request for multiple pages; Based on the generation request of the multiple pages, determining page templates of the multiple pages and seed materials of the multiple pages, wherein each page template of the multiple pages includes at least one slot to be filled; Based on the material matching strategy corresponding to the target slot to be filled in at least one slot to be filled in each page template of the multiple pages and the seed materials of the multiple pages, determine the target material to fill the target slot to be filled, so as to obtain the target material corresponding to each of the at least one slot to be filled in each page template of the multiple pages, wherein the seed material is selected from a material library, and the material matching strategy is used to determine the target material associated with the seed material from the target material library, and the target material library is a material library that matches the page template type of the multiple pages; The target materials corresponding to at least one slot to be filled in each page template of the multiple pages are respectively filled into at least one slot to be filled in each page template of the multiple pages, so as to batch generate the multiple pages.
13. A computer-readable storage medium storing one or more programs, which, when executed by an electronic device including a plurality of application programs, cause the electronic device to perform the following operations: Get the generated request for multiple pages; Based on the generation request of the multiple pages, determining page templates of the multiple pages and seed materials of the multiple pages, wherein each page template of the multiple pages includes at least one slot to be filled; Based on the material matching strategy corresponding to the target slot to be filled in at least one slot to be filled in each page template of the multiple pages and the seed materials of the multiple pages, determine the target material to fill the target slot to be filled, so as to obtain the target material corresponding to each of the at least one slot to be filled in each page template of the multiple pages, wherein the seed material is selected from a material library, and the material matching strategy is used to determine the target material associated with the seed material from the target material library, and the target material library is a material library that matches the page template type of the multiple pages; The target materials corresponding to at least one slot to be filled in each page template of the multiple pages are respectively filled into at least one slot to be filled in each page template of the multiple pages, so as to batch generate the multiple pages.
Citation Information
Patent Citations
Target user-oriented advertisement putting method and device
CN112381570A
Data processing method and device, computer equipment and readable storage medium
CN112835577A