Webpage index information acquisition method and apparatus, computer device, and storage medium
AssigneeShenzhen Tcl New Technology Co., Ltd.
InventorYang LUO
Life of this patent
Estimating the term…
Abstract
A webpage index information acquisition method and apparatus, a computer device, and a storage medium are provided. In the method, a main thread corresponding to a target webpage is monitored, and if a first long task in the main thread ends, webpage index information is generated according to an end time point of the first long task and a thread task monitored in a preset time window. A start time point of the preset time window is the end time point of the first long task.
Claims21
A webpage index information acquisition method, wherein the method comprises:
- monitoring a main thread corresponding to a target webpage;
- and
- if a first long task in the main thread ends, generating webpage index information of the target webpage according to an end time point of the first long task and a thread task monitored in a preset time window, wherein a start time point of the preset time window is the end time point of the first long task.
A webpage index information acquisition apparatus, wherein the apparatus comprises:
- a thread monitoring module configured to monitor a main thread corresponding to a target webpage;
- and
- a webpage index acquisition module configured to generate webpage index information of the target webpage according to an end time point of a first long task and a thread task monitored in a preset time window when the first long task in the main thread ends, wherein a start time point of the preset time window is the end time point of the first long task.
A computer device, wherein the computer device comprises:
- one or more processors;
- a memory;
- and
- one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement steps of:
- monitoring a main thread corresponding to a target webpage;
- and
- if a first long task in the main thread ends, generating webpage index information of the target webpage according to an end time point of the first long task and a thread task monitored in a preset time window, wherein a start time point of the preset time window is the end time point of the first long task.
(canceled)
Dependencies are inferred from the claim text.