Method and Device for Transmitting Network Packet

US2016173384A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2016173384-A1
Application numberUS-201615053392-A
CountryUS
Kind codeA1
Filing dateFeb 25, 2016
Priority dateNov 25, 2013
Publication dateJun 16, 2016
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method and a network device for transmitting a network packet. Priorities of services are differentiated, and service load sharing is performed on multiple ports according to a priority of a service and the service quality of different services is improved and user experience satisfaction is enhanced. The network device first acquires the network packet and the priority of the network packet, and sends the network packet through a network interface corresponding to the priority of the network packet, and when receiving the network packet sent by the network device, a switching device records a source port number, a source Internet Protocol (IP), a destination port number, and a destination IP of the network packet received on each physical port, and finds a physical port corresponding to a to-be-sent network packet from a record of the switching device, and sends the network packet through the physical port.

First claim

Opening claim text (preview).

What is claimed is: 1 . A method for transmitting a network packet, comprising: acquiring the network packet; acquiring a priority of the network packet according to a service type of the network packet; and sending the network packet through a first network interface corresponding to the priority of the network packet. 2 . The method according to claim 1 , wherein acquiring the priority of the network packet according to the service type of the network packet comprises: identifying the service type of the network packet according to a source port number or a destination port number of the network packet; determining the priority of the network packet according to the service type of the network packet and a preset rule; and setting, for the network packet, a priority mark corresponding to the priority of the network packet. 3 . The method according to claim 2 , wherein setting, for the network packet, the priority mark corresponding to the priority of the network packet comprises setting a differentiated services code point in a type of service (TOS) identifier byte in a datagram of the network packet, wherein a value range that is of a code value of the differentiated services code point and corresponds to a priority is preset, and wherein the value range within which the code value of the differentiated services code point falls determines the priority of the network packet. 4 . The method according to claim 1 , wherein a network interface corresponding to the priority of the network packet is preset, wherein the priority of the network packet comprises at least two priorities, and wherein each priority corresponds to one or more network interfaces, or multiple priorities correspond to one network interface. 5 . The method according to claim 3 , wherein sending the network packet through the first network interface corresponding to the priority of the network packet comprises: identifying the priority of the network packet according to the differentiated services code point in the TOS identifier byte in the datagram of the network packet; and sending the network packet through the first network interface corresponding to the priority of the network packet. 6 . The method according to claim 4 , wherein when the first network interface corresponding to the priority of the network packet is faulty, the method further comprises: sending the network packet through a second network interface when the priority of the network packet further corresponds to the second network interface; and sending the network packet through a third network interface when the priority of the network packet corresponds to only the first network interface or when all network interfaces corresponding to the priority of the network packet are faulty, wherein a priority corresponding to the third network interface is lower than the priority of the network packet. 7 . The method according to claim 4 , wherein when the first network interface corresponding to the priority of the network packet is faulty and the priority of the network packet is a lowest priority, the method further comprises: sending the network packet through a fourth network interface when the priority of the network packet further corresponds to the fourth network interface; and sending the network packet through a fifth network interface when the priority of the network packet corresponds to only the first network interface or all network interfaces corresponding to the priority of the network packet are faulty, and wherein a priority corresponding to the fifth network interface is higher than the priority of the network packet. 8 . A method for transmitting a network packet, comprising: recording a source port number, a source Internet Protocol (IP), a destination port number, and a destination IP of a network packet received on each physical port; finding, according to a source IP of a to-be-sent network packet or a destination IP of the to-be-sent network packet, a link aggregation group that is used to send the to-be-sent network packet, wherein the link aggregation group is a group of physical ports that are connected to a same network device; comparing a source port number of the to-be-sent network packet and a destination port number of the to-be-sent network packet with recorded source port numbers and destination port numbers of network packets received on all physical ports in the link aggregation group to find a physical port corresponding to the to-be-sent network packet; and sending the to-be-sent network packet through the corresponding physical port. 9 . The method according to claim 8 , wherein comparing the source port number of the to-be-sent network packet and the destination port number of the to-be-sent network packet with recorded source port numbers and destination port numbers of network packets received on all physical ports in the link aggregation group to find the physical port corresponding to the to-be-sent network packet comprises: comparing the source port number of the to-be-sent network packet and the destination port number of the to-be-sent network packet with the recorded source port numbers and destination port numbers of the network packets received on all the physical ports in the link aggregation group; and using the physical port that receives the network packet as the physical port corresponding to the to-be-sent network packet when the source port number of the to-be-sent network packet is same as the destination port number of the received network packet or the destination port number of the to-be-sent network packet is same as the source port number of the received network packet. 10 . The method according to claim 8 , wherein when the physical port corresponding to the to-be-sent network packet cannot be found, the method further comprises selecting any available physical port from the link aggregation group to send the to-be-sent network packet. 11 . A network device, comprising: a processor; and a memory coupled to the processor, wherein the memory is configured to store a plurality of instructions, and wherein the instructions cause the processor to: acquire a network packet; acquire a priority of the network packet according to a service type of the network packet; and send the network packet through a first network interface corresponding to the priority of the network packet. 12 . The network device according to claim 11 , wherein the instructions further cause the processor to: identify the service type of the network packet according to a source port number of the network packet or a destination port number of the network packet; determine the priority of the network packet according to the service type of the network packet and a preset rule; and set, for the network packet, a priority mark corresponding to the priority of the network packet. 13 . The network device according to claim 12 , wherein the instructions further cause the processor to set a differentiated services code point in a type of service (TOS) identifier byte in a datagram of the network packet, wherein a value range that is of a code value of the differentiated services code point and corresponds to a priority is preset, and wherein the value range within which the code value of the differentiated services code point falls determines the priority of the network packet. 14 . The network device according to claim 11 , wherein a network interface corresponding to the priority of the network packet is preset, wherein the priority of the network packet comprises at least two priorities, and wherein each priority correspond

Assignees

Inventors

Classifications

  • H04L47/125Primary

    by balancing the load, e.g. traffic engineering · CPC title

  • Electricity · mapped topic

  • Parsing or analysis of headers · CPC title

  • Internet protocol [IP] addresses · CPC title

  • Hybrid transport · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2016173384A1 cover?
A method and a network device for transmitting a network packet. Priorities of services are differentiated, and service load sharing is performed on multiple ports according to a priority of a service and the service quality of different services is improved and user experience satisfaction is enhanced. The network device first acquires the network packet and the priority of the network packet,…
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L47/125. Mapped technology areas include Electricity.
When was this patent published?
Publication date Thu Jun 16 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).