CN112507261A - First screen time calculation method and device - Google Patents

First screen time calculation method and device Download PDF

Info

Publication number
CN112507261A
CN112507261A CN202011508713.0A CN202011508713A CN112507261A CN 112507261 A CN112507261 A CN 112507261A CN 202011508713 A CN202011508713 A CN 202011508713A CN 112507261 A CN112507261 A CN 112507261A
Authority
CN
China
Prior art keywords
time
dom
maximum
dom structure
change
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
CN202011508713.0A
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.)
Wireless Life Hangzhou Information Technology Co ltd
Original Assignee
Wireless Life Hangzhou Information 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 Wireless Life Hangzhou Information Technology Co ltd filed Critical Wireless Life Hangzhou Information Technology Co ltd
Priority to CN202011508713.0A priority Critical patent/CN112507261A/en
Publication of CN112507261A publication Critical patent/CN112507261A/en
Pending legal-status Critical Current

Links

Images

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/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • 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
    • G06F16/986Document structures and storage, e.g. HTML extensions

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)
  • Debugging And Monitoring (AREA)

Abstract

The disclosure relates to a first screen time calculation method and a first screen time calculation device. The method comprises the following steps: monitoring page DOM changes, and calculating a DOM structure score of each rendering; acquiring the maximum change time of the DOM structure according to the DOM structure score; acquiring target picture resources according to a preset rule and the maximum change moment; acquiring the average loading time of the target picture resource; and acquiring the maximum value of the maximum change moment and the average loading time of the target picture resource as the first screen time, thereby solving the problems well. By the scheme, service codes do not need to be changed, service logic does not need to be invaded, service iterative maintenance is not affected, first screen time can be automatically acquired only by accessing the performance acquisition script, and the access cost of new and old projects is extremely low.

Description

First screen time calculation method and device
Technical Field
The disclosure relates to the technical field of computers, in particular to a first screen time calculation method and device.
Background
The loading performance of the web page is affected by the network speed and the terminal performance, which requires paying attention to the display time of the first screen content on the mobile terminal of the real user (hereinafter referred to as the first screen time). From the aspect of user experience, the first screen time is an important experience factor of a user on a webpage, and the using satisfaction degree of the user on a product is greatly influenced. User satisfaction can affect the conversion and retention of the user, which in turn affects the business value of the company.
At present, the common method for calculating the first screen time is as follows: and the developer judges the position of the first screen content according to the service logic of the page, marks the recording time for the corresponding position, and then calls the related API to manually report the recorded time.
However, in this way, the first screen time reported manually is strongly coupled with the service logic, so that the method has strong intrusiveness on the service code and is not beneficial to iteration and maintenance of subsequent services.
Disclosure of Invention
In order to overcome the problems in the related art, the embodiments of the present disclosure provide a method and an apparatus for calculating a first screen time. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a method for calculating an initial screen time, including:
monitoring page DOM changes, and calculating a DOM structure score of each rendering;
acquiring the maximum change time of the DOM structure according to the DOM structure score;
acquiring target picture resources according to a preset rule and the maximum change moment;
acquiring the average loading time of the target picture resource;
and acquiring the maximum value of the maximum change moment and the average loading time of the target picture resource as the first screen time.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the embodiment of the disclosure provides a method for calculating first screen time, which includes: monitoring page DOM changes, and calculating a DOM structure score of each rendering; acquiring the maximum change time of the DOM structure according to the DOM structure score; acquiring target picture resources according to a preset rule and the maximum change moment; acquiring the average loading time of the target picture resource; and acquiring the maximum value of the maximum change moment and the average loading time of the target picture resource as the first screen time, thereby solving the problems well. By the scheme, service codes do not need to be changed, service logic does not need to be invaded, service iterative maintenance is not affected, first screen time can be automatically acquired only by accessing the performance acquisition script, and the access cost of new and old projects is extremely low.
In one embodiment, the monitoring the DOM changes of the page and calculating the DOM structure score of each rendering comprises:
monitoring DOM changes in the document object, wherein the DOM changes comprise all nodes in the whole node tree and the conditions of adding or deleting child nodes of all the nodes;
when the DOM change is monitored and the body element exists on the page, the document object is stopped to be monitored, and the DOM structure score in the body element is calculated.
In one embodiment, the obtaining the maximum change time of the DOM structure according to the DOM structure score includes:
detecting whether the DOM structure score is larger than a preset DOM structure minimum completion component or not;
and if the DOM structure score is larger than the preset DOM structure minimum complete component, determining the time point of a comparison result obtained by the DOM structure score and the preset DOM structure minimum complete component as the maximum change time of the DOM structure.
In one embodiment, the method further comprises:
if the DOM structure score is smaller than or equal to the preset DOM structure minimum complete component, recording a snapshot in the body element after the page is loaded and analyzed, wherein the snapshot comprises: the DOM structure score and the current time within the current body element;
monitoring DOM changes within the body element;
if the DOM change is monitored in the maximum waiting time, recalculating the DOM structure value in the body element;
calculating the difference value between the new DOM structure score and the DOM structure score in the snapshot;
if the difference value is smaller than the minimum score difference, continuing to wait for DOM change;
if the difference value is larger than the minimum score difference, adding 1 to the maximum structure change frequency, and updating the minimum score difference;
if the maximum structure change frequency is 1 or the DOM change content is in the range of the first screen, updating the snapshot content;
and if the DOM change is not monitored in the maximum waiting time, acquiring the maximum change time of the DOM structure according to the maximum structure change times.
In an embodiment, the obtaining the maximum change time of the DOM structure according to the maximum structure change times includes:
if the maximum structure change time is 0, determining that the page loading completion time is the maximum change time of the DOM structure;
and if the maximum structure change time is not 0, determining that the current time recorded in the snapshot is the maximum change time of the DOM structure.
In one embodiment, the obtaining the target picture resource according to a preset rule and the maximum change time includes:
screening out picture resources meeting all the following conditions as the target picture resources:
the picture resource is positioned in the time range from a preset time before the maximum change time to a preset time after the maximum change time;
the size of the decompressed picture resource is larger than 0;
the loading duration of the picture resource is less than the maximum loading time;
the picture format of the picture resource meets a preset format.
In one embodiment, obtaining the average loading time of the target picture resource includes:
acquiring the total amount and the total loading duration of all the screened target picture resources;
and acquiring the average loading time of the picture resources according to the total amount and the total loading duration.
According to a second aspect of the embodiments of the present disclosure, there is provided an initial screen time calculation apparatus including:
the calculation module is used for monitoring the DOM change of the page and calculating the DOM structure score of each rendering;
the first acquisition module is used for acquiring the maximum change time of the DOM structure according to the DOM structure score;
the second acquisition module is used for acquiring the target picture resource according to a preset rule and the maximum change moment;
the third acquisition module is used for acquiring the average loading time of the target picture resource;
and the fourth acquisition module is used for acquiring the maximum value of the maximum change moment and the average loading time of the target picture resource as the first screen time.
In one embodiment, the calculation module comprises:
the first monitoring submodule is used for monitoring DOM changes in the document object, wherein the DOM changes comprise all nodes in the whole node tree and the conditions that all nodes add or delete child nodes;
and the first calculation sub-module is used for stopping monitoring the document object after monitoring that the DOM changes and the body element exists on the page, and calculating the DOM structure score in the body element.
In one embodiment, the first obtaining module comprises:
the detection submodule is used for detecting whether the DOM structure score is larger than a preset DOM structure minimum completion component or not;
and the determining submodule is used for determining the time point of a comparison result obtained by the DOM structure score and the preset DOM structure minimum complete component as the maximum change moment of the DOM structure if the DOM structure score is larger than the preset DOM structure minimum complete component.
In one embodiment, the apparatus further comprises:
a recording sub-module, configured to record a snapshot in the body element after the page is loaded and analyzed, if the DOM structure score is less than or equal to the preset DOM structure minimum complete component, where the snapshot includes: the DOM structure score and the current time within the current body element;
a second monitoring submodule for monitoring DOM changes within the body elements;
the second calculation submodule is used for recalculating the DOM structure score in the body element if the DOM change is monitored in the maximum waiting time;
a third computing submodule for computing a difference between a new DOM structure score and the DOM structure score in the snapshot;
the waiting submodule is used for continuing waiting for DOM change if the difference value is smaller than the minimum score difference;
a processing submodule, configured to add 1 to the maximum structure change frequency and update the minimum score difference if the difference is greater than the minimum score difference;
the updating submodule is used for updating the snapshot content if the maximum structure change frequency is 1 or the DOM change content is in the range of the first screen;
and the obtaining sub-module is used for obtaining the maximum change time of the DOM structure according to the maximum structure change times if the DOM change is not monitored in the maximum waiting time.
In one embodiment, the acquisition sub-module comprises:
the first determining subunit is configured to determine, if the maximum structure change time is 0, that the page loading completion time is the maximum change time of the DOM structure;
and the second determining subunit is configured to determine, if the maximum structure change time is not 0, that the current time recorded in the snapshot is the maximum change time of the DOM structure.
In one embodiment, the second obtaining module includes:
a screening submodule, configured to screen out, as the target picture resource, a picture resource that satisfies all of the following conditions:
the picture resource is positioned in the time range from a preset time before the maximum change time to a preset time after the maximum change time;
the size of the decompressed picture resource is larger than 0;
the loading duration of the picture resource is less than the maximum loading time;
the picture format of the picture resource meets a preset format.
In one embodiment, the third obtaining module includes:
the first obtaining subunit is configured to obtain the total amount of all the screened target picture resources and the total loading duration;
and the second obtaining subunit is configured to obtain the average loading time of the picture resource according to the total amount and the total loading duration.
According to a third aspect of the embodiments of the present disclosure, there is provided an initial screen time calculation apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring page DOM changes, and calculating a DOM structure score of each rendering;
acquiring the maximum change time of the DOM structure according to the DOM structure score;
acquiring target picture resources according to a preset rule and the maximum change moment;
acquiring the average loading time of the target picture resource;
and acquiring the maximum value of the maximum change moment and the average loading time of the target picture resource as the first screen time.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method of any one of the first aspects.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a first screen time calculation method according to an exemplary embodiment.
Fig. 2 is a flow diagram illustrating a first screen time calculation method according to an example embodiment.
Fig. 3 is a flow diagram illustrating a first screen time calculation method according to an example embodiment.
Fig. 4 is a block diagram illustrating an initial screen time calculation apparatus according to an example embodiment.
Fig. 5 is a block diagram illustrating a calculation module in an initial screen time calculation apparatus according to an example embodiment.
Fig. 6 is a block diagram illustrating a first acquisition module in an initial screen time calculation apparatus according to an example embodiment.
Fig. 7 is a block diagram illustrating a first acquisition module in an initial screen time calculation apparatus according to an example embodiment.
Fig. 8 is a block diagram illustrating an acquisition submodule in the first screen time calculation apparatus according to an example embodiment.
Fig. 9 is a block diagram illustrating a second acquisition module in an initial screen time calculation apparatus according to an example embodiment.
Fig. 10 is a block diagram illustrating a third acquisition module in an initial screen time calculation apparatus according to an example embodiment.
Fig. 11 is a block diagram illustrating an apparatus 80 for calculating the top screen time according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The following first introduces terms used in the present disclosure:
DOM weight: each picture element weight is 5, each element weight is 1, and each character weight is 0.5;
the score of the DOM structure is (number of pictures 5) + (number of elements 1) + (number of characters 0.5);
and synchronously rendering the pages: when the page is accessed, the HTML document directly returned by the server is provided with a complete DOM structure, so that the steps of dynamically creating a DOM by js can be reduced.
Page asynchronous rendering: when the page is accessed, the HTML document returned by the server side does not contain a DOM structure, and after HTML loading and analysis are completed, the JS file is executed and the DOM elements are dynamically created. For example: and dynamically rendering the page module according to the interface data.
DOM change detection API: to monitor for DOM changes. Any changes to the DOM, such as addition or subtraction of nodes, changes to attributes, changes to text content, can be notified by this API.
Fig. 1 is a flowchart illustrating a first screen time calculation method according to an exemplary embodiment, as shown in fig. 1, including the following steps S101 to S105:
in step S101, changes in the DOM of the page are monitored, and a DOM structure score is calculated for each rendering.
And monitoring the DOM change of the page by using a DOM change detection API (mutationobserver), and calculating a DOM structure score of each rendering in the monitoring process.
In step S102, the maximum change time of the DOM structure is obtained according to the DOM structure score.
And finding out the maximum change time t1 of the DOM structure by using the score change of the DOM structure.
In step S103, the target picture resource is obtained according to the preset rule and the maximum change time.
In step S104, the average loading time of the target picture resource is acquired.
By using the DOM structure maximum change time t1 found in step S102, the average loading time t2 of the picture resources before and after the time t1, which meet the specific conditions, is calculated.
In step S105, the maximum value of the maximum change time and the average loading time of the target picture resource is obtained as the first screen time.
The maximum value of t1 and t2 is used as the first screen loading completion time, i.e., the first screen time.
The loading performance of the web page is affected by the network speed and the terminal performance, which requires paying attention to the display time of the first screen content on the mobile terminal of the real user (hereinafter referred to as the first screen time). From the aspect of user experience, the first screen time is an important experience factor of a user on a webpage, and the using satisfaction degree of the user on a product is greatly influenced. User satisfaction can affect the conversion and retention of the user, which in turn affects the business value of the company.
At present, the common method for calculating the first screen time is as follows: and the developer judges the position of the first screen content according to the service logic of the page, marks the recording time for the corresponding position, and then calls the related API to manually report the recorded time.
However, the above-mentioned prior art still has some disadvantages:
1) the first screen time reported manually is strongly coupled with the service logic, so that the method has strong intrusiveness on the service code and is not beneficial to iteration and maintenance of subsequent services.
2) On the development side, different developers do not always accurately position the end position of the first screen content, so that the collected data has strong subjectivity.
3) On the user side, the ranges of the first screen contents displayed by different clients are different, and if the dotting position is not adapted according to the client, the reported first screen time and the first screen time under the real condition have larger discrepancy.
The method comprises the steps of monitoring page DOM changes, and calculating a DOM structure score of each rendering; acquiring the maximum change time of the DOM structure according to the DOM structure score; acquiring target picture resources according to a preset rule and the maximum change moment; acquiring the average loading time of the target picture resource; and acquiring the maximum value of the maximum change moment and the average loading time of the target picture resource as the first screen time, thereby solving the problems well. That is, the technical scheme disclosed by the invention has no invasion to service codes, calculates the first screen time of all services according to a unified algorithm, and automatically reports the first screen time. And the method does not need to concern about the content form of the first screen display and the height difference of the first screen display displayed by the client, only needs to monitor the DOM change, finds the maximum change moment of the DOM structure by using the DOM structure score, and calculates the first screen time by combining the maximum change moment of the DOM structure.
The main advantages of the present disclosure are as follows:
1) on the service side, service codes do not need to be changed, service logic does not need to be invaded, service iterative maintenance is not affected, first screen time can be automatically obtained only by accessing a performance acquisition script, and the access cost of new and old projects is extremely low.
2) The first screen time in the scheme is obtained by automatic calculation through the steps, and the mode can avoid subjectivity of business developers and data errors caused by user client difference.
3) The method is mainly based on DOM change, does not need to pay attention to the content displayed in the first screen range, and avoids the difference caused by different display forms such as dynamic effect and video. The invention also respectively calculates the time of the maximum change of the DOM structure under various scenes such as synchronous rendering, asynchronous rendering and the like according to different page rendering forms.
The embodiment of the disclosure provides a method for calculating first screen time, which includes: monitoring page DOM changes, and calculating a DOM structure score of each rendering; acquiring the maximum change time of the DOM structure according to the DOM structure score; acquiring target picture resources according to a preset rule and the maximum change moment; acquiring the average loading time of the target picture resource; and acquiring the maximum value of the maximum change moment and the average loading time of the target picture resource as the first screen time, thereby solving the problems well. By the scheme, service codes do not need to be changed, service logic does not need to be invaded, service iterative maintenance is not affected, first screen time can be automatically acquired only by accessing the performance acquisition script, and the access cost of new and old projects is extremely low.
In one embodiment, as shown in fig. 2, the maximum change time t1 of the DOM structure is calculated as follows:
monitoring DOM changes in the document object in step 201, wherein the DOM changes comprise all nodes in the whole node tree and the conditions of adding or deleting child nodes to all the nodes;
in step 202, a DOM change is monitored;
in step 203, after monitoring the DOM change, judging whether the page contains a body element;
in step 204, after the body element is included in the page, the monitoring of the document object is stopped;
in step 205, a DOM structure score s1 under the body element is calculated.
In step 206, detecting whether the DOM structure score s1 is greater than a preset DOM structure minimal completion component;
in step 207, if the DOM structure score is greater than the preset DOM structure minimum complete component, the current time (i.e., the time point at which the comparison result between the DOM structure score and the preset DOM structure minimum complete component is obtained) is determined as the maximum change time t1 of the DOM structure.
Monitoring DOM changes in a document object (document), wherein the DOM changes comprise all nodes in the whole node tree and the conditions of adding or deleting child nodes of all the nodes;
stopping monitoring the document object when the DOM change is monitored and the body element exists on the page, and calculating the DOM structure score in the body element
Steps S201 to S205 are detailed steps of monitoring the DOM change of the page and calculating the DOM structure score of each rendering.
Through the scheme, the content form of the first screen display and the height difference of the first screen display displayed by the client side do not need to be concerned, only the DOM change needs to be monitored, the maximum change moment of the DOM structure is searched by utilizing the score of the DOM structure, the first screen time is calculated by combining the maximum change moment of the DOM structure, and the user experience is effectively improved.
In one embodiment, the above method further comprises the substeps of:
in step 301, if the DOM structure score is smaller than the preset DOM structure minimum complete component, loading and analyzing the page, and after the page loading and analyzing are completed;
in step 302, a snapshot within the body element is recorded, the snapshot including: the DOM structure score and the current time within the current body element;
in step 303, monitoring for DOM changes within the body element;
whether a DOM change is monitored within the maximum wait time in step 304;
in step 305, if the DOM change is monitored within the maximum waiting time, recalculating the DOM structure score in the body element;
in step 306, calculating the difference value ds between the new DOM structure score and the DOM structure score in the snapshot;
in step 307, it is detected whether the difference is greater than the minimum score difference;
if the difference value is smaller than the minimum score difference, step 303 is executed again, and the DOM change is continuously waited for;
in step 308, if the difference is greater than the minimum score difference, the minimum score difference is updated;
in step 309, the maximum number of structural changes is increased by 1;
in step 3010, detecting whether the maximum structure change time is 1 or whether the DOM change content is in the range of the first screen;
in step 3011, if the maximum structure change number is 1 or the DOM change content is within the range of the first screen, the snapshot content is updated;
in step 3012, if the DOM change is not monitored within the maximum waiting time, the monitoring of the body element is stopped, and the maximum change time of the DOM structure is obtained according to the maximum structure change times.
The method for acquiring the maximum change time of the DOM structure according to the maximum structure change times comprises the following substeps:
in step 3013, detecting whether the maximum structural change number is greater than 0;
in step 3014, if the maximum structure change time is 0, determining that the page loading completion time is the maximum change time of the DOM structure;
in step 3015, if the maximum structure change time is greater than 0, it is determined that the current time recorded in the snapshot is the maximum change time of the DOM structure.
Finding t1 time according to DOM structure score:
a) if the score of the DOM structure is greater than or equal to the preset DOM structure minimum completion component, the page can be considered to be synchronously rendered, and enough display content exists in the page, and the current time is the maximum change time t1 of the DOM structure.
For example, the predetermined DOM structure minimal completion component may be 200;
b) if the DOM structure score is smaller than the preset DOM structure minimum completion component, the current page is considered to have less content to be displayed or need asynchronous rendering, and the subsequent analysis process is continued.
After HTML (hypertext markup language) of a page is loaded and analyzed (namely a DOMContentLoaded event), recording a snapshot in a body element, wherein the snapshot content comprises a DOM structure score and the current time in the current body element;
the DOM change in the body element is monitored, and the DOM change is processed in two cases according to the monitoring condition:
a) if the DOM change is monitored within the maximum waiting time, it can be considered that asynchronous content needs to be rendered after HTML loading and parsing of the page are completed, and the process is carried out according to the following flow:
1) recalculating the DOM structure score in the body element;
2) calculating the difference ds between the new DOM structure score and the DOM structure score in the snapshot:
a) if ds is smaller than the minimum score difference, continuing to wait for DOM change;
b) if ds is greater than the minimum score difference, adding 1 to the maximum structure change times, and updating the minimum score difference;
c) and if the maximum structure change frequency is 1 or the DOM change content is in the range of the first screen, updating the snapshot content.
b) If the DOM change is not monitored within the maximum waiting time, according to the maximum structure change times, finding t1 in different situations:
1) if the number of times is equal to 0, the content rendered asynchronously is considered to be less, and the page loading completion time is the maximum change time t1 of the Dom structure;
2) if the number of times is greater than 0, the content rendered asynchronously is considered to be more, and the time recorded in the snapshot is the maximum change time t1 of the DOM structure.
For example, the maximum latency may include 1300ms and the minimum score difference may include 150.
In one embodiment, the obtaining of the target picture resource according to a preset rule and the maximum change time includes the following substeps:
screening out picture resources meeting all the following conditions as the target picture resources:
the picture resource is positioned in the time range from a preset time before the maximum change time to a preset time after the maximum change time;
the size of the decompressed picture resource is larger than 0;
the loading duration of the picture resource is less than the maximum loading time;
the picture format of the picture resource meets a preset format.
1. Acquiring performance data of the resource type by using a performance API (performance. getEntriesByType);
2. screening out picture resources meeting all the following conditions:
a) the start time of the picture resource is in the time range of t1-300ms to t1+200ms (note: 300ms and 200ms are experimental results after continuous tuning);
b) the decompressed size (decoded body size) of the picture resource is more than 0;
c) the loading duration of the picture resource is less than the maximum loading time 1300ms (note: 1300ms is the experimental result after continuous tuning);
d) the picture formats are png, jpg, jpeg, gif, webp, bmp, and the protocol header of the picture link is http or https.
In one embodiment, obtaining the average loading time of the target picture resource includes:
acquiring the total amount and the total loading duration of all the screened target picture resources;
and acquiring the average loading time of the picture resources according to the total amount and the total loading duration.
And counting the number of the screened picture resources, accumulating the loading time length, and calculating the average picture loading time length t2 according to the total loading time length and the number.
In the performance data of the picture resource type, the responseEnd attribute indicates a time point when the picture loading is finished. Accumulating the end time points of the screened target picture resources to obtain the total loading time _ sum, and then combining the number count of the target pictures to calculate the average picture loading time t 2.
The specific calculation formula is as follows: t2 time _ sum/count.
The technical scheme provided by the disclosure is already applied to the performance acquisition script of the page, most service pages of the acquisition script are accessed, and the first screen time of each page can be checked on the monitoring platform. And manually comparing the first screen time reported by the acquisition script with the screen capturing effect in a browser developer tool to find that the first screen time of most pages is accurate and reliable.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 4 is a block diagram illustrating an initial screen time calculation apparatus according to an exemplary embodiment, the initial screen time calculation apparatus, as shown in fig. 4, including:
the calculating module 11 is used for monitoring the DOM change of the page and calculating the DOM structure score of each rendering;
the first obtaining module 12 is configured to obtain a maximum change time of the DOM structure according to the DOM structure score;
the second obtaining module 13 is configured to obtain a target picture resource according to a preset rule and the maximum change time;
a third obtaining module 14, configured to obtain an average loading time of the target picture resource;
a fourth obtaining module 15, configured to obtain a maximum value of the maximum change time and the average loading time of the target picture resource as a first screen time.
In one embodiment, as shown in fig. 5, the calculation module 11 includes:
the first monitoring submodule 111 is used for monitoring DOM changes in the document object, wherein the DOM changes comprise all nodes in the whole node tree and the conditions that all nodes add or delete child nodes;
the first computation sub-module 112 is configured to stop monitoring the document object and compute a DOM structure score in the body element when the DOM change is monitored and the body element exists on the page.
In one embodiment, as shown in fig. 6, the first obtaining module 12 includes:
the detection submodule 121 is configured to detect whether the DOM structure score is greater than a preset DOM structure minimum completion component;
the determining sub-module 122 is configured to determine, if the DOM structure score is greater than the preset DOM structure minimum complete component, that a time point at which a comparison result is obtained between the DOM structure score and the preset DOM structure minimum complete component is a maximum change time of the DOM structure.
In one embodiment, as shown in fig. 7, the apparatus further comprises:
the recording sub-module 123 is configured to record a snapshot in the body element after the page is loaded and analyzed, if the DOM structure score is less than or equal to the preset DOM structure minimum complete component, where the snapshot includes: the DOM structure score and the current time within the current body element;
a second monitoring sub-module 124 for monitoring DOM changes within the body elements;
a second calculation submodule 125, configured to recalculate the DOM structure score in the body element if a DOM change is monitored within the maximum waiting time;
a third computing submodule 126 for computing a difference between a new DOM structure score and the DOM structure score in the snapshot;
a waiting submodule 127, configured to continue to wait for a DOM change if the difference is smaller than the minimum score difference;
a processing submodule 128, configured to add 1 to the maximum structure change time and update the minimum score difference if the difference is greater than the minimum score difference;
the updating sub-module 129 is configured to update the snapshot content if the maximum structure change time is 1 or the DOM change content is within the range of the first screen;
the obtaining sub-module 1210 is configured to, if the DOM change is not monitored within the maximum waiting time, obtain a maximum change time of the DOM structure according to the maximum structure change time.
In one embodiment, as shown in fig. 8, the acquisition sub-module 1210 includes:
a first determining subunit 12101, configured to determine, if the maximum structure change time is 0, that the page loading completion time is the maximum change time of the DOM structure;
a second determining subunit 12102, configured to determine, if the maximum structure change time is not 0, that the current time recorded in the snapshot is the maximum change time of the DOM structure.
In one embodiment, as shown in fig. 9, the second obtaining module 13 includes:
a screening submodule 131, configured to screen out, as the target picture resource, a picture resource that satisfies all of the following conditions:
the picture resource is positioned in the time range from a preset time before the maximum change time to a preset time after the maximum change time;
the size of the decompressed picture resource is larger than 0;
the loading duration of the picture resource is less than the maximum loading time;
the picture format of the picture resource meets a preset format.
In one embodiment, as shown in fig. 10, the third obtaining module 14 includes:
a first obtaining subunit 141, configured to obtain the total amount of all the screened target picture resources and the total loading duration;
a second obtaining subunit 142, configured to obtain an average loading time of the picture resource according to the total amount and the total loading duration.
According to a third aspect of the embodiments of the present disclosure, there is provided an initial screen time calculation apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring page DOM changes, and calculating a DOM structure score of each rendering;
acquiring the maximum change time of the DOM structure according to the DOM structure score;
acquiring target picture resources according to a preset rule and the maximum change moment;
acquiring the average loading time of the target picture resource;
and acquiring the maximum value of the maximum change moment and the average loading time of the target picture resource as the first screen time.
The processor may be further configured to:
the monitoring of page DOM changes and the calculation of the DOM structure score of each rendering comprises the following steps:
monitoring DOM changes in the document object, wherein the DOM changes comprise all nodes in the whole node tree and the conditions of adding or deleting child nodes of all the nodes;
when the DOM change is monitored and the body element exists on the page, the document object is stopped to be monitored, and the DOM structure score in the body element is calculated.
The obtaining of the maximum change time of the DOM structure according to the DOM structure score includes:
detecting whether the DOM structure score is larger than a preset DOM structure minimum completion component or not;
and if the DOM structure score is larger than the preset DOM structure minimum complete component, determining the time point of a comparison result obtained by the DOM structure score and the preset DOM structure minimum complete component as the maximum change time of the DOM structure.
The processor is further configured to:
if the DOM structure score is smaller than or equal to the preset DOM structure minimum complete component, recording a snapshot in the body element after the page is loaded and analyzed, wherein the snapshot comprises: the DOM structure score and the current time within the current body element;
monitoring DOM changes within the body element;
if the DOM change is monitored in the maximum waiting time, recalculating the DOM structure value in the body element;
calculating the difference value between the new DOM structure score and the DOM structure score in the snapshot;
if the difference value is smaller than the minimum score difference, continuing to wait for DOM change;
if the difference value is larger than the minimum score difference, adding 1 to the maximum structure change frequency, and updating the minimum score difference;
if the maximum structure change frequency is 1 or the DOM change content is in the range of the first screen, updating the snapshot content;
and if the DOM change is not monitored in the maximum waiting time, acquiring the maximum change time of the DOM structure according to the maximum structure change times.
The obtaining the maximum change time of the DOM structure according to the maximum structure change times comprises the following steps:
if the maximum structure change time is 0, determining that the page loading completion time is the maximum change time of the DOM structure;
and if the maximum structure change time is not 0, determining that the current time recorded in the snapshot is the maximum change time of the DOM structure.
Acquiring a target picture resource according to a preset rule and the maximum change moment, wherein the method comprises the following steps:
screening out picture resources meeting all the following conditions as the target picture resources:
the picture resource is positioned in the time range from a preset time before the maximum change time to a preset time after the maximum change time;
the size of the decompressed picture resource is larger than 0;
the loading duration of the picture resource is less than the maximum loading time;
the picture format of the picture resource meets a preset format.
Acquiring the average loading time of the target picture resource, wherein the acquiring comprises the following steps:
acquiring the total amount and the total loading duration of all the screened target picture resources;
and acquiring the average loading time of the picture resources according to the total amount and the total loading duration.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 11 is a block diagram illustrating an apparatus 80 for calculating the top screen time, which is suitable for a terminal device, according to an exemplary embodiment. For example, the apparatus 80 may be a computer, a tablet device, a personal digital assistant, or the like.
The apparatus 80 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 80, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 80. Examples of such data include instructions for any application or method operating on the device 80, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the device 80. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 80.
The multimedia component 808 includes a screen that provides an output interface between the device 80 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 80 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 80 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 80. For example, the sensor assembly 814 may detect the open/closed status of the device 80, the relative positioning of the components, such as a display and keypad of the device 80, the change in position of the device 80 or a component of the device 80, the presence or absence of user contact with the device 80, the orientation or acceleration/deceleration of the device 80, and the change in temperature of the device 80. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the apparatus 80 and other devices. The device 80 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 80 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the apparatus 80 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions of the storage medium, when executed by a processor of an apparatus 80, enable the apparatus 80 to perform the above-described first screen time calculation method, the method comprising:
monitoring page DOM changes, and calculating a DOM structure score of each rendering;
acquiring the maximum change time of the DOM structure according to the DOM structure score;
acquiring target picture resources according to a preset rule and the maximum change moment;
acquiring the average loading time of the target picture resource;
and acquiring the maximum value of the maximum change moment and the average loading time of the target picture resource as the first screen time.
In one embodiment, the monitoring the DOM changes of the page and calculating the DOM structure score of each rendering comprises:
monitoring DOM changes in the document object, wherein the DOM changes comprise all nodes in the whole node tree and the conditions of adding or deleting child nodes of all the nodes;
when the DOM change is monitored and the body element exists on the page, the document object is stopped to be monitored, and the DOM structure score in the body element is calculated.
In one embodiment, the obtaining the maximum change time of the DOM structure according to the DOM structure score includes:
detecting whether the DOM structure score is larger than a preset DOM structure minimum completion component or not;
and if the DOM structure score is larger than the preset DOM structure minimum complete component, determining the time point of a comparison result obtained by the DOM structure score and the preset DOM structure minimum complete component as the maximum change time of the DOM structure.
In one embodiment of the present invention,
if the DOM structure score is smaller than or equal to the preset DOM structure minimum complete component, recording a snapshot in the body element after the page is loaded and analyzed, wherein the snapshot comprises: the DOM structure score and the current time within the current body element;
monitoring DOM changes within the body element;
if the DOM change is monitored in the maximum waiting time, recalculating the DOM structure value in the body element;
calculating the difference value between the new DOM structure score and the DOM structure score in the snapshot;
if the difference value is smaller than the minimum score difference, continuing to wait for DOM change;
if the difference value is larger than the minimum score difference, adding 1 to the maximum structure change frequency, and updating the minimum score difference;
if the maximum structure change frequency is 1 or the DOM change content is in the range of the first screen, updating the snapshot content;
and if the DOM change is not monitored in the maximum waiting time, acquiring the maximum change time of the DOM structure according to the maximum structure change times.
The obtaining the maximum change time of the DOM structure according to the maximum structure change times comprises the following steps:
if the maximum structure change time is 0, determining that the page loading completion time is the maximum change time of the DOM structure;
and if the maximum structure change time is not 0, determining that the current time recorded in the snapshot is the maximum change time of the DOM structure.
In one embodiment, the obtaining the target picture resource according to a preset rule and the maximum change time includes:
screening out picture resources meeting all the following conditions as the target picture resources:
the picture resource is positioned in the time range from a preset time before the maximum change time to a preset time after the maximum change time;
the size of the decompressed picture resource is larger than 0;
the loading duration of the picture resource is less than the maximum loading time;
the picture format of the picture resource meets a preset format.
In one embodiment, obtaining the average loading time of the target picture resource includes:
acquiring the total amount and the total loading duration of all the screened target picture resources;
and acquiring the average loading time of the picture resources according to the total amount and the total loading duration.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A first screen time calculation method is characterized by comprising the following steps:
monitoring page DOM changes, and calculating a DOM structure score of each rendering;
acquiring the maximum change time of the DOM structure according to the DOM structure score;
acquiring target picture resources according to a preset rule and the maximum change moment;
acquiring the average loading time of the target picture resource;
and acquiring the maximum value of the maximum change moment and the average loading time of the target picture resource as the first screen time.
2. The method of claim 1, wherein monitoring for changes in DOM for a page, and calculating a DOM structure score for each rendering comprises:
monitoring DOM changes in the document object, wherein the DOM changes comprise all nodes in the whole node tree and the conditions of adding or deleting child nodes of all the nodes;
when the DOM change is monitored and the body element exists on the page, the document object is stopped to be monitored, and the DOM structure score in the body element is calculated.
3. The method according to claim 2, wherein said obtaining a time of maximum change of the DOM structure according to the DOM structure score comprises:
detecting whether the DOM structure score is larger than a preset DOM structure minimum completion component or not;
and if the DOM structure score is larger than the preset DOM structure minimum complete component, determining the time point of a comparison result obtained by the DOM structure score and the preset DOM structure minimum complete component as the maximum change time of the DOM structure.
4. The method of claim 3, further comprising:
if the DOM structure score is smaller than or equal to the preset DOM structure minimum complete component, recording a snapshot in the body element after the page is loaded and analyzed, wherein the snapshot comprises: the DOM structure score and the current time within the current body element;
monitoring DOM changes within the body element;
if the DOM change is monitored in the maximum waiting time, recalculating the DOM structure value in the body element;
calculating the difference value between the new DOM structure score and the DOM structure score in the snapshot;
if the difference value is smaller than the minimum score difference, continuing to wait for DOM change;
if the difference value is larger than the minimum score difference, adding 1 to the maximum structure change frequency, and updating the minimum score difference;
if the maximum structure change frequency is 1 or the DOM change content is in the range of the first screen, updating the snapshot content;
and if the DOM change is not monitored in the maximum waiting time, acquiring the maximum change time of the DOM structure according to the maximum structure change times.
5. The method according to claim 4, wherein the obtaining the maximum change time of the DOM structure according to the maximum structure change times comprises:
if the maximum structure change time is 0, determining that the page loading completion time is the maximum change time of the DOM structure;
and if the maximum structure change time is not 0, determining that the current time recorded in the snapshot is the maximum change time of the DOM structure.
6. The method according to any one of claims 1 to 5, wherein obtaining the target picture resource according to a preset rule and the maximum change time comprises:
screening out picture resources meeting all the following conditions as the target picture resources:
the picture resource is positioned in the time range from a preset time before the maximum change time to a preset time after the maximum change time;
the size of the decompressed picture resource is larger than 0;
the loading duration of the picture resource is less than the maximum loading time;
the picture format of the picture resource meets a preset format.
7. The method of claim 6, wherein obtaining the average loading time of the target picture resource comprises:
acquiring the total amount and the total loading duration of all the screened target picture resources;
and acquiring the average loading time of the picture resources according to the total amount and the total loading duration.
8. An initial screen time calculation apparatus, comprising:
the calculation module is used for monitoring the DOM change of the page and calculating the DOM structure score of each rendering;
the first acquisition module is used for acquiring the maximum change time of the DOM structure according to the DOM structure score;
the second acquisition module is used for acquiring the target picture resource according to a preset rule and the maximum change moment;
the third acquisition module is used for acquiring the average loading time of the target picture resource;
and the fourth acquisition module is used for acquiring the maximum value of the maximum change moment and the average loading time of the target picture resource as the first screen time.
9. An initial screen time calculation apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring page DOM changes, and calculating a DOM structure score of each rendering;
acquiring the maximum change time of the DOM structure according to the DOM structure score;
acquiring target picture resources according to a preset rule and the maximum change moment;
acquiring the average loading time of the target picture resource;
and acquiring the maximum value of the maximum change moment and the average loading time of the target picture resource as the first screen time.
10. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, carry out the steps of the method according to any one of claims 1 to 7.
CN202011508713.0A 2020-12-18 2020-12-18 First screen time calculation method and device Pending CN112507261A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011508713.0A CN112507261A (en) 2020-12-18 2020-12-18 First screen time calculation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011508713.0A CN112507261A (en) 2020-12-18 2020-12-18 First screen time calculation method and device

Publications (1)

Publication Number Publication Date
CN112507261A true CN112507261A (en) 2021-03-16

Family

ID=74922497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011508713.0A Pending CN112507261A (en) 2020-12-18 2020-12-18 First screen time calculation method and device

Country Status (1)

Country Link
CN (1) CN112507261A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE202022101830U1 (en) 2022-04-05 2022-05-18 Iftikar Ahmed Wearable medical device for monitoring screen time with Internet of Things sensor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106656666A (en) * 2016-12-13 2017-05-10 中国联合网络通信集团有限公司 Method and device for acquiring first screen time of web page
CN108228463A (en) * 2018-01-10 2018-06-29 百度在线网络技术(北京)有限公司 For detecting the method and apparatus of initial screen time
CN110717121A (en) * 2019-08-27 2020-01-21 北京奇艺世纪科技有限公司 Method and device for determining first screen time of page
CN110825603A (en) * 2019-11-01 2020-02-21 北京博睿宏远数据科技股份有限公司 Page first loading time determining method and device, electronic equipment and storage medium
CN111124530A (en) * 2019-11-25 2020-05-08 北京博睿宏远数据科技股份有限公司 Method and device for calculating first rendering time of browser, browser and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106656666A (en) * 2016-12-13 2017-05-10 中国联合网络通信集团有限公司 Method and device for acquiring first screen time of web page
CN108228463A (en) * 2018-01-10 2018-06-29 百度在线网络技术(北京)有限公司 For detecting the method and apparatus of initial screen time
CN110717121A (en) * 2019-08-27 2020-01-21 北京奇艺世纪科技有限公司 Method and device for determining first screen time of page
CN110825603A (en) * 2019-11-01 2020-02-21 北京博睿宏远数据科技股份有限公司 Page first loading time determining method and device, electronic equipment and storage medium
CN111124530A (en) * 2019-11-25 2020-05-08 北京博睿宏远数据科技股份有限公司 Method and device for calculating first rendering time of browser, browser and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE202022101830U1 (en) 2022-04-05 2022-05-18 Iftikar Ahmed Wearable medical device for monitoring screen time with Internet of Things sensor

Similar Documents

Publication Publication Date Title
CN106569800B (en) Front-end interface generation method and device
EP3242203B1 (en) Method for operating a display device and display device
US20200159789A1 (en) Method and device for page display, and storage medium
CN111782314A (en) Method and device for processing webpage form, electronic equipment and storage medium
EP3057006A1 (en) Method and device of filtering address
CN104951445B (en) Webpage processing method and device
CN105976201B (en) Purchasing behavior monitoring method and device for e-commerce system
US20160269466A1 (en) Method and device for filtering information
CN111079040B (en) Resource sniffing method, device, terminal, server and storage medium
CN112507261A (en) First screen time calculation method and device
CN112486770A (en) Client dotting reporting method and device, electronic equipment and storage medium
CN107220371B (en) Page display method and device and storage medium
CN113157256A (en) Interface code generation method and device, electronic equipment, storage medium and product
CN111428806B (en) Image tag determining method and device, electronic equipment and storage medium
CN112559309A (en) Method and device for adjusting page performance acquisition algorithm
CN112685269A (en) Data acquisition method and device, electronic equipment and storage medium
CN111695064A (en) Embedded point loading method and device
CN115509872A (en) Client behavior data acquisition method and device
CN111061633B (en) Webpage first screen time detection method, device, terminal and medium
CN113407879B (en) Data reporting method, device and readable medium
CN115408277A (en) Interface testing method and device
CN112819061A (en) Password information identification method, device, equipment and storage medium
CN113535161A (en) User interface generation method and device
CN107257384B (en) Service state monitoring method and device
CN111984532A (en) Applet-based exception handling method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210316

RJ01 Rejection of invention patent application after publication