CN103458063A - Address synchronization method and device, VSU system, host device and member devices - Google Patents

Address synchronization method and device, VSU system, host device and member devices Download PDF

Info

Publication number
CN103458063A
CN103458063A CN2013103756340A CN201310375634A CN103458063A CN 103458063 A CN103458063 A CN 103458063A CN 2013103756340 A CN2013103756340 A CN 2013103756340A CN 201310375634 A CN201310375634 A CN 201310375634A CN 103458063 A CN103458063 A CN 103458063A
Authority
CN
China
Prior art keywords
address
data flow
member device
vsu
sign
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
CN2013103756340A
Other languages
Chinese (zh)
Other versions
CN103458063B (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.)
Ruijie Networks Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN201310375634.0A priority Critical patent/CN103458063B/en
Publication of CN103458063A publication Critical patent/CN103458063A/en
Application granted granted Critical
Publication of CN103458063B publication Critical patent/CN103458063B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an address synchronization method and device in a VSU, a VSU system, a host device and member devices. The address synchronization method and device, the VSU system, the host device and the member devices are used for solving the problem that in the prior VSU art, due to data flow migration across the member devices, communication of the VSU is abnormal. The address synchronization method comprises the following steps that after a member device of the VSU detects an MAC address of newly-added data flow, an address updating message is sent to a host of the VSU, the host of the VSU conducts synchronous address updating according to the address updating message and sends address deletion message to other member devices except that member device sending the address updating message, the address deletion message comprises the MAC address of the data flow of the address updating message, after the member devices of the VSU receive the address deletion message, the MAC address of the data flow is deleted, and therefore the MAC address of the same data flow is only stored in one member device in the same moment.

Description

Address synchronization method and device, VSU system, main process equipment and member device
Technical field
The present invention relates to network communicating system, particularly, relate to address synchronization method and device, VSU system, main process equipment and member device in a kind of virtual switch unit (VSU, Virtual Switch Unit).
Background technology
VSU is a kind of network system Intel Virtualization Technology, supports many switch devices are combined into to single virtual switch machine equipment by stacking link (VSL), and the member device that is about to several physics is equivalent to a virtual logical device, as shown in Figure 1.In Ethernet switch, by address aging mechanism, the MAC Address be connected or communicate is managed, particularly, Ethernet switch starts the aging timing of this address when learning a new address, before reaching aging timing, take if Ethernet switch is not received again the message that this address is source MAC, this address can be deleted after reaching ageing time from mac address table.In VSU, in the situation that the MAC managed in the member device of VSU occurs to increase newly, deletes or change, trigger the synchronous learning functionality of MAC Address of the main frame of VSU.
In the VSU practical application, often due to the of short duration variation of external network topology (such as change topology or exchange device more) or route selection etc., cause striding equipment migration in pile system in the data flow short time, and this migration will cause the pile system network can't carry out normal data communication.Need the user manually member device to be carried out to the address deletion action.In conjunction with the scene graph of data flow striding equipment migration in the VSU shown in Fig. 2, the concrete steps of the message repeating under the scene of data flow striding equipment migration of the member device in VSU are as follows:
Step 1, in the pile system formed by member device A and member device B, in pile system, the data flow of second line of a couplet equipment C is transmitted toward first line of a couplet equipment D by the port of member device A, member device A learns this data flow MAC Address, the port that corresponding ports is member device A; The main frame of VSU will synchronously be learnt this MAC Address simultaneously;
Step 2, because outside topological environmental of short time changes, the data flow of second line of a couplet equipment C moves to equipment B by device A, thereby equipment B is learnt the MAC Address of this data flow, the main frame of VSU will synchronously be learnt this MAC Address, the MAC Address corresponding ports of this data flow will be updated to the port of equipment B;
Before in device A, the address of this data flow arrives ageing time, because reaching ageing time, the address of this data flow in device A do not have to change, what therefore in VSU, preserve is the port of data flow corresponding device B, now device A and equipment B will be preserved the MAC Address of this same data flow simultaneously, and correspond to the port of distinct device; Like this, during the message of other these MAC Address of port access, will be forwarded to due to the address corresponding relation retained in device A the port of device A, thereby cause the access user MAC Address telex network therewith of other ports on device A on device A;
After step 3, outside topological environmental recover to stablize, before in device A, the MAC Address of this data flow arrives ageing time, data flow is moved back device A, and the mac address information in device A is change not, and the main frame that can not trigger VSU carries out MAC Address and synchronously learns; Before the address of this data flow of equipment B does not reach ageing time, the port of the MAC Address corresponding device B that remains this data flow preserved in the main frame of VSU; During the message of other these MAC Address of port access, will be forwarded to due to the address corresponding relation retained in equipment B the port of equipment B, thereby cause the access user MAC Address telex network therewith of other ports on equipment B on equipment B.
Step 4, after a period of time, because data flow is transmitted constantly on device A, the address aging on equipment B, the main frame that has simultaneously triggered VSU also will correspondingly fall the address aging of this data flow, synchronously the mac address information of this data flow be deleted.Like this, in the main frame of VSU, finally do not preserve the mac address information of this data flow, cause the VSU data communication abnormal.
Visible, in existing VSU technology, exist data flow to cause the problem of the communication abnormality of VSU across the member device migration.
Summary of the invention
In view of this, the embodiment of the present invention provides address synchronization method and device, VSU system, main process equipment and the member device in a kind of VSU, in order to solve existing data flow in existing VSU technology, causes the problem of the communication abnormality of VSU across the member device migration.
Embodiment of the present invention technical scheme is as follows:
A kind of address synchronization method in VSU, comprise: the main frame of VSU receives the address updating message from member device, and this address updating message comprises the sign of the port of the described data flow of transmission in the sign of the media access controller MAC Address of data flow, described member device and described member device; Wherein, described address updating message is that described member device sends after the MAC Address that newly-increased data flow detected; The main frame of described VSU carries out the address synchronization renewal according to described address updating message; And, the main frame of described VSU sends address deletion message to other member device except the member device that sends described address updating message in VSU, the MAC Address that message comprises the data flow in the updating message of described address is deleted in this address, and this address deletion message is used to indicate the member device that receives described address deletion message and deletes the mac address information of the described data flow of preserving.
Wherein, the main frame of described VSU carries out the address synchronization renewal according to this address updating message, specifically comprise: in the situation that the MAC Address of the data flow in not comprising described address updating message in the address information that the main frame of described VSU is preserved, set up and preserve the corresponding relation of the sign of the port of the described data flow of transmission in the sign of the MAC Address of the data flow in the updating message of described address, described member device and described member device; In the situation that the MAC Address of the data flow of the address information that the main frame of described VSU is preserved in comprising described address updating message, transmit the sign of the port of described data flow in the sign that corresponding member device sign and port-mark are updated to the described member device in the updating message of described address by the MAC Address of preserved described data flow and described member device.
Preferably, described method also comprises: preserve the unified sign of pre-assigned each member device and the unified sign of the port on member device in the main frame of described VSU.The main frame of described VSU is according to the sign of the member device in the updating message of described address, and the unified sign of each member device of preserving, determines other member device except the member device that sends described address updating message.
Address synchronizer in a kind of VSU, comprise: receiver module, for from the address updating message of member device, this address updating message comprises the sign of the port of the described data flow of transmission in the sign of the media access controller MAC Address of data flow, described member device and described member device; Wherein, described address updating message is that described member device sends after the MAC Address that newly-increased data flow detected; Update module, carry out the address synchronization renewal for the described address updating message received according to described receiver module; Synchronization module, for to VSU, other member device except the member device that sends described address updating message sends address deletion message, the MAC Address that message comprises the data flow in the updating message of described address is deleted in this address, and this address deletion message is used to indicate the member device that receives described address deletion message and deletes the mac address information of the described data flow of preserving.
Wherein, described update module, specifically for: in the situation that the MAC Address of the data flow in not comprising described address updating message in the address information that described device corresponding device is preserved, set up and preserve the corresponding relation of the sign of the port of the described data flow of transmission in the sign of the MAC Address of the data flow in the updating message of described address, described member device and described member device; In the situation that the MAC Address of the data flow of the address information that described device corresponding device is preserved in comprising described address updating message, transmit the sign of the port of described data flow in the sign that corresponding member device sign and port-mark are updated to the described member device in the updating message of described address by the MAC Address of preserved described data flow and described member device.
Preferably, described device also comprises: memory module, and for preserving the unified sign of unifying the port on sign and member device of pre-assigned each member device.; described synchronization module; also for the sign of the member device of the described address updating message received according to described receiver module; and the unified sign of each member device of preserving of described memory module, determine other member device except the member device of the described address of transmission updating message.
Main process equipment in a kind of VSU, comprise the address synchronizer in VSU as above.
A kind of address synchronization method in VSU, comprise: the member device of VSU main frame to VSU after the media access controller MAC Address that newly-increased data flow detected sends the address lastest imformation, and this address updating message comprises the sign of the port of the described data flow of transmission in the sign of MAC Address, member device of described data flow and described member device; Set up and preserve the corresponding relation of MAC Address with the sign of the port of the described data flow of transmission of the described data flow detected; The member device of VSU, after receiving and deleting message from the address of the main frame of VSU, is deleted the corresponding relation that the data flow MAC Address of carrying in message and the sign of the port of this data flow of transmission are deleted in this address of preserving.
Address synchronizer in a kind of VSU, comprise: upgrade detection module, send the address lastest imformation for the main frame to VSU after the media access controller MAC Address newly-increased data flow being detected, this address updating message comprises the sign of the port of the described data flow of transmission in the sign of the MAC Address of described data flow, described member device and described member device; Preserve module, for the corresponding relation of the sign of the MAC Address of setting up and preserving the described data flow that described renewal detection module detects and the port that transmits described data flow; The address removing module, for after receiving and deleting message from the address of the main frame of VSU, delete the corresponding relation that the data flow MAC Address of carrying in message and the sign of the port of this data flow of transmission are deleted in this address that described preservation module preserves.
The member device of a kind of VSU, comprise the address synchronizer in VSU as above.
A kind of VSU system, comprise main frame and member device; Wherein, member device, send the address lastest imformation for the main frame to VSU after the media access controller MAC Address newly-increased data flow being detected, this address updating message comprises the sign of the port of the described data flow of transmission in the sign of MAC Address, member device of described data flow and described member device; Set up and preserve the corresponding relation of MAC Address with the sign of the port of the described data flow of transmission of the described data flow detected; After receiving and deleting message from the address of the main frame of VSU, delete the corresponding relation that the data flow MAC Address of carrying in message and the sign of the port of this data flow of transmission are deleted in this address of preserving; Main frame, for receiving the address updating message from member device, this address updating message comprises the sign of the port of the described data flow of transmission in the sign of the MAC Address of data flow, described member device and described member device; Carry out the address synchronization renewal according to described address updating message; And, sending address to other member device except the member device that sends described address updating message in VSU and delete message, this address deletion message comprises the MAC Address of the data flow in the updating message of described address.
After the embodiment of the present invention detects the MAC Address of newly-increased data flow by the member device at VSU, main frame to VSU sends the address updating message, this address updating message comprises the MAC Address of data flow, the sign of the port of the described data flow of transmission in the sign of this member device and this member device, the main frame of VSU carries out the address synchronization renewal according to this address synchronization updating message, and, send address deletion message to other member device except the member device that sends the address updating message in VSU, the MAC Address that message comprises the data flow in the updating message of address is deleted in this address, after the member device of VSU receives address deletion message, delete the MAC Address of the described data flow of preserving, be also, member device is after the MAC Address that newly-increased data flow at every turn detected, the main frame of capital triggering VSU synchronously upgrades the mac address information of this data flow, and, other member device of the host notification of VSU is deleted the mac address information of this data flow, pass through the method, no matter whether the MAC Address of the data flow of preserving in member device arrives ageing time, only has the MAC Address of preserving same data stream in a member device at synchronization, just can not cause the member device of VSU and the communication abnormality of VSU system according to this address information, thereby can solve existing data flow in existing VSU technology and cause the problem of the communication abnormality of VSU across the member device migration.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, or understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification write, claims and accompanying drawing.
The accompanying drawing explanation
The structured flowchart that Fig. 1 is VSU;
The scene schematic diagram that Fig. 2 is data flow striding equipment migration in VSU;
The structured flowchart of the VSU system that Fig. 3 provides for the embodiment of the present invention;
The workflow diagram of the address synchronization method in the VSU that Fig. 4 provides for the embodiment of the present invention;
The structured flowchart of the address synchronizer in the VSU that Fig. 5 provides for the embodiment of the present invention;
Another structured flowchart of address synchronizer in the VSU that Fig. 6 provides for the embodiment of the present invention;
Another workflow diagram of address synchronization method in the VSU that Fig. 7 provides for the embodiment of the present invention;
Another structured flowchart of address synchronizer in the VSU that Fig. 8 provides for the embodiment of the present invention;
The workflow diagram of address synchronization method in concrete application in the VSU that Fig. 9 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, embodiments of the invention are described, should be appreciated that embodiment described herein, only for description and interpretation the present invention, is not intended to limit the present invention.
Cause the problem of the communication abnormality of VSU across the member device migration for existing data flow in existing VSU technology, the embodiment of the present invention provides the scheme of the address synchronization in a kind of VSU, to address this problem.
In the technical scheme of the embodiment of the present invention, a kind of address update mechanism and a kind of address deleting mechanism are provided; According to the address update mechanism, member device is after the MAC Address that newly-increased data flow at every turn detected, and to the main frame transmission address updating message of VSU, the main frame that triggers VSU synchronously upgrades the mac address information of this data flow; According to the address deleting mechanism, the main frame of VSU is after receiving the address updating message, and the relevant information that the MAC Address of the data flow in message is deleted in received address is deleted in other member device, the indication of notice except the member device that sends the address updating message; Thereby, no matter whether the MAC Address of the data flow of preserving in member device arrives ageing time, only have the MAC Address of preserving same data flow in a member device at synchronization, according to this address information, just can not cause the member device of VSU and the communication abnormality of VSU.
Fig. 3 shows the structured flowchart of the VSU system that the embodiment of the present invention provides, and this system comprises: main frame 31 and member device 32; Wherein,
Member device 32, send the address lastest imformations for the main frame 31 to VSU after the MAC Address newly-increased data flow being detected, this address updating message comprises the sign of the port of the described data flow of transmission in the sign of MAC Address, member device 32 of described data flow and described member device 32; Set up and preserve the corresponding relation of MAC Address with the sign of the port of the described data flow of transmission of the described data flow detected; After receiving and deleting message from the address of the main frame 31 of VSU, delete the corresponding relation that the data flow MAC Address of carrying in message and the sign of the port of this data flow of transmission are deleted in this address of preserving;
Main frame 31, for receiving the address updating message from member device 32, this address updating message comprises the sign of the port of the described data flow of transmission in the sign of the MAC Address of data flow, described member device and described member device; Carry out the address synchronization renewal according to described address updating message; And, sending address to other member device except the member device that sends described address updating message in VSU and delete message, this address deletion message comprises the MAC Address of the data flow in the updating message of described address.
Below describe the operation principle of main frame 31 in Fig. 3 in detail.
The workflow of the address synchronization method in the VSU that the embodiment of the present invention provides has been shown in Fig. 4, is also the operation principle that Fig. 4 shows main frame 31 in Fig. 3, and the method comprises:
The main frame of step 401, VSU receives the address updating message from member device, and this address updating message comprises the sign of the port of the described data flow of transmission in the sign of the media access controller MAC Address of data flow, described member device and described member device; Wherein, described address updating message is that described member device sends after the MAC Address that newly-increased data flow detected;
The main frame of step 402, described VSU carries out the address synchronization renewal according to described address updating message;
Particularly, in the situation that the MAC Address of the data flow in not comprising described address updating message in the address information that the main frame of described VSU is preserved, set up and preserve the corresponding relation of the sign of the port of the described data flow of transmission in the sign of the MAC Address of the data flow in the updating message of described address, described member device and described member device;
In the situation that the MAC Address of the data flow of the address information that the main frame of described VSU is preserved in comprising described address updating message, transmit the sign of the port of described data flow in the sign that corresponding member device sign and port-mark are updated to the described member device in the updating message of described address by the MAC Address of preserved described data flow and described member device;
The main frame of step 403, described VSU sends address deletion message to other member device except the member device that sends described address updating message in VSU, the MAC Address that message comprises the data flow in the updating message of described address is deleted in this address, and this address deletion message is used to indicate the member device that receives described address deletion message and deletes the mac address information of the described data flow of preserving.
Preferably, in another embodiment of the present invention, also preserve the unified sign of pre-assigned each member device and the unified sign of the port on member device in the main frame of VSU; ,
Before step 403, also comprise following treatment step: the main frame of described VSU is according to the sign of the member device in the updating message of described address, and the unified sign of each member device of preserving, determine other member device except the member device that sends described address updating message.
By above-mentioned processing procedure, member device is after the MAC Address that newly-increased data flow at every turn detected, the main frame that all triggers VSU synchronously upgrades the mac address information of this data flow, and, the main frame of VSU is after receiving the address updating message, notice other member device except the member device that sends the address updating message, the relevant information that the MAC Address of the data flow in message is deleted in received address is deleted in indication, pass through the method, no matter whether the MAC Address of the data flow of preserving in member device arrives ageing time, only has the MAC Address of preserving same data flow in a member device at synchronization, just can not cause the member device of VSU and the communication abnormality of VSU according to this address information, thereby can solve existing data flow in existing VSU technology and cause the problem of the communication abnormality of VSU across the member device migration.
And, member device is unified to sign, can make the main frame of VSU more fast and effeciently locate other member device of determining except the member device that sends described address updating message.
Inventive concept based on identical, the embodiment of the present invention also provides the address synchronizer in a kind of VSU, and this device is arranged in the main frame of VSU.
As shown in Figure 5, the address synchronizer in the VSU that the embodiment of the present invention provides comprises:
Receiver module 51, for the address updating message from member device, this address updating message comprises the sign of the port of the described data flow of transmission in the sign of the MAC Address of data flow, described member device and described member device; Wherein, described address updating message is that described member device sends after the MAC Address that newly-increased data flow detected;
Update module 52, be connected to receiver module 51, for the described address updating message received according to described receiver module 51, carries out the address synchronization renewal;
Particularly, update module 52 is in the situation that the MAC Address of the data flow in not comprising described address updating message in the address information that described device corresponding device is preserved, and sets up and preserve the corresponding relation of the sign of the port of the described data flow of transmission in the sign of the MAC Address of the data flow in the updating message of described address, described member device and described member device; In the situation that the MAC Address of the data flow of the address information that described device corresponding device is preserved in comprising described address updating message, transmit the sign of the port of described data flow in the sign that corresponding member device sign and port-mark are updated to the described member device in the updating message of described address by the MAC Address of preserved described data flow and described member device;
Synchronization module 53, be connected to receiver module 51, for to VSU, other member device except the member device that sends described address updating message sends address deletion message, the MAC Address of the data flow in the address updating message that message comprises that receiver module 51 receives is deleted in this address, and this address is deleted message and is used to indicate and receives described address and delete the member device of message and delete the mac address information of the described data flow of preserving.
Preferably, as shown in Figure 6, on the basis of Fig. 5 shown device, the address synchronizer in the VSU that the embodiment of the present invention provides also comprises:
Memory module 54, for the unified sign of pre-assigned each member device and the unified sign of the port on member device; ,
Synchronization module 53, also be connected to memory module 54, also for the sign of the member device of the described address updating message received according to described receiver module 51, and described memory module, the unified sign of 5 each member devices of preserving, determine other member device except the member device that sends described address updating message.
By the device shown in Fig. 5 or Fig. 6, this device is after receiving the address updating message, MAC Address according to the data flow in this address updating message, the sign of the port of the described data flow of transmission in the sign of described member device and described member device, upgrade preserved address information, and notify out member device other member device in addition of transmission address updating message to delete the mac address information of this data flow, by this device, no matter whether the MAC Address of the data flow of preserving in member device arrives ageing time, only has the MAC Address of preserving same data flow in a member device at synchronization, just can not cause the member device of VSU and the communication abnormality of VSU according to this address information, thereby can solve existing data flow in existing VSU technology and cause the problem of the communication abnormality of VSU across the member device migration.
Inventive concept based on identical, the embodiment of the present invention also provides the main process equipment of a kind of VSU, and this main process equipment comprises the address synchronizer in VSU as shown in Figure 5 or Figure 6.
Below describe the operation principle of member device 32 in Fig. 3 in detail.
Fig. 7 shows the workflow of the address synchronization method in the VSU that the embodiment of the present invention provides, and is also the operation principle that Fig. 7 shows member device 32 in Fig. 3, and the method comprises:
The member device of step 701, VSU main frame to VSU after the MAC Address that newly-increased data flow detected sends the address lastest imformation, and this address updating message comprises the sign of the port of the described data flow of transmission in the sign of MAC Address, member device of described data flow and described member device;
Step 702, set up and preserve the MAC Address of detected described data flow and transmit the corresponding relation of sign of the port of described data flow;
The member device of step 703, VSU, after receiving and deleting message from the address of the main frame of VSU, is deleted the corresponding relation that the data flow MAC Address of carrying in message and the sign of the port of this data flow of transmission are deleted in this address of preserving.
By above-mentioned processing procedure, member device is after the MAC Address that newly-increased data flow at every turn detected, main frame to VSU sends the address updating message, synchronously upgrade the mac address information of this data flow with the main frame that triggers VSU, and, member device is after message is deleted in the address received, delete the address of preserving and delete the relevant information of the MAC Address of the data flow in message, pass through the method, no matter whether the MAC Address of the data flow of preserving in member device arrives ageing time, only has the MAC Address of preserving same data flow in a member device at synchronization, just can not cause the member device of VSU and the communication abnormality of VSU according to this address information, thereby can solve existing data flow in existing VSU technology and cause the problem of the communication abnormality of VSU across the member device migration.
Inventive concept based on identical, the embodiment of the present invention also provides the address synchronizer in a kind of VSU, and this device is arranged in the member device of VSU.
As shown in Figure 8, the address synchronizer in the VSU that the embodiment of the present invention provides comprises:
Upgrade detection module 81, send the address lastest imformation for the main frame to VSU after the media access controller MAC Address newly-increased data flow being detected, this address updating message comprises the sign of the port of the described data flow of transmission in the sign of the MAC Address of newly-increased data flow, described member device and described member device;
Preserve module 82, for the corresponding relation of the sign of the port of setting up the MAC Address of preserving the described data flow that described renewal detection module detects and the described data flow of transmission;
Address removing module 83, for after receiving and deleting message from the address of the main frame of VSU, delete and preserve the corresponding relation that the data flow MAC Address of carrying in message and the sign of the port of this data flow of transmission are deleted in this address that module 82 preserves.
By Fig. 8 shown device, this device also can be after the MAC Address that newly-increased data flow at every turn detected, main frame to VSU sends the address updating message, synchronously upgrade the mac address information of this data flow with the main frame that triggers VSU, and, after message is deleted in the address received, delete the address of preserving and delete the relevant information of the MAC Address of the data flow in message, pass through the method, no matter whether the MAC Address of the data flow of preserving in member device under described device arrives ageing time, only has the MAC Address of preserving same data flow in a member device at synchronization, just can not cause the member device of VSU and the communication abnormality of VSU according to this address information, thereby can solve existing data flow in existing VSU technology and cause the problem of the communication abnormality of VSU across the member device migration.
Inventive concept based on identical, the embodiment of the present invention also provides the member device of a kind of VSU, and this main process equipment comprises the address synchronizer in VSU as shown in Figure 8.
Below the situation of the concrete application of the present invention described.
Fig. 9 shows the workflow diagram of address synchronization method in concrete application in the VSU that the embodiment of the present invention provides, and this processing procedure comprises:
Each member device in step 901, VSU is regularly detected the change conditions of the address table on current device, when data flow X is transmitted by device A, member device A detects the MAC Address of newly-increased data flow X, the MAC Address of the X that in the address table of the definite member's device A of judgement, save data flows, the corresponding relation of the port of the MAC Address of newly-increased data flow X and transmitting data stream X in address table;
Step 902, member device A send the address updating message to the main frame of VSU, and this address updating message comprises the MAC Address of data flow X, the sign of member device A and the sign that member device A transmitting data flows the port of X;
After the main frame of step 903, VSU receives the address updating message from member device A, the MAC Address that does not comprise data flow X in the address information in the address table of preserving is determined in judgement, and newly-increased and save data flows MAC Address, the sign of member device A and the corresponding relation of port-mark of X;
The main frame of step 904, VSU identifies according to the sign of member device A and the unified of each member device of preserving, and determines the member device except member device A; Wherein, each member device of preserving in VSU and the unification of port are designated 32 bit data, front 16 signs of preserving member device, and rear 16 for preserving the sign of member device upper port;
The main frame of step 905, VSU sends address to other member device except member device A and deletes message, and the MAC Address that message comprises data flow X is deleted in this address;
Step 906, data flow X move to member device B and are transmitted, member device B detects the MAC Address of newly-increased data flow X, the MAC Address of the X that in address table, save data does not flow is determined in member device B judgement, the corresponding relation of the port of the MAC Address of newly-increased data flow X and transmitting data stream X in address table;
Step 907, member device B send the address updating message to the main frame of VSU, and this address updating message comprises the MAC Address of data flow X, the sign of member device B and the sign that member device B transmitting data flows the port of X;
After the main frame of step 908, VSU receives the address updating message from member device B, judgement determines that the address information of preserving at address table comprises the MAC Address of data flow X, the sign that the sign that corresponding member device A sign and port-mark are updated to member device B by the MAC Address of preserved data flow X and member device B transmitting data flow the port of X;
The main frame of step 909, VSU identifies according to the sign of member device B and the unified of each member device of preserving, and determines other member device except member device B;
The main frame of step 910, VSU sends address to other member device except member device B and deletes message, and the MAC Address that message comprises data flow X is deleted in this address;
After step 911, member device A receive address deletion message, delete the mac address information of the data flow X preserved in address table, delete the MAC Address of data flow X and the corresponding relation that member device A transmitting data flows the port-mark of X;
Step 912, data flow X move to member device A and are transmitted, member device A detects the MAC Address of newly-increased data flow X, the MAC Address of the X that in address table, save data does not flow is determined in judgement, the corresponding relation of the port of the MAC Address of save data stream X and transmitting data stream X in address table;
Step 913, member device A send the address updating message to the main frame of VSU, and this address updating message comprises the MAC Address of data flow X, the sign of member device A and the sign that member device A transmitting data flows the port of X;
After the main frame of step 914, VSU receives the address updating message from member device A, judgement determines that the address information of preserving at address table comprises the MAC Address of data flow X, the sign that the sign that corresponding member device B sign and port-mark are updated to member device B by the MAC Address of preserved data flow X and member device A transmitting data flow the port of X;
The main frame of step 915, VSU identifies according to the sign of member device A and the unified of each member device of preserving, and determines the member device except member device A;
The main frame of step 916, VSU sends address to other member device except member device A and deletes message, and the MAC Address that message comprises data flow X is deleted in this address;
After step 917, member device B receive address deletion message, delete the mac address information of the data flow X preserved in address table, delete the MAC Address of data flow X and the corresponding relation that member device B transmitting data flows the port-mark of X.
Known by above-mentioned processing, the address update mechanism provided according to the embodiment of the present invention and address deleting mechanism, no matter whether the MAC Address of the data flow of preserving in member device arrives ageing time, only has the MAC Address of preserving same data flow in a member device at synchronization, just can not cause the member device of VSU and the communication abnormality of VSU according to this address information, thereby can solve existing data flow in existing VSU technology, cause the problem of the communication abnormality of VSU across the member device migration.
One of ordinary skill in the art will appreciate that and realize that all or part of step that above-described embodiment method is carried is to come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, this program, when carrying out, comprises step of embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can be also that the independent physics of unit exists, and also can be integrated in a module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, also can adopt the form of software function module to realize.If described integrated module usings that the form of software function module realizes and during as production marketing independently or use, also can be stored in a computer read/write memory medium.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect fully.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code one or more.
The present invention describes with reference to flow chart and/or the block diagram of method, equipment (system) and computer program according to the embodiment of the present invention.Should understand can be in computer program instructions realization flow figure and/or block diagram each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computer or other programmable data processing device produce for realizing the device in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction be stored in this computer-readable memory produce the manufacture that comprises command device, this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, make and carry out the sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out on computer or other programmable devices is provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention also is intended to comprise these changes and modification interior.

Claims (11)

1. the address synchronization method in a virtual switch unit VSU, is characterized in that, comprising:
The main frame of VSU receives the address updating message from member device, and this address updating message comprises the sign of the port of the described data flow of transmission in the sign of the media access controller MAC Address of data flow, described member device and described member device; Wherein, described address updating message is that described member device sends after the MAC Address that newly-increased data flow detected;
The main frame of described VSU carries out the address synchronization renewal according to described address updating message; And,
The main frame of described VSU sends address deletion message to other member device except the member device that sends described address updating message in VSU, the MAC Address that message comprises the data flow in the updating message of described address is deleted in this address, and this address deletion message is used to indicate the member device that receives described address deletion message and deletes the mac address information of the described data flow of preserving.
2. method according to claim 1, is characterized in that, the main frame of described VSU carries out the address synchronization renewal according to this address updating message, specifically comprises:
In the situation that the MAC Address of the data flow in not comprising described address updating message in the address information that the main frame of described VSU is preserved, set up and preserve the corresponding relation of the sign of the port of the described data flow of transmission in the sign of the MAC Address of the data flow in the updating message of described address, described member device and described member device;
In the situation that the MAC Address of the data flow of the address information that the main frame of described VSU is preserved in comprising described address updating message, transmit the sign of the port of described data flow in the sign that corresponding member device sign and port-mark are updated to the described member device in the updating message of described address by the MAC Address of preserved described data flow and described member device.
3. method according to claim 1, is characterized in that, described method also comprises:
Preserve the unified sign of pre-assigned each member device and the unified sign of the port on member device in the main frame of described VSU; ,
Described method also comprises:
The main frame of described VSU is according to the sign of the member device in the updating message of described address, and the unified sign of each member device of preserving, determines other member device except the member device that sends described address updating message.
4. the address synchronizer in a virtual switch unit VSU, is characterized in that, comprising:
Receiver module, for the address updating message from member device, this address updating message comprises the sign of the port of the described data flow of transmission in the sign of the media access controller MAC Address of data flow, described member device and described member device; Wherein, described address updating message is that described member device sends after the MAC Address that newly-increased data flow detected;
Update module, carry out the address synchronization renewal for the described address updating message received according to described receiver module;
Synchronization module, for to VSU, other member device except the member device that sends described address updating message sends address deletion message, the MAC Address that message comprises the data flow in the updating message of described address is deleted in this address, and this address deletion message is used to indicate the member device that receives described address deletion message and deletes the mac address information of the described data flow of preserving.
5. device according to claim 4, is characterized in that, described update module, specifically for:
In the situation that the MAC Address of the data flow in not comprising described address updating message in the address information that described device corresponding device is preserved, set up and preserve the corresponding relation of the sign of the port of the described data flow of transmission in the sign of the MAC Address of the data flow in the updating message of described address, described member device and described member device;
In the situation that the MAC Address of the data flow of the address information that described device corresponding device is preserved in comprising described address updating message, transmit the sign of the port of described data flow in the sign that corresponding member device sign and port-mark are updated to the described member device in the updating message of described address by the MAC Address of preserved described data flow and described member device.
6. device according to claim 4, is characterized in that, described device also comprises:
Memory module, for preserving the unified sign of unifying the port on sign and member device of pre-assigned each member device; ,
Described synchronization module, also for:
The sign of the member device in the described address updating message received according to described receiver module, and the unified sign of each member device of preserving of described memory module, determine other member device except the member device of the described address of transmission updating message.
7. the main process equipment in a virtual switch unit VSU, is characterized in that, comprises the address synchronizer in VSU as described as any one in claim 5~8.
8. the address synchronization method in a virtual switch unit VSU, is characterized in that, comprising:
The member device of VSU main frame to VSU after the media access controller MAC Address that newly-increased data flow detected sends the address lastest imformation, and this address updating message comprises the sign of the port of the described data flow of transmission in the sign of MAC Address, member device of described data flow and described member device;
Set up and preserve the corresponding relation of MAC Address with the sign of the port of the described data flow of transmission of the described data flow detected;
The member device of VSU, after receiving and deleting message from the address of the main frame of VSU, is deleted the corresponding relation that the data flow MAC Address of carrying in message and the sign of the port of this data flow of transmission are deleted in this address of preserving.
9. the address synchronizer in a virtual switch unit VSU, is characterized in that, comprising:
Upgrade detection module, send the address lastest imformation for the main frame to VSU after the media access controller MAC Address newly-increased data flow being detected, this address updating message comprises the sign of the port of the described data flow of transmission in the sign of the MAC Address of described data flow, described member device and described member device;
Preserve module, for the corresponding relation of the sign of the MAC Address of setting up and preserving the described data flow that described renewal detection module detects and the port that transmits described data flow;
The address removing module, for after receiving and deleting message from the address of the main frame of VSU, delete the corresponding relation that the data flow MAC Address of carrying in message and the sign of the port of this data flow of transmission are deleted in this address that described preservation module preserves.
10. the member device of a VSU, is characterized in that, comprises the address synchronizer in VSU as claimed in claim 9.
11. a virtual switch unit VSU system, is characterized in that, comprises main frame and member device; Wherein,
Member device, send the address lastest imformation for the main frame to VSU after the media access controller MAC Address newly-increased data flow being detected, this address updating message comprises the sign of the port of the described data flow of transmission in the sign of MAC Address, member device of described data flow and described member device; Set up and preserve the corresponding relation of MAC Address with the sign of the port of the described data flow of transmission of the described data flow detected; After receiving and deleting message from the address of the main frame of VSU, delete the corresponding relation that the data flow MAC Address of carrying in message and the sign of the port of this data flow of transmission are deleted in this address of preserving;
Main frame, for receiving the address updating message from member device, this address updating message comprises the sign of the port of the described data flow of transmission in the sign of the MAC Address of data flow, described member device and described member device; Carry out the address synchronization renewal according to described address updating message; And, sending address to other member device except the member device that sends described address updating message in VSU and delete message, this address deletion message comprises the MAC Address of the data flow in the updating message of described address.
CN201310375634.0A 2013-08-26 2013-08-26 Address synchronization method and device, VSU system, main process equipment and member device Active CN103458063B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310375634.0A CN103458063B (en) 2013-08-26 2013-08-26 Address synchronization method and device, VSU system, main process equipment and member device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310375634.0A CN103458063B (en) 2013-08-26 2013-08-26 Address synchronization method and device, VSU system, main process equipment and member device

Publications (2)

Publication Number Publication Date
CN103458063A true CN103458063A (en) 2013-12-18
CN103458063B CN103458063B (en) 2016-08-24

Family

ID=49740004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310375634.0A Active CN103458063B (en) 2013-08-26 2013-08-26 Address synchronization method and device, VSU system, main process equipment and member device

Country Status (1)

Country Link
CN (1) CN103458063B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113497985A (en) * 2020-04-01 2021-10-12 上海诺基亚贝尔股份有限公司 Method and device for reporting MAC (media Access control) update of user

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050101327A1 (en) * 2003-11-08 2005-05-12 Hyun-Ho Nam Roaming service method and system in multi-zone private wireless network systems
CN102244589A (en) * 2011-07-19 2011-11-16 北京星网锐捷网络技术有限公司 Method and opposite terminal apparatus for processing link fault in virtual switch unit system
CN102970234A (en) * 2012-12-04 2013-03-13 福建星网锐捷网络有限公司 Message forwarding method and device in virtual switching unit system and network equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050101327A1 (en) * 2003-11-08 2005-05-12 Hyun-Ho Nam Roaming service method and system in multi-zone private wireless network systems
CN102244589A (en) * 2011-07-19 2011-11-16 北京星网锐捷网络技术有限公司 Method and opposite terminal apparatus for processing link fault in virtual switch unit system
CN102970234A (en) * 2012-12-04 2013-03-13 福建星网锐捷网络有限公司 Message forwarding method and device in virtual switching unit system and network equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113497985A (en) * 2020-04-01 2021-10-12 上海诺基亚贝尔股份有限公司 Method and device for reporting MAC (media Access control) update of user
CN113497985B (en) * 2020-04-01 2024-04-05 上海诺基亚贝尔股份有限公司 Method and device for reporting MAC update of user

Also Published As

Publication number Publication date
CN103458063B (en) 2016-08-24

Similar Documents

Publication Publication Date Title
CN104407911B (en) Virtual machine migration method and device
CN102469025B (en) Multipath switching over multiple storage systems
CN104378729B (en) Mobile communications network service implementation method and mobile terminal system
CN108173691B (en) Cross-device aggregation method and device
CN106888111B (en) A method of solving dual computer group FC-SAN switching
CN101710856B (en) Method and equipment for detection processing of loopback of aggregation link
CN110113197A (en) The method and SDN controller of SDN controller Configuration network equipment
CN103108294A (en) Data forwarding processing method and gateway equipment and communication system
CN202424770U (en) Safety isolator for network data
EP2983342A2 (en) Internet protocol addressing of industrial control devices employing the network ring topology
CN105871674A (en) Ring protection link fault protection method, device and system
CN104601470A (en) Flow table processing method and device
CN103634423A (en) Three-layered interface based MPLS-TP (multi-protocol label switching-transport profile) configuration method and device
CN101834781B (en) Media access control address keep-alive device and method for convergence port
CN106789521A (en) A kind of ring network fault reverse method and link point
CN105262604A (en) Virtual machine migration method and equipment
US9425912B2 (en) Lane-based multiplexing for physical links in serial attached small computer system interface architectures
CN106921577B (en) MAC address learning method and device
CN103458063A (en) Address synchronization method and device, VSU system, host device and member devices
CN102281158A (en) Line fault processing method and device
CN107872331B (en) Port setting method, device and system
CN105681229A (en) Method for extending port serial numbers and switch
CN202424768U (en) Network safety isolator
CN102904662A (en) Cross-domain clock synchronization method and system based on PTP (Precision Time Protocol)
CN106789304B (en) Network equipment configuration synchronization method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee after: RUIJIE NETWORKS CO., LTD.

Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee before: Fujian Xingwangruijie Network Co., Ltd.