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

Method and apparatus for exchanging data packet and communication device

A data packet and packet switching technology, applied in the field of communication, can solve problems such as complex connection relations of packet processing modules, and achieve the effect of simplifying connection relations

Active Publication Date: 2010-01-13
HUAWEI TECH CO LTD
View PDF0 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As communication protocols become more and more complex, there are more and more packet processing modules in communication devices, resulting in more and more complex connections between packet processing modules.

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
  • Method and apparatus for exchanging data packet and communication device
  • Method and apparatus for exchanging data packet and communication device
  • Method and apparatus for exchanging data packet and communication device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] see image 3 , image 3 It is a schematic flowchart of a data packet processing method provided by Embodiment 1 of the present invention.

[0031] S301. Receive a data packet from a source packet processing module through a first port.

[0032] Step 301 may be performed by a packet switching module, and the packet switching module receives a data packet from the packet processing module through a port connected to the packet processing module. Figure 4 An exemplary connection manner of the packet switching module and the packet processing module is given. Figure 4 Among them, the packet processing modules A-D are functional modules used to realize certain functions. The main function of the packet processing module is to process the received data packets according to the communication protocol, and output them to the next packet processing module for further processing after processing. For example, the packet processing modules A-D are programmable logic devices ...

Embodiment 2

[0050] For ease of expression, in the process of processing data packets, in this implementation, the packet processing module that processes data packets last is called a source packet processing module, and the packet processing module that processes data packets next is called a destination packet processing module. The order in which the packet processing module processes data packets is determined by the communication protocol implemented by the packet processing module.

[0051] In one application scenario, each packet processing module implements a layer of TCP / IP protocol functions, and each packet processing module is given a unique identifier, which can be a number or a character.

[0052] by Figure 4 In an example given as a basis, the identifier of the packet processing module A is 0x00, the identifier of the packet processing module B is 0x02, the identifier of the packet processing module C is 0x04, and the identifier of the packet processing module D is 0x06. ...

Embodiment 3

[0080] Such as Figure 7 as shown, Figure 7 A data packet processing device provided in Embodiment 3 of the present invention includes:

[0081] Packet processing module 701-packet processing module 706 is a functional module for processing data packets according to a certain protocol, such as a field programmable gate array or a programmable logic device that realizes the functions of each layer of the TCP / IP protocol.

[0082] The packet switching module 707 is connected to the packet processing module 701-packet processing module 706 through different ports, the packet switching module 707 receives data packets from the processing module through the ports, and forwards the data packets to the destination according to the destination identification field in the data packets Identifies the indicated packet processing module.

[0083] After processing the data packet, each packet processing module adds a destination identifier to the data packet, and then sends the data pac...

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 provides a data packet processing method, a data packet processing apparatus and a communication device including the data packet processing apparatus. The method comprises the following steps: receiving a data packet from a source packet processing module through a first port, wherein the data packet comprises a destination identifier which is used for processing the packet processing module of the data packet; analyzing the data packet to obtain the destination identifier; obtaining a port corresponding to the destination identifier as the second port; and transmitting the data packet to the packet processing module corresponding to the destination identifier through the second port. The method, the apparatus and the communication device can simplify the connectivity of the packet processing modules.

Description

technical field [0001] The present invention relates to the communication field, in particular to a data packet exchange method, device and communication equipment. Background technique [0002] With the development of communication technology, the requirements for communication bandwidth are getting higher and higher, and relying solely on software to realize the processing of communication protocols can no longer meet the demand. Therefore, the processing of the protocol is gradually moved down, and implemented in microcode and programmable logic (Programmable Logic Device, PLD), wherein the processing speed implemented in programmable logic is faster and the real-time performance is higher. [0003] For example, the TCP / IP protocol is a four-layer architecture. When implementing the TCP / IP protocol to process data packets through software, it is necessary to import a complete data packet into the memory, and the software processes the data packets in the memory layer by l...

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): H04L12/56H04L29/06H04L12/70
Inventor 于岗魏国栋周建勋郭晓川徐正华
Owner HUAWEI TECH 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