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

A method and device for sending data packets

A data packet and forwarding path technology, applied in the field of communication, can solve the problems of data packet sending failure, different forwarding paths, etc.

Active Publication Date: 2019-02-12
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Due to the difference in real-time network status, the network topology of different controllers may be different, which may result in different forwarding paths calculated by different controllers, and may result in different forwarding paths selected by different switches. When the forwarding path forwards data packets, a loop may be formed, resulting in failure to send data packets

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0086] see figure 1 , the embodiment of the present invention provides a method for sending data packets, including:

[0087] Step 101: When there is no forwarding entry matching the header information of the data packet in the forwarding table of the first switch, send a policy request message carrying the header information of the data packet to each controller, so that each controller is The data packet calculates a forwarding path, and the header information includes address information required for sending the data packet;

[0088] Step 102: Receive a policy response message sent by each controller, where the policy response message includes a forwarding path;

[0089] Step 103: Select a forwarding path from the received forwarding paths;

[0090] Step 104: setting the second switch to use the selected forwarding path to forward the data packet after receiving the data packet, the second switch being any switch on the selected forwarding path except the first switch;

...

Embodiment 2

[0108] The embodiment of the present invention provides a method for sending data packets.

[0109] Such as diagram 2-1 As shown, the SDN network is composed of multiple controllers and multiple switches and other devices. When the switch receives a data packet and searches for the forwarding table entry of the forwarding table according to the header information of the data packet, but does not find a forwarding table entry matching the header information of the data packet, the switch can pass the method to send the packet. For ease of description, the switch is referred to as the first switch in this embodiment of the present invention.

[0110] see Figure 2-2 , the method includes:

[0111] Step 201: the first switch receives the data packet, searches the forwarding table entry of the forwarding table according to the data packet, if a forwarding table entry matching the data packet is found, then forwards the data packet according to the forwarding table entry, and ...

Embodiment 3

[0178] The embodiment of the present invention provides a method for sending data packets.

[0179] Such as diagram 2-1 As shown, the SDN network is composed of multiple controllers and multiple switches and other devices. When the switch receives a data packet and searches for the forwarding table entry of the forwarding table according to the header information of the data packet, but does not find a forwarding table entry matching the header information of the data packet, the switch can pass the method to send the packet. For ease of description, the switch is referred to as the first switch in this embodiment of the present invention.

[0180] see image 3 , the method includes:

[0181] Steps 301 and 302: the operation is the same as that of steps 201 and 202, and will not be repeated here;

[0182] Wherein, after the first switch sends a policy request message to each controller through the above step 302, for any controller in each controller in the SDN network, ...

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

A method and device for sending data packets belong to the field of communications. The method includes: when there is no forwarding table entry matching the header information of the data packet in the forwarding table of the first switch, sending a policy request message carrying the header information of the data packet to each controller, so that each controller Calculate a forwarding path (101) for the data packet; receive a policy response message sent by each controller, the policy response message includes a forwarding path (102); select a forwarding path (103) from the received forwarding paths; set a second forwarding path After receiving the data packet, the switch uses the selected forwarding path to forward the data packet, and the second switch is any switch other than the first switch on the selected forwarding path (104); forwards the data packet according to the selected forwarding path (105) ). The apparatus includes: a first sending module (601), and a receiving module (602). A selection module (603), a setup module (604), and a forwarding module (605). The method and device will not form a loop when forwarding data packets, and can ensure that the data packets are sent successfully.

Description

technical field [0001] The invention relates to the field of communications, in particular to a method and device for sending data packets. Background technique [0002] An SDN (Software Defined Network, software-defined network) network consists of multiple controllers, multiple switches and other devices. When the switch received the data packet, the switch searched the forwarding table item included in the forwarding table according to the header information of the data packet, which contained the required address information for sending the data packet, at least including the required source IP ( Internet Protocol Address, Internet Protocol) address, destination IP address, MAC (MediaAccess Control, Media Access Control) address of the source device, MAC address of the destination device, VLAN (VirtualLocal Area Network, virtual local area network) identification and destination corresponding to the source device One or more of the VLAN IDs corresponding to the device. ...

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): H04L12/701H04L45/02H04L45/42
CPCH04L45/64H04L45/42H04L45/12H04L45/036H04L45/02H04L45/72
Inventor 王蛟赵秀楚
Owner HUAWEI TECH CO LTD