Method, device, electronic device, and readable storage medium for determining page freeze

A technology for determining methods and pages, applied in the network field, can solve problems such as high labor costs, human support, and page freezes

Active Publication Date: 2021-05-11
BEIJING SANKUAI ONLINE TECH CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the process of drawing the page, if there is a problem with the logic of the code, for example, the processing of the nested scrolling time is not smooth, resulting in the same data for multiple frames before and after, then the FPS is normal at this time, but the actual display of the page still shows a freeze phenomenon; In the three schemes, the image analysis of the loading screen and the generation of result data lead to high labor costs, and the high-speed camera requires manpower support, which limits the scope of data collection by manpower

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
  • Method, device, electronic device, and readable storage medium for determining page freeze
  • Method, device, electronic device, and readable storage medium for determining page freeze
  • Method, device, electronic device, and readable storage medium for determining page freeze

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] refer to figure 1 , which shows a flow chart of the steps of a method for determining page freeze, including:

[0031] Step 101, monitor page scrolling behavior.

[0032] Embodiments of the present disclosure can be applied to pages that can be scrolled and displayed on a terminal screen, including web pages, local file pages, and the like. Wherein, the terminal includes: a terminal with a screen, such as a mobile phone, a tablet computer, and a computer.

[0033] Specifically, a monitoring event can be set on the page through the front end to monitor page scrolling behavior.

[0034] It should be noted that the embodiments of the present disclosure may be aimed at scrolling up and down, scrolling left and right, or scrolling in other directions. In this embodiment of the present invention, the scrolling direction is not limited.

[0035] Step 102, in response to the page scrolling behavior, acquire a plurality of status data at preset time intervals, the status dat...

Embodiment 2

[0049] The embodiment of the present application describes an optional page freeze determination method from the level of the system architecture.

[0050] refer to Figure 4 , which shows a flow chart of specific steps of another method for determining page freeze.

[0051] Step 201, monitor page scrolling behavior.

[0052] For this step, reference may be made to the detailed description of step 101, which will not be repeated here.

[0053] Step 202, in response to the page scrolling behavior, call a software interface at preset time intervals to obtain scrolling distances corresponding to multiple scrolling times.

[0054] In practical applications, some open source software frameworks provide a software interface for obtaining the scrolling distance of a page during scrolling. Embodiments of the present disclosure can directly call the interface to obtain the scrolling distance, reducing the workload of developers.

[0055] Optionally, in another embodiment of the pres...

Embodiment 3

[0090] refer to Image 6 , which shows a structural diagram of an apparatus for determining page freeze, the details are as follows.

[0091] The scrolling behavior monitoring module 301 is configured to monitor the page scrolling behavior.

[0092] The status data acquiring module 302 is configured to acquire a plurality of status data at preset time intervals in response to the page scrolling behavior, and the status data includes: scrolling time and scrolling distance.

[0093] The acceleration curve acquisition module 303 is configured to generate an acceleration curve for scrolling speed according to the scrolling time and scrolling distance when the page scrolling behavior is valid.

[0094] The stuck position determination module 304 is configured to determine the page stuck position according to the acceleration curve.

[0095] To sum up, the embodiment of the present disclosure provides a device for determining page freeze, the device comprising: a scrolling behavio...

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 present disclosure provides a page freeze determination method, device, electronic device and readable storage medium, the method comprising: monitoring the page scrolling behavior; in response to the page scrolling behavior, acquiring a plurality of state data according to a preset time interval , the status data includes: scrolling time and scrolling distance; when the page scrolling behavior is valid, generate an acceleration curve for scrolling speed according to the scrolling time and scrolling distance; determine the page stuck position according to the acceleration curve . The page freeze can be determined by the acceleration of page scrolling, because the acceleration directly reflects whether the page scrolling speed is normal, which helps to avoid the problem of normal FPS and page freeze; moreover, using a computer to realize image analysis to generate result data reduces the Labor costs are not limited by manpower, and the scope of data collection is large.

Description

technical field [0001] The embodiments of the present disclosure relate to the field of network technology, and in particular, to a method, device, electronic device, and readable storage medium for determining page freeze. Background technique [0002] When using a mobile terminal to browse a web page, the page data needs to be loaded within a certain period of time. If the loading is not successful within the time period, the page freezes. FPS (Frames Per Second, the number of frames per second) is usually used to evaluate the degree of stuttering. [0003] In the prior art, there are generally three schemes for obtaining the FPS indicator. The first solution is to obtain the loading time of the page data through the system, and calculate the FPS; the second solution is to calculate the time consumed by each frame of the page in the loading code of the page data, and calculate the FPS; the third solution, The page loading screen is captured by an external device (for exa...

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): G06F11/34G06F3/0485
CPCG06F3/0485G06F11/34
Inventor 刘凯
Owner BEIJING SANKUAI ONLINE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products