CN110519079A - A kind of data forwarding method, device, web plate, the network equipment and storage medium - Google Patents

A kind of data forwarding method, device, web plate, the network equipment and storage medium Download PDF

Info

Publication number
CN110519079A
CN110519079A CN201910705532.8A CN201910705532A CN110519079A CN 110519079 A CN110519079 A CN 110519079A CN 201910705532 A CN201910705532 A CN 201910705532A CN 110519079 A CN110519079 A CN 110519079A
Authority
CN
China
Prior art keywords
data
equipment
data forwarding
port
message
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.)
Granted
Application number
CN201910705532.8A
Other languages
Chinese (zh)
Other versions
CN110519079B (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.)
New H3C Big Data Technologies Co Ltd
Original Assignee
New H3C Big Data 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 New H3C Big Data Technologies Co Ltd filed Critical New H3C Big Data Technologies Co Ltd
Priority to CN201910705532.8A priority Critical patent/CN110519079B/en
Publication of CN110519079A publication Critical patent/CN110519079A/en
Application granted granted Critical
Publication of CN110519079B publication Critical patent/CN110519079B/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, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers
    • H04L45/583Stackable routers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • H04L49/253Routing or path finding in a switch fabric using establishment or release of connections between ports

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Present disclose provides a kind of data forwarding method, device, web plate, the network equipment and storage mediums to improve data message forwarding efficiency to reduce across stack equipment data message forwarding path detour.The data forwarding method, comprising: receive data to be forwarded message, purpose equipment mark is carried in the data to be forwarded message;If it is judged that the data message that the message to be forwarded transmits between different stack equipments, then identify the data forwarding port for determining connection purpose stack equipment, the data forwarding port is connect with other stack equipments according to the purpose equipment;Using the direct connected link between the data forwarding port determined and the data forwarding port of purpose stack equipment, the data to be forwarded message is forwarded.

Description

A kind of data forwarding method, device, web plate, the network equipment and storage medium
Technical field
This disclosure relates to which network communication technology field more particularly to a kind of data forwarding method, device, web plate, network are set Standby and storage medium.
Background technique
Stacking is that multiple devices link together, and progress is necessary with postponing, and is virtualized into an equipment.Using this Virtualization technology can gather the hardware resource and software processing capability of multiple devices, realize collaborative work, the system of multiple devices One management and uninterrupted maintenance.It stacks after being formed, user can log in stacking by the arbitrary port of any member device System is managed collectively all member devices in stacking.Stacking is made of more member devices, wherein main equipment is responsible for The Operations, Administration and Maintenance of stacking also can handle business while as backup from equipment.Once master-failure is The new main equipment of the rapid automatic election of system meeting, to guarantee that business is not interrupted, to realize the 1:N backup of equipment.Moreover, passing through Increase member device, can easily extend port number, the bandwidth of stacking system.
The network equipment of core layer has very high requirement to flow forwarding rate, the considerations of for reliability etc., core Often by the way of stacking, across the frame message between stack member apparatus turn across frame by stacking opening central layer equipment Hair.As shown in Figure 1, it is the forwarding schematic diagram of a scenario across frame message in two frame stack equipments, across frame message forwarding process includes Following steps:
Step 1, message to be forwarded inquire MAC (Media Access Control, medium access after the entrance of cable card board 1 Control) table, it is found that message target MAC (Media Access Control) address to be forwarded is not incoming interface place veneer, it is true then to inquire MODPORT_MAP table again Surely be sent to switching network goes out HG mouthfuls, and then ether network packet is packaged into HG message by forwarding chip and is sent to net by the HG mouthfuls Plate 1;
Step 2, web plate 1 inquire MODPORT_MAP table learn be sent to stacking plate go out HG mouthful, and then pass through exchange chip general HG message is forwarded to the cable card board 2 (stacking plate) where stacking opening;
After step 3, message reach cable card board 2, it is descapsulated into ether network packet by forwarding chip, and send out by stacking opening The cable card board 3 (stacking plate) toward where to the stacking opening of frame;
Step 4, after reaching the cable card board 3 of opposite end frame, message is packaged into HG message and is sent to web plate 2 by forwarding chip, connects Web plate 2 be forwarded to the cable card board 4 where outgoing interface again, finally by forwarding chip deblocking dress up Ethernet message from outgoing interface It issues.
In above-mentioned message repeating process, 4 HG message encapsulation/decapsulations are carried out, and perform and table look-up on 6 pieces of veneers It is operated with forwarding, increases data message forwarding path detour, reduce data forwarding efficiency.
Summary of the invention
The embodiment of the present disclosure provides a kind of data forwarding method, device, web plate, the network equipment and storage medium, to subtract Few across stack equipment data message forwarding path detour, improves data message forwarding efficiency.
In a first aspect, providing a kind of data forwarding method, comprising:
Data to be forwarded message is received, purpose equipment mark is carried in the data to be forwarded message;
If judging to transmit between the different stack equipments of the message to be forwarded according to purpose equipment mark Data message, then identify the data forwarding port for determining connection purpose stack equipment according to the purpose equipment, and the data turn Originator mouth is connect with other stack equipments;
Using the direct connected link between the data forwarding port determined and the data forwarding port of purpose stack equipment, turn Send out data to be forwarded message described.
In a kind of possible embodiment, the data for determining connection purpose stack equipment are identified according to the purpose equipment Port is forwarded, is specifically included:
According to purpose equipment mark in the port mapping table of storage, searches the purpose equipment and identify corresponding number According to forwarding port-mark;
The corresponding data forwarding port of data forwarding port-mark found is determined to connect the purpose stack equipment Data forwarding port.
In a kind of possible embodiment, the method is applied in stack equipment, and the stack equipment includes master control Plate;And
The data forwarding method that the embodiment of the present disclosure provides, further includes:
During local terminal master control borad abnormal restarting, the master control borad control of the stack equipment of connection in the direct connected link opposite end The system lower forwarding data to be forwarded message.
In a kind of possible embodiment, the message to be forwarded is cable card board according to the purpose equipment identifier lookup Port mapping table comprising purpose equipment mark, identifies according to the corresponding web plate of the port mapping table to corresponding web plate It sends, the port mapping table is that the web plate is sent to the cable card board.
In a kind of possible embodiment, the data forwarding port includes HG mouthfuls of high speed forward port.
Second aspect provides a kind of data forwarding device, comprising:
Receiving unit carries purpose equipment mark in the data to be forwarded message for receiving data to be forwarded message Know;
Determination unit, if for judging that the message to be forwarded is that different stackings are set according to purpose equipment mark The data message transmitted between standby then identifies the data forwarding end for determining connection purpose stack equipment according to the purpose equipment Mouthful, the data forwarding port is connect with other stack equipments;
Data forwarding unit, for the data forwarding port using the data forwarding port and purpose stack equipment determined Between direct connected link, forward the data to be forwarded message.
In a kind of possible embodiment, the determination unit, specifically for being deposited according to purpose equipment mark In the port mapping table of storage, searches the purpose equipment and identify corresponding data forwarding port-mark;Determine the data found Forwarding the corresponding data forwarding port of port-mark is the data forwarding port for connecting the purpose stack equipment.
In a kind of possible embodiment, described device is set in stack equipment, and the stack equipment includes master control Plate;And
The data forwarding device that the embodiment of the present disclosure provides, further includes:
Data forwarding control unit, for being connected in the direct connected link opposite end during master control borad abnormal restarting The master control borad control lower forwarding data to be forwarded message of stack equipment.
In a kind of possible embodiment, the message to be forwarded is cable card board according to the purpose equipment identifier lookup Port mapping table comprising purpose equipment mark, identifies according to the corresponding web plate of the port mapping table to corresponding web plate It sends, the port mapping table is that the web plate is sent to the cable card board.
In a kind of possible embodiment, the data forwarding port includes HG mouthfuls of high speed forward port.
The third aspect, the embodiment of the present disclosure provide a kind of web plate, and the web plate is provided at least one data forwarding port, The data forwarding port is connect with the data forwarding port of opposite end stack equipment;The web plate includes above-mentioned data forwarding Device.
Fourth aspect provides a kind of network equipment, including at least one processor and at least one processor, wherein The memory is stored with computer program, when described program is executed by the processor, so that the processor executes State either step described in data forwarding method.
5th aspect, provides a kind of computer readable storage medium, is stored with the computer that can be executed by the network equipment Program, when described program is run on network devices, so that the network equipment executes described in above-mentioned data forwarding method Either step.
In data forwarding method, device, web plate, the network equipment and the storage medium that the embodiment of the present disclosure provides, at two The data forwarding port that direct connected link connection web plate is established between the web plate of stack equipment, in this way, receiving in web plate across stacking When the data to be forwarded message of equipment, connection purpose heap is determined according to the purpose equipment mark carried in message in data to be forwarded The data forwarding port of stacking device, by direct-connected between the data forwarding port and the data forwarding port of purpose stack equipment Data to be forwarded message is directly sent to purpose stack equipment by link, in the above process, due to no longer need to forward the packet to The stacking opening of local terminal is forwarded, to reduce the path detour of data message forwarding, improves the forwarding effect of data message Rate.
The other feature and advantage of the disclosure will illustrate in the following description, also, partly become from specification It obtains it is clear that being understood by implementing the disclosure.The purpose of the disclosure and other advantages can be by written explanations Specifically noted structure is achieved and obtained in book, claims and attached drawing.
Detailed description of the invention
Attached drawing described herein is used to provide further understanding of the disclosure, constitutes a part of this disclosure, this public affairs The illustrative embodiments and their description opened do not constitute the improper restriction to the disclosure for explaining the disclosure.In the accompanying drawings:
Fig. 1 is the data message forwarding schematic diagram of a scenario across stack equipment in the prior art;
Fig. 2 a is the stack equipment schematic diagram of internal structure according to disclosure embodiment;
Fig. 2 b is the schematic network structure direct-connected according to the first two stack equipment of disclosure embodiment;
Fig. 2 c is the schematic network structure direct-connected according to second of two stack equipments of disclosure embodiment;
Fig. 2 d is the schematic network structure direct-connected according to the third two stack equipments of disclosure embodiment;
Fig. 2 e is the 4th kind of direct-connected schematic network structure of two stack equipments according to disclosure embodiment;
Fig. 2 f is the 5th kind of direct-connected schematic network structure of two stack equipments according to disclosure embodiment;
Fig. 2 g is the schematic network structure direct-connected according to three stack equipments of disclosure embodiment;
Fig. 3 is the implementation process diagram according to the data forwarding method of disclosure embodiment;
Fig. 4 a is the data message forwarding schematic diagram of a scenario across stack equipment according to disclosure embodiment;
Fig. 4 b is the HG heading structural schematic diagram according to disclosure embodiment;
Fig. 5 is to be illustrated according to the master control borad of two stack equipments of disclosure embodiment network structure active and standby each other Figure;
Fig. 6 is the structural schematic diagram according to the data forwarding device of disclosure embodiment;
Fig. 7 is the structural schematic diagram according to the network equipment of disclosure embodiment.
Specific embodiment
In order to reduce the path detour across stack equipment data message forwarding, data forwarding efficiency is improved, the disclosure is implemented Example provides a kind of data forwarding method, device, web plate, the network equipment and storage medium.
It should be noted that the term " in specification and claims and above-mentioned attached drawing in the embodiment of the present disclosure One ", " second " etc. is to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that The data used in this way are interchangeable under appropriate circumstances, so as to the embodiments described herein can in addition to illustrating herein or Sequence other than the content of description is implemented.
Referenced herein " multiple or several " refer to two or more."and/or" describes affiliated partner Incidence relation, indicate may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, These three situations of individualism B.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Preferred embodiment of the present disclosure is illustrated below in conjunction with Figure of description, it should be understood that described herein Preferred embodiment is only used for describing and explaining the disclosure, is not used to limit the disclosure, and in the absence of conflict, this public affairs The feature in embodiment and embodiment opened can be combined with each other.
The data forwarding method that the embodiment of the present disclosure provides can be, but not limited in the web plate being applied in stack equipment.Such as Shown in Fig. 2 a, it is stack equipment schematic diagram of internal structure, includes master control borad, cable card board (also referred to as business in stack equipment Plate) and web plate, wherein business board is used to send and receive data, and master control borad controls trend of the data inside stack equipment, net Plate is used for internal exchange of data.According to existing data forwarding method, for the data message across stack equipment, data message enters Cable card board 1 where interface forwards it to web plate after receiving the data message, is transmitted to data message by web plate and goes out to connect Cable card board 2 where mouthful gives data message forwarding to other stack equipments by cable card board 2, by Fig. 2 a it is found that above-mentioned datagram There are path detours for literary repeating process, to increase the delay of data message forwarding, reduce the forward efficiency of data message.
In the embodiment of the present disclosure, in order to reduce across stack equipment data message forwarding path detour, in the net of stack equipment Increase at least one data forwarding port direct-connected with other stack equipment web plates on plate, to build between two stack equipments Vertical direct connected link, in this way, when web plate judges the data message that data to be forwarded message transmits between different stack equipments, i.e., Across frame forwarding data message when, corresponding stack equipment can be transmitted to by the direct connected link of foundation.
As shown in Figure 2 b, pass through data forwarding end increased on respective web plate between stack equipment 1 and stack equipment 2 The schematic network structure of mouth connection.If there are muti-piece web plates on stack equipment, when it is implemented, can be according to web plate quantity Increase the data forwarding port of different number.
It as shown in Figure 2 c, is the identical data forwarding port connection schematic diagram of two stack equipment web plate numbers, wherein stack Equipment 1 and stack equipment 2 include 5 web plates, are provided with 3 data forwarding ports on each web plate.Each net of stack equipment 1 Respectively there is a data forwarding port to connect respectively with a data forwarding port on a web plate of stack equipment 2 on plate, this Sample can establish 5 direct connected links between stack equipment 1 and stack equipment 2, be hashing on different web plates on stack equipment 1 Data to be forwarded message stack equipment 2 can be sent to by direct connected link.
As shown in Figure 2 d, the data forwarding port connection schematic diagram different for two stack equipment web plate numbers, stack equipment 1 It include a data forwarding port on each web plate comprising 5 web plates, stack equipment 2 includes 1 web plate, is wrapped on each web plate One on the web plate on data forwarding port and stack equipment 2 containing 5 data forwarding ports, on each web plate of stack equipment 1 A data forwarding port connection, in this way, can establish 5 direct connected links between stack equipment 1 and stack equipment 2, is hashing onto Data message on the different web plates of stack equipment 1 can be sent to stack equipment 2 by direct connected link.
As shown in Figure 2 e, the data forwarding port connection signal different for another two stack equipment web plate number Figure, stack equipment 1 include 3 web plates, include a data forwarding port on each web plate, and stack equipment 2 includes 2 web plates, Include 2 data forwarding ports on one of web plate, includes 1 data forwarding port, stack equipment 1 on another web plate Data forwarding port on each web plate is connect with a data forwarding port on two web plates on stack equipment 2 respectively, In this way, 3 direct connected links can be established between stack equipment 1 and stack equipment 2, it is hashing on the different web plates of stack equipment 1 Data message stack equipment 2 can be sent to by direct connected link.
It as shown in figure 2f, is the plain edition web plate not comprising data forwarding port and the web plate comprising data forwarding port Data forwarding port connection schematic diagram when coexisting.Wherein, stack equipment 1 includes 3 web plates, and web plate 1 and web plate 2 respectively include 1 A data forwarding port, web plate 3 do not include data forwarding port, and stack equipment 2 includes 2 web plates, and web plate 4 includes 2 data Forward port, web plate 5 does not include data forwarding port, two data forwarding ports of web plate 4 respectively with web plate 1 and web plate 2 The connection of data forwarding port, in this way, two direct connected links are established between web plate 1 and web plate 4 and web plate 2 and web plate 4, for Need the data message forwarded across stack equipment that can be sent to stack equipment 2 by direct connected link on stack equipment 1.
In a kind of possible embodiment, each web plate for including on stack equipment can respectively with same stack equipment Connection, this embodiment is as shown in Fig. 2 b- Fig. 2 e.In the embodiment of another possibility, include on stack equipment Part web plate is connect with other stack equipments, and different web plates connects different stackings as shown in figure 2f or in stack equipment Equipment, as shown in Figure 2 g, the web plate 2 on the 11 field stack equipment 2 of web plate on stack equipment 1 connect, the net on stack equipment Plate 12 is connect with the web plate 3 on stack equipment 3.
It should be noted that above-mentioned data forwarding port can be general network port, it is also possible to high speed forward port, For example, can be HG mouthfuls, can be connected by high speed forward line between two data forwarding ports, compared to general network end Mouthful, high speed forward port can also improve datagram while reducing forward-path detour raising data message forwarding efficiency Literary forwarding speed.
Based on the web plate that the above-mentioned embodiment of the present disclosure provides, the embodiment of the present disclosure provides a kind of data forwarding method, this The data forwarding method that open embodiment provides can be applied on the web plate of stack equipment, as shown in figure 3, may include following Step:
S31, data to be forwarded message is received, purpose equipment mark is carried in data to be forwarded message.
As shown in fig. 4 a, for according to the data message forwarding network structure of disclosure embodiment.Pending data message After from cable card board 1 into stack equipment 1, cable card board 1 inquires MAC according to the target MAC (Media Access Control) address carried in data to be forwarded message Table searches the port for forwarding the message to be forwarded, if determining that the port for forwarding message to be forwarded does not belong to according to the port found Determine that the forwarding outlet of message to be forwarded is HG mouthfuls in cable card board 1, and according to MODPORT_MAP table, then it will by forwarding chip Message to be forwarded is packaged into HG message and is sent to web plate 1.As shown in Figure 4 b, it is the structural schematic diagram of HG heading, is reported in HG It include the purpose equipment mark (DstDev) of message to be forwarded in literary head.
S32, if it is judged that the data message that message to be forwarded transmits between different stack equipments, then set according to purpose Standby mark determines the data forwarding port of connection purpose stack equipment.
Web plate 1 determines that the forwarding outlet of data to be forwarded message is the stacking plate of stack equipment according to MODPORT_MAP table HG mouth, it is determined that the data message that data to be forwarded message transmits between different stack equipments.It is wrapped according in HG heading The data forwarding port of the purpose equipment identifier lookup connection purpose equipment contained.
In a kind of possible embodiment, a port mapping table can be increased on web plate, when the data on web plate After direct connected link is established in data forwarding port on forwarding port and other stack equipments, according to the equipment mark of opposite end stack equipment The data forwarding port-mark for knowing and connecting the stack equipment establishes mapping relations between the two and is stored in port mapping table In, in this way, web plate 1 can be identified according to the purpose equipment carried in HG heading, it is searched in the port mapping table of storage Corresponding data forwarding port-mark determines that the corresponding data forwarding port of data forwarding port-mark found is connection mesh Stack equipment data forwarding port.
It should be noted that if existing between network interface card different on stack equipment and other each stack equipments direct-connected Link, in this way, message to be forwarded can be transmitted to any network interface card and is forwarded by the cable card board where data message incoming interface, In In a kind of possible embodiment, if data to be forwarded message flow is larger, cable card board where data message incoming interface may be used also It is forwarded so that the message to be forwarded received is distributed to the web plate in stack equipment according to load-balancing algorithm.
In another embodiment, if network interface card different on stack equipment is connected from different stack equipments, have When body is implemented, it is accurately forwarded corresponding purpose stack equipment in order to which purpose equipment is identified different data messages, then each net The port mapping table that itself is established can be sent to the cable card board where data message incoming interface by plate, and cable card board stores web plate mark Corresponding relationship between knowledge and its port mapping table sent, as shown in table 1:
Table 1
In this way, cable card board can include the purpose according to the purpose equipment identifier lookup carried in the data message received The port mapping table of device identification identifies corresponding web plate forwarding to the web plate found according to the port mapping table and receives Data message, the data message forwarding received is forwarded to corresponding web plate.
S33, the direct-connected chain between the data forwarding port determined and the data forwarding port of purpose stack equipment is utilized Road forwards the data to be forwarded message.
When it is implemented, web plate 1 determine local terminal connection purpose equipment data forwarding port after, according to its with connect mesh Stack equipment data forwarding port between direct connected link forward message to be forwarded to purpose stack equipment.
In this example, web plate 1 is according to the data forwarding port for connecting web plate 2 inquired, according to direct-connected between web plate 2 Data to be forwarded packet is transmitted to web plate 2 by link, as the line board 4 where web plate 2 is forwarded to outgoing interface, finally by forwarding core Piece is descapsulated into ether network packet and issues from outgoing interface.
It should be noted that can be turned using process shown in Fig. 3 in the embodiment of the present disclosure for data traffic Hair can be forwarded control flow according to stacking link shown in FIG. 1, i.e., in the embodiment of the present disclosure, will set across stacking Standby data traffic and control flow separation.According to the data forwarding method of the embodiment of the present disclosure, only need cable card board 1 to The encapsulation of HG message is carried out when web plate 1 E-Packets, and compared with the prior art, reduces 3 HG encapsulation/decapsulated Journey reduces process of tabling look-up twice, to improve data forwarding efficiency.
When it is implemented, since all cable card boards on stack equipment are connected with web plate, and according to the embodiment of the present disclosure, net Plate is connected with the web plate of the stack equipment of direct connected link opposite end again, i.e., all cable card boards of local terminal stack equipment and opposite end are stacked and set Standby cable card board can be dumped mutually the master control borad control of stacking device, as shown in Figure 5.The master control borad of two stack equipments as a result, Mutual backup can be mutually used as.Based on this, in the embodiment of the present disclosure, when the master control borad of local terminal stack equipment is due to abnormal heavy Qi Shi forwards data to be forwarded under the master control borad control of the stack equipment of direct connected link opposite end connection without restarting cable card board Message avoids the interruption of data message forwarding, improves data to guarantee that master control borad is restarted period data message and normally forwarded The reliability of message forwarding switches back into the master control borad control by local terminal stack equipment again after the completion of local terminal stack equipment is restarted.
It should be noted that if connection stack equipment have it is multiple, can according to certain election regulation, for example, Select etc. the stack equipment for electing highest priority as master according to priority set by user or according to MAC Address size Stack equipment, in specific implementation, if each stack equipment operates normally, the cable card board in each stack equipment is each autonomous The forwarding for carrying out data message under the control of plate is controlled, is restarted if the master control borad of any stack equipment is abnormal, it can be The forwarding of data message is carried out under the control of the master control borad of main stack equipment.
It, can be according to for example, if there is direct connected link between a certain stack equipment and other multiple stack equipments The sequential selection of the corresponding selection priority of other stack equipments from high to low goes out a stack equipment, and the master control borad being contained by it connects Line board on the stack equipment of pipe master control borad exception.
Based on the same inventive concept, a kind of data forwarding device is additionally provided in the embodiment of the present disclosure, due to above-mentioned apparatus The principle solved the problems, such as is similar to data forwarding method, therefore the implementation of above-mentioned apparatus may refer to the implementation of method, repetition Place repeats no more.
As shown in fig. 6, the structural schematic diagram of its data forwarding device provided for the embodiment of the present disclosure, comprising:
Receiving unit 61 carries purpose equipment in the data to be forwarded message for receiving data to be forwarded message Mark;
Determination unit 62, if for judging that the message to be forwarded is different stackings according to purpose equipment mark The data message transmitted between equipment then identifies the data forwarding port for determining purpose stack equipment according to the purpose equipment, The data forwarding port is connect with other stack equipments;
Data forwarding unit 63 is straight between port and the data forwarding port determined for being forwarded using Local Data Connected link, Xiang Suoshu purpose stack equipment forward the data to be forwarded message.
In a kind of possible embodiment, the determination unit 62 is specifically used for being existed according to purpose equipment mark In the port mapping table of storage, searches the purpose equipment and identify corresponding data forwarding port-mark;Determine the number found It is the data forwarding port of the purpose stack equipment according to the corresponding data forwarding port of forwarding port-mark.
In a kind of possible embodiment, the data forwarding device of embodiment of the present disclosure offer, further includes:
Data forwarding control unit, for when master control borad is restarted, in the stack equipment of direct connected link opposite end connection The lower forwarding data to be forwarded message of master control borad control.
In a kind of possible embodiment, the message to be forwarded is that cable card board is identified according to the purpose equipment, really Surely the port mapping table comprising purpose equipment mark, identifies according to the corresponding web plate of the port mapping table to corresponding net What plate was sent, the port mapping table is that the web plate is sent to the cable card board.
In a kind of possible embodiment, the data forwarding port includes HG mouthfuls of high speed.
For convenience of description, above each section is divided by function describes respectively for each module (or unit).Certainly, In Implement to realize the function of each module (or unit) in same or multiple softwares or hardware when the disclosure.
The embodiment of the present disclosure additionally provides a kind of web plate, and the web plate is provided at least one data forwarding port, described Data forwarding port is connect with the data forwarding port of opposite end stack equipment;And the web plate includes above-mentioned data forwarding Device.
After describing the data forwarding method and device of disclosure illustrative embodiments, next, introducing basis The network equipment of the another exemplary embodiment of the disclosure.
Person of ordinary skill in the field it is understood that various aspects of the disclosure can be implemented as system, method or Program product.Therefore, various aspects of the disclosure can be with specific implementation is as follows, it may be assumed that complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
In some possible embodiments, at least one processing can be included at least according to the network equipment of the disclosure Device and at least one processor.Wherein, the memory is stored with program code, when said program code is by the processing When device executes, so that the processor executes the number according to the various illustrative embodiments of the disclosure of this specification foregoing description According to the step in retransmission method.For example, the processor can execute step S31 as shown in Figure 3, receive data to be forwarded Message, if carrying purpose equipment mark and step S32 in data to be forwarded message, being judged according to purpose equipment mark The data message that message to be forwarded transmits between different stack equipments then identifies according to purpose equipment and determines purpose stack equipment Data forwarding port, the data forwarding port is connect with other stack equipments;And step S33, utilize Local Data turn The direct connected link started between mouth and the data forwarding port determined, Xiang Suoshu purpose stack equipment forward the number to be forwarded According to message.
The network equipment 70 of this embodiment according to the disclosure is described referring to Fig. 7.The network that Fig. 7 is shown is set Standby 70 be only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in fig. 7, the network equipment 70 is showed in the form of universal computing device.The component of the network equipment 70 may include But it is not limited to: at least one above-mentioned processor 71, above-mentioned at least one processor 72, (including the storage of the different system components of connection Device 72 and processor 71) bus 73.
Bus 73 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, processor or the local bus using any bus structures in a variety of bus structures.
Memory 72 may include the readable medium of form of volatile memory, such as random access memory (RAM) 721 And/or cache memory 722, it can further include read-only memory (ROM) 723.
Memory 72 can also include program/utility 725 with one group of (at least one) program module 724, this The program module 724 of sample includes but is not limited to: operating system, one or more application program, other program modules and journey It may include the realization of network environment in ordinal number evidence, each of these examples or certain combination.
The network equipment 70 can also be communicated with one or more external equipments 74 (such as keyboard, sensing equipment etc.), may be used also Enable a user to the equipment interacted with the network equipment 70 communication with one or more, and/or with enable the network equipment 70 Any equipment (such as router, modem etc.) communicated with one or more of the other calculating equipment communicates.This Kind communication can be carried out by input/output (I/O) interface 75.Also, the network equipment 70 can also pass through network adapter 76 With one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication. As shown, network adapter 76 is communicated by bus 73 with other modules for the network equipment 70.It will be appreciated that though figure In be not shown, can in conjunction with the network equipment 70 use other hardware and/or software module, including but not limited to: microcode, equipment Driver, redundant processor, external disk drive array, RAID system, tape drive and data backup storage system etc..
In some possible embodiments, the various aspects for the data forwarding method that the disclosure provides are also implemented as A kind of form of program product comprising program code, when described program product is run on network devices, described program generation Code is for making the network equipment execute the data according to the various illustrative embodiments of the disclosure of this specification foregoing description Step in retransmission method, for example, the network equipment can execute step S31 as shown in Figure 3, receive data to be forwarded Message, if carrying purpose equipment mark and step S32 in data to be forwarded message, being judged according to purpose equipment mark The data message that message to be forwarded transmits between different stack equipments then identifies according to purpose equipment and determines purpose stack equipment Data forwarding port, the data forwarding port is connect with other stack equipments;And step S33, utilize Local Data turn The direct connected link started between mouth and the data forwarding port determined, Xiang Suoshu purpose stack equipment forward the number to be forwarded According to message.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example may be-but not limited to-electricity, magnetic, optical, electromagnetic, red The system of outside line or semiconductor, device or device, or any above combination.The more specific example of readable storage medium storing program for executing (non exhaustive list) includes: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc Read memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The program product of embodiment of the present disclosure shown for resource can use the read-only storage of portable compact disc Device (CD-ROM) and including program code, and can run on the computing device.However, the program product of the disclosure is not limited to This, in this document, readable storage medium storing program for executing can be any tangible medium for including or store program, which can be commanded Execution system, device or device use or in connection.
Readable signal medium may include in a base band or as the data-signal that carrier wave a part is propagated, wherein carrying Readable program code.The data-signal of this propagation can take various forms, including --- but being not limited to --- electromagnetism letter Number, optical signal or above-mentioned any appropriate combination.Readable signal medium can also be other than readable storage medium storing program for executing it is any can Read medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or Program in connection.
The program code for including on readable medium can transmit with any suitable medium, including --- but being not limited to --- Wirelessly, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with any combination of one or more programming languages come write for execute the disclosure operation program Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind --- including local area network (LAN) or extensively Domain net (WAN)-be connected to user calculating equipment, or, it may be connected to external computing device (such as utilize Internet service Provider is connected by internet).
It should be noted that although being referred to several unit or sub-units of device in the above detailed description, this stroke It point is only exemplary not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more The feature and function of unit can embody in a unit.Conversely, the feature and function of an above-described unit can It is to be embodied by multiple units with further division.
In addition, although describing the operation of method of disclosure in the accompanying drawings with particular order, this do not require that or Hint must execute these operations in this particular order, or have to carry out shown in whole operation be just able to achieve it is desired As a result.Additionally or alternatively, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/or by one Step is decomposed into execution of multiple steps.
It should be understood by those skilled in the art that, embodiment of the disclosure can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the disclosure Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the disclosure, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The disclosure is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present disclosure Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiment of the present disclosure has been described, created once a person skilled in the art knows basic Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of disclosure range.
Obviously, those skilled in the art can carry out various modification and variations without departing from the essence of the disclosure to the disclosure Mind and range.In this way, if these modifications and variations of the disclosure belong to the range of disclosure claim and its equivalent technologies Within, then the disclosure is also intended to include these modifications and variations.

Claims (10)

1. a kind of data forwarding method characterized by comprising
Data to be forwarded message is received, purpose equipment mark is carried in the data to be forwarded message;
If it is judged that the data message that the message to be forwarded transmits between different stack equipments, then set according to the purpose Standby mark determines the data forwarding port of connection purpose stack equipment, and the data forwarding port is connect with other stack equipments;
Using the direct connected link between the data forwarding port determined and the data forwarding port of purpose stack equipment, institute is forwarded State data to be forwarded message.
2. the method as described in claim 1, which is characterized in that identified according to the purpose equipment and determine that connection purpose stacking is set Standby data forwarding port, specifically includes:
According to purpose equipment mark in the port mapping table of storage, searches the purpose equipment and identify corresponding data turn Send out port-mark;
Determine that the corresponding data forwarding port of data forwarding port-mark found is the number for connecting the purpose stack equipment According to forwarding port.
3. method according to claim 1 or 2, which is characterized in that the method is applied in stack equipment, and the stacking is set Standby includes master control borad;And
The method, further includes:
During local terminal master control borad abnormal restarting, under the master control borad control of the stack equipment of direct connected link opposite end connection Forward the data to be forwarded message.
4. method according to claim 2, which is characterized in that further include cable card board in the stack equipment;And it is described to The port mapping table to E-Packet for cable card board according to the purpose equipment identifier lookup comprising purpose equipment mark;According to The corresponding web plate of the port mapping table is identified to be sent to corresponding web plate, and the port mapping table is that the web plate is sent to The cable card board.
5. method according to claim 1 or 2, which is characterized in that the data forwarding port includes high speed forward port HG Mouthful.
6. a kind of data forwarding device characterized by comprising
Receiving unit carries purpose equipment mark for receiving data to be forwarded message in the data to be forwarded message;
Determination unit, if for according to the purpose equipment mark judge the message to be forwarded be different stack equipments it Between the data message that transmits, then the data forwarding port for determining connection purpose stack equipment, institute are identified according to the purpose equipment Data forwarding port is stated to connect with other stack equipments;
Data forwarding unit, for using between the data forwarding port determined and the data forwarding port of purpose stack equipment Direct connected link, forward the data to be forwarded message.
7. device as claimed in claim 6, which is characterized in that
The determination unit, specifically in the port mapping table of storage, searching the mesh according to purpose equipment mark The corresponding data forwarding port-mark of device identification;Determine the corresponding data forwarding end of data forwarding port-mark found Mouth is the data forwarding port for connecting the purpose stack equipment.
8. a kind of web plate, which is characterized in that the web plate is provided at least one data forwarding port, the data forwarding port It is connect with the data forwarding port of opposite end stack equipment;The web plate includes the dress of data forwarding described in claim 6 or 7 It sets.
9. a kind of network equipment, which is characterized in that including at least one processor and at least one processor, wherein described Memory is stored with computer program, when described program is executed by the processor, so that the processor perform claim is wanted The step of seeking 1~5 any claim the method.
10. a kind of computer readable storage medium, which is characterized in that it is stored with the computer journey that can be executed by the network equipment Sequence, when described program is run on network devices, so that the network equipment perform claim requires 1~5 any the method The step of.
CN201910705532.8A 2019-08-01 2019-08-01 Data forwarding method and device, network board, network equipment and storage medium Active CN110519079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910705532.8A CN110519079B (en) 2019-08-01 2019-08-01 Data forwarding method and device, network board, network equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910705532.8A CN110519079B (en) 2019-08-01 2019-08-01 Data forwarding method and device, network board, network equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110519079A true CN110519079A (en) 2019-11-29
CN110519079B CN110519079B (en) 2022-11-25

Family

ID=68624399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910705532.8A Active CN110519079B (en) 2019-08-01 2019-08-01 Data forwarding method and device, network board, network equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110519079B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111490933A (en) * 2020-03-31 2020-08-04 新华三信息安全技术有限公司 Bidirectional forwarding detection switching method and edge device
CN112235212A (en) * 2020-09-11 2021-01-15 新华三信息安全技术有限公司 Message forwarding method and programmable frame type switching equipment
CN114024902A (en) * 2022-01-05 2022-02-08 紫光恒越技术有限公司 Method and device for forwarding stacked messages, electronic equipment and readable storage medium
CN116016388A (en) * 2022-12-30 2023-04-25 苏州盛科通信股份有限公司 Message serial editing method and device, electronic equipment and storage medium
CN116016388B (en) * 2022-12-30 2024-07-02 苏州盛科通信股份有限公司 Message serial editing method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006184A (en) * 2010-11-09 2011-04-06 福建星网锐捷网络有限公司 Management method, device and network device of stack link
CN103581274A (en) * 2012-08-09 2014-02-12 杭州华三通信技术有限公司 Message forwarding method and device in stacking system
CN110011941A (en) * 2019-03-18 2019-07-12 新华三信息安全技术有限公司 A kind of message forwarding method and equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006184A (en) * 2010-11-09 2011-04-06 福建星网锐捷网络有限公司 Management method, device and network device of stack link
CN103581274A (en) * 2012-08-09 2014-02-12 杭州华三通信技术有限公司 Message forwarding method and device in stacking system
CN110011941A (en) * 2019-03-18 2019-07-12 新华三信息安全技术有限公司 A kind of message forwarding method and equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111490933A (en) * 2020-03-31 2020-08-04 新华三信息安全技术有限公司 Bidirectional forwarding detection switching method and edge device
CN112235212A (en) * 2020-09-11 2021-01-15 新华三信息安全技术有限公司 Message forwarding method and programmable frame type switching equipment
CN112235212B (en) * 2020-09-11 2022-04-26 新华三信息安全技术有限公司 Message forwarding method and programmable frame type switching equipment
CN114024902A (en) * 2022-01-05 2022-02-08 紫光恒越技术有限公司 Method and device for forwarding stacked messages, electronic equipment and readable storage medium
CN114024902B (en) * 2022-01-05 2022-04-08 紫光恒越技术有限公司 Method and device for forwarding stacked messages, electronic equipment and readable storage medium
CN116016388A (en) * 2022-12-30 2023-04-25 苏州盛科通信股份有限公司 Message serial editing method and device, electronic equipment and storage medium
CN116016388B (en) * 2022-12-30 2024-07-02 苏州盛科通信股份有限公司 Message serial editing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110519079B (en) 2022-11-25

Similar Documents

Publication Publication Date Title
US11463511B2 (en) Model-based load balancing for network data plane
US10210008B2 (en) Control server, service providing system, and method of providing a virtual infrastructure
CN101702657B (en) Hot backup method of NAT service and equipment
CN110519079A (en) A kind of data forwarding method, device, web plate, the network equipment and storage medium
CN109088820B (en) Cross-device link aggregation method and device, computing device and storage medium
CN108270676B (en) Network data processing method and device based on Intel DPDK
CN108768692A (en) A kind of network creation method, relevant device and system
CN104717137A (en) Managing data flows in overlay networks
CN105610710A (en) Methods and apparatus for standard protocol validation mechanisms deployed over switch fabric system
CN109361606A (en) A kind of message handling system and the network equipment
CN103581274B (en) Message forwarding method and device in stacking system
CN102347867A (en) Processing method and equipment for stacking splitting detection
CN106664235B (en) Method and device for fusing software defined network and traditional network
CN110034993A (en) Transmit method, equipment and the network system of data
CN1946061B (en) Method and device for fast processing message
CN104780111A (en) Packet forwarding method and device in virtualized network as well as virtualized network
CN110830574B (en) Method for realizing intranet load balance based on docker container
CN110519302A (en) A kind of method and apparatus of anti-message aggression
CN104378299A (en) Flow table entry processing method and device
CN105763462B (en) A kind of method and interchanger handling stacking splitting
CN104639437A (en) Forwarding method and apparatus of broadcast messages in stack system
US9479438B2 (en) Link aggregation based on virtual interfaces of VLANs
CN110311861B (en) Method and device for guiding data flow
CN106059964B (en) Message forwarding method and device
CN110365578A (en) Network interface control and link switch-over method, device, the network equipment and 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
GR01 Patent grant
GR01 Patent grant