A page generation method and apparatus

By storing the tag data of the page area in the target storage location, the repeated calls to remote services are avoided. By using parallel lookup and priority settings to generate pages, the problem of resource consumption and inefficiency caused by multiple materials relying on the same remote service is solved, and efficient and low-cost page generation is achieved.

CN122240098APending Publication Date: 2026-06-19JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD
Filing Date
2024-12-11
Publication Date
2026-06-19

AI Technical Summary

Technical Problem

In front-end pages, multiple assets relying on the same remote call service leads to increased system resource consumption and performance impact, reduces page generation efficiency, and increases generation costs.

Method used

By storing the preset tag data of the first area in the target storage location, the system avoids repeatedly calling remote services, retrieves the duplicate tag data of the second area using the target storage location, searches for target materials in parallel, and sets priorities to generate pages.

Benefits of technology

It saves computational resources in the page generation process, improves page generation efficiency, reduces generation costs, and enables rapid adaptation of page content rules and user tag data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122240098A_ABST
    Figure CN122240098A_ABST
Patent Text Reader

Abstract

This disclosure provides a page generation method and apparatus. The method includes: determining preset tags corresponding to a first region and a second region in a target page; calling a remote interface to query tag data under the preset tags corresponding to the first region; and storing the tag data under the preset tags corresponding to the first region in a target storage location; the second region is a region in the target page other than the first region; in response to the preset tags corresponding to the second region being identical to the preset tags corresponding to the first region, retrieving the tag data under the identical preset tags from the target storage location as the tag data of the second region under the identical preset tags; based on the tag data of the first region and the second region under the preset tags, finding target materials corresponding to the first region and the second region in the target page; and generating a target page based on the target materials. This method can save computational resources in the page generation process and improve the efficiency of page generation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and more specifically, to a page generation method and apparatus. Background Technology

[0002] On the front-end page, specific page content can be displayed to different users based on their different attributes and preferences. This allows for targeted operational activities and improves the user experience when browsing the page.

[0003] When determining the content displayed on a page based on user attributes and preferences, remote services need to be invoked to retrieve relevant user data. If multiple pieces of content displayed on a page depend on the same remote service, this requires repeated calls to the same service, impacting system resource consumption and performance, as well as page generation efficiency. Furthermore, if the display of a piece of content depends on multiple user attributes, additional development work is required for that content, further affecting page generation efficiency and increasing page generation costs. Summary of the Invention

[0004] In view of this, the present disclosure provides at least one page generation method, apparatus, electronic device, and storage medium, which can save computational resources in the page generation process, improve page generation efficiency, and reduce page generation costs.

[0005] In a first aspect, embodiments of this disclosure provide a page generation method, including:

[0006] Determine the preset tags corresponding to the first and second regions in the target page, call the remote interface to query the tag data under the preset tags corresponding to the first region, and store the tag data under the preset tags corresponding to the first region in the target storage location; the second region is the region in the target page other than the first region.

[0007] In response to the fact that the preset label corresponding to the second region is the same as the preset label corresponding to the first region, the label data under the repeated preset label is obtained from the target storage location as the label data of the second region under the repeated preset label;

[0008] Based on the tag data of the first region and the second region under preset tags, the target material corresponding to the first region and the second region in the target page is found, and the target page is generated based on the target material.

[0009] Optionally, target materials corresponding to the first and second areas of the target page are located, and the target page is generated based on the target materials, including:

[0010] Parallel search yields the target materials corresponding to the first and second regions;

[0011] In response to the existence of at least two target materials in the first or second region, set priority for at least two target materials;

[0012] Based on the target material and the priority corresponding to at least two target materials, a first region and a second region are generated to obtain the target page.

[0013] Optionally, the target material is obtained by filtering based on the material display record and the frequency control rules of each target material; wherein, the material display record is determined based on the materials displayed in the historical pages, and the material display record includes the number of times and the time of each element appearing in the historical pages.

[0014] Optionally, the target content is obtained by filtering based on the user's corresponding preference identifier; wherein, the preference identifier is determined based on the user's historical browsing data.

[0015] Optionally, in response to the fact that the preset label corresponding to the second region does not overlap with the preset label corresponding to the first region, the method includes:

[0016] The label data of the second region under the preset label is determined from the predetermined candidate data; wherein the candidate data is determined based on the user's attribute information.

[0017] Optionally, after generating the target page based on the target material, it also includes:

[0018] Display the target page to the user and obtain user behavior data on the target page;

[0019] Based on behavioral data, update user attribute information, pre-determined candidate data, and tag data in the target storage location.

[0020] Secondly, embodiments of this disclosure provide a page generation apparatus, including:

[0021] The determination module is used to determine the preset tags corresponding to the first and second regions in the target page, call the remote interface to query the tag data under the preset tags corresponding to the first region, and store the tag data under the preset tags corresponding to the first region in the target storage location; the second region is the region in the target page other than the first region.

[0022] The acquisition module is used to retrieve the tag data under the duplicated preset tag from the target storage location in response to the fact that the preset tag corresponding to the second region is the same as the preset tag corresponding to the first region.

[0023] The search module is used to find target materials corresponding to the first and second regions in the target page based on the tag data of the first and second regions under preset tags, and generate the target page based on the target materials.

[0024] Thirdly, embodiments of this disclosure also provide an electronic device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the computer device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, the steps of the first aspect or any optional implementation of the first aspect are performed.

[0025] Fourthly, embodiments of this disclosure also provide a computer-readable storage medium storing a computer program that, when executed by a processor, performs the steps of the first aspect or any optional implementation thereof.

[0026] Fifthly, embodiments of this disclosure also provide a computer program product, including a computer program that, when executed by a processor, implements the methods of any of the above embodiments.

[0027] In any of the above aspects or any implementation of any aspect, after querying the tag data under the preset tag corresponding to the first region by calling the remote interface, the table data corresponding to the first region is stored in the target storage location. Therefore, when determining the tag data under the preset tag for the second region, the tag data under the preset tag stored in the target storage location can be obtained first. This avoids duplicate searches for tag data under the same preset tag between the first and second regions, avoids duplicate calls to the same remote call service, saves computational resources in the page generation process, and improves page generation efficiency. Furthermore, since the preset tags corresponding to each region in the current page are predefined, page content rules and user tag data can be quickly adapted during page generation without requiring additional development for a specific material or content, thus improving page generation efficiency and reducing page generation costs.

[0028] In a further embodiment of this disclosure, the target material can be obtained by filtering based on the material display record and frequency control rules for each target material; wherein, the material display record is determined based on the materials displayed on the historical page, and the material display record includes the number of times and the time of each element appearing on the historical page. This allows control over the display frequency of the target material on the target page, avoiding user fatigue caused by overexposure of content or increasing user memory through appropriate repetition.

[0029] In a further embodiment of this disclosure, the target content can be obtained by filtering based on user-specific preference identifiers; wherein, the preference identifiers are determined based on the user's historical browsing data. This enables more targeted content display based on user preferences, building upon the determination of content to be displayed to the user based on user tag data.

[0030] The effects of the aforementioned page generation device, electronic device, and storage medium are described in the explanation of the page generation method above, and will not be repeated here. Attached Figure Description

[0031] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings used in the embodiments will be briefly described below. These drawings are incorporated in and constitute a part of this specification. They illustrate embodiments conforming to this disclosure and, together with the specification, serve to explain the technical solutions of this disclosure. It should be understood that the following drawings only show some embodiments of this disclosure and should not be considered as limiting the scope. Those skilled in the art can obtain other related drawings based on these drawings without creative effort.

[0032] Figure 1 A flowchart of a page generation method provided in an embodiment of this disclosure is shown;

[0033] Figure 2 A schematic flowchart of a page generation method provided in an embodiment of this disclosure is shown;

[0034] Figure 3 A schematic diagram of a page generation apparatus provided in an embodiment of this disclosure is shown;

[0035] Figure 4 An exemplary system architecture in which embodiments of this disclosure can be applied is shown;

[0036] Figure 5 A schematic diagram of the structure of a computer system used to implement the embodiments of the present disclosure is shown. Detailed Implementation

[0037] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of them. The components of the embodiments of this disclosure described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this disclosure provided in the accompanying drawings is not intended to limit the scope of the claimed disclosure, but merely represents selected embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without inventive effort are within the scope of protection of this disclosure.

[0038] It should be noted that the collection, use, storage, sharing and transfer of user personal information involved in the technical solution of the present invention all comply with the provisions of relevant laws and regulations, and require notification to users and obtaining their consent or authorization. When applicable, user personal information is subjected to de-identification and / or anonymization and / or encryption technical processing.

[0039] Research has shown that on front-end pages, specific page content can be displayed to different users based on their different attribute information and preferences. This allows for targeted operational activities and improves the user experience while browsing the page.

[0040] When determining the content displayed on a page based on user attributes and preferences, remote services need to be invoked to retrieve relevant user data. However, in existing technologies, when multiple pieces of content displayed on a page rely on the same remote service to retrieve user data, the same remote service needs to be repeatedly invoked to obtain the same data. This impacts system resource consumption and performance, as well as page generation efficiency. Furthermore, if the display of a piece of content on a page depends on multiple user attributes, additional development work is required for that piece of content, reducing page generation efficiency and increasing page generation costs.

[0041] Based on the above research, this disclosure provides a page generation method. After querying tag data under a preset tag corresponding to a first region by calling a remote interface, the table data corresponding to the first region is stored in a target storage location. Therefore, when determining the tag data under a preset tag for a second region, the tag data under the preset tag stored in the target storage location can be obtained first. This avoids repeated searches for tag data under the same preset tag between the first and second regions, avoids repeated calls to the same remote call service, saves computational resources in the page generation process, and improves page generation efficiency. Furthermore, since the preset tags corresponding to each region in the current page are predefined, page content rules and user tag data can be quickly adapted during page generation without requiring additional development for a specific material or content, improving page generation efficiency and reducing page generation costs. In addition, the target material can be obtained based on material display records and frequency control rules for each target material; wherein, the material display records are determined based on materials displayed in historical pages, and the material display records include the number of times and time of each element appearing in historical pages. This allows for control over the display frequency of target content on the target page, avoiding user fatigue caused by overexposure or increasing user recall through appropriate repetition. Furthermore, target content can also be filtered based on user-specific preference tags; these preference tags are determined based on the user's historical browsing data. This enables more targeted content display based on user preferences, building upon the user tag data-driven approach to determining the content shown to the user.

[0042] The above problems and solutions are the result of the inventor's practice and careful research. The discovery process of the above problems and the solutions proposed for the above problems should be considered as the inventor's contribution to this disclosure.

[0043] The technical solutions of this disclosure will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of them. The components of this disclosure described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this disclosure provided in the accompanying drawings is not intended to limit the scope of the claimed disclosure, but merely to illustrate selected embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without inventive effort are within the scope of protection of this disclosure.

[0044] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0045] To facilitate understanding of this embodiment, a page generation method disclosed in this disclosure will first be described in detail. The execution entity of the page generation method provided in this disclosure is generally a computer device with certain computing capabilities. This computer device may include, for example, a terminal device, a server, or other processing devices. The terminal device may be a user equipment (UE), mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (PDA), handheld device, computing device, in-vehicle device, wearable device, etc. In some possible implementations, this page generation method can be implemented by a processor calling computer-readable instructions stored in memory.

[0046] See Figure 1 The diagram shows a flowchart of a page generation method provided in this embodiment of the present disclosure. The method includes steps S101 to S103, wherein:

[0047] S101: Determine the preset tags corresponding to the first and second regions in the target page, call the remote interface to query the tag data under the preset tags corresponding to the first region, and store the tag data under the preset tags corresponding to the first region in the target storage location; the second region is the region in the target page other than the first region.

[0048] In this embodiment of the disclosure, a page may include different areas, such as a top-level atmosphere area, a brand promotion area, an announcement area, an account area, and a bottom navigation area. Figure 2 This is a flowchart illustrating a page generation method provided in an embodiment of this disclosure. Figure 2 As shown, for each area on the page, page elements corresponding to different areas can be pre-set. Here, page elements refer to the form in which the corresponding material is displayed. For example, if the page element set for the top-level atmosphere area is a banner image, then the corresponding material is an image. In practice, the page elements corresponding to each area on the page can be dynamically configured. For example, the number of banner images displayed and the window size can be changed based on the configuration information.

[0049] In this embodiment of the disclosure, the preset tags corresponding to different areas of the page can be different. For example, in the brand promotion area, the product materials to be displayed to the user can be determined based on the tag data under preset tags such as whether the user has activated certain services. In the account area, the materials to be displayed to the user can be determined based on the tag data under preset tags such as the user's spending amount and account status.

[0050] In practice, the preset tags corresponding to each area on each page can also be pre-configured. When it is necessary to adjust the preset tags corresponding to an area, this can be achieved by changing the configuration information corresponding to that area.

[0051] In this embodiment, the first region may be the region that begins acquiring tag data under a preset tag before the second region. In a specific implementation, when acquiring tag data under a preset tag corresponding to the first region, if the target storage location does not store tag data under the preset tag associated with the target page, a remote service interface can be called to acquire the tag data under the preset tag corresponding to the first region. These tag data can then be stored in the target storage location. Since the tag data generated by different regions on the same page may be duplicated, by storing the tag data acquired by the first region in the target storage location, when the second region needs to acquire tag data under the same preset tag, it can directly acquire it from the target storage location without repeatedly calling the remote interface.

[0052] In this embodiment of the disclosure, in addition to avoiding repeated calls to remote interfaces between different areas of the same page, repeated calls to remote interfaces can also be avoided between different pages within the same page access cycle. A page access cycle can include multiple page jumps. For example, assuming a user logs into a website, the first page displayed to the user might be the account login page. If the user discovers they have forgotten their password, they can trigger the "Forgot Password" button on the account login page, at which point they can be redirected to the password recovery page. After the user completes the password recovery or reset operation, they can be redirected back to the account login page. Once the user successfully logs into their account, the page can redirect to the website homepage. The aforementioned jump process of "account login page—password recovery page—account login page—website homepage" can be considered as one page access cycle.

[0053] In specific implementation, when generating the first page, the target storage location of the tag data under the preset tags corresponding to the first page can be determined. When the user triggers a jump from the first page to the second page, when generating the second page, it can be first determined whether the tag data under the preset tags required for generating the second page is stored in the target storage location. If it is, it can be directly obtained from the target storage location; if not, it can be obtained by calling a remote interface or searching for candidate data. The first page can be the previous page of the second page within the same page access cycle, or it can be one of the first n pages of the second page within the same page access cycle. This embodiment does not specifically limit this. For example, if a user jumps from the product selection page to the payment page, the product selection page can be considered the first page, and the payment page can be considered the second page. The first page is the previous page of the second page within the same page access cycle. If an identity verification page is added during the jump from the first page to the second page, then the first page is one of the first two pages of the second page within the same page access cycle.

[0054] In this embodiment of the disclosure, the tag data of the current user under each preset tag can be predetermined. Specifically, based on all possible pages that may appear in the application or website, the preset tags required to generate these pages can be predetermined, and then the tag data under each preset tag can be determined based on the attribute information corresponding to the current user. The preset tags here may include whether the user has activated service A, whether the user has activated permission B, etc.; taking the preset tag of whether the user has activated service A as an example, the tag data under this preset tag can be whether the user has activated service A or not.

[0055] In this embodiment of the disclosure, when a user triggers a jump from the first page to the second page, the preset tags corresponding to each area in the second page can be determined first, so as to further determine the tag data under each preset tag in the second page.

[0056] S102: In response to the fact that the preset label corresponding to the second region is the same as the preset label corresponding to the first region, the label data under the repeated preset label is obtained from the target storage location as the label data of the second region under the repeated preset label.

[0057] In this embodiment of the disclosure, after determining the preset tag corresponding to the second region, it can be first determined whether the target storage location stores tag data under these preset tags.

[0058] Specifically, when generating the first region, the tag data required for its generation has already been called, and this tag data can be stored in the cache after the call. Since the tag data required by multiple regions on the same page has a high probability of overlap, when the second region needs this previously called tag data, it can be retrieved directly from the cache without repeatedly calling the remote service interface.

[0059] In one possible implementation, when the target storage location stores tag data under the preset tag corresponding to the second region, the corresponding tag data can be directly obtained from the target storage location without repeatedly calling the remote service interface to obtain the corresponding tag data. This can save the system's computing resources, reduce the system load, and improve the efficiency of page generation.

[0060] In another possible implementation, in response to the fact that the preset label corresponding to the second region does not overlap with the preset label corresponding to the first region, the method includes: determining the label data of the second region under the preset label from a predetermined candidate data; wherein the candidate data is determined based on user attribute information. This avoids repeated calls to the same remote service interface, preventing performance issues caused by excessive interface load.

[0061] In practice, before generating the target page, candidate data that may be involved in the page generation process can be identified. When identifying candidate data, pre-defined tags that the target page may involve can be determined first, and then tag data under each pre-defined tag can be determined based on the user's attribute information. Alternatively, each candidate data can be pre-defined. If the target storage location does not contain tag data under the pre-defined tags corresponding to the second area, the tag data under each pre-defined tag can be obtained from the pre-defined candidate data based on the pre-defined tags corresponding to the second area.

[0062] S103: Based on the tag data of the first region and the second region under the preset tags, find the target material corresponding to the first region and the second region in the target page, and generate the target page based on the target material.

[0063] In this step, after obtaining the tag data under the preset tags corresponding to the first and second regions, the target materials corresponding to each region of the target page can be found based on these tag data to generate the target page.

[0064] In this embodiment of the disclosure, a material management platform can be invoked to locate target materials, thereby decoupling the server and material management, which can optimize system performance and improve page generation efficiency. Figure 2As shown, when the front-end triggers page generation, it can first determine the page elements corresponding to each area of ​​the target page, and then determine the preset tags corresponding to each page element. Then, the execution subject (i.e., the server) of this embodiment can obtain tag data under the preset tags corresponding to the page elements of each area of ​​the target page. Subsequently, the execution subject of this embodiment can initiate a material search request to the material management platform. After receiving the request, the material management platform can search for the target material corresponding to the tag data from the material library based on the tag data sent by the server, and return it to the execution subject of this embodiment to generate the target page.

[0065] In practical implementation, the material management platform can include a massive amount of materials. When page generation is triggered, candidate materials corresponding to each element can be filtered based on pre-set page elements in each area of ​​the target page. Assuming the material management platform includes 100 materials, of which 30 correspond to the target page and 10 correspond to the top-level atmosphere area of ​​the target page, after determining the tag data under the preset tags corresponding to the top-level atmosphere area of ​​the target page, these 10 materials can be used as candidate materials. Then, the target material can be found from these 10 candidate materials using the tag data. Specifically, candidate materials corresponding to different areas on different pages can be determined by configuring corresponding page identifiers and area identifiers in the materials. Furthermore, materials corresponding to different pages and different areas can overlap; for example, material A can correspond to area A or area B; material B can correspond to the target page or other pages. It should be noted that the above method for determining candidate materials is only one possible implementation method in this disclosure and does not constitute an improper limitation of the present invention.

[0066] In this embodiment of the disclosure, finding target materials corresponding to a first region and a second region in a target page and generating a target page based on the target materials includes: finding target materials corresponding to the first region and the second region in parallel; in response to the existence of at least two target materials corresponding to the first region or the second region, setting priorities for at least two target materials; and generating the first region and the second region based on the target materials and the priorities corresponding to the at least two target materials to obtain the target page.

[0067] In practice, materials from different areas of the target page can be returned in parallel by different interfaces, thereby improving the efficiency of target page generation. Furthermore, there can be two or more target materials in the same area. When there are at least two target materials corresponding to the same area, a priority can be set for each of the at least two target materials. For example, suppose the first area of ​​the target page needs to display three images in a scrolling manner. These three images can be considered as three target materials corresponding to the first area. By setting priorities for these three target materials, the display order of the three images in the first area or the size of each image can be controlled.

[0068] In this embodiment, the target material can be obtained by filtering based on the material display record and the frequency control rules for each target material; wherein, the material display record is determined based on the materials displayed in the historical pages, and the material display record includes the number of times each element appears in the historical pages and the time. Specifically, the material display record may include the number of times each element appears and the timestamp information of each appearance, thereby enabling frequency control filtering of material display by setting the number of times an element is displayed within a fixed period.

[0069] Furthermore, target content can also be filtered based on user-specific preference identifiers; these preference identifiers are determined based on the user's historical browsing data. For example, if a user's historical browsing data indicates that they prefer brightly colored content, then when searching for target content for that user, brightly colored content can be filtered out.

[0070] The specific implementation process of generating the first or second region based on priority and filtering target materials is illustrated in the following examples and will not be repeated here. It should be noted that the above-described method for filtering target materials is only one possible implementation method in this disclosure and does not constitute an undue limitation on the present invention. In practical applications, the above two filtering methods can be used individually or in combination, or other filtering methods can be set according to actual needs. This disclosure does not specifically limit this, but only requires that the function be achieved.

[0071] For example, let's take the first area of ​​the target page as the top-level atmosphere area. Assume the top-level atmosphere area only has one banner image element, and the preset labels for this element are "Whether Service A is activated" and "Whether Service B is activated". Assume the material management platform has 9 candidate images corresponding to this area, each with different label data and preference identifiers. Assume the current user's historical browsing data indicates a preference for brightly colored materials, then materials with brightly colored labels can be filtered from the 9 candidate images. Assume 5 candidate images with brightly colored labels are filtered out. At this point, based on the current user's label data under the preset labels, corresponding candidate materials can be further matched. Assume the current user has activated Service A but not Service B, then corresponding materials can be matched from the aforementioned 5 candidate images. Assume 2 of these candidate images correspond to activating Service A, and 1 candidate image corresponds to not activating Service B, then 3 materials that can be displayed to the current user are matched. Before returning these three materials, frequency control filtering can be applied. For example, if one of the two materials corresponding to activating service A has already been shown to the current user, it can be filtered out, leaving only the material that hasn't been shown. Thus, through frequency control filtering, preference filtering, and tag data matching, two target materials that can be shown to the current user are obtained. Priority can then be set for these two target materials. If the target page aims to guide the current user to activate service B, the material corresponding to the user who hasn't activated service B can be given a higher priority. During the final display, the higher-priority material can be shown first and for a longer duration, thereby achieving the goal of guiding the user to activate service B.

[0072] It should be noted that the process of finding target elements described above can be completed by the material management platform, or it can be completed by the server after the material management platform returns the selected materials to the server. This embodiment of the disclosure does not specifically limit this. The order of preference filtering, frequency control filtering, and tag data matching described above can be set according to needs, and this embodiment of the disclosure does not specifically limit this. In addition, in order to improve page generation efficiency, materials corresponding to different areas can be returned in parallel.

[0073] In this embodiment of the disclosure, after generating the target page based on the target material, the method further includes: displaying the target page to the user and obtaining the user's behavior data on the target page; and updating the user's attribute information, pre-determined candidate data, and tag data in the target storage location based on the behavior data.

[0074] For example, suppose a user did not have service B initially, but activated service B under the guidance of the target page. Then, the tag data of the current user under the preset label "Whether service B is activated" can be updated based on this behavioral data, and the user attribute information "not activated service B" can be updated to "activated service B".

[0075] In this embodiment of the disclosure, after generating the target page, the material display record can be updated according to the target materials displayed on the target page, so as to perform frequency control filtering in the future.

[0076] According to a second aspect of the embodiments of this disclosure, such as Figure 3 As shown, a page generation apparatus 300 is provided, comprising:

[0077] The determination module 301 is used to determine the preset tags corresponding to the first region and the second region in the target page, call the remote interface to query the tag data under the preset tags corresponding to the first region, and store the tag data under the preset tags corresponding to the first region in the target storage location; the second region is the region in the target page other than the first region.

[0078] The acquisition module 302 is used to, in response to the fact that the preset label corresponding to the second region is the same as the preset label corresponding to the first region, acquire the label data under the repeated preset label from the target storage location as the label data of the second region under the repeated preset label;

[0079] The search module 303 is used to find the target material corresponding to the first and second regions in the target page based on the tag data of the first region and the second region under preset tags, and generate the target page based on the target material.

[0080] Optionally, the lookup module 303 is specifically used for:

[0081] Find the target materials corresponding to the first and second areas of the target page, and generate the target page based on the target materials, including:

[0082] Parallel search yields the target materials corresponding to the first and second regions;

[0083] In response to the existence of at least two target materials in the first or second region, set priority for at least two target materials;

[0084] Based on the target material and the priority corresponding to at least two target materials, a first region and a second region are generated to obtain the target page.

[0085] Optionally, the target material is obtained by filtering based on the material display record and the frequency control rules of each target material; wherein, the material display record is determined based on the materials displayed in the historical pages, and the material display record includes the number of times and the time of each element appearing in the historical pages.

[0086] Optionally, the target content is obtained by filtering based on the user's corresponding preference identifier; wherein, the preference identifier is determined based on the user's historical browsing data.

[0087] Optionally, the acquisition module 302 is also used for:

[0088] The label data of the second region under the preset label is determined from the predetermined candidate data; wherein the candidate data is determined based on the user's attribute information.

[0089] Optionally, the lookup module 303 is also used for:

[0090] Display the target page to the user and obtain user behavior data on the target page;

[0091] Based on behavioral data, update user attribute information, pre-determined candidate data, and tag data in the target storage location.

[0092] According to a third aspect of the present disclosure, an electronic device for page generation is provided, comprising: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method provided in the first aspect of the present invention.

[0093] According to a fourth aspect of the present disclosure, a computer-readable medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method provided in the first aspect of the present invention.

[0094] According to a fifth aspect of the present invention, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the method of any of the above embodiments.

[0095] Figure 4 An exemplary system architecture 400 is shown that can be applied to the page generation method or page generation apparatus implemented in this disclosure.

[0096] like Figure 4 As shown, system architecture 400 may include terminal devices 401, 402, and 403, a network 404, and a server 405. Network 404 serves as the medium for providing communication links between terminal devices 401, 402, and 403 and server 405. Network 404 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.

[0097] Users can use terminal devices 401, 402, and 403 to interact with server 405 via network 404 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 401, 402, and 403, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social media platform software, etc. (for example only).

[0098] Terminal devices 401, 402, and 403 can be various electronic devices with displays that support web browsing, including but not limited to smartphones, tablets, laptops, and desktop computers.

[0099] Server 405 can be a server that provides various services, such as a backend management server that supports shopping websites browsed by users using terminal devices 401, 402, and 403 (for example only). The backend management server can process received page generation requests and return the processing results (for example only) to the terminal device.

[0100] It should be noted that the page generation method provided in this embodiment of the invention is generally executed by server 405, and correspondingly, the page generation device is generally located in server 405. The page generation method provided in this embodiment of the invention can also be executed by terminal devices 401, 402, and 403, and correspondingly, the page generation device can be located in terminal devices 401, 402, and 403.

[0101] It should be understood that Figure 4 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0102] The following is for reference. Figure 5 It shows a schematic diagram of the structure of a computer system 500 suitable for implementing a terminal device of the present invention. Figure 5 The terminal device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.

[0103] like Figure 5 As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 502 or programs loaded from storage section 508 into random access memory (RAM) 503. The RAM 503 also stores various programs and data required for the operation of the system 500. The CPU 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0104] The following components are connected to I / O interface 505: an input section 506 including a keyboard, mouse, etc.; an output section 507 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to I / O interface 505 as needed. A removable medium 511, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 510 as needed so that computer programs read from it can be installed into storage section 508 as needed.

[0105] In particular, according to the embodiments disclosed in this invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 509, and / or installed from removable medium 511. When the computer program is executed by central processing unit (CPU) 501, it performs the functions defined above in the system of this invention.

[0106] It should be noted that the computer-readable medium shown in this invention can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this invention, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0107] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0108] The modules described in the embodiments of the present invention can be implemented in software or hardware. The described modules can also be housed in a processor. For example, a processor may include a determining module, an acquiring module, and a searching module. The names of these modules do not necessarily limit the module itself; for example, the determining module may be described as "a module for determining preset tags corresponding to a first region and a second region in a target page."

[0109] In another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiments; or it may exist independently and not assembled into the device. The computer-readable medium carries one or more programs, and when the one or more programs are executed by the device, the device implements the following method: determining preset tags corresponding to a first region and a second region in a target page; calling a remote interface to query tag data under the preset tags corresponding to the first region; and storing the tag data under the preset tags corresponding to the first region in a target storage location; the second region is a region in the target page other than the first region; in response to the preset tags corresponding to the second region being identical to the preset tags corresponding to the first region, obtaining the tag data under the identical preset tags from the target storage location as the tag data of the second region under the identical preset tags; based on the tag data of the first region and the second region under the preset tags, finding target material corresponding to the first region and the second region in the target page; and generating the target page based on the target material.

[0110] Finally, it should be noted that the above embodiments are merely specific implementations of this disclosure, used to illustrate the technical solutions of this disclosure, and not to limit it. The protection scope of this disclosure is not limited thereto. Although this disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this disclosure. Such modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this disclosure, and should all be covered within the protection scope of this disclosure. Therefore, the protection scope of this disclosure should be determined by the protection scope of the claims.

Claims

1. A page generation method, characterized in that, include: Determine the preset tags corresponding to the first and second regions in the target page, call the remote interface to query the tag data under the preset tags corresponding to the first region, and store the tag data under the preset tags corresponding to the first region in the target storage location; the second region is the region in the target page other than the first region. In response to the fact that the preset label corresponding to the second region is the same as the preset label corresponding to the first region, the label data under the repeated preset label is obtained from the target storage location as the label data of the second region under the repeated preset label; Based on the tag data of the first region and the second region under preset tags, target materials corresponding to the first region and the second region in the target page are found, and the target page is generated based on the target materials.

2. The method according to claim 1, characterized in that, Find the target materials corresponding to the first and second regions of the target page, and generate the target page based on the target materials, including: Parallel search yields the target materials corresponding to the first and second regions; In response to the existence of at least two corresponding target materials in the first region or the second region, a priority is set for the at least two target materials; Based on the target material and the priority corresponding to the at least two target materials, the first region and the second region are generated to obtain the target page.

3. The method according to claim 1, characterized in that, The target material is obtained based on the material display record and the frequency control rules of each target material; wherein, the material display record is determined based on the materials displayed in the historical page, and the material display record includes the number of times and the time of each element appearing in the historical page.

4. The method according to claim 1, characterized in that, The target material is obtained by filtering based on the user's preference identifier; wherein the preference identifier is determined based on the user's historical browsing data.

5. The method according to claim 1, characterized in that, In response to the fact that the preset label corresponding to the second region is not the same as the preset label corresponding to the first region, the method includes: The label data of the second region under a preset label is determined from the predetermined candidate data; wherein the candidate data is determined based on the user's attribute information.

6. The method according to claim 4, characterized in that, After generating the target page based on the target material, the method further includes: The target page is displayed to the user, and the user's behavioral data on the target page is obtained; Based on the behavioral data, update the user's attribute information, pre-determined candidate data, and tag data in the target storage location.

7. A page generation apparatus, characterized in that, include: The determination module is used to determine the preset tags corresponding to the first and second regions in the target page, call the remote interface to query the tag data under the preset tags corresponding to the first region, and store the tag data under the preset tags corresponding to the first region in the target storage location. The second region is the region on the target page other than the first region; The acquisition module is used to, in response to the fact that the preset label corresponding to the second region is the same as the preset label corresponding to the first region, acquire the label data under the repeated preset label from the target storage location as the label data of the second region under the repeated preset label; The search module is used to find target materials corresponding to the first and second regions in the target page based on the tag data of the first and second regions under preset tags, and generate the target page based on the target materials.

8. An electronic device, characterized in that, include: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-6.

9. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-6.

10. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1-6.