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
CN107329901AActive Publication Date: 2017-11-07TENCENT TECH (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN ยท China
Current Assignee / Owner
TENCENT TECH (SHENZHEN) CO LTD
Publication Date
2017-11-07

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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