CN106453156A - Communication method and apparatus between virtual devices - Google Patents

Communication method and apparatus between virtual devices Download PDF

Info

Publication number
CN106453156A
CN106453156A CN201610929277.1A CN201610929277A CN106453156A CN 106453156 A CN106453156 A CN 106453156A CN 201610929277 A CN201610929277 A CN 201610929277A CN 106453156 A CN106453156 A CN 106453156A
Authority
CN
China
Prior art keywords
message
port
interconnection port
interconnection
virtual unit
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
CN201610929277.1A
Other languages
Chinese (zh)
Other versions
CN106453156B (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 Information Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201610929277.1A priority Critical patent/CN106453156B/en
Publication of CN106453156A publication Critical patent/CN106453156A/en
Application granted granted Critical
Publication of CN106453156B publication Critical patent/CN106453156B/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/70Virtual switches

Landscapes

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

Abstract

The invention provides a communication method and apparatus between virtual devices. The communication method comprises the following steps: when an outlet port for forwarding a first message is an outlet direction of a local first interconnection port, looping up the first message to the inlet direction of the first interconnection port, then mirroring the first message from the inlet direction of the first interconnection port to the outlet direction of a second interconnection port of an opposite terminal virtual device, and forwarding the message to the inlet direction of the interconnection port by a loopback mechanism. Therefore, by adoption of the communication method and apparatus provided by the invention, the communication between multi-tenant virtual devices is achieved by an internal channel.

Description

A kind of communication means between virtual unit and device
Technical field
The present invention relates to communication technical field, the communication means between more particularly, to a kind of virtual unit and device.
Background technology
Multi-tenant virtual unit (hereinafter referred to as " virtual unit ") refers to draw a physical equipment by Intel Virtualization Technology It is divided into multiple stage virtual unit, every virtual unit has oneself exclusive software and hardware resources, independent operating, independently forwards, independent Offer business.In order to improve safety, need between different virtual units mutually isolated it is impossible to direction communication.
In prior art, communicated by insertion external module and cable in service port between virtual unit, no Only internal bandwidth can not be made full use of, also take up service port, affect Business Processing efficiency, and additionally increase module, The equipment such as port, cable lead to cost to raise.
Content of the invention
In view of this, the communication means between a kind of virtual unit of present invention offer and device are virtual in prior art to solve The problem of service port communication is taken between equipment.
Specifically, the present invention is achieved through the following technical solutions:
The present invention provides the communication means between a kind of virtual unit, and what methods described was applied in physical equipment virtual sets Standby, methods described includes:
In the outgoing direction that the exit port forwarding the first message is local first interconnection port, by described first message loopback To described first interconnection port enter direction, afterwards by described first message from described first interconnection port enter direction mirror picture to The outgoing direction of the second interconnection port of opposite end virtual unit, the second interconnection of described first interconnection port peer end of the connection virtual unit Port;
When opposite end virtual unit is by the outgoing direction of the second message mirror to local first interconnection port, by the second message ring Return to the first interconnection port enters direction, is that the second message determines the exit port forwarding and forwarded.
Further, described first message is entered direction mirror picture to the second of opposite end virtual unit from the first interconnection port The outgoing direction of interconnection port, including:
Locally finding the mirror policy that occurrence is the first interconnection port, the priority of described mirror policy is higher than virtual The priority of the isolation rule between equipment, described mirror policy also includes action-item, and described action-item is by the first message mirror Outgoing direction as the second interconnection port to opposite end virtual unit;
Action-item based on described mirror policy is by the second interconnection port of the first message mirror to opposite end virtual unit Outgoing direction.
Further, the exit port of the first message is forwarded to determine by following steps:
In the forwarding-table item locally finding the first message coupling;
The exit port of forwarding-table item is defined as forwarding the exit port of the first message.
Further, the exit port of the first message is forwarded to determine by following steps:
When to identify described first message be the message that the CPU on described physical equipment sends, by local first interconnection port Outgoing direction be appointed as forwarding the exit port of the first message.
Further, methods described also includes:
The exit port of described forwarding the first message is the outgoing direction of local first interconnection port is according to load balancing mode Go out from the first interconnection port group selection;
Described second message is to enter direction mirror as to this equipment by opposite end virtual unit from the second interconnection port;Its In, opposite end virtual unit is to select going out from the second interconnection port according to load balancing mode from the second interconnection port group Direction sends execution mirror image operation during the second message.
Based on identical design, the present invention also provides the communicator between a kind of virtual unit, and described device is applied to thing Virtual unit in reason equipment, described device includes:
Mirror image unit, for forward the first message exit port be local first interconnection port outgoing direction when, by institute That states that the first message loops back to described first interconnection port enters direction, afterwards by described first message from described first interconnection port Enter direction mirror picture to the outgoing direction of the second interconnection port of opposite end virtual unit, described first interconnection port peer end of the connection is virtual Second interconnection port of equipment;
Retransmission unit, in opposite end virtual unit by the outgoing direction of the second message mirror to local first interconnection port When, enter direction by what the second message was looped back to the first interconnection port, be that the second message determines the exit port forwarding and forwarded.
Further, described mirror image unit, specifically for locally finding the mirror image plan that occurrence is the first interconnection port Slightly, the priority of described mirror policy is higher than the priority of the isolation rule between virtual unit, and described mirror policy also includes Action-item, described action-item is by the outgoing direction of the second interconnection port of the first message mirror to opposite end virtual unit;Based on institute State the action-item of mirror policy by the outgoing direction of the second interconnection port of the first message mirror to opposite end virtual unit.
Further, described device also includes:
First determining unit, in the forwarding-table item locally finding the first message coupling;Exit port by forwarding-table item It is defined as forwarding the exit port of the first message.
Further, described device also includes:
When second determining unit is the message that the CPU on described physical equipment sends for identifying described first message, will The outgoing direction of local first interconnection port is appointed as forwarding the exit port of the first message.
Further, described device also includes:
Port select unit, for according to load balancing mode from local first interconnection port group selection the first interconnection port Outgoing direction as forward described first message exit port;
Described second message in described retransmission unit is to enter direction mirror by opposite end virtual unit from the second interconnection port As to this equipment;Wherein, opposite end virtual unit be according to load balancing mode select from the second interconnection port group from The outgoing direction of the second interconnection port sends execution mirror image operation during the second message.
As can be seen here, the present invention is by being the outgoing direction of local first interconnection port in the exit port forwarding the first message When, enter direction by what described first message looped back to described first interconnection port, afterwards by described first message from described first Interconnection port enter direction mirror picture to the outgoing direction of the second interconnection port of opposite end virtual unit, then through loopback mechanism, make report What literary composition was forwarded to this interconnection port enters direction.Therefore the present invention realizes leading between multi-tenant virtual unit by inner passage Letter, improves the utilization rate of internal bandwidth, and the networking breaking away from External cable limits so that disposing more flexibility and reliability, and drops Low hardware cost.
Brief description
Fig. 1 is the handling process of the communication means between a kind of one of illustrative embodiments of present invention virtual unit Figure;
Fig. 2 is the connection diagram of the multi-tenant virtual unit in a kind of illustrative embodiments of the present invention;
The Message processing flow chart of the virtual unit in a kind of illustrative embodiments of Fig. 3 present invention;
The hardware knot of the communicator place equipment between the virtual unit in a kind of illustrative embodiments of Fig. 4 a present invention Composition;
The building-block of logic of the communicator between a kind of one of illustrative embodiments of Fig. 4 b present invention virtual unit.
Specific embodiment
In order to solve the problems, such as prior art, the invention provides the communication means between a kind of virtual unit and dress Put, during the outgoing direction being local first interconnection port by the exit port in forwarding the first message, by described first message loopback To described first interconnection port enter direction, afterwards by described first message from described first interconnection port enter direction mirror picture to The outgoing direction of the second interconnection port of opposite end virtual unit, then through loopback mechanism, make message be forwarded to entering of this interconnection port Direction.The communication that therefore present invention realizes between multi-tenant virtual unit by the inner passage between interconnection port, improves The utilization rate of internal bandwidth, the networking breaking away from External cable limits so that disposing more flexibility and reliability, and reduces hardware This.
Refer to Fig. 1, be the place of the communication means between a kind of one of illustrative embodiments of present invention virtual unit Reason flow chart, the method is applied to the virtual unit in physical equipment, at least includes two virtual units, thing in this physical equipment Reason equipment can provide the user setting function, if that is, user needs local virtual equipment and opposite end virtual unit to be communicated, Then can be configured in this physical equipment, specifically, can be in advance in local virtual equipment with opposite end virtual unit It is respectively provided with the first interconnection port and second interconnection port of neighborhood each other, methods described includes:
Step 101, forward the first message exit port be local first interconnection port outgoing direction when, by the first message Loop back to the first interconnection port enters direction;
In the present embodiment, local virtual equipment is forwarding the first interconnection port that the exit port of the first message is local to go out During direction, direction can be entered by what described first message looped back to described first interconnection port, wherein said outgoing direction refers to message From virtual unit to the direction of outgoing;Enter direction and refer to the direction that message enters from export-oriented virtual unit;As an embodiment, this In loopback refer to the first message is first forwarded to the link layer unit of physical equipment from the outgoing direction of described first interconnection port When (for example, mac/phy chip), judge whether the exit port of this first message is interconnection port, if so, then from link layer unit Enter direction by what the first message passed back to described first interconnection port;If it is not, then by the first message according to normal flow from first The outgoing direction of interconnection port is tabled look-up forwarding.In prior art, due to the message of outgoing direction is set in link layer can only outgoing Instruction, therefore the message of outgoing direction can only be sent to the equipment beyond physical equipment, so just needing in exit port by external Cable is realizing the interaction between virtual unit.And the present invention can by loopback mechanism by message from the outgoing direction of interconnection port Passing back to into direction, being forwarded by the inner passage between virtual unit further, thus saving external cable Expense, and the utilization rate of internal bandwidth can be improved.
Step 102, by the first message from the first interconnection port enter direction mirror picture to opposite end virtual unit second interconnection The outgoing direction of port;
In the present embodiment, mirror policy can be issued on local virtual equipment, mirror policy includes occurrence in advance And action-item, wherein occurrence for source port be the first interconnection port enter direction;Action-item is that the first message mirror is extremely right The outgoing direction of the second interconnection port of end virtual unit, can successfully be mirrored to opposite end virtual unit for guarantee message, can this mirror As the priority of strategy is higher than the priority of the isolation rule between virtual unit.The first interconnection port when local virtual equipment Enter after direction receives this first message, can locally find the mirror policy that occurrence is the first interconnection port, Ran Houji In described mirror policy action-item by the outgoing direction of the second interconnection port of the first message mirror to opposite end virtual unit;Then By the first packet loss at the first interconnection port.
Opposite end virtual unit, after the first message that the outgoing direction of the second interconnection port is connected to, can be reported first further Literary composition is looped back to the direction that enters of this second interconnection port, the loop back method principle phase in concrete loop back method and local virtual equipment With here is omitted.
In the same manner, when opposite end virtual unit is by the outgoing direction of the second message mirror to local first interconnection port, locally empty Propose and standby can enter direction by what the second message was looped back to the first interconnection port, if the destination address non-interconnected port of the second message Address, then for second message determine forward exit port and forwarded.
In optional embodiment of the present invention, local virtual equipment determines exit port specifically for the first message, first at this Ground finds the forwarding-table item of the first message coupling by source port;Then the exit port in this forwarding-table item is defined as forwarding The exit port of one message.
If additionally, the first message be by CPU send when directly to specify exit port be described first interconnection port, due to the One message does not carry out tabling look-up forwarding it is impossible to application mirror image is regular in exchange chip.Therefore, when local virtual equipment identifies institute When to state the first message be the protocol massages that the CPU on described physical equipment sends, can be by the side of going out of local first interconnection port To being appointed as forwarding the exit port of the first message;By this first message from the outgoing direction of the first interconnection port after forwarding process Loop back to the first interconnection port enters direction.
In optional embodiment of the present invention, local virtual equipment can will be local many including the first interconnection port Individual interconnection port aggregates into the first interconnection port group, and in the same manner, opposite end virtual unit can will be many including the second interconnection port Individual interconnection port aggregates into the second interconnection port group, and each local interconnection port group has uniquely corresponding interconnection port in opposite end Group.Therefore when the first interconnection port group receives the message being sent to the second interconnection port group, can by load balancing mode from Select the first interconnection port to carry out message forwarding in first interconnection port group, the first message is looped back to described first interconnection port Enter direction, afterwards the first message is entered direction mirror picture to the second interconnection port of opposite end virtual unit from the first interconnection port Outgoing direction.
When opposite end virtual unit sends the second message, can select from the second interconnection port group according to load balancing mode Select out from the outgoing direction of the second interconnection port as the exit port of the second message, after loopback, the second message second is interconnected The outgoing direction entering the first interconnection port to the first interconnection port group of local virtual equipment for the direction mirror picture of port.Therefore originally Invention can improve the utilization rate of bandwidth and the forward efficiency of message between virtual unit by load balancing.
For making the objects, technical solutions and advantages of the present invention become more apparent, with reference to Fig. 2 to the solution of the present invention It is described in further detail.
Refer to the connection diagram that Fig. 2 is multi-tenant virtual unit in the embodiment of the present invention, the wherein CPU of physical equipment May include master control borad CPU and multiple veneer CPU, such as veneer 1CPU to veneer NCPU, the CPU on every piece of board all with multi-tenant Virtual unit MDC1, MDC2 connect, wherein, each MDC both can be made up of the forwarding chip of a veneer or by The forwarding chip of multiple veneers is constituted, and the port of a forwarding chip can only belong to a MDC, as shown in Fig. 2 shown On MDC1, port P1 and P2 is set, MDC2 arranges port P3 and P4, described port P1, P2, P3, P4 are on network board Physical port.
In the prior art, if desired MDC1 is communicated with MDC2, then need the physical port on MDC1 and MDC2 Coupled together by physical circuit, and in embodiments of the invention, the script on network board can be needed to carry out physical cord The port that road connects is arranged to interconnection port, so that the interconnection port between MDC is communicated by inner passage, thus avoiding External cable.
In the present embodiment, if there is the corresponding relation of multiple interconnection port between MDC, plurality of interconnection port right Multiple interconnection port of the corresponding opposite end MDC of interconnection port that can be local MDC should be related to, or local MDC's is many One interconnection port of the corresponding opposite end MDC of individual interconnection port;Or be multiple interconnection port correspondence opposite end MDC of local MDC Multiple interconnection port;So the polymerization of these interconnection port can be become interconnection port group, the interconnection port of both end of which MDC Port number in group can be different.For example, if the port P3 of the port P1 of MDC1 and MDC2 is interconnection port, the end of MDC1 The port P4 of mouth P2 and MDC2 is interconnection port, then port P1 and port P2 can be polymerized to the interconnection port group 1 on MDC1; Port P3 and port P4 is polymerized to the interconnection port group 2 on MDC2.When interconnection port group receives message, can be according to load point The mode of load, selects an interconnection port and undertakes message forwarding work.Specific load sharing method is with subject of the present invention no Close, no longer describe in detail herein.
Refer to the Message processing flow process of Fig. 3, including step:
Step 301, reception message, determine the exit port of message;
In the present embodiment, when MDC1 receives when being data message of message by the port of itself, can be according to data The destination address of message searches two-layer retransmitting table/tri- layer retransmitting table, the exit port determining this data message on MDC2, due to Interconnection port group 1 and interconnection port group 2 is pre-set, then MDC1 can determine that the exit port of local terminal is between MDC1 and MDC2 Interconnection port in interconnection port group 1, for example, it is possible to go out end according to mode selection port P1 of load balancing as this message Mouthful.
Additionally, if this message is the protocol massages of 1 exit port specified receiving from CPU, this message does not forward List item, then be that the exit port that this message is specified is forwarded according to CPU.
Step 302, message is entered direction from what the outgoing direction of port was looped back to port;
In the present embodiment, when MDC1 determines the exit port of message for interconnection port P1, institute can be completed on forwarding chip After having repeating process, before interconnection port P1 is gone out, enter direction by what this message entered that downlink layer is looped back to this interconnection port P1. As shown in the four-headed arrow at Fig. 2 middle port P1, port P3.
Step 303, by this message mirror to opposite end interconnection port, and abandon the message of local terminal;
When message reaches after entering direction of interconnection port P1, the mirror image entering direction that source port is P1 is searched according to occurrence Strategy, the action-item that this mirror policy is recorded is specially the outgoing direction of message mirror to interconnection port P3;Thus further according to this Mirror policy, replicates this message to the outgoing direction of interconnection port P3;Then according to the drop policy pre-setting, MDC1 is mutual Packet loss on connection port P1.
Whether step 304, the exit port judging this message are interconnection port, if so, then go to step 302;If it is not, then turning step Rapid 305;
After MDC2 receives this message from the outgoing direction of interconnection port P3, two can be searched according to the destination address of this message Layer retransmitting table/tri- layer retransmitting table, determines whether the exit port of this message is interconnection port.
Step 305, this message is forwarded from the outgoing direction of this interconnection port, and terminate.
When the exit port determining this message is interconnection port, the operation of repeat step 301, until this message is forwarded to Target port;When determining the exit port non-interconnected port of this message, this message can be forwarded to target according to forwarding-table item Port.
Therefore, the present invention can carry out the intercommunication between virtual unit by inner passage under conditions of not needing line.
Based on identical design, the present invention also provides the communicator between a kind of virtual unit, and this device can pass through soft Part is realized it is also possible to be realized by way of hardware or software and hardware combining.As a example implemented in software, the virtual unit of the present invention Between communicator as the device on a logical meaning, be by meter corresponding in memorizer by the CPU of its place equipment Calculation machine programmed instruction runs after reading and forms.
Refer to Fig. 4 a, be the communicator 400 between a kind of one of illustrative embodiments of present invention virtual unit, Described device is applied to the virtual unit in physical equipment, and the basic running environment of this device includes CPU, memorizer, network interface, Exchange chip and other hardware, from logic level, the logical structure of this device 400 as shown in Figure 4 b, including:
Mirror image unit 401, for forward the first message exit port be local first interconnection port outgoing direction when, will What described first message looped back to described first interconnection port enters direction, afterwards from described first, described first message is interconnected end Mouthful enter direction mirror picture to the outgoing direction of the second interconnection port of opposite end virtual unit, described first interconnection port peer end of the connection is empty Propose the second standby interconnection port;
Retransmission unit 402, in opposite end virtual unit by the side of going out of the second message mirror to local first interconnection port Xiang Shi, enters direction by what the second message was looped back to the first interconnection port, is that the second message determines the exit port forwarding and carries out turning Send out.
Optionally, described mirror image unit 401, specifically for locally finding the mirror image plan that occurrence is the first interconnection port Slightly, the priority of described mirror policy is higher than the priority of the isolation rule between virtual unit, and described mirror policy also includes Action-item, described action-item is by the outgoing direction of the second interconnection port of the first message mirror to opposite end virtual unit;Based on institute State the action-item of mirror policy by the outgoing direction of the second interconnection port of the first message mirror to opposite end virtual unit.
Optionally, described device also includes:
First determining unit 403, in the forwarding-table item locally finding the first message coupling;By forwarding-table item go out end Mouth is defined as forwarding the exit port of the first message.
Optionally, described device also includes:
Second determining unit 404, for identifying that described first message is the message that the CPU on described physical equipment sends When, the outgoing direction of local first interconnection port is appointed as forwarding the exit port of the first message.
Optionally, described device also includes:
Port select unit 405, for interconnecting from local first interconnection port group selection first according to load balancing mode The outgoing direction of port is as the exit port forwarding described first message;
Described second message in described retransmission unit 402 is to enter direction by opposite end virtual unit from the second interconnection port Mirror image is to this equipment;Wherein, opposite end virtual unit is to select from the second interconnection port group according to load balancing mode Execution mirror image operation when the outgoing direction of the second interconnection port sends the second message.
As can be seen here, the present invention is by being the outgoing direction of local first interconnection port in the exit port forwarding the first message When, enter direction by what described first message looped back to described first interconnection port, afterwards by described first message from described first Interconnection port enter direction mirror picture to the outgoing direction of the second interconnection port of opposite end virtual unit, then through loopback mechanism, make report What literary composition was forwarded to this interconnection port enters direction.Therefore the present invention realizes leading between multi-tenant virtual unit by inner passage Letter, improves the utilization rate of internal bandwidth, and the networking breaking away from External cable limits so that disposing more flexibility and reliability, and drops Low hardware cost.
In said apparatus, the process of realizing of the function of unit and effect specifically refers to corresponding step in said method Realize process, will not be described here.
For device embodiment, because it corresponds essentially to embodiment of the method, thus real referring to method in place of correlation The part applying example illustrates.Device embodiment described above is only schematically, wherein said as separating component The unit illustrating can be or may not be physically separate, as the part that unit shows can be or can also It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to actual Need to select the purpose to realize application scheme for some or all of module therein.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and to implement.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention Within god and principle, any modification, equivalent substitution and improvement done etc., should be included within the scope of protection of the invention.

Claims (10)

1. the communication means between a kind of virtual unit is it is characterised in that methods described is applied to the virtual unit in physical equipment, Methods described includes:
In the outgoing direction that the exit port forwarding the first message is local first interconnection port, described first message is looped back to institute State the direction that enters of the first interconnection port, afterwards described first message is entered direction mirror picture to opposite end from described first interconnection port The outgoing direction of the second interconnection port of virtual unit, the second interconnection end of described first interconnection port peer end of the connection virtual unit Mouthful;
When opposite end virtual unit is by the outgoing direction of the second message mirror to local first interconnection port, the second message is looped back to First interconnection port enter direction, be second message determine forward exit port and forwarded.
2. method according to claim 1 is it is characterised in that described enter direction by the first message from the first interconnection port Mirror image to the second interconnection port of opposite end virtual unit outgoing direction, including:
Locally finding the mirror policy that occurrence is the first interconnection port, the priority of described mirror policy is higher than virtual unit Between isolation rule priority, described mirror policy also includes action-item, and described action-item is by the first message mirror extremely The outgoing direction of the second interconnection port of opposite end virtual unit;
Action-item based on described mirror policy is by the side of going out of the second interconnection port of the first message mirror to opposite end virtual unit To.
3. method according to claim 1 is it is characterised in that the exit port of forwarding the first message is true by following steps Fixed:
In the forwarding-table item locally finding the first message coupling;
The exit port of forwarding-table item is defined as forwarding the exit port of the first message.
4. method according to claim 1 is it is characterised in that the exit port of forwarding the first message is true by following steps Fixed:
When to identify described first message be the message that the CPU on described physical equipment sends, by going out of local first interconnection port Direction is appointed as forwarding the exit port of the first message.
5. method according to claim 1 is it is characterised in that methods described also includes:
Described forward the first message exit port be the outgoing direction of local first interconnection port be from the according to load balancing mode One interconnection port group selection goes out;
Described second message is to enter direction mirror as to this equipment by opposite end virtual unit from the second interconnection port;Wherein, right End virtual unit is to select the outgoing direction from the second interconnection port from the second interconnection port group according to load balancing mode Send execution mirror image operation during the second message.
6. the communicator between a kind of virtual unit is it is characterised in that described device is applied to the virtual unit in physical equipment, Described device includes:
Mirror image unit, in the exit port forwarding the first message be local first interconnection port outgoing direction when, by described the What one message looped back to described first interconnection port enters direction, afterwards by described first message entering from described first interconnection port Direction mirror picture to the second interconnection port of opposite end virtual unit outgoing direction, described first interconnection port peer end of the connection virtual unit The second interconnection port;
Retransmission unit, for when opposite end virtual unit is by the outgoing direction of the second message mirror to local first interconnection port, inciting somebody to action What the second message was looped back to the first interconnection port enters direction, is that the second message determines the exit port forwarding and forwarded.
7. device according to claim 6 it is characterised in that
Described mirror image unit, specifically for locally finding the mirror policy that occurrence is the first interconnection port, described mirror image plan Priority slightly is higher than the priority of the isolation rule between virtual unit, and described mirror policy also includes action-item, described behaviour It is by the outgoing direction of the second interconnection port of the first message mirror to opposite end virtual unit as item;Behaviour based on described mirror policy Make item by the outgoing direction of the second interconnection port of the first message mirror to opposite end virtual unit.
8. device according to claim 6 is it is characterised in that described device also includes:
First determining unit, in the forwarding-table item locally finding the first message coupling;The exit port of forwarding-table item is determined For forwarding the exit port of the first message.
9. device according to claim 6 is it is characterised in that described device also includes:
When second determining unit is the message that the CPU on described physical equipment sends for identifying described first message, will be local The outgoing direction of the first interconnection port is appointed as forwarding the exit port of the first message.
10. device according to claim 6 is it is characterised in that described device also includes:
Port select unit, for the going out from local first interconnection port group selection the first interconnection port according to load balancing mode Direction is as the exit port forwarding described first message;
Described second message in described retransmission unit be by opposite end virtual unit from the second interconnection port enter direction mirror picture to This equipment;Wherein, opposite end virtual unit is to select from second from the second interconnection port group according to load balancing mode The outgoing direction of interconnection port sends execution mirror image operation during the second message.
CN201610929277.1A 2016-10-31 2016-10-31 Communication means and device between a kind of virtual unit Active CN106453156B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610929277.1A CN106453156B (en) 2016-10-31 2016-10-31 Communication means and device between a kind of virtual unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610929277.1A CN106453156B (en) 2016-10-31 2016-10-31 Communication means and device between a kind of virtual unit

Publications (2)

Publication Number Publication Date
CN106453156A true CN106453156A (en) 2017-02-22
CN106453156B CN106453156B (en) 2019-09-06

Family

ID=58177389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610929277.1A Active CN106453156B (en) 2016-10-31 2016-10-31 Communication means and device between a kind of virtual unit

Country Status (1)

Country Link
CN (1) CN106453156B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108123899A (en) * 2017-12-21 2018-06-05 湖南恒茂高科股份有限公司 The statistical method and monitoring method of a kind of interchanger outlet message flow
CN109120554A (en) * 2018-09-25 2019-01-01 杭州迪普科技股份有限公司 A kind of flow mirror method and switching equipment based on true mirror image
CN109257284A (en) * 2017-07-14 2019-01-22 Emc知识产权控股有限公司 The system and method for physical data grouping isolation for the different tenants in multi-tenant protection storage environment
CN112422355A (en) * 2019-08-21 2021-02-26 明泰科技股份有限公司 Network transmission detection system
CN112751759A (en) * 2019-10-30 2021-05-04 华为技术有限公司 Routing information transmission method and device and data center internet
CN113207049A (en) * 2021-03-31 2021-08-03 新华三信息安全技术有限公司 Multicast forwarding method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752219A (en) * 2012-07-18 2012-10-24 杭州华三通信技术有限公司 Method for implementing virtual device (VD) interconnection and switching equipment
CN102870377A (en) * 2012-06-30 2013-01-09 华为技术有限公司 Monitoring method and device for virtual port
CN103795623A (en) * 2012-10-26 2014-05-14 杭州华三通信技术有限公司 Method and device for realizing traffic interflow between virtual devices
CN104168309A (en) * 2014-07-24 2014-11-26 深圳天珑无线科技有限公司 Data backup and operation method based on cloud service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102870377A (en) * 2012-06-30 2013-01-09 华为技术有限公司 Monitoring method and device for virtual port
CN102752219A (en) * 2012-07-18 2012-10-24 杭州华三通信技术有限公司 Method for implementing virtual device (VD) interconnection and switching equipment
CN103795623A (en) * 2012-10-26 2014-05-14 杭州华三通信技术有限公司 Method and device for realizing traffic interflow between virtual devices
CN104168309A (en) * 2014-07-24 2014-11-26 深圳天珑无线科技有限公司 Data backup and operation method based on cloud service

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SIMON SUA等: "Virtual reality enabled scientific visualization workflow", 《WORKSHOP ON EVERYDAY VIRTUAL REALITY》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257284A (en) * 2017-07-14 2019-01-22 Emc知识产权控股有限公司 The system and method for physical data grouping isolation for the different tenants in multi-tenant protection storage environment
CN109257284B (en) * 2017-07-14 2021-11-16 Emc知识产权控股有限公司 Data storage device, method of operating the same, and non-transitory computer-readable medium
CN108123899A (en) * 2017-12-21 2018-06-05 湖南恒茂高科股份有限公司 The statistical method and monitoring method of a kind of interchanger outlet message flow
CN109120554A (en) * 2018-09-25 2019-01-01 杭州迪普科技股份有限公司 A kind of flow mirror method and switching equipment based on true mirror image
CN109120554B (en) * 2018-09-25 2021-08-24 杭州迪普科技股份有限公司 Stream mirroring method and exchange equipment based on true mirror
CN112422355A (en) * 2019-08-21 2021-02-26 明泰科技股份有限公司 Network transmission detection system
CN112422355B (en) * 2019-08-21 2022-06-28 明泰科技股份有限公司 Network transmission detection system
CN112751759A (en) * 2019-10-30 2021-05-04 华为技术有限公司 Routing information transmission method and device and data center internet
CN112751759B (en) * 2019-10-30 2024-06-07 华为技术有限公司 Routing information transmission method and device and data center internet
CN113207049A (en) * 2021-03-31 2021-08-03 新华三信息安全技术有限公司 Multicast forwarding method and device
CN113207049B (en) * 2021-03-31 2022-05-27 新华三信息安全技术有限公司 Multicast forwarding method and device

Also Published As

Publication number Publication date
CN106453156B (en) 2019-09-06

Similar Documents

Publication Publication Date Title
CN106453156A (en) Communication method and apparatus between virtual devices
CN111865779B (en) Route synchronization method and cross-device link aggregation group
US9998366B2 (en) System, method and device for forwarding packet
US20090232152A1 (en) Method and apparatus for aggregating ports
CN104104570A (en) Aggregation processing method in IRF (Intelligent Resilient Framework) system and device
CN105939291B (en) Message processing method and the network equipment
CN105610710A (en) Methods and apparatus for standard protocol validation mechanisms deployed over switch fabric system
CN104579695A (en) Data forwarding device and method
WO2021082812A1 (en) Message sending method and first network device
CN107948063B (en) Method for establishing aggregation link and access equipment
CN105915467A (en) Data center network flow balancing method and device oriented to software definition
US20130246635A1 (en) Technique for Bundling in Link Aggregation
CN104639437A (en) Forwarding method and apparatus of broadcast messages in stack system
CN109104363A (en) A kind of message forwarding method and equipment
CN108092922B (en) Method and device for transmitting message by interface board
CN103514121B (en) A kind of network card redundancy switching method under WindowsXp operating system
CN105743816A (en) Link aggregation method and device
WO2016124117A1 (en) Method, switching device and network controller for protecting links in software-defined network (sdn)
WO2017000096A1 (en) Link recovery method and network device
CN109327400A (en) A kind of data communications method and data communication network
CN110034978A (en) A kind of method and apparatus of network apparatus test performance
CN104935509A (en) Method and apparatus of avoiding loop generation in vertical stack system
CN110300064A (en) A kind of data traffic processing method, equipment and system
CN111786887A (en) Data forwarding method, apparatus, computing device, and medium executed by control device
CN101127677A (en) A barrier operating network system, device and method based on fat tree topology

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: NEW H3C TECHNOLOGIES Co.,Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

CB02 Change of applicant information
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230619

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right