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

A network performance data collection method, device and storage medium

A technology for data acquisition and network performance, applied in data exchange networks, digital transmission systems, electrical components, etc., can solve problems such as inconsistent standards, difficult network request key node location, long process, etc., and achieve the effect of consistent definitions

Active Publication Date: 2021-11-26
深圳桔子数字技术有限公司
View PDF17 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the existing technology, the process from initiating a network request on the APP side to loading the page on the H5 page side is relatively long, which makes it difficult to collect the performance data of the key nodes of the network request, it is difficult to locate the key nodes of the network request, or only part of the nodes can be collected At the same time, due to differences in mobile phone manufacturers, system versions, and development languages, the statistical standards of the APP end and the H5 page end are inconsistent, resulting in no comparable data at both ends

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
  • A network performance data collection method, device and storage medium
  • A network performance data collection method, device and storage medium
  • A network performance data collection method, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0064] figure 1 The flow chart of the network performance data collection method provided by the technical solution of the first embodiment of the present invention, the APP in the first embodiment is described by taking the preset application software running on the android system as an example, and the APP can also run on the IOS system , windows system or any other operating system used by the terminal. In the present invention, the default application is embedded with an H5 page.

[0065] In the prior art, network performance data generally includes bandwidth (throughput), number of lost packets, time consumption, and the like. In this embodiment and the following embodiments, the network performance data refers to the time consumption of the network request process. Time consumption describes the time it takes for a data packet to be received from sending to receiving. The unit is usually milliseconds (ms), which reflects the speed of the network, so generally the small...

Embodiment 2

[0087] figure 2 Shown is a flow chart of the method for collecting network performance data provided by Embodiment 2 of the present invention. In this embodiment, on the basis of the above-mentioned embodiments, the step of "monitoring the first time-consuming data of execution of multiple first-stage tasks" is optimized.

[0088] Specifically, such as figure 2 As shown, the second step of the present embodiment is as follows:

[0089] Step S210, decomposing the first network request initiated by the APP based on the preset application into multiple first-stage tasks according to preset key nodes.

[0090] Step S220, configure an interceptor on the APP side, and initiate a first network request to the server.

[0091] In the steps, interceptors are used to intercept user requests and add processing logic before and after the requests. The APP side adds corresponding tags to the request header of each request data interface, and configures the interceptor according to the...

Embodiment 3

[0109] Such as image 3 The flow chart of the method for collecting network performance data provided by Embodiment 3 of the present invention, this embodiment is based on the above-mentioned Embodiments 1 and 2, and the step "monitoring the second time-consuming data of multiple second-stage tasks being executed" It is implemented by calling the js script during the loading process of the H5 page. Specifically, the steps are as follows:

[0110] Step S310, decomposing the first network request initiated by the APP based on the preset application into multiple first-stage tasks according to the preset key nodes, so as to monitor the first time-consuming data of the execution of the multiple first-stage tasks.

[0111] Step S320, decomposing the second network request initiated by the H5 page based on the preset application into multiple second-stage tasks according to the preset key nodes.

[0112] Step S330, calling the js script of the second stage task during the loading p...

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 method for collecting network performance data. The steps are as follows: according to the key nodes, the first network request at the APP end is decomposed into multiple first-stage tasks, so as to monitor the first time-consuming data of multiple first-stage tasks being executed. ; Decompose the second network request initiated by the H5 page into multiple second-stage tasks, so as to monitor the second time-consuming data of multiple second-stage tasks being executed; based on the first time-consuming data and the second time-consuming data Network performance data collection. At the same time, a network performance data collection device, a server and a storage medium are disclosed. The invention decomposes the network request initiated by the APP terminal and the H5 page terminal into multiple subtasks, monitors the time-consuming data of the subtasks, ensures that the data of each key node can be completely collected, and at the same time ensures that the network performance data of the preset nodes are defined consistently .

Description

technical field [0001] Embodiments of the present invention relate to the field of front-end server interaction, and in particular, to a method, device, server and storage medium for collecting network performance data. Background technique [0002] In the existing technology, the process from initiating a network request on the APP side to loading the page on the H5 page side is relatively long, which makes it difficult to collect the performance data of the key nodes of the network request, it is difficult to locate the key nodes of the network request, or only part of the nodes can be collected Data; at the same time, due to differences in mobile phone manufacturers, system versions, and development languages, the statistical standards of the APP end and the H5 page end are inconsistent, resulting in incomparable data at both ends. Contents of the invention [0003] In order to solve the above problems, the present invention provides a method for collecting network perf...

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): H04L12/26
CPCH04L43/0852
Inventor 刘广彪范静俭白杰黎杨俊覃秉忠
Owner 深圳桔子数字技术有限公司