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

Data packet fetching method, terminal, server and storage medium

A technology of data packets and functions, applied in the field of computer networks, can solve the problems of limited capture of data packets, inability to capture data packets, etc., and achieve the effect of comprehensive data packets

Active Publication Date: 2017-11-07
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, for the loop data packets in the application (loop means that both the sender and the receiver are local), since such data packets do not pass through the network card, the network proxy in the above scheme cannot capture such packets. Data packets, that is, the data packets captured in the above scheme are relatively limited

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
  • Data packet fetching method, terminal, server and storage medium
  • Data packet fetching method, terminal, server and storage medium
  • Data packet fetching method, terminal, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0036] Firstly, for ease of understanding, terms involved in the following embodiments are briefly introduced.

[0037] TCP (Transmission Control Protocol, Transmission Control Protocol) loop: refers to the sender and receiver of TCP data are both the local machine, for example, the IP (Internet Protocol, network interconnection protocol) address of the sender and receiver are both is 127.0.0.1.

[0038] Packet capture: store the data sent and received by the TCP network, and record it to a file.

[0039] Dylib: A dynamic library provided in the IOS system.

[0040] Please refer to figure 1 , which shows a schematic diagram of the implementation environment involved in various embodiments of the present invention, such as figure 1 ...

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 data packet fetching method, a terminal, a server and a storage medium and belongs to the technical field of computer networks. The data packet fetching method includes: after a target application program is started, calling algorithmic logic of the target application program according to Hook function in a dynamic loading library of the target application program, wherein the target application program is the application program installed according to target installation packet, and the dynamic loading library of the target installation packet includes the Hook function and fetching logic; running the algorithmic logic to acquire data packet and fetching the data packet according to the fetching logic. The problem that loop packets cannot be fetched by network agents in the relevant technology, namely the fetched data packets are limited is solved; the data packets are directly fetched through the fetching logic when the application program is run, the loop packets can be fetched, and comprehensive effect in the fetched data packets is achieved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of computer networks, and in particular to a method for capturing data packets, a terminal, a server and a storage medium. Background technique [0002] When analyzing an application, it is often necessary to capture the data packets sent and received by the application, and analyze the function of the application according to the captured data packets. [0003] In the prior art, a network proxy is used to capture data packets. Specifically, the method includes: the network agent sends an acquisition request to the network card, and receives a data packet returned by the network card, and the acquisition request is used to request acquisition of a data packet from or to the target application program. [0004] However, for the loop data packets in the application (loop means that both the sender and the receiver are local), since such data packets do not pass through the network ca...

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/3612
Inventor 范保成
Owner TENCENT TECH (SHENZHEN) CO LTD
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