CN110309463B - Floor page optimization method and device, computer storage medium and network equipment - Google Patents

Floor page optimization method and device, computer storage medium and network equipment Download PDF

Info

Publication number
CN110309463B
CN110309463B CN201810168754.6A CN201810168754A CN110309463B CN 110309463 B CN110309463 B CN 110309463B CN 201810168754 A CN201810168754 A CN 201810168754A CN 110309463 B CN110309463 B CN 110309463B
Authority
CN
China
Prior art keywords
landing page
target landing
page
performance
loading
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.)
Active
Application number
CN201810168754.6A
Other languages
Chinese (zh)
Other versions
CN110309463A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810168754.6A priority Critical patent/CN110309463B/en
Publication of CN110309463A publication Critical patent/CN110309463A/en
Application granted granted Critical
Publication of CN110309463B publication Critical patent/CN110309463B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a landing page optimization method, a landing page optimization device, a computer storage medium and network equipment, wherein quality indexes of a target landing page in a loading process can be obtained, the quality indexes comprise content indexes and performance indexes, and the quality indexes can objectively reflect the real quality condition of the target landing page from the content dimension and the performance dimension, so that the quality of the target landing page can be objectively measured according to the quality indexes; in addition, the optimization information of the target landing page is generated and output according to the quality index, and the optimization information is generated based on the real quality condition of the target landing page, so that the optimization information has more pertinence and guiding significance, the quality optimization of the target landing page is facilitated, and the overall quality of the target landing page related advertisement is indirectly improved.

Description

Floor page optimization method and device, computer storage medium and network equipment
Technical Field
The invention relates to the technical field of Internet, in particular to the technical field of webpage processing, and particularly relates to a landing page optimizing method, a landing page optimizing device, a computer storage medium and network equipment.
Background
Landing page refers to the first page that is linked to a website after a visitor clicks on an advertisement posted in a particular format (e.g., an advertisement posted in Email, social media, or website floating window, etc.). The landing page is usually designed by an advertiser, the advertiser provides a URL (uniform resource locator) link of the landing page to an advertisement platform, the advertisement platform embeds the URL link into an advertisement for publishing, and when a user clicks the advertisement, the user can jump to a browser to view the page content of the landing page through the URL link. In the prior art, quality detection of a landing page is performed manually, for example, a professional of an advertisement platform opens the landing page in a browser based on a URL link provided by an advertiser, and the page content and the display quality of the page of the landing page are detected manually, for example, whether the page content contains improper content or whether the page display effect meets the requirement or not is detected; the manual quality detection scheme has low efficiency, can not objectively measure the quality of the landing page, can not pertinently propose improvement suggestions for the landing page, and is unfavorable for quality optimization of the landing page.
Disclosure of Invention
The embodiment of the invention provides a landing page optimization method, a landing page optimization device, a computer storage medium and network equipment, which can objectively measure the quality of a landing page, obtain targeted optimization information, improve the performance detection efficiency of the landing page and are favorable for quality optimization of the landing page.
In one aspect, an embodiment of the present invention provides a landing page optimization method, which may include:
loading a target landing page in a browser;
acquiring quality indexes of the target landing page in the loading process, wherein the quality indexes comprise content indexes and performance indexes;
generating optimization information of the target landing page according to the quality index;
and outputting the optimization information of the target landing page.
In another aspect, an embodiment of the present invention provides a landing page optimization apparatus, which may include:
the loading unit is used for loading the target landing page in the browser;
the acquisition unit is used for acquiring the quality index of the target landing page in the loading process, wherein the quality index comprises a content index and a performance index;
the optimizing unit is used for generating optimizing information of the target landing page according to the quality index;
and the output unit is used for outputting the optimization information of the target landing page.
In yet another aspect, embodiments of the present invention provide a computer storage medium storing one or more instructions adapted to be loaded by a processor and to perform the steps of:
loading a target landing page in a browser;
acquiring quality indexes of the target landing page in the loading process, wherein the quality indexes comprise content indexes and performance indexes;
generating optimization information of the target landing page according to the quality index;
and outputting the optimization information of the target landing page.
In yet another aspect, an embodiment of the present invention provides a network device, including:
a processor adapted to implement one or more instructions; the method comprises the steps of,
a computer storage medium storing one or more instructions adapted to be loaded by the processor and to perform the steps of:
loading a target landing page in a browser;
acquiring quality indexes of the target landing page in the loading process, wherein the quality indexes comprise content indexes and performance indexes;
generating optimization information of the target landing page according to the quality index;
And outputting the optimization information of the target landing page.
In the embodiment of the invention, the quality index of the target landing page in the loading process is obtained, wherein the quality index comprises a content index and a performance index, and the quality index can objectively reflect the real quality condition of the target landing page from the content dimension and the performance dimension, so that the quality of the target landing page can be objectively measured according to the quality index; in addition, the optimization information of the target landing page is generated and output according to the quality index, and the optimization information is generated based on the real quality condition of the target landing page, so that the optimization information has more pertinence and guiding significance, the quality optimization of the target landing page is facilitated, and the overall quality of the target landing page related advertisement is indirectly improved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a floor page optimization method according to an embodiment of the present invention;
FIG. 2 is a flowchart of another floor page optimization method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a visualization window according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a landing page optimizing device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a network device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
In the embodiment of the invention, the landing page is also called a landing page, and refers to the first page linked to the website after a visitor clicks on an advertisement published in a specific format (for example, an advertisement published in a format such as Email, social media or website floating window). The page content of the landing page is typically an extension and extension of the content of the clicked advertisement.
According to the related technology, performance detection of the landing page is carried out manually, the efficiency of the scheme is low, the quality of the landing page cannot be objectively measured, improvement suggestions cannot be provided for the landing page in a targeted manner, and quality optimization of the landing page is not facilitated. Based on the above, the embodiment of the invention provides a landing page optimization scheme, and the quality index of a target landing page in the loading process is obtained, wherein the quality index comprises a content index and a performance index, and the quality index can objectively reflect the real quality condition of the target landing page from the content dimension and the performance dimension, so that the quality of the target landing page can be objectively measured according to the quality index; in addition, the optimization information of the target landing page is generated and output according to the quality index, and the optimization information is generated based on the real quality condition of the target landing page, so that the optimization information has more pertinence and guiding significance, the quality optimization of the target landing page is facilitated, and the overall quality of the target landing page related advertisement is indirectly improved.
Based on the above description, the embodiment of the present invention provides a landing page optimization method, please refer to fig. 1, which includes the following steps S101-S104.
S101, loading a target landing page in a browser.
The target landing page can be any landing page for which quality detection or quality optimization is required. The advertiser provides the URL link of the target landing page, and the target landing page can be loaded and displayed in the browser according to the URL link of the target landing page. The core component of the browser is a Rendering Engine (Rendering Engine), which is also called as a "browser kernel", and classified according to the browser kernel, the currently mainstream browser can include the following classes: a browser based on a Trident kernel, a browser based on a Gecko kernel, a browser based on a Webkit kernel, etc. Various browsers provide an API (Application Programming Interface ) interface set to the outside, taking a browser with a Webkit kernel as an example, where the API interface set provided by the browser may include at least one of the following API interfaces:
(1) An API interface for acquiring page attributes; for example: the page () interface can acquire the height of a page, and can manipulate DOM (Document Object Model ) elements of the page.
(2) An API interface for controlling page loading; for example: the setInterval () interface can control page scrolling down and page refreshing, thereby realizing complete loading of pages.
(3) The API interface is used for capturing the page; for example: page. Render () interface.
(4) An API interface for acquiring the first rendering time of the page; such as the firstPaintTime () interface.
(5) An API interface for obtaining the size of an element within a viewport (viewport) and its position relative to the viewport; such as the getbase clientrace () interface.
(6) The API interface is used for acquiring performance parameters of the page in the loading process; for example: the page.onResourceReceived () interface can obtain performance parameters such as page size, number of requests, loading time of pages, and the like.
The embodiment of the invention can select any type of browser to load the target landing page, and can call the API interface in the API interface set provided by the browser to perform corresponding operation on the page.
S102, acquiring quality indexes of the target landing page in the loading process, wherein the quality indexes comprise content indexes and performance indexes.
The quality of the landing page can be measured from two dimensions of content and performance; therefore, the embodiment of the invention acquires the quality index of the target landing page in the loading process, wherein the quality index comprises a content index and a performance index; wherein the content indicator is capable of reflecting the quality of the target landing page from the content dimension, for example: sensitive content affecting quality in the target landing page can be known through the content index, such as characters which contain violations of laws and regulations; or include malicious, violent, etc. words. The performance index can reflect the quality of the target landing page from the performance dimension, for example: performance parameters affecting quality, such as page size, white screen time, number of requests, etc., can be learned by performance metrics. Therefore, the embodiment of the invention can obtain the real quality condition of the target landing page in different dimensions by obtaining the quality index of the target landing page in the loading process.
And S103, generating optimization information of the target landing page according to the quality index.
The optimization information is used to prompt the advertiser from which specific aspects the target landing page may be optimized, and may include optimization suggestion information, such as: if the content index reflects that the target landing page contains a sensitive text, the optimization suggestion information can be a suggestion to delete the sensitive text in the target landing page and simultaneously indicate the position of the sensitive text in the target landing page; and the following steps: if the performance index reflects that the setting of the page size in the target landing page is not reasonable enough to influence the display effect, the optimization suggestion information can be the page size of the target landing page to be suggested and adjusted, and the reasonable range of the parameter is indicated at the same time; etc.
S104, outputting the optimization information of the target landing page.
A visual window can be output, and optimization information of the target landing page is displayed in the visual window; the display of the optimization information can be clearer and more visual through the visual window, the advertiser can more conveniently check the content of the optimization information, and the advertiser is facilitated to correspondingly optimize the target landing page, so that the quality of the target landing page is improved.
In the embodiment of the invention, the quality index of the target landing page in the loading process is obtained, wherein the quality index comprises a content index and a performance index, and the quality index can objectively reflect the real quality condition of the target landing page from the content dimension and the performance dimension, so that the quality of the target landing page can be objectively measured according to the quality index; in addition, the optimization information of the target landing page is generated and output according to the quality index, and the optimization information is generated based on the real quality condition of the target landing page, so that the optimization information has more pertinence and guiding significance, the quality optimization of the target landing page is facilitated, and the overall quality of the target landing page related advertisement is indirectly improved.
The embodiment of the invention provides another floor page optimization method, please refer to fig. 2, which includes the following steps S201-S212:
s201, loading the target landing page in the browser.
Step S201 of the present embodiment can refer to step S101 shown in fig. 1, and is not described here. It should be noted that, in this embodiment, a browser based on Webkit kernel is selected to load the target landing page as an example.
S202, controlling the browser to completely load the target landing page.
The aim of controlling the browser to completely load the target landing page is to enable the page content of the target landing page to be completely displayed in the browser, so that the page content of the target landing page can be conveniently acquired. In particular implementations, step S202 may include the following steps S11-S12:
and S11, calling an API interface set of the browser to acquire the page height of the target landing page.
And s12, completely loading the page content of the target landing page in the browser according to the page height.
In steps s11-s12, firstly, an API interface for acquiring page attributes, such as a page () interface, in an API interface set of the browser may be called to acquire the page height of the target landing page, and then, an API interface for controlling page loading, such as a setInterval () interface, is called to realize that the target landing page rolls down along the view port of the browser, so that all page elements of the target landing page are completely loaded, thereby realizing complete loading of the target landing page in the browser.
S203, performing screenshot processing on the page content of the target landing page which is displayed in the browser and is loaded, and obtaining a screenshot picture.
S204, determining the screenshot picture as a content index of the target landing page.
Steps S202 to S204 are processes of acquiring the content index of the target landing page. If the target landing page is not completely loaded, the screenshot processing is performed on the target landing page, and the browser cannot display the page content of the complete target landing page, so that the screenshot picture may have undersize, incomplete content, large-area blank and other conditions, and the content index reflected by the screenshot picture is not accurate enough. Based on this, steps S202-S204 perform the screenshot processing on the target landing page after the target landing page is completely loaded in the browser, so that it can be avoided that the screenshot picture can include the complete page content of the target landing page, and the screenshot picture can more accurately reflect the real content of the target landing page.
S205, calling an API interface set of the browser to acquire performance parameters of the target landing page in the loading process.
Performance parameters may include, but are not limited to, at least one of: white screen time, first screen time, page size, page loading time, request number. The white screen time refers to the time when a user first sees the page content, and is also called first rendering time; the structure of a page (HTML (HyperText Markup Language, hypertext markup language) document) is as follows:
<html>
<head>
Title of title document
</head>
<body>
Content of the document.
</body>
</html>
In the above structure, "HTML", "head" and "body" are called page elements, respectively, which are also elements necessary for an HTML document. The browser starts to render the page after loading the "head" element, and the user can see the page content after starting to render the page, so the main factors affecting the white screen time are the loading time of the first page element (i.e. html element) and the loading time of the head element.
The first screen time refers to the time spent by the browser in displaying the first screen page, and takes 800 x 600 pixels as a standard, and the first screen time refers to the time spent by the browser in starting loading until the page display height reaches 600 pixels. Statistics of the first screen time are complex, and as element types (such as text elements, picture elements and the like) and rendering modes (such as synchronous rendering, asynchronous rendering and the like) are involved, practical application discovers that the main factor affecting the first screen time is the loading of the picture elements.
Page size refers to the size of the page, for example: page size 800 x 600 pixels, or page size 1024 x 768 pixels, etc. Page load time refers to the time it takes for the browser to start loading until the full page content is displayed. The page element will send HTTP (HyperText Transfer Protocol ) requests to the browser during the loading process, for example: picture elements, flash (solid state memory and animation editor) elements, etc. all send HTTP requests; the request number refers to the total number of HTTP requests sent by all elements in the loading process of the page, and the larger the value of the request number is, the slower the page loading speed is, otherwise, the smaller the value of the request number is, and the faster the page loading speed is.
In the embodiment of the present invention, if the performance parameter of the white screen time of the target landing page is to be acquired, the method may include the following steps s21-s22:
s21, obtaining the loading start time of the target landing page and the loading completion time of the first page element.
And S22, calculating the white screen time of the target landing page according to the loading completion time of the first page element and the loading start time of the target landing page.
Because the main factors affecting the white screen time are the loading time of the first page element (i.e. html element) and the loading time of the head element, in step s21-s22, the loading start time (i.e. the time of the page start request) of the target landing page and the loading completion time (i.e. the return time of the response to the HTTP request sent by the html element) of the first page element of the target landing page can be obtained, and the white screen time of the target landing page can be obtained by subtracting the loading start time of the target landing page from the loading completion time of the first page element. It should be noted that, the white screen time of the target landing page may also be acquired in other manners, for example: if the version of the browser supports an API interface, such as a first PatintTime () interface, for obtaining the first rendering time of the page, then the first PatintTime () interface may be called to directly obtain the white screen time; and the following steps: embedding points can be carried out on the head element, and white screen time is obtained through the embedded points before the head element is loaded; the embedded point is a common data acquisition method for website analysis, and the principle is that code segments are implanted at key points, and events are captured and data are acquired through execution of the code segments.
In a specific implementation, if the first screen time of the target landing page is to be acquired, the method may include the following steps s31-s32:
and s31, calling an API interface set of the browser to acquire loading time of all picture elements in the target landing page, wherein the loading time is within a view port.
s32, selecting the maximum loading time from the acquired loading times of all the picture elements in the viewport, and determining the maximum loading time as the first screen time.
Since the main factor affecting the first-screen time is the loading of picture elements, in steps s31-s32, an API interface, such as the getbase clientrece () interface, for obtaining the size of an element in a viewport (viewport) and its position relative to the viewport may be called to calculate which pictures in the target landing page are within the viewport, and then the loading time (maximum loading time) of the slowest loaded pictures in these pictures is obtained as the first-screen time. Experience shows that the preferable time range of the first screen time is 0-2s, namely if the first screen time of a certain page is lower than 2s, the loading performance of the page is considered to be preferable.
In a specific implementation, if performance metrics such as page size, load time, number of requests, etc. are to be obtained, they may be obtained by calling an API interface, such as the page.onresource received () interface, for obtaining the performance parameters of the page during the load process.
S206, generating a performance file according to the acquired performance parameters.
S207, determining the performance file as a performance index of the target landing page.
Steps S205 to S207 are procedures for acquiring performance indexes of the target landing page. The performance file may be represented as a har (HTTP Archive, a common file format for storing HTTP request/response messages) file. The obtained performance parameters are packaged to form a performance file har file, and the performance file har file is used as a performance index of a target landing page, so that the performance index can be called based on an HTTP request mode, and the calling of the performance index is not limited by programming languages (such as sdk (Software Development Kit, software development kit) of c++) and can be suitable for more Internet scenes, for example: in a scene of performance detection of the landing page, har files of the landing page to be detected can be directly called in an http request mode, so that performance indexes of the landing page can be rapidly obtained, and rapid performance detection is realized; and the following steps: in the scene of auditing the landing page, the har file of the landing page to be audited can be called in an http request mode, so that the performance index of the landing page can be quickly obtained, and the audit is realized according to the performance index.
And S208, storing the screenshot pictures and the performance file into a cloud database.
And storing the screenshot pictures and the performance files into a cloud database, so that the storage pressure of a local storage space can be reduced, and when other equipment calls the screenshot pictures and the performance files, the data are required to be obtained from the cloud database, and the data synchronism and consistency are ensured.
S209, carrying out sensitive detection on the page content of the target landing page according to the screenshot picture to obtain the content index score of the target landing page.
The purpose of the sensitive detection is to detect whether the target landing page contains sensitive content which influences quality, such as characters which violate laws and regulations; or include malicious, violent, etc. words. In step S209, the following table of sensitive content list may be preset:
table one: sensitive content list
Sensitive content Divided/divided times
Word one -5
Word two -3
As shown in the first table, the sensitive content is recorded in the sensitive content list, and each sensitive content corresponds to a corresponding score/time, and the score/time indicates that the total score of the page is subtracted by a corresponding score value when each sensitive content appears, for example: if the word one appears in the page content of a certain page, and the total score is set to be 100, the content index score of the page is 100-5=95.
In step S209, OCR (Optical Character Recognition ) may be performed on the screenshot picture to capture the page text content of the target landing page, then compare the page text content with a preset sensitive content list, count which sensitive contents appear in the target landing page, count the number of occurrences of each sensitive content, and obtain a content index score of the target landing page according to the above table, where the higher the content index score is, the better the content quality of the target landing page is indicated; conversely, the lower the content indicator score, the worse the content quality of the target landing page.
S210, calling a performance detection tool to analyze the performance file to obtain the performance index score of the target landing page.
Performance detection tools refer to tools that can analyze the pages of a web site and inform what aspects can be optimized from to improve the performance of the web site, such as: the performance detection tool yslow is a browser-based plug-in; and (3) invoking yslow to analyze the har file, so that the performance index score of the target landing page can be obtained, wherein the performance index score is the sum of scores of all performance parameters, and further, corresponding performance optimization suggestions can be obtained. For example: let us say that the information obtained with yslow can be found as follows:
In the above example, the performance index score of the target landing page is 89+80+60=229. The higher the performance index score is, the better the performance quality of the target landing page is; conversely, the lower the performance index score, the worse the performance quality of the target landing page.
S211, generating optimization information according to the content index score and the performance index score, wherein the optimization information comprises optimization suggestion information and interactive waterfall flow component information.
The optimization information is used to prompt the advertiser from which specific aspects the target landing page may be optimized, and may include optimization suggestion information, such as: if the content index reflects that the target landing page contains sensitive content, the optimization suggestion information may be a suggestion to delete the sensitive content in the target landing page and indicate the position of the sensitive content in the target landing page; and the following steps: if the performance index reflects that the setting of the page size in the target landing page is not reasonable enough to influence the display effect, the optimization suggestion information can be the page size of the target landing page to be suggested and adjusted, and the reasonable range of the parameter is indicated at the same time; etc. Additionally, in this step, a harview tool may be invoked to generate an interactable waterfall flow component based on the har file; specifically, the harview tool loads har a file according to the data-har attribute of the dom element of the target landing page and generates an iframe (tag), and embeds the iframe into the page of the target landing page to generate an interactable waterfall stream component, wherein the waterfall stream component can provide a presentation of a waterfall stream, so that an advertiser can intuitively know which element affects the loading speed of the target landing page.
S212, outputting the optimization information of the target landing page.
In the embodiment of the present invention, a visual window may be output, please refer to fig. 3, and the optimization information of the target landing page is displayed in the visual window shown in fig. 3; the display of the optimization information can be clearer and more visual through the visual window, the advertiser can more conveniently check the content of the optimization information, and the advertiser is facilitated to correspondingly optimize the target landing page, so that the quality of the target landing page is improved.
In the embodiment of the invention, the quality index of the target landing page in the loading process is obtained, wherein the quality index comprises a content index and a performance index, and the quality index can objectively reflect the real quality condition of the target landing page from the content dimension and the performance dimension, so that the quality of the target landing page can be objectively measured according to the quality index; in addition, the optimization information of the target landing page is generated and output according to the quality index, and the optimization information is generated based on the real quality condition of the target landing page, so that the optimization information has more pertinence and guiding significance, the quality optimization of the target landing page is facilitated, and the overall quality of the target landing page related advertisement is indirectly improved.
Based on the above description of the embodiments of the landing page optimization method, the embodiments of the present invention also disclose a landing page optimization device, which may be a computer program (including program code) running in a terminal or a server, and the landing page optimization device may be applied to the landing page optimization method of the embodiments shown in fig. 1-2, for executing steps in the landing page optimization method. Referring to fig. 4, the landing page optimizing apparatus operates as follows:
and a loading unit 101 for loading the target landing page in the browser.
An obtaining unit 102, configured to obtain a quality index of the target landing page in a loading process, where the quality index includes a content index and a performance index.
And an optimizing unit 103, configured to generate optimizing information of the target landing page according to the quality index.
And an output unit 104 for outputting the optimization information of the target landing page.
In one embodiment, the obtaining unit 102 is specifically configured to:
controlling the browser to completely load the target landing page;
performing screenshot processing on the page content of the loaded target landing page displayed in the browser to obtain screenshot pictures;
And determining the screenshot picture as a content index of the target landing page.
In another embodiment, the obtaining unit 102 is specifically configured to:
calling an API interface set of the browser to acquire the page height of the target landing page;
and completely loading the page content of the target landing page in the browser according to the page height.
In yet another embodiment, the obtaining unit 102 is further configured to:
calling an API interface set of the browser to acquire performance parameters of the target landing page in the loading process;
generating a performance file according to the acquired performance parameters;
determining the performance file as a performance index of the target landing page;
wherein the performance parameter comprises at least one of: white screen time, first screen time, page size, page loading time, request number.
In yet another embodiment, the obtaining unit 102 is specifically configured to:
if the performance parameter is white screen time, acquiring loading start time of the target landing page and loading completion time of a first page element;
and calculating the white screen time of the target landing page according to the loading completion time of the first page element and the loading start time of the target landing page.
In yet another embodiment, the obtaining unit 102 is specifically configured to:
if the performance parameter is the first screen time, calling an API interface set of the browser to acquire loading time of all picture elements in the target landing page, wherein the loading time is within a view port;
and selecting the maximum loading time from the acquired loading times of all picture elements in the viewport, and determining the maximum loading time as the first screen time.
In still another embodiment, the landing page optimizing apparatus further includes:
and the storage unit 105 is used for storing the screenshot pictures and the performance files into a cloud database.
In yet another embodiment, the optimizing unit 103 is specifically configured to:
performing sensitive detection on the page content of the target landing page according to the screenshot pictures to obtain a content index score of the target landing page;
calling a performance detection tool to analyze the performance file to obtain a performance index score of the target landing page;
and generating optimization information according to the content index score and the performance index score, wherein the optimization information comprises optimization suggestion information and interactive waterfall flow component information.
According to one embodiment of the present invention, steps S101-S104 involved in the landing page optimization method shown in fig. 1 may be performed by respective units in the landing page optimization apparatus shown in fig. 4. For example, steps S101, S102, S103, S104 shown in fig. 1 may be performed by the loading unit 101, the acquiring unit 102, the optimizing unit 103, the output unit 104 shown in fig. 4, respectively.
According to one embodiment of the present invention, steps S201-S212 involved in the floor page optimization method shown in fig. 2 may be performed by respective units in the floor page optimization apparatus shown in fig. 4. For example, steps S201, S202-S207, S208, S209-S211, S212 shown in fig. 2 may be performed by the loading unit 101, the acquiring unit 102, the storing unit 105, the optimizing unit 103, the output unit 104, respectively, shown in fig. 4.
According to another embodiment of the present invention, each unit in the landing page optimizing apparatus shown in fig. 4 may be separately or completely combined into one or several other units, or some unit(s) thereof may be further split into a plurality of units with smaller functions, which may achieve the same operation without affecting the achievement of the technical effects of the embodiments of the present invention. The above units are divided based on logic functions, and in practical applications, the functions of one unit may be implemented by a plurality of units, or the functions of a plurality of units may be implemented by one unit. In other embodiments of the present invention, the landing page optimizing apparatus may also include other units, and in practical applications, these functions may also be implemented with assistance from other units, and may be implemented by cooperation of a plurality of units.
In the embodiment of the invention, the quality index of the target landing page in the loading process is obtained, wherein the quality index comprises a content index and a performance index, and the quality index can objectively reflect the real quality condition of the target landing page from the content dimension and the performance dimension, so that the quality of the target landing page can be objectively measured according to the quality index; in addition, the optimization information of the target landing page is generated and output according to the quality index, and the optimization information is generated based on the real quality condition of the target landing page, so that the optimization information has more pertinence and guiding significance, the quality optimization of the target landing page is facilitated, and the overall quality of the target landing page related advertisement is indirectly improved.
Based on the landing page optimization method and the landing page optimization apparatus shown in the above embodiments, the embodiments of the present invention also provide a network device, which may be a terminal or a server, where the terminal may include, but is not limited to, other portable devices such as a laptop computer or a tablet computer having a touch sensitive surface (e.g., a touch screen display and/or a touch pad). It should also be appreciated that in some embodiments, the device is not a portable communication device, but rather a desktop computer (e.g., PC (Personal Computer, personal computer), desktop computer). The server may be an independent service device in the internet, or may be a service cluster formed by sharing a level with a plurality of independent service devices. In the embodiment of the invention, the browser can be installed and operated in the network equipment. Referring to fig. 5, the internal structure of the network device at least includes a processor, a communication interface, and a computer storage medium. The processors, communication interfaces, and computer storage media in the network device may be connected by a bus or other means, and in fig. 5, which is an example of a connection through a bus in the embodiment of the present invention.
The communication interface is a medium for implementing interaction and information exchange between the network device and the external device. A processor (or CPU (Central Processing Unit, central processing unit)) is a computing core and a control core of a network device, which is adapted to implement one or more instructions, in particular to load and execute one or more instructions to implement a corresponding method flow or a corresponding function; the processor of the embodiment of the invention is used for acquiring the quality index of the target landing page in the loading process, wherein the quality index comprises a content index and a performance index, and generating and outputting the optimization information of the target landing page according to the quality index, and the like. Computer storage media (Memory) is a Memory device in a network device for storing programs and data. It is understood that the computer storage media herein may include both built-in storage media of the network device and extended storage media supported by the network device. The computer storage media provides storage space that stores an operating system of the network device. Also stored in the memory space are one or more instructions, which may be one or more computer programs (including program code), adapted to be loaded and executed by the processor. The computer storage medium herein may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory; optionally, at least one computer storage medium remote from the processor may be present.
In the embodiment of the present invention, the processor loads and executes one or more instructions stored in the computer storage medium, so as to implement the corresponding steps involved in the network device in the method flow shown in fig. 1-2; in particular implementations, one or more instructions in a computer storage medium are loaded by a processor and perform the steps of:
loading a target landing page in a browser;
acquiring quality indexes of the target landing page in the loading process, wherein the quality indexes comprise content indexes and performance indexes;
generating optimization information of the target landing page according to the quality index;
and outputting the optimization information of the target landing page.
In one embodiment, during the step of loading one or more instructions in a computer storage medium by the processor to obtain the quality index of the target landing page in the loading process, the following steps are specifically executed:
controlling the browser to completely load the target landing page;
performing screenshot processing on the page content of the loaded target landing page displayed in the browser to obtain screenshot pictures;
and determining the screenshot picture as a content index of the target landing page.
In another embodiment, in the process that the processor loads one or more instructions in the computer storage medium to execute the step of controlling the browser to completely load the target landing page, the following steps are specifically executed:
calling an API interface set of the browser to acquire the page height of the target landing page;
and completely loading the page content of the target landing page in the browser according to the page height.
In yet another embodiment, during the step of loading one or more instructions in the computer storage medium by the processor to obtain the quality index of the target landing page during loading, the following steps are further performed:
calling an API interface set of the browser to acquire performance parameters of the target landing page in the loading process;
generating a performance file according to the acquired performance parameters;
determining the performance file as a performance index of the target landing page;
wherein the performance parameter comprises at least one of: white screen time, first screen time, page size, page loading time, request number.
In yet another embodiment, the performance parameter is white screen time; in the process that the processor loads one or more instructions in a computer storage medium to execute the step of calling the API interface set of the browser to acquire the performance parameters of the target landing page in the loading process, the following steps are specifically executed:
Acquiring loading start time of the target landing page and loading completion time of a first page element;
and calculating the white screen time of the target landing page according to the loading completion time of the first page element and the loading start time of the target landing page.
In yet another embodiment, the performance parameter is a first screen time; in the process that the processor loads one or more instructions in a computer storage medium to execute the step of calling the API interface set of the browser to acquire the performance parameters of the target landing page in the loading process, the following steps are specifically executed:
calling an API interface set of the browser to acquire loading time of all picture elements in the target landing page, wherein the loading time is within a view port;
and selecting the maximum loading time from the acquired loading times of all picture elements in the viewport, and determining the maximum loading time as the first screen time.
In yet another embodiment, the processor loading one or more instructions in a computer storage medium further performs the steps of: and storing the screenshot pictures and the performance file into a cloud database.
In yet another embodiment, during the process of loading one or more instructions in a computer storage medium by the processor to execute the step of generating the optimization information of the target landing page according to the quality index, the following steps are specifically executed:
Performing sensitive detection on the page content of the target landing page according to the screenshot pictures to obtain a content index score of the target landing page;
calling a performance detection tool to analyze the performance file to obtain a performance index score of the target landing page;
and generating optimization information according to the content index score and the performance index score, wherein the optimization information comprises optimization suggestion information and interactive waterfall flow component information.
In the embodiment of the invention, the quality index of the target landing page in the loading process is obtained, wherein the quality index comprises a content index and a performance index, and the quality index can objectively reflect the real quality condition of the target landing page from the content dimension and the performance dimension, so that the quality of the target landing page can be objectively measured according to the quality index; in addition, the optimization information of the target landing page is generated and output according to the quality index, and the optimization information is generated based on the real quality condition of the target landing page, so that the optimization information has more pertinence and guiding significance, the quality optimization of the target landing page is facilitated, and the overall quality of the target landing page related advertisement is indirectly improved.
The foregoing disclosure is illustrative of the present invention and is not to be construed as limiting the scope of the invention, which is defined by the appended claims.

Claims (11)

1. A landing page optimization method, characterized by comprising:
loading a target landing page in a browser;
acquiring quality indexes of the target landing page in the loading process, wherein the quality indexes comprise content indexes and performance indexes; the content index is a screenshot picture, and the screenshot picture is obtained by performing screenshot processing on the page content of the target landing page after the target landing page is completely loaded by a browser; the performance index is obtained by calling an API interface set of the browser; the performance index is encapsulated in a performance file, the performance file is a har file, and the performance file supports the invocation based on the HTTP request mode;
generating optimization information of the target landing page according to the quality index; the optimization information comprises optimization suggestion information and an interactive waterfall flow component; if the content index reflects that the target landing page contains sensitive content, the optimization suggestion information comprises indication information for indicating the position of the sensitive content in the target landing page; the sensitive content is obtained by performing OCR processing and sensitive detection on the screenshot picture; if the performance index reflects that the performance parameter setting in the target landing page is unreasonable, the optimization suggestion information comprises indication information for indicating a reasonable range of the performance parameter; the generation process of the interactive waterfall flow assembly comprises the following steps: loading the performance file according to the data-har attribute of the Dom element of the target landing page and generating a tag, and embedding the tag into the page of the target landing page to generate the interactive waterfall flow component; the waterfall flow component is used for providing a presentation of waterfall flow, and elements influencing the loading speed of the target landing page are indicated through the presentation of the waterfall flow;
And outputting the optimization information of the target landing page in a visual window.
2. The method of claim 1, wherein the obtaining the quality indicator of the target landing page during loading comprises:
controlling the browser to completely load the target landing page;
performing screenshot processing on the page content of the loaded target landing page displayed in the browser to obtain screenshot pictures;
and determining the screenshot picture as a content index of the target landing page.
3. The method of claim 2, wherein the controlling the browser to completely load the target landing page comprises:
calling an API interface set of the browser to acquire the page height of the target landing page;
and completely loading the page content of the target landing page in the browser according to the page height.
4. The method of claim 2, wherein the obtaining the quality indicator of the target landing page during loading further comprises:
calling an API interface set of the browser to acquire performance parameters of the target landing page in the loading process;
generating a performance file according to the acquired performance parameters;
Determining the performance file as a performance index of the target landing page;
wherein the performance parameter comprises at least one of: white screen time, first screen time, page size, page loading time, request number.
5. The method of claim 4, wherein the performance parameter is white screen time; the calling the API interface set of the browser to acquire the performance parameters of the target landing page in the loading process comprises the following steps:
acquiring loading start time of the target landing page and loading completion time of a first page element;
and calculating the white screen time of the target landing page according to the loading completion time of the first page element and the loading start time of the target landing page.
6. The method of claim 4, wherein the performance parameter is a first screen time; the calling the API interface set of the browser to acquire the performance parameters of the target landing page in the loading process comprises the following steps:
calling an API interface set of the browser to acquire loading time of all picture elements in the target landing page, wherein the loading time is within a view port;
and selecting the maximum loading time from the acquired loading times of all picture elements in the viewport, and determining the maximum loading time as the first screen time.
7. The method as recited in claim 4, further comprising: and storing the screenshot pictures and the performance file into a cloud database.
8. The method of any of claims 2-7, wherein the generating optimization information for the target landing page based on the quality indicator comprises:
performing sensitive detection on the page content of the target landing page according to the screenshot pictures to obtain a content index score of the target landing page;
calling a performance detection tool to analyze the performance file to obtain a performance index score of the target landing page;
and generating optimization information according to the content index score and the performance index score.
9. A landing page optimizing apparatus, characterized by comprising:
the loading unit is used for loading the target landing page in the browser;
the acquisition unit is used for acquiring the quality index of the target landing page in the loading process, wherein the quality index comprises a content index and a performance index; the content index is a screenshot picture, and the screenshot picture is obtained by performing screenshot processing on the page content of the target landing page after the target landing page is completely loaded by a browser; the performance index is obtained by calling an API interface set of the browser; the performance index is encapsulated in a performance file, the performance file is a har file, and the performance file supports the invocation based on the HTTP request mode;
The optimizing unit is used for generating optimizing information of the target landing page according to the quality index; the optimization information comprises optimization suggestion information and an interactive waterfall flow component; if the content index reflects that the target landing page contains sensitive content, the optimization suggestion information comprises indication information for indicating the position of the sensitive content in the target landing page; the sensitive content is obtained by performing OCR processing and sensitive detection on the screenshot picture; if the performance index reflects that the performance parameter setting in the target landing page is unreasonable, the optimization suggestion information comprises indication information for indicating a reasonable range of the performance parameter; the generation process of the interactive waterfall flow assembly comprises the following steps: loading the performance file according to the data-har attribute of the Dom element of the target landing page and generating a tag, and embedding the tag into the page of the target landing page to generate the interactive waterfall flow component; the waterfall flow component is used for providing a presentation of waterfall flow, and elements influencing the loading speed of the target landing page are indicated through the presentation of the waterfall flow;
And the output unit is used for outputting the optimization information of the target landing page in the visual window.
10. A computer storage medium storing one or more instructions adapted to be loaded by a processor and to perform the floor page optimization method of any one of claims 1-8.
11. A network device, comprising:
a processor adapted to implement one or more instructions; the method comprises the steps of,
a computer storage medium storing one or more instructions adapted to be loaded by the processor and to perform the floor page optimization method of any one of claims 1-8.
CN201810168754.6A 2018-02-28 2018-02-28 Floor page optimization method and device, computer storage medium and network equipment Active CN110309463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810168754.6A CN110309463B (en) 2018-02-28 2018-02-28 Floor page optimization method and device, computer storage medium and network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810168754.6A CN110309463B (en) 2018-02-28 2018-02-28 Floor page optimization method and device, computer storage medium and network equipment

Publications (2)

Publication Number Publication Date
CN110309463A CN110309463A (en) 2019-10-08
CN110309463B true CN110309463B (en) 2023-09-19

Family

ID=68073298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810168754.6A Active CN110309463B (en) 2018-02-28 2018-02-28 Floor page optimization method and device, computer storage medium and network equipment

Country Status (1)

Country Link
CN (1) CN110309463B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111104308A (en) * 2019-11-12 2020-05-05 贝壳技术有限公司 Display page testing method and device, storage medium and electronic equipment
CN111259287B (en) * 2020-01-14 2021-05-25 北京字节跳动网络技术有限公司 Page content display method and device, electronic equipment and storage medium
CN112131493A (en) * 2020-08-27 2020-12-25 长沙市到家悠享网络科技有限公司 Page first screen time determining method and device, electronic equipment and storage medium
CN113535435B (en) * 2021-07-22 2022-06-07 北京三快在线科技有限公司 Page data processing method and device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678372A (en) * 2012-09-14 2014-03-26 北京百度网讯科技有限公司 Method and equipment for obtaining application performance of page
CN106100936A (en) * 2016-08-10 2016-11-09 乐视控股(北京)有限公司 Webpage method for monitoring performance and device and the webserver, client
CN107528818A (en) * 2016-09-27 2017-12-29 腾讯科技(北京)有限公司 The data processing method and device of media file

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013025874A2 (en) * 2011-08-16 2013-02-21 Brightedge Technologies, Inc. Page reporting
US10165037B2 (en) * 2015-05-20 2018-12-25 Cbs Interactive Inc. Method and apparatus for determining bandwidth required for a page feature

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678372A (en) * 2012-09-14 2014-03-26 北京百度网讯科技有限公司 Method and equipment for obtaining application performance of page
CN106100936A (en) * 2016-08-10 2016-11-09 乐视控股(北京)有限公司 Webpage method for monitoring performance and device and the webserver, client
CN107528818A (en) * 2016-09-27 2017-12-29 腾讯科技(北京)有限公司 The data processing method and device of media file

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
在线性能监测系统在CFB机组的应用;韩冰;;神华科技(第06期);第51-54页 *

Also Published As

Publication number Publication date
CN110309463A (en) 2019-10-08

Similar Documents

Publication Publication Date Title
CN110309463B (en) Floor page optimization method and device, computer storage medium and network equipment
US9600400B1 (en) Performance testing of web application components using image differentiation
EP3518124A1 (en) Webpage rendering method and related device
US9916285B2 (en) Generating a preview of a web page for a mobile terminal
US8413044B2 (en) Method and system of retrieving Ajax web page content
US9141611B2 (en) Aggregated web analytics request systems and methods
CN106294658B (en) Webpage quick display method and device
US9934206B2 (en) Method and apparatus for extracting web page content
EP2538324A2 (en) Rendering approximate webspace screenshot client-side
US9769285B2 (en) Access to network content
US9275398B1 (en) Obtaining metrics for client-side display of content
CN109558323B (en) System, method and apparatus for debugging pages
CN108874922B (en) Client device, webpage rendering method based on single page application and storage medium
CN109740081B (en) Page loading method and device
CN110209978B (en) Data processing method and related device
CN110737591A (en) Webpage performance evaluation method, device, server and storage medium
WO2022048141A1 (en) Image processing method and apparatus, and computer readable storage medium
CN112685671A (en) Page display method, device, equipment and storage medium
CN111124564A (en) Method and device for displaying user interface
CN104881452B (en) Resource address sniffing method, device and system
CN110781063B (en) Method, device, equipment and storage medium for measuring first screen time of web page
CN114218890A (en) Page rendering method and device, electronic equipment and storage medium
US20110035433A1 (en) Webpage display method, computer system, and program
CN107451163B (en) Animation display method and device
CN110781427A (en) Method, device, equipment and storage medium for calculating first screen time

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
GR01 Patent grant
GR01 Patent grant