CN101047719A - Port switchover control system and method - Google Patents

Port switchover control system and method Download PDF

Info

Publication number
CN101047719A
CN101047719A CN 200610079600 CN200610079600A CN101047719A CN 101047719 A CN101047719 A CN 101047719A CN 200610079600 CN200610079600 CN 200610079600 CN 200610079600 A CN200610079600 A CN 200610079600A CN 101047719 A CN101047719 A CN 101047719A
Authority
CN
China
Prior art keywords
port
layers
processing unit
main processing
index
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
CN 200610079600
Other languages
Chinese (zh)
Other versions
CN100591077C (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200610079600A priority Critical patent/CN100591077C/en
Publication of CN101047719A publication Critical patent/CN101047719A/en
Application granted granted Critical
Publication of CN100591077C publication Critical patent/CN100591077C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

This invention relates to a port switch control system and a method, in which, the system includes: a three-layer port switch module, a three-layer port storage unit connected to the three-layer port switch module, a two-layer port switch module connected to the three-layer port switch module, a two-layer port storage unit connected to the two-layer port switch module. The method includes: sending a port switch instruction to the two-layer port switch module, picking up unused index of the two-layer port to assign it to a switched port and add attribute of the two-layer port, sending the index to the three-layer port switch module to store the index in a storage unit of the three-layer port and associate it with the index of the three-layer port, which reduces the storage content of the three-layer structure corresponding to the three-layer port to increase switch efficiency of ports.

Description

Port switchover control system and method
Technical field
The present invention is applied to the port processing technology field, relates in particular to a kind of port switchover control system and method.
Background technology
Layer 2 switch belongs to two layers of (data link layer) equipment, its mode of operation is: according to the MAC Address in the packet that receives, and finish exchanges data end to end by the mac address table of preserving in the Layer 2 switch, address table is made of MAC Address and port numbers, and the foundation of this address table and maintenance are to be finished automatically by switch.Because its MAC Address in need only the recognition data frame, select the algorithm of forwarding port very simple and directly produce according to MAC Address, therefore use layer 2-switched advantage: be the message transmission rate that can greatly improve between each network node, shortcoming is: its control ability is weak, the information flow-rate of uncontrollable each network node, the load of each network node of balance.
Router belongs to three layers of (network layer) equipment, its mode of operation and Layer 2 switch are similar, but because it is operated in three layers, determined router when the Data transmission bag, be different from Layer 2 switch, use different control informations, cause realizing transmitting the mode difference of packet, router is received a packet from certain port, and it at first removes (unpacking) to the packet header of link layer, reads purpose IP address, search routing table then, send toward which if can determine next step, then add the packet header (packing) of link layer, this packet is forwarded; If can not determine next step address, then return an information, and this packet is lost to source address.It is according to the IP address in the packet that receives, and after deciding optimum route (optimal transmission paths) by the routing table of preserving in the router, transmits packet again, finishes exchanges data end to end.Because its addressing process is according to the IP addressing of address, and produce by routing table and Routing Protocol, therefore advantage is: possess very strong control ability, can control the information flow-rate of each network node, the load of each network node of balance, seek an optimal transmission paths thereby can well be embodied as through each packet of router, shortcoming is: the processing speed to packet is slow, has reduced the message transmission rate between each network node.
Layer 2 switch and router respectively have pluses and minuses in function, and the former speed of swap data is fast, but a little less than the controlled function, latter's controlled function is strong, but the speed of forwarding data is slow.Along with development of Communication Technique, how, make the data transfer equipment in the network can have the better controlled ability, can improve the transmission rate of data in network again in conjunction with the advantage of the two, better finish exchanges data end to end, become a key issue that will solve.
At present, the prior art of employing is: adopt the data transfer equipment with three layers of function of exchange in network, solve the problems referred to above.This equipment is a Layer 2 switch with three layers of routing function, the advantage of Layer 2 switch and router is combined, make this equipment both have the ability that Layer 2 switch is transmitted data fast, has the good controlled function of router again, thereby realize both having done the exchanges data in the net, realized the purpose of the Route Selection between net again, in the process of transfer of data, needs according to transfer of data, two layers of port can be switched to three layers of port, or three layers of port are switched to two layers of port.The switching of port is actually the change to port attribute, and three layers of port are to increase the attribute of two layers of port on the basis of three layers of port to the switching of two layers of port, thereby three layers of port are switched to two layers of port; Two layers of port are to increase the attribute deletion of two layers of port on three layers of port basis, to make these two layers of ports switch back three layers of port to the switching of three layers of port.In existing port switching mode, the attribute of the attribute of all two layers of ports and three layers of port all is placed on carries out unified management in the three-layer structure, the attribute that is to say two layers of port that increase on the basis of three layers of port all leaves in the three-layer structure, make that like this memory contents of three-layer structure is very huge, and the change to port attribute is all carried out in three-layer structure, like this, in the time will changing the attribute of a certain port, the switching of port is finished in the change that needs the whole three-layer structure of traversal to carry out port attribute, the port switching efficiency is low, and also is not easy to the visit to port attribute.
Summary of the invention
The objective of the invention is at above-mentioned the deficiencies in the prior art, a kind of port switchover control system and method are proposed, by with two layers of port attribute and three layers of port attribute separate storage, with the memory contents of the three-layer structure that reduces by three layers of port correspondence, with the switching efficiency that improves port and the access speed of port attribute.
To achieve these goals, the invention provides a kind of port switchover control system, comprise a Main Processing Unit, this Main Processing Unit is provided with:
Three layers of port memory cell of Main Processing Unit, be used to store the attribute of three layers of port and the index of two layers and three layers port, be connected with three layers of port handover module of described Main Processing Unit, carry out the information interaction of port attribute data between three layers of port memory cell of three layers of port handover module of described Main Processing Unit and described Main Processing Unit;
Two layers of port handover module of Main Processing Unit, be used to control of the switching of two layers of port to three layers of port, be connected with three layers of port handover module of described Main Processing Unit, carry out the information interaction of port switching command and data between two layers of port handover module of three layers of port handover module of described Main Processing Unit and described Main Processing Unit;
Two layers of port memory cell of Main Processing Unit, be used to store the attribute of two layers of port and the index of two layers of port, be connected with two layers of port handover module of described Main Processing Unit, carry out the information interaction of port attribute data between two layers of port memory cell of two layers of port handover module of described Main Processing Unit and described Main Processing Unit.
Port switchover control system of the present invention can further include one and is equipped with disposable plates, is connected with described Main Processing Unit, is used for carrying out the port switching controls under the situation that Main Processing Unit lost efficacy.The described disposable plates that is equipped with is provided with:
Three layers of port handover module that are equipped with disposable plates, be used to control of the switching of three layers of port to two layers of port, be connected with two layers of port handover module of described Main Processing Unit and three layer interface handover modules of described Main Processing Unit, receive the port switch data that three layer interface handover modules of two layers of port handover module of described Main Processing Unit and described Main Processing Unit send;
Three layers of port memory cell that are equipped with disposable plates, be used to store the attribute of three layers of port and the index of two layers and three layers port, be connected with described three layers of port handover module that are equipped with disposable plates, carry out the information interaction of port attribute data between three layers of port memory cell of described disposable plates fully and the three layers of port handover module of described disposable plates fully;
Two layers of port handover module that are equipped with disposable plates, be used to control of the switching of two layers of port to three layers of port, be connected with described three layers of port handover module of disposable plates fully and three layers of port handover module of described Main Processing Unit, receive the port switch data that sends between three layers of port handover module of described Main Processing Unit, and and described three layers of port handover module that are equipped with disposable plates between carry out the information interaction of port switching command and data;
Two layers of port memory cell that are equipped with disposable plates, be used to store the attribute of two layers of port and the index of two layers of port, be connected with described two layers of port handover module that are equipped with disposable plates, carry out the information interaction of port attribute data between two layers of port handover module of described disposable plates fully and two layers of port memory cell of described disposable plates fully.
The present invention also provides a kind of port method for handover control: comprise the steps:
Step 1, transmission switch to two layers of port switching command with a port from three layers of port;
Step 2, according to described instruction, two layers of port memory cell of visit Main Processing Unit, extract untapped two layers of port index, these two layers of port indexs are distributed to described port, in two layers of port memory cell of Main Processing Unit, add two layers of port attribute of described port in the property store space corresponding with described two layers of port index;
Step 3, described two layers of port index are stored in three layers of port memory cell of Main Processing Unit and carry out related with three layers of port index of described port.
After described step 3, can also comprise the steps:
Step 4, send described port is switched to the switching command of three layers of port from two layers of port, this instruction comprises two layers of port index of described port, two layers of port attribute of the described port correspondence of storing in two layers of port memory cell of deletion Main Processing Unit;
Step 5, according to described instruction, in three layers of port memory cell of Main Processing Unit, search described two layers of port index and the deletion.
Can also comprise that in described step 2 Main Processing Unit carries out the operation of port index backup to being equipped with disposable plates.The operation that wherein said Main Processing Unit carries out the port index backup to standby disposable plates can be specially:
Step 21, send backup messages to being equipped with disposable plates; Comprise described two layers of port index in this backup messages;
Step 22, be equipped with disposable plates and receive described backup messages after, described two layers of port index are stored in three layers of port memory cell of disposable plates fully and carry out related with three layer indexs of described port.
In described step 4, can also comprise the operation of upgrading the port index that is equipped with disposable plates.Wherein, the described renewal operation that is equipped with the port index of disposable plates can be specially:
Step 31, send updating message to being equipped with disposable plates; Comprise described two layers of port index in the described updating message;
Step 32, be equipped with disposable plates and receive described updating message after, in three layers of port memory cell that are equipped with disposable plates, search described two layers of port index and deletion.
In addition, when Main Processing Unit restarted, the described disposable plates that is equipped with upgraded to new Main Processing Unit, and the former Main Processing Unit that restarts is as the new disposable plates that is equipped with; Extract all of the port index and the port attribute information of storing in the three layer interface memory cell of described new Main Processing Unit, and send to the described new three layer interface handover modules that are equipped with disposable plates; Described port index and port attribute are stored in the described new three layer interface memory cell that are equipped with disposable plates.
In addition, the corresponding user modes sign of two layers of port index of each of storing in two of described Main Processing Unit layers of port memory cell; Two layers of port index in described step 2, storing in two layers of port memory cell of inquiry Main Processing Unit, judge according to its user mode sign whether two layers of port index are used, extract untapped two layers of port index and distribute to described port, and with the user mode identification renewal of these two layers of port index correspondences user mode.
System and method provided by the invention by with two layers of port attribute and three layers of port attribute separate storage, has reduced the memory contents of the three-layer structure of three layers of port correspondence, has improved the switching efficiency of port and to the access speed of port attribute.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Fig. 1 is the structural representation of the specific embodiment 1 of port switchover control system of the present invention;
Fig. 2 is the structural representation of the specific embodiment 2 of port switchover control system of the present invention;
Fig. 3 is a port method for handover control specific embodiment flow chart of the present invention.
Embodiment
Referring to Fig. 1, it is the structural representation of the specific embodiment 1 of port switchover control system of the present invention, port switchover control system in the present embodiment is arranged on three layers of port device with two, three layers of port switching function, this equipment comprises a Main Processing Unit A, and described Main Processing Unit A is provided with:
Three layers of port handover module A-1 are used to control the switching of three layers of port to two layers of port;
Three layers of port memory cell A-2, be used to store the attribute of three layers of port and the index of two layers and three layers port, be connected with three layers of port handover module A-1, carry out the information interaction of port attribute data between three layers of port handover module A-1 and three layers of port memory cell A-2;
Two layers of port handover module A-3 are used to control the switching of two layers of port to three layers of port, are connected with three layers of port handover module A-1, carry out the information interaction of port switching command and data between three layers of port handover module A-1 and two layers of port handover module A-3;
Two layers of port memory cell A-4 are used to store the attribute of two layers of port and the index of two layers of port, switch mould A-3 pieces with two layers of port and are connected, and carry out the information interaction of port attribute data between two layers of port handover module A-3 and two layers of port memory cell A-4.
Referring to Fig. 2, it is the structural representation of the specific embodiment 2 of port switchover control system of the present invention, in three layers of port device of embodiment 1, comprises that also is equipped with a disposable plates B, and the described disposable plates B that is equipped with is provided with:
Three layers of port handover module B-1, be used to control of the switching of three layers of port to two layers of port, be connected with two layers of port handover module A-3 of Main Processing Unit and three layer interface handover module A-1 of Main Processing Unit, receive the port switch data that three layers of port handover module A-1 of two layers of port handover module A-3 of Main Processing Unit and described Main Processing Unit send;
Three layers of port memory cell B-2, be used to store the attribute of three layers of port and the index of two layers and three layers port, is connected with three layers of port handover module B-1 that are equipped with disposable plates, is equipped with three layers of port memory cell B-2 of disposable plates and carries out the information interaction of port attribute data fully between three layers of port handover module B-1 of disposable plates;
Two layers of port handover module B-3, be used to control of the switching of two layers of port to three layers of port, be connected with three layers of port handover module A-1 of three layers of port handover module B-1 that is equipped with disposable plates and Main Processing Unit, receive the port switch data that three layers of port handover module A-1 of Main Processing Unit send, and and be equipped with the information interaction of carrying out port switching command and data between three layers of port handover module B-1 of disposable plates;
Two layers of port memory cell B-4 are used to store the attribute of two layers of port and the index of two layers of port, is connected with two layers of port B-3 handover module that are equipped with disposable plates, is equipped with two layers of port handover module B-3 of disposable plates and carries out the information interaction of port attribute data fully between two layers of port memory cell B-4 of disposable plates.
In fact, two port switchover control systems have been comprised in the present embodiment, one of them is arranged on the Main Processing Unit A, another is arranged on and is equipped with on the disposable plates B, wherein in the process of three layers of port device work, port switchover control system on the Main Processing Unit is born the control operation that port switches, and be equipped with port switchover control system on the disposable plates as the alternative system of the port switchover control system of Main Processing Unit, the port switchover control system on Main Processing Unit carry out can be real-time in the process of port hand-off process the related data information backup that port is switched in the port switchover control system that is equipped with disposable plates.When Main Processing Unit restarts, be equipped with disposable plates and will upgrade to Main Processing Unit, utilize its backed up data information to continue the task of the port switchover control system of execution Main Processing Unit, owing to be equipped with and store two layers of port index that take place by the port correspondence of two layers of switching of three courses in three layers of port memory cell in the disposable plates, be equipped with disposable plates like this and can utilize these two layers of port indexs to add the attribute of two layers of port again, and the former Main Processing Unit of this moment just becomes disposable plates fully for this port.
After former Main Processing Unit restarts, will become the new disposable plates that is equipped with, but the data in its memory cell are cleared, at this moment needing certain mode to carry out data recovers, because former Main Processing Unit is in the process of operation, by the mode of backing up in realtime, remain Main Processing Unit and be equipped with the consistent of content in three layers of port memory cell on the disposable plates, like this can be by the mode of batch backup, the content of the storage in former three layers of port memory cell that are equipped with disposable plates (being new Main Processing Unit) stored in new three layers of port memory cell that are equipped with disposable plates fully get final product.
Referring to Fig. 3, it is a port method for handover control specific embodiment flow chart of the present invention, comprises the steps:
Three layers of port handover module of step 101, Main Processing Unit switch to two layer port switching command with a port from three layers of port to two layers of port handover modules transmission of Main Processing Unit;
Two layers of port handover module of step 102, Main Processing Unit are according to described instruction, two layers of port memory cell of visit Main Processing Unit, extract untapped two layers of port index, these two layers of port indexs are distributed to described port, in two layers of port memory cell of described Main Processing Unit, add two layers of port attribute of described port in the property store space corresponding with described two layers of port index;
For the ease of the management of two layers of port index, each two layers of port index of storing in two layers of port memory cell can corresponding user mode sign; Therefore, when originating port switches, in the time of need be for the port assignment index, state by each index corresponding identification, judge whether two layers of port index are used, extract untapped two layers of port index and distribute to described port, and with the user mode identification renewal of these two layers of port index correspondences user mode.
Two layers of port handover module of step 103, Main Processing Unit send to described two layers of port index three layers of port handover module of Main Processing Unit;
Three layers of port handover module of step 104, Main Processing Unit are stored in described two layers of port index in three layers of port memory cell of Main Processing Unit and carry out related with three layers of port index of described port.
By above-mentioned flow process a port is switched to two layers of port from three layers of port, in concrete application, each port index and port attribute all can be stored in the structure, and constitute the structure array by a plurality of structures, and realize the switching of port by port translation order (Portswitch), be specially after two layers of port handover module receive Portswitch order, just one two layers port index of port assignment (portindex) for this reason.The scope of Portindex is from 0 to PORT_MAX (greatest measures of two layers of port), use sign to come allocation index according to the port index of storing in two layers of port organization body array, when finding first still untapped portindex, just with the two layer port index of this portindex as this port.The distribution of this index is fast, because two layers of port are continuous numerical value, and three layers of port index (IfIndex) are discontinuous numerical value, with respect to IfIndex, search many easily, circulate in this scope of 0~PORT_MAX and just can find untapped portindex index value, seek scope is smaller, so the time that consumes is also fewer.Be assigned to after the port index, be with the two-layer structure body initialization of this port index correspondence, the portindex value also will be saved among the L3PortIndex (index of two layers of port depositing in the three-layer structure) of three-layer structure.
Above-mentioned flow process has been finished port from the switching of three layers of port to two layers of port, and after data transmission policies changed, this port also will switch back three layers of port from two layers of port, therefore, after step 104, can also carry out following flow process:
Two layers of port handover module of step 105, Main Processing Unit send the switching command that described port is switched to three layers of port from two layers of port to three layers of port handover module of Main Processing Unit, this instruction comprises two layers of port index of described port, two layers of port attribute of the described port correspondence of storing in two layers of port memory cell of deletion Main Processing Unit;
In addition, if all corresponding user mode of each two layers of port index sign, then in two layers of port attribute of deletion, should be with this user mode identification renewal unused state, just these two layers of port indexs can be distributed to other ports.
Three layers of port handover module of step 106, Main Processing Unit are searched described two layers of port index and deletion according to described instruction in three layers of port memory cell of described Main Processing Unit.
In the application of reality, because port device also has disposable plates fully except that Main Processing Unit, shown in port switchover control system embodiment 2 of the present invention, therefore, above-mentioned port handoff procedure can also comprise the operation of port data backup, in above-mentioned steps 102, after for the two layers of port index of port assignment that switch, Main Processing Unit can be carried out the backup operation of port index to being equipped with disposable plates, is specially:
Two layers of port handover module of step 1021, Main Processing Unit send backup messages to three layers of port handover module that are equipped with disposable plates; Comprise described two layers of port index in this backup messages;
After step 1022, three layers of port handover module that are equipped with disposable plates are received described backup messages, described two layers of port index are stored in three layers of port memory cell of disposable plates fully and carry out related with three layer indexs of described port.
In above-mentioned steps 105, when two layers of port index of deletion, Main Processing Unit also can be carried out the renewal operation of port index to being equipped with disposable plates, is specially:
Two layers of port handover module of step 1051, Main Processing Unit send updating message to three layers of port handover module that are equipped with disposable plates; Comprise described two layers of port index in the described updating message;
After step 1052, three layers of port handover module that are equipped with disposable plates are received described updating message, in three layers of port memory cell that are equipped with disposable plates, search described two layers of port index and deletion.
Above-mentioned backup procedure is to back up in realtime, mainly be used in Main Processing Unit and be equipped with disposable plates all normally under the situation of operation, after Main Processing Unit has added two layers of new port and has distributed two layer indexs, then can send out real-time messages this index is backuped to disposable plates, be equipped with disposable plates and resolve message, the portindex value is left among the L3PortIndex in the three-layer structure, make Main Processing Unit like this and be equipped with disposable plates and be consistent; The Main Processing Unit attribute of two layers of port that reinitializes behind the Backup end.
Except the backup mode of backing up in realtime, also has batch backup, batch backup is to occur in Main Processing Unit and be equipped with in the disposable plates reversed process, when Main Processing Unit causes restarting because of certain reason, be equipped with disposable plates and then can upgrade to Main Processing Unit, the content of at this moment backing up in realtime is just real plays bigger effect, after former Main Processing Unit is restarted, just become the new disposable plates that is equipped with, this stylish Main Processing Unit sends batch backup message to the new disposable plates that is equipped with, content backup in the three-layer structure array is equipped with on the disposable plates new, and because in the process of backing up in realtime, storing the portindex of two layers of port in the three-layer structure array of new Main Processing Unit, new Main Processing Unit can find the portindex of two layers of port in the three-layer structure array, and carry out the initialization of corresponding two layers of port attribute, thereby realize from being equipped with the switching of disposable plates to Main Processing Unit.
The present invention comes two layers of port of unique identification by the index (portindex) of two layers of port, and set up two layers of port organization body, the attribute of two layers of port all is put in two layers of port organization body, come with three-layer structure, reduced the complexity of three-layer structure, and the index (L3PortIndex) by two layers of port depositing in the three-layer structure, set up the contact between two layers of port organization body and the three layers of port organization body.
Owing to the attribute of two layers of port and the attribute of three layers of port are separately left in the different structures, when passing through two layers of port attribute of search index of two layers of port, have shortened query time compared with prior art.And the relation between L3PortIndex and the two layers of port portindex mainly is a batch backup when being used in masterslave switchover in the three-layer structure, and in equipment the backing up in realtime when normally moving.By implementing backup and batch backup, avoid Main Processing Unit and be equipped with the information dropout that disposable plates is switched back two layers of port, make active and standby switching to finish efficiently.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.

Claims (10)

1, a kind of port switchover control system is characterized in that, comprises a Main Processing Unit, and this Main Processing Unit is provided with:
Three layers of port handover module of Main Processing Unit are used to control the switching of three layers of port to two layers of port;
Three layers of port memory cell of Main Processing Unit, be used to store the attribute of three layers of port and the index of two layers and three layers port, be connected with three layers of port handover module of described Main Processing Unit, carry out the information interaction of port attribute data between three layers of port memory cell of three layers of port handover module of described Main Processing Unit and described Main Processing Unit;
Two layers of port handover module of Main Processing Unit, be used to control of the switching of two layers of port to three layers of port, be connected with three layers of port handover module of described Main Processing Unit, carry out the information interaction of port switching command and data between two layers of port handover module of three layers of port handover module of described Main Processing Unit and described Main Processing Unit;
Two layers of port memory cell of Main Processing Unit, be used to store the attribute of two layers of port and the index of two layers of port, be connected with two layers of port handover module of described Main Processing Unit, carry out the information interaction of port attribute data between two layers of port memory cell of two layers of port handover module of described Main Processing Unit and described Main Processing Unit.
2, port switchover control system according to claim 1 is characterized in that also comprising that one is equipped with disposable plates, is connected with described Main Processing Unit, is used for carrying out the port switching controls under the situation that Main Processing Unit lost efficacy, and the described disposable plates that is equipped with is provided with:
Three layers of port handover module that are equipped with disposable plates, be used to control of the switching of three layers of port to two layers of port, be connected with two layers of port handover module of described Main Processing Unit and three layer interface handover modules of described Main Processing Unit, receive the port switch data that three layer interface handover modules of two layers of port handover module of described Main Processing Unit and described Main Processing Unit send;
Three layers of port memory cell that are equipped with disposable plates, be used to store the attribute of three layers of port and the index of two layers and three layers port, be connected with described three layers of port handover module that are equipped with disposable plates, carry out the information interaction of port attribute data between three layers of port memory cell of described disposable plates fully and the three layers of port handover module of described disposable plates fully;
Two layers of port handover module that are equipped with disposable plates, be used to control of the switching of two layers of port to three layers of port, be connected with described three layers of port handover module of disposable plates fully and three layers of port handover module of described Main Processing Unit, receive the port switch data that three layers of port handover module of described Main Processing Unit send, and and described three layers of port handover module that are equipped with disposable plates between carry out the information interaction of port switching command and data;
Two layers of port memory cell that are equipped with disposable plates, be used to store the attribute of two layers of port and the index of two layers of port, be connected with described two layers of port handover module that are equipped with disposable plates, carry out the information interaction of port attribute data between two layers of port handover module of described disposable plates fully and two layers of port memory cell of described disposable plates fully.
3, a kind of port method for handover control is characterized in that comprising the steps:
Step 1, transmission switch to two layers of port switching command with a port from three layers of port;
Step 2, according to described instruction, two layers of port memory cell of visit Main Processing Unit, extract untapped two layers of port index, these two layers of port indexs are distributed to described port, in two layers of port memory cell of Main Processing Unit, add two layers of port attribute of described port in the property store space corresponding with described two layers of port index;
Step 3, described two layers of port index are stored in three layers of port memory cell of Main Processing Unit and carry out related with three layers of port index of described port.
4, method according to claim 3 is characterized in that also comprising the steps: after described step 3
Step 4, send described port is switched to the switching command of three layers of port from two layers of port, this instruction comprises two layers of port index of described port, two layers of port attribute of the described port correspondence of storing in two layers of port memory cell of deletion Main Processing Unit;
Step 5, according to described instruction, in three layers of port memory cell of Main Processing Unit, search described two layers of port index and the deletion.
5,, it is characterized in that in described step 2, also comprising that Main Processing Unit carries out the operation of port index backup to being equipped with disposable plates according to claim 3 or 4 described methods.
6, method according to claim 5 is characterized in that the operation that Main Processing Unit carries out the port index backup to standby disposable plates is specially:
Step 21, send backup messages to being equipped with disposable plates; Comprise described two layers of port index in this backup messages;
Step 22, be equipped with disposable plates and receive described backup messages after, described two layers of port index are stored in three layers of port memory cell of disposable plates fully and carry out related with three layer indexs of described port.
7, method according to claim 4 is characterized in that also comprising the operation of upgrading the port index that is equipped with disposable plates in described step 4.
8, method according to claim 7 is characterized in that the operation that described renewal is equipped with the port index of disposable plates is specially:
Step 31, send updating message to being equipped with disposable plates; Comprise described two layers of port index in the described updating message;
Step 32, be equipped with disposable plates and receive described updating message after, in three layers of port memory cell that are equipped with disposable plates, search described two layers of port index and deletion.
According to claim 3 or 4 described methods, it is characterized in that when Main Processing Unit restarts that 9, the described disposable plates that is equipped with upgrades to new Main Processing Unit, the former Main Processing Unit that restarts is as the new disposable plates that is equipped with;
Extract all of the port index and the port attribute information of storing in the three layer interface memory cell of described new Main Processing Unit, and send to the described new three layer interface handover modules that are equipped with disposable plates;
Described port index and port attribute are stored in the described new three layer interface memory cell that are equipped with disposable plates.
10, according to claim 3 or 4 described methods, two layers of port index that its feature is stored in two layers of port memory cell of inquiry Main Processing Unit in described step 2, user mode sign according to these two layers of port index correspondences judges whether two layers of port index are used, extract untapped two layers of port index and distribute to described port, and with the user mode identification renewal of these two layers of port index correspondences user mode.
CN200610079600A 2006-04-30 2006-04-30 Port switchover control system and method Expired - Fee Related CN100591077C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610079600A CN100591077C (en) 2006-04-30 2006-04-30 Port switchover control system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610079600A CN100591077C (en) 2006-04-30 2006-04-30 Port switchover control system and method

Publications (2)

Publication Number Publication Date
CN101047719A true CN101047719A (en) 2007-10-03
CN100591077C CN100591077C (en) 2010-02-17

Family

ID=38771928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610079600A Expired - Fee Related CN100591077C (en) 2006-04-30 2006-04-30 Port switchover control system and method

Country Status (1)

Country Link
CN (1) CN100591077C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410588A (en) * 2014-10-22 2015-03-11 福建星网锐捷网络有限公司 Method of implementing virtual switching on router equipment and router equipment
CN104869010A (en) * 2013-12-13 2015-08-26 马维尔以色列(M.I.S.L.)有限公司 Protection switching
CN109462509A (en) * 2018-12-03 2019-03-12 杭州迪普科技股份有限公司 A kind of method and apparatus of the batch backup of board
CN115150344A (en) * 2022-06-30 2022-10-04 苏州浪潮智能科技有限公司 Method, device, equipment and medium for switching network port modes of switch

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869010A (en) * 2013-12-13 2015-08-26 马维尔以色列(M.I.S.L.)有限公司 Protection switching
CN104410588A (en) * 2014-10-22 2015-03-11 福建星网锐捷网络有限公司 Method of implementing virtual switching on router equipment and router equipment
CN109462509A (en) * 2018-12-03 2019-03-12 杭州迪普科技股份有限公司 A kind of method and apparatus of the batch backup of board
CN115150344A (en) * 2022-06-30 2022-10-04 苏州浪潮智能科技有限公司 Method, device, equipment and medium for switching network port modes of switch
CN115150344B (en) * 2022-06-30 2023-07-25 苏州浪潮智能科技有限公司 Method, device, equipment and medium for switching network port modes of switch

Also Published As

Publication number Publication date
CN100591077C (en) 2010-02-17

Similar Documents

Publication Publication Date Title
CN102217253B (en) Message forwarding method, equipment and network device
CN1848841A (en) Route equipment backup method
CN1754374A (en) Network address translation with gateway load distribution
CN102103544A (en) Method and device for realizing distributed cache
US20130031235A1 (en) Method, network management center, and a related device for configuring a network policy for a virtual port
US20130275705A1 (en) Remote memory management when switching optically-connected memory
CN102594660A (en) Virtual interface exchange method, device and system
CN101056270A (en) A route convergence method and routing device
CN101047719A (en) Port switchover control system and method
CN101442493A (en) Method for distributing IP message, cluster system and load equalizer
CN1545268A (en) A method and system for Ethernet interface node backup
CN1529459A (en) Main-standby rotation realizing method facing to high-side exchange board
CN102262512A (en) System, device and method for realizing disk array cache partition management
CN100432975C (en) Architecture of interface target machine for miniature computer system and data transmitting method
CN105978762A (en) Redundant Ethernet data transmission device, system and method thereof
CN103546315A (en) System, method and equipment for backing up DHCP (dynamic host configuration protocol) server
CN102917287A (en) Intelligent optical network exchange device and edge cashing method facing content center
CN1905508A (en) Distributed processing system and processing method for multi-generating tree protocol
CN1745541A (en) Resource pooling in an internet protocol-based communication system
CN100342666C (en) Rearrangement method in communication system
CN102045234A (en) Buffering and overtime processing methods of route address mapping information as well as tunnel router
CN1301607C (en) Method for implementing supporting virtual local network fire wall
CN107819764B (en) Evolution method of C-RAN-oriented data distribution mechanism
CN100502365C (en) Interplate communicating method
CN1163082C (en) Multi module No.7 signalling system signalling joining and controlling part distribution mission management method

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100217

Termination date: 20120430