CN111030937A - Message forwarding method, device and storage medium - Google Patents

Message forwarding method, device and storage medium Download PDF

Info

Publication number
CN111030937A
CN111030937A CN201911297586.1A CN201911297586A CN111030937A CN 111030937 A CN111030937 A CN 111030937A CN 201911297586 A CN201911297586 A CN 201911297586A CN 111030937 A CN111030937 A CN 111030937A
Authority
CN
China
Prior art keywords
service card
interface
message
forwarded
designated area
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.)
Pending
Application number
CN201911297586.1A
Other languages
Chinese (zh)
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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201911297586.1A priority Critical patent/CN111030937A/en
Publication of CN111030937A publication Critical patent/CN111030937A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/11Identifying congestion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/32Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports

Abstract

The application provides a message forwarding method, a message forwarding device and a storage medium. The method is applied to a first service card in forwarding equipment, the forwarding equipment also comprises a second service card, and the method comprises the following steps: receiving a message to be forwarded; determining that the message to be forwarded needs to be forwarded through an interface of the second service card; acquiring the latest state of the interface recorded in a designated area of a memory of the forwarding equipment; and when the latest state is an idle state, the message to be forwarded is forwarded by the interface. When the first service card determines that the message needs to be forwarded by the interface of the second service card, the first service card can directly acquire the latest state of the interface of the second service card from the designated storage area of the memory, so that no time delay exists, and the message can be forwarded based on the current state of the interface. Meanwhile, the cost of accessing the memory is far less than that of sending, receiving and analyzing the protocol message, so the performance of the forwarding equipment is not influenced.

Description

Message forwarding method, device and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for forwarding a packet, and a storage medium.
Background
With the progress of technology, the performance requirements of forwarding devices such as switches are higher and higher, so that multiple service cards can be set in one forwarding device. Multiple traffic cards also means that traffic on the forwarding device may be forwarded across the traffic cards. However, if the interface of the service card needing to cross the card is congested, the traffic cross card will become meaningless through the interface of the service card, which not only increases the overhead of the system, but also reduces the forwarding performance of the forwarding device.
To solve this problem, the current solution is to synchronize the states of the interfaces on the service cards by adding protocol packets. When a message needs to be forwarded across cards, judging the congestion state of the interface of the card across through protocol message interaction, and if the congestion is determined, not forwarding across cards. However, the scheme also has the problem that the mode of adopting the protocol message for interaction has time delay, and the current state of each interface cannot be known. Meanwhile, the sending, receiving and analyzing of the protocol message also increase the overhead of the system and influence the performance of the forwarding equipment.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method, an apparatus, and a storage medium for forwarding a packet, which are used to implement forwarding a packet based on a current state of an interface without affecting performance of a forwarding device.
In a first aspect, an embodiment of the present application provides a method for forwarding a packet, where the method is applied to a first service card in a forwarding device, where the forwarding device further includes a second service card, and the method includes:
receiving a message to be forwarded; determining that the message to be forwarded needs to be forwarded through an interface of the second service card; acquiring the latest state of the interface recorded in a designated area of a memory of the forwarding equipment; and when the latest state is an idle state, the message to be forwarded is forwarded by the interface.
In the embodiment of the application, when the first service card determines that the message needs to be forwarded by the interface of the second service card, the first service card directly obtains the latest state of the interface of the second service card from the designated storage area of the memory, so that no delay exists, and the message is forwarded based on the current state of the interface. Meanwhile, the cost of accessing the memory is far less than that of sending, receiving and analyzing the protocol message, so the performance of the forwarding equipment is not influenced.
With reference to the first aspect, in a first possible implementation manner, the second service card includes a plurality of interfaces, the designated area includes a plurality of sub-areas, a latest state of each interface is recorded in a corresponding sub-area of the plurality of sub-areas, and acquiring the latest state of the interface recorded in the designated area of the memory of the forwarding device includes:
accessing a sub-area corresponding to an interface which needs to forward the message to be forwarded in the plurality of interfaces; acquiring the latest state recorded in the corresponding sub-area.
In the embodiment of the application, since the latest state of each interface is recorded in a corresponding sub-region, the latest state of the interface corresponding to the sub-region can be quickly acquired by accessing a specified sub-region.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, before accessing a sub-area corresponding to an interface, which needs to forward the packet to be forwarded, in the multiple interfaces, the method further includes:
and determining the corresponding sub-region according to the unique interface number of the interface which needs to forward the message to be forwarded.
In the embodiment of the application, each sub-region can be distinguished conveniently through the unique interface number, so that the sub-region needing to be accessed can be found quickly through the unique interface number.
With reference to the first aspect, in a third possible implementation manner, the packet to be forwarded is a packet forwarded through an aggregation group including the interface, and after acquiring a latest state of the interface recorded in a specified area of a memory of the forwarding device, the method further includes:
when the latest state is a congestion state, acquiring the latest state of other interfaces recorded in a designated area corresponding to the other interfaces on the forwarding equipment, wherein the other interfaces are interfaces belonging to the aggregation group; and when the latest state of the other interfaces is an idle state, handing the message to be forwarded to the other interfaces for forwarding.
In the embodiment of the present application, since the interface has only two states, namely, an idle state and a congestion state, whether forwarding through the interface is required can be quickly determined by determining the two states.
With reference to the first aspect, in a fourth possible implementation manner, the method further includes:
and recording the latest state of the interface of the first service card into a designated area corresponding to the first service card in the memory.
In the embodiment of the application, the first service card records the latest state of the interface of the first service card in the designated area corresponding to the first service card in the memory, so that the second service card can access the designated area, and thus the cross-card forwarding based on the first service card is realized.
In a second aspect, an embodiment of the present application provides a method for forwarding a packet, where the method is applied to a master control card in a forwarding device, where the forwarding device further includes a first service card and a second service card, and the method includes:
when detecting that the second service card is powered on and started, allocating a designated area for recording the latest state of an interface of the second service card in a memory of the forwarding equipment;
and sending the address of the designated area in the memory to the first service card, so that the first service card obtains the latest state recorded in the designated area based on the address, and judges whether to forward the received message to be forwarded by the interface based on the latest state.
In the embodiment of the present application, the main control card is used to execute the processing logic of allocating the designated area in the memory, so that the loads of the first service card and the second service card can be reduced, and the first service card and the second service card can be focused on traffic forwarding to implement high-performance forwarding of the forwarding device.
With reference to the second aspect, in a first possible implementation manner, after allocating a designated area for recording the latest state of the interface of the second service card in the memory of the forwarding device, before sending an address of the designated area in the memory to the first service card, the method further includes:
initializing the designated area.
In the embodiment of the application, by initializing the designated area, the interference of other data in the designated area on the latest state of the record can be avoided.
With reference to the second aspect, in a second possible implementation manner, when the address of the designated area in the memory is sent to the first service card, the method further includes:
and sending the access right of the first service card to the designated area to the first service card, wherein the access right is used for indicating that the first service card only has a read right to the designated area.
In the embodiment of the application, since the first service card only has a read right for the designated area, the first service card cannot change data in the designated area, so as to ensure that the latest state of the interface recorded in the designated area is correct.
In a third aspect, an embodiment of the present application provides a packet forwarding apparatus, which is applied to a first service card in a forwarding device, where the forwarding device further includes a second service card, and the apparatus includes:
the message receiving and sending module is used for receiving a message to be forwarded;
the message processing module is used for determining that the message to be forwarded needs to be forwarded through the interface of the second service card; acquiring the latest state of the interface recorded in a designated area of a memory of the forwarding equipment;
the message receiving and sending module is further configured to forward the message to be forwarded to the interface when the latest state is an idle state.
With reference to the third aspect, in a first possible implementation manner, the second service card includes a plurality of interfaces, the designated area includes a plurality of sub-areas, a latest state of each interface is recorded in a corresponding sub-area of the plurality of sub-areas, and the message processing module is configured to access a sub-area corresponding to an interface that needs to forward the message to be forwarded, among the plurality of interfaces; acquiring the latest state recorded in the corresponding sub-area.
With reference to the first possible implementation manner of the third aspect, in a second possible implementation manner, before the message processing module accesses a sub-region corresponding to an interface that needs to forward the message to be forwarded among the plurality of interfaces, the message processing module is further configured to determine the corresponding sub-region according to the unique interface number of the interface that needs to forward the message to be forwarded.
With reference to the third aspect, in a third possible implementation manner, the packet to be forwarded is a packet forwarded through an aggregation group including the interface, and after the packet processing module obtains the latest state of the interface recorded in a specified area of a memory of the forwarding device, when the latest state is a congestion state, the packet processing module is further configured to obtain the latest state of the other interface recorded in a specified area corresponding to the other interface on the forwarding device, where the other interface is an interface belonging to the aggregation group; and when the latest state of the other interfaces is an idle state, handing the message to be forwarded to the other interfaces for forwarding.
With reference to the third aspect, in a fourth possible implementation manner, the message processing module is further configured to record the latest state of the interface of the first service card in the memory, where the latest state is corresponding to the first service card.
In a fourth aspect, an embodiment of the present application provides a packet forwarding apparatus, which is applied to a main control card in a forwarding device, where the forwarding device further includes a first service card and a second service card, and the apparatus includes:
the area allocation module is used for allocating an appointed area for recording the latest state of the interface of the second service card in the memory of the forwarding equipment when the second service card is detected to be powered on and started;
and the address sending module is used for sending the address of the designated area in the memory to the first service card so that the first service card obtains the latest state recorded in the designated area based on the address, and judges whether to forward the received message to be forwarded to the interface based on the latest state.
With reference to the fourth aspect, in a first possible implementation manner, after the area allocation module allocates, in the memory of the forwarding device, a designated area for recording the latest state of the interface of the second service card, before the address sending module sends the address of the designated area in the memory to the first service card, the area allocation module is further configured to initialize the designated area.
With reference to the fourth aspect, in a second possible implementation manner, when the address sending module sends the address of the designated area in the memory to the first service card, the address sending module is further configured to send an access right of the first service card to the designated area to the first service card, where the access right is used to indicate that the first service card only has a read right to the designated area.
In a fifth aspect, an embodiment of the present application provides a forwarding device, where the forwarding device includes a master control card, a first service card, and a second service card;
the main control card is configured to execute the message forwarding method according to the second aspect or any possible implementation manner of the second aspect;
after receiving the message to be forwarded, the first service card is configured to execute the message forwarding method according to the first aspect or any possible implementation manner of the first aspect, so as to forward the message to be forwarded by an interface of the second service card.
In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer-executable nonvolatile program code, where the program code causes the computer to execute the packet forwarding method according to the first aspect, any possible implementation manner of the first aspect, the second aspect, or any possible implementation manner of the second aspect.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a block diagram illustrating a first structure of a forwarding device according to an embodiment of the present application;
fig. 2 is a block diagram of a second structure of a forwarding device according to an embodiment of the present application;
fig. 3 is a flowchart of a message forwarding method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a designated area of a memory in a message forwarding method according to an embodiment of the present application;
fig. 5 is a first structural block diagram of a message forwarding apparatus according to an embodiment of the present application;
fig. 6 is a second structural block diagram of a message forwarding apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Referring to fig. 1, an embodiment of the present application provides a forwarding device 10, where the forwarding device 10 may be a switch, a router, a gateway, and the like, and the forwarding device 10 may include: a Main control card 11 and a plurality of service cards 12, wherein the Main control card 11 is also called as MPU (Main Processor Unit), and the service cards 12 can be called as LPUs (LineProcessor Unit).
In this embodiment, each service card 12 may be connected to the host card 11 through a bus, for example, a PCI-Express (high speed serial computer extended bus) bus, so that data interaction is performed between the host card 11 and each service card 12.
When the forwarding device is powered on, the main control card 11 may allocate an independent designated area to each service card 12 in the memory of the forwarding device, specifically, in the memory 111 of the main control card 11. Then, the master card 11 can inform the service card 12 of the address of the memory area of each service card 12 through the bus. In this way, each service card 12 can store the latest state of each interface thereof in the designated area thereof in real time based on the acquired address. Finally, when each service card 12 receives the message to be forwarded, which needs to be forwarded across cards, each service card 12 can access the designated area of the service card 12, which needs to be forwarded across cards, through the bus, so as to obtain the latest state of the interface, which forwards the message to be forwarded, on the service card 12, which needs to be forwarded across cards. If the latest state of the interface is an idle state, each service card 12 forwards the message to be forwarded to the service card 12 needing to cross the card through the main control card 11; otherwise, if the latest state of the interface is the congestion state, the current cross-card forwarding is not allowed.
It is understood that the assignment of a separate designated area to each service card 12 is only an exemplary manner of the present embodiment and is not intended as a limitation of the present embodiment. For example, the master card 11 may assign a designated area for recording the latest status of all interfaces of all the service cards 12.
It should be noted that, the allocation of the corresponding designated area by the main control card 11 for each service card 12 in the memory 111 of the main control card 11 is only an exemplary manner of this embodiment, and is not limited in this embodiment, and the main control card 11 may also allocate a corresponding designated area for each service card 12 in the memory 121 of the service card 12, or allocate a corresponding designated area for each service card 12 in the memory 121 of the service card 12 and the memory 111 of the main control card 12. For example, as shown in fig. 2, the master card 11 may allocate a corresponding designated area to each service card 12 in the memory 121 of the service card 12.
When the service card 12 is located in its own memory 121 in its own designated area, the service card 12 can directly read and write the latest state of its own interface in the designated area in its own memory 121.
When the specific area that the service card 12 needs to access is located in its own memory 121, the service card 12 can directly access the specific area in its own memory 121 to obtain the latest status of the cross-card interface.
When the designated area of the service card 12 is not in the memory 121 of the service card 12 but is in the memory 121 of another service card 12, the service card 12 can read and write the latest state of the interface of the service card 12 in the designated area through the relay of the master control card 11.
When the designated area that the service card 12 needs to access is not in its own memory 121 but is in the memory 121 of another service card 12, the service card 12 may also access the designated area through the relay of the main control card 11 to obtain the latest state of the cross-card interface.
Of course, if each service card 12 is directly connected to another service card 12, each service card 12 may also directly read from or write to a designated area in the memory 121 of another service card 12 without passing through the relay of the main control card 11.
As an example, it is assumed that, as shown in fig. 3, two mutually independent designated areas 1 and 2 are allocated in the memory 1211 of the service card 121, and a designated area N is allocated in the memory 1221 of the service card 122. If the designated area 1 is the area of the service card 121, the service card 121 can directly read and write the designated area 1 in its memory 1211. If the designated area 2 is the area of the service card 122, the service card 122 needs to read and write from and to the designated area 2 located in the service card 121 through the main control card 11. If the designated area N is the area of the service card 12N, the service card 12N also needs to read and write in the designated area N located in the service card 122 through the main control card 11.
For the convenience of understanding the present solution, the following will take the first service card 121 and the second service card 122 of the multiple service cards 12 as an example, and describe in detail how to forward the packet across the cards based on the state of the interface.
Referring to fig. 3, an embodiment of the present application provides a method for forwarding a packet, where the method for forwarding a packet may be executed by a main control card, a first service card, and a second service card on a forwarding device in a matching manner, and a flow of the method for forwarding a packet may include:
step S100: when the main control card detects that the second service card is powered on and started, the main control card allocates a designated area for recording the latest state of the interface of the second service card in the memory of the forwarding device.
Step S200: the main control card sends the address of the appointed area in the memory to the first service card and the second service card.
Step S300: and the first service card receives the message to be forwarded.
Step S400: the first service card determines that the message to be forwarded needs to be forwarded through an interface of the second service card.
Step S500: and the first service card acquires the latest state of the interface of the second service card recorded in the designated area.
Step S600: when the latest state is an idle state, the first service card delivers the message to be forwarded to the interface of the second service card for forwarding.
The above-described flow will be described in detail with reference to examples.
Step S100: when the main control card detects that the second service card is powered on and started, the main control card allocates a designated area for recording the latest state of the interface of the second service card in the memory of the forwarding device.
In this embodiment, the main control card 11 may allocate, in the memory 111, for example, in the memory 111 of the main control card 11, a designated area corresponding to the first service card 121 for the first service card 121, and allocate a designated area corresponding to the second service card 122 for the second service card 122.
Specifically, the main control card 11 may detect the operation states of the first service card 121 and the second service card 122. When the main control card 11 detects that the first service card 121 is powered on and started, the main control card 11 allocates a currently unused designated area in the memory 111, and the designated area is used for recording the latest state of the interface of the first service card 121. When the master control card 11 detects that the second service card 122 is powered on, the master control card 11 reallocates a currently unused designated area in the memory 111, where the designated area is used to record the latest status of the interface of the second service card 122 (for convenience of distinction, the designated area of the first service card 121 is referred to as "first designated area" and the designated area of the second service card 122 is referred to as "second designated area").
Of course, the allocation of the corresponding designated area when the first service card 121 or the second service card 122 is powered on and started is an exemplary manner of this embodiment, and is not limited to this embodiment. For example, the master card 11 may also allocate a corresponding designated area for the first service card 121 or the second service card 122 when the master card itself starts to power up. For another example, when the main control card 11 and/or the service card 12 where the memory needing to be allocated with the designated area is located is powered on, the main control card 11 allocates the corresponding designated area for the first service card 121 or the second service card 122 in the memory.
It is to be understood that, since the memory 111 is configured based on a plurality of memory blocks, and each memory block can be understood as a sub-area, the allocated first designated area may be configured by a plurality of memory blocks, and the allocated second designated area may also be configured by a plurality of memory blocks. In other words, the first designated area may include a plurality of sub-areas, and the second designated area may also include a plurality of sub-areas. Thus, the latest state of each interface on the first service card 121 may correspond to a sub-area stored in the first designated area, and the latest state of each interface on the second service card 122 may also correspond to a sub-area stored in the second designated area.
It should be noted that if it is required to ensure that the latest state of each interface on the first service card 121 is stored in a sub-area in the first designated area, and the latest state of each interface on the second service card 122 is also stored in a sub-area in the second designated area, the main control card 11 is required to ensure that the number of sub-areas forming the first designated area is greater than or equal to the total number of interfaces on the first service card 121 when allocating the first designated area, and also ensure that the number of sub-areas forming the second designated area is greater than or equal to the total number of interfaces on the second service card 122 when allocating the second designated area. For example, an interface number threshold, which is greater than the total number of interfaces on the service card 12, may be preset on the master card 11, and the master card 11 may determine the number of sub-areas according to the interface number threshold, so as to allocate a specified area where the number of sub-areas is greater than the total number of interfaces on the service card 12.
For example, as shown in fig. 4, the first designated area of the first service card 121 may have a structure as shown in fig. 4 in the memory 111, that is, 9 sub-areas may form the first designated area in a matrix array structure. The structure of the second designated area of the second service card 122 in the memory 111 may also be as shown in fig. 4, that is, the structure in which 9 sub-areas may be arranged in sequence constitutes the second designated area. The structure of each sub-area constituting the designated area may be a matrix array or a sequentially arranged structure, which may be set according to the structure of the memory 111, but the embodiment is not limited thereto.
In this embodiment, in order to avoid the influence of the history data in the designated area on the current reading and writing, after the first designated area is allocated, the main control card 11 may initialize the first designated area to clear the history data in the first designated area. Similarly, after the second designated area is allocated, the master control card 11 initializes the second designated area to clear the history data in the second designated area.
After the initialization, the master card 11 may further perform step S200.
Step S200: and the main control card sends the address of the designated area in the memory to the first service card and the second service card.
In this embodiment, in order to facilitate the first service card 121 to read and write in the first designated area and access the second designated area, the main control card 11 may send the address of the first service card 121 in the memory 111 and the address of the second service card 122 in the memory 111 to the first service card 121, and send the access right of the first service card 121 to the first designated area and the second designated area to the first service card 121. In this way, the first service card 121 can read and write the latest state of its own interface in the first designated area based on the access right and the address of the first service card 121 in the memory 111. And, the first service card 121 may access the second designated area to obtain the latest status of the interface of the second service card 122 based on the access right and the address of the second service card 122 in the memory 111.
Similarly, in order to facilitate the second service card 122 to read from and write to the second designated area and access the first designated area, the main control card 11 may further send the address of the second service card 122 in the memory 111 and the address of the first service card 121 in the memory 111 to the second service card 122, and send the access right of the second service card 122 to the first designated area and the second designated area to the second service card 122. In this way, the second service card 122 can read and write the latest state of its own interface in the second designated area based on the access right and the address of the second service card 122 in the memory 111. And the second service card 122 may access the first designated area to obtain the latest status of the interface of the first service card 121 based on the access right and the address of the first service card 121 in the memory 111.
In this embodiment, as an exemplary manner of the sent address, the main control card 11 may send an offset of the first sub-area in the first designated area in the memory 111 to the first service card 121 and the second service card 122 as an address of the first designated area in the memory 111, and the main control card 11 also sends an offset of the first sub-area in the second designated area in the memory 111 to the first service card 121 and the second service card 122 as an address of the second designated area in the memory 111, so that the first service card 121 and the second service card 122 can find the corresponding first sub-area or second sub-area according to the offset.
In this embodiment, for the first service card 121, it may detect the state of each interface of itself in real time to obtain the latest state of each interface of itself. For example, when the first service card 121 is powered on and started, the first service card 121 may record the latest state of each interface of itself into a corresponding sub-area in the first designated area; or when detecting that the latest state of the self interface is changed, the latest state of the interface with the changed state is added into a corresponding sub-area in the first designated area.
As an exemplary way of recording the latest status, the first service card 121 establishes a mapping relationship between a unique interface number of each interface of the first service card and a corresponding sub-area in advance. When the latest state of a certain interface on the first service card 121 needs to be recorded in the sub-area corresponding to the interface, the first service card 121 may first find the first designated area in the memory 111 according to the address of the first designated area, and then find a sub-area corresponding to the interface in the first designated area according to the mapping relationship, so as to record the latest state of the interface in the corresponding sub-area.
As another exemplary way of recording the latest state, the first service card 121 establishes a calculation rule for calculating the unique interface number of each interface thereof in advance, and the first service card 121 may find a sub-area corresponding to each interface thereof by calculating the unique interface number of each interface thereof through the calculation rule. When the latest state of an interface on the first service card 121 needs to be recorded in the sub-region corresponding to the interface, the first service card 121 may also find the first designated region in the memory 111 according to the address of the first designated region, and then calculate the unique interface number of the interface according to the calculation rule to determine the offset of a sub-region corresponding to the interface in the first designated region, so as to find the sub-region according to the offset, and record the latest state of the interface in the corresponding sub-region. For example, as shown in fig. 4, the pre-established calculation rule of the first service card 121 may be a remainder rule. The unique interface number of the first interface of the first service card 121 is 0, then the first service card 121 uses the unique interface number of 0 to obtain a remainder of 0 when the number of the sub-regions is 9, and uses the remainder of 0 to describe that the offset of the sub-region 1 is line 1, line 0, and the first service card 121 can find the sub-region 1 by using the offset as line 1, line 0. The unique interface number of the second interface of the first service card 121 is 1, then the first service card 121 uses the unique interface number 2 to obtain a remainder of 1 for the number of sub-regions 9, and uses the remainder of 1 to describe that the offset of the sub-region 2 is the 1 st line in the 1 st row, and the first service card 121 can find the sub-region 2 by using the offset as the 1 st line in the 1 st row. The unique interface number of the third interface of the first service card 121 is 2, then the first service card 121 uses the unique interface number of 2 to obtain a remainder of 2 when the number of the sub-regions is 9, and uses the remainder of 2 to describe that the offset of the sub-region 3 is line 1 and line 2, and the first service card 121 can find the sub-region 3 by using the offset as line 1 and line 2. The unique interface number of the fourth interface of the first service card 121 is 3, then the first service card 121 uses the unique interface number of 3 to obtain a remainder of 3 when the number of the sub-regions is 9, and uses the remainder of 3 to describe that the offset of the sub-region 4 is line 2, i.e. line 0, and the first service card 121 uses the offset to obtain the sub-region 4 when the offset is line 2, i.e. line 0, and so on.
Further, as an exemplary way of representing the latest state of the interface, the first traffic card 121 may define that the interface is in two states, i.e., in a congested state or an idle state. Then, the first traffic card 121 may define that the interface is in a congestion state or an idle state based on the forwarding condition of the interface to the traffic. When the latest state of the interface of the port itself is the congestion state, the first service card 121 may record 1 in a sub-area corresponding to the interface; when the latest state of the interface of the port itself is the idle state, the first service card 121 may record 0 in a sub-area corresponding to the interface. It is understood that by representing the latest state of the interface by 1 or 0, it is possible to quickly and accurately determine the latest state of the interface based on the judgment of 1 or 0.
In this embodiment, for the second service card 122, it may also detect the state of each interface of itself in real time to obtain the latest state of each interface of itself. When the second service card 122 is powered on and started, the second service card 122 may record the latest state of each interface of the second service card 122 into a corresponding sub-area in the second designated area; or when detecting that the latest state of the interface of the user is changed, the latest state of the interface with the changed state is transferred to a corresponding sub-area in the second designated area, wherein the recording mode can refer to the first service card 121, and will not be described again here.
In this embodiment, since the first service card 121 and the second service card 122 both record the latest state of their interfaces in their corresponding sub-areas, the first service card 121 may implement the cross-card forwarding of the packet by accessing the latest state of the interface of the second service card 122 recorded in the second designated area of the second service card 122. Similarly, the second service card 122 may also implement the cross-card forwarding of the packet by accessing the interface latest state of the first service card 121 recorded in the first designated area of the first service card 121.
Since the flow of the cross-card forwarding performed by the first service card 121 and the first service card 121 is substantially the same, for convenience of understanding, the first service card 121 is taken as an example for description in the present embodiment.
Step S300: and the first service card receives the message to be forwarded.
When a message in the network needs to be forwarded through the forwarding device 10, the first service card 121 may receive the message to be forwarded through its own interface.
Step S400: the first service card determines that the message to be forwarded needs to be forwarded through an interface of the second service card.
After obtaining the message to be forwarded, the first service card 121 may obtain the MAC address and the IP address carried in the message to be forwarded by decapsulating the message to be forwarded. Then, the first service card 121 may analyze the MAC address and the IP address by traversing its preset routing table entry, so as to determine whether the packet to be forwarded needs to be forwarded by its own interface or by the interface of the second service card 122.
If it is determined that the packet to be forwarded needs to be forwarded by its own interface, the first service card 121 may forward the packet to be forwarded according to the latest state of its own interface.
If it is determined that the message to be forwarded needs to be forwarded by the interface of the second service card 122, the first service card 121 needs to further perform step S500 to obtain the latest status of the interface of the second service card 122.
Step S500: and the first service card acquires the latest state of the interface of the second service card recorded in the designated area.
As an exemplary way to obtain the latest status of the interface of the second service card 122, the second service card 122 may send the mapping relationship between the unique interface number of each interface of the second service card 122 and the corresponding sub-area to the first service card 121 through the main control card 11 in advance. Then, after the first service card 121 finds the second specified area in the memory 111 according to the address of the second specified area, the second service card 122 also finds a sub-area corresponding to the unique interface number of the interface that needs to forward the message to be forwarded in the second specified area according to the mapping relationship, and obtains the latest state of the interface that needs to forward the message to be forwarded, which is recorded in the sub-area.
As another exemplary way to obtain the latest status of the interface of the second service card 122, after the first service card 121 finds the second specified area in the memory 111 according to the address of the second specified area, based on the foregoing calculation rule, if the calculation rule preset on the second service card 122 is the same as the calculation rule preset on the first service card 121, the first service card 121 may calculate, through the calculation rule preset by itself, the unique interface number of the interface that needs to forward the message to be forwarded; if the preset calculation rule of the second service card 122 is different from the preset calculation rule of the first service card 121, the second service card 122 may send the preset calculation rule to the first service card 121 in advance, and the first service card 121 may calculate the unique interface number of the interface that needs to forward the packet to be forwarded according to the calculation rule of the second service card 122. Through calculation of the calculation rule, the first service card 121 may find a sub-area corresponding to the unique interface number of the interface that needs to forward the packet to be forwarded from the second designated area, and obtain the latest state of the interface that needs to forward the packet to be forwarded, which is recorded in the sub-area.
After acquiring the latest state of the interface that needs to forward the packet to be forwarded, the first service card 121 may further execute step S600.
Step S600: when the latest state is an idle state, the first service card delivers the message to be forwarded to the interface of the second service card for forwarding.
The first service card 121 may determine the latest status of the interface that needs to forward the packet to be forwarded, that is, determine whether the latest status of the interface that needs to forward the packet to be forwarded is 1 or 0.
If it is determined that the latest status of the interface that needs to forward the message to be forwarded is 0, which indicates that the latest status is an idle status, the message to be forwarded may be forwarded by the interface, that is, the first service card 121 may send the message to be forwarded to the interface on the second service card 122 through the main control card 11.
If the latest state of the interface which needs to forward the message to be forwarded is determined to be 1, the latest state is a congestion state, so that the message to be forwarded cannot be forwarded through the interface.
In this embodiment, when it is determined that the interface that needs to forward the packet to be forwarded is currently in the congestion state and forwards the packet to be forwarded, the first service card 121 may further determine whether the packet to be forwarded is a packet forwarded by the aggregation group on the forwarding device.
If it is determined that the packet to be forwarded is not a packet forwarded by the aggregation group on the forwarding device, the first service card 121 may forward the packet to be forwarded in a delayed manner, that is, when the latest state of the interface where the packet to be forwarded needs to be forwarded changes to an idle state, the first service card 121 forwards the packet to be forwarded to the interface of the second service card 122. If the latest state of the interface that needs to forward the message to be forwarded is still in the congestion state after timeout, the first service card 121 discards the message to be forwarded, so as to save resources of the first service card 121.
If it is determined that the packet to be forwarded is a packet forwarded by the aggregation group on the forwarding device, the first service card 121 may obtain the latest status of other interfaces in the aggregation group except the interface that needs to forward the packet to be forwarded. In other words, the first service card 121 may access the designated area corresponding to the other interfaces in the memory 111 to obtain the latest states of the other interfaces from the sub-areas corresponding to the other interfaces in the designated area.
If the latest state of the other interfaces is in the idle state, the first service card 121 delivers the message to be forwarded to the other interfaces for forwarding. On the contrary, if the latest state of the other interfaces is still in the congestion state, the first service card 121 may delay forwarding the message to be forwarded, that is, when the latest state of an interface in the aggregation group changes to the idle state, the first service card 121 forwards the message to be forwarded to the interface again, otherwise, the message to be forwarded is discarded when the time is out.
Continuing with fig. 4, the following is illustrated by way of an example. The first service card 121 determines, by analyzing the message to be forwarded, that the message to be forwarded needs to be forwarded by the interface 5 on the second service card 122, and then the first service card 121 may obtain the latest state of the interface 5 from the sub-area 5 in the second specified area corresponding to the interface 5. Since the latest status of the interface 5 is 1, the first service card 121 determines that the interface 5 is currently in the congestion state by judgment. If the interfaces 5-9 on the second service card 122 all belong to the same aggregation group, the first service card 121 may continue to obtain the latest status of the interface 6-9 from the sub-area 6-9 in the second designated area corresponding to the interface 6-9. If the first service card 121 determines that no interface of the interfaces 6-9 is in an idle state by judgment, the message to be forwarded is forwarded in a delayed manner; if the first service card 121 determines that at least one of the interfaces 6-9 is not in the idle state by determining, the first service card 121 may select one of the interfaces in the idle state to forward the packet to be forwarded.
Referring to fig. 5, based on the same inventive concept, an embodiment of the present application further provides a message forwarding apparatus 100, which is applied to a main control card 11 in a forwarding device 10, where the message forwarding apparatus 100 may include:
a region allocation module 110, configured to, when it is detected that the second service card is powered on and started, allocate, in a memory of the forwarding device, a designated region for recording a latest state of an interface of the second service card;
an address sending module 120, configured to send the address of the designated area in the memory to the first service card, so that the first service card obtains the latest status recorded in the designated area based on the address, and determines whether to forward the received packet to be forwarded to the interface based on the latest status.
Referring to fig. 6, based on the same inventive concept, an embodiment of the present application further provides a message forwarding apparatus 200, which is applied to a first service card 121 in a forwarding device 10, where the message forwarding apparatus 200 may include:
the message transceiver module 210 is configured to receive a message to be forwarded.
A message processing module 220, configured to determine that the message to be forwarded needs to be forwarded through an interface of the second service card; and acquiring the latest state of the interface recorded in the designated area of the memory of the forwarding equipment.
The message transceiver module 210 is further configured to forward the message to be forwarded to the interface when the latest state is an idle state.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the modules described above may refer to the corresponding process in the foregoing method embodiments, and is not described herein again.
Some embodiments of the present application further provide a computer readable storage medium of a computer executable nonvolatile program code, where the storage medium can be a general storage medium, such as a removable disk, a hard disk, and the like, and the computer readable storage medium has a program code stored thereon, where the program code executes the steps of the message forwarding method according to any one of the above embodiments when the computer runs.
The program code product of the message forwarding method provided in the embodiment of the present application includes a computer-readable storage medium storing the program code, and instructions included in the program code may be used to execute the method in the foregoing method embodiment, and specific implementation may refer to the method embodiment, which is not described herein again.
To sum up, the embodiments of the present application provide a method, an apparatus, and a storage medium for forwarding a packet. When the first service card determines that the message needs to be forwarded by the interface of the second service card, the first service card directly acquires the latest state of the interface of the second service card from the designated storage area of the memory, so that no time delay exists, and the message is forwarded based on the current state of the interface. Meanwhile, the cost of accessing the memory is far less than that of sending, receiving and analyzing the protocol message, so the performance of the forwarding equipment is not influenced.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method for forwarding a packet is applied to a first service card in a forwarding device, wherein the forwarding device further includes a second service card, and the method includes:
receiving a message to be forwarded;
determining that the message to be forwarded needs to be forwarded through an interface of the second service card;
acquiring the latest state of the interface recorded in a designated area of a memory of the forwarding equipment;
and when the latest state is an idle state, the message to be forwarded is forwarded by the interface.
2. The message forwarding method according to claim 1, wherein the second service card includes a plurality of interfaces, the designated area includes a plurality of sub-areas, a latest status of each interface is recorded in a corresponding sub-area of the plurality of sub-areas, and acquiring the latest status of the interface recorded in the designated area of the memory of the forwarding device includes:
accessing a sub-area corresponding to an interface which needs to forward the message to be forwarded in the plurality of interfaces;
acquiring the latest state recorded in the corresponding sub-area.
3. The message forwarding method according to claim 2, wherein before accessing a sub-area corresponding to an interface that needs to forward the message to be forwarded among the plurality of interfaces, the method further comprises:
and determining the corresponding sub-region according to the unique interface number of the interface which needs to forward the message to be forwarded.
4. The message forwarding method according to claim 1, wherein the message to be forwarded is a message forwarded by an aggregation group including the interface, and after acquiring the latest state of the interface recorded in a designated area of a memory of the forwarding device, the method further includes:
when the latest state is a congestion state, acquiring the latest state of other interfaces recorded in a designated area corresponding to the other interfaces on the forwarding equipment, wherein the other interfaces are interfaces belonging to the aggregation group;
and when the latest state of the other interfaces is an idle state, handing the message to be forwarded to the other interfaces for forwarding.
5. The message forwarding method according to claim 1, wherein the method further comprises:
and recording the latest state of the interface of the first service card into a designated area corresponding to the first service card in the memory.
6. A method for forwarding a message is applied to a main control card in forwarding equipment, wherein the forwarding equipment further comprises a first service card and a second service card, and the method comprises the following steps:
when detecting that the second service card is powered on and started, allocating a designated area for recording the latest state of an interface of the second service card in a memory of the forwarding equipment;
and sending the address of the designated area in the memory to the first service card, so that the first service card obtains the latest state recorded in the designated area based on the address, and judges whether to forward the received message to be forwarded by the interface based on the latest state.
7. The message forwarding method according to claim 6, wherein after allocating a designated area for recording the latest status of the interface of the second service card in the memory of the forwarding device, before sending the address of the designated area in the memory to the first service card, the method further comprises:
initializing the designated area; and/or
When the address of the designated area in the memory is sent to the first service card, the method further comprises:
and sending the access right of the first service card to the designated area to the first service card, wherein the access right is used for indicating that the first service card only has a read right to the designated area.
8. A message forwarding apparatus is applied to a first service card in a forwarding device, where the forwarding device further includes a second service card, and the apparatus includes:
the message receiving and sending module is used for receiving a message to be forwarded;
the message processing module is used for determining that the message to be forwarded needs to be forwarded through the interface of the second service card; acquiring the latest state of the interface recorded in a designated area of a memory of the forwarding equipment;
the message receiving and sending module is further configured to forward the message to be forwarded to the interface when the latest state is an idle state.
9. A message forwarding apparatus is applied to a master control card in a forwarding device, where the forwarding device further includes a first service card and a second service card, and the apparatus includes:
the area allocation module is used for allocating an appointed area for recording the latest state of the interface of the second service card in the memory of the forwarding equipment when the second service card is detected to be powered on and started;
and the address sending module is used for sending the address of the designated area in the memory to the first service card so that the first service card obtains the latest state recorded in the designated area based on the address, and judges whether to forward the received message to be forwarded to the interface based on the latest state.
10. The forwarding device is characterized by comprising a master control card, a first service card and a second service card;
the master control card is used for executing the message forwarding method according to any one of claims 6 or 7;
after receiving the message to be forwarded, the first service card is configured to execute the message forwarding method according to any one of claims 1 to 5, so as to forward the message to be forwarded by an interface of the second service card.
CN201911297586.1A 2019-12-16 2019-12-16 Message forwarding method, device and storage medium Pending CN111030937A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911297586.1A CN111030937A (en) 2019-12-16 2019-12-16 Message forwarding method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911297586.1A CN111030937A (en) 2019-12-16 2019-12-16 Message forwarding method, device and storage medium

Publications (1)

Publication Number Publication Date
CN111030937A true CN111030937A (en) 2020-04-17

Family

ID=70211047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911297586.1A Pending CN111030937A (en) 2019-12-16 2019-12-16 Message forwarding method, device and storage medium

Country Status (1)

Country Link
CN (1) CN111030937A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992592A (en) * 2021-10-27 2022-01-28 锐捷网络股份有限公司 Message forwarding method and device, port drainage system and storage medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4979100A (en) * 1988-04-01 1990-12-18 Sprint International Communications Corp. Communication processor for a packet-switched network
US4985889A (en) * 1988-02-04 1991-01-15 Sprint International Communications Corporation Data packet switching
US6163543A (en) * 1997-07-30 2000-12-19 Cisco Technology, Inc. Port aggregation protocol
EP1573543A2 (en) * 2002-05-03 2005-09-14 Alstom Ferroviaria S.P.A. Inherently fail safe processing or control apparatus
US20070201461A1 (en) * 2006-02-27 2007-08-30 Masayuki Shinohara Network switching device
CN101247275A (en) * 2008-03-18 2008-08-20 杭州华三通信技术有限公司 Interrupt reporting method and network appliance
CN102299857A (en) * 2011-09-15 2011-12-28 福建星网锐捷网络有限公司 Multicast message processing method, line card and communication equipment
US20120317391A1 (en) * 2011-06-10 2012-12-13 International Business Machines Corporation Releasing blocks of storage class memory
CN103546386A (en) * 2013-10-24 2014-01-29 迈普通信技术股份有限公司 Method and system for flow control over data message sent by router
US20150039771A1 (en) * 2011-11-18 2015-02-05 Amazon Technologies, Inc. Virtual network interface objects
CN104852859A (en) * 2015-04-30 2015-08-19 杭州华三通信技术有限公司 Aggregate interface service processing method and aggregate interface service processing equipment
CN105743801A (en) * 2014-12-08 2016-07-06 中兴通讯股份有限公司 Method and device of flow forwarding of stack system
CN106911597A (en) * 2017-02-14 2017-06-30 新华三技术有限公司 A kind of board-spanning forwarding method and apparatus
CN109088830A (en) * 2018-07-19 2018-12-25 新华三技术有限公司 A kind of port status synchronous method and device
CN109218232A (en) * 2017-06-29 2019-01-15 华为技术有限公司 A kind of method that realizing Mux machine, equipment and system
CN109572754A (en) * 2018-12-24 2019-04-05 卡斯柯信号有限公司 A kind of ITCS train data downloads mobile unit in real time

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4985889A (en) * 1988-02-04 1991-01-15 Sprint International Communications Corporation Data packet switching
US4979100A (en) * 1988-04-01 1990-12-18 Sprint International Communications Corp. Communication processor for a packet-switched network
US6163543A (en) * 1997-07-30 2000-12-19 Cisco Technology, Inc. Port aggregation protocol
EP1573543A2 (en) * 2002-05-03 2005-09-14 Alstom Ferroviaria S.P.A. Inherently fail safe processing or control apparatus
US20070201461A1 (en) * 2006-02-27 2007-08-30 Masayuki Shinohara Network switching device
CN101247275A (en) * 2008-03-18 2008-08-20 杭州华三通信技术有限公司 Interrupt reporting method and network appliance
US20120317391A1 (en) * 2011-06-10 2012-12-13 International Business Machines Corporation Releasing blocks of storage class memory
CN102299857A (en) * 2011-09-15 2011-12-28 福建星网锐捷网络有限公司 Multicast message processing method, line card and communication equipment
US20150039771A1 (en) * 2011-11-18 2015-02-05 Amazon Technologies, Inc. Virtual network interface objects
CN103546386A (en) * 2013-10-24 2014-01-29 迈普通信技术股份有限公司 Method and system for flow control over data message sent by router
CN105743801A (en) * 2014-12-08 2016-07-06 中兴通讯股份有限公司 Method and device of flow forwarding of stack system
CN104852859A (en) * 2015-04-30 2015-08-19 杭州华三通信技术有限公司 Aggregate interface service processing method and aggregate interface service processing equipment
CN106911597A (en) * 2017-02-14 2017-06-30 新华三技术有限公司 A kind of board-spanning forwarding method and apparatus
CN109218232A (en) * 2017-06-29 2019-01-15 华为技术有限公司 A kind of method that realizing Mux machine, equipment and system
CN109088830A (en) * 2018-07-19 2018-12-25 新华三技术有限公司 A kind of port status synchronous method and device
CN109572754A (en) * 2018-12-24 2019-04-05 卡斯柯信号有限公司 A kind of ITCS train data downloads mobile unit in real time

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
GAI LIU等: ""Architecture and synthesis for area-efficient pipelining of irregular loop nests"", 《IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS》 *
杨洪涛,刘业辉: "《组网技术与配置》", 31 December 2016, 北京理工大学出版社 *
杨靖等: "《光通信技术丛书 分组传送网原理与技术》", 31 August 2015, 北京邮电大学出版社 *
陈绥阳等: "《计算机网络技术》", 31 August 2012, 北京理工大学出版社 *
鞠婧: ""光传送网设备多业务接口板的设计与实现"", 《万方数据库》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992592A (en) * 2021-10-27 2022-01-28 锐捷网络股份有限公司 Message forwarding method and device, port drainage system and storage medium
CN113992592B (en) * 2021-10-27 2023-11-17 锐捷网络股份有限公司 Message forwarding method and device, port drainage system and storage medium

Similar Documents

Publication Publication Date Title
CN110088732B (en) Data packet processing method, host and system
US20190288936A1 (en) Protection switching method and system, and network device
EP3252613B1 (en) Resource management for peripheral component interconnect-express domains
EP3493046B1 (en) Data processing system, method, and corresponding device
US7571273B2 (en) Bus/device/function translation within and routing of communications packets in a PCI switched-fabric in a multi-host environment utilizing multiple root switches
CN109302466B (en) Data processing method, related device and computer storage medium
US10057175B2 (en) Method and device for transmitting network packet
CN108984465B (en) Message transmission method and device
CN106533973B (en) Method, equipment and system for distributing service message
EP3367612A1 (en) Dial testing method, dial testing system, and compute node
CN110896406A (en) Data storage method and device and server
WO2017032223A1 (en) Virtual machine deployment method and apparatus
CN108989476B (en) Address allocation method and device
CN110063045B (en) Message processing method and device in cloud computing system
CN112052100A (en) Virtual machine communication method and equipment based on shared memory
CN107547400B (en) Virtual machine migration method and device
US9584446B2 (en) Memory buffer management method and system having multiple receive ring buffers
CN111030937A (en) Message forwarding method, device and storage medium
CN106603303A (en) Cloud aggregation board card switching method and device
CN107547247B (en) IP address allocation method and device for three-layer management network in intelligent elastic architecture
CN108965093B (en) VLAN (virtual local area network) distribution method and device
WO2018057165A1 (en) Technologies for dynamically transitioning network traffic host buffer queues
JP6036445B2 (en) COMMUNICATION SYSTEM, RELAY DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP7255675B2 (en) VIRTUAL MACHINE MONITORING DEVICE, VIRTUAL MACHINE MONITORING METHOD AND PROGRAM
CN110581869B (en) Resource allocation method, TLP packet processing method, equipment and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200417