CN114782383A - Webpage quality monitoring method, device, equipment and storage medium - Google Patents

Webpage quality monitoring method, device, equipment and storage medium Download PDF

Info

Publication number
CN114782383A
CN114782383A CN202210459033.7A CN202210459033A CN114782383A CN 114782383 A CN114782383 A CN 114782383A CN 202210459033 A CN202210459033 A CN 202210459033A CN 114782383 A CN114782383 A CN 114782383A
Authority
CN
China
Prior art keywords
pages
target
state image
target pages
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210459033.7A
Other languages
Chinese (zh)
Inventor
刘小月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202210459033.7A priority Critical patent/CN114782383A/en
Publication of CN114782383A publication Critical patent/CN114782383A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06395Quality analysis or management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Quality & Reliability (AREA)
  • Educational Administration (AREA)
  • Development Economics (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Game Theory and Decision Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Evolutionary Biology (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a webpage quality monitoring method, a device, equipment and a storage medium. The technical field of computer networks is related to, and specifically the fields of webpage rendering, webpage displaying, webpage monitoring and the like are related to. The specific implementation scheme is as follows: determining a plurality of target pages from a plurality of pages of a target product line; intercepting a first state image and a second state image of the plurality of target pages, wherein the first state image is an image of pre-rendered content, the second state image is an image of real rendered content, and the first state image is displayed earlier than the second state image; and analyzing the first state images and the second state images of the plurality of target pages to obtain a webpage quality monitoring result of the target product line. According to the technical scheme, the webpage quality can be effectively monitored, and the efficiency of monitoring the webpage quality is improved.

Description

Webpage quality monitoring method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of computer network technology, and more particularly, to the fields of web page rendering, web page display, web page monitoring, and the like.
Background
In order to improve the performance of landing pages of web pages, the applicant has proposed a processing mode of pre-rendering at a server side in other patents, that is, the content of a page is rendered well in advance, specifically, the content of the pre-rendered page is set on the real content of the page, and the content of the pre-rendered page is removed after the rendering of the real content of the page is completed, so that a user can see the content of the first-screen page as soon as possible. Therefore, the consistency of the content of the prerendered page and the real content of the page is important to ensure, and how to monitor the webpage quality becomes a technical problem to be solved urgently.
Disclosure of Invention
The disclosure provides a webpage quality monitoring method, a device, equipment and a storage medium.
According to a first aspect of the present disclosure, a method for monitoring web page quality is provided, which includes:
determining a plurality of target pages from a plurality of pages of a target product line;
intercepting a first state image and a second state image of the plurality of target pages, wherein the first state image is an image of pre-rendered content, the second state image is an image of real rendered content, and the first state image is displayed earlier than the second state image;
and analyzing the first state images and the second state images of the plurality of target pages to obtain a webpage quality monitoring result of the target product line.
According to a second aspect of the present disclosure, there is provided a web page quality monitoring apparatus, including:
the determining module is used for determining a plurality of target pages from a plurality of pages of the target product line;
the intercepting module is used for intercepting a first state image and a second state image of the plurality of target pages, wherein the first state image is an image of pre-rendered content, the second state image is an image of real rendered content, and the first state image is displayed earlier than the second state image;
and the monitoring module is used for analyzing the first state images and the second state images of the plurality of target pages to obtain a webpage quality monitoring result of the target product line.
According to a third aspect of the present disclosure, there is provided an electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the first aspect.
According to a fourth aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method provided by the first aspect.
According to a fifth aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the method provided by the first aspect described above.
According to the embodiment of the disclosure, the webpage quality can be effectively monitored, and the efficiency of monitoring the webpage quality is improved.
It should be understood that the statements in this section are not intended to identify key or critical features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a schematic diagram of a pre-render page parsing process flow according to an embodiment of the disclosure;
FIG. 2 is a schematic flow chart diagram of a web page quality monitoring method according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of web page quality monitoring results according to an embodiment of the present disclosure;
FIG. 4 is a flow diagram of a web page quality monitoring process according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a structure of a web page quality apparatus according to an embodiment of the present disclosure;
FIG. 6 is a schematic view of a scenario of web page quality monitoring according to an embodiment of the present disclosure;
fig. 7 is a block diagram of an electronic device for implementing a web page quality monitoring method according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of embodiments of the present disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The terms "first," "second," and "third," etc. in the description embodiments and claims of the present disclosure and the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprises" and "comprising," as well as any variations thereof, are intended to cover a non-exclusive inclusion, such as a list of steps or elements. The methods, systems, articles, or apparatus need not be limited to the explicitly listed steps or elements, but may include other steps or elements not expressly listed or inherent to such processes, methods, articles, or apparatus.
As described in the background section above, in order to improve the performance of landing pages of web pages, the applicant has proposed a processing manner of pre-rendering at the server side, so as to enable the user to view the contents of the first-screen page as soon as possible. By adopting a server-side pre-rendering processing mode, the conversion capability of the webpage can be further improved while the user experience is improved. As shown in fig. 1, the pre-rendering page parsing processing flow receives an operation of opening a web page; loading and parsing a Text Markup Language (HTML); and loading the real rendering content layer while displaying the pre-rendering content layer. And after the real rendering content layer is loaded, removing the pre-rendering content layer, displaying the real content of the page of the real rendering content layer, and supporting page interaction. Therefore, the pre-rendered content is above the real rendered content, the real rendered content is completed, and the pre-rendered content is removed.
Therefore, the server-side prerendering is to well render the page content in advance, and how to ensure the consistency of the prerendered content and the real content is very important. Based on this, in order to ensure consistency between the pre-rendered content and the real content of the page (only the first screen is seen here), the disclosure provides a webpage quality monitoring method, so as to inspect the content of the page in a regular manner, thereby ensuring the page quality.
The embodiment of the disclosure provides a web page quality monitoring method, which can be applied to electronic devices including but not limited to fixed devices and/or mobile devices, for example, fixed devices including but not limited to servers, and the servers can be cloud servers or ordinary servers. For example, mobile devices include, but are not limited to: one or more of a cell phone or a tablet computer. As shown in fig. 1, the web page quality monitoring method includes:
s201: determining a plurality of target pages from a plurality of pages of a target product line;
s202: intercepting a first state image and a second state image of the plurality of target pages, wherein the first state image is an image of pre-rendered content, the second state image is an image of real rendered content, and the first state image is displayed earlier than the second state image;
s203: and analyzing the first state images and the second state images of the plurality of target pages to obtain a webpage quality monitoring result of the target product line.
In the embodiment of the present disclosure, the target product line is a product line for providing a service of promoting or advertising a target object. The disclosed embodiments do not limit the target object. For example, the target object may be a medical product, a hardware product, an apparel product, a food product, and the like. The above description is only exemplary, and not intended to limit all possible forms of the target object, but is not exhaustive.
In the embodiment of the present disclosure, the number of target product lines is not limited. The electronic equipment can support a plurality of product lines, and different product lines can provide service support for different target objects.
In the embodiment of the present disclosure, the target page is a page whose access amount reaches a certain threshold. Here, the threshold values may be different for different product lines. The threshold values corresponding to different product lines can be set according to the page structure properties of the product lines, and can also be set according to the heat of the product lines supporting the products.
In the embodiment of the present disclosure, the first state image is an image of pre-rendered content, that is, an image that has been pre-rendered. Here, the prerendered content is page content presented at the first time in a case where an instruction to open a product link on the target product line is received.
In the embodiment of the present disclosure, the second state image is an image of real rendering content, that is, an image generated after rendering according to the loaded component. Here, the real rendering content is page content presented at the second time in a case where an instruction to open a product link on the target product line is received. Here, the second time is later than the first time. The real rendering content is content that is presented after the pre-rendering content is removed.
In the embodiment of the disclosure, the web page quality monitoring result includes a comparison result between the first content (pre-rendered content) and the second content (real rendered content) of each target page. Here, the comparison result may be expressed in terms of similarity. The web page quality monitoring result can also comprise annotation information for the difference between the first content (at least part of the pre-rendering content) and the second content (at least part of the real rendering content). The web page quality monitoring result may further include a link address of the first content (at least part of the pre-rendered content) and a link address of the second content (at least part of the real rendered content). The foregoing is merely an exemplary illustration, and is not intended to be a limitation on all possible contents included in the web page quality monitoring result, which is only a non-exhaustive list.
According to the technical scheme of the embodiment of the disclosure, a plurality of target pages are determined from a plurality of pages of a target product line; intercepting a first state image and a second state image of the plurality of target pages; analyzing the first state images and the second state images of the plurality of target pages to obtain a webpage quality monitoring result of the target product line; therefore, the webpage quality of the target product line can be effectively monitored. In addition, compared with the analysis of all pages of the target product line, the analysis of the multiple target pages determined from the pages of the target product line not only reduces the analysis data volume, but also is beneficial to quickly obtaining the webpage quality monitoring result and improves the efficiency of webpage quality monitoring while ensuring the effective analysis range.
In some embodiments, determining a plurality of target pages from a plurality of pages of a target product line comprises: screening a first number of pages from the pages with the visit quantity reaching a first threshold value under the condition that the page structure of the target product line is not fixed until the total number of page components included in the first number of pages is determined to meet a preset condition; and under the condition that the total number of page components included in the first number of pages meets the preset condition, determining a plurality of target pages according to the first number of pages.
Here, the page structure is not fixed, and it can be understood that the components of the page are not fixed. For example, the interface composition may be different for different e-commerce applications. The pages of application a consist of a thirteen portion, the pages of application B consist of a quintuple portion, and the pages of application C consist of a seventeenth portion.
Here, the first threshold may be preset or may be set or adjusted according to the actual situation, such as holidays or promotion. For example, the first threshold is 500 or 1000. It should be understood that the values of the first threshold are merely illustrative and not restrictive.
Here, the first number may be preset and may be set or adjusted according to the actual situation such as holidays or promotion of external environmental factors. For example, the first number is 1000 to 2000. It is to be understood that the first number is exemplary only, and not limiting.
In some embodiments, the preset conditions include: the ratio of the total number of the components included in the first number of pages to the total number of the components of the target product line reaches a first ratio.
In some embodiments, the preset conditions include: and the ratio of the total number of different components included in the first number of pages to the total number of components of the target product line reaches a second ratio.
In some embodiments, the preset conditions include: the first number of pages includes a total number of components greater than a first set value.
In some embodiments, the preset conditions include: the first number of pages comprises a total number of different components greater than a second set value.
For example, counting pages with the visit quantity of the target product line reaching a first threshold value; screening a first number of pages from the pages with the visit amount reaching a first threshold value; determining a plurality of target pages according to the first number of pages under the condition that the total number of page components included in the first number of pages meets the preset condition; and under the condition that the total number of page components included in the first number of pages does not meet the preset condition, re-screening the first number of pages from the pages with the access quantity reaching the first threshold value until the total number of page components included in the first number of pages meets the preset condition, and determining a plurality of target pages according to the first number of pages.
Therefore, a plurality of target pages can be determined according to the characteristics of the target product line, and the efficiency of monitoring the webpage quality is improved.
In some embodiments, determining a plurality of target pages from a plurality of pages of a target product line comprises: screening a second number of pages from the pages with the access amount reaching a second threshold value under the condition that the page structure of the target product line is fixed; a plurality of target pages is determined according to the second number of pages.
Here, the second threshold may be preset, or may be set or adjusted according to actual conditions, such as holidays or promotion. For example, the second threshold is 500 or 200. The second threshold may be the same as or different from the first threshold. It should be understood that the values of the second threshold are merely illustrative and not restrictive.
Here, the second number may be preset, and may be set or adjusted according to actual conditions such as holidays or sales promotion. The second number is less than the first number. For example, the second number is 5 to 20. It should be understood that the second number is exemplary only, and not limiting.
For example, counting pages with the visit quantity of the target product line reaching a second threshold value; randomly screening a second number of pages from the pages with the access amount reaching a second threshold value; and determining a plurality of target pages according to the second number of pages.
For another example, counting pages with the visit quantity of the target product line reaching a second threshold; screening a second number of pages from the pages with the access amount reaching a second threshold value; determining a plurality of target pages according to the second number of pages under the condition that the total number of page components included in the second number of pages meets a certain condition; and under the condition that the total number of page components included in the second number of pages does not meet the certain condition, re-screening the second number of pages from the pages with the access quantity reaching a second threshold value until the total number of page components included in the second number of pages meets the certain condition, and determining a plurality of target pages according to the second number of pages.
Therefore, the multiple target pages are determined according to the characteristics of the target product line, specifically, under the condition that the page structure of the target product line is fixed, the multiple target pages are determined according to the second number of pages, the data volume of the target pages to be analyzed is reduced, and therefore the efficiency of monitoring the webpage quality is improved.
In some embodiments, determining a plurality of target pages may further include: constructing a plurality of sets according to the plurality of target pages; determining at least one target set from the plurality of sets, wherein the ratio of the total number of different page components included in the target set to the total number of the page components of the target product line reaches a preset ratio; determining a minimum set from at least one target set, wherein the number of target pages in the minimum set is minimum; and taking the target page included by the minimum set as a plurality of target pages.
For example, M sets are constructed according to N target pages, each set at least includes 2 target pages, if the sets M1, M2, and M3 all satisfy that the ratio between the total number of different page components included and the total number of page components of the target product line reaches a preset ratio, the set M1 includes N1 target pages, the set M2 includes N2 target pages, the set M3 includes N3 target pages, and N1 < N2 < N3, then the N1 target pages in the set M1 are used as the plurality of target pages in S202.
Therefore, the number of the determined multiple target pages can be minimized, and the webpage quality monitoring efficiency can be further improved.
In some embodiments, intercepting a first state image of a plurality of target pages comprises: when the plurality of target pages are accessed, adding a preset parameter in the access link, wherein the preset parameter is used for indicating that the prerendered content is not removed in the display process; a first state image of the plurality of target pages is captured.
In the embodiment of the present disclosure, the preset parameter may be preset, or may be set or adjusted according to a user requirement. For example, the preset parameter is a ═ 1. For another example, the preset parameter is b-5. It should be understood that the setting and values of the preset parameters are only illustrative and not restrictive.
For example, when the first state image is to be intercepted, a preset parameter (for example, a is 1) is added behind the access link, so that even if the engine parser has rendered the real content of the page, the preset parameter is not removed when the preset parameter is detected, thereby ensuring that an accurate first state image can be acquired, and providing an accurate data base for subsequently calculating the similarity between the first state image and the second state image.
Therefore, when a plurality of target pages are accessed, the preset parameters are added in the access links, the first state image comprising the prerendered content can be ensured to be intercepted, and the accuracy of the webpage quality monitoring result is improved.
In some embodiments, intercepting a second state image of a plurality of target pages comprises: and in response to the detection that the preset labels in the plurality of target pages disappear, starting to intercept the image, and taking the intercepted image as a second state image. The preset tag is used for representing that a first state image is displayed on the target page. Namely: and displaying a first state image on the target page under the condition that the preset label exists.
Here, the preset flag may be set in advance. For example, if the preset tag is a snapshot, if the preset tag is detected to exist, the page displays pre-rendering content, and the screenshot operation is not executed; and starting screenshot until the preset label is not detected, and obtaining a second state image.
Therefore, whether the second state image is intercepted or not is determined by detecting whether the preset label exists or not, the second state image comprising the real rendering content can be ensured to be intercepted, and the accuracy of the webpage quality monitoring result is improved.
In some embodiments, analyzing the first state image and the second state image of the plurality of target pages to obtain a web page quality monitoring result of the target product line includes: identifying first state images of the target pages to obtain first contents of the target pages; identifying second state images of the target pages to obtain second contents of the target pages; determining the similarity of the first content and the second content of the plurality of target pages; and obtaining a webpage quality monitoring result of the target product line according to the similarity of the plurality of target pages.
Here, the first content is at least part of the prerendered content.
Here, the second content is at least part of the real rendering content.
In some embodiments, determining the similarity between the first content and the second content of the target page comprises: comparing a first object at a first position in the first content with a second object at the first position in the second content to obtain a first similarity at the first position; and carrying out weighted averaging on the similarity at each first position in the target page to obtain the similarity of the first content and the second content of the target page. In this way, the overall similarity between the pre-rendered content and the real rendered content of the target page can be obtained.
In some embodiments, determining the similarity between the first content and the second content of the target page comprises: comparing a first object at a target position in the first content with a second object at the target position in the second content to obtain a first similarity at the target position; and taking the similarity at the target position in the target page as the similarity of the first content and the second content of the target page. Here, the target position may be a pre-specified position or a randomly determined position. In this way, the amount of calculation of the similarity can be reduced.
Fig. 3 is a schematic diagram illustrating a web page quality monitoring result in which a first state image and a second state image, and a similarity of the first state image and the second state image are given as shown in fig. 3. In the web page quality monitoring result, a link address (test link address) of the first state image and a link address (baseline link address) of the second state image may also be given. In the webpage quality monitoring result, related information of the first state image and the second state image, such as a labeling result, labeling data and the like, can also be given. In fig. 3, the first state image and the second state image are marked with dashed boxes where they are not the same. It should be understood that the monitoring results shown in fig. 3 are merely illustrative and not restrictive, and those skilled in the art may make various obvious changes and/or substitutions based on the example of fig. 3, and the obtained technical solutions still belong to the disclosure scope of the embodiments of the present disclosure.
Therefore, the webpage quality monitoring result is obtained according to the similarity between the detected pre-rendering content and the real rendering content, so that the webpage quality monitoring result is clear, easy to identify and easy to track, and further the follow-up correction of the webpage which is not expected is facilitated.
In some embodiments, the web page quality monitoring method may further include: and outputting alarm information based on the target page with the similarity smaller than the third threshold in the webpage quality monitoring result.
Here, the warning information is used to remind that the current target page is not in anticipation. Here, the expectation may be understood as not reaching the desired similarity value, i.e. the third threshold value.
Here, the prompting mode of the warning information includes, but is not limited to, a text prompt, a voice prompt, an alarm prompt, or the like. The present disclosure does not limit the manner of presentation.
Here, the third threshold may be set or adjusted according to the accuracy requirement or the speed requirement. For example, the third threshold is 90%.
Therefore, the page which is not in line with the expectation can be recalled quickly by sending the warning information in time, and the page which is not in line with the expectation can be rectified, so that the page performance is improved.
Fig. 4 is a schematic flow chart of the web page quality monitoring process, and as shown in fig. 4, the flow chart may include: taking monitoring of product line A, product line B, product line C and product line D as an example, periodically fishing a high-access (PV) Page of each product line, if PV is more than 500; according to the characteristics of each product line, page components of some product lines are fixed, for example, a product line A, a product line B and a product line C can screen a small number of pages (for example, about 10 pages); some product lines have a non-fixed page component composition, such as a D product line, a large number of pages are fished (e.g., 2000). By looking up the database, the page component composition of each product line is looked up. According to the analysis of the number of the first screen components of the pre-rendered page, for example, if the average value of the number of the first screen components is 5, a page comprising more than 5 components is selected. If the first screen component in the 2000 pages of the D product line can cover more than 90% of the components of the D product line, the same components in the pages are filtered, the smallest page set can cover the most components, and then page screenshot is carried out on the pages in the smallest page set. And (5) screenshot of each page, and finally, assembling a test report. And in the test report, displaying the pre-rendered content screenshot and the real content screenshot, and simultaneously giving a picture similarity value. The test report may take the form of a UI-Diff report, which is more intuitive than test reports determined by means of code analysis.
It should be understood that the flow chart shown in fig. 4 is only illustrative and not restrictive, and those skilled in the art can make various obvious changes and/or substitutions based on the example of fig. 4, and the obtained technical solutions still belong to the disclosure scope of the embodiments of the present disclosure.
Fig. 5 is a schematic structural diagram of a web page quality monitoring device according to an embodiment of the present disclosure, and as shown in fig. 5, the web page quality monitoring device may include:
a determining module 501, configured to determine multiple target pages from multiple pages of a target product line;
an intercepting module 502, configured to intercept a first state image and a second state image of the multiple target pages, where the first state image is an image of pre-rendered content, the second state image is an image of real rendered content, and the first state image is displayed earlier than the second state image;
the monitoring module 503 is configured to analyze the first state images and the second state images of the multiple target pages to obtain a web page quality monitoring result of the target product line.
In some embodiments, the determining module 501 may include: the first determining submodule is used for screening a first number of pages from the pages with the visit quantity reaching a first threshold value under the condition that the page structure of the target product line is not fixed until the total number of page components included in the first number of pages is determined to meet a preset condition; and under the condition that the total number of page components included in the first number of pages meets a preset condition, determining a plurality of target pages according to the first number of pages.
In some embodiments, the determining module 501 may include:
the second determining submodule is used for screening a second number of pages from the pages with the access quantity reaching a second threshold value under the condition that the page structure of the target product line is fixed; a plurality of target pages is determined according to the second number of pages.
In some embodiments, the determining module 501 may further include:
the construction sub-module is used for constructing a plurality of sets according to the plurality of target pages;
the third determining submodule is used for determining at least one target set from the plurality of sets, and the ratio of the total number of different page components included in the target set to the total number of the page components of the target product line reaches a preset ratio;
the fourth determining submodule determines a minimum set from the at least one target set, wherein the number of target pages in the minimum set is minimum;
and the fifth determining submodule is used for taking the target page included in the minimum set as a plurality of target pages.
In some embodiments, the intercept module 502 may include:
the first interception submodule is used for adding a preset parameter in the access link when a plurality of target pages are accessed, and the preset parameter is used for indicating that prerendered contents are not removed in the display process; a first state image of a plurality of target pages is intercepted.
In some embodiments, the intercept module 502 may include:
the second intercepting submodule is used for responding to the situation that the preset labels in the target pages disappear, starting to intercept the image and taking the intercepted image as a second state image; and in the case that the preset label exists, the content displayed by the plurality of target pages is pre-rendered content.
In some embodiments, the monitoring module 503 may include:
the first identification submodule is used for identifying first content of a first state image of a plurality of target pages;
the second identification submodule is used for identifying second content of a second state image of the plurality of target pages;
the sixth determining submodule is used for determining the similarity of the first content and the second content of the plurality of target pages;
and the monitoring submodule is used for obtaining a webpage quality monitoring result of the target product line according to the similarity of the target pages.
In some embodiments, the web page quality monitoring apparatus may further include: and an alarm module 504 (not shown in the figure) configured to output alarm information based on the target page with the similarity smaller than the third threshold in the web page quality monitoring result.
It should be understood by those skilled in the art that the functions of each processing module in the web page quality monitoring apparatus according to the embodiments of the present disclosure may be understood by referring to the foregoing description of the web page quality monitoring method, and each processing module in the web page quality monitoring apparatus according to the embodiments of the present disclosure may be implemented by an analog circuit that implements the functions described in the embodiments of the present disclosure, or may be implemented by running software that implements the functions described in the embodiments of the present disclosure on an electronic device.
The webpage quality monitoring device can effectively monitor the webpage quality and improve the efficiency of webpage quality monitoring.
Fig. 6 is a schematic view illustrating a webpage quality monitoring scenario, and as can be seen from fig. 6, an electronic device such as a cloud server receives a monitoring request from each terminal, where the monitoring request is used for requesting to monitor at least one product line; determining a plurality of target pages for different product lines respectively; for each product line, intercepting a first state image and a second state image of a plurality of target pages, wherein the first state image is an image of pre-rendered content, the second state image is an image of real rendered content, and the first state image is displayed earlier than the second state image; analyzing the first state images and the second state images of the multiple target pages to obtain a webpage quality monitoring result of each product line; and returning a webpage quality monitoring result corresponding to the product line in the monitoring request to each terminal. Therefore, the inspection page content is instantiated in a picture similarity comparison mode, and the quality of the pre-rendered page can be effectively detected. The page which is not in line with the expectation can be recalled quickly and immediately rectified, so that the page quality is ensured, the user experience is ensured, and the page performance is also improved.
It should be understood that the scene diagram shown in fig. 6 is only illustrative and not restrictive, and those skilled in the art may make various obvious changes and/or substitutions based on the example of fig. 6, and the obtained technical solution still belongs to the disclosure scope of the embodiments of the present disclosure.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, and do not violate the customs of public sequences.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 7 illustrates a schematic block diagram of an example electronic device 700 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 7, the device 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a Read-Only Memory (ROM) 702 or a computer program loaded from a storage unit 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 can be stored. The calculation unit 701, the ROM 702, and the RAM 703 are connected to each other by a bus 704. An Input/Output (I/O) interface 705 is also connected to the bus 704.
A number of components in the device 700 are connected to the I/O interface 705, including: an input unit 706 such as a keyboard, a mouse, or the like; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 708 such as a magnetic disk, optical disk, or the like; and a communication unit 709 such as a network card, modem, wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
Computing unit 701 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing Unit 701 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable Processor, controller, microcontroller, and the like. The calculation unit 701 performs the respective methods and processes described above, such as the web page quality monitoring method. For example, in some embodiments, the web page quality monitoring method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of a computer program may be loaded onto and/or installed onto device 700 via ROM 702 and/or communications unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the web page quality monitoring method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the web page quality monitoring method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, Integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application-Specific Standard Products (ASSPs), System-on-Chip (SOCs), load Programmable Logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard Disk, a random access Memory, a Read-Only Memory, an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a Compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a Display device (e.g., a Cathode Ray Tube (CRT) or Liquid Crystal Display (LCD) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user may provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Network (LAN), Wide Area Network (WAN), and the internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client and server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server combining a blockchain.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present disclosure may be executed in parallel or sequentially or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the protection scope of the present disclosure.

Claims (19)

1. A webpage quality monitoring method comprises the following steps:
determining a plurality of target pages from a plurality of pages of a target product line;
intercepting a first state image and a second state image of the plurality of target pages, wherein the first state image is an image of pre-rendered content, the second state image is an image of real rendered content, and the first state image is displayed earlier than the second state image;
and analyzing the first state images and the second state images of the plurality of target pages to obtain a webpage quality monitoring result of the target product line.
2. The method of claim 1, wherein said determining a plurality of target pages from a plurality of pages of a target product line comprises:
screening a first number of pages from the pages with the visit quantity reaching a first threshold value under the condition that the page structure of the target product line is not fixed until the total number of page components included in the first number of pages is determined to meet a preset condition;
and under the condition that the total number of page components included in the first number of pages meets the preset condition, determining the plurality of target pages according to the first number of pages.
3. The method of claim 1, wherein said determining a plurality of target pages from a plurality of pages of a target product line comprises:
screening a second number of pages from the pages with the visit quantity reaching a second threshold value under the condition that the page structure of the target product line is fixed;
and determining the plurality of target pages according to the second number of pages.
4. The method of claim 2 or 3, further comprising:
constructing a plurality of sets according to the plurality of target pages;
determining at least one target set from the plurality of sets, wherein the ratio of the total number of different page components included in the target set to the total number of page components of the target product line reaches a preset ratio;
determining a minimum set from the at least one target set, wherein the number of target pages in the minimum set is minimum;
and taking the target pages included by the minimum set as the plurality of target pages.
5. The method of claim 2 or 3, wherein intercepting the first state image of the plurality of target pages comprises:
when the multiple target pages are accessed, adding a preset parameter in an access link, wherein the preset parameter is used for indicating that the pre-rendered content is not removed in the display process;
intercepting the first state images of the plurality of target pages.
6. The method of claim 2 or 3, wherein intercepting the second state images of the plurality of target pages comprises:
in response to the fact that preset labels in the multiple target pages disappear, starting to intercept images, and taking the intercepted images as the second state images; the preset tag is used for representing the content displayed by the target pages as the pre-rendered content.
7. The method of claim 2 or 3, wherein the analyzing the first state image and the second state image of the plurality of target pages to obtain the web page quality monitoring result of the target product line comprises:
identifying first content of the first state image of the plurality of target pages;
identifying second content of the second state image of the plurality of target pages;
determining similarity of the first content and the second content of the plurality of target pages;
and obtaining a webpage quality monitoring result of the target product line according to the similarity of the target pages.
8. The method of claim 7, further comprising:
and outputting alarm information under the condition that the target page with the similarity smaller than a third threshold exists in the webpage quality monitoring result.
9. A web page quality monitoring device, comprising:
the determining module is used for determining a plurality of target pages from a plurality of pages of a target product line;
the intercepting module is used for intercepting a first state image and a second state image of the plurality of target pages, wherein the first state image is an image of pre-rendered content, the second state image is an image of real rendered content, and the first state image is displayed earlier than the second state image;
and the monitoring module is used for analyzing the first state images and the second state images of the plurality of target pages to obtain a webpage quality monitoring result of the target product line.
10. The apparatus of claim 9, wherein the means for determining comprises:
the first determining submodule is used for screening a first number of pages from the pages with the access quantity reaching a first threshold value under the condition that the page structure of the target product line is not fixed until the total number of page components included in the first number of pages is determined to meet a preset condition; and under the condition that the total number of page components included in the first number of pages meets the preset condition, determining the plurality of target pages according to the first number of pages.
11. The apparatus of claim 9, wherein the means for determining comprises:
the second determining submodule is used for screening a second number of pages from the pages with the access quantity reaching a second threshold value under the condition that the page structure of the target product line is fixed; and determining the plurality of target pages according to the second number of pages.
12. The apparatus of claim 9 or 10, the determining module, further comprising:
the constructing sub-module is used for constructing a plurality of sets according to the plurality of target pages;
a third determining submodule, configured to determine at least one target set from the multiple sets, where a ratio between a total number of different page components included in the target set and a total number of page components of the target product line reaches a preset ratio;
the fourth determining submodule determines a minimum set from the at least one target set, wherein the number of target pages in the minimum set is minimum;
and the fifth determining submodule is used for taking the target page included by the minimum set as the plurality of target pages.
13. The apparatus of claim 9 or 10, wherein the intercept module comprises:
the first intercepting submodule is used for adding a preset parameter in an access link when the plurality of target pages are accessed, and the preset parameter is used for indicating that the pre-rendered content is not removed in the display process; intercepting the first state images of the plurality of target pages.
14. The apparatus of claim 9 or 10, wherein the intercept module comprises:
the second intercepting submodule is used for responding to the situation that preset labels in the target pages disappear, beginning to intercept the images and taking the intercepted images as the second state images; the preset tag is used for representing the content displayed by the target pages as the pre-rendered content.
15. The apparatus of claim 9 or 10, wherein the monitoring module comprises:
the first identification sub-module is used for identifying first content of the first state images of the plurality of target pages;
a second identifying sub-module, configured to identify second content of the second state image of the plurality of target pages;
a sixth determining sub-module, configured to determine similarity between the first content and the second content of the multiple target pages;
and the monitoring submodule is used for obtaining a webpage quality monitoring result of the target product line according to the similarity of the target pages.
16. The apparatus of claim 15, further comprising:
and the warning module is used for outputting warning information under the condition that the target page with the similarity smaller than a third threshold exists in the webpage quality monitoring result.
17. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8.
18. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-8.
19. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-8.
CN202210459033.7A 2022-04-27 2022-04-27 Webpage quality monitoring method, device, equipment and storage medium Pending CN114782383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210459033.7A CN114782383A (en) 2022-04-27 2022-04-27 Webpage quality monitoring method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210459033.7A CN114782383A (en) 2022-04-27 2022-04-27 Webpage quality monitoring method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114782383A true CN114782383A (en) 2022-07-22

Family

ID=82432174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210459033.7A Pending CN114782383A (en) 2022-04-27 2022-04-27 Webpage quality monitoring method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114782383A (en)

Similar Documents

Publication Publication Date Title
CN113377890B (en) Map quality inspection method and device, electronic equipment and storage medium
CN114363019A (en) Method, device and equipment for training phishing website detection model and storage medium
CN115578486A (en) Image generation method and device, electronic equipment and storage medium
CN114417118A (en) Abnormal data processing method, device, equipment and storage medium
US10963690B2 (en) Method for identifying main picture in web page
CN114697247B (en) Fault detection method, device, equipment and storage medium of streaming media system
CN114782383A (en) Webpage quality monitoring method, device, equipment and storage medium
CN113221035A (en) Method, apparatus, device, medium, and program product for determining an abnormal web page
CN114036249A (en) Map data processing method, map data processing device, electronic equipment and medium
CN114661562A (en) Data warning method, device, equipment and medium
CN114706610A (en) Business flow chart generation method, device, equipment and storage medium
CN113032251A (en) Method, device and storage medium for determining service quality of application program
CN113434378B (en) Webpage stability detection method and device, electronic equipment and readable storage medium
CN113138903B (en) Method and apparatus for tracking performance of a storage system
CN114840798A (en) Information generation method, device, equipment and storage medium
CN113779098B (en) Data processing method, device, electronic equipment and storage medium
CN117271289A (en) Webpage monitoring method, device, equipment and storage medium
CN113971237A (en) Advertisement filtering rule generation method and device and electronic equipment
CN117668833A (en) Abnormal operation identification method, device, electronic equipment and storage medium
CN117667566A (en) Method, device, equipment and medium for generating monitoring use cases and training language model
CN113536163A (en) Processing method, device and equipment for picture linking and storage medium
CN114548077A (en) Word stock construction method and device
CN115061886A (en) Performance data processing method, device, equipment and storage medium
CN113641885A (en) Document detection method, device, equipment and storage medium
CN116975653A (en) Sample information determining method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination