Uplink data packet forwarding method and device, downlink data packet forwarding method and device

A forwarding method and forwarding device technology, applied in the field of communication, can solve problems such as low forwarding efficiency and cumbersome data forwarding configuration, and achieve the effect of improving forwarding efficiency

CN105429901BActive Publication Date: 2018-09-28湖州丰源农业装备制造有限公司
5 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2018-09-28

Smart Images

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

Abstract

The present invention provides an uplink data packet forwarding method and device, a downlink data packet forwarding method and a device of the present invention, the kernel network interface is provided with an interface attribute, the interface attribute includes an interface name and an interface type, and the interface type includes a local area network interface and a wide area network interface; When the interface type is a LAN interface, the kernel network interface is also provided with an interface label, and the interface label includes an interface name and an interface number; the uplink data packet forwarding method includes: the kernel network interface whose interface type is a LAN interface receives a packet to be forwarded; The interface number of the interface determines whether the state of the receiving interface is bound; if so, add the interface mark of the kernel network interface in the data packet to be forwarded, and forward the data packet to be forwarded after adding the interface mark to the interface type of the WAN interface Kernel network interface. The forwarding process of the uplink or downlink data packet forwarding method is simple, the forwarding is accurate, and the efficiency is high.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of communication, in particular to an uplink data packet forwarding method and device, and a downlink data packet forwarding method and device. Background technique

[0002] The rapid development of Internet network traffic, scale and application poses a major challenge to the design of Internet core routers. With the increasing bandwidth of optical fiber transmission and the number of hosts connected to the network, the switching capacity and port density of routers are difficult to meet the increasing demands of network traffic. With the rapid expansion of the network scale, the forwarding capability of routers is difficult to adapt to the exponential growth of FIB (Forward Information Base, Forwarding Information Base) capacity. With the development of IPv6, QoS (Quality of Service, quality of service), multicast, security and other applications, the packet processing capability of routers is dif...

Examples

Embodiment Construction

[0054] Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation modes, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, in the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.

[0055] It should be noted that the diagrams provided in the following embodiments are only schematically illustrating the basic ideas of the present invention, and only the components related to the present invention are shown in the diagrams rather than the number, shape and shape of the compo...