CN116149922A - Method and system for monitoring browser page load, storage medium and computer equipment - Google Patents

Method and system for monitoring browser page load, storage medium and computer equipment Download PDF

Info

Publication number
CN116149922A
CN116149922A CN202111382373.6A CN202111382373A CN116149922A CN 116149922 A CN116149922 A CN 116149922A CN 202111382373 A CN202111382373 A CN 202111382373A CN 116149922 A CN116149922 A CN 116149922A
Authority
CN
China
Prior art keywords
page
load
browser
state
preset threshold
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
CN202111382373.6A
Other languages
Chinese (zh)
Inventor
尚世豪
赵庆伟
尹青建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qiyuan Technology Co ltd
Original Assignee
Beijing Qiyuan Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qiyuan Technology Co ltd filed Critical Beijing Qiyuan Technology Co ltd
Priority to CN202111382373.6A priority Critical patent/CN116149922A/en
Publication of CN116149922A publication Critical patent/CN116149922A/en
Pending legal-status Critical Current

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/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • 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/3409Recording 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 for performance assessment
    • G06F11/3433Recording 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 for performance assessment for load management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Computer Hardware Design (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method for monitoring browser page load, which comprises the steps of creating and loading a load label plug-in corresponding to a page when the page is detected to be started; acquiring the running resource load of the page at fixed time through the load tag plug-in; determining the page load state of the page according to the comparison information between the running resource load and a preset threshold value; and displaying the page load state on the browser. The invention also provides a monitoring system, a storage medium and computer equipment for the browser page load. Therefore, the invention can effectively monitor the load condition of the current page, so as to optimize the page in time and ensure that the page focused by the user in real time can be smoothly operated.

Description

Method and system for monitoring browser page load, storage medium and computer equipment
Technical Field
The present invention relates to the field of browser monitoring technologies, and in particular, to a method, a system, a storage medium, and a computer device for monitoring a browser page load.
Background
In the present era, the application of a Browser/Server (Browser/Server) architecture is mainstream, and users can complete office and entertainment through various Web applications, so that the Browser is almost software used by all users at high frequency, and can open a plurality of pages, process mails on one page, process drama on one page, news on one page Browser, and … … on one page.
According to data statistics, more than 10 users are average per person, wherein each user opens the page of the browser and is not closed for a long time, but a plurality of pages are not paid attention to in real time, and the pages paid attention to in real time are not more than three, so that 70% of the pages in the browser are wasteful of system resources (occupy CPU and memory), and the load of some web pages is very high due to the problem of developers, so that the pages paid attention to by the users are seriously affected.
In summary, the conventional method has many problems in practical use, so that improvement is necessary.
Disclosure of Invention
Aiming at the defects, the invention aims to provide a method, a system, a storage medium and computer equipment for monitoring the page load of a browser, which can effectively monitor the load condition of the current page, so as to optimize the page in time and ensure that the page focused by a user in real time can be operated smoothly.
In order to achieve the above object, the present invention provides a method for monitoring a browser page load, including the steps of:
when the starting of a page is detected, creating and loading a load label plug-in corresponding to the page;
acquiring the running resource load of the page at fixed time through the load tag plug-in;
determining the page load state of the page according to the comparison information between the running resource load and a preset threshold value;
and displaying the page load state on the browser.
Optionally, the step of determining the page load state of the page according to the comparison information between the running resource load and the preset threshold specifically includes:
judging whether the numerical value of the running resource load reaches the preset threshold value or not;
if the preset threshold is reached, determining that the page load state is a preset first state;
and if the preset threshold is not reached, determining that the page load state is a preset second state.
Optionally, after the step of displaying the page load state on the browser, the method further includes:
if the page load state is determined to be the first state, displaying a virtual key;
and responding to an optimization instruction triggered on the virtual key, and releasing the operation resources occupied by the page.
Optionally, the step of acquiring the running resource load of the page at regular time through the load tag plug-in specifically includes:
acquiring a process identifier of the page;
and according to the process identification, acquiring the corresponding running resource load in the system process at fixed time.
Optionally, when the page is detected to be started, the step of creating and loading the load tag plugin corresponding to the page specifically includes:
and when the page is detected to be started, creating a corresponding load tag plug-in, loading the load tag plug-in into the browser, and displaying a status bar of the load tag plug-in at a preset position of the browser.
Optionally, before the step of determining the page load state of the page according to the comparison information between the running resource load and the preset threshold value, the method further includes:
responding to a setting request of a user, and performing new addition, deletion or modification on the preset threshold corresponding to the page.
Optionally, before the step of determining the page load state of the page according to the comparison information between the running resource load and the preset threshold value, the method further includes:
and configuring the preset threshold corresponding to the attribute type according to the attribute type of the page.
The utility model also provides a browser page load's monitored control system, including:
the loading unit is used for creating and loading a load label plug-in corresponding to the page when the page is detected to be started;
the acquisition unit is used for acquiring the operation resource load of the page at fixed time through the load tag plug-in;
the state determining unit is used for determining the page load state of the page according to the comparison information between the running resource load and a preset threshold value;
and the display unit is used for displaying the page load state on the browser.
In addition, a storage medium and a computer device are provided, the storage medium is used for storing a computer program for executing the method for monitoring the browser page load.
The computer device comprises a storage medium, a processor and a computer program stored on the storage medium and capable of running on the processor, wherein the processor realizes the method for monitoring the page load of the browser when executing the computer program.
According to the method and the system for monitoring the browser page load, when the start of a new page of the browser is detected, the load tag plug-in corresponding to the page is created and loaded; acquiring the operation resource load corresponding to the page at fixed time through the load tag plug-in; determining the current page load state of the page according to the comparison information between the running resource load and a preset threshold value; and finally displaying the page load state on the browser. Therefore, the invention can monitor the resource load condition of each page of the browser at regular time, so that the user can optimize the page according to the actual needs, and the page focused by the user in real time can be ensured to be operated smoothly.
Drawings
FIG. 1 is a flowchart illustrating a method for monitoring a browser page load according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating optional steps for determining a page load status in a method for monitoring a browser page load according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps of a method for monitoring a browser page load according to an embodiment of the present invention, where the method is used to obtain an optional resource load;
FIG. 4 is a schematic block diagram of a browser page load monitoring system according to an embodiment of the present invention;
FIG. 5 is a schematic block diagram of an alternative configuration of the status determining unit of the monitoring system for browser page load according to an embodiment of the present invention;
fig. 6 is a schematic block diagram of an alternative configuration of the acquisition unit of the monitoring system for browser page load 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, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
It should be noted that references in the specification to "one embodiment," "an example embodiment," etc., indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic. Furthermore, such phrases are not intended to refer to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the knowledge of one skilled in the art to effect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described.
Furthermore, certain terms are used throughout the specification and the claims that follow to refer to particular components or parts, and it will be understood by those of ordinary skill in the art that manufacturers may refer to a component or part by different terms or terminology. The present specification and the following claims do not take the form of an element or component with the difference in name, but rather take the form of an element or component with the difference in function as a criterion for distinguishing. In the following description and in the claims, the terms "include" and "comprise" are used in an open-ended fashion, and thus should be interpreted to mean "include, but not limited to. The term "coupled," as used herein, includes any direct or indirect electrical connection. Indirect electrical connection means include connection via other devices.
Fig. 1 shows a method for monitoring a browser page load according to an embodiment of the present invention, where the method can be applied to a browser of an intelligent mobile terminal or a personal computer, such as a smart phone, a tablet computer or a personal computer, and includes the following steps:
s101: when the page starting is detected, a load label plug-in corresponding to the page is created and loaded. When implementing, when any page is newly built in the browser, creating a load tag plug-in corresponding to the page one by one and loading the load tag plug-in into the browser. Optionally, step S101 specifically includes: and when the page is detected to be started, a corresponding load tag plug-in is created, the load tag plug-in is loaded in a browser, and a status bar of the load tag plug-in is displayed at a preset position of the browser. The status bar is specifically used for displaying the load condition of the current page on the occupation of the running resources. In implementation, the status bar of the load tag plug-in is loaded at the top position of the page, so that a user can intuitively observe the load tag plug-in corresponding to the page.
S102: and acquiring the running resource load of the page at fixed time through the load tag plug-in. The running resource load refers to the resource condition required to be consumed when the page is running currently; optionally, the running resource load of the embodiment includes a CPU resource load and/or a memory occupation load; namely, the embodiment obtains the CPU resource load and/or the memory occupation load corresponding to the page at regular time.
Referring to fig. 3, in an alternative embodiment, step S102 specifically includes:
s1021: and acquiring the process identification of the page. Each page has a unique process identifier after being started; the process identifier is used as the identity identifier of the page and can be used for quickly inquiring the corresponding page process in the system process.
S1022: and according to the process identification, acquiring the corresponding running resource load in the system process at fixed time. In this embodiment, the corresponding process identifier of the page is used to query the system process corresponding to the page from the system processes, so as to obtain the corresponding running resource load at regular time. Optionally, in this embodiment, a timer is configured to obtain the corresponding running resource load according to the process identifier at a preset timing time.
S103: and determining the page load state of the page according to the comparison information between the running resource load and the preset threshold value. In the embodiment, a preset threshold value is preset, and the running resource load obtained by the page at fixed time is compared with the preset threshold value, so that the current load state of the page is determined according to the comparison condition of the running resource load and the preset threshold value; specifically, in this embodiment, by setting a preset threshold as a dividing reference value of the load status of the page, the status of the page may be categorized according to a certain rule according to a comparison between the load of the running resource detected at the page timing and the preset threshold. For example, the page load status may be divided into a good, bad, and very bad multiple different status representations; if the page load state is optimal, the current load state is ideal, and too many browser operation resources are not occupied. Otherwise, if the page load state is extremely poor, the current load state is worse, and the corresponding page occupies too much browser running resources, so that other pages are easily affected.
The preset threshold value can be set according to actual needs, and can be determined according to the performance of software and hardware of the equipment.
S104: and displaying the page load state on the browser. The present embodiment displays the page load status determined based on step S103 on the browser. Specifically, the page load state is displayed on a status bar of the load label plug-in, so that a user can intuitively observe the page load state of a corresponding page, the user can perform optimization processing conveniently, and the page concerned by the user in real time can be ensured to run smoothly without being influenced.
By adopting the method for monitoring the page load of the browser, a load tag plug-in (LoadTabHelper) can be created when a new page is opened each time, and the load tag plug-in is used for acquiring the running resource load (such as CPU resource and memory load) of the page at fixed time, comparing the running resource load with the preset threshold value to determine the page load state of the page, and updating and displaying the page load state on the browser, so that a user can know all page load conditions at a glance, and optimize or close the page in time.
Referring to fig. 2, in an alternative embodiment, step S103 specifically includes:
s111: and judging whether the value of the running resource load reaches a preset threshold value. The value of the running resource load comprises the duty ratio of CPU resources and/or the duty ratio of the running memory size and the like.
S112: and if the preset threshold is reached, determining that the page load state is a preset first state. Specifically, if the value of the running resource load of the page is equal to or greater than a preset threshold, determining the page load state of the page as a preset first state; the first state is used for representing that the page is in a good state or in a state without optimization.
S113: and if the preset threshold is not reached, determining that the page load state is a preset second state. If the value of the running resource load of the page is smaller than a preset threshold value, determining the page load state of the page as a preset second state; the second state is used for representing that the page is in a poor/very poor state or in a state needing to be optimized.
The preset threshold is a variable value, and can be specifically set according to actual requirements; meanwhile, different pages can be configured with preset thresholds corresponding to the different pages.
Optionally, step S104 further includes:
s114: and if the page load state is determined to be the first state, displaying a virtual key. Wherein, the virtual key is a virtual function key capable of triggering an instruction on the browser interface; the present embodiment preferably displays the virtual keys on the load tag plug-in. Meanwhile, the system monitors touch/click operation on the virtual key, and if the virtual key is monitored to be touched or clicked, the system triggers generation of an optimization instruction aiming at the page.
S115: and responding to an optimization instruction triggered on the virtual key, and releasing the operation resources occupied by the page. When an optimization instruction is generated through virtual key triggering, releasing operation resources occupied by the corresponding page; for example closing the page or limiting the running state of the page.
In one embodiment, step S103 further includes: responding to a setting request of a user, and performing new addition, deletion or modification on a preset threshold corresponding to the page. That is, the preset threshold may be actively modified by the user, for example, by presetting a default preset threshold; the default preset threshold value is configured when each page is started; when the user initiates a setting request, the default preset threshold value can be modified in a manual modification mode.
In another embodiment, step S103 further includes: and configuring a preset threshold corresponding to the attribute type according to the attribute type of the page. That is, in this embodiment, different attribute types may be divided for the page of the browser, and a preset threshold corresponding to the different attribute types may be configured for the different attribute types; the attribute types comprise video attributes, news attributes, game attributes and the like; when a page is started and the corresponding attribute type is detected, a preset threshold corresponding to the attribute type is configured for the page. Different preset thresholds can be configured for different attribute types, so that the use experience of a user is improved.
Fig. 4 shows a monitoring system 100 for browser page load according to an embodiment of the present invention, which includes a creation loading unit 10, an obtaining unit 20, a state determining unit 30, and a display unit 40, wherein:
the creating and loading unit 10 is used for creating and loading a load label plug-in corresponding to a page when the page is detected to be started; the acquiring unit 20 is configured to acquire, at regular time, an operation resource load of the page through the load tag plug-in; the state determining unit 30 is configured to determine a page load state of the page according to comparison information between the running resource load and a preset threshold; the display unit 40 is configured to display the page load status on the browser.
Specifically, the running resource load in this embodiment includes a CPU resource load and/or a memory footprint load.
Through the monitoring system 100 for page load of the browser, a load tag plug-in can be created when a new page is opened each time, and the load tag plug-in is used for acquiring the running resource load (such as CPU resource and memory load) of the page at regular time, comparing the running resource load with a preset threshold value to determine the page load state of the page, and updating and displaying the page load state on the browser, so that a user can know all page load conditions at a glance, and optimize or close the page in time.
Referring to fig. 5, in an alternative embodiment, the state determining unit 30 specifically includes a judging subunit 31, a first determining subunit 32, and a second determining subunit 33, where:
the judging subunit 31 is configured to judge whether the value of the load of the running resource reaches the preset threshold; the first determining subunit 32 is configured to determine that the page load state is a preset first state if the preset threshold is reached; the second determining subunit 33 is configured to determine that the page load state is a preset second state if the preset threshold is not reached. Specifically, if the value of the running resource load of the page is equal to or greater than a preset threshold, determining the page load state of the page as a preset first state; the first state is used for representing that the page is in a good state or in a state without optimization. If the value of the running resource load of the page is smaller than a preset threshold value, determining the page load state of the page as a preset second state; the second state is used for representing that the page is in a poor/very poor state or in a state needing to be optimized. The preset threshold is a variable value, and can be specifically set according to actual requirements; meanwhile, different pages can be configured with preset thresholds corresponding to the different pages.
In an embodiment, the system further includes a key display unit and a release unit, where the key display unit is configured to display a virtual key if it is determined that the page load state is the first state; the release unit is used for responding to the optimization instruction triggered on the virtual key and releasing the operation resource occupied by the page.
Referring to fig. 6, in an alternative embodiment, the acquiring unit 20 specifically includes an identification acquiring subunit 21 and a load acquiring subunit 22, where:
the identifier obtaining subunit 21 is configured to obtain a process identifier of the page; the load obtaining subunit 22 is configured to obtain, in a system process, the corresponding running resource load at regular time according to the process identifier.
Optionally, the creation-loading unit 10 is specifically configured to: and when the page is detected to be started, creating a corresponding load tag plug-in, loading the load tag plug-in into the browser, and displaying a status bar of the load tag plug-in at a preset position of the browser. The status bar is specifically used for displaying the load condition of the current page occupied by the running resources. In implementation, the status bar of the load tag plug-in is loaded at the top position of the page, so that a user can intuitively observe the load tag plug-in corresponding to the page.
In an embodiment, the device further includes a setting unit, configured to respond to a setting request of a user, so as to add, delete or modify a setting for the preset threshold corresponding to the page. That is, the preset threshold may be actively modified by the user, for example, by presetting a default preset threshold; the default preset threshold value is configured when each page is started; when the user initiates a setting request, the default preset threshold value can be modified in a manual modification mode.
In another embodiment, the method further includes a threshold configuration unit, configured to configure the preset threshold corresponding to the attribute type according to the attribute type of the page. That is, in this embodiment, different attribute types may be divided for the page of the browser, and a preset threshold corresponding to the different attribute types may be configured for the different attribute types; the attribute types comprise video attributes, news attributes, game attributes and the like; when a page is started and the corresponding attribute type is detected, a preset threshold corresponding to the attribute type is configured for the page. Different preset thresholds can be configured for different attribute types, so that the use experience of a user is improved.
The present invention also provides a storage medium storing a computer program for a method of monitoring browser page load as described in fig. 1-3. Such as computer program instructions, which, when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application. Program instructions for invoking the methods of the present application may be stored in fixed or removable storage media and/or transmitted via a data stream in a broadcast or other signal bearing medium and/or stored within a storage medium of a computer device operating according to the program instructions. Here, according to one embodiment of the present application, a computer device of a monitoring system for browser page load as shown in fig. 4, the computer device preferably includes a storage medium for storing a computer program and a processor for executing the computer program, wherein the computer program, when executed by the processor, triggers the computer device to perform the method and/or the technical solution based on the foregoing embodiments.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, using Application Specific Integrated Circuits (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software program of the present application may be executed by a processor to implement the above steps or functions. Likewise, the software programs of the present application (including associated data structures) may be stored on a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. In addition, some steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
The method according to the invention may be implemented as a computer implemented method on a computer, or in dedicated hardware, or in a combination of both. Executable code or parts thereof for the method according to the invention may be stored on a computer program product. Examples of computer program products include memory devices, optical storage devices, integrated circuits, servers, online software, and the like. Preferably, the computer program product comprises non-transitory program code means stored on a computer readable medium for performing the method according to the invention when said program product is executed on a computer.
In a preferred embodiment the computer program comprises computer program code means adapted to perform all the steps of the method according to the invention when the computer program is run on a computer. Preferably, the computer program is embodied on a computer readable medium.
In summary, according to the method and the system for monitoring the browser page load, when a new page of the browser is detected to be started, the load tag plug-in corresponding to the page is created and loaded; acquiring the operation resource load corresponding to the page at fixed time through the load tag plug-in; determining the current page load state of the page according to the comparison information between the running resource load and a preset threshold value; and finally displaying the page load state on the browser. Therefore, the invention can monitor the resource load condition of each page of the browser at regular time, so that the user can optimize the page according to the actual needs, and the page focused by the user in real time can be ensured to be operated smoothly.
Of course, the present invention is capable of other various embodiments and its several details are capable of modification and variation in light of the present invention, as will be apparent to those skilled in the art, without departing from the spirit and scope of the invention as defined in the appended claims.
The invention also provides an A1, a method for monitoring the page load of the browser, which comprises the following steps:
when the starting of a page is detected, creating and loading a load label plug-in corresponding to the page;
acquiring the running resource load of the page at fixed time through the load tag plug-in;
determining the page load state of the page according to the comparison information between the running resource load and a preset threshold value;
and displaying the page load state on the browser.
A2, according to the method for monitoring the page load of the browser in A1, the step of determining the page load state of the page according to the comparison information between the running resource load and the preset threshold value specifically comprises the following steps:
judging whether the numerical value of the running resource load reaches the preset threshold value or not;
if the preset threshold is reached, determining that the page load state is a preset first state;
and if the preset threshold is not reached, determining that the page load state is a preset second state.
A3, the method for monitoring the page load of the browser according to A2, after the step of displaying the page load state on the browser, further comprises the following steps:
if the page load state is determined to be the first state, displaying a virtual key;
and responding to an optimization instruction triggered on the virtual key, and releasing the operation resources occupied by the page.
A4, according to the method for monitoring the page load of the browser in A1, the step of acquiring the running resource load of the page at fixed time through the load tag plug-in unit specifically comprises the following steps:
acquiring a process identifier of the page;
and according to the process identification, acquiring the corresponding running resource load in the system process at fixed time.
A5, according to the method for monitoring the browser page load of A1, when the page start is detected, the step of creating and loading the load label plug-in corresponding to the page specifically comprises the following steps:
and when the page is detected to be started, creating a corresponding load tag plug-in, loading the load tag plug-in into the browser, and displaying a status bar of the load tag plug-in at a preset position of the browser.
A6, according to the method for monitoring the page load of the browser in A1, the step of determining the page load state of the page according to the comparison information between the running resource load and the preset threshold value further comprises the following steps:
responding to a setting request of a user, and performing new addition, deletion or modification on the preset threshold corresponding to the page.
A7, according to the method for monitoring the page load of the browser in A1, the step of determining the page load state of the page according to the comparison information between the running resource load and the preset threshold value further comprises:
and configuring the preset threshold corresponding to the attribute type according to the attribute type of the page.
A8, according to the method for monitoring the browser page load of A1, the running resource load comprises CPU resource load and/or memory occupation load.
Also provided is a B9, a browser page load monitoring system, comprising:
the loading unit is used for creating and loading a load label plug-in corresponding to the page when the page is detected to be started;
the acquisition unit is used for acquiring the operation resource load of the page at fixed time through the load tag plug-in;
the state determining unit is used for determining the page load state of the page according to the comparison information between the running resource load and a preset threshold value;
and the display unit is used for displaying the page load state on the browser.
B10, the monitoring system of browser page load according to B9, the state determining unit specifically includes:
the judging subunit is used for judging whether the numerical value of the running resource load reaches the preset threshold value or not;
the first determining subunit is configured to determine that the page load state is a preset first state if the preset threshold is reached;
and the second determining subunit is used for determining that the page load state is a preset second state if the preset threshold is not reached.
B11, the browser page load monitoring system according to B10 further comprises:
the key display unit is used for displaying a virtual key if the page load state is determined to be the first state;
and the releasing unit is used for responding to the optimizing instruction triggered on the virtual key and releasing the operation resources occupied by the page.
B12, the browser page load monitoring system according to B9, wherein the obtaining unit specifically comprises:
an identifier obtaining subunit, configured to obtain a process identifier of the page;
and the load acquisition subunit is used for acquiring the corresponding running resource load in the system process at regular time according to the process identifier.
B13, the monitoring system of browser page load according to B9, wherein the creation loading unit is specifically configured to:
and when the page is detected to be started, creating a corresponding load tag plug-in, loading the load tag plug-in into the browser, and displaying a status bar of the load tag plug-in at a preset position of the browser.
B14, the browser page load monitoring system according to B9 further comprises:
and the setting unit is used for responding to a setting request of a user so as to carry out new addition, deletion or modification setting on the preset threshold corresponding to the page.
B15, the browser page load monitoring system according to B9 further comprises:
and the threshold value configuration unit is used for configuring the preset threshold value corresponding to the attribute type according to the attribute type of the page.
And B16, the monitoring system of browser page load according to B9, wherein the operation resource load comprises CPU resource load and/or memory occupation load.
There is also provided C17, a storage medium storing a computer program for executing the method of monitoring a browser page load of any one of A1 to A8.
Also provided is a computer device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the method for monitoring browser page load according to any one of A1 to A8 when executing the computer program.

Claims (10)

1. The method for monitoring the page load of the browser is characterized by comprising the following steps:
when the starting of a page is detected, creating and loading a load label plug-in corresponding to the page;
acquiring the running resource load of the page at fixed time through the load tag plug-in;
determining the page load state of the page according to the comparison information between the running resource load and a preset threshold value;
and displaying the page load state on the browser.
2. The method for monitoring the page load of the browser according to claim 1, wherein the step of determining the page load state of the page according to the comparison information between the running resource load and the preset threshold value specifically includes:
judging whether the numerical value of the running resource load reaches the preset threshold value or not;
if the preset threshold is reached, determining that the page load state is a preset first state;
and if the preset threshold is not reached, determining that the page load state is a preset second state.
3. The method for monitoring the page load of the browser according to claim 2, wherein after the step of displaying the page load status on the browser, further comprises:
if the page load state is determined to be the first state, displaying a virtual key;
and responding to an optimization instruction triggered on the virtual key, and releasing the operation resources occupied by the page.
4. The method for monitoring the page load of the browser according to claim 1, wherein the step of acquiring the running resource load of the page at regular time through the load tag plug-in specifically comprises:
acquiring a process identifier of the page;
and according to the process identification, acquiring the corresponding running resource load in the system process at fixed time.
5. The method for monitoring the page load of the browser according to claim 1, wherein the step of creating and loading the load tag plug-in corresponding to the page when the page start is detected specifically comprises:
and when the page is detected to be started, creating a corresponding load tag plug-in, loading the load tag plug-in into the browser, and displaying a status bar of the load tag plug-in at a preset position of the browser.
6. The method for monitoring the page load of the browser according to claim 1, wherein the step of determining the page load state of the page according to the comparison information between the running resource load and the preset threshold value further comprises:
responding to a setting request of a user, and performing new addition, deletion or modification on the preset threshold corresponding to the page.
7. The method for monitoring the page load of the browser according to claim 1, wherein the step of determining the page load state of the page according to the comparison information between the running resource load and the preset threshold value further comprises:
and configuring the preset threshold corresponding to the attribute type according to the attribute type of the page.
8. A browser page load monitoring system is characterized by comprising:
the loading unit is used for creating and loading a load label plug-in corresponding to the page when the page is detected to be started;
the acquisition unit is used for acquiring the operation resource load of the page at fixed time through the load tag plug-in;
the state determining unit is used for determining the page load state of the page according to the comparison information between the running resource load and a preset threshold value;
and the display unit is used for displaying the page load state on the browser.
9. A storage medium storing a computer program for executing the method of monitoring a browser page load according to any one of claims 1 to 7.
10. A computer device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, characterized in that the processor implements the method of monitoring browser page load according to any one of claims 1-7 when executing the computer program.
CN202111382373.6A 2021-11-19 2021-11-19 Method and system for monitoring browser page load, storage medium and computer equipment Pending CN116149922A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111382373.6A CN116149922A (en) 2021-11-19 2021-11-19 Method and system for monitoring browser page load, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111382373.6A CN116149922A (en) 2021-11-19 2021-11-19 Method and system for monitoring browser page load, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN116149922A true CN116149922A (en) 2023-05-23

Family

ID=86349325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111382373.6A Pending CN116149922A (en) 2021-11-19 2021-11-19 Method and system for monitoring browser page load, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN116149922A (en)

Similar Documents

Publication Publication Date Title
US11662802B2 (en) Task management method and device
US11122142B2 (en) User behavior data processing method and device, and computer-readable storage medium
CN103096385A (en) Method and device and terminal of flow control
US10924572B2 (en) Information push method and apparatus, information sending method and apparatus, system, and storage medium
CN110798635A (en) Method and device for matching subtitle files for video
CN114116014A (en) Instruction issuing method and device, intelligent equipment and storage medium
CN114143371A (en) Screen projection method and device, storage medium and electronic equipment
GB2458005A (en) Shutting down unnecessary programs in a computer system
CN107633080B (en) User task processing method and device
CN104699535B (en) A kind of information processing method and electronic equipment
CN116149922A (en) Method and system for monitoring browser page load, storage medium and computer equipment
CN117412088A (en) Terminal control method and device, storage medium and electronic equipment
CN114489892B (en) Data processing method, device, computer readable storage medium and computer equipment
CN114895884A (en) Method and system for compiling and executing RPA script of terminal equipment
CN113326397A (en) Service data processing method and device
CN106162282B (en) Method and device for forbidding keys of intelligent television input equipment
CN111880912A (en) Method and device for controlling electronic equipment and electronic equipment
CN112316416B (en) Data searching method, device, computer equipment and storage medium
CN111258872A (en) User behavior recognition method, display terminal, and computer-readable storage medium
CN114007090B (en) Video live broadcast establishing method and device, storage medium and electronic equipment
CN113849751A (en) Data caching method and device, electronic equipment and computer readable storage medium
CN105530529A (en) Rapid application control method and device
CN114640888A (en) Video playing method and device, computer equipment and computer readable storage medium
CN116126306A (en) Object attribute editing method, device, electronic equipment and computer readable storage medium
CN113986238A (en) Application cooperation method and device, storage medium and electronic equipment

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