CN110688282B - Webpage performance data monitoring and monitoring task distribution method and device - Google Patents

Webpage performance data monitoring and monitoring task distribution method and device Download PDF

Info

Publication number
CN110688282B
CN110688282B CN201910913857.5A CN201910913857A CN110688282B CN 110688282 B CN110688282 B CN 110688282B CN 201910913857 A CN201910913857 A CN 201910913857A CN 110688282 B CN110688282 B CN 110688282B
Authority
CN
China
Prior art keywords
page
monitoring
performance data
scrolling
task
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
CN201910913857.5A
Other languages
Chinese (zh)
Other versions
CN110688282A (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.)
Beijing Bo Hongyuan Data Polytron Technologies Inc
Original Assignee
Beijing Bo Hongyuan Data Polytron Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Bo Hongyuan Data Polytron Technologies Inc filed Critical Beijing Bo Hongyuan Data Polytron Technologies Inc
Priority to CN201910913857.5A priority Critical patent/CN110688282B/en
Publication of CN110688282A publication Critical patent/CN110688282A/en
Application granted granted Critical
Publication of CN110688282B publication Critical patent/CN110688282B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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

Abstract

The embodiment of the invention discloses a method and a device for monitoring webpage performance data and distributing monitoring tasks, wherein the method for monitoring the webpage performance data comprises the following steps: the method comprises the steps that a monitoring client receives a monitoring task and accesses a page based on an address carried in the monitoring task; if the monitoring task carries a page automatic scrolling instruction, the monitoring client displays the accessed page in a scrolling manner; and in the process of page scrolling display, the monitoring client monitors performance data of resources newly appearing in the visual area of the page until the page scrolls to the bottom of the page. The technical scheme provided by the embodiment of the invention can acquire complete performance data of the page, and can facilitate website managers to optimize website services.

Description

Webpage performance data monitoring and monitoring task distribution method and device
Technical Field
The embodiment of the invention relates to the technical field of data monitoring, in particular to a method and a device for monitoring webpage performance data and distributing monitoring tasks.
Background
At present, many websites shorten user waiting time in order to promote user experience, can apply a Lazyload (lazy loading) technique to the page, and the principle of this technique is that the content within the visual zone with the page carries out real-time loading and rendering, and to the resource file (mostly being the picture) outside the visual zone, uses the placeholder to fill to reach the effect of shortening page loading time. When the page is scrolled based on user operation, the newly appeared resources in the visual area are dynamically loaded and rendered, and the effect of real-time scrolling and real-time loading is achieved.
When monitoring the page Performance data, an Application Performance Management (APM) automatic monitoring product may be adopted, wherein a conventional APM automatic monitoring product opens an invisible window with a fixed resolution in the background, and records Performance data of each step, loading time consumption of each element, and the like in the page opening process until a DocumentComplete event reported by a browser is monitored or no new network request data exists in a preset time period. However, for a page to which the lazy loading technology is applied, only performance data of the first default screen content can be captured, and subsequent elements are placeholders, so that complete performance data of the page cannot be obtained.
Disclosure of Invention
The embodiment of the invention provides a method and a device for monitoring webpage performance data and distributing monitoring tasks, which can acquire complete performance data of a page and facilitate website managers to optimize website services.
In a first aspect, an embodiment of the present invention provides a method for monitoring webpage performance data, including:
the monitoring client receives a monitoring task and accesses a page based on an address carried in the monitoring task;
if the monitoring task carries an instruction of page automatic rolling, the monitoring client displays the accessed page in a rolling way;
and in the process of page scrolling display, the monitoring client monitors performance data of resources newly appearing in the visual area of the page until the page scrolls to the bottom of the page.
In a second aspect, an embodiment of the present invention further provides a monitoring task distribution method, including:
the network application monitoring platform displays control options for automatic page scrolling;
the network application monitoring platform acquires an address of an access page input by a user and a command whether the control option is selected or not, and generates a monitoring task;
and the network application monitoring platform sends the monitoring task to a monitoring client.
In a third aspect, an embodiment of the present invention provides a method for monitoring web page performance data, including:
the network application monitoring platform displays the control options of automatic page scrolling;
the network application monitoring platform acquires an address of an access page input by a user and an instruction whether the control option is selected or not, and generates a monitoring task;
the network application monitoring platform sends the monitoring task to a monitoring client;
the monitoring client receives a monitoring task and accesses a page based on an address carried in the monitoring task;
if the monitoring task carries a page automatic scrolling instruction, the monitoring client displays the accessed page in a scrolling manner;
and in the process of page scrolling display, the monitoring client monitors performance data of resources newly appearing in the visual area of the page until the page scrolls to the bottom of the page.
In a fourth aspect, an embodiment of the present invention provides a device for monitoring web page performance data, including:
the monitoring/accessing module is used for receiving a monitoring task and accessing a page based on an address carried in the monitoring task;
the display module is used for scrolling and displaying the accessed page if the monitoring task carries an instruction of automatic page scrolling;
and the performance data monitoring module is used for monitoring the performance data of the resources newly appearing in the visual area of the page in the page scrolling display process until the page scrolls to the bottom of the page.
In a fifth aspect, an embodiment of the present invention provides an electronic device, including:
one or more processors;
a storage device to store one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement a method for monitoring web page performance data according to an embodiment of the present invention, or a method for monitoring task distribution according to an embodiment of the present invention.
In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for monitoring web page performance data provided in the embodiment of the present invention, or a method for distributing monitoring tasks provided in the embodiment of the present invention.
According to the technical scheme provided by the embodiment of the invention, the monitoring client receives the monitoring task, accesses the page based on the address carried in the monitoring task, and when the monitoring task carries an instruction for automatically scrolling the page, the accessed page is scrolled and displayed, and in the process of scrolling and displaying, the performance data of the resources newly appearing in the visible area of the page is monitored until the page scrolls to the bottom of the page; the method includes the steps that a monitoring client automatically displays a page in a rolling mode based on a monitoring task, performance data of resources newly appearing in a visual area of the page are detected in the rolling process, complete performance data of the page can be obtained, website managers can optimize network services conveniently, and user experience is improved.
Drawings
Fig. 1a is a flowchart of a method for monitoring web page performance data according to an embodiment of the present invention;
FIG. 1b is a flowchart of a method for monitoring web page performance data according to an embodiment of the present invention;
fig. 2 is a flowchart of a monitoring task distribution method according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for monitoring web page performance data according to an embodiment of the present invention;
fig. 4 is a block diagram of a monitoring apparatus for web page performance data according to an embodiment of the present invention;
fig. 5 is a block diagram of a monitoring task distributing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It should be further noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings, not all of them.
Fig. 1a is a flowchart of a method for monitoring web page performance data according to an embodiment of the present invention, where the method may be executed by a device for monitoring web page performance data, where the device may be implemented by software and/or hardware, the device may be configured in a monitoring client, and the monitoring client may be configured in an electronic device such as a computer, a tablet computer, and a server.
As shown in fig. 1a, the technical solution provided by the embodiment of the present invention includes:
s110: and the monitoring client receives the monitoring task and accesses the page based on the address carried in the monitoring task.
In the embodiment of the invention, the monitoring client can be configured in electronic equipment such as a computer, a tablet computer, a server and the like, and the monitoring task can be sent by the network application monitoring platform. The network application monitoring platform can send monitoring tasks to each monitoring client, and the monitoring tasks received by each monitoring client can be different. The network application monitoring platform can generate monitoring tasks based on the addresses of the access pages input by the user and instructions of whether the control options of the automatic page scrolling are selected or not, and the monitoring tasks are distributed to all monitoring clients.
In the embodiment of the invention, the monitoring client can receive the monitoring task sent by the network application monitoring platform. The monitoring task may carry an access address of a page to be monitored. The monitoring client may access the page based on the address carried in the monitoring task.
S120: and if the monitoring task carries a page automatic scrolling instruction, the monitoring client displays the accessed page in a scrolling manner.
In the embodiment of the present invention, optionally, if the monitoring client determines that the monitoring task carries an instruction for automatically scrolling the page, the accessed page is scrolled and displayed.
In the embodiment of the present invention, optionally, if the monitoring client determines that the monitoring task does not carry an instruction for automatically scrolling the page, the accessed page is displayed, performance data of resources appearing in the visible area of the page is monitored, and the monitoring process is ended. If the monitoring client judges that the monitoring task does not carry the instruction of page automatic scrolling, the content of the first screen in the accessed page can be displayed, the performance data of the content of the first screen of the page is monitored, and the monitoring process is ended.
In an implementation manner of the embodiment of the present invention, optionally, the scrolling the page accessed by the monitoring client includes: and the monitoring client simulates user operation in the hidden window so as to perform uniform-speed rolling display on the page. The monitoring client simulates user operation through a hidden window (invisible window) and continuously triggers a page scrolling control signal so as to enable the page to be displayed in a uniform-speed scrolling manner. The page scrolling control signal can be triggered by interval set time so as to enable the page to be displayed in a uniform-speed scrolling mode. Alternatively, the page may be scrolled at a rate of 20 pixels per second.
S130: and in the process of page scrolling display, the monitoring client monitors performance data of resources newly appearing in the visual area of the page until the page scrolls to the bottom of the page.
In the embodiment of the present invention, optionally, the newly appeared resource may be a newly appeared element in the page, for example, text, a picture, a video, and the like. Optionally, the performance data may be loading time, error times, and the like.
In the embodiment of the invention, when the page is triggered to roll, a request for loading the new resources of the page visual area can be sent to the server of the webpage, and the new resources are received and displayed through the page. By triggering the page to roll continuously, the performance data of the new resource in the visible area of the page can be monitored through the probe until the page rolls to the bottom, and the complete performance data of the page can be monitored.
The method for monitoring the web page performance data provided by the embodiment of the present invention may further refer to fig. 1b, as shown in fig. 1b, the web page performance data may be obtained in a normal manner, and then whether a control option for automatic page scrolling is enabled is detected, if not, the web page performance data is recorded, and the current monitoring process is ended. If the control option of the automatic page scrolling is started, the page is scrolled downwards at the uniform speed of 20 pixels per second in the monitoring window, the performance data of the elements newly loaded by the lazy loading technology is monitored in real time, the complete performance of the page is recorded until the page is scrolled to the bottom, and the monitoring process is finished.
In the related art, many websites can apply a Lazyload (lazy loading) technology to a page in order to improve user experience and shorten user waiting time, the principle of the technology is to load and render the content in the visual area of the page in real time, and for resource files (mostly pictures) outside the visual area, placeholders are used for filling, so that the effect of shortening the page loading time is achieved. When the page is scrolled based on user operation, the newly appeared resources in the visual area are dynamically loaded and rendered, and the effect of real-time scrolling and real-time loading is achieved.
When monitoring page Performance data, an Application Performance Management (APM) automation monitoring product may be adopted, wherein a "invisible" window with a fixed resolution is opened in the background by a conventional APM automation monitoring product, and Performance data such as steps in the page opening process, loading time consumption of each element and the like are recorded until a DocumentComplete event reported by a browser is monitored or no new network request data exists within a preset time period. However, for a page to which the lazy loading technique is applied, only performance data (for example, time for completing loading of the first screen content) of loading of the default first screen content can be captured, and subsequent elements are placeholders, so that complete loading time and subsequent resource loading performance data cannot be obtained, and complete performance data of the page cannot be obtained.
According to the technical scheme provided by the embodiment of the invention, the monitoring client accesses the page by receiving the monitoring task and based on the address carried in the monitoring task, when the monitoring task carries an instruction for automatically scrolling the page, the accessed page is scrolled and displayed, and in the process of scrolling and displaying, the performance data of the resources newly appearing in the visible area of the page is monitored until the page scrolls to the bottom of the page; the method comprises the steps that a monitoring client automatically scrolls and displays a page based on a monitoring task, performance data of resources newly appearing in a visual area of the page are detected in the scrolling process, complete performance data of the page can be obtained, website management personnel can optimize network services conveniently, and user experience is improved.
Fig. 2 is a flowchart of a monitoring task distribution method according to an embodiment of the present invention, where the method may be executed by a monitoring task distribution apparatus, where the apparatus may be implemented by software and/or hardware, the apparatus may be configured in a network application monitoring platform, and the network application monitoring platform may be configured in an electronic device such as a terminal, a server, and the like, where the electronic device configured by the network application monitoring platform may be a master node in a cluster. The technical scheme provided by the embodiment of the invention can be applied to a scene for monitoring page performance data aiming at the page of the lazy loading technology.
As shown in fig. 2, the technical solution provided by the embodiment of the present invention includes:
s210: the network application monitoring platform displays control options for automatic page scrolling.
In the embodiment of the invention, when a user logs in the network application monitoring platform, the network application monitoring platform can display the control options of automatic page scrolling so that the user can select the control options according to the needs.
S220: and the network application monitoring platform acquires the address of the access page input by the user and the command whether the control option is selected or not, and generates a monitoring task.
In the embodiment of the invention, a user can input the address of a page needing to be accessed in a network application monitoring platform, a monitoring task is generated when the user selects a control option for automatically scrolling the page, the page needs to be accessed based on the address carried in the monitoring task when the monitoring task is executed, and the accessed page is automatically scrolled and displayed.
S230: and the network application monitoring platform sends the monitoring task to a monitoring client.
In the embodiment of the invention, the network application monitoring platform can send the monitoring task to the monitoring client, and the monitoring client executes the monitoring task, so that the monitoring client accesses the page carrying the address in the monitoring task and monitors the performance data of the page.
According to the technical scheme provided by the embodiment of the invention, the user can select to open or close the page at any time by displaying the control option of automatic page scrolling, so that the performance data of the page can be monitored as required.
Fig. 3 is a flowchart of a method for monitoring web page performance data according to an embodiment of the present invention, and as shown in fig. 3, the technical solution provided by the embodiment of the present invention includes:
s310: the network application monitoring platform displays control options for automatic page scrolling.
S320: and the network application monitoring platform acquires the address of the access page input by the user and the information whether the control option is selected or not, and generates a monitoring task.
S330: and the network application monitoring platform sends the monitoring task to a monitoring client.
S340: and the monitoring client receives the monitoring task and accesses the page based on the address carried in the monitoring task.
S350: and if the monitoring task carries a page automatic scrolling instruction, the monitoring client displays the accessed page in a scrolling manner.
S360: and in the process of page scrolling display, the monitoring client monitors performance data of resources newly appearing in the visual area of the page until the page scrolls to the bottom of the page.
The descriptions of S310-S360 are detailed in the above embodiments.
According to the technical scheme provided by the embodiment of the invention, a monitoring task is issued through a network monitoring platform, the monitoring task is received through a monitoring client, a page is accessed based on an address carried in the monitoring task, when the monitoring task carries an automatic page scrolling instruction, the accessed page is scrolled and displayed, and in the scrolling and displaying process, performance data of resources newly appearing in a visual area of the page is monitored until the page scrolls to the bottom of the page; the monitoring method applying the lazy loading technology is simplified into a control option, the monitoring method can be selected to be started or closed by a user at any time, the page is automatically rolled and displayed through a monitoring client based on a monitoring task, performance data of new resources in a visual area of the page is detected in the rolling process, the loss of monitoring performance data can be made up, website managers can acquire complete performance data of the page while enjoying the benefits of the lazy loading technology, website managers can optimize website services conveniently, and user experience is improved.
Fig. 4 is a block diagram of a structure of a device for monitoring web page performance data according to an embodiment of the present invention, and as shown in fig. 4, the device according to the embodiment of the present invention includes: a monitoring/access module 410, a display module 420, and a performance data monitoring module 430.
The monitoring/accessing module 410 is configured to receive a monitoring task, and access a page based on an address carried in the monitoring task;
the display module 420 is configured to scroll and display the accessed page if the monitoring task carries an instruction for automatically scrolling the page;
and a performance data monitoring module 430, configured to monitor performance data of a resource that newly appears in the visible area of the page in the process of scrolling and displaying the page until the page scrolls to the bottom of the page.
Optionally, the monitoring client performs scrolling display on the accessed page, including:
and the monitoring client simulates user operation in the hidden window so as to perform uniform-speed rolling display on the page.
Optionally, the performance data monitoring module 430 is further configured to:
and if the monitoring task does not carry a page automatic scrolling instruction, displaying the accessed page, monitoring the performance data of the resources appearing in the visual area of the page, and ending the monitoring process.
Optionally, the loading of the page adopts a lazy loading technique.
Optionally, the performance data includes loading time and error times.
The device can execute the method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 5 is a block diagram of a monitoring task distributing apparatus according to an embodiment of the present invention, and as shown in fig. 5, the apparatus according to the embodiment of the present invention includes a display module 510, a monitoring task generating module 520, and a sending module 530.
A presentation module 510, configured to present control options for automatic scrolling of a page;
the monitoring task generating module 520 is configured to obtain an address of an access page input by a user and an instruction whether the control option is selected, and generate a monitoring task;
a sending module 530, configured to send the monitoring task to the monitoring client.
The device can execute the method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device may be a terminal or a server. As shown in fig. 6, the apparatus includes:
one or more processors 610, one processor 610 being exemplified in fig. 6;
a memory 620;
the apparatus may further include: an input device 630 and an output device 640.
The processor 610, the memory 620, the input device 630 and the output device 640 of the apparatus may be connected by a bus or other means, and fig. 6 illustrates the example of connection by a bus.
The memory 620 is used as a non-transitory computer readable storage medium, and can be used to store software programs, computer executable programs, and modules, such as program instructions/modules corresponding to a monitoring method for web page performance data in the embodiment of the present invention (for example, the monitoring/accessing module 410, the display module 420, and the performance data monitoring module 430 shown in fig. 4), or program instructions/modules corresponding to a monitoring task distribution method in the embodiment of the present invention (for example, the displaying module 510, the monitoring task generating module 520, and the sending module 530 shown in fig. 5). The processor 610 executes various functional applications and data processing of the computer device by running software programs, instructions and modules stored in the memory 620, namely, a method for monitoring web page performance data of the above method embodiment is realized, that is:
the monitoring client receives a monitoring task and accesses a page based on an address carried in the monitoring task;
if the monitoring task carries a page automatic scrolling instruction, the monitoring client displays the accessed page in a scrolling manner;
and in the process of page scrolling display, the monitoring client monitors performance data of resources newly appearing in the visible area of the page until the page scrolls to the bottom of the page.
Or the monitoring task distribution method provided by the embodiment of the invention, namely:
displaying the control options of automatic page scrolling;
acquiring an address of an access page input by a user and a command whether the control option is selected or not, and generating a monitoring task;
and sending the monitoring task to a monitoring client.
The memory 620 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the computer device, and the like. Further, the memory 620 may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 620 optionally includes memory located remotely from processor 610, which may be connected to the terminal device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 630 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the computer apparatus. The output device 640 may include a display device such as a display screen.
The embodiment of the invention provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the method for monitoring webpage performance data provided by the embodiment of the invention is implemented:
the method comprises the steps that a monitoring client receives a monitoring task and accesses a page based on an address carried in the monitoring task;
if the monitoring task carries a page automatic scrolling instruction, the monitoring client displays the accessed page in a scrolling manner;
and in the process of page scrolling display, the monitoring client monitors performance data of resources newly appearing in the visual area of the page until the page scrolls to the bottom of the page.
Or the monitoring task distribution method provided by the embodiment of the invention, namely:
displaying the control options of automatic page scrolling;
acquiring an address of an access page input by a user and a command whether the control option is selected or not, and generating a monitoring task;
and sending the monitoring task to a monitoring client.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing description is only exemplary of the invention and that the principles of the technology may be employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for monitoring webpage performance data is characterized by comprising the following steps:
the method comprises the steps that a monitoring client receives a monitoring task and accesses a page based on an address carried in the monitoring task;
if the monitoring task carries a page automatic scrolling instruction, the monitoring client displays the accessed page in a scrolling manner;
and in the process of page scrolling display, the monitoring client monitors performance data of resources newly appearing in the visual area of the page until the page scrolls to the bottom of the page.
2. The method of claim 1,
the monitoring client displays the accessed page in a rolling way, and the method comprises the following steps:
and the monitoring client simulates user operation in the hidden window so as to perform uniform-speed rolling display on the page.
3. The method of claim 1, further comprising:
and if the monitoring task does not carry an instruction of page automatic rolling, displaying the accessed page, monitoring performance data of resources appearing in a visible area of the page, and ending the monitoring process.
4. The method of claim 1, wherein the loading of the page employs a lazy loading technique.
5. The method of claim 1, wherein the performance data comprises load time and error times.
6. A method for monitoring task distribution, comprising:
the network application monitoring platform displays control options for automatic page scrolling;
the network application monitoring platform acquires an address of an access page input by a user and a command whether the control option is selected or not, and generates a monitoring task;
and the network application monitoring platform sends the monitoring task to a monitoring client.
7. A method for monitoring webpage performance data is characterized by comprising the following steps:
the network application monitoring platform displays control options for automatic page scrolling;
the network application monitoring platform acquires an address of an access page input by a user and an instruction whether the control option is selected or not, and generates a monitoring task;
the network application monitoring platform sends the monitoring task to a monitoring client;
the monitoring client receives a monitoring task and accesses a page based on an address carried in the monitoring task;
if the monitoring task carries an instruction of page automatic rolling, the monitoring client displays the accessed page in a rolling way;
and in the process of page scrolling display, the monitoring client monitors performance data of resources newly appearing in the visual area of the page until the page scrolls to the bottom of the page.
8. A web page performance data monitoring device, comprising:
the monitoring/accessing module is used for receiving a monitoring task and accessing a page based on an address carried in the monitoring task;
the display module is used for scrolling and displaying the accessed page if the monitoring task carries an instruction of automatic page scrolling;
and the performance data monitoring module is used for monitoring the performance data of the resources newly appearing in the visual area of the page in the page scrolling display process until the page scrolls to the bottom of the page.
9. An electronic device, comprising:
one or more processors;
a storage device to store one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of monitoring web page performance data as claimed in any one of claims 1 to 5, or a method of monitoring task distribution as claimed in claim 6.
10. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing a method for monitoring web page performance data according to any one of claims 1 to 5, or a method for monitoring task distribution according to claim 6.
CN201910913857.5A 2019-09-25 2019-09-25 Webpage performance data monitoring and monitoring task distribution method and device Active CN110688282B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910913857.5A CN110688282B (en) 2019-09-25 2019-09-25 Webpage performance data monitoring and monitoring task distribution method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910913857.5A CN110688282B (en) 2019-09-25 2019-09-25 Webpage performance data monitoring and monitoring task distribution method and device

Publications (2)

Publication Number Publication Date
CN110688282A CN110688282A (en) 2020-01-14
CN110688282B true CN110688282B (en) 2023-01-24

Family

ID=69110078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910913857.5A Active CN110688282B (en) 2019-09-25 2019-09-25 Webpage performance data monitoring and monitoring task distribution method and device

Country Status (1)

Country Link
CN (1) CN110688282B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112631906A (en) * 2020-12-18 2021-04-09 湖南映客互娱网络信息有限公司 Page performance detection method and system based on server

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106100936A (en) * 2016-08-10 2016-11-09 乐视控股(北京)有限公司 Webpage method for monitoring performance and device and the webserver, client
CN106133780A (en) * 2014-03-24 2016-11-16 微软技术许可有限责任公司 Terminal use's performance evaluation
CN107924412A (en) * 2015-08-18 2018-04-17 三星电子株式会社 For adding the method and system of bookmark to webpage
CN109271600A (en) * 2018-08-16 2019-01-25 微梦创科网络科技(中国)有限公司 A kind of monitoring method of performance data, system and device
CN109684576A (en) * 2018-12-14 2019-04-26 平安城市建设科技(深圳)有限公司 Web page resources lazyness loads monitoring method, device, equipment and storage medium
CN110032493A (en) * 2019-03-13 2019-07-19 平安城市建设科技(深圳)有限公司 Monitoring method, device, terminal and the readable storage medium storing program for executing of the page

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2507483A (en) * 2012-10-30 2014-05-07 Ibm Hybrid server side and client side portal aggregation and rendering

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106133780A (en) * 2014-03-24 2016-11-16 微软技术许可有限责任公司 Terminal use's performance evaluation
CN107924412A (en) * 2015-08-18 2018-04-17 三星电子株式会社 For adding the method and system of bookmark to webpage
CN106100936A (en) * 2016-08-10 2016-11-09 乐视控股(北京)有限公司 Webpage method for monitoring performance and device and the webserver, client
CN109271600A (en) * 2018-08-16 2019-01-25 微梦创科网络科技(中国)有限公司 A kind of monitoring method of performance data, system and device
CN109684576A (en) * 2018-12-14 2019-04-26 平安城市建设科技(深圳)有限公司 Web page resources lazyness loads monitoring method, device, equipment and storage medium
CN110032493A (en) * 2019-03-13 2019-07-19 平安城市建设科技(深圳)有限公司 Monitoring method, device, terminal and the readable storage medium storing program for executing of the page

Also Published As

Publication number Publication date
CN110688282A (en) 2020-01-14

Similar Documents

Publication Publication Date Title
CN104426985B (en) Show the method, apparatus and system of webpage
CN110096660B (en) Method and device for loading page pictures and electronic equipment
CN107040584B (en) Method and device for downloading picture by client
US10970029B2 (en) Dynamic user interface and module facilitating content sharing in a distributed computing environment
US11032683B2 (en) Method and apparatus for publishing cloud resource
CN111368235A (en) Page rendering and displaying method, device, server and storage medium
CN109168012B (en) Information processing method and device for terminal equipment
WO2024011899A1 (en) Widget loading method and apparatus, device, and storage medium
CN113505302A (en) Method, device and system for supporting dynamic acquisition of buried point data and electronic equipment
CN108334516A (en) Information-pushing method and device
CN105100203B (en) Show the method and terminal of monitoring data
US20160255174A1 (en) Data file and rule driven synchronous or asynchronous document generation
CN113688341B (en) Dynamic picture decomposition method and device, electronic equipment and readable storage medium
CN110688282B (en) Webpage performance data monitoring and monitoring task distribution method and device
CN113849752A (en) Page caching method and device and storage medium
CN109831673B (en) Live broadcast room data processing method, device, equipment and storage medium
CN111783010B (en) Webpage blank page monitoring method, device, terminal and storage medium
CN108959393B (en) Dynamic picture processing method, device and storage medium
CN112187887A (en) Webpage real-time communication method and device for multiple pages and electronic equipment
CN111880789A (en) Page rendering method, device, server and computer-readable storage medium
US20130036374A1 (en) Method and apparatus for providing a banner on a website
CN107688572B (en) Page display method and terminal
CN112287261A (en) Resource loading method and electronic equipment
CN113542335A (en) Information sharing method and device, electronic equipment and storage medium
US9942361B2 (en) Reporting page composition data

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