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

A method and device for identifying data packets

An identification method and data packet technology, applied in the field of communication, can solve the problems of consumption, multi-processing resources, and low recognition rate of encrypted data packets

Active Publication Date: 2017-06-23
NSFOCUS INFORMATION TECHNOLOGY CO LTD +1
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a method for identifying a data packet, which is used to solve the problem in the prior art that identifying the P2P application corresponding to the data packet consumes more processing resources, and the identification rate of the encrypted data packet is relatively low. low problem

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 method and device for identifying data packets
  • A method and device for identifying data packets
  • A method and device for identifying data packets

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] Such as figure 1 What is shown is a schematic diagram of the steps of a method for identifying a data packet in Embodiment 1 of the present invention. The method mainly includes the following steps:

[0047] Step 101: Receive a data packet.

[0048] The data packet received in this step 101 may be a P2P data packet or may not be a P2P data packet.

[0049] Step 102: Search for the specific identifier contained in the data packet from the preset Cache. If it can be found, go to step 103; if it cannot be found, go to step 104.

[0050] The specific identifier in this step 102 is the IP address and port number of the source node that sent the data packet, or the IP address and port number of the destination node that received the data packet, which can be obtained from the network layer data of the data packet (including the source node And the IP address of the destination node) and transport layer data (including the port number of the source node and destination node).

[0051] ...

Embodiment 2

[0084] The second embodiment is a data packet identification device that belongs to the same inventive concept as the first embodiment, such as figure 2 As shown, the device includes:

[0085] The receiving module 11 is used to receive data packets.

[0086] The searching module 12 is used to search for the specific identifier contained in the data packet from the preset Cache, and if it can be found, determine that the data packet is a data packet encapsulated using the P2P protocol, and according to the data packet in the Cache The specific identifier corresponds to the stored APP ID to determine the application that uses the P2P protocol to encapsulate the data packet; the specific identifier is the Internet Protocol IP address and port number of the source node that sends the data packet, or receives the data The IP address and port number of the destination node of the packet; wherein, the Cache contains: the IP address and port number of the node that transmits the data pack...

Embodiment 3

[0097] In order to enable those skilled in the art to better understand the foregoing solutions provided by the embodiments of the present invention, a specific embodiment is used for detailed description below. Among them, the Cache in the embodiment of the present invention is specifically a peer-cache table. The peer-cache table stores the IP address and port number of the P2P node that has been identified to send the P2P data packet, and the application identification APP of the specific P2P application. ID and timestamp. APPID corresponds to P2P applications. The solution of the embodiment of the present invention can set different APP IDs for different P2P applications. For example, the APP ID of the BT application can be set to 1 and the APP ID of the Thunder application is 2. , The APP ID of Baidu video application is 3, the APP ID of PPlive application is 4, the APP ID of skype application is 5, and the APP ID of emule application is 6.

[0098] The execution body of the...

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 and equipment for identifying a data packet. The specific content is: using a pre-set Cache to identify a received data packet can quickly identify a data packet encapsulated with a P2P protocol and use P2P for the data packet. The application of protocol encapsulation greatly improves the identification efficiency of P2P data packets, and can identify encrypted P2P data packets without consuming more resources.

Description

Technical field [0001] The present invention relates to the field of communication technology, in particular to a method and equipment for identifying data packets. Background technique [0002] Peer-to-Peer (P2P) technology, also known as Point to Point (Point to Point) technology, is a peer-to-peer network technology that uses the processing capabilities of the client to implement point-to-point communication between clients. In P2P network applications, all client nodes are peer-to-peer, and each node shares information resources or performs file interaction through direct interconnection without relying on a centralized server. Therefore, various resources can be shared and obtained conveniently and quickly by using P2P technology. [0003] However, with the widespread use of P2P technology, P2P traffic has gradually become an important part of Internet traffic. A large amount of bandwidth in the network is occupied by P2P traffic, which may cause serious network congestion, f...

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): H04L1/00H04L29/08
Inventor 罗元海
Owner NSFOCUS INFORMATION TECHNOLOGY CO LTD