WebView webpage loading performance and user behavior-based stream data collection method

A web page loading and streaming data technology, which is applied in electrical digital data processing, instruments, calculations, etc., can solve the problems of difficult performance monitoring of WebView components, and achieve the effect of timely data

Inactive Publication Date: 2017-06-27
SOUTH CHINA UNIV OF TECH
View PDF7 Cites 36 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art, provide a method based on WebView webpage loading performance and user behavior stream data collection, solve the problem that existing WebView c

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
  • WebView webpage loading performance and user behavior-based stream data collection method
  • WebView webpage loading performance and user behavior-based stream data collection method
  • WebView webpage loading performance and user behavior-based stream data collection method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The present invention will be further described in detail below in conjunction with the embodiments and the accompanying drawings, but the embodiments of the present invention are not limited thereto.

[0040] Such as figure 1 As shown, a method based on WebView webpage loading performance and user behavior flow data collection includes the following steps:

[0041] S1. Use the WebView to load the webpage selected by the user, and monitor the webpage loading completion event of the WebView at the same time;

[0042] S2. By implementing the loading completion callback method mentioned in step 1, the Android system calls the loadUrl method of WebView, and the IOS uses the stringByEvaluatingJavaScriptFromString method, and inserts a piece of JS code. The written JS file, and the methods of performance detection and user behavior data collection are located in this file;

[0043] S3. After the webpage is loaded, the JS file introduced in step 2 can obtain the performance ...

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 WebView webpage loading performance and user behavior-based stream data collection method. The method comprises the following steps of injecting a JS code for obtaining data, mainly a link of a JS file, into html5, jsp and php webpage codes of a current loaded link after a WebView loads a webpage selected by a user, wherein the pointed JS file contains a pre-written detailed code for obtaining performance data; and then performing interaction through a native code and the JS code, transmitting the data to an APP layer for subsequent arrangement, transmitting the data to a Server end, and finally obtaining the performance data loaded by the webpage. The method is used for monitoring loading time, executive time, executive frequency, JS errors, Ajax performance data and the like of the html5 page, supports collection of user click stream data, and can be applied to multiple platforms of IOS, Android and the like.

Description

technical field [0001] The invention relates to the field of website performance monitoring, in particular to a method for collecting web page loading performance and user behavior stream data based on WebView. Background technique [0002] In recent years, with the popularization of mobile communication technology and the development of smart phones, various mobile APPs have become an inseparable part of people's daily life. In particular, the introduction of Html5 technology has made cross-platform web applications more and more popular. With the popularization of Html5 on the mobile terminal, the use of WebView on the mobile terminal is becoming more and more frequent, and the performance monitoring and optimization of the WebView component is becoming more and more important. At the same time, more and more manufacturers have begun to realize that data is the most valuable asset, and have begun to pay attention to various interactive data generated by users in the proce...

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
IPC IPC(8): G06F11/36
CPCG06F11/3644G06F11/366
Inventor 陆璐成斌
Owner SOUTH CHINA UNIV OF TECH
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