CN101155065B - Method and system for automatic creating intermediate node - Google Patents

Method and system for automatic creating intermediate node Download PDF

Info

Publication number
CN101155065B
CN101155065B CN2006101523609A CN200610152360A CN101155065B CN 101155065 B CN101155065 B CN 101155065B CN 2006101523609 A CN2006101523609 A CN 2006101523609A CN 200610152360 A CN200610152360 A CN 200610152360A CN 101155065 B CN101155065 B CN 101155065B
Authority
CN
China
Prior art keywords
mip
port
rank
message
create
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.)
Expired - Fee Related
Application number
CN2006101523609A
Other languages
Chinese (zh)
Other versions
CN101155065A (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 CN2006101523609A priority Critical patent/CN101155065B/en
Priority to PCT/CN2007/070319 priority patent/WO2008037193A1/en
Publication of CN101155065A publication Critical patent/CN101155065A/en
Application granted granted Critical
Publication of CN101155065B publication Critical patent/CN101155065B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks

Abstract

The invention discloses a method of MIP automatically establishing. Device nodes monitor whether the present satisfies the MIP establishing condition, if satisfying the MIP establishing condition, the terminal required to establish MIP is determined and the MIP automatically establishing is performed on the determined terminal based on the type of MIP establishing parameter in self-arrangement. The said invention also discloses a system of MIP automatically establishing, comprising: at least one device node for monitoring whether the present satisfies the MIP establishing condition, if satisfying the MIP establishing condition, the terminal required to establish MIP is determined and the MIP automatically establishing is performed on the determined terminal based on the type of MIP establishing parameter in self-arrangement. The said method and system can reduce the workload of establishing MIP by handwork.

Description

The method and system that a kind of intermediate node is created automatically
Technical field
The present invention relates to Operations, Administration and Maintenance (OAM, Operations, the Administration and Maintenance) technology in the Ethernet (Ethernet), relate in particular to the method and system that a kind of intermediate node is created automatically.
Background technology
Because ethernet technology is simple and easy to can improve constantly, so no matter be that ethernet technology has all obtained large-scale application at enterprise network, metropolitan area network and wide area network etc. as a kind of business or as a kind of network configuration with, cheap and bandwidth.But traditional ethernet to safeguard, can run ability more weak, therefore along with the expansion gradually of Ethernet promoted extension, also more and more stronger to the demand of the OAM(Operation Administration Maintenance) of Ethernet.
The OAM(Operation Administration Maintenance) of Ethernet mainly is divided into two parts: the OAM(Operation Administration Maintenance) of physical link level is used to realize the fault detect and the informing function of two Ethernet physical links between the equipment; The OAM(Operation Administration Maintenance) of service level is mainly realized the connectivity of link management between the end-to-end equipment.
In order to improve the OAM(Operation Administration Maintenance) of service level, U.S. electronic motor Ssociety of engineers (IEEE, Instituteof Electrical and Electronic Engineers) the 802.1ag consensus standard has been proposed, in the 802.1ag agreement, defined the maintenance field (MD that needs management, Maintenance Domain), MD is the involved network of Ethernet OAM function or certain part in the network, and it is made up of a series of device node.802.1ag in maintenance field is divided into 8 OAM ranks at most, allow user, service supplier and operator at the independent OAM of rank operation separately.According to default setting, 8 OAM ranks are respectively: customer-oriented 5-7 level; Towards 3 grades and 4 grades of supplier; Operatable object merchant's 0-2 level.Wherein, 7 grades is highest level, and 0 grade is minimum rank.
Wherein as the Maintenance Association (MA of the entity of certain MD, Maintenance Association) in included a series of device node, the edge device node that is positioned at two ends is called the end points (MEP of Maintenance Association, Maintenance Association End Point), being used for generation and handling OAM message to monitor and to safeguard MA, is the main promoter and the recipient of Ethernet OAM message; Device node in the middle of being positioned at is called the intermediate node (MIP, Maintenance Association IntermediatePoint) of Maintenance Association, is used to transmit the Ethernet OAM message that MEP initiates.Have two MEP among one of them MA at least, below MEP and MIP are referred to as node M P.
The OAM message mechanism comprise continuity check (CC, Connectivity Check), loopback (LB, LoopBack) and link trace (LT, Link Trace) etc.Wherein, CC is used to realize the fault detect of Ethernet, by the initiatively periodic CC message (CCM that sends of each MEP, ConnectivityCheck Message), this CC message ends in other MEP among this MA, other MEP judges whether to break down according to the situation that receives CC message, if there is fault to exist, then gives the upper management center with fault information reporting.Wherein all devices node among the MA can receive this CCM, but does not do any processing, directly this CCM is transmitted.
Wherein, in a series of device nodes of MA, follow as shown in table one principle according to 802.1ag agreement regulation MIP and create:
Figure G061F2360920061012D000021
Table one
In the above-mentioned table one, function (the MHF of MIP single direction, MIP Half Function) is illustrated in the MIP on some upstream or downstream directions in the transmission link, as seen, as long as behind the MEP in a certain MD rank, this port just can not be created as the MIP that is lower than among other MD of this grade to the port of this device node again on this direction on a certain direction; And if the port of this device node on a certain direction as behind the MIP in a certain MD rank, this port just can not be created as the MIP that is higher than among other MD of this grade again on this direction; If all there are not above-mentioned two kinds of situations, then the type according to MIP establishment parameter judges whether that needs are created as MIP on this direction, when MIP establishment parameter is defMHFnone, then can not create; When MIP creates parameter and is defMHFexplicit, then judge this moment whether on this direction as the MEP among other MD of certain even lower level, if, then can be created as MIP, otherwise, can not create; When MIP establishment parameter is defMHFdefault, then can create.As seen, may there be a plurality of MEP in each port in different MD ranks, but can only there be a MIP in each port.
Wherein, create parameter about MIP and generally be configured under system pattern, default parameters is defMHFnone, and alternative configuration parameter is defMHFexplicit and defMHFdefault.
Though, do not create a plurality of MIP how efficiently in the face of a group network system does not provide 802.1ag provided the rule of a port of individual equipment being created MIP in the agreement.Because in the actual sets network process, may comprise a plurality of MD in the group network system, each equipment also may comprise a plurality of ports, then the port as the equipment of MD part just has a lot, and the relation of each port between individual MD is also very complicated, if manual creation MIP, when creating according to above-mentioned establishment rule, need the user very familiar to the agreement regulation, and need manually go the port of checkout facility node whether to need to create MIP, if in the intermediate management process, the port of certain equipment needs on a certain direction as the MEP among the MD, and when perhaps not being re-used as situations such as the MEP generation among the MD, MIP may need to create again or delete, this moment, the user can't in time be known these situations, even if obtain after these situations, also can't in time remove to create MIP according to these situations, difficult in maintenance, workload is big, and has reduced networking efficient.
Summary of the invention
In view of this, the method that one aspect of the present invention provides a kind of MIP to create automatically, the workload in the time of can reducing manual creation.
The system that the present invention provides a kind of MIP to create automatically on the other hand, the workload in the time of can reducing manual creation.
The method that MIP provided by the present invention creates automatically is achieved by following technical solution:
This method comprises:
Device node is monitored the current MIP establishment condition that whether satisfies, create condition if satisfy MIP, then determine to need create the port of MIP, and create the type of parameter and resulting maintenance field MD, Maintenance Association MA information, determined port is carried out MIP create automatically according to MIP in self configuration.
Wherein, described resulting MD, MA information are: the MD that disposes in device node in advance, MA information; The described MIP of satisfying establishment condition is: create enable switch automatically and be opened; Described definite step of the port of establishment MIP that needs is: the port that all of the port of device node is defined as needing to create MIP.
Wherein, the type of described MIP establishment parameter is defMHFexplicit;
Then describedly determined port is carried out MIP be created as automatically: device node travels through each port successively, and it is as follows that each port is carried out the automatic creation operation of described MIP:
A1, to have created flag bit at the MIP of this port be fictitious time, looks for the highest MD rank that has end points MEP in this port, if can find described MD rank, then execution in step A2; Otherwise, finish the port flow process;
A2, if this MD rank less than highest level, is then looked for the minimum MD rank that has MA in greater than other MD rank of this MD level, if can find, then in the MD rank that is found, create MIP, finish the port flow process; Otherwise, finish the port flow process.
Wherein, the type of described MIP establishment parameter is defMHFdefault;
Then describedly determined port is carried out MIP be created as automatically: device node travels through each port successively, and it is as follows that each port is carried out the automatic creation operation of described MIP:
B1, to have created flag bit at the MIP of this port be fictitious time, looks for the highest MD rank that has MEP in this port, if can find described MD rank, then with after described MD rank and 1 addition as initial MD rank; Otherwise, with minimum MD rank as initial MD rank;
B2, if initial MD rank smaller or equal to highest level, is then looked for the minimum MD rank that has MA in other MD rank of initial MD level more than or equal to this, if can find, then in the MD rank that is found, create MIP, finish the port flow process; Otherwise, finish the port flow process.
Preferably, this method is after executing the automatic creation operation of MIP to all ports of determining, further comprise: device node monitors in the MD rank of port and creates MEP, judge and whether have other MIP of this MD level on this port, if exist, carry out the automatic creation operation of described MIP then with this MIP deletion, and to this port; Perhaps device node monitors in the MD rank of port deletion and has created MEP, then this port is carried out the automatic creation operation of described MIP.
Preferably, described looking in the MD rank exists the minimum MD rank of MA to be: MD, MA information according to configuration according to the MD rank, travel through from low to high, if there is MA, then will find the MD rank of first MA to be defined as the minimum MD rank of the described MA of existence.
Preferably, described resulting MD, MA information are: MD, MA information that device node obtains from the received continuity check CC message of carrying MD, MA information; This method further comprises: carry out the CC database update according to described CC message; The then described MIP of satisfying establishment condition is: the CC database update; Described definite step of the port of establishment MIP that needs is: the port that all of the port of CC message process is defined as needing to create MIP.
Wherein, described CC database update is: the CC database increases CC message newly, and the type that described MIP creates parameter is defMHFexplicit;
Then describedly determined port carried out MIP be created as automatically: travel through each port of CC message process in this device node successively, and each port is carried out following operation:
Having created flag bit at the MIP of this port is fictitious time, looks for the highest MD rank that has MEP in this port, if can find described MD rank, and the MD rank that finds is then created MIP in the MD rank in CC message less than the MD rank in the CC message; Otherwise, finish the port flow process; Having created flag bit at the MIP of this port is true time, looks for the MD rank that has MIP in than the big MD rank of the MD rank in the CC message, if can find, then deletes this MIP, and creates MIP in the MD rank in CC message, finishes the port flow process.
Preferably, described looking for exists the highest MD rank of MEP to be in this port: according to the MD rank, traveled through to low by height, if there is MEP, then will find the MD rank of first MEP to be defined as the highest MD rank of the described MEP of existence.
Wherein, described CC database update is: the CC database increases CC message newly, and the type that described MIP creates parameter is detMHFdefault;
Then describedly determined port carried out MIP be created as automatically: travel through each port of CC message process in this device node successively, and each port is carried out following operation:
Having created flag bit at the MIP of this port is fictitious time, looks for the highest MD rank that has MEP in this port, if can find described MD rank, and the MD rank that finds is then created MIP in the MD rank in CC message less than the MD rank in the CC message; If can not find described MD rank, then directly create MIP in the MD rank in CC message; Having created flag bit at the MIP of this port is true time, looks for the MD rank that has MIP in than the big MD rank of the MD rank in the CC message, if can find, then deletes this MIP, and creates MIP in the MD rank in CC message, finishes the port flow process.
Wherein, described CC database update is: CC database deletion CC message, and describedly determined port is carried out MIP be created as automatically: according to the MD rank in the deletion CC message, when determining to have MIP in this MD rank, delete the MIP in this MD rank, and finish the flow process of the port.
Preferably, this method further comprises: a MIP flag bit is set in CC message, and device node judges MIP flag bit in the CC message that receives,
If the MIP flag bit is default MD, MA Information sign, the then described MIP of satisfying establishment condition is: creating enable switch automatically is opened; Described definite step of the port of establishment MIP that needs is: the port that all of the port of device node is defined as needing to create MIP;
If the MIP flag bit carries MD, MA Information sign for CC message, the then described MIP of satisfying establishment condition is: the CC database update; Described definite step of the port of establishment MIP that needs is: the port that all of the port of CC message process is defined as needing to create MIP.
The system that intermediate node provided by the present invention is created automatically is achieved by following technical solution:
This system comprises: at least one device node, be used to monitor the current MIP establishment condition that whether satisfies, when satisfying MIP establishment condition, determine to need to create the port of MIP, and create the type of parameter and resulting MD, MA information according to MIP in self configuration, determined port is carried out MIP create automatically.
Wherein, described device node comprises: at least one port, memory module and search creation module, wherein,
Memory module is used to store the node M P information table of each port, and according to the update notification that the search creation module is sent, upgrades MP information;
The search creation module, be used for monitoring in real time the current MIP establishment condition that whether satisfies, when satisfying MIP establishment condition, determine to need to create the port of MIP, and create the type of parameter according to MIP in self configuration, read the MP information table in the memory module, according to MP information table and resulting MD, MA information determined port is carried out MIP and create automatically, and send the notice of upgrading the new MIP of establishment in the MP information to memory module.
Preferably, described device node further comprises: module for reading and writing and CC database,
Wherein, port when being used to receive CC message, sends to module for reading and writing with CC message;
Module for reading and writing is used to receive CC message, and judges the record that whether has this CC message in the CC database, if having, then abandons; Otherwise, write in the CC database, send the notice of newly-increased CC record simultaneously to the search creation module, if when in the cycle of predetermined number, not receiving continuously the identical CC message from port, then, send the notice of deletion CC record simultaneously to the search creation module with the record deletion of this CC message in the database;
Described search creation module is further used for: when the notice that receives from the deletion CC of module for reading and writing record, if having MIP in the MD rank in deletion CC message in the port, then delete this MIP; When the notice that receives from the newly-increased CC record of module for reading and writing, be defined as satisfying MIP and create condition, and port that need to determine to create MIP is the port of CC message process, carry out then and described determined port is carried out the operation that MIP creates automatically.
From such scheme as can be seen, the present invention when satisfying MIP establishment condition, need to determine the port of establishment MIP by allowing device node monitor the current MIP establishment condition that whether satisfies in real time, and, determined port is carried out MIP create automatically according to the type that MIP in self configuration creates parameter.Understand in the agreement rule of creating about MIP thereby need not the user, also need not the user and detect whether need to create MIP,, improved networking efficient the low workload of manual creation MIP.
Wherein, the required information about MD and MA can be by being configured in the system of device node in advance before carrying out the MIP configuration, this moment is when the establishment enable switch is opened automatically, device node is created the type of parameter according to MIP, all of the port is carried out MIP to be created automatically, understand the rule of creating about MIP in the agreement thereby need not the user, reduced the workload of manual creation MIP.In addition, MD, MA information can also be carried by CC message, and this moment, device node was created the type of parameter according to MIP when the CC database update, to CC message each port of process carry out MIP and create automatically.Thereby further saved the work of manual configuration, reduced requirement the user.
In addition,, make above-mentioned establishment mode of carrying MD, MA message by CC and adopt the establishment mode that in device node, disposes MD, MA message in advance as option and deposit, improved the flexibility of building work by the MIP flag bit is set.
At last, in system's running, when situations such as new MEP of establishment or deletion MEP take place take place, by automatic triggering MIP visioning procedure, thereby saved the complicated processes of user's manual creation MIP and to user's high request, not only save workload, also improved the performance of system's operation.
Description of drawings
Fig. 1 is the overview flow chart of the automatic creation method of MIP of the present invention.
Fig. 2 is the method flow diagram that MIP creates automatically in the embodiment of the invention one;
When Fig. 3 is defMHFexplicit for MIP in the method shown in Figure 2 creates parameter, each port is carried out the flow chart that MIP creates automatically;
When Fig. 4 is defMHFdefault for MIP in the method shown in Figure 2 creates parameter, each port is carried out the flow chart that MIP creates automatically;
Fig. 5 is the system configuration schematic diagram that MIP creates automatically in the embodiment of the invention one;
Fig. 6 is the structural representation of a device node in the system shown in Figure 5;
Fig. 7 is the method flow diagram that MIP creates automatically in the embodiment of the invention two;
When Fig. 8 is defMHFexplicit for MIP in the method shown in Figure 7 creates parameter, each port is carried out the flow chart that MIP creates automatically;
When Fig. 9 is defMHFdefault for MIP in the method shown in Figure 7 creates parameter, each port is carried out the flow chart that MIP creates automatically;
Figure 10 is the structural representation of a device node in the system that MIP creates automatically in the embodiment of the invention two.
Embodiment
Technical scheme for a better understanding of the present invention, technical solution of the present invention will be further described below in conjunction with embodiment and accompanying drawing.
Basic thought of the present invention is: device node is monitored the current MIP establishment condition that whether satisfies in real time, when satisfying MIP establishment condition, determine to need create the port of MIP, and, determined port is carried out MIP create automatically according to the type that MIP in self configuration creates parameter.
Referring to Fig. 1, Fig. 1 is the method overview flow chart based on inventive concept, and this flow process comprises the steps:
Step 101, whether device node monitoring is current satisfies MIP is created condition automatically, if satisfy, then execution in step 102; Otherwise, return execution in step 101.
Step 102, definite port that needs to create MIP.
Step 103 according to the type that MIP in self configuration creates parameter, is carried out MIP to determined port and is created automatically.
During specific implementation, can adopt required MD, the MA information of pre-configured establishment MIP, device node is when the establishment enable switch is opened automatically then, judge the type of MIP establishment parameter in self disposing, then according to parameter type in conjunction with the MD that disposed, the information of MA, according to automatic visioning procedure all of the port of this device node is carried out the process of creating MIP automatically, understand the rule of creating about MIP in the agreement thereby need not the user, the workload of low manual creation MIP.
In addition, can also adopt the information that to create the required MD of MIP, MA to carry by CC message, device node is when the CC database update then, judge the type of MIP establishment parameter in self disposing, the information of the MD that carries in conjunction with CC message according to parameter type, MA then, according to automatic visioning procedure all of the port of CC message process in this device node is carried out the process of creating MIP automatically, thereby further save the workload of manual configuration.
At last, the present invention passes through to increase the MIP flag bit with above-mentioned two kinds of implementations in CC message, thereby can select to use above-mentioned dual mode according to flag bit, make configuration effort more flexible.
Below in conjunction with three specific embodiments the method and system that MIP among the present invention creates automatically are described in detail.
Embodiment one:
In the present embodiment, about the information such as rank, title and MA title of each MD by manual being configured in the system of each device node in advance, and in the system of device node, be provided with one and automatically create enable switch, when this enable switch enables, when promptly opening, trigger to carry out and create function automatically; Created flag bit for each port is provided with a MIP simultaneously, when this flag bit is a true time, expression MIP has created and has finished.
Following elder generation is described in detail the method that MIP in the present embodiment creates automatically.When uplink direction or down link direction were carried out MIP and created, each device node according to automatic visioning procedure, carried out the automatic establishment of MIP according to the type that self MIP creates parameter in conjunction with MD, MA information.Because no matter be in uplink direction or down link direction, the rule of creating MIP all is the same with flow process, therefore no longer to specifically describe be to create on which direction to the flow process described in the following method, describes and be created as example with the MIP on the single direction.Referring to Fig. 2, Fig. 2 is the method flow diagram that MIP creates automatically in the embodiment of the invention one, and this flow process comprises the steps:
Step 201, when automatic establishment enable switch was opened, device node judged that MIP creates parameter type, is defMHFnone if MIP creates parameter, then process ends; If it is defMHFexplicit that MIP creates parameter, then execution in step 202; If it is defMHFdefault that MIP creates parameter, then execution in step 203.
Step 202 travels through each port in this device node successively, and to the port that the establishment of satisfying defMHFexplicit is stipulated, creates MIP, promptly each port is judged, when satisfying the establishment regulation of defMHFexplicit, creates MIP on this port.Process ends.
At the specific implementation process of each port referring to flow process shown in Figure 3.
Step 203 travels through each port in this device node successively, and to the port that the establishment of satisfying defMHFdefault is stipulated, creates MIP, promptly each port is judged, when satisfying the establishment regulation of defMHFdefault, creates MIP on this port.Process ends.
At the specific implementation process of each port referring to flow process shown in Figure 4.
In above-mentioned step 202 shown in Figure 2, when MIP establishment parameter is defMHFexplicit, travel through each port in this device node successively, judge whether when the MIP of front port has created flag bit be true, if be true, then finish the flow process of the port, the traversal next port; Otherwise, find the highest MD rank that has MEP, if this MD rank greater than highest level 7, then from this other upper level of MD level not, finds the minimum MD rank that has MA from low to high, on this MD rank, create MIP.
Promptly, the MIP of front port is not true time when having created flag bit, can travel through to low by height according to the MD rank, find the MD rank of first MEP to be the highest MD rank that has MEP, whether the MD rank of judging current traversal in the ergodic process exists MEP, if there is no, then continues next rank of traversal, if when traversing minimum rank, still there is not MEP, then finishes the port flow process, continue the traversal next port; If exist MEP and this rank less than highest level 7, then do not begin by this other upper level of MD level, travel through from low to high, find the MD rank of first MA to be the minimum MD rank that has MA, in the ergodic process, judge in the MD rank that is traveled through whether have MA, if exist, then create MIP, and finish the port flow process, the traversal next port; Otherwise continue the next MD rank of traversal, when having traveled through the highest MD rank, still do not have MA, then finish the port flow process, the traversal next port.
During concrete enforcement, can carry out MIP according to flow process as shown in Figure 3 at each port and create automatically, when Fig. 3 is defMHFexplicit for MIP in the method shown in Figure 2 creates parameter, each port be carried out the flow chart that MIP creates automatically.This flow process comprises the steps:
Step 301 judges whether when the MIP of front port has created flag bit be true, if be true, then finishes the flow process of the port; Otherwise, execution in step 302.
All there is a MP information table in each port of device node in MD, the information table of supposing port one as shown in Table 2:
The MD rank Uplink direction The down link direction
7
6
5 MIP
4 MEP
3
2 MEP
[0088]
1
0
Table two
In above-mentioned table one, as can be seen, for port one, on uplink direction, there is MEP in this port in the MD rank is 2 MA, and has MIP in the MD rank is 5 MA; Make progress at downlink side simultaneously, there is MEP in this port in the MD rank is 4 MA.
If when uplink direction carries out the automatic establishment of MIP, then for port one, because have MIP in the MD rank is 5 MA, so MIP created flag bit for true, and expression MIP has created and finished, and then finishes the flow process of the port.
If when the down link direction is carried out the automatic establishment of MIP, then for port one, because there is not MIP in this port, so MIP created flag bit for false, can create execution in step 302.
Step 302, it is highest level 7 that current MD rank is set.
Step 303 judges in the current MD rank whether have MEP, and if there is no, then execution in step 304; Otherwise, execution in step 306.
In this step, if to port one when the down link direction is carried out the automatic establishment of MIP, then for port one, in current MD rank is 7 o'clock, there is not MEP, so execution in step 304,305, until current MD rank is 4 o'clock, obtain port one and have MEP in the MD rank is 4 MA, this moment can execution in step 306.
Step 304 judges whether current MD rank equals 0, if be not equal to 0, then execution in step 305; Otherwise, finish the port flow process.
Step 305 makes current MD rank=current MD rank-1, and returns execution in step 303.
Step 306, current MD rank=current MD rank+1.
Whether step 307 judges current MD rank smaller or equal to 7, if then execution in step 308; Otherwise, finish the port flow process.
Step 306 still is that example describes with the port one to step 307, and resulting MD rank 4 in the step 303 is added 1, obtains 5, and 5 less than 7, therefore by 5 beginning execution in step 308.
Step 308 judges in the current MD rank whether have MA, if exist, then execution in step 309; Otherwise, return execution in step 306.
In this step, judging whether to exist MA, is to obtain according to pre-configured MD, MA information.
Suppose that upwards having the MD rank is 7 MA, then when carrying out this step for the downlink side of above-mentioned port one, if the MD rank is 5,, therefore return execution in step 306 because 5 do not satisfy condition, up to the MD rank is 7 o'clock, and obtaining existing the MD rank is 7 MA, and execution in step 309 then.
Step 309 is created MIP, finishes the port flow process.
In this step, create MIP for the port that satisfies condition, therefore the MD rank is to create MIP among 7 the MA in above-mentioned port one.Be port one the MP information table as shown in Table 3.
The MD rank Uplink direction The down link direction
7 MIP
6
5 MIP
4 MEP
3
2 MEP
1
0
Table three
After the flow process of the port finishes, continue the traversal next port, and next port is carried out step 301 shown in Figure 3 to the identical flow process of step 309, up to having traveled through last port, MIP creates end automatically.
In above-mentioned step 203 shown in Figure 2, when MIP establishment parameter is defMHFdefault, travel through each port in this device node successively, judge whether when the MIP of front port has created flag bit be true, if be true, then finishes the flow process of the port; Otherwise, find the highest MD rank that has MEP, if this MD rank is not a highest level 7, then not from this other upper level of MD level; If there is not MEP in this port, then from MD rank 0, find the minimum MD rank that has MA from low to high, on this MD rank, create MIP.
Even be not true time, can travel through to low by height according to the MD rank, and judge whether the MD rank of current traversal exists MEP, if there is no, then continue the next MD rank of traversal when the MIP of front port has created flag bit.If when traversing minimum rank, still do not have MEP, then preserving the MD rank is 0; If exist, then preserve the MD rank and be: MD rank+1 that has MEP.Afterwards, the MD rank from being preserved travels through from low to high, if having MA in the MD rank that is traveled through, then creates MIP, finishes the flow process of the port; Otherwise continue the next MD rank of traversal, when having traveled through the highest MD rank, still do not have MA, then finish the port flow process, the traversal next port.
During concrete enforcement, can carry out MIP according to flow process as shown in Figure 4 at each port and create automatically, when Fig. 4 is defMHFdefault for MIP in the method shown in Figure 2 creates parameter, each port be carried out the flow chart that MIP creates automatically.This flow process comprises the steps:
Step 401 judges whether when the MIP of front port has created flag bit be true, if be true, then finishes the flow process of the port; Otherwise, execution in step 402.
Step 402, it is highest level 7 that current MD rank is set.
Step 403 judges in the current MD rank whether have MEP, and if there is no, then execution in step 404; Otherwise, execution in step 406.
Step 404 judges whether current MD rank equals 0, if equal 0, then execution in step 405; Otherwise execution in step 406.
Step 405 makes current MD rank=current MD rank-1, and returns execution in step 403.
Step 406 makes current MD rank=0, and execution in step 409 then.
Step 407, current MD rank=current MD rank+1.
Whether step 408 judges current MD rank smaller or equal to 7, if then execution in step 409; Otherwise, finish the port flow process.
Step 409 judges in the current MD rank whether have MA, if exist, then execution in step 410; Otherwise, return execution in step 407.
Step 410 is created MIP, finishes the port flow process.
After the flow process of the port finishes, continue the traversal next port, and next port is carried out step 401 shown in Figure 4 to the identical flow process of step 410, up to having traveled through last port, MIP creates end automatically.
Wherein, when having created on certain port at this device node when belonging to certain other MEP of MD level, then then, carry out the automatic visioning procedure of MIP then if there is other MIP of this MD level on this port this moment at first with this MIP deletion; Perhaps when certain has created the attribute of MEP, change has taken place as MD rank etc., then if having MIP on the MD rank of newly-increased MEP on this port,, carry out the automatic visioning procedure of MIP then then at first with this MIP deletion; Perhaps when deleted on certain port at this device node created belong to certain other MEP of MD level the time, carry out the automatic visioning procedure of MIP; Or, carry out the automatic visioning procedure of MIP when automatically creating enable switch by being closed to when opening.
Wherein, the automatic visioning procedure of MIP is defMHFexplicit according to the type that MIP creates parameter, or defMHFdefault, and the port of creating or delete MEP is carried out flow process shown in Figure 3, or flow process shown in Figure 4.
Certainly for step 303 to step 305 and step 403 also have other mode about looking for the highest other implementation of MD level that has MEP to the step 406, as with MEP as keyword, in the MP information table, search for, search after the MEP, MD rank the highest among each MEP is defined as existing the highest MD rank of MEP; For step 306 to step 309 and step 407 also can other mode to the step 410 about looking for minimum other implementation of MD level that has MA, as MA is searched in pre-configured MD, MA information as keyword, search after the MA in the port, MD rank minimum among each MA is defined as existing the minimum MD rank of MA.
Below again to being described in detail based on the automatic system of creating of the MIP of method shown in Figure 2 in the present embodiment.
Fig. 5 is the system configuration schematic diagram that MIP creates automatically in the embodiment of the invention one, and this system is based on implementation method shown in Figure 2.As shown in Figure 5, this system comprises: at least one device node.Comprise A to J totally 10 device nodes in the present embodiment, these device nodes belong among different other MA of MD level, belonging to the MD rank as device node A, B and C is among 7 the MA, and be the MEP among this MA, it is among 4 the MA that device node D, E and F belong to the MD rank, and is the MEP among this MA; Simultaneously these several device nodes are again in the MD rank is 7 MA, can be the MIP among this MA this moment, it is among 2 the MA that device node G and H and I and J belong to two MD ranks respectively, and is the MEP among the MA separately, but simultaneously again all the ME rank be 7 and the MD rank be among 4 the MA.Can be used as the MIP among certain MA among these two MA.Fig. 5 is an illustrative diagram, and real system might be more complicated than system shown in Figure 5, and perhaps the MD rank that is comprised have a lot, therefore may need to create a large amount of MIP.
Wherein, be used for when MIP creates enable switch automatically and opens,, all of the port carried out the automatic visioning procedure of MIP according to the type that MIP creates parameter for each device node of MD rank under this device node.If it is defMHFnone that MIP creates parameter, then process ends; If it is defMHFexplicit that MIP creates parameter, travel through each port in this device node successively, and each port is judged, when satisfying the establishment regulation of defMHFexplicit, on this port, create MIP; If it is defMHFdefault that MIP creates parameter, then travel through each port in this device node successively, and each port is judged, when satisfying the establishment regulation of defMHFdefault, on this port, create MIP.
Wherein, MEP and MIP create on certain port of this device node.Referring to Fig. 6, Fig. 6 is the structural representation of a device node in the system shown in Figure 5.Each device node comprises: at least one port, search creation module and memory module.
Wherein, memory module is used to store the MP information table of each port, and according to the update notification that the search creation module is sent, upgrades corresponding M P information.
The search creation module is used for according to the type that MIP creates parameter, carrying out the automatic visioning procedure of MIP under the situation that the establishment enable switch is opened automatically.If it is defMHFnone that MIP creates parameter, be left intact; If it is defMHFexplicit or defMHFdefault that MIP creates parameter, then travel through each port of this device node, at each port, from memory module, read the MIP information table of this port, according to the MP information table that is read and the MD that sets in advance, MA information, judge whether this port satisfies the establishment condition, for the port that satisfies the establishment condition, in corresponding MD rank, create MIP, and send the notice of upgrading MP information table content to memory module.
Wherein, when MIP establishment parameter is defMHFexplicit, for each port, whether the MIP that at first detects this port has created flag bit is true, if be not true, then according to the MP information table of storing in the MP information table memory module, judge and whether have MEP on this port, if the MD rank at existence and this MEP place is less than highest level, then, travel through, if having MA in the MD rank that is traveled through to higher level from the MD rank at this MEP place, then create MIP in this MD rank, promptly this port satisfies the establishment condition.
When MIP establishment parameter is defMHFdefault, for each port, whether the MIP that at first detects this port has created flag bit is true, if be not true, then judge and whether have MEP on this port, if the MD rank at existence and this MEP place then from the MD rank at this MEP place, travels through to higher level step by step less than highest level; If do not exist, then begin by minimum rank, traversal if having MA in the MD rank that is traveled through, is then created MIP in this MD rank from low to high, and promptly this port satisfies the establishment condition.
Equally,, then then search for creation module at first with this MIP deletion if there is other MIP of this MD level on this port this moment, carry out the automatic visioning procedure of MIP then when having created on certain port at this device node when belonging to certain other MEP of MD level; Perhaps when certain has created the attribute of MEP, change has taken place as MD rank etc., then if having MIP on the MD rank of newly-increased MEP on this port, then search for creation module at first with this MIP deletion, carry out the automatic visioning procedure of MIP then; Perhaps when deleted on certain port at this device node created belong to certain other MEP of MD level the time, this search creation module is carried out the automatic visioning procedure of MIP; Or when automatically creating enable switch by being closed to when opening, the search creation module is carried out the automatic visioning procedure of MIP.
Wherein, the automatic visioning procedure of MIP is defMHFexplicit according to the type that MIP creates parameter, or is defMHFdefault, the search creation module is directly carried out corresponding judgement to the port of creating or delete MEP, judge whether to satisfy the establishment condition, satisfy the establishment condition, then create MIP.
Embodiment two:
In the present embodiment, pass to each device node by CC message, can reduce the workload that be configured early stage like this on device node about information such as each MD rank, title and MA titles.Referring to table four, table four is the format and content of message in the 802.1ag agreement.OAM type of message in the table comprises 5 kinds, is respectively CCM, LBM, LBR, LTM, LTR.When the OAM type of message is CCM, show that this message is CC message.Wherein MD rank, MD title and MA title are used to represent that this CC message is to belong to which other MD of MD level and MA, after device node receives this message, can carry out the automatic establishment of MIP according to the information such as MD rank in this message.For other content in the table,, therefore no longer describe because create relation not quite with MIP.
Figure G061F2360920061012D000181
Table four
At this moment, when the CC message of information such as MD grade, title and MA title is carried in the initiatively periodic transmission of each MEP, all devices node among the MA is when receiving this CCM, this CC message is carried out legitimacy to be detected, wherein, about the method that legitimacy detects, have a variety ofly in the prior art, introduce no longer in detail herein.For legal CC message, device node can deposit this CC message in the CC database in, and the CC database carries out real-time update, if this CC message is the message of having stored in the CC database, then need not to restore in the CC database this moment, if this device node is continuously in default several cycles, when not receiving CC message in 3 cycles, then delete the corresponding CC message in the CC database, and the CC database carries out real-time update.Can trigger MIP in the renewal of CC database and create function automatically.
In the present embodiment, created flag bit for each port is provided with a MIP, when this flag bit is a true time, expression MIP has created and has finished.For with prior art in manual creation MIP realize compatiblely, also can in the system of device node, be provided with one and create enable switch automatically, when this enable switch is in enabled state, promptly during open mode, could carries out according to CC message and create function automatically.Be example with a device node carrying out the CC database update below, the method that the MIP in the present embodiment is created automatically is described in detail.Same because in uplink direction and down link direction, the rule of creating MIP is the same with flow process, therefore still be created as example and describe with the MIP on the single direction.Referring to Fig. 7, Fig. 7 is the method flow diagram that MIP creates automatically in the embodiment of the invention two, and this flow process comprises the steps:
Step 701, when the CC database update, device node judges whether the automatic establishment enable switch of self is opened, if open, then execution in step 702; Otherwise, process ends.
Step 702 judges that MIP creates parameter type, is defMHFnone if MIP creates parameter, then process ends; If it is defMHFexplicit that MIP creates parameter, then execution in step 703; If it is defMHFdefault that MIP creates parameter, then execution in step 704.
Step 703, travel through successively CC message in this device node each port of process, and to the port of the establishment regulation that satisfies defMHFexplicit, create MIP, promptly each port is judged, when satisfying the establishment regulation of defMHFexplicit, on this port, create MIP, process ends.
At the specific implementation process of each port referring to flow process shown in Figure 8.
Step 704, travel through successively CC message in this device node each port of process, and to the port of the establishment regulation that satisfies defMHFdefault, create MIP, promptly each port is judged, when satisfying the establishment regulation of defMHFdefault, on this port, create MIP, process ends.
At the specific implementation process of each port referring to flow process shown in Figure 9.
In above-mentioned step 703 shown in Figure 7, when MIP establishment parameter is defMHFexplicit, travel through each port of CC message process in this device node successively, and each port is carried out MIP according to flow process as shown in Figure 8 create automatically, when Fig. 8 is defMHFexplicit for MIP in the method shown in Figure 7 creates parameter, each port is carried out the flow chart that MIP creates automatically.This flow process comprises the steps:
Step 801 judges that the CC database update is newly-increased CC message, and still deletion has CC message, if deletion CC message, then execution in step 802; If newly-increased CC message, then execution in step 804.
Step 802 according to the MD rank in the deletion CC message, judges in this MD rank whether have MIP, if exist, then execution in step 803; If there is no, then directly finish the flow process of the port.
Step 803 is deleted this MIP, and finishes the flow process of the port.
Step 804 judges whether when the MIP of front port has created flag bit be true, if be true, then execution in step 808; Otherwise execution in step 805.
Step 805 is looked for the highest MD rank that has MEP, if do not find, then finishes the port flow process; Otherwise, execution in step 806.
Whether step 806 judges this MD rank less than the MD rank in the CC message, if less than, then execution in step 812; Otherwise finish the port flow process.
Step 805 can be traveled through to low by height according to the rank of MD, and judges whether the MD rank of current traversal exists MEP to step 806, if exist, judges that then whether this MD rank is less than the MD rank in the CC message; Otherwise, continue the next MD rank of traversal.If when traversing minimum rank, still do not have MEP, then finish the flow process of the port.Wherein, look for the highest other implementation of MD level that has MEP, can be with step 203 in the flow process shown in Figure 2 to the process of step 205.
Step 807, it is 7 that current MD rank is set.
Whether step 808 judges current MD rank greater than the MD rank in the CC message, if greater than, then execution in step 809; Otherwise finish the port flow process.
Step 809 judges in this MD rank whether have MIP, if exist, then execution in step 810; Otherwise, execution in step 811.
Step 810 is deleted this MIP, and execution in step 812 then.
Step 811 makes current MD rank=current MD rank-1, returns execution in step 808 then.
Step 812 is created MIP in the MD rank in CC message, and the port flow process finishes.
Wherein, step 807 to the thought of step 8 12 is: according to the MD rank, travel through to low by height, if the MD rank of current traversal is greater than the MD rank in the CC message, judge then whether this MD rank exists MIP,, then delete this MIP if exist, and in CC message, create MIP among other MA of MD level, finish the flow process of the port; If there is no, then continue the next MD rank of traversal.During MD rank in traversing CC message, finish the flow process of the port.
After the flow process of the port finishes, continue the traversal next port, and next port is carried out step 801 shown in Figure 8 to the identical flow process of step 812, up to having traveled through last port, MIP creates end automatically.
In above-mentioned step 704 shown in Figure 7, when MIP establishment parameter is defMHFdefault, travel through each port of CC message process in this device node successively, and each port is carried out MIP according to flow process as shown in Figure 9 create automatically, when Fig. 9 is defMHFdefault for MIP in the method shown in Figure 7 creates parameter, each port is carried out the flow chart that MIP creates automatically.This flow process comprises the steps:
Step 901 judges that the CC database update is newly-increased CC message, and still deletion has CC message, if deletion CC message, then execution in step 902; If newly-increased CC message, then execution in step 904.
Step 902 according to the MD rank in the deletion CC message, judges in this MD rank whether have MIP, if exist, then execution in step 903; If there is no, then directly finish the flow process of the port.
Step 903 is deleted this MIP, and finishes the flow process of the port.
Step 904 judges whether when the MIP of front port has created flag bit be true, if be true, then execution in step 908; Otherwise execution in step 905.
Step 905 is looked for the highest MD rank that has MEP, if do not find, and then direct execution in step 912; Otherwise, execution in step 906.
Whether step 906 judges this MD rank less than the MD rank in the CC message, if less than, then execution in step 912; Otherwise, finish the port flow process.
Step 907, it is 7 that current MD rank is set.
Whether step 908 judges current MD rank greater than the MD rank in the CC message, if greater than, then execution in step 909; Otherwise finish the port flow process.
Step 909 judges in this MD rank whether have MIP, if exist, then execution in step 910; Otherwise, execution in step 911.
Step 910 is deleted this MIP, and execution in step 912 then.
Step 911 makes current MD rank=current MD rank-1, returns execution in step 908 then.
Step 912 is created MIP in the MD rank in CC message, and the port flow process finishes.
Wherein, step 907 to the thought of step 912 is: according to the MD rank, travel through to low by height, if the MD rank of current traversal is greater than the MD rank in the CC message, judge then whether this MD rank exists MIP,, then delete this MIP if exist, and in CC message, create MIP among other MA of MD level, finish the flow process of the port; If there is no, then continue the next MD rank of traversal.During MD rank in traversing CC message, finish this flow process of the port.
After the flow process of the port finishes, continue the traversal next port, and next port is carried out step 901 shown in Figure 9 to the identical flow process of step 912, up to having traveled through last port, MIP creates end automatically.
Below again to being described in detail based on the automatic system of creating of the MIP of method shown in Figure 7 in the present embodiment.
In this system, comprise at least one device node equally, be used to receive CC message, and safeguard a CC database, when the CC database update,, when satisfying MIP establishment condition, create MIP each port of CC message process.Referring to Figure 10, Figure 10 is the structural representation of a device node in the system that MIP creates automatically in the embodiment of the invention two.Each device node comprises at least one port, module for reading and writing, memory module, search creation module and CC database.
Wherein, port is used to receive OAM message, and according to self being MEP, or MIP carries out respective handling to OAM message, if what receive is CC message, then simultaneously this CC message is exported to module for reading and writing.
Module for reading and writing is used to receive CC message, and judges the record that whether has this CC message in the CC database, if having, then abandons; Otherwise, write in the CC database, send the notice of newly-increased CC record simultaneously to the search creation module.If continuously in the cycle of predetermined number, when not receiving identical CC message from port,, send the notice of deletion CC record simultaneously to the search creation module then with the record deletion of this CC message in the database as 3 cycles.
Memory module is used to store the MP information table of each port, and according to the update notification that the search creation module is sent, upgrades corresponding M P information.
The search creation module is used under the situation that the establishment enable switch is opened automatically, according to the type that MIP creates parameter, to the notice about the CC record that module for reading and writing sends, carries out the automatic visioning procedure of MIP.If it is defMHFnone that MIP creates parameter, be left intact; If it is defMHFexplicit or defMHFdefault that MIP creates parameter, then travels through each port of CC message process in this device node, and, carry out MIP deletion or establishment according to the type that CC notifies.
When the CC notice writes down for newly-increased CC, then at each port, from memory module, read the MIP information table of this port, according to the information such as MD rank in MP information table that is read and the CC message, judge whether this port satisfies the establishment condition, for the port that satisfies the establishment condition, in corresponding MD rank, create MIP, and send the notice of upgrading MP information table corresponding contents to memory module; When the CC notice writes down for deletion CC, then according to information such as MD ranks in the deletion CC message, the MIP that deletion should not exist.Promptly according to the MD rank in the deletion CC message, judge in this MD rank whether have MIP, if exist, then this MIP should not exist this moment, therefore deletes this MIP.
Among the embodiment two, also automatic establishment enable switch can be set not, and directly be configured to allow the CC database update to trigger the pattern of creating automatically.
Embodiment three:
In the present embodiment, in order to make automatic creation method more flexible, can use two kinds of methods among embodiment one and the embodiment two simultaneously, for two kinds of methods are selected, in the present embodiment, in CC message, increased a MIP flag bit, as shown in Table 5, in CC message, add this MIP flag bit in the reserved place of 802.1ag agreement, and can set when this flag bit is 1 MD, MA information creating MIP that expression adopts CC message to carry; When this flag bit was 0, MD, the MA information creating MIP of manual configuration adopted in expression.Concrete establishment mode can be with the description among embodiment one and the embodiment two.
Equally, also comprise at least one device node in the MIP establishment system automatically based on the automatic creation method of above MIP, each device node comprises: at least one port, module for reading and writing, memory module, search creation module and CC database.
Wherein, port is after receiving CC message, at first judge the MIP flag bit in this message, if this flag bit is 1, then MD, the MA information creating MIP that CC message is carried adopted in expression, then when this CC message is carried out respective handling, this CC message is sent to module for reading and writing, module for reading and writing, memory module, search creation module and CC database function and annexation are with the device node in the system described in the embodiment two then; If this MIP flag bit is 0, then MD, the MA information creating MIP of manual configuration adopted in expression, this moment MD, manual configuration is good for MA information, when the establishment enable switch is opened automatically, carrying out MIP creates automatically, at this moment, the function of port, search creation module and memory module and annexation are with the device node in the system described in the embodiment one.
Figure G061F2360920061012D000241
Table five
Above-described specific embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is specific embodiments of the invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (15)

1. the method created automatically of an intermediate node MIP is characterized in that this method comprises:
Device node is monitored the current MIP establishment condition that whether satisfies, create condition if satisfy MIP, then determine to need create the port of MIP, and create the type of parameter and resulting maintenance field MD, Maintenance Association MA information, determined port is carried out MIP create automatically according to MIP in self configuration.
2. the method for claim 1 is characterized in that, described resulting MD, MA information are: the MD that disposes in device node in advance, MA information; The described MIP of satisfying establishment condition is: create enable switch automatically and be opened; Described definite step of the port of establishment MIP that needs is: the port that all of the port of device node is defined as needing to create MIP.
3. method as claimed in claim 2 is characterized in that, the type that described MIP creates parameter is defMHFexplicit;
Then describedly determined port is carried out MIP be created as automatically: device node travels through each port successively, and it is as follows that each port is carried out the automatic creation operation of described MIP:
A1, to have created flag bit at the MIP of this port be fictitious time, looks for the highest MD rank that has end points MEP in this port, if can find described MD rank, then execution in step A2; Otherwise, finish the port flow process;
A2, if this MD rank less than highest level, is then looked for the minimum MD rank that has MA in greater than other MD rank of this MD level, if can find, then in the MD rank that is found, create MIP, finish the port flow process; Otherwise, finish the port flow process.
4. method as claimed in claim 2 is characterized in that, the type that described MIP creates parameter is defMHFdefault;
Then describedly determined port is carried out MIP be created as automatically: device node travels through each port successively, and it is as follows that each port is carried out the automatic creation operation of described MIP:
B1, to have created flag bit at the MIP of this port be fictitious time, looks for the highest MD rank that has MEP in this port, if can find described MD rank, then with after described MD rank and 1 addition as initial MD rank; Otherwise, with minimum MD rank as initial MD rank;
B2, if initial MD rank smaller or equal to highest level, is then looked for the minimum MD rank that has MA in other MD rank of initial MD level more than or equal to this, if can find, then in the MD rank that is found, create MIP, finish the port flow process; Otherwise, finish the port flow process.
5. as claim 3 or 4 described methods, it is characterized in that, this method is after executing the automatic creation operation of MIP to all ports of determining, further comprise: device node monitors in the MD rank of port and creates MEP, judge and whether have other MIP of this MD level on this port, if exist, carry out the automatic creation operation of described MIP then with this MIP deletion, and to this port; Perhaps device node monitors in the MD rank of port deletion and has created MEP, then this port is carried out the automatic creation operation of described MIP.
6. method as claimed in claim 5, it is characterized in that, described looking in the MD rank exists the minimum MD rank of MA to be: according to MD, the MA information of configuration, according to the MD rank, travel through from low to high, if there is MA, then will find the MD rank of first MA to be defined as the minimum MD rank of the described MA of existence.
7. the method for claim 1 is characterized in that, described resulting MD, MA information are: MD, MA information that device node obtains from the received continuity check CC message of carrying MD, MA information; This method further comprises: carry out the CC database update according to described CC message; The then described MIP of satisfying establishment condition is: the CC database update; Described definite step of the port of establishment MIP that needs is: the port that all of the port of CC message process is defined as needing to create MIP.
8. method as claimed in claim 7 is characterized in that, described CC database update is: the CC database increases CC message newly, and the type that described MIP creates parameter is defMHFexplicit;
Then describedly determined port carried out MIP be created as automatically: travel through each port of CC message process in this device node successively, and each port is carried out following operation:
Having created flag bit at the MIP of this port is fictitious time, looks for the highest MD rank that has MEP in this port, if can find described MD rank, and the MD rank that finds is then created MIP in the MD rank in CC message less than the MD rank in the CC message; Otherwise, finish the port flow process; Having created flag bit at the MIP of this port is true time, looks for the MD rank that has MIP in than the big MD rank of the MD rank in the CC message, if can find, then deletes this MIP, and creates MIP in the MD rank in CC message, finishes the port flow process.
9. as claim 3 or 8 described methods, it is characterized in that described looking for exists the highest MD rank of MEP to be in this port:, travel through to low by height according to the MD rank, if there is MEP, then will find the MD rank of first MEP to be defined as the highest MD rank of the described MEP of existence.
10. method as claimed in claim 7 is characterized in that, described CC database update is: the CC database increases CC message newly, and the type that described MIP creates parameter is defMHFdefault;
Then describedly determined port carried out MIP be created as automatically: travel through each port of CC message process in this device node successively, and each port is carried out following operation:
Having created flag bit at the MIP of this port is fictitious time, looks for the highest MD rank that has MEP in this port, if can find described MD rank, and the MD rank that finds is then created MIP in the MD rank in CC message less than the MD rank in the CC message; If can not find described MD rank, then directly create MIP in the MD rank in CC message; Having created flag bit at the MIP of this port is true time, looks for the MD rank that has MIP in than the big MD rank of the MD rank in the CC message, if can find, then deletes this MIP, and creates MIP in the MD rank in CC message, finishes the port flow process.
11. method as claimed in claim 7, it is characterized in that, described CC database update is: CC database deletion CC message, describedly determined port is carried out MIP be created as automatically: according to the MD rank in the deletion CC message, when determining to have MIP in this MD rank, delete the MIP in this MD rank, and finish the flow process of the port.
12. the method for claim 1 is characterized in that, this method further comprises: a MIP flag bit is set in CC message, and device node judges MIP flag bit in the CC message that receives,
If the MIP flag bit is default MD, MA Information sign, the then described MIP of satisfying establishment condition is: creating enable switch automatically is opened; Described definite step of the port of establishment MIP that needs is: the port that all of the port of device node is defined as needing to create MIP;
If the MIP flag bit carries MD, MA Information sign for CC message, the then described MIP of satisfying establishment condition is: the CC database update; Described definite step of the port of establishment MIP that needs is: the port that all of the port of CC message process is defined as needing to create MIP.
13. system that intermediate node MIP creates automatically, it is characterized in that, this system comprises: at least one device node, be used to monitor the current MIP establishment condition that whether satisfies, when satisfying MIP establishment condition, determine to need create the port of MIP, and create the type of parameter and resulting MD, MA information, determined port is carried out MIP create automatically according to MIP in self configuration.
14. system as claimed in claim 13 is characterized in that, described device node comprises: at least one port, memory module and search creation module, wherein,
Memory module is used to store the node M P information table of each port, and according to the update notification that the search creation module is sent, upgrades MP information;
The search creation module, be used for monitoring in real time the current MIP establishment condition that whether satisfies, when satisfying MIP establishment condition, determine to need to create the port of MIP, and create the type of parameter according to MIP in self configuration, read the MP information table in the memory module, according to MP information table and resulting MD, MA information determined port is carried out MIP and create automatically, and send the notice of upgrading the new MIP of establishment in the MP information to memory module.
15. system as claimed in claim 14 is characterized in that, described device node further comprises: module for reading and writing and CC database,
Wherein, port when being used to receive CC message, sends to module for reading and writing with CC message;
Module for reading and writing is used to receive CC message, and judges the record that whether has this CC message in the CC database, if having, then abandons; Otherwise, write in the CC database, send the notice of newly-increased CC record simultaneously to the search creation module, if when in the cycle of predetermined number, not receiving continuously the identical CC message from port, then, send the notice of deletion CC record simultaneously to the search creation module with the record deletion of this CC message in the database;
Described search creation module further when the notice that receives from the deletion CC of module for reading and writing record, if having MIP in the MD rank in deletion CC message in the port, is then deleted this MIP; When the notice that receives from the newly-increased CC record of module for reading and writing, be defined as satisfying MIP and create condition, and port that need to determine to create MIP is the port of CC message process, carry out then and described determined port is carried out the operation that MIP creates automatically.
CN2006101523609A 2006-09-28 2006-09-28 Method and system for automatic creating intermediate node Expired - Fee Related CN101155065B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2006101523609A CN101155065B (en) 2006-09-28 2006-09-28 Method and system for automatic creating intermediate node
PCT/CN2007/070319 WO2008037193A1 (en) 2006-09-28 2007-07-19 Method for automatically creating intermediate point and device node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006101523609A CN101155065B (en) 2006-09-28 2006-09-28 Method and system for automatic creating intermediate node

Publications (2)

Publication Number Publication Date
CN101155065A CN101155065A (en) 2008-04-02
CN101155065B true CN101155065B (en) 2010-07-28

Family

ID=39229738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101523609A Expired - Fee Related CN101155065B (en) 2006-09-28 2006-09-28 Method and system for automatic creating intermediate node

Country Status (2)

Country Link
CN (1) CN101155065B (en)
WO (1) WO2008037193A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013094092A1 (en) * 2011-12-22 2013-06-27 日本電気株式会社 Base station, communication system, and method for controlling base station

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728651A (en) * 2004-07-08 2006-02-01 阿尔卡特公司 Domain configuration in an Ethernet oam network having multiple levels
EP1638252A2 (en) * 2004-09-16 2006-03-22 Alcatel System and method for securing a VLAN using ethernet connectivity fault management (CFM) functionality
CN1794662A (en) * 2004-12-22 2006-06-28 阿尔卡特公司 Autoconfiguration of Ethernet oam points

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7512141B2 (en) * 2004-07-08 2009-03-31 Alcatel Lucent Domain configuration in an ethernet OAM network having multiple levels

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728651A (en) * 2004-07-08 2006-02-01 阿尔卡特公司 Domain configuration in an Ethernet oam network having multiple levels
EP1638252A2 (en) * 2004-09-16 2006-03-22 Alcatel System and method for securing a VLAN using ethernet connectivity fault management (CFM) functionality
CN1794662A (en) * 2004-12-22 2006-06-28 阿尔卡特公司 Autoconfiguration of Ethernet oam points

Also Published As

Publication number Publication date
WO2008037193A1 (en) 2008-04-03
CN101155065A (en) 2008-04-02

Similar Documents

Publication Publication Date Title
CN100512194C (en) Sending and receiving method and system for link aggregation method, device and MAC frame
CN103581231B (en) UGC master/slave data synchronous method and its system
CN112468372B (en) Method and device for detecting equipment state in power line communication network
CN104243196A (en) Virtual network mapping protection method and system under SDN architecture
CN109428785A (en) A kind of fault detection method and device
CN104852813B (en) The on-demand loading method and system of TR069 Parameter nodes in family gateway equipment
CN104283802A (en) Neighbor discovery method and device
CN101471841A (en) Method and apparatus for maintaining routing table
CN102882793A (en) Topology change message transmitting and processing method and network equipment
CN102136965A (en) Method for detecting tunnel faults and traffic engineering (TE) node
CN107835130A (en) A kind of flow allocation method and device
CN102136957B (en) Label switched path monitoring realization method, device and system
CN101141323A (en) Method, system and equipment for controlling connectivity detection
CN102055676A (en) Method and device for realizing load sharing in multiple spanning tree protocol (MSTP) networking environment
CN102571383B (en) Access control method and system
CN101155065B (en) Method and system for automatic creating intermediate node
CN102984739A (en) Breakdown information processing method and processing device
Li et al. Towards robust controller placement in software-defined networks against links failure
CN106453092A (en) Routing update method and device
CN108011730B (en) Method and device for automatically changing ring network resources in network management system
CN109218180A (en) Multicast control method and device based on Local Area Network
CN101483550B (en) Method and node for obtaining control path information
CN108881011A (en) LACP switching method and apparatus applied to striding equipment
CN113453262A (en) Bidirectional Forwarding Detection (BFD) method and device
CN105323320A (en) Content distribution 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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100728

Termination date: 20170928