CN106850261B - Network device and data transmission method - Google Patents

Network device and data transmission method Download PDF

Info

Publication number
CN106850261B
CN106850261B CN201611219344.7A CN201611219344A CN106850261B CN 106850261 B CN106850261 B CN 106850261B CN 201611219344 A CN201611219344 A CN 201611219344A CN 106850261 B CN106850261 B CN 106850261B
Authority
CN
China
Prior art keywords
board
lpu
data
network
port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611219344.7A
Other languages
Chinese (zh)
Other versions
CN106850261A (en
Inventor
李科
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Huawei Digital Technologies Co Ltd
Original Assignee
Beijing Huawei Digital Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Huawei Digital Technologies Co Ltd filed Critical Beijing Huawei Digital Technologies Co Ltd
Priority to CN201611219344.7A priority Critical patent/CN106850261B/en
Publication of CN106850261A publication Critical patent/CN106850261A/en
Application granted granted Critical
Publication of CN106850261B publication Critical patent/CN106850261B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance or administration or management of packet switching networks
    • H04L41/06Arrangements for maintenance or administration or management of packet switching networks involving management of faults or events or alarms
    • H04L41/0654Network fault recovery
    • H04L41/0659Network fault recovery by isolating the faulty entity
    • H04L41/0663Network fault recovery by isolating the faulty entity involving offline failover planning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic regulation in packet switching networks
    • H04L47/10Flow control or congestion control
    • H04L47/12Congestion avoidance or recovery
    • H04L47/125Load balancing, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/40Physical details, e.g. power supply, mechanical construction or backplane
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Error prevention, detection or correction
    • H04L49/552Error prevention, e.g. sequence integrity of packets redundant connections through the switch fabric
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Error prevention, detection or correction
    • H04L49/557Error correction, e.g. fault recovery or fault tolerance

Abstract

The embodiment of the invention provides network equipment and a data transmission method. The network equipment comprises a main control board, a switching network board and a line interface processing unit LPU single board; the port used for inputting data and/or outputting data on the LPU single board is connected with the exchange network board through a direct connection channel; the main control board is connected with the LPU single board and the switching network board, and is used for controlling and inputting data on the LPU single board under the condition that a network processor NP of the LPU single board fails, and transmitting the data to the switching network board through a direct connection channel between a port for inputting the data and the switching network board, so that network equipment can transmit the data to the switching network board for data transmission processing.

Description

Network device and data transmission method
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network device and a data transmission method.
Background
With the development of cloud computing, big data, mobile internet and internet of things, higher requirements are put forward on the reliability and effectiveness of data processing of network equipment.
Generally, a network device includes a Switch Fabric Unit (SFU) and a plurality of Line interface processing units (LPU) boards, and a plurality of LPU boards perform data transmission through the SFU. The LPU board includes a Network Processor (NP) for controlling data transmission and a plurality of ports for inputting and/or outputting data. For example, in fig. 1, data is input through a port 1 on the LPU1, is transmitted to the SFU through the NP1 of the LPU1, is transmitted to the LPU2 through processing of the SFU, is transmitted to a port 2 on the LPU2 through the NP2 of the LPU2, and is output through the port 2.
As can be seen from the above description, if an NP on the LPU board fails, the network device cannot perform data transmission processing.
Disclosure of Invention
The embodiment of the invention provides network equipment and data transmission, so that the network equipment can transmit data to a switching network board for data transmission processing under the condition of NP failure on an LPU single board.
In a first aspect, a network device is provided, where the network device includes a main control board, a switch board, and an LPU board. The LPU single board comprises a port for inputting data and/or outputting data and a network processor NP for controlling data transmission. The port used for inputting data and/or outputting data on the LPU single board is connected with the exchange network board through a direct connection channel. The main control board is connected with the LPU single board and the switching network board, and is used for controlling data input on the LPU single board under the condition that NP of the LPU single board fails, and transmitting the data to the switching network board through a direct connection channel between a port for inputting the data and the switching network board, so that network equipment can transmit the data to the switching network board for data transmission processing.
The number of the LPU boards is at least two, and each LPU board includes at least one port for inputting and/or outputting data.
In one possible design, the LPU board includes a first LPU board and a second LPU board. The first NP of the first LPU board stores a flow entry in the second NP of the second LPU board. The second NP of the second LPU board stores a flow entry in the first NP of the first LPU board.
The main control board is specifically configured to, in the event of a failure of a first NP of a first LPU board, control data input to the first LPU board, transmit the data to the switching network board via a direct connection channel between a port through which the data is input and the switching network board, and control the switching network board to transmit the data to a second NP of a second LPU board. And the second LPU single board transmits the data and the flow table item matched with the data to the switch network board through the second NP. And the switching network board forwards the data according to the flow table item matched with the data. By the embodiment, the data input to the fault LPU single board can be transmitted based on the flow table entry stored in the NP.
If the port for outputting the data is determined to be the port of the first LPU board according to the flow table entry matched with the data, the switching network board outputs the data to the port for outputting the data on the first LPU board through a direct connection channel between the switching network board and the port for outputting the data. If the port for outputting the data is determined to be the port of the second LPU board according to the flow table entry matched with the data, the switching network board outputs the data to the port for outputting the data on the second LPU board through a second NP connected with the port for outputting the data on the second LPU board.
In another possible design, the LPU board further includes a third LPU board; the main control board is also used for: if the load of a third NP in a third LPU single board is smaller than the second NP, controlling the third LPU single board to store the flow table entry into the third NP, and controlling the switching network board to transmit the data to the third NP.
Wherein, the main control board is also used for: and controlling the second LPU single board to delete the flow table entry of the first NP stored in the second NP so as to release the storage resource of the second NP and reduce the load of the second LPU single board.
In a second aspect, a data transmission method is provided. In the method, network equipment acquires data to be transmitted. And under the condition that a first NP fault of a first line interface processing unit (LPU) single board for transmitting the data to be transmitted is determined, transmitting the data to be transmitted through a direct connection channel between a port for inputting the data on the first LPU single board and the switching network board, so that the network equipment can perform data transmission processing, transmit the data to the switching network board and perform data transmission processing.
In a possible design, after the network device transmits the data to be transmitted through the direct connection channel between the port of the failed LPU board, where the data is input, and the switch board, the network device transmits the data to be transmitted to the second NP of the second LPU board, so that the data input to the failed LPU board can be transmitted based on the flow table entry stored in the NP. Wherein, the second NP of the second LPU board stores the flow entry in the first NP of the first LPU board.
In another possible design, after the network device transmits the data to be transmitted through a direct connection channel between the port of the first LPU board, where the data is input, and the switch fabric, if it is determined that a load of a third NP in a third LPU board is smaller than a load of the second NP, a flow entry in the first NP of the first LPU board is stored in the third NP of the third LPU board. And the network equipment transmits the data to be transmitted to a third NP in the third LPU single board so as to balance the load among the LPU single boards.
In yet another possible design, the network device may delete a flow entry in the first NP of the first LPU board stored in the second NP of the second LPU board, so as to release the storage resource of the second NP and reduce the load of the second LPU board.
In a third aspect, a data transmission apparatus is provided, which has all the functions of implementing the load balancing processing method. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions. The modules may be software and/or hardware.
In a possible design, the data transmission device includes a receiving unit and a processing unit, and the functions of the receiving unit and the processing unit may correspond to the steps of each method, which are not described herein again.
In the network device and the data transmission method provided by the embodiment of the invention, the port used for inputting and/or outputting data on the LPU single board in the network device is connected with the switching network board through the direct connection channel, so that if the NP on the LPU single board fails, the data on the failed LPU single board is input and can be transmitted to the switching network board through the direct connection channel between the port for inputting the data and the switching network board, and the network device can transmit the data to the switching network board for data transmission processing.
Drawings
FIG. 1 is a diagram of a network device transmitting data via an NP;
fig. 2 is a schematic structural diagram of a networking architecture according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a network device according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a data transmission path in a network device according to an embodiment of the present invention;
fig. 5 is another schematic diagram of a data transmission path in a network device according to an embodiment of the present invention;
fig. 6 is a further schematic diagram of a data transmission path in a network device according to an embodiment of the present invention;
fig. 7 is a flowchart of a data transmission method according to an embodiment of the present invention;
fig. 8 is a flowchart of another data transmission method according to an embodiment of the present invention;
fig. 9 is a flowchart of another data transmission method according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 2 is a schematic structural diagram of a networking architecture according to an embodiment of the present invention. Referring to fig. 2, the networking architecture includes data transmission devices 110a and 110b, a backbone network 120, a Broadband Remote Access Server (BRAS) 130, and data reception devices 140a, 140b, and 140 c. The backbone network 120 may include a plurality of network devices for data transmission. The plurality of network devices includes router 120a, router 120b, router 120c, and router 120 d.
Each data transmitting device in fig. 2 may communicate with each data receiving device. The data sending device 110a transmits the data packet to the BRAS 130 through network devices in the backbone network 120, such as the router 120a, the router 120b, the router 120c, and the router 120 d. The BRAS 130 forwards the data to the data receiving device 140 a.
In fig. 2, when network devices such as the router 120a, the router 120b, the router 120c, and the router 120d included in the backbone network 120 perform data transmission, there is a technical problem that "if an NP on an LPU board fails, the network devices cannot perform data transmission processing" mentioned in the background section.
The embodiment of the invention provides network equipment, wherein a port used for inputting data and/or outputting data on an LPU single board in the network equipment is connected with a switching network board through a direct connection channel, so that if NP on the LPU single board fails, the network equipment can control the data input on the failed LPU single board and transmit the data to the switching network board through the direct connection channel between the port for inputting the data and the switching network board, and the network equipment can transmit the data to the switching network board for data transmission processing.
Fig. 3 is a schematic structural diagram of the network device 100 according to an embodiment of the present invention. Referring to fig. 3, the network device 100 includes a main control board 101, a switch board 102, and an LPU board 103. The LPU board 103 includes a port 1031 for inputting and/or outputting data and a network processor NP1032 for controlling data transmission. The port 1031 on the LPU board 103 for inputting and/or outputting data is connected to the switch board 102 through a direct connection channel 104. The main control board 101 is connected to the LPU board 103 and the switch network board 102, and configured to control data input to the LPU board 103 and transmit the data to the switch network board 102 through a direct connection channel 104 between a port 1031 for inputting the data and the switch network board 102 when an NP1032 of the LPU board 103 fails.
In this embodiment of the present invention, the number of the LPU boards 103 included in the network device 100 is at least two, and each LPU board 103 includes at least one port 1031 for inputting data and/or outputting data. Each port 1031 for inputting and/or outputting data in each LPU board 103 is connected to the switch board through a direct connection channel 104. When the NP of the LPU board 103 fails, the data input to the failed LPU board 103 is transmitted to the switch board 102 through the direct connection channel 104 between the port 1031 to which the data is input and the switch board 102.
Each LPU board 103 further includes a network processor NP1032 for controlling data transmission, where the NP1032 stores a flow entry for controlling data transmission. Under the condition that the NP1032 is in a normal operating state, each port 1031 for inputting and/or outputting data in each LPU board 103 may communicate with the NP1032, and data may be transmitted to the switch board 102 through the NP1032 via the port 1031.
It should be noted that, in fig. 3, a direct connection channel 104 is respectively established between each port 1031 used for inputting data and/or outputting data in the LPU board 103 and the switch board 102 for schematic illustration, in an actual implementation process, it is not limited to respectively establishing the direct connection channel 104 between each port 1031 and the switch board 102, for example, a plurality of ports 1031 capable of communicating with the NP1032 may be connected to the switch board 102 through one direct connection channel 104.
In the network device provided by the embodiment of the present invention, the port on the LPU board for inputting and/or outputting data is connected to the switching network board through the direct connection channel, so that if an NP on the LPU board fails, the network device can control to input data on the failed LPU board, and transmit the data to the switching network board through the direct connection channel between the port for inputting the data and the switching network board, so that the network device can transmit the data to the switching network board for data transmission processing. In addition, in the embodiment of the present invention, under the condition of NP failure on the LPU board, ports on other LPU boards are not occupied, so that the number of available ports is sufficient.
In the embodiment of the present invention, in order to enable data input to a failed LPU board to be transmitted based on a flow table entry stored in an NP, a backup LPU board may be set for each LPU board, a flow table entry stored in an NP in another LPU board is stored by the backup LPU board, in case of NP failure of an LPU board, a main control board may control data input to the failed LPU board, and transmit the data to a switch web via a direct connection channel between a port inputting the data and the switch web, and control the switch web to transmit the data to the NP of the backup LPU board of the failed LPU board, and then the backup LPU board of the failed LPU board transmits the data and the flow table entry matched with the data to the switch web via the NP of the backup LPU board; and the switching network board forwards the data according to the flow table item matched with the data.
In the following, the LPU boards in the network device include a first LPU board and a second LPU board as an example for description. The second NP of the second LPU board stores a flow entry in the first NP of the first LPU board. The first NP of the first LPU board stores a flow entry in the second NP of the second LPU board.
Under the condition that a first NP of a first LPU single board fails, the main control board controls data input to the first LPU single board to be transmitted to the switching network board through a direct connection channel between a port for inputting the data and the switching network board, and controls the switching network board to transmit the data to a second NP of a second LPU single board. And the second LPU single board transmits the data and the flow table item matched with the data to the switch network board through the second NP. And the switching network board forwards the data according to the flow table item matched with the data.
Under the condition that a second NP of the second LPU single board fails, the main control board controls data input to the second LPU single board to be transmitted to the switching network board through a direct connection channel between a port for inputting the data and the switching network board, and controls the switching network board to transmit the data to a first NP of the first LPU single board. And the first LPU single board transmits the data and the flow table item matched with the data to the switch network board through the first NP. And the switching network board forwards the data according to the flow table item matched with the data.
Fig. 4 schematically illustrates a data transmission process performed by an NP (first NP) of a backup LPU board (first LPU board) by taking a second NP failure of the second LPU board as an example. For the case of a failure of the first NP of the first LPU board, the data transmission process performed by the second NP of the second LPU board is similar, and is not described herein again.
In the embodiment of the present invention, in the process of forwarding the data by the switch board according to the flow table entry matched with the data, a port for outputting the data can be determined according to the flow table entry matched with the data. And if the port for outputting the data is determined to be the port of the failed LPU single board according to the flow table item matched with the data, the switching network board outputs the data to the port for outputting the data on the failed LPU single board through a direct connection channel between the switching network board and the port for outputting the data. And if the port for outputting the data is determined to be the port of the backup LPU single board of the failed LPU single board according to the flow table entry matched with the data, outputting the data to the port for outputting the data on the backup LPU single board of the failed LPU single board through the NP of the backup LPU single board of the failed LPU single board.
Under the condition that a first NP of a first LPU single board fails, if the port for outputting the data is determined to be the port of the first LPU single board according to the flow table item matched with the data, the switching network board outputs the data to the port for outputting the data on the first LPU single board through a direct connection channel between the switching network board and the port for outputting the data. If the port for outputting the data is determined to be the port of the second LPU board according to the flow table entry matched with the data, the switching network board outputs the data to the port for outputting the data on the second LPU board through a second NP connected with the port for outputting the data on the second LPU board.
Under the condition that a second NP of a second LPU single board fails, if the port for outputting the data is determined to be the port of the second LPU single board according to the flow table item matched with the data, the switching network board outputs the data to the port for outputting the data on the second LPU single board through a direct connection channel between the switching network board and the port for outputting the data. If the port for outputting the data is determined to be the port of the first LPU board according to the flow table entry matched with the data, the switching network board outputs the data to the port for outputting the data on the first LPU board through the first NP connected with the port for outputting the data on the first LPU board.
Fig. 5 illustrates a process of forwarding the data by the switch board according to the flow table entry matched with the data, by taking a second NP failure of the second LPU board as an example. In fig. 5, when the second NP of the second LPU board fails, the network device determines, according to the flow table entry matched with the data, that the port outputting the data is the port of the second LPU board, and then the switch network board outputs the data to the port outputting the data on the second LPU board through a direct connection channel between the switch network board and the port outputting the data.
In the embodiment of the present invention, by setting a backup LPU board for each LPU board in the network device, processing of data transmission based on a flow table entry in the NP can be implemented when any LPU board fails.
In the embodiment of the present invention, in the event of an NP failure of an LPU board, a main control board controls data input to the failed LPU board, and transmits the data to an exchange network board via a direct connection channel between a port for inputting the data and the exchange network board, and controls the exchange network board to transmit the data to an NP of a backup LPU board of the failed LPU board, and performs data transmission processing by the backup LPU board of the failed LPU board. In order to balance the load among the LPU boards, the main control board of the network device may determine the load condition of each LPU board before controlling the switching network board to transmit the data to the NP of the backup LPU board of the LPU board having the fault, and if it is determined that an LPU board having a load smaller than the load of the backup LPU board of the LPU board having the fault exists in the LPU boards of the network device, may control the LPU board having the load smaller than the load of the backup LPU board of the LPU board having the fault to store the flow table entry in the NP of the LPU board having the load smaller than the load of the backup LPU board of the LPU board having the fault, and control the switching network board to transmit the data of the LPU board having the fault to the NP of the LPU board having the load smaller than the load of the backup LPU board of the LPU board having the fault.
In the embodiment of the present invention, after the main control board controls the switching network board to transmit the data of the failed LPU board to the NP of the LPU board whose load is smaller than the load of the backup LPU board of the failed LPU board, the backup LPU board of the failed LPU board may control the backup LPU board to delete the flow table entry in the NP of the failed LPU board stored in the NP of the backup LPU board of the failed LPU board, so as to release the storage resource of the second NP and reduce the load of the second LPU board.
In the embodiment of the present invention, an example in which an LPU board includes a first LPU board, a second LPU board, and a third LPU board is described.
It is assumed that, when a first NP of a first LPU board fails, a second NP of a second LPU board stores a flow entry in the first NP of the first LPU board. If the main control board determines that the load of a third NP in a third LPU board is smaller than the second NP, the main control board controls the third LPU board to store the flow entry in the third NP, and controls the switch network board to transmit the data to the third NP, where a schematic diagram of a data transmission path is shown in fig. 6.
In this embodiment of the present invention, the main control board of the network device may further control the second LPU board to delete the flow entry of the first NP stored in the second NP.
Based on the network device provided by the above embodiment, an embodiment of the present invention provides a data transmission method.
Fig. 7 is a schematic flow chart illustrating a data transmission method according to an embodiment of the present invention. As shown in fig. 7, includes:
s101: the network equipment acquires data to be transmitted.
In the embodiment of the present invention, the network device may be obtained through a port for inputting data on the first LPU board.
S102: and the network equipment determines that the first NP of the first LPU single board transmitting the data to be transmitted fails.
S103: and the network equipment transmits the data to be transmitted through a direct connection channel between the port for inputting the data on the first LPU single board with the fault and the exchange network board.
In the data transmission method provided in the embodiment of the present invention, when a first NP on a first LPU board transmitting data to be transmitted fails, the data to be transmitted may be transmitted through a direct connection channel between a port of the first LPU board inputting the data and an exchange network board, so that a network device can perform data transmission processing, and can transmit the data to the exchange network board for data transmission processing.
Fig. 8 is a flowchart illustrating another data transmission method according to an embodiment of the present invention. The data transmission method shown in fig. 8 further includes the following steps based on the transmission method shown in fig. 7:
s104: and the network equipment transmits the data to be transmitted to a second NP of a second LPU single board. Wherein, the second NP of the second LPU board stores the flow entry in the first NP of the first LPU board.
In the embodiment of the present invention, by transmitting the data to be transmitted to the second NP of the second LPU board, the data input to the failed LPU board can be transmitted based on the flow table entry stored in the NP.
Fig. 9 is a flowchart illustrating another data transmission method according to an embodiment of the present invention. The data transmission method shown in fig. 9 further includes the following steps based on the transmission method shown in fig. 7:
s104: determining whether the load of a third NP in the third LPU board is less than the load of a second NP in the second LPU board.
S105: if it is determined that the load of a third NP in a third LPU board is smaller than the load of the second NP, saving a flow entry in a first NP of the first LPU board in the third NP of the third LPU board, and transmitting the data to be transmitted to the third NP of the third LPU board.
S106: and if the load of a third NP in a third LPU single board is smaller than that of the second NP, transmitting the data to be transmitted to the second NP of the second LPU single board. Wherein, the second NP of the second LPU board stores the flow entry in the first NP of the first LPU board.
In the embodiment of the present invention, when it is determined that the load of a third NP in a third LPU board is smaller than the load of the second NP, the stream entry in the first NP of the first LPU board is stored in the third NP of the third LPU board, and the to-be-transmitted data is transmitted to the third NP of the third LPU board, so that the load of the second LPU board can be reduced, and the loads of the LPU boards are balanced.
Based on the data transmission method provided above, the embodiment of the present invention further provides a data transmission device. It is understood that the data transmission device includes hardware structures and/or software modules for performing the respective functions in order to realize the functions. The elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein may be embodied in hardware or in a combination of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present teachings.
The embodiment of the present invention may perform the division of the functional units on the data transmission device according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In the case of an integrated unit, fig. 10 shows a schematic configuration of a data transmission device. Referring to fig. 10, the data transmission apparatus 1000 includes an obtaining unit 1001 and a processing unit 1002, where the obtaining unit 1001 is configured to obtain data to be transmitted. The processing unit 1002 is configured to transmit the data to be transmitted through a direct connection channel between a port on the first LPU board, where the data is input, and the switch screen board when it is determined that the first NP of the first LPU board transmitting the data to be transmitted, which is acquired by the acquiring unit 1001, fails.
In a possible implementation manner, the processing unit 1002 is further configured to transmit the data to be transmitted to a second NP of a second LPU board after the data to be transmitted is transmitted through a direct connection channel between a port of the failed LPU board, where the data is input, and the switch board. Wherein, the second NP of the second LPU board stores the flow entry in the first NP of the first LPU board.
In another possible implementation, after the data to be transmitted is transmitted through a direct channel between the port on the first LPU board, where the data is input, and the switch board, if it is determined that a load of a third NP in a third LPU board is smaller than a load of the second NP, the processing unit 1002 is further configured to store a flow entry in the first NP of the first LPU board in the third NP of the third LPU board, and transmit the data to be transmitted to the third NP of the third LPU board.
In the case of being implemented in hardware, the data transmission apparatus 1000 may be the network device mentioned in the above embodiments.
It should be noted that the data transmission apparatus 1000 provided in the embodiment of the present invention has the functions of the network device related in the foregoing embodiments, and the functions of the processing unit 1002 may correspond to the functions of the main control board in the network device, and details that are not detailed enough for the description of the embodiment of the present invention are not repeated here, and refer to the related description of the foregoing embodiment, and the description of the embodiment of the present invention is not repeated here.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A network device is characterized by comprising a main control board, a switching network board and a line interface processing unit (LPU) single board;
the port used for inputting data on the LPU single board is connected with the exchange network board through a direct connection channel;
the main control board is connected with the LPU single board and the switching network board, and is used for controlling and inputting data on the LPU single board under the condition that a network processor NP of the LPU single board fails, and transmitting the data to the switching network board through a direct connection channel between a port for inputting the data and the switching network board.
2. The network device of claim 1, wherein the LPU board comprises a first LPU board and a second LPU board;
a second NP of the second LPU board stores a flow entry in a first NP of the first LPU board;
the main control board is specifically configured to, in the event of a failure of a first NP of a first LPU board, control data input to the first LPU board, transmit the data to the switching network board via a direct connection channel between a port through which the data is input and the switching network board, and control the switching network board to transmit the data to a second NP of a second LPU board;
the second LPU board transmits the data and the flow table entry matched with the data to the switch network board through the second NP;
the switching network board is also used for forwarding the data according to the flow table item matched with the data.
3. The network device according to claim 2, wherein a port on the LPU board for outputting data is connected to the switch board through a direct connection channel;
when the switch web board forwards the data according to the flow table entry matched with the data, the switch web board is specifically configured to:
if the port for outputting the data is determined to be the port of the first LPU single board according to the flow table item matched with the data, the switching network board outputs the data to the port for outputting the data on the first LPU single board through a direct connection channel between the switching network board and the port for outputting the data.
4. The network device of claim 2, wherein when the switch board forwards the data according to the flow table entry matched with the data, the switch board is specifically configured to:
if the port for outputting the data is determined to be the port of the second LPU board according to the flow table entry matched with the data, the switching network board outputs the data to the port for outputting the data on the second LPU board through a second NP connected with the port for outputting the data on the second LPU board.
5. The network device according to any one of claims 2 to 4, wherein the LPU single board further comprises a third LPU single board;
the main control board is also used for:
if the load of a third NP in a third LPU single board is smaller than the second NP, controlling the third LPU single board to store the flow table entry into the third NP, and controlling the switching network board to transmit the data to the third NP.
6. The network device of claim 5, wherein the master board is further to:
and controlling the second LPU single board to delete the flow table entry of the first NP stored in the second NP.
7. The network device of claim 2, wherein a first NP of the first LPU board stores a flow entry in a second NP of the second LPU board.
8. A method of data transmission, comprising:
the network equipment acquires data to be transmitted;
the network equipment determines that a first network processor NP of a first line interface processing unit (LPU) single board for transmitting the data to be transmitted has a fault;
and the network equipment transmits the data to be transmitted through a direct connection channel between the port for inputting the data on the first LPU single board and the exchange network board.
9. The method according to claim 8, wherein after the network device transmits the data to be transmitted through a direct channel between a port of the failed LPU board, where the data is input, and a switch board, the method further includes:
the network equipment transmits the data to be transmitted to a second NP of a second LPU single board;
wherein, the second NP of the second LPU board stores the flow entry in the first NP of the first LPU board.
10. The method of claim 9, wherein after the network device transmits the data to be transmitted through a direct channel between a port on the first LPU board, where the data is input, and a switch board, the method further includes:
if it is determined that the load of a third NP in a third LPU single board is smaller than the load of the second NP, saving a flow entry in a first NP of the first LPU single board in the third NP of the third LPU single board;
and the network equipment transmits the data to be transmitted to a third NP in the third LPU single board.
CN201611219344.7A 2016-12-26 2016-12-26 Network device and data transmission method Active CN106850261B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611219344.7A CN106850261B (en) 2016-12-26 2016-12-26 Network device and data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611219344.7A CN106850261B (en) 2016-12-26 2016-12-26 Network device and data transmission method

Publications (2)

Publication Number Publication Date
CN106850261A CN106850261A (en) 2017-06-13
CN106850261B true CN106850261B (en) 2020-09-18

Family

ID=59135703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611219344.7A Active CN106850261B (en) 2016-12-26 2016-12-26 Network device and data transmission method

Country Status (1)

Country Link
CN (1) CN106850261B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108712293A (en) * 2018-05-30 2018-10-26 新华三技术有限公司 Board managing method and the network equipment
CN109245985B (en) * 2018-08-24 2020-12-29 烽火通信科技股份有限公司 Communication method and system between single disks in equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004287811A (en) * 2003-03-20 2004-10-14 Fujitsu Ltd Data processing circuit
CN101848154B (en) * 2010-05-17 2012-04-04 华为技术有限公司 System based on advanced telecom computation architecture
CN102143014A (en) * 2010-11-03 2011-08-03 华为数字技术有限公司 Single board failure detection method, single board and router

Also Published As

Publication number Publication date
CN106850261A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
US20180103091A1 (en) Apparatus and method for configuring service function path of service function chain based on software defined network
EP2961112B1 (en) Message forwarding system, method and device
CN106850261B (en) Network device and data transmission method
CN103973560A (en) Device and method for fault treatment of stack links in IRF (intelligent resilient framework) system
US8279762B2 (en) Interface switching method and device
US11095476B2 (en) Spanning tree protocol enabled n-node link aggregation system
CN103532863A (en) Method and device for realizing software stacking
KR101946173B1 (en) Communication device, communication system and communication method
CN106664214B (en) Fault recovery method and device for virtual network
US10826847B2 (en) Port auto-negotiation method and device
CN104394012B (en) Cluster routers, MPU and its failure determination method, sensing controller
CN104639437A (en) Forwarding method and apparatus of broadcast messages in stack system
CN107948063B (en) Method for establishing aggregation link and access equipment
JP5527613B2 (en) Network relay system and failure detection method for network relay system
CN108255139A (en) For the method for the radio communications system and its operation of industrial automation system
CN105634694A (en) Method and system for data transmission between nodes
US9585032B2 (en) Method and arrangement for providing data plane redundancy
US9209928B2 (en) Transmission device and transmission method
JP2014036240A (en) Controller, control method and program, and system and information processing method
CN108667640B (en) Communication method and device, and network access system
CN104394075A (en) Message transmission method and equipment
CN103997422A (en) Fault processing method and device for IP interface board
US10764939B2 (en) Network function processing method and related device
JP6098212B2 (en) How to build a multicast tree
CN104219126A (en) Automatic learning method and equipment for subring protocol VLAN (virtual local area network) in virtual channel mode

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant