Page content display method, electronic equipment and computer program product
The cache configuration file is used to mark the page content determination request in content promotion, distinguishing verification requests from user requests, solving the problem of indistinguishable data from multi-source and multi-terminal content recommendation requests, reducing processing resource usage, and improving the efficiency and accuracy of content recommendation delivery.
Patent Information
- Application Number
- CN202411941209.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-15
AI Technical Summary
During the content promotion process, it is difficult to distinguish between verification requests and user requests from multiple sources and multiple ends, resulting in excessive processing resources occupies when verifying the effect of content recommendation delivery, affecting the normal processing of user requests.
The cached configuration file is used to mark the request for some page content determination, distinguish between verification requests and user requests, and obtain the tag page content and real page content based on the tag processing requests, and feedback to the user for display.
It reduces the impact on the normal processing of real user requests and improves the efficiency and accuracy of content recommendation delivery.
Smart Images

Figure CN119829861A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technology, and in particular to a page content display method, electronic equipment and computer program product. Background Art
[0002] With the development of network communication technology, more and more businesses are promoting content through web pages. When promoting content, businesses may recommend content on different web pages or on the same web page that is adapted to multiple user devices through different web page types. In this case, it is generally necessary to uniformly manage the delivery of massive heterogeneous content recommendation request data from multiple sources and multiple terminals on different web pages or on the same web page of different web page types.
[0003] When changing or adding a new delivery management strategy, it is generally necessary to send a verification request for testing to verify the effect of content recommendation delivery. However, since the content recommendation request data is a massive heterogeneous content recommendation request data from multiple sources and multiple terminals, it is difficult to distinguish between verification requests and user requests, resulting in excessive processing resources being occupied in the process of verifying the effect of content recommendation delivery, affecting the normal processing of user requests. Summary of the invention
[0004] In view of the problems existing in the prior art, the present invention provides a page content display method, an electronic device and a computer program product.
[0005] The present invention provides a page content display method, comprising: Receiving a page content determination request sent by at least one user terminal when loading a web page; wherein the page content determination request is a request generated based on a display identifier in the web page; Determine the request for tagging based on the content of the page determined in part by the cached configuration file; Determine the request to obtain the marked page content according to the page content after the marking process, and determine the request to obtain the real page content according to the remaining page content; The marked page content and the real page content are fed back to the corresponding user terminal, and the page content is displayed in the web page that has been loaded according to the display identifier at the user terminal.
[0006] According to a page content display method provided by the present invention, the at least one user terminal includes a test user terminal; the configuration file includes a public configuration and a selection configuration; The page content determination request is marked based on the cached configuration file, specifically including: In the case where the selected configuration of the configuration file is the first acceptance configuration, a part of the page content determination request that needs to be marked is determined from the web page loaded by the at least one user terminal according to the first acceptance configuration, and a part of the page content determination request is marked according to the public configuration of the configuration file to determine the first acceptance request; wherein the first acceptance configuration is a configuration for accepting the display effect of the page content in the web page loaded by the corresponding test user terminal based on the page content determination request sent by the test user terminal; Determining the request to obtain the marked page content according to the page content after the marking process specifically includes: The marked page content is obtained according to the first acceptance request.
[0007] According to a page content display method provided by the present invention, the configuration file includes a common configuration and a selection configuration; The page content determination request is marked based on the cached configuration file, specifically including: In the case where the selection configuration of the configuration file is the second acceptance configuration, part of the page content determination request that needs to be marked is determined from the web page loaded by the at least one user terminal according to the public configuration of the configuration file, and part of the page content determination request is marked according to the second acceptance configuration to determine the second acceptance request for backup storage; wherein the second acceptance configuration is a configuration for accepting the high-load operation effect of the content recommendation system based on the page content determination request sent by the real user terminal; Determining the request to obtain the marked page content according to the page content after the marking process specifically includes: Obtaining the marked page content according to the second acceptance request for backup storage; After feeding back the marked page content and the real page content to the corresponding user terminal, the method further includes: receiving the second acceptance request sent by the high concurrency, and determining the acceptance page content corresponding to the second acceptance request; The high-load operation stability is determined based on the difference between the mark page content and the acceptance page content.
[0008] According to a page content display method provided by the present invention, the page content determination request sent by the test user terminal includes a test user identifier; Determining a portion of the page content determination request that needs to be marked from the web page loaded by the at least one user terminal, and marking the portion of the page content determination request according to the public configuration of the configuration file to determine the first acceptance request, specifically includes: Determining a page content determination request carrying the test user identifier from the page content determination requests sent by the at least one user terminal when loading a web page; The target parameter in the request is determined according to the common configuration of the configuration file, and the value of the target parameter is set to a specified value to obtain a first acceptance request.
[0009] According to a page content display method provided by the present invention, marking part of the page content determination request according to the second acceptance configuration to determine the second acceptance request for backup storage specifically includes: An acceptance tag is added to a portion of the page content determination request according to the second acceptance configuration to determine a second acceptance request for backup storage.
[0010] According to a page content display method provided by the present invention, obtaining page content according to the first acceptance request specifically includes: Determining a request scenario and a page content template of the first acceptance request according to the common configuration of the configuration file; Selecting virtual result configuration parameters from a preset configuration library based on the request scenario of the first acceptance request; Fill the virtual result configuration parameters into the page content template to obtain the marked page content.
[0011] According to a page content display method provided by the present invention, after sending the page content determination request after the marking process to a content recommendation system to obtain the page content, the method further includes: storing the page content determination request and the page content after the marking process in a preset database; Receiving a page content determination request sent by at least one user terminal when loading a web page, specifically comprising: A page content determination request sent by at least one user terminal when loading a web page is received and played back from the preset database.
[0012] According to a page content display method provided by the present invention, after storing the page content determination request and the page content after the marking process in a preset database, the method further includes: Acquire the page content determination request and the corresponding page content after at least two dimensions of marking processing from the preset database; The page content after marking processing based on at least two dimensions determines the request and the corresponding page content for visual analysis and recommendation effect verification.
[0013] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the page content display method described in any one of the above methods is implemented.
[0014] The present invention also provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the method for displaying page content as described above is implemented.
[0015] The page content display method, electronic device and computer program product provided by the present invention can, after receiving a page content determination request sent by at least one user terminal when loading a web page, mark part of the page content determination request through a cached configuration file to facilitate distinguishing and verifying whether the page content determination request is a real user request, and then obtain the marked page content according to the page content determination request after the marking process, and obtain the real page content according to the remaining page content determination request; the marked page content and the real page content are fed back to the corresponding user terminal for display, which can reduce the impact on the normal processing of the real user request. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0017] Figure 1 It is a flow chart of the page content display method provided by the present invention.
[0018] Figure 2 It is a schematic diagram of the framework of the page content display method provided by the present invention.
[0019] Figure 3 It is a structural schematic diagram of the page content display device provided by the present invention.
[0020] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0022] Combine the following Figure 1-Figure 4 The present invention describes a page content display method, an electronic device, and a computer program product.
[0023] Figure 1 is a flow chart of the page content display method provided by the present invention, which can be applied to the recommendation system. Figure 1 As shown, the method includes: Step 101: Receive a page content determination request sent by at least one user terminal when loading a web page; wherein the page content determination request is a request generated based on a display identifier in the web page.
[0024] Web pages refer to pages that display functions or services to users and support user interaction. User interaction includes browsing information, making requests, and filling out forms. For example, web pages can be pages in mobile applications (APPlication, APP), pages in mini-programs, web pages based on hypertext markup language, etc. Among them, web pages based on hypertext markup language can be H5 pages.
[0025] The display identifier in this embodiment can also be referred to as a content recommendation position, an advertising position, etc., and is used to indicate that the display content at a specified position on a web page is the display content dynamically fed back by a recommendation system. The recommendation system can be a content recommendation system or an advertising recommendation system, etc. Exemplarily, for a page content determination request generated based on a display identifier when the same user terminal loads the same web page, the recommendation system can feed back different display content to the user terminal based on different pre-configured strategies. A page content determination request refers to requesting the recommendation system to feed back the display content at the position corresponding to the display identifier on the web page.
[0026] For example, the new house introduction page of the APP includes a display logo for displaying the real estate agent's information. When a user opens a new house introduction page in the APP, the display logo in the page can trigger a page content confirmation request sent to the recommendation system during the process of loading the new house introduction page on the user end, so as to obtain the real estate agent information returned by the recommendation system for display.
[0027] Step 102: Determine a portion of the page content based on the cached configuration file and request a marking process.
[0028] In this embodiment, the configuration file may also be referred to as user configuration, request screening configuration, etc., and is used to characterize the characteristics of the page content determination request that needs to be marked and the method of marking, so as to verify the recommendation strategy of the recommendation system based on the page content determination request after marking. The cached configuration file may refer to a pre-stored configuration file.
[0029] For example, a product developer or tester may determine a configuration file based on a recommended strategy in advance, and store the configuration file in a data repository, which may be MongoDB.
[0030] Step 103: Determine the request to obtain the marked page content according to the page content after the marking process, and determine the request to obtain the real page content according to the remaining page content.
[0031] The marked page content refers to the page content that is used to determine the request after the marking process so as to verify the recommendation strategy of the recommendation system. The real page content refers to the page content that displays functions or services to users so as to support user interaction.
[0032] It can be understood that the page content determination request sent by at least one user terminal when loading a web page is composed of the aforementioned partial page content determination request and the remaining page content determination request here.
[0033] Step 104: Feedback the marked page content and the real page content to the corresponding user terminal, and display the page content in the loaded web page according to the display identifier at the user terminal.
[0034] For example, after obtaining the real page content of the feedback, the user terminal can display the real page content in the web page according to the display identifier to support user interaction. After obtaining the marked page content of the feedback, the user terminal can display the marked page content in the web page according to the display identifier to support user interaction.
[0035] The page content display method provided by the embodiment of the present invention can, after receiving a page content determination request sent by at least one user terminal when loading a web page, mark part of the page content determination request through a cached configuration file to facilitate distinguishing and verifying whether the page content determination request is a real user request, and then obtain the marked page content according to the marked page content determination request, and obtain the real page content according to the remaining page content determination request; the marked page content and the real page content are fed back to the corresponding user terminal for display, which can reduce the impact on the normal processing of real user requests.
[0036] Based on the above embodiment, the at least one user terminal includes a test user terminal, and the configuration file includes a public configuration and a selection configuration.
[0037] The test client refers to a client used by testers. For example, the test client can be a client used by product personnel or a client used by quality assurance personnel.
[0038] Common configuration and optional configuration are different configuration dimensions. Common configuration, also known as basic configuration, refers to the configuration items included in all configuration files. Optional configuration is an optional configuration item determined based on common configuration and specific business needs.
[0039] For example, the public configuration may include the request source and business scenario, etc., and different configuration files may be formed by selecting the configuration. Among them, the request source may include APP, mini program and H5 page, etc. Business scenarios may include new house, second-hand house, rental and home improvement, etc.
[0040] In one embodiment, determining the request for marking based on the cached configuration file determines part of the page content, specifically including: In the case where the selected configuration of the configuration file is the first acceptance configuration, a part of the page content determination request sent by the test user terminal is determined from the web page loaded by the at least one user terminal according to the first acceptance configuration, and a part of the page content determination request is marked according to the public configuration of the configuration file to determine the first acceptance request; wherein the first acceptance configuration is a configuration for accepting the display effect of the page content in the web page loaded by the corresponding test user terminal based on the page content determination request sent by the test user terminal; Determining the request to obtain the marked page content according to the page content after the marking process specifically includes: The marked page content is obtained according to the first acceptance request.
[0041] It can be understood that the partial page content determination request here refers to the page content determination request sent by the test client. In other words, the page content determination request sent by the test client is the partial page content determination request here.
[0042] In this embodiment, the page content determination request sent by the test user terminal is determined by loading a web page from at least one user terminal through the first acceptance configuration in the configuration file. According to the public configuration of the configuration file, the page content determination request sent by the test user terminal can be marked to determine the first acceptance request, and then the marked page content is obtained, which can facilitate the identification of the test user terminal and the real user terminal, so as to make a directed virtual request through the test user terminal to verify whether the recommendation strategy of the recommendation system can be displayed normally.
[0043] Based on any of the above embodiments, the page content determination request sent by the test user terminal includes a test user identifier. The test user identifier can also be referred to as a user virtual identifier, a directional user identifier, etc., which is used to identify the page content determination request sent by the specified user terminal. For example, the test user identifier can be a device number used for verification, a unique ID of the verified user, an OpenID of the verified user, etc.
[0044] In one embodiment, determining part of the page content determination request sent by the test client from the web page loaded by the at least one client, and marking part of the page content determination request according to the public configuration of the configuration file to determine the first acceptance request specifically includes: Determining a page content determination request carrying the test user identifier from the page content determination requests sent by the at least one user terminal when loading a web page; The target parameter in the request is determined according to the common configuration of the configuration file, and the value of the target parameter is set to a specified value to obtain a first acceptance request.
[0045] Exemplarily, the public configuration includes that the request source is APP and the business scenario is new house; the first acceptance configuration is to specify the device number used for verification. The page content determination request sent by at least one user terminal can be matched and processed according to the device number used for verification specified in the configuration file, and the page content determination request that successfully matches can be determined as the page content determination request sent by the test user terminal.
[0046] As mentioned above, the public configuration may include the request source, business scenario, and business scenario return result. The request source, business scenario, and business scenario return result of the request are determined based on the partial page content determined by the configuration file. Exemplarily, when the business scenario return result is a telephone number, a public account, etc., the target parameter in the request can be determined to be a city parameter, and the value of the city parameter can be set to a preset virtual city or a random virtual city; when the business scenario return result is instant messaging, web chat, etc., the state parameter of the target parameter in the request can be determined, and the state parameter in the request can be determined to be online. This process can also be called coloring processing, and the first acceptance request can also be called a coloring request.
[0047] In this embodiment, by determining the page content determination request sent by the test user terminal through the test user identifier, the accuracy of determining the page content determination request sent by the test user terminal from the page content determination request sent when loading a web page from at least one user terminal can be increased, the risk of misjudging the page content determination request sent by the real user terminal as the page content determination request sent by the test user terminal is reduced, and the impact of the display effect of the acceptance mark page content in the web page loaded by the test user terminal on the real user experience is reduced.
[0048] To verify the effectiveness of content recommendations, it is generally necessary to dial a phone number to determine whether the phone number is correct, and to conduct instant messaging to verify whether the communication is normal. If the general processing method of determining the request through page content obtains the real page content, and verifies the effectiveness of content recommendations through the real page content, it may lead to a waste of resources such as virtual phone pools, and interfere with the normal work of service providers.
[0049] Based on any of the above embodiments, obtaining the marked page content according to the first acceptance request specifically includes: Determining a request scenario and a page content template of the first acceptance request according to the common configuration of the configuration file; Selecting virtual result configuration parameters from a preset configuration library based on the request scenario of the first acceptance request; Fill the virtual result configuration parameters into the page content template to obtain the marked page content.
[0050] The public configuration may also include a business scenario return result, and the request scenario of the first acceptance request may be determined in combination with the business scenario return result in the public configuration. The business scenario return result may include a phone number, instant messaging, and public account, etc.
[0051] The request scenario refers to the scenario of the web page loaded by the test user terminal that sends the first acceptance request. For example, the request scenario may be that the web page loaded by the test user terminal that sends the first acceptance request is an H5 page, or that the web page loaded by the test user terminal that sends the first acceptance request is a new house information page in the APP, etc. The page content template refers to a predefined page structure. For example, the page content template may include the layout, style, placeholder, avatar, and store name of the page content.
[0052] Exemplarily, the request scenario of the first acceptance request can be determined as an H5 page for the official account based on the result returned in combination with the business scenario in the public configuration, and the page content template corresponding to the marked page content can be determined based on the H5 page.
[0053] Exemplarily, a mapping relationship between a request scenario and a virtual result configuration parameter may be predetermined, so that when determining the request scenario of the first acceptance request, the virtual result configuration parameter may be conveniently selected from a preset configuration library.
[0054] In this embodiment, the marked page content is obtained through virtual result configuration parameters and page content templates, rather than obtaining the real page content through the general processing method of page content determination request, which can easily isolate the interference of subsequent content recommendation effect verification on the service provider.
[0055] Based on any of the above embodiments, the at least one user terminal includes a real user terminal, and the configuration file includes a public configuration and a selection configuration.
[0056] The real user terminal refers to the user terminal used by real users. For example, the APP used by Xiao Ming, who is preparing to rent a house, to visit the rental information page is a real user terminal.
[0057] The page content determination request is marked based on the cached configuration file, specifically including: In the case where the selection configuration of the configuration file is the second acceptance configuration, part of the page content determination request that needs to be marked is determined from the web page loaded by the at least one user terminal according to the public configuration of the configuration file, and part of the page content determination request is marked according to the second acceptance configuration to determine the second acceptance request for backup storage; wherein the second acceptance configuration is a configuration for accepting the high-load operation effect of the content recommendation system based on the page content determination request sent by the real user terminal; Determining the request to obtain the marked page content according to the page content after the marking process specifically includes: Obtaining the marked page content according to the second acceptance request for backup storage; After feeding back the marked page content and the real page content to the corresponding user terminal, the method further includes: receiving the second acceptance request sent by the high concurrency, and determining the acceptance page content corresponding to the second acceptance request; The high-load operation stability is determined based on the difference between the mark page content and the acceptance page content.
[0058] Specifically, in one embodiment, marking a portion of the page content determination request according to the second acceptance configuration to determine the second acceptance request for backup storage specifically includes: An acceptance tag is added to a portion of the page content determination request according to the second acceptance configuration to determine a second acceptance request for backup storage.
[0059] The acceptance tag refers to a tag that indicates that the page content determination request is a page content determination request sent by a real user in the backup storage, so as to isolate the second acceptance request related data from the real user's request related data when measuring the content recommendation effect.
[0060] It can be understood that the partial page content determination request here refers to the page content determination request sent by the real user terminal that complies with the public configuration in the configuration file. In other words, the page content determination request sent by the real user terminal that complies with the public configuration in the configuration file is the partial page content here.
[0061] As mentioned above, the public configuration may include the request source and business scenario, etc. In this embodiment, the public configuration in the configuration file can be used to determine the request from the partial page content that meets the request source and business scenario, etc. loaded from at least one user terminal, so as to facilitate the acceptance of the high-load request response effect in the target scenario.
[0062] The target scenario refers to the scenario that meets the request source and business scenario set in the public configuration.
[0063] In this embodiment, the second acceptance request is a real user request of the backup storage. High-load request response acceptance is performed according to the second acceptance request, which can simulate the high-load operation conditions in the real scene and enhance the reliability of the stability of the high-load request response.
[0064] Moreover, in the process of measuring the effectiveness of content recommendation, user behaviors and interaction data such as telephone consultation, information retention, and interaction with service providers are important bases for measuring the effectiveness of content recommendation. In this embodiment, the second acceptance request is a page content determination request of a real user after marking, which facilitates the distinction between the second acceptance request in the high-load request response acceptance and the page content determination request of the real user, or ensures that the second acceptance request is isolated from the page content determination request data of the real user to avoid affecting the subsequent possible content recommendation effect evaluation.
[0065] The page content display method provided by the embodiment of the present invention, when the configuration file includes a public configuration and a first acceptance configuration, determines the part of the page content determination request that needs to be marked from the web page loaded from at least one user terminal through the first acceptance configuration, and marks the part of the page content determination request through the public configuration; when the configuration file includes a public configuration and a second acceptance configuration, determines the part of the page content determination request that needs to be marked from the web page loaded from at least one user terminal through the public configuration, and marks the part of the page content determination request through the second acceptance configuration. Through the first acceptance configuration and the second acceptance configuration, multiple acceptance requirements can be supported to meet different acceptance requirements.
[0066] like Figure 2 As shown, based on any of the above embodiments, after sending the marked page content determination request to the content recommendation system to obtain the page content, the method further includes: storing the page content determination request and the page content after the marking process in a preset database; Receiving a page content determination request sent by at least one user terminal when loading a web page, specifically comprising: A page content determination request sent by at least one user terminal when loading a web page is received and played back from the preset database.
[0067] Exemplarily, when the configuration file selection is configured as the first acceptance configuration, after the virtual result configuration parameters are filled into the page content template to obtain the marked page content, the page content determination request for marking processing and the marked page content can be stored in the search server (ElasticSearch, ES) through the kafka middleware.
[0068] When the configuration file is selected as the second acceptance configuration, after obtaining the real page content corresponding to the page content determination request, the marked page content determination request and its corresponding real page content can be stored in the search server (ElasticSearch, ES) through the kafka middleware.
[0069] Some recommendation strategies of the recommendation system may be random, that is, there may be multiple possibilities for the page content obtained according to the page content determination request, which can also be called an unstable online simulation scenario. It is difficult to judge whether the display of the page content complies with the strategy of the recommendation system through a single or a few page content determination requests and their corresponding page content. In this embodiment, by replaying and receiving the page content determination request sent by at least one user terminal when loading a web page from a preset database, it is possible to facilitate the reconstruction of the acceptance request and verify whether the content recommendation display of the unstable online simulation scenario complies with the strategy of the recommendation system.
[0070] In addition, when the configuration file is selected as the first acceptance configuration, the marked page content display does not meet expectations, or when the configuration file is selected as the second acceptance configuration, the high-load request response is unstable. The acceptance request and concurrency can be reconstructed through the above-mentioned playback retry to reproduce different page content determination requests and page content response processes, so as to determine the problem that caused the exception and perform subsequent repairs and tests.
[0071] Based on any of the above embodiments, after storing the marked page content determination request and the page content in a preset database, the method further includes: Acquire the page content determination request and the corresponding page content after at least two dimensions of marking processing from the preset database; The page content after marking processing based on at least two dimensions determines the request and the corresponding page content for visual analysis and recommendation effect verification.
[0072] Dimensions may include scenes, regions, advertising spaces, etc. For example, when the preset database is ES, the page content determination request and the corresponding page content of multiple dimensions can be obtained in combination with ES aggregation statements, and visual analysis can be performed to obtain tables, pie charts, trend charts, etc. and visualized to obtain scene difference comparison reports, city effect difference reports, etc., to verify the content recommendation effect.
[0073] like Figure 2 As shown, in order to specifically illustrate the function of the page content display method provided by this implementation, a specific example is provided below.
[0074] A method for displaying page content, comprising: Receive a page content determination request sent by at least one user terminal when loading a web page; wherein the page content determination request is a request generated based on a display identifier in the web page; the at least one user terminal includes a test user terminal and a real user terminal; the page content determination request sent by the test user terminal includes a test user identifier; the configuration file includes a public configuration and a selection configuration; the public configuration may include a request source, a business scenario, and a business scenario return result. The request source may include SDK, mini-programs, H5 pages, etc., the business scenario may include new houses, second-hand, rentals, home decoration, etc., and the business scenario return result may include a 400 phone number, a mobile phone number, a broker, a public account, etc. Exemplarily, the configuration file may be stored in MongoDB.
[0075] In the case where the selected configuration of the configuration file is the first acceptance configuration, a page content determination request carrying the test user identifier is determined from the page content determination request sent when the at least one user terminal loads a web page according to the first acceptance configuration; a target parameter (also referred to as a dyeing process) in the page content determination request carrying the test user identifier is determined according to the public configuration of the configuration file, and the value of the target parameter is set to a specified value to obtain a first acceptance request; wherein, the first acceptance configuration is a configuration for accepting the display effect of the marked page content in the web page loaded by the corresponding test user terminal based on the page content determination request sent by the test user terminal; a request scenario (also referred to as scenario screening) and a page content template of the first acceptance request are determined according to the public configuration of the configuration file; a virtual result configuration parameter is selected from a preset configuration library based on the request scenario of the first acceptance request; and the virtual result configuration parameter is filled into the page content template to construct the marked page content; In the case where the selected configuration of the configuration file is the second acceptance configuration, a portion of the page content determination request that needs to be marked is determined from the web page loaded by the at least one user terminal according to the public configuration of the configuration file, and an acceptance tag is added to the portion of the page content determination request according to the second acceptance configuration to determine a second acceptance request for backup storage (also referred to as traffic backup); wherein the second acceptance configuration is a configuration for accepting a high-load request response effect based on a page content determination request sent by a real user terminal; and the marked page content is obtained according to the second acceptance request for backup storage; Determine the request to obtain the real page content according to the remaining page content; Feeding back the marked page content and the real page content to the corresponding user terminal, and displaying the page content in the loaded web page according to the display identifier at the user terminal; In the case where the configuration file is selected as the second acceptance configuration, after the marked page content and the real page content are fed back to the corresponding user terminal, the method also includes: receiving the second acceptance request sent with high concurrency, determining the acceptance page content corresponding to the second acceptance request; and determining the stability of the high-load request response based on the difference between the marked page content and the acceptance page content.
[0076] After sending the marked page content determination request to the content recommendation system to obtain the page content, the method further includes: storing the marked page content determination request and the page content in a preset database; obtaining the marked page content determination request and the corresponding page content in at least two dimensions from the preset database; and performing visual analysis and recommendation effect verification based on the marked page content determination request and the corresponding page content in at least two dimensions. The recommendation effect verification may include result reach notification, effect aggregation acceptance notification, single verification request query, scene verification effect comparison, city verification effect comparison, etc.
[0077] The page content display device provided by the present invention is described below. The page content display device described below and the page content display method described above can be referenced to each other.
[0078] Figure 3 Schematic diagram of the structure of the page content display device provided by the present invention, which can be applied to the recommendation system. Figure 3 As shown, the device comprises: The request receiving module 301 is used to receive a page content determination request sent by at least one user terminal when loading a web page; wherein the page content determination request is a request generated based on a display identifier in the web page; A request marking module 302, configured to determine a request for marking based on a portion of the page content determined by a cached configuration file; A content determination module 303 is used to determine the request to obtain the marked page content according to the page content after the marking process, and to determine the request to obtain the real page content according to the remaining page content; The content feedback module 304 is used to feed back the marked page content and the real page content to the corresponding user terminal, and the user terminal displays the page content in the loaded web page according to the display identifier.
[0079] Based on any of the above embodiments, the configuration file includes a common configuration and a selection configuration; The request marking module 302 includes: A first acceptance request determination module is used to, when the selected configuration of the configuration file is the first acceptance configuration, determine the part of the page content determination request that needs to be marked from the web page loaded by the at least one user terminal according to the first acceptance configuration, and mark the part of the page content determination request according to the public configuration of the configuration file to determine the first acceptance request; wherein the first acceptance configuration is a configuration for accepting the display effect of the page content in the web page loaded by the corresponding test user terminal based on the page content determination request sent by the test user terminal; The content determination module 303 is specifically used for: The marked page content is obtained according to the first acceptance request.
[0080] Based on any of the above embodiments, the configuration file includes a common configuration and a selection configuration; The request marking module 302 includes: A second acceptance request determination module is used to, when the selection configuration of the configuration file is the second acceptance configuration, determine the part of the page content determination request that needs to be marked from the web page loaded by the at least one user terminal according to the public configuration of the configuration file, and mark the part of the page content determination request according to the second acceptance configuration to determine the second acceptance request for backup storage; wherein the second acceptance configuration is a configuration for accepting the high-load operation effect of the content recommendation system based on the page content determination request sent by the real user terminal; The content determination module 303 is specifically used for: Obtaining the marked page content according to the second acceptance request for backup storage; The page content display device also includes a high-concurrency acceptance module, which is used to: receiving the second acceptance request sent by the high concurrency, and determining the acceptance page content corresponding to the second acceptance request; The high-load operation stability is determined based on the difference between the mark page content and the acceptance page content.
[0081] Based on any of the above embodiments, the at least one user terminal includes a test user terminal; the page content determination request sent by the test user terminal includes a test user identifier; The first acceptance request module is specifically used for: Determining a page content determination request carrying the test user identifier from the page content determination requests sent by the at least one user terminal when loading a web page; The target parameter in the request is determined according to the common configuration of the configuration file, and the value of the target parameter is set to a specified value to obtain a first acceptance request.
[0082] Based on any of the foregoing embodiments, the second acceptance request module is specifically configured to: An acceptance tag is added to a portion of the page content determination request according to the second acceptance configuration to determine a second acceptance request for backup storage.
[0083] Based on any of the above embodiments, the content determination module is specifically used to: Determining a request scenario and a page content template of the first acceptance request according to the common configuration of the configuration file; Selecting virtual result configuration parameters from a preset configuration library based on the request scenario of the first acceptance request; Fill the virtual result configuration parameters into the page content template to obtain the marked page content.
[0084] Based on any of the above embodiments, the page content display device further includes: A request storage module, used for storing the page content determination request and the page content after the marking process into a preset database; The request receiving module is specifically used to play back and receive from the preset database a page content determination request sent by at least one user terminal when loading a web page.
[0085] Based on any of the above embodiments, the page content display device further includes an effect analysis module, which is used to: Acquire the page content determination request and the corresponding page content after at least two dimensions of marking processing from the preset database; The page content after marking processing based on at least two dimensions determines the request and the corresponding page content for visual analysis and recommendation effect verification.
[0086] Figure 4 An example of a structural diagram of an electronic device is shown in FIG. Figure 4As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the page content display method, which includes: receiving a page content determination request sent by at least one user terminal when loading a web page; wherein the page content determination request is a request generated based on a display identifier in the web page; determining part of the page content determination request based on a cached configuration file for marking processing; obtaining a marked page content according to the page content determination request after the marking processing, and obtaining a real page content according to the remaining page content determination request; feeding back the marked page content and the real page content to the corresponding user terminal, and displaying the page content in the web page that has been loaded according to the display identifier at the user terminal.
[0087] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0088] On the other hand, the present invention also provides a computer program product, which includes a computer program, and the computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the page content display method provided by the above-mentioned methods, and the method includes: receiving a page content determination request sent by at least one user terminal when loading a web page; wherein the page content determination request is a request generated based on a display identifier in the web page; determining part of the page content determination request based on a cached configuration file for marking processing; obtaining the marked page content according to the page content determination request after the marking processing, and obtaining the real page content according to the remaining page content determination request; feeding back the marked page content and the real page content to the corresponding user terminal, and displaying the page content in the web page that has been loaded according to the display identifier at the user terminal.
[0089] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the page content display method provided by the above-mentioned methods, the method comprising: receiving a page content determination request sent by at least one user terminal when loading a web page; wherein the page content determination request is a request generated based on a display identifier in the web page; determining part of the page content determination request based on a cached configuration file for marking processing; obtaining marked page content according to the page content determination request after marking processing, and obtaining real page content according to the remaining page content determination request; feeding back the marked page content and the real page content to the corresponding user terminal, and displaying the page content in the web page that has been loaded according to the display identifier at the user terminal.
[0090] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0091] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0092] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for displaying page content, characterized in that: include: Receiving a page content determination request sent by at least one user terminal when loading a web page; wherein the page content determination request is a request generated based on a display identifier in the web page; Determine the request for tagging based on the content of the page determined in part by the cached configuration file; Determine the request to obtain the marked page content according to the page content after the marking process, and determine the request to obtain the real page content according to the remaining page content; The marked page content and the real page content are fed back to the corresponding user terminal, and the page content is displayed in the web page that has been loaded according to the display identifier at the user terminal.
2. The page content display method according to claim 1, characterized in that: The at least one user terminal includes a test user terminal; the configuration file includes a public configuration and a selection configuration; The page content determination request is marked based on the cached configuration file, specifically including: In the case where the selected configuration of the configuration file is the first acceptance configuration, a part of the page content determination request sent by the test user terminal is determined from the web page loaded by the at least one user terminal according to the first acceptance configuration, and a part of the page content determination request is marked according to the public configuration of the configuration file to determine the first acceptance request; wherein the first acceptance configuration is a configuration for accepting the display effect of the marked page content in the web page loaded by the corresponding test user terminal based on the page content determination request sent by the test user terminal; Determining the request to obtain the marked page content according to the page content after the marking process specifically includes: The marked page content is obtained according to the first acceptance request.
3. The page content display method according to claim 1, characterized in that: The at least one user terminal includes a real user terminal, and the configuration file includes a public configuration and a selection configuration; The page content determination request is marked based on the cached configuration file, specifically including: In the case where the selection configuration of the configuration file is the second acceptance configuration, part of the page content determination request that needs to be marked is determined from the web page loaded by the at least one user terminal according to the public configuration of the configuration file, and part of the page content determination request is marked according to the second acceptance configuration to determine the second acceptance request for backup storage; wherein the second acceptance configuration is a configuration for accepting the response effect of a high-load request based on the page content determination request sent by the real user terminal; Determining the request to obtain the marked page content according to the page content after the marking process specifically includes: Obtaining the marked page content according to the second acceptance request for backup storage; After feeding back the marked page content and the real page content to the corresponding user terminal, the method further includes: receiving the second acceptance request sent by the high concurrency, and determining the acceptance page content corresponding to the second acceptance request; The stability of the high-load request response is determined based on the difference between the markup page content and the acceptance page content.
4. The page content display method according to claim 2, characterized in that: The page content determination request sent by the test client includes a test user identifier; Determining part of the page content determination requests sent by the test client from the web page loaded by the at least one client, and marking part of the page content determination requests according to the public configuration of the configuration file to determine the first acceptance request, specifically comprising: Determining a page content determination request carrying the test user identifier from the page content determination requests sent by the at least one user terminal when loading a web page; The target parameter in the request is determined according to the common configuration of the configuration file, and the value of the target parameter is set to a specified value to obtain a first acceptance request.
5. The method for displaying page content according to claim 3, characterized in that: Marking part of the page content determination request according to the second acceptance configuration to determine the second acceptance request for backup storage specifically includes: An acceptance tag is added to part of the page content determination request according to the second acceptance configuration to determine a second acceptance request for backup storage.
6. The page content display method according to claim 2, characterized in that: Obtaining the marked page content according to the first acceptance request specifically includes: Determining a request scenario and a page content template of the first acceptance request according to the common configuration of the configuration file; Selecting virtual result configuration parameters from a preset configuration library based on the request scenario of the first acceptance request; Fill the virtual result configuration parameters into the page content template to obtain the marked page content.
7. The page content display method according to claim 1, characterized in that: After sending the marked page content determination request to a content recommendation system to obtain the page content, the method further includes: storing the page content determination request and the page content after the marking process in a preset database; Receiving a page content determination request sent by at least one user terminal when loading a web page, specifically comprising: A page content determination request sent by at least one user terminal when loading a web page is received and played back from the preset database.
8. The page content display method according to claim 7, characterized in that: After storing the page content determination request and the page content after the marking process in a preset database, the method further includes: Acquire the page content determination request and the corresponding page content after at least two dimensions of marking processing from the preset database; The page content after marking processing based on at least two dimensions determines the request and the corresponding page content for visual analysis and recommendation effect verification.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the page content display method as described in any one of claims 1 to 8 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the page content display method as described in any one of claims 1 to 8 is implemented.