Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Network data collection method, device, system, equipment and storage medium

A technology of network data and collection methods, applied in digital transmission systems, transmission systems, security communication devices, etc., can solve problems such as affecting network data collection, inability to parse network data, and lack of integration.

Active Publication Date: 2022-01-07
北京博睿宏远数据科技股份有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The disadvantage of the first method is that it cannot parse the securely encrypted network data. In addition, because the application program may prevent or interfere with the replacement of the underlying c function, it will also affect the success rate of embedding the hook function in the underlying socket communication function. , thus affecting the collection of network data
The disadvantage of the second method is: some third-party packet capture software can only collect network data under the wireless network, but cannot collect network data using mobile phone traffic; some third-party packet capture software cannot normally collect securely encrypted network data ; Third-party packet capture software is generally independent of the business of automated testing, lacking integration with the business, and the format of the data is also different from the data format required by automated testing
The disadvantage of the third method is that the general proxy service certificate processing method may not be feasible under the Android platform, and the certificate (non-system certificate) installed by the user may not be recognized by the application program with a slightly higher security level. In this case, it is easy to cause the network connection to be forcibly closed by the real client or server due to certificate issues, so that the network data cannot be captured through the proxy service; secondly, the traditional network proxy only acts as a proxy for a single protocol. relatively poor sex

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
  • Network data collection method, device, system, equipment and storage medium
  • Network data collection method, device, system, equipment and storage medium
  • Network data collection method, device, system, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] figure 1 It is a flow chart of a network data collection method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of collecting the network data of the application program. The method can be executed by the network data collection device provided in the embodiment of the present invention. The device can be implemented in the form of software and / or hardware, and can generally be integrated In the proxy service component in the computer device.

[0034] like figure 1 As shown, the method of the embodiment of the present invention specifically includes:

[0035] Step 101, monitor the network communication events in the network engine component, and obtain the network data corresponding to the network communication events, wherein, in the system root certificate directory, the system root certificate matching the proxy service component is preset.

[0036] Wherein, the network engine component is configured to receive or ...

Embodiment 2

[0057] figure 2 It is a flow chart of a network data collection method provided by Embodiment 2 of the present invention. The embodiment of the present invention can be combined with each optional solution in one or more of the above embodiments. In the embodiment of the present invention, the proxy service component monitors the network communication event in the network engine component, and obtains the network data corresponding to the network communication event. It may include: the proxy service component listens to network communication events in the network engine component through a preset port, and acquires network data corresponding to the network communication events.

[0058] And, the proxy service component invokes the data analysis method in the network engine component to analyze the network data, which may include: the proxy service component determines the communication protocol corresponding to the network data; the proxy service component calls the network ...

Embodiment 3

[0073] image 3 It is a schematic structural diagram of a network data collection device provided by Embodiment 3 of the present invention. like image 3 As shown, the device can be configured in a proxy service component in a computer device, including: a data collection module 301 , a data parsing module 302 and a data transmission module 303 .

[0074] Wherein, the data collection module 301 is used to monitor the network communication event in the network engine component, and obtain the network data corresponding to the network communication event, wherein, under the system root certificate directory, the system root certificate matching the proxy service component is preset; The data parsing module 302 is used to call the data parsing method in the network engine component to analyze the network data; the data transmission module 303 is used to call the network filter in the service docking component to process the parsed network data, and Use the default reporting int...

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 embodiment of the invention discloses a network data collection method, device, system, equipment and storage medium. Wherein, the method includes: the proxy service component listens to network communication events in the network engine component, and obtains network data corresponding to the network communication events, wherein, in the system root certificate directory, a system root certificate matching the proxy service component is preset; calling The data analysis method in the network engine component analyzes the network data; calls the network filter in the business docking component to process the analyzed network data, and transmits the analyzed network data to the internal business server. The embodiment of the present invention solves the problem of certificate verification failure in the process of collecting network data by an application program with high security restrictions through a proxy service, and can collect network data from different protocols through a proxy service component.

Description

technical field [0001] Embodiments of the present invention relate to the field of performance monitoring of application programs, and in particular to a network data collection method, device, system, equipment and storage medium. Background technique [0002] In the field of application performance monitoring, the monitoring and analysis of network performance is an important task. At present, Android network data collection generally captures the network data carried by the underlying socket socket communication, and analyzes the network data to identify the application layer protocol of the upper layer, and processes it according to the format of the protocol, and then reports it to the business platform. In terms of network performance monitoring of application programs, the collection of network data is an important link. [0003] In the prior art, there are the following three methods for collecting network data: insert a hook function into the underlying socket comm...

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): H04L43/028H04L41/14H04L67/56H04L9/40
CPCH04L43/028H04L41/14H04L63/0823H04L67/56
Inventor 吴少阳邓小志冯泽康
Owner 北京博睿宏远数据科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products