CN106330787A - Data packet transmission method, devices and system - Google Patents

Data packet transmission method, devices and system Download PDF

Info

Publication number
CN106330787A
CN106330787A CN201510375067.8A CN201510375067A CN106330787A CN 106330787 A CN106330787 A CN 106330787A CN 201510375067 A CN201510375067 A CN 201510375067A CN 106330787 A CN106330787 A CN 106330787A
Authority
CN
China
Prior art keywords
node device
packet
host node
switching equipment
host
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
CN201510375067.8A
Other languages
Chinese (zh)
Other versions
CN106330787B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510375067.8A priority Critical patent/CN106330787B/en
Publication of CN106330787A publication Critical patent/CN106330787A/en
Application granted granted Critical
Publication of CN106330787B publication Critical patent/CN106330787B/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
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric

Abstract

The invention discloses a node system and is used for solving the technical problem that each node device in a cabinet needs to be connected with a top-of-rack switch, so the hardware demand for the top-of-rack switch is relatively high. The system comprises multiple node devices, wherein at least one node device in the multiple node devices are master node devices, the other node devices are slave node devices, each master node device is connected with a switching device, each master node device controls communication between at least one slave node device and the switching device. The invention also discloses a data packet transmission method and corresponding devices.

Description

A kind of data pack transmission method, equipment and system
Technical field
The present invention relates to communication technical field, particularly to a kind of data pack transmission method, equipment and system.
Background technology
In prior art, many times can (such as server be also likely to be it certainly by multiple node devices His node device) it is put in a rack, form cluster, all node devices in a rack all connect To the switch that this rack is corresponding, this switch owing to would be normally located on rack top, therefore one As also referred to as frame topcross change planes, frame topcross is changed planes and is connected with core switch, thus is connected to by rack Network.
At present, separate between each node device in a rack, each node device and frame top Switch connects, and is changed planes and real-time performance communication by frame topcross.The drawback of present this connected mode is, If the quantity of the node device in rack is more, then be accomplished by frame topcross and change planes there is abundant port Being connected with each node device, the hardware requirement changing planes frame topcross is higher, also occupies frame topcross and changes planes More resource.And, if the port that frame topcross is changed planes is not enough, may result in rack A little node devices cannot connect to network.
Summary of the invention
The embodiment of the present invention provides a kind of data pack transmission method, equipment and system, for solving in rack Each node device needs to be connected to frame topcross and changes planes, and the technology that the hardware requirement of changing planes frame topcross is higher is asked Topic.
First aspect, it is provided that a kind of node system, including:
Multiple node devices, at least one node device in the plurality of node device is host node device, Remaining node device is from node device;
Wherein, each host node device is all connected with switching equipment, and each host node device control respectively to Few one communicates with described switching equipment from node device.
Optionally, the plurality of node device is connected two-by-two.
Second aspect, it is provided that a kind of data pack transmission method, including:
Switching equipment receives the first packet;
Described switching equipment according to the destination address of described first packet, and the address of host node device with Corresponding relation between the address of node device, determines that the first host node that described first packet is corresponding sets Standby address;The destination address of described first packet corresponds to first from node device;Wherein, described One host node device controls at least one respectively and communicates with described switching equipment from node device, and described One is at least one from node device one described from node device;
Described first packet is sent to described first host node device by described switching equipment.
Optionally,
Before described first packet is sent to described first host node device by described switching equipment, also wrap Include:
Described first packet is packaged by described switching equipment, the destination of the first packet after encapsulation Location corresponds to described first host node device;
Described first packet is sent to described first host node device by described switching equipment, including:
The first packet after described encapsulation is sent to described first host node device by described switching equipment.
The third aspect, it is provided that a kind of data pack transmission method, including:
Host node device receives the first packet after the encapsulation that switching equipment sends;
The first packet after described encapsulation is decapsulated by described host node device, obtains the first data Bag;
Described first packet, according to the destination address of described first packet, is sent by described host node device To first from node device;Wherein, described host node device controls at least one respectively from node device and institute State switching equipment to communicate, described first from node device be described at least one from node device one Individual.
Optionally, described method also includes:
Described host node device receives the second the second packet sent from node device;Described second from node Equipment is at least one from node device one described;
If the equipment that the destination address of described second packet is corresponding is not belonging to node system, the most described host node Described second packet is sent to described switching equipment by equipment;Described node system is described host node device The system at place.
Optionally, described method also includes:
Described host node device receives the second the second packet sent from node device;Described second from node Equipment is at least one from node device one described;
If the equipment that the destination address of described second packet is corresponding is the arbitrary of the second host node device control From node device, described second packet is sent to described second host node and sets by the most described host node device Standby;Described host node device and described second host node device belong to same node system.
Fourth aspect, it is provided that a kind of switching equipment, including:
Memorizer, is used for storing instruction;
Receptor, for receiving the first packet;
Processor, is used for performing described instruction, according to the destination address of described first packet, and main joint The address of point device and the corresponding relation between the address of node device, determine that described first packet is corresponding The address of the first host node device;The destination address of described first packet sets from node corresponding to first Standby;Wherein, described first host node device controls at least one respectively from node device and described switching equipment Communicating, described first is at least one from node device one described from node device;
Transmitter, for being sent to described first host node device by described first packet.
Optionally,
Described processor is additionally operable to: at described transmitter, described first packet is sent to described first main joint Before point device, described first packet is packaged, the destination address pair of the first packet after encapsulation First host node device described in Ying Yu;
Described transmitter is additionally operable to: the first packet after described encapsulation is sent to described first host node and sets Standby.
5th aspect, it is provided that a kind of host node device, including:
Memorizer, is used for storing instruction;
Receptor, the first packet after receiving the encapsulation that switching equipment sends;
Processor, is used for performing described instruction, decapsulates the first packet after described encapsulation, To the first packet;
Transmitter, for the destination address according to described first packet, is sent to described first packet First from node device;Wherein, described host node device controls at least one from node device respectively with described Switching equipment communicates, described first from node device be described at least one from node device one Individual.
Optionally,
Described receptor is additionally operable to: receive the second the second packet sent from node device;Described second from Node device is at least one from node device one described;
Described processor is additionally operable to: if equipment corresponding to the destination address of described second packet is not belonging to node System, then be sent to described switching equipment by described transmitter by described second packet;Described node system System is the system at described host node device place.
Optionally,
Described receptor is additionally operable to: receive the second the second packet sent from node device;Described second from Node device is at least one from node device one described;
Described processor is additionally operable to: if equipment corresponding to the destination address of described second packet is the second main joint It is arbitrary from node device that point device controls, then by described transmitter, described second packet is sent to institute State the second host node device;Described host node device and described second host node device belong to same node system System.
6th aspect, it is provided that a kind of switching equipment, including:
Receiver module, for receiving the first packet;
Determine module, for the destination address according to described first packet, and the address of host node device And the corresponding relation between the address of node device, determines the first host node that described first packet is corresponding The address of equipment;The destination address of described first packet corresponds to first from node device;Wherein, described First host node device controls at least one respectively and communicates with described switching equipment from node device, described First is at least one from node device one described from node device;
Sending module, for being sent to described first host node device by described first packet.
7th aspect, it is provided that a kind of host node device, including:
Receiver module, the first packet after receiving the encapsulation that switching equipment sends;
Decapsulation module, for decapsulating the first packet after described encapsulation, obtains the first data Bag;
Sending module, for the destination address according to described first packet, sends described first packet To first from node device;Wherein, described host node device controls at least one respectively from node device and institute State switching equipment to communicate, described first from node device be described at least one from node device one Individual.
The embodiment of the present invention provides a kind of node system, it is believed that the node included by node system sets For divide into multiple groups, often organizing a corresponding host node device and at least one is from node device, often in group All being communicated with switching equipment by the host node device that this group is corresponding from node device, so, exchange sets Standby only need to be connected with the host node device often organized, and can be not provided with being connected pass between node device System, switching equipment needs the number of devices connected to be significantly reduced, it is not necessary to arranged for switching equipment Many connectivity ports, reduce the hardware requirement to switching equipment, reduce the cost of switching equipment, also save Save the resource of switching equipment, can avoid the occurrence of simultaneously as far as possible and lead because the port number of switching equipment is limited Cause some node devices in rack and cannot connect to the situation appearance of network.It addition, set without each node For being all connected with switching equipment, also reduce the complexity of annexation.
Accompanying drawing explanation
Fig. 1 is a kind of schematic diagram of embodiment of the present invention interior joint system;
Fig. 2 is the another kind of schematic diagram of embodiment of the present invention interior joint system;
Fig. 3 is the flow chart of the first data pack transmission method in the embodiment of the present invention;
Fig. 4 is the flow chart of the second data pack transmission method in the embodiment of the present invention;
Fig. 5 is the structural representation of switching equipment in the embodiment of the present invention;
Fig. 6 is the structural representation of host node device in the embodiment of the present invention;
Fig. 7 is the structured flowchart of switching equipment in the embodiment of the present invention;
Fig. 8 is the structured flowchart of host node device in the embodiment of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the present invention Accompanying drawing in embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that Described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based in the present invention Embodiment, those of ordinary skill in the art obtained under not making creative work premise all its His embodiment, broadly falls into the scope of protection of the invention.
It addition, the terms "and/or", a kind of incidence relation describing affiliated partner, expression can There are three kinds of relations, such as, A and/or B, can represent: individualism A, there is A and B simultaneously, Individualism B these three situation.It addition, character "/" herein, if no special instructions, before typicallying represent Rear affiliated partner is the relation of a kind of "or".
Below in conjunction with the accompanying drawings the preferred embodiment of the present invention is described in detail.
Referring to Fig. 1, the embodiment of the present invention provides a kind of node system, and described node system can include many Individual node device, these multiple node devices use Master (leading)-Slave (from) pattern disposes. At least one node device in multiple node devices is that host node device (or is referred to as Master Node (host node)) 101, remaining for from node device (or be referred to as Slave Node (from Node)) 102.
Host node device 101 shown in Fig. 1 and the quantity from node device 102 do not represent the quantity of reality, Simply one citing.
Refer to Fig. 2, for the alternatively possible Organization Chart of node system.As can be seen from Figure 2, node system In between node device 102, can have between annexation, and host node device 101 two two-by-two Two can also have annexation.So, can directly communicate between node device 102, it is not necessary to Carry out transfer by host node device 101, reduce information transmission path, improve information transfer efficiency, also drop The burden of low host node device 101.Same, can also directly communicate between host node device 101, Without carrying out transfer by switching equipment, reduce information transmission path, improve information transfer efficiency, also reduce The burden of switching equipment.
Certainly, to realize communication between two node devices, needs have can interconnective interface.Example As, if two node devices all employ SOC based on ARM (a kind of microprocessor) processor (System on Chip, SOC(system on a chip)), this SOC can provide relatively more ports, then the two joint Point device can be attached by the port that this SOC provides, and then realizes communication.
In the embodiment of the present invention, switching equipment may refer to switch (Switch), or may also mean that it He has the equipment of information forwarding capability, such as, if host node device 101 has information forwarding capability, then Switching equipment can also be served as.
If host node device 101 serves as switching equipment, then this host node device 101 can have two kinds of connections Mode:
1, this host node device 101 is only connected with each host node device 101 in node system, and not with Connect from node device 102, i.e. this host node device 101 actually only completes the function of switching equipment, and Do not complete other functions of host node device 101 itself;
2, this host node device 101 is in addition to being connected with each host node device 101 in node system, Also connecting from node device 102 with corresponding, i.e. this host node device 101 is except completing the merit of switching equipment Outside energy, other functions of host node device 101 to be completed itself.
The embodiment of the present invention is not restricted for concrete implementation mode, can select according to the actual requirements.
Optionally, in the embodiment of the present invention, if switching equipment refers to switch, then switching equipment may belong to This node system, such as this node system are a cabinet system, then switching equipment can be this cabinet system Frame topcross change planes, or, it is permissible that switching equipment can also be not belonging to this node system, such as switching equipment It it is core switch.
Node device in the embodiment of the present invention, such as, can include the equipment such as server, terminal.
Wherein, terminal is properly termed as UE (user equipment, subscriber equipment), wireless terminal, moves eventually End, subscri er unit (Subscriber Unit), subscriber station (Subscriber Station), movement station (Mobile Station), mobile station (Mobile), distant station (Remote Station), (Access Point, connects AP Access point), remote terminal (Remote Terminal), access terminal (Access Terminal), user terminal (User Terminal), user agent (User Agent) or subscriber's installation (User Device) etc..
Referring to Fig. 3, based on same inventive concept, the embodiment of the present invention provides a kind of data pack transmission method, The flow process of described method is described as follows.
Step 301: switching equipment receives the first packet.
If switching equipment is core switching device, then core switching device receives other network equipments and sends The first packet, if switching equipment is the switching equipment in node system, such as frame topcross is changed planes, that Switching equipment receives the first packet that core switching device sends.The destination address of the first packet is corresponding Equipment can be that any one in the node system shown in Fig. 1 or Fig. 2 is from node device 102.
Step 302: switching equipment is according to the destination address of the first packet, and host node device 101 Address and the corresponding relation between the address of node device 102, determine the first master that the first packet is corresponding The address of node device 101.
The destination address of the first packet corresponding to the first packet destination node to be arrived, such as the Equipment corresponding to the destination address of one packet is first from node device 102.
The embodiment of the present invention is referred to as first by first from the host node device 101 of node device 102 correspondence main Node device 101, the first host node device 101 controls at least one respectively from node device 102 and exchange Equipment communicates, and first is at least one from node device 102 one described from node device 102.
Switching equipment, when receiving the packet need to being forwarded in node system from network, first obtains number According to the destination address of bag, if the ground that the destination address of packet is the host node device 101 in node system Location, then switching equipment can directly deliver a packet to corresponding host node device 101, and if data The destination address of bag is the address from node device 102 in node system, then switching equipment needs first by number It is sent to this host node device 101 from node device 102 correspondence according to bag, then will by host node device 101 This packet is transmitted to this from node device 102.
Therefore, switching equipment stores the address of each host node device 101 in node system with corresponding The corresponding relation between the address of node device 102, so, switching equipment is only it is to be understood that node system In any one from the address of node device 102, it is possible to know corresponding host node device 101 Address, same, switching equipment only it is to be understood that the address of any one host node device 101 in node system, It is known that the corresponding address from node device 102.
In the prior art, in switch, the information of storage includes the transmission road corresponding to each destination address Footpath, such as, if according to prior art, then switch, after receiving a packet, can obtain this The destination address of packet, obtains, according to the destination address of this packet, the transmission path that this packet is corresponding, Transmission path further according to this packet sends this packet.And in the embodiment of the present invention, in switching equipment only The address of host node device 101 and the corresponding relation between the address of node device 102 need to be stored, it is not necessary to Storing the transmission path that each address is corresponding, the quantity of information of storage decreases very compared to for prior art Many, alleviate the burden of switching equipment.
Step 303: the first packet is sent to the first host node device 101 by switching equipment.
First packet, behind the address determining the first host node device 101, can be sent to by switching equipment First host node device 101.
Optionally, in the embodiment of the present invention, the first packet is sent to the first host node device by switching equipment 101, including:
First packet is packaged by switching equipment, and the destination address of the first packet after encapsulation corresponds to First host node device 101;
The first packet after encapsulation is sent to the first host node device 101 by switching equipment.
That is, switching equipment if it is determined that the destination address of the first packet be one from node device 102, that Switching equipment is determining that this, also will be according to main joint after the host node device 101 of node device 102 correspondence The address of point device 101 carries out Reseal to the first packet, so could be sent to by the first packet Corresponding host node device 101.
Referring to Fig. 4, based on same inventive concept, the embodiment of the present invention provides another kind of packet transmission side Method, described method is method corresponding with the method in Fig. 3 flow process.The flow process of described method is described as follows.
Step 401: host node device 101 receives the first packet after the encapsulation that switching equipment sends.
Such as, the first host node that the host node device 101 in Fig. 4 flow process may refer in Fig. 3 flow process sets Standby 101.
Having been described above in Fig. 3 flow process, switching equipment is after receiving the first packet, if the first data Bag be destined in node system one is from node device 102, then switching equipment can inquire about this from node The address of the host node device 101 of equipment 102 correspondence, and according to the ground of the host node device 101 inquired Location carries out Reseal to the first packet, the first packet after being encapsulated, then by first after encapsulation Packet is sent to this host node device 101, then, host node device 101 will receive after encapsulation One packet.
Step 402: the first packet after encapsulation is decapsulated by host node device 101, obtains first Packet.
After the host node device 101 first packet after receiving encapsulation, the first packet need to be solved Encapsulation, obtains the first packet, and the destination address of the first packet is exactly its of host node device 101 control In one from node device 102 (the most foregoing first from node device 102).
Step 403: the first packet, according to the destination address of the first packet, is sent out by host node device 101 Give first from node device 102.
Wherein, the first host node device 101 controls at least one respectively from node device 102 and switching equipment Communicating, first is at least one one from node device 102 from node device 102.
Host node device 101 after obtaining the first packet, can according to the destination address of the first packet, First packet is sent to correspondence from node device 102.
In the embodiment of the present invention, host node device 101 is except to be transmitted to the packet received from network Corresponding outside node device 102, also the packet sent from node device 102 is sent to exchange Equipment.
Optionally, in the embodiment of the present invention, described method also includes:
Host node device 101 receives the second the second packet sent from node device 102;Second from node Equipment 102 is at least one one from node device 102;
If the equipment that the destination address of the second packet is corresponding is not belonging to node system, then host node device 101 Second packet is sent to switching equipment;Node system is the system at host node device 101 place.
Such as, node system can be the node system shown in Fig. 1 or Fig. 2, and host node device 101 is permissible It it is any one host node device 101 in this node system.
Second can be same equipment from node device 102 and first from node device 102, or can also It is different equipment.
Host node device 101 receive one from node device 102 send packet after, obtain this number According to the destination address of bag, if the equipment corresponding to the destination address of this packet is not belonging to this host node device The node system at 101 places, then host node device 101 needs to send the packet to switching equipment, This packet could be transmitted to the equipment that the destination address of this packet is corresponding by so switching equipment.
Optionally, in the embodiment of the present invention, described method also includes:
Host node device 101 receives the second the second packet sent from node device 102;Second from node Equipment 102 is at least one one from node device 102;
If the equipment that the destination address of the second packet is corresponding be second host node device 101 control arbitrary from Node device 102, then the second packet is sent to the second host node device 101 by host node device 101; Host node device 101 and the second host node device 101 belong to same node system.
Such as, node system can be the node system shown in Fig. 1 or Fig. 2, and host node device 101 is permissible It it is any one host node device 101 in this node system.
Second can be same equipment from node device 102 and first from node device 102, or can also It is different equipment.
Host node device 101 receive one from node device 102 send packet after, obtain this number According to the destination address of bag, if the equipment corresponding to the destination address of this packet belongs to this host node device The node system at 101 places, then host node device 101 can set without sending the packet to exchange Standby, and the host node device 101 (that the destination address that directly sends the packet to this packet is corresponding Two host node devices 101), alleviate the workload of switching equipment, also reduce information transmission path.
Host node device 101 directly sends the packet to the second host node device 101, have two kinds may:
1, the destination address of this packet is exactly the destination address of the second host node device 101, then host node Equipment 101 directly sends the packet to the second host node device 101;
2, the destination address of this packet is the 3rd destination address from node device 102, and the 3rd from node The host node device 101 of equipment 102 correspondence is the second host node device 101.So, this host node device 101 need to inquire about the address of the second host node device 101 and corresponding each ground from node device 102 Corresponding relation between location, determines that the 3rd is the second master from the host node device 101 of node device 102 correspondence Node device 101, then by this packet Reseal, the destination address of the packet after encapsulation is the second master The destination address of node device 101, and the packet after encapsulation is sent to the second host node device 101. After second host node device 101 receives the packet after encapsulation, the packet after encapsulation is decapsulated, Obtaining former packet, former packet is sent to the 3rd from node device by the second host node device 101 more afterwards 102。
The premise that this mode realizes is, stores each master in node system in this host node device 101 The address of node device 101 and the corresponding relation between the address of node device 102 of correspondence.In other words, The premise that this mode realizes is, in each host node device 101 in node system, except storage the machine Address is with the corresponding corresponding relation between the address of node device 102, also want in memory node system Other host node devices 101 address and the corresponding address from node device between corresponding relation.
Described above is the scheme communicated by host node device 101 between node device 102. In the embodiment of the present invention, such as second from node device 102 packet to be sent, such as, send packet 1, If the node device that the destination address of packet 1 is corresponding and second belongs to same node from node device 102 System, then, and what no matter the destination address of packet 1 was corresponding is host node device 101 or from node device 102, packet 1 directly can be sent to the destination address of packet 1 from node device 102 by second Corresponding node device.
Visible, in the embodiment of the present invention, can have following several logical between the node device of a node system Letter mode:
1, can directly communicate between node device 102, it is also possible to by corresponding host node device 101 Communicate;These can correspond to same host node device 101 from node device 102, or can also Corresponding to different host node devices 101;
2, can directly communicate between host node device 101, it is also possible to communicated by switching equipment;
3, host node device 101 and corresponding to this host node device 101 can between node device 102 With directly communication;
4, host node device 101 and corresponding to another host node device 101 between node device 102, Can directly communicate, or can also be by entering from the host node device 101 of node device 102 corresponding to this Row communication.
One is reasonable to be achieved in that: if corresponding to two or many of same host node device 101 Individual to communicate from node device 102, then can directly communicate, it is not necessary to entered by host node device 101 Row transfer, improves information transfer efficiency;And if corresponding to two of different host node device 101 from Node device 102 to communicate, then can carry out transfer by corresponding host node device 101, it is to avoid Make mistakes.
Certainly, during implementing, it is achieved mode is not limited to this, such as, corresponding to different main joints Two of point device 101 use the mode of directly communication to communicate from node device 102, not by correspondence Host node device 101 carry out transfer, also can realize.As front having been introduced, the most seldom repeat.
The equipment in the embodiment of the present invention is introduced below in conjunction with accompanying drawing.
Referring to Fig. 5, based on same inventive concept, the embodiment of the present invention provides a kind of switching equipment, described Switching equipment can include memorizer 501, processor 502, receptor 503 and transmitter 504.Memorizer 501, receptor 503 can be connected with processor 502 respectively with transmitter 504, such as, can be to pass through Bus connects, or can also be to be connected by single connecting line.Wherein, make implementing, receive Device 503 and transmitter 504 can be two independent functional modules, or can also be one and have reception With the module of sending function, if receptor 503 and transmitter 504 are modules, then can also be by This module is referred to as transceiver.
Memorizer 501, performs the instruction of required by task for storing processor 502;
Receptor 503, for receiving the first packet;
Processor 502, for performing the instruction of memorizer 501 storage, according to the destination of the first packet Location, and the address of host node device 101 and the corresponding relation between the address of node device 102, really The address of the first host node device 101 that fixed first packet is corresponding;The destination address of the first packet is corresponding In first from node device 102;Wherein, the first host node device 101 controls at least one respectively from node Equipment 102 communicates with switching equipment, and first is that at least one is from node device 102 from node device 102 In one;
Transmitter 504, for being sent to the first host node device 101 by the first packet.
Optionally, in the embodiment of the present invention,
Processor 502 is additionally operable to: at transmitter 504, first packet is sent to the first host node device 101 , being packaged the first packet, the destination address of the first packet after encapsulation is main corresponding to first before Node device 101;
Transmitter 504 is additionally operable to: the first packet after encapsulation is sent to the first host node device 101.
Referring to Fig. 6, based on same inventive concept, the embodiment of the present invention provides a kind of host node device 101, Host node device 101 can include memorizer 601, processor 602, receptor 603 and transmitter 604. Memorizer 601, receptor 603 can be connected with processor 602 respectively with transmitter 604, the most permissible It is to be connected by bus, or can also be to be connected by single connecting line.Wherein, make implementing, Receptor 603 and transmitter 604 can be two independent functional modules, or can also be one and have Receive and the module of sending function, if receptor 603 and transmitter 604 are modules, then also may be used So that this module is referred to as transceiver.
Memorizer 601, performs the instruction of required by task for storing processor 602;
Receptor 603, the first packet after receiving the encapsulation that switching equipment sends;
Processor 602, for performing the instruction of memorizer 601 storage, enters the first packet after encapsulation Row decapsulation, obtains the first packet;
Transmitter 604, for the destination address according to the first packet, is sent to first by the first packet From node device 102;Wherein, host node device 101 control respectively at least one from node device 102 with Switching equipment communicates, and first is at least one one from node device 102 from node device 102.
Optionally, in the embodiment of the present invention,
Receptor 603 is additionally operable to: receive the second the second packet sent from node device 102;Second from Node device 102 is at least one one from node device 102;
Described processor 602 is additionally operable to: if equipment corresponding to the destination address of the second packet is not belonging to node System, then be sent to switching equipment by transmitter 604 by the second packet;Node system is that host node sets The system at standby 101 places.
Optionally, in the embodiment of the present invention,
Receptor 603 is additionally operable to: receive the second the second packet sent from node device 102;Second from Node device 102 is at least one one from node device 102;
Processor 602 is additionally operable to: if equipment corresponding to the destination address of the second packet is that the second host node sets Standby 101 control arbitrary from node device 102, then by transmitter 604, second packet is sent to the Two host node devices 101;Host node device 101 and the second host node device 101 belong to same node system.
Referring to Fig. 7, based on same inventive concept, the embodiment of the present invention provides a kind of switching equipment, described Switching equipment can include receiver module 701, determine module 702 and sending module 703.
Receiver module 701, for receiving the first packet;
Determine module 702, for according to the destination address of the first packet, and host node device 101 Address and the corresponding relation between the address of node device 102, determine the first master that the first packet is corresponding The address of node device 101;The destination address of the first packet corresponds to first from node device 102;Its In, the first host node device 101 controls at least one respectively and leads to switching equipment from node device 102 Letter, first is at least one one from node device 102 from node device 102;
Sending module 703, for being sent to the first host node device 101 by the first packet.
Optionally, in the embodiment of the present invention, switching equipment can also include package module;
Package module is used for: at sending module 703, first packet is sent to the first host node device 101 , being packaged the first packet, the destination address of the first packet after encapsulation is main corresponding to first before Node device 101;
Sending module 703 is used for: the first packet after encapsulation is sent to the first host node device 101.
Referring to Fig. 8, based on same inventive concept, the embodiment of the present invention provides a kind of host node device 101, Host node device 101 can include receiver module 801, decapsulation module 802 and sending module 803.
Receiver module 801, the first packet after receiving the encapsulation that switching equipment sends;
Decapsulation module 802, for decapsulating the first packet after encapsulation, obtains the first data Bag;
Sending module 803, for according to the destination address of the first packet, is sent to the by the first packet One from node device 102;Wherein, host node device 101 controls at least one respectively from node device 102 Communicating with switching equipment, first is at least one one from node device 102 from node device 102 Individual.
Optionally, in the embodiment of the present invention,
Receiver module 801 is additionally operable to: receive the second the second packet sent from node device 102;Second It is at least one one from node device 102 from node device 102;
Sending module 803 is additionally operable to: if equipment corresponding to the destination address of the second packet is not belonging to node system System, then be sent to switching equipment by the second packet;Node system is the system at host node device 101 place.
Optionally, in the embodiment of the present invention,
Receiver module 801 is additionally operable to: receive the second the second packet sent from node device 102;Second It is at least one one from node device 102 from node device 102;
Sending module 803 is additionally operable to: if equipment corresponding to the destination address of the second packet is the second host node It is arbitrary from node device 102 that equipment 101 controls, then described second packet is sent to the second host node Equipment 101;Host node device 101 and the second host node device 101 belong to same node system.
The embodiment of the present invention provides a kind of node system, it is believed that the node included by node system sets For divide into multiple groups, often organizing a corresponding host node device 101 and at least one be from node device 102, Often all being led to switching equipment by the host node device 101 that this group is corresponding from node device 102 in group Letter, so, switching equipment only need to be connected with the host node device 101 often organized, and from node device 102 Between can be not provided with annexation, switching equipment needs the number of devices connected to be significantly reduced, Without arranging too much connectivity port for switching equipment, reduce the hardware requirement to switching equipment, reduce The cost of switching equipment, also saves the resource of switching equipment, can avoid the occurrence of because exchange sets simultaneously as far as possible The situation that standby port number is limited and causes some node devices in rack to cannot connect to network occurs. It addition, be connected with switching equipment without each node device, also reduce the complexity of annexation.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, only with above-mentioned The division of each functional module is illustrated, and in actual application, can above-mentioned functions be divided as desired Join and completed by different functional modules, the internal structure of device will be divided into different functional modules, with complete Become all or part of function described above.The specific works mistake of the system of foregoing description, device and unit Journey, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed system, device and side Method, can realize by another way.Such as, device embodiment described above is only schematically , such as, described module or the division of unit, be only a kind of logic function and divide, actual can when realizing There to be other dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another and be Unite, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other Conjunction or direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication Connect, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, as The parts that unit shows can be or may not be physical location, i.e. may be located at a place, or Can also be distributed on multiple NE.Can select therein some or all of according to the actual needs Unit realizes the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the application can be integrated in a processing unit, Can also be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit In.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ SFU software functional unit Form realizes.
If described integrated unit realizes and as independent production marketing using the form of SFU software functional unit Or when using, can be stored in a computer read/write memory medium.Based on such understanding, this Shen Part that prior art is contributed by technical scheme please the most in other words or this technical scheme complete Portion or part can embody with the form of software product, and this computer software product is stored in a storage In medium, including some instructions with so that calculating equipment (can with server, or the network equipment etc.) Or processor (processor) performs all or part of step of method described in each embodiment of the application.And Aforesaid storage medium includes: hard disk, read only memory (ROM, Read-Only Memory), random Various Jie that can store program code such as access memorizer (RAM, Random Access Memory) Matter.
Specifically, the computer program instructions that a kind of data pack transmission method in the embodiment of the present application is corresponding Can be stored on the storage mediums such as hard disk, corresponding with a kind of data pack transmission method when in storage medium Computer program instructions read or when being performed by an electronic equipment, comprise the steps:
Switching equipment receives the first packet;
Described switching equipment according to the destination address of described first packet, and the address of host node device with Corresponding relation between the address of node device, determines that the first host node that described first packet is corresponding sets Standby address;The destination address of described first packet corresponds to first from node device;Wherein, described One host node device controls at least one respectively and communicates with described switching equipment from node device, and described One is at least one from node device one described from node device;
Described first packet is sent to described first host node device by described switching equipment.
Optionally,
In described storage medium storage and step: described first packet is sent to institute by described switching equipment Stating the first host node device, corresponding computer instruction before being executed, also includes:
Described first packet is packaged by described switching equipment, the destination of the first packet after encapsulation Location corresponds to described first host node device;
In described storage medium storage and step: described first packet is sent to institute by described switching equipment State the first host node device, corresponding computer instruction during being performed, including:
The first packet after described encapsulation is sent to described first host node device by described switching equipment.
Specifically, the computer program that the another kind of data pack transmission method in the embodiment of the present application is corresponding refers to Order can be stored on the storage mediums such as hard disk, when in storage medium with another kind of data pack transmission method When corresponding computer program instructions is read by an electronic equipment or is performed, comprise the steps:
Host node device receives the first packet after the encapsulation that switching equipment sends;
The first packet after described encapsulation is decapsulated by described host node device, obtains the first data Bag;
Described first packet, according to the destination address of described first packet, is sent by described host node device To first from node device;Wherein, described host node device controls at least one respectively from node device and institute State switching equipment to communicate, described first from node device be described at least one from node device one Individual.
Optionally, refer to when the computer program corresponding with another kind of data pack transmission method in storage medium When making by an electronic equipment reading or be performed, also comprise the steps:
Described host node device receives the second the second packet sent from node device;Described second from node Equipment is at least one from node device one described;
If the equipment that the destination address of described second packet is corresponding is not belonging to node system, the most described host node Described second packet is sent to described switching equipment by equipment;Described node system is described host node device The system at place.
Optionally, refer to when the computer program corresponding with another kind of data pack transmission method in storage medium When making by an electronic equipment reading or be performed, also comprise the steps:
Described host node device receives the second the second packet sent from node device;Described second from node Equipment is at least one from node device one described;
If the equipment that the destination address of described second packet is corresponding is the arbitrary of the second host node device control From node device, described second packet is sent to described second host node and sets by the most described host node device Standby;Described host node device and described second host node device belong to same node system.
The above, above example only in order to the technical scheme of the application is described in detail, but with The explanation of upper embodiment is only intended to help to understand method and the core concept thereof of the present invention, and it is right to should not be construed as The restriction of the present invention.Those skilled in the art, in the technical scope that the invention discloses, can think easily The change arrived or replacement, all should contain within protection scope of the present invention.

Claims (14)

1. a node system, it is characterised in that including:
Multiple node devices, at least one node device in the plurality of node device is host node device, Remaining node device is from node device;
Wherein, each host node device is all connected with switching equipment, and each host node device control respectively to Few one communicates with described switching equipment from node device.
2. node system as claimed in claim 1, it is characterised in that the plurality of node device is two-by-two It is connected.
3. a data pack transmission method, it is characterised in that including:
Switching equipment receives the first packet;
Described switching equipment according to the destination address of described first packet, and the address of host node device with Corresponding relation between the address of node device, determines that the first host node that described first packet is corresponding sets Standby address;The destination address of described first packet corresponds to first from node device;Wherein, described One host node device controls at least one respectively and communicates with described switching equipment from node device, and described One is at least one from node device one described from node device;
Described first packet is sent to described first host node device by described switching equipment.
4. method as claimed in claim 3, it is characterised in that
Before described first packet is sent to described first host node device by described switching equipment, also wrap Include:
Described first packet is packaged by described switching equipment, the destination of the first packet after encapsulation Location corresponds to described first host node device;
Described first packet is sent to described first host node device by described switching equipment, including:
The first packet after described encapsulation is sent to described first host node device by described switching equipment.
5. a data pack transmission method, it is characterised in that including:
Host node device receives the first packet after the encapsulation that switching equipment sends;
The first packet after described encapsulation is decapsulated by described host node device, obtains the first data Bag;
Described first packet, according to the destination address of described first packet, is sent by described host node device To first from node device;Wherein, described host node device controls at least one respectively from node device and institute State switching equipment to communicate, described first from node device be described at least one from node device one Individual.
6. method as claimed in claim 5, it is characterised in that described method also includes:
Described host node device receives the second the second packet sent from node device;Described second from node Equipment is at least one from node device one described;
If the equipment that the destination address of described second packet is corresponding is not belonging to node system, the most described host node Described second packet is sent to described switching equipment by equipment;Described node system is described host node device The system at place.
7. method as claimed in claim 5, it is characterised in that described method also includes:
Described host node device receives the second the second packet sent from node device;Described second from node Equipment is at least one from node device one described;
If the equipment that the destination address of described second packet is corresponding is the arbitrary of the second host node device control From node device, described second packet is sent to described second host node and sets by the most described host node device Standby;Described host node device and described second host node device belong to same node system.
8. a switching equipment, it is characterised in that including:
Memorizer, is used for storing instruction;
Receptor, for receiving the first packet;
Processor, is used for performing described instruction, according to the destination address of described first packet, and main joint The address of point device and the corresponding relation between the address of node device, determine that described first packet is corresponding The address of the first host node device;The destination address of described first packet sets from node corresponding to first Standby;Wherein, described first host node device controls at least one respectively from node device and described switching equipment Communicating, described first is at least one from node device one described from node device;
Transmitter, for being sent to described first host node device by described first packet.
9. switching equipment as claimed in claim 8, it is characterised in that
Described processor is additionally operable to: at described transmitter, described first packet is sent to described first main joint Before point device, described first packet is packaged, the destination address pair of the first packet after encapsulation First host node device described in Ying Yu;
Described transmitter is additionally operable to: the first packet after described encapsulation is sent to described first host node and sets Standby.
10. a host node device, it is characterised in that including:
Memorizer, is used for storing instruction;
Receptor, the first packet after receiving the encapsulation that switching equipment sends;
Processor, is used for performing described instruction, decapsulates the first packet after described encapsulation, To the first packet;
Transmitter, for the destination address according to described first packet, is sent to described first packet First from node device;Wherein, described host node device controls at least one from node device respectively with described Switching equipment communicates, described first from node device be described at least one from node device one Individual.
11. host node devices as claimed in claim 10, it is characterised in that
Described receptor is additionally operable to: receive the second the second packet sent from node device;Described second from Node device is at least one from node device one described;
Described processor is additionally operable to: if equipment corresponding to the destination address of described second packet is not belonging to node System, then be sent to described switching equipment by described transmitter by described second packet;Described node system System is the system at described host node device place.
12. host node devices as claimed in claim 10, it is characterised in that
Described receptor is additionally operable to: receive the second the second packet sent from node device;Described second from Node device is at least one from node device one described;
Described processor is additionally operable to: if equipment corresponding to the destination address of described second packet is the second main joint It is arbitrary from node device that point device controls, then by described transmitter, described second packet is sent to institute State the second host node device;Described host node device and described second host node device belong to same node system System.
13. 1 kinds of switching equipment, it is characterised in that including:
Receiver module, for receiving the first packet;
Determine module, for the destination address according to described first packet, and the address of host node device And the corresponding relation between the address of node device, determines the first host node that described first packet is corresponding The address of equipment;The destination address of described first packet corresponds to first from node device;Wherein, described First host node device controls at least one respectively and communicates with described switching equipment from node device, described First is at least one from node device one described from node device;
Sending module, for being sent to described first host node device by described first packet.
14. 1 kinds of host node devices, it is characterised in that including:
Receiver module, the first packet after receiving the encapsulation that switching equipment sends;
Decapsulation module, for decapsulating the first packet after described encapsulation, obtains the first data Bag;
Sending module, for the destination address according to described first packet, sends described first packet To first from node device;Wherein, described host node device controls at least one respectively from node device and institute State switching equipment to communicate, described first from node device be described at least one from node device one Individual.
CN201510375067.8A 2015-06-30 2015-06-30 Data packet transmission method, equipment and system Active CN106330787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510375067.8A CN106330787B (en) 2015-06-30 2015-06-30 Data packet transmission method, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510375067.8A CN106330787B (en) 2015-06-30 2015-06-30 Data packet transmission method, equipment and system

Publications (2)

Publication Number Publication Date
CN106330787A true CN106330787A (en) 2017-01-11
CN106330787B CN106330787B (en) 2020-07-24

Family

ID=57722107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510375067.8A Active CN106330787B (en) 2015-06-30 2015-06-30 Data packet transmission method, equipment and system

Country Status (1)

Country Link
CN (1) CN106330787B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110119129A (en) * 2019-05-10 2019-08-13 上海新联合电气有限公司 Industrial control network
CN113301129A (en) * 2021-05-11 2021-08-24 郑州阿帕斯数云信息科技有限公司 Data transmission method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1921476A (en) * 2006-08-21 2007-02-28 华为技术有限公司 Business cascade method and system applied between narrow-band communication equipments
CN103583021A (en) * 2011-03-31 2014-02-12 亚马逊技术公司 Incremental high radix network scaling
CN103780496A (en) * 2012-10-17 2014-05-07 杭州华三通信技术有限公司 Message forwarding method and message forwarding device applied to star-shaped stacking system
CN104486174A (en) * 2014-12-08 2015-04-01 广东欧珀移动通信有限公司 Networking method and networking device for intelligent terminals
CN104520837A (en) * 2012-07-27 2015-04-15 华为技术有限公司 Recursive, all-to-all network topologies
CN104518959A (en) * 2013-09-30 2015-04-15 张永杰 Method and device for communication between devices
CN204331578U (en) * 2014-11-04 2015-05-13 中国电子科技集团公司第三十二研究所 Blade server

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1921476A (en) * 2006-08-21 2007-02-28 华为技术有限公司 Business cascade method and system applied between narrow-band communication equipments
CN103583021A (en) * 2011-03-31 2014-02-12 亚马逊技术公司 Incremental high radix network scaling
CN104520837A (en) * 2012-07-27 2015-04-15 华为技术有限公司 Recursive, all-to-all network topologies
CN103780496A (en) * 2012-10-17 2014-05-07 杭州华三通信技术有限公司 Message forwarding method and message forwarding device applied to star-shaped stacking system
CN104518959A (en) * 2013-09-30 2015-04-15 张永杰 Method and device for communication between devices
CN204331578U (en) * 2014-11-04 2015-05-13 中国电子科技集团公司第三十二研究所 Blade server
CN104486174A (en) * 2014-12-08 2015-04-01 广东欧珀移动通信有限公司 Networking method and networking device for intelligent terminals

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110119129A (en) * 2019-05-10 2019-08-13 上海新联合电气有限公司 Industrial control network
CN113301129A (en) * 2021-05-11 2021-08-24 郑州阿帕斯数云信息科技有限公司 Data transmission method and device

Also Published As

Publication number Publication date
CN106330787B (en) 2020-07-24

Similar Documents

Publication Publication Date Title
CN106664261B (en) A kind of methods, devices and systems configuring flow entry
US9973422B2 (en) Traffic interconnection between virtual devices
CN106790104B (en) IP communication and FC-AE-1553 communication means between multi-protocols emerging system, node
CN103023824B (en) Based on data transmission system and the method for peripheral component interface express passway PCIe
CN102891813B (en) Support the ethernet port framework of multiple transmission mode
CN104243265A (en) Gateway control method, device and system based on virtual machine migration
CN103248526A (en) Communication equipment and method for achieving out-of-band monitoring and management, and master-slave switching method
CN103501236B (en) Network control plane logical topology generates method and device
CN109412922B (en) Method, forwarding device, controller and system for transmitting message
CN102511151A (en) Router, virtual cluster router system and establishing method thereof
CN104811382A (en) Data packet processing method and device
CN103401707A (en) Link aggregation method and access equipment
CN105812221B (en) The device and method of data transmission in virtual expansible Local Area Network
CN113328870B (en) Multi-node parallel working method of multi-protocol hybrid network
CN104584492A (en) Packet processing method, device and system
CN101901199B (en) Method and system for data transparent transmission
CN105991315A (en) Link protection method applied to SDN (software defined network), switching device and network controller
CN106330787A (en) Data packet transmission method, devices and system
CN104579973A (en) Message forwarding method and device of virtual cluster
CN102299862A (en) Quick forwarding equipment and method for two-layer tunnel
CN107181702B (en) Device for realizing RapidIO and Ethernet fusion exchange
CN103812775A (en) Method, device and system for forwarding messages
CN102710496B (en) For the data transmission system between multiple server, DIU data interface unit and data transmission method
CN102869045B (en) A kind of data transmission method and system
WO2019134637A1 (en) Method, device, and system for multi-type network virtualization overlay interconnection

Legal Events

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