Page loading methods, devices, computer equipment, and storage media
By sending an inquiry request to the material storage server through the mobile banking app, the material to be inquired is determined based on the material's exposure period and real-time date information, and the target page is loaded according to the display status. This solves the problem of low page utilization in traditional technologies and improves user experience and traffic utilization.
Patent Information
- Application Number
- CN202310583993.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-23
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2043-05-23
AI Technical Summary
Traditional mobile banking apps suffer from low page utilization due to issues such as the lack of operational materials displayed upon first launch and the possibility that the displayed materials have expired.
In response to the launch operation of the target page, a query request is sent to the material storage server. The material to be queried is determined based on the exposure period and real-time date information of the locally cached material. The query result is received from the material storage server. When the target page is loaded, the display operation is performed according to the display status of the material, or the application is directly launched.
It improved page utilization during application launch, enhanced the validity of materials, and improved user experience and traffic controllability.
Smart Images

Figure CN116614341B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a page loading method, apparatus, computer device, and storage medium. Background Technology
[0002] With the development of internet technology, users are presented with promotional materials such as images or videos when they open application software.
[0003] In traditional technology, mobile banking apps retrieve operational data upon the first launch by a user, and the validity period of these data is verified by a storage server before being returned to the app. When the user launches the app a second time, the operational data is displayed without verification of its validity. This page loading method for mobile banking apps suffers from issues such as no operational data being displayed on the first launch, and the displayed data potentially being expired, resulting in low page utilization.
[0004] It is evident that the current page loading methods for mobile banking apps suffer from low page utilization. Summary of the Invention
[0005] Therefore, it is necessary to provide a page loading method, apparatus, computer device, and storage medium that can improve page utilization when an application launches, addressing the aforementioned technical problems.
[0006] Firstly, this application provides a page loading method. The method includes:
[0007] In response to a launch operation for a target page, an inquiry request is sent to a material storage server based on locally cached materials, so that the material storage server can determine the material to be inquired and obtain an inquiry result. The inquiry request includes at least one identification information of the material to be inquired.
[0008] Receive the query results returned by the material storage server, and the query results are used to characterize the display status of each of the query materials;
[0009] Load the target page, and display each of the materials to be queried on the target page according to the display status of each material to be queried.
[0010] In one embodiment, the step of sending a query request to the material storage server in response to a launch operation for a target page includes:
[0011] In response to a launch operation targeting the target page, the exposure period and real-time date information of each material are obtained based on the locally cached materials.
[0012] Based on the exposure period of each material and the real-time date information, at least one material to be queried is determined from the materials.
[0013] Send a query request for the material to be queried to the material storage server.
[0014] In one embodiment, determining at least one material to be queried from the materials based on the exposure period of each material and the real-time date information includes:
[0015] For any of the aforementioned materials, the exposure period of the material is compared with the real-time date information to obtain a comparison result;
[0016] For any of the aforementioned materials, if the real-time date represented by the comparison result corresponding to the material is within the exposure period of the material, the material is designated as the material to be queried.
[0017] In one embodiment, loading the target page and displaying each of the inquiry materials on the target page according to their display status includes:
[0018] If the query result indicates that the target display material is displayable, the target page is loaded, and the target display material is displayed on the target page. The target display material is determined based on the accumulated traffic of the material to be queried; or...
[0019] If the query results indicate that no materials can be displayed, the target page is loaded directly into the application.
[0020] In one embodiment, after loading the target page and displaying each of the inquiry materials on the target page according to their display status, the method further includes:
[0021] Send an update request to the material storage server so that the material storage server responds to the update request by sending materials for the current day or multiple future days, as well as the exposure period of each material;
[0022] Receive and cache materials sent by the material storage server for the current day or multiple future days, as well as the exposure period of each material.
[0023] Secondly, this application provides a page loading method. The method includes:
[0024] The system receives an inquiry request sent by the application, judges the material to be inquired, and obtains the inquiry result. The inquiry request includes at least one identification information of the material to be inquired.
[0025] The query results are returned to the application, which are used to characterize the display status of each of the query materials, so that the application loads the target page according to the query results and performs the display operation of each of the query materials on the target page according to the display status of each of the query materials.
[0026] In one embodiment, the step of judging the material to be inquired about and obtaining the inquiry result includes:
[0027] For any material to be queried, the accumulated flow rate of the material to be queried is compared with the preset flow rate conditions to obtain the comparison result;
[0028] If the comparison result indicates that the accumulated flow of each of the queried materials has met the flow condition, then a query result indicating that no materials can be displayed is obtained; or,
[0029] If the comparison result indicates that the accumulated flow of the material to be queried does not meet the flow condition, the material to be queried will be designated as the first target material.
[0030] When the number of the first target material is 1, the first target material is used as the target display material, and query results representing the displayable target display material are obtained.
[0031] In one embodiment, the method further includes:
[0032] If the number of the first target materials is greater than 1, then based on the flow prediction of each first target material, the target display material is determined from each first target material, and a query result representing the displayability of the target display material is obtained.
[0033] Thirdly, this application also provides a page loading device. The device includes:
[0034] The query request module is used to respond to the launch operation of the target page and send a query request to the material storage server based on the locally cached materials, so that the material storage server can judge the materials to be queried and obtain the query result. The query request includes at least one identification information of the materials to be queried.
[0035] The result receiving module is used to receive the query results returned by the material storage server, and the query results are used to characterize the display status of each of the query materials;
[0036] The page loading module is used to load the target page and perform display operations on the target page for each of the materials to be queried according to their display status.
[0037] In one embodiment, the query request module is further configured to, in response to a launch operation for a target page, obtain the exposure period and real-time date information of each material based on locally cached materials; determine at least one material to be queried from the materials based on the exposure period and the real-time date information of each material; and send a query request for the material to be queried to the material storage server.
[0038] In one embodiment, the query request module is further configured to compare the exposure period of any material with the real-time date information to obtain a comparison result; and to designate any material as the material to be queried if the comparison result indicates that the real-time date is within the exposure period of the material.
[0039] In one embodiment, the page loading module is further configured to load the target page and display the target display material on the target page when the query result indicates that the target display material is displayable, wherein the target display material is determined based on the accumulated traffic of the material to be queried; or, when the query result indicates that there is no display material, directly load the target page and enter the application.
[0040] In one embodiment, the apparatus further includes an update module. The update module is configured to send an update request to the material storage server, causing the material storage server to respond to the update request by sending materials for the current day or future multiple days, and the exposure period for each material; and to receive and cache the materials for the current day or future multiple days, and the exposure period for each material, sent by the material storage server.
[0041] Fourthly, this application also provides a page loading device. The device includes:
[0042] The judgment module is used to receive the query request sent by the application, judge the material to be queried, and obtain the query result. The query request includes at least one identification information of the material to be queried.
[0043] The result return module is used to return the query result to the application. The query result is used to characterize the display status of each of the query materials, so that the application loads the target page according to the query result and performs the display operation of each query material on the target page according to the display status of each query material.
[0044] In one embodiment, the judgment module is further configured to, for any material to be queried, compare the accumulated flow of the material to be queried with a preset flow condition to obtain a comparison result; if the comparison result indicates that the accumulated flow of each material to be queried has met the flow condition, obtain a query result indicating that no material can be displayed; or, if the comparison result indicates that the accumulated flow of a material to be queried has not met the flow condition, designate the material to be queried as a first target material; if the number of first target materials is 1, then designate the first target material as a target display material to obtain a query result indicating that the target display material can be displayed.
[0045] In one embodiment, the judgment module is further configured to, when the number of the first target materials is greater than 1, determine the target display material from each of the first target materials based on the flow prediction of each of the first target materials, and obtain a query result characterizing the displayability of the target display material.
[0046] Fifthly, this application also provides a computer device, the computer device including a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps in the above-described method embodiments.
[0047] Sixthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the above-described method embodiments.
[0048] In a seventh aspect, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.
[0049] The aforementioned page loading method, apparatus, computer device, storage medium, and computer program product, in response to a startup operation targeting a target page, send an inquiry request to a material storage server based on locally cached materials, so that the material storage server can determine the materials to be inquired and obtain an inquiry result. The inquiry request includes identification information of at least one of the materials to be inquired. The method then receives the inquiry result returned by the material storage server, the inquiry result being used to characterize the display status of each of the materials to be inquired. Finally, the method loads the target page and performs display operations on each of the materials to be inquired on the target page according to their display status. The page loading method, apparatus, computer device, storage medium, and computer program product provided in this application, by sending an inquiry request to a material storage server to determine the materials to be inquired from the locally cached materials to be inquired on the target page, or by directly entering the application without loading the materials to be inquired, ensures that the target page displays the most suitable materials, maximizing the utilization of the target page. Attached Figure Description
[0050] Figure 1 This is a flowchart illustrating the preloading mechanism in traditional technologies.
[0051] Figure 2 This is an application environment diagram of a page loading method in one embodiment;
[0052] Figure 3 This is a flowchart illustrating a page loading method in one embodiment;
[0053] Figure 4 This is a flowchart illustrating step 302 in one embodiment;
[0054] Figure 5 This is a flowchart illustrating step 404 in one embodiment;
[0055] Figure 6 This is a flowchart illustrating a page loading method in one embodiment;
[0056] Figure 7 This is a flowchart illustrating a page loading method in one embodiment;
[0057] Figure 8 This is a flowchart illustrating step 702 in one embodiment;
[0058] Figure 9 This is a flowchart illustrating a page loading method in one embodiment;
[0059] Figure 10 This is a structural block diagram of a page loading device in one embodiment;
[0060] Figure 11This is a structural block diagram of a page loading device in one embodiment;
[0061] Figure 12 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0062] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0063] The splash screen of a mobile banking app refers to the image or video material displayed when a user launches the app, typically lasting 3 or 5 seconds. In traditional technology, the mobile banking app retrieves operational material data upon the first launch, and the validity period of these materials is verified by a storage server before being returned to the app. When the user launches the app a second time, displaying these materials without verifying their validity can easily lead to the corresponding promotions ending prematurely, resulting in a poor viewing experience. The traditional pre-loading display mechanism is as follows: Figure 1 As shown. The activity validity period for Material A is DAY1-DAY2. On DAY1 (Day 1), when a user launches the app for the first time, the mobile banking app retrieves the operational material data A (including images or videos, clickable URLs, etc.) to be displayed and downloads and stores the images and videos in the mobile banking app. On DAY1, when the user launches the mobile banking app for the second time, the cached images and videos from the first launch are displayed, and Material A is cached again. On DAY2, when a user launches the app for the first time, Material A is displayed, and Material A is cached again. On DAY3, when a user launches the app for the first time, Material A is displayed again, and Material B is cached. Materials not displayed on DAY1 are invalidated and displayed on DAY3. Therefore, in traditional technology, the mobile banking app's launch splash screen suffers from no exposure and invalid exposure, resulting in low page utilization of the application, insufficient traffic utilization, and the risk of expired operational materials, which in turn affects the promotion effect of the operational activities and the user experience.
[0064] To address the aforementioned issues, this application provides a page loading method to improve page utilization during application launch.
[0065] The page loading method provided in this application embodiment can be applied to, for example, Figure 2In the application environment shown, terminal 202 communicates with material storage server 204 via a network. The data storage system can store the data that material storage server 204 needs to process. The data storage system can be integrated into material storage server 204 or placed in the cloud or other network servers. Terminal 202 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart vehicle devices, etc. Portable wearable devices can include smartwatches, smart bracelets, head-mounted devices, etc. Terminal 202 only needs a display screen capable of displaying materials. Material storage server 204 can be implemented using a standalone server or a server cluster consisting of multiple servers.
[0066] In one embodiment, such as Figure 3 As shown, a page loading method is provided, which can be applied to... Figure 1 Taking terminal 202 as an example, the explanation includes the following steps:
[0067] Step 302: In response to the launch operation for the target page, a query request is sent to the material storage server based on the locally cached materials, so that the material storage server can determine the materials to be queried and obtain the query result. The query request includes identification information of at least one material to be queried.
[0068] The target page is a page used by an application on a terminal to display materials. The target page can be the splash screen of an application. The launch operation of the target page can be the opening operation of the application. For example, clicking the application on a mobile phone triggers the launch operation of the target page. Materials can include images, videos, and clickable URLs. Locally cached materials are materials that the application on the terminal has pre-downloaded and cached from the material storage server. The materials to be queried are materials corresponding to activities within their validity period. The identification information of the materials to be queried is used to distinguish each material to be queried. It should be noted that this application embodiment does not specifically limit the content or form of the identification information. For example, uppercase English letters can be used as the identification information of the materials to be queried, such as Material A.
[0069] Step 304: Receive the query results returned by the material storage server. The query results are used to characterize the display status of each material to be queried.
[0070] The query results can include the display status of each item being queried. The display status of each item can be either "displayable" or "undisplayable." At most, only one item can be displayed in the query results as "displayable."
[0071] Step 306: Load the target page and perform display operations on the target page for each material to be queried according to its display status.
[0072] Specifically, after receiving the query results from the material storage server, the system can determine which query materials are available for display based on their display status, load them, and redirect to the target page. After displaying the available query materials on the target page, the user then enters the application. Alternatively, if the system determines that there are no query materials available for display based on their display status, it can directly load and redirect the user to the target page, and then the user enters the application.
[0073] The page loading method provided in this application sends an inquiry request to a material storage server based on locally cached materials, enabling the material storage server to determine the materials to be inquired and obtain an inquiry result. The inquiry request includes identification information of at least one material to be inquired. The method then receives the inquiry result returned by the material storage server, which characterizes the display status of each material to be inquired. Finally, the method loads the target page and performs display operations on each material to be inquired on the target page according to its display status. This page loading method, by sending an inquiry request to the material storage server, determines the materials to be loaded onto the target page from the locally cached materials, or directly enters the application without loading the materials to be inquired, thereby maximizing the utilization of the target page by displaying the most suitable materials.
[0074] In one embodiment, such as Figure 4 As shown, in step 302, in response to the launch operation for the target page, sending a query request to the material storage server based on the locally cached materials may include:
[0075] Step 402: In response to the launch operation for the target page, obtain the exposure period and real-time date information of each material based on the locally cached materials.
[0076] Specifically, the application can be opened manually on the terminal. In response to the launch operation of the target page, the application obtains the current real-time date information and retrieves the exposure period of each material from the locally cached materials. The exposure period of a material is the validity period of the activity corresponding to that material.
[0077] Step 404: Based on the exposure period and real-time date information of each material, determine at least one material to be inquired about from among the materials.
[0078] In this embodiment of the application, materials whose real-time dates are within the exposure period can be used as materials to be queried.
[0079] For example, if the exposure period of material A is the 25th-26th, and the current real-time date information is the 25th, then material A can be used as the material to be queried.
[0080] Step 406: Send an inquiry request for the material to be queried to the material storage server.
[0081] Specifically, the query request can include the identification information of each material to be queried and be sent to the material storage server.
[0082] In this embodiment, by determining the material to be queried from among all materials based on the material's exposure period and real-time date information, the validity verification of the material is increased in real time, solving the problem of physically invalid exposure and improving the user experience of the material.
[0083] In one embodiment, such as Figure 5 As shown, in step 404, based on the exposure period and real-time date information of each material, at least one material to be inquired about is determined from the materials, which may include:
[0084] Step 502: For any material, compare the material's exposure period with the real-time date information to obtain the comparison result.
[0085] Specifically, for any given material, the material's exposure period can be compared with real-time date information to determine whether the real-time date is within the material's exposure period, thus obtaining the corresponding comparison result. This comparison result can be used to characterize whether the real-time date is within the material's exposure period.
[0086] Step 504: For any material, if the real-time date of the comparison result corresponding to the material is within the exposure period of the material, the material is designated as the material to be queried.
[0087] Specifically, for any given material, if the comparison result for that material indicates that the real-time date is within the material's exposure period, then the material is considered valid and can be used as a material to be queried. For example, if the exposure period for material A is the 25th-26th, and the current real-time date is the 25th, which is within the exposure period, then material A can be used as a material to be queried.
[0088] In this embodiment of the disclosure, by determining the material to be queried from among the materials based on the material's exposure period and real-time date information, the validity verification of the material is increased in real time, solving the problem of physically invalid exposure and improving the user experience of the material.
[0089] In one embodiment, step 306, loading the target page and displaying each item inquired about on the target page according to its display status, may include:
[0090] If the query result indicates that the target display material is available, load the target page and display the target display material on the target page. The target display material is determined based on the accumulated traffic of the material to be queried. Alternatively, if the query result indicates that there is no display material, directly load the target page and enter the application.
[0091] Specifically, the target display material is the material with a displayable status and an inquiry prompt. The inquiry results can include the display status of each material to be inquired about. If there is one material with a displayable status in the inquiry results, that material is designated as the target display material, and the inquiry result indicates that the target display material is displayable. The target page is loaded, the target display material is displayed on the target page, and then the application is launched. If the display status of all materials to be inquired about in the inquiry results is not displayable, the inquiry result indicates that there are no displayable materials, and the target page is loaded directly, launching the application.
[0092] In this embodiment, by loading the target page based on the query results and displaying the query materials, the controllability of traffic can be improved and the utilization rate of the target page can be increased.
[0093] In one embodiment, such as Figure 6 As shown, after step 306, the following may be included:
[0094] Step 602: Send an update request to the material storage server so that the material storage server responds to the update request by sending the materials for the current day or multiple future days, as well as the exposure period of each material.
[0095] Specifically, each time the target page is loaded and the application is accessed, the application can send an update request to the material storage server. In response to the update request, the material storage server sends materials that will be available online that day or in the future, i.e., materials whose initial exposure period starts on that day or in the future. The material storage server can also send the exposure period of these materials to the application along with the update request.
[0096] For example, if the current real-time date is DAY1, then in response to the update request, the material storage server sends material A, material B, material C, and material D to the application. Material A went online on DAY1, material B on DAY2, material C on DAY3, and material D on DAY4.
[0097] Step 604: Receive and cache materials sent by the material storage server for the current day or multiple future days, as well as the exposure period of each material.
[0098] The application can receive materials sent by the material storage server for the current day or multiple days in the future, as well as the exposure period of each material, and cache them locally.
[0099] In this embodiment, by adding a logic for issuing operational materials for the next few days on top of the daily operational material issuance, the problem of no exposed materials in traditional technologies can be solved, thereby improving the utilization rate of target pages and increasing traffic utilization.
[0100] In one embodiment, such as Figure 7 As shown, a page loading method is provided, which can be applied to... Figure 1 Taking the material storage server 204 as an example, the following steps are included:
[0101] Step 702: Receive an inquiry request sent by the application, determine the material to be inquired, and obtain the inquiry result. The inquiry request includes identification information of at least one material to be inquired.
[0102] Specifically, materials may include images, videos, and clickable URLs. The material to be queried refers to the material corresponding to an activity within its validity period. The identification information of the material to be queried is used to distinguish each material. It should be noted that this application embodiment does not specifically limit the content or form of the identification information. For example, uppercase English letters can be used as the identification information of the material to be queried, such as Material A.
[0103] Step 704: Return the query results to the application. The query results are used to characterize the display status of each query material, so that the application can load the target page according to the query results and perform the display operation of each query material on the target page according to the display status of each query material.
[0104] Specifically, the query results can include the display status of each item to be queried. The display status of each item can be either displayable or not displayable. At most, only one item can be displayed in the query results as displayable. The query results are returned to the application so that the application can determine which items can be displayed based on their display status, load them, and redirect to the target page. After displaying the displayable items on the target page, the application is then launched. Alternatively, if the query results indicate that no items can be displayed, the application can directly load and redirect to the target page before launching.
[0105] The page loading method provided in this application determines the query materials to be loaded onto the target page from the query materials cached in the local application by sending a query request to the material storage server, or directly enters the application without loading the query materials, so that the target page displays the most suitable materials and maximizes the utilization of the target page.
[0106] In one embodiment, such as Figure 8As shown, in step 702, the material to be inquired about is judged to obtain the inquiry result, which may include:
[0107] Step 802: For any material to be queried, compare the accumulated flow rate of the material to be queried with the preset flow rate conditions to obtain the comparison result.
[0108] The accumulated traffic of the query material refers to the cumulative amount of user interaction with the query material when it is displayed on the target page. For example, the accumulated traffic of the query material can be the total number of clicks made by users when the query material is displayed on the target page. If the query material has never been displayed before, the accumulated traffic of the query material is 0. It should be noted that this application embodiment does not specifically limit the value of the preset traffic conditions, and can be set according to different application scenarios and experience. The accumulated traffic of the query material is compared with the preset traffic conditions to obtain a comparison result. The comparison result can indicate whether the accumulated traffic of the query material meets the preset traffic conditions.
[0109] Step 804: If the comparison result indicates that the accumulated flow of each material to be queried has met the flow condition, an inquiry result indicating that there is no material to be displayed is obtained; or, if the comparison result indicates that the accumulated flow of a material to be queried has not met the flow condition, the material to be queried is taken as the first target material.
[0110] Specifically, for any queried material, if the accumulated flow of the queried material is greater than or equal to a preset flow condition, a comparison result indicating that the accumulated flow of the queried material has met the flow condition is obtained, and the queried material does not need to be displayed. If the accumulated flow of the queried material is less than the preset flow condition, a comparison result indicating that the accumulated flow of the queried material has not met the flow condition is obtained, and the queried material can be displayed.
[0111] If the comparison results for each queried material indicate that the accumulated flow has met the flow conditions, then the query result indicates that there are no materials to be displayed, and the display status of all queried materials in the query result is undisplayable.
[0112] Alternatively, if at least one of the comparison results for each material to be queried does not meet the flow condition, the material to be queried that does not meet the flow condition is taken as the first target material.
[0113] Step 806: If the number of first target materials is 1, then the first target material is used as the target display material to obtain the query results that represent the target display material that can be displayed.
[0114] For example, if the query request includes materials A, B, and C, and the comparison results show that only material A's accumulated flow does not meet the flow condition, then material A is selected as the first target material. Since there is only one first target material, material A, it is selected as the target display material, resulting in a query result indicating that the target display material is displayable. In the query result, material A is displayed, while materials B and C are both not displayable.
[0115] In this embodiment of the disclosure, by comparing the accumulated traffic of the material to be queried with preset traffic conditions, the material to be queried that does not meet the traffic conditions is filtered out for display, thereby improving the page utilization rate and enhancing the utilization and controllability of traffic.
[0116] In one embodiment, the page loading method further includes: if the number of first target materials is greater than 1, then based on the traffic prediction of each first target material, determining the target display material from each first target material, and obtaining the query results characterizing the target display material that can be displayed.
[0117] Specifically, based on historical data tracking information of the target page, the traffic of multiple primary target materials can be predicted, and the primary target material with the highest predicted traffic can be selected as the target display material. Historical data tracking information can include the number of times users clicked on materials on the target page in the past.
[0118] For example, if the query request includes materials A, B, and C, and the comparison results show that the accumulated traffic of materials A and B does not meet the traffic conditions, then materials A and B are selected as the first target materials. In this case, the number of first target materials is greater than one, but only one material can be displayed on the target page. Based on the historical data tracking information of the target page, the traffic of materials A and B can be predicted, and material B with the highest predicted traffic is selected as the target display material, resulting in a query result indicating whether the target display material can be displayed. In the query result, the display status of material B is "displayed," while the display status of materials A and C is "not displayed."
[0119] In this embodiment, the target display material can be determined by predicting the traffic of each first target material, which improves the utilization rate of the page and enhances the utilization rate and controllability of traffic.
[0120] To further understand the embodiments of this application, this application provides a most complete embodiment, such as... Figure 9As shown. In its initial state, the mobile banking app can cache multiple sets of materials, including those for the current day or future operational days. On Day 1, when a user launches the app for the first time, the app filters out materials still within their valid exposure period from its local materials, such as material A. It then sends a query request carrying material A's identifier A to the material storage server in real time to inquire which material can be displayed. Based on the returned query result, the app displays the material. If the query result indicates that material A can be displayed, the locally cached material A is displayed on the splash screen, and the user enters the app. The app then sends an update request for material data to the material storage server, caching the operational materials for the current day and future operational days issued by the storage server.
[0121] The page loading method provided in this application supports caching multiple operational materials locally on the first attempt, and initiating a real-time query before the second display to determine which material can be shown, and displaying the material based on the returned result. This improves the effectiveness of materials to customers, and at the same time, enhances the utilization and controllability of mobile banking app splash screen traffic. Real-time addition of material validity verification improves the customer experience, increasing the number of cached materials improves splash screen traffic utilization, and the real-time addition of a display query mechanism improves traffic controllability.
[0122] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0123] Based on the same inventive concept, this application also provides a page loading apparatus for implementing the page loading method described above. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, the specific limitations in one or more page loading apparatus embodiments provided below can be found in the limitations of the page loading method described above, and will not be repeated here.
[0124] In one embodiment, such as Figure 10 As shown, a page loading device 1000 is provided, comprising:
[0125] The query request module 1002 is used to respond to the launch operation for the target page and send a query request to the material storage server based on the locally cached materials, so that the material storage server can judge the materials to be queried and obtain the query result. The query request includes identification information of at least one material to be queried.
[0126] The result receiving module 1004 is used to receive the query results returned by the material storage server. The query results are used to characterize the display status of each material to be queried.
[0127] The page loading module 1006 is used to load the target page and perform display operations on each inquired material on the target page according to the display status of each inquired material.
[0128] In one embodiment, the query request module 1002 is further configured to, in response to a launch operation for a target page, obtain the exposure period and real-time date information of each material based on locally cached materials; determine at least one material to be queried from the materials based on the exposure period and real-time date information of each material; and send a query request for the material to be queried to the material storage server.
[0129] In one embodiment, the query request module 1002 is further configured to compare the exposure period of any material with the real-time date information to obtain a comparison result; and for any material, if the comparison result indicates that the real-time date is within the exposure period of the material, the material is designated as the material to be queried.
[0130] In one embodiment, the page loading module 1006 is further configured to load the target page and display the target display material on the target page when the query result indicates that the target display material is displayable, wherein the target display material is determined based on the accumulated traffic of the material to be queried; or, when the query result indicates that there is no display material, directly load the target page and enter the application.
[0131] In one embodiment, the page loading device 1000 further includes an update module. The update module is used to send an update request to the material storage server, so that the material storage server responds to the update request by sending materials for the current day or multiple future days, as well as the exposure period of each material; and to receive and cache the materials for the current day or multiple future days, as well as the exposure period of each material, sent by the material storage server.
[0132] In one embodiment, such as Figure 11 As shown, a page loading device 1100 is provided, comprising:
[0133] The judgment module 1102 is used to receive the query request sent by the application, judge the material to be queried, and obtain the query result. The query request includes identification information of at least one material to be queried.
[0134] The result return module 1104 is used to return query results to the application. The query results are used to characterize the display status of each query material, so that the application can load the target page according to the query results and perform the display operation of each query material on the target page according to the display status of each query material.
[0135] In one embodiment, the determination module 1102 is further configured to, for any material to be queried, compare the accumulated flow of the material to be queried with a preset flow condition to obtain a comparison result; if the comparison result indicates that the accumulated flow of each material to be queried has met the flow condition, obtain a query result indicating that no material can be displayed; or, if the comparison result indicates that the accumulated flow of a material to be queried has not met the flow condition, designate the material to be queried as the first target material; if the number of first target materials is 1, then designate the first target material as the target display material to obtain a query result indicating that the target display material can be displayed.
[0136] In one embodiment, the judgment module 1102 is further configured to, when the number of first target materials is greater than 1, determine the target display material from each first target material based on the flow prediction of each first target material, and obtain the query result characterizing the target display material that can be displayed.
[0137] The modules in the aforementioned page loading device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.
[0138] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 12 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores material data. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a page-loading method.
[0139] Those skilled in the art will understand that Figure 12 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0140] In one embodiment, this application also provides a computer device, the computer device including a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps in the above method embodiments.
[0141] In one embodiment, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the above-described method embodiments.
[0142] In one embodiment, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.
[0143] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0144] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0145] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0146] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A page loading method, characterized in that, The method includes: In response to a launch operation for a target page, the exposure period and real-time date information of each material are obtained based on locally cached materials. The locally cached materials include multiple materials for the current day or multiple future days. Based on the exposure period of each material and the real-time date information, at least one material to be inquired is determined from each material, wherein the material to be inquired is the material corresponding to the activity within the validity period; Send an inquiry request to the material storage server so that the material storage server compares the accumulated flow of any material to be inquired with a preset flow condition and obtains an inquiry result based on the comparison result. The inquiry request includes at least one identification information of the material to be inquired. Receive the query results returned by the material storage server, and the query results are used to characterize the display status of each of the query materials; Load the target page, and display each of the materials to be queried on the target page according to the display status of each material to be queried.
2. The method according to claim 1, characterized in that, The step of determining at least one material to be queried from the materials based on the exposure period of each material and the real-time date information includes: For any of the aforementioned materials, the exposure period of the material is compared with the real-time date information to obtain a comparison result; For any of the aforementioned materials, if the real-time date represented by the comparison result corresponding to the material is within the exposure period of the material, the material is designated as the material to be queried.
3. The method according to claim 1, characterized in that, The loading of the target page and the display operation of each of the inquiry materials on the target page according to their display status include: If the query result indicates that the target display material is displayable, the target page is loaded, and the target display material is displayed on the target page. The target display material is determined based on the accumulated traffic of the material to be queried; or... If the query results indicate that no materials can be displayed, the target page is loaded directly into the application.
4. The method according to claim 1, characterized in that, After loading the target page and displaying each of the inquiry materials on the target page according to their display status, the method further includes: Send an update request to the material storage server so that the material storage server responds to the update request by sending materials for the current day or multiple future days, as well as the exposure period of each material; Receive and cache materials sent by the material storage server for the current day or multiple future days, as well as the exposure period of each material.
5. A page loading method, characterized in that, The method includes: The system receives an inquiry request sent by the application, judges the material to be inquired, and obtains the inquiry result. The inquiry request includes identification information of at least one of the materials to be inquired. The material to be inquired is the terminal's response to a launch operation for a target page. The system obtains the exposure period and real-time date information of each material based on the locally cached materials. Based on the exposure period and real-time date information of each material, the system determines the material from each material. The material to be inquired is the material corresponding to an activity within its validity period. The locally cached materials include multiple materials for the current day or multiple future days. The query results are returned to the application, which are used to characterize the display status of each of the query materials, so that the application loads the target page according to the query results and performs the display operation of each of the query materials on the target page according to the display status of each of the query materials. The process of judging the materials to be inquired about and obtaining the inquiry results includes: For any material to be queried, the accumulated flow rate of the material to be queried is compared with the preset flow rate conditions to obtain the comparison result; If the comparison result indicates that the accumulated flow of each of the queried materials has met the flow condition, then a query result indicating that no materials can be displayed is obtained; or, If the comparison result indicates that the accumulated flow of the material to be queried does not meet the flow condition, the material to be queried will be designated as the first target material. When the number of the first target material is 1, the first target material is used as the target display material, and query results representing the displayable target display material are obtained.
6. The method according to claim 5, characterized in that, The method further includes: If the number of the first target materials is greater than 1, then based on the flow prediction of each first target material, the target display material is determined from each first target material, and a query result representing the displayability of the target display material is obtained.
7. A page loading device, characterized in that, The device includes: The query request module is used to respond to the launch operation for the target page and obtain the exposure period and real-time date information of each material based on the locally cached materials. The locally cached materials include multiple materials for the current day or multiple future days. Based on the exposure period of each material and the real-time date information, at least one material to be queried is determined from the materials. The material to be queried is the material corresponding to the activity within the validity period. A query request is sent to the material storage server so that the material storage server compares the accumulated traffic of any material to be queried with a preset traffic condition and obtains a query result based on the comparison result. The query request includes the identification information of at least one of the materials to be queried. The result receiving module is used to receive the query results returned by the material storage server, and the query results are used to characterize the display status of each of the query materials; The page loading module is used to load the target page and perform display operations on the target page for each of the materials to be queried according to their display status.
8. A page loading device, characterized in that, The device includes: The judgment module is used to receive an inquiry request sent by the application, judge the material to be inquired, and obtain the inquiry result. The inquiry request includes identification information of at least one of the materials to be inquired. The material to be inquired is the material that the terminal responds to the launch operation for the target page. The module obtains the exposure period and real-time date information of each material based on the locally cached materials. Based on the exposure period and real-time date information of each material, the module determines the material from each material. The material to be inquired is the material corresponding to the activity within the validity period. The locally cached materials include multiple materials for the current day or multiple days in the future. The result return module is used to return the query result to the application. The query result is used to characterize the display status of each of the query materials, so that the application loads the target page according to the query result and performs the display operation of each of the query materials on the target page according to the display status of each of the query materials. The judgment module is specifically used for: For any material to be queried, the accumulated flow rate of the material to be queried is compared with the preset flow rate conditions to obtain the comparison result; If the comparison result indicates that the accumulated flow of each of the queried materials has met the flow condition, then a query result indicating that no materials can be displayed is obtained; or, If the comparison result indicates that the accumulated flow of the material to be queried does not meet the flow condition, the material to be queried will be designated as the first target material. When the number of the first target material is 1, the first target material is used as the target display material, and query results representing the displayable target display material are obtained.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Webpage processing method and system, computer system and computer readable storage medium
CN111428161A
Small program page data processing method and device, computer equipment and storage medium
CN112181510A