Unlock instant, AI-driven research and patent intelligence for your innovation.

Browser thread state monitoring method and device

A browser and thread technology, applied in the computer field, can solve problems that affect user experience, cannot be counted, and cannot improve browser performance, so as to achieve the effect of improving resource utilization and performance

Active Publication Date: 2021-01-15
深圳市雅阅科技有限公司
View PDF20 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above-mentioned prior art only considers the stalls that occur when processing messages, and cannot count the stalls caused by events other than message processing. Therefore, the monitoring of browsers is not fine and comprehensive enough, so that developers cannot The monitoring data can effectively improve the performance of the browser, thereby reducing the resource utilization of the user terminal and affecting the user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Browser thread state monitoring method and device
  • Browser thread state monitoring method and device
  • Browser thread state monitoring method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0025] The present invention is applied to an operating system, including an open operating system or a closed operating system, for monitoring the running state of a user interface (UI) thread in a browser. figure 1 It is a schematic flowchart of a method for monitoring a thread state of a browser according to an embodiment of the present invention. like figure 1 shown, including the following steps:

[0026] Step 101, in response to the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a thread state monitoring method and device for a browser. The method comprises the steps of starting a browser thread in response of an operation that a user opens the browser, creating and starting a user interface thread and a monitoring thread belonging to the browser thread, and setting and starting a timer in the user interface thread; after starting the timer in the user interface thread, adding, by an operating system, an event processing message for the timer into a message queue; sequentially acquiring, by the user interface thread, event processing messages corresponding to the browser thread from the message queue, and processing the event processing messages; and when the acquired event processing message is the one for the timer, triggering the user interface thread to send a state monitoring message to the monitoring thread, and determining, by the monitoring thread, the state of the user interface thread according to the state monitoring message. By adopting the technical solution, the monitoring accuracy of the user interface thread can be improved.

Description

technical field [0001] The present application relates to the field of computer technologies, and in particular, to a method and device for monitoring a thread state of a browser. Background technique [0002] When a user browses information using a browser, multiple windows are displayed on the user interface, and each window corresponds to an application. When the user operates an object in the window, the operating system sends a message to the corresponding application, informing the application that an event has occurred. For example, the user clicks the mouse, changes the size of the window, or presses a key on the keyboard, all of which cause the operating system to send a message to the application. The application then processes the received message and executes the event corresponding to the message. The application may freeze when it learns and processes the message. At this time, the user interface does not respond, and no application is executed. [0003] In ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/957G06F11/30
CPCG06F11/3051G06F16/957
Inventor 尚子峰
Owner 深圳市雅阅科技有限公司