CN102833086B - Control method that a kind of network element finds automatically and device - Google Patents

Control method that a kind of network element finds automatically and device Download PDF

Info

Publication number
CN102833086B
CN102833086B CN201110162296.3A CN201110162296A CN102833086B CN 102833086 B CN102833086 B CN 102833086B CN 201110162296 A CN201110162296 A CN 201110162296A CN 102833086 B CN102833086 B CN 102833086B
Authority
CN
China
Prior art keywords
port
discovery feature
automatic discovery
need
automatically
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
CN201110162296.3A
Other languages
Chinese (zh)
Other versions
CN102833086A (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.)
ZTE Corp
Original Assignee
ZTE Corp
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201110162296.3A priority Critical patent/CN102833086B/en
Priority to PCT/CN2012/072591 priority patent/WO2012171373A1/en
Publication of CN102833086A publication Critical patent/CN102833086A/en
Application granted granted Critical
Publication of CN102833086B publication Critical patent/CN102833086B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses control method and device that a kind of network element finds automatically, including: the state of each port on detection network element, it may be judged whether need to start the automatic discovery feature of port, record needs to start the information of the port of automatic discovery feature;Start the information of the port of automatic discovery feature as required, start the automatic discovery feature of corresponding port.The present invention needs start the port automatically found and need not start the port of discovery automatically by distinguishing, and only the port needing automatically to find is started and automatically find, greatly reduce taking of system resource, improve performance and the treatment effeciency of system, and implementing simple and reliable, result is reliable and stable.

Description

Control method that a kind of network element finds automatically and device
Technical field
The present invention relates to transmit the automatic discovery technique in network, particularly relate to the control method that a kind of network element finds automatically And device.
Background technology
In transmitting network, in order to meet user's demand to equipment " plug and play " function, between adjacent equity network element Auto discovery mechanism seem extremely important.Transmit automatically finding in network and refer to that network can be by finding that agreement is real automatically Between existing transport plane, the identification of business supported of the annexation that controls between territory and connection and determining, automatically find Purpose is to assist to carry out resource management and routing, reduces the workload of human configuration, and the major function automatically found has been to pass The port mapping of plane, the binding of logical adjacent relation, wrong even detection and professional ability is sent to notice.
Automatically find to be possible not only to based on ASON (Automatic Switched Optical Network, ASON) realize, it is possible to OTN based on G.872 specification transmits net and realizes, and is also based on Packet Transport Network equally (Packet Transport Network, PTN) realizes.
The protocol message exchange being generally used for automatic discovery procedure is carried out in controlling passage, controls the implementation of passage Have " band in " and " band is outward " two kinds." in band " mode refers to that the passage carrying discovery message automatically is embedded in the link transmitting data In, such as SDH network, it is usually and passes in data communication channel (Data Communication Channel, DCC) Send;" band is outer " mode refers to the link disjoint carrying the passage automatically finding message with carrying data, such as in external IP transmission Net transmits.
In traditional transmission network, as long as network element starts automatic discovery feature, all of the port of network element will be opened Dynamic discovery automatically, this automatic discovery procedure is typically periodically to carry out, takies very much the resource of system in automatic discovery procedure, Affect performance and the treatment effeciency of system.
Summary of the invention
The technical problem to be solved in the present invention is to provide control method and the device that a kind of network element finds automatically, can avoid Start the automatic discovery feature of all of the port, cause taking and the performance of system and treatment effeciency low of a large amount of system resource Under.
For solving above-mentioned technical problem, the control method that a kind of network element of the present invention finds automatically, including:
The state of each port on detection network element, it may be judged whether need to start the automatic discovery feature of port, record needs open The information of the port of dynamic automatic discovery feature;
Start the information of the port of automatic discovery feature as required, start the automatic discovery feature of corresponding port.
Further, the state of each port on detection network element, it may be judged whether need to start automatic discovery feature and include:
Detection port has been configured to not start automatic discovery feature the most, if it is, judge that port need not start Automatically discovery feature.
Further, also include:
Whether detection port exists the expression disabled alarm of signal, if it is present judge that port need not start certainly Dynamic discovery feature.
Further, also include:
Whole control passages of detection port are the most unavailable, automatically send out if it is, judge that port need not start Existing function.
Further, also include:
After the automatic discovery feature starting corresponding port, on detection network element, the change of each port status, is judging port By needs start automatic discovery feature be changed into need not start automatic discovery feature time, stop port automatic discovery feature; Judge port by need not to start automatic discovery feature be changed into need to start automatic discovery feature time, start the automatic of port Discovery feature.
Further, the control device that a kind of network element finds automatically, including: detector unit and control unit, wherein:
Detector unit, for detecting the state of each port on network element, it may be judged whether need to start automatic discovery feature, record Need to start the information of the port of automatic discovery feature, it would be desirable to the information of the port starting automatic discovery feature is sent to control Unit;
Control unit, for starting the information of the port of automatic discovery feature as required, starts the automatic of corresponding port Discovery feature.
Further, the state of each port on detector unit detection network element, it may be judged whether need to start automatic discovery feature It is that detection port has been configured to not start automatic discovery feature the most, automatically sends out if it is, judge that port need not start Existing function.
Further, detector unit, it is additionally operable to detect whether port exists the expression disabled alarm of signal, if deposited , then judge that port need not start automatic discovery feature.
Further, detector unit, the whole control passages being additionally operable to detect port are the most unavailable, if it is, Judge that port need not start automatic discovery feature.
Further, detector unit, it is additionally operable to, after control unit starts the automatic discovery feature of corresponding port, detect net The change of each port status in unit, is judging that port is started automatic discovery feature by needs and is changed into and need not to start discovery automatically During function and by need not to start automatic discovery feature be changed into need to start automatic discovery feature time, update to control unit Need to start the information of the port of automatic discovery feature;
Control unit, needs to start the information of the port of automatic discovery feature according to update, stops being started certainly by needs Dynamic discovery feature is changed into the automatic discovery feature of the port that need not to start automatic discovery feature;Start by need not startup certainly Dynamic discovery feature is changed into the automatic discovery feature of the port needing to start automatic discovery feature.
In sum, the present invention needs start the port automatically found and need not start the end of discovery automatically by distinguishing Mouthful, and only the port needing automatically to find is started discovery automatically, greatly reduce taking of system resource, promote The performance of system and treatment effeciency, and implement simple and reliable, result is reliable and stable.
Accompanying drawing explanation
Fig. 1 is the Organization Chart controlling device that the network element of embodiment of the present invention finds automatically;
Fig. 2 is to control flow process when function just starts in the control method that the network element of embodiment of the present invention finds automatically;
Fig. 3 is to control the flow process in function running in the control method that the network element of embodiment of the present invention finds automatically Figure;
Fig. 4 is to control automatically sending out when function just starts in the control method that the network element of embodiment of the present invention finds automatically Now control exemplary plot;
Fig. 5 be the control method that the network element of embodiment of the present invention finds automatically controls in function running from Dynamic discovery controls exemplary plot.
Detailed description of the invention
Support automatic transmission network some features in running found by analysis, find transmitting network in fact In the running of border, a lot of ports need not start discovery automatically, if these ports to be started the most in a traditional way discovery automatically, Substantial amounts of system resource can be wasted, reduce performance and the treatment effeciency of system.Present embodiment proposes a kind of network element and automatically sends out Existing control method and device, distinguish and need start the port automatically found and need not start the port of discovery automatically, the most right Need to start the port startup automatically found automatically to find, taking of system resource can be reduced greatly, promote the property of system Energy and treatment effeciency.
Present embodiment defines for judging that port is the need of starting the mechanism automatically found, it is determined that port need not Start the feature automatically found including but not limited to following characteristics:
If port is configured by user does not starts discovery automatically, then port belongs to the port that need not start discovery automatically.
In transmitting network, section ports may be configured to not start discovery automatically by user, and this generic port can be direct It is divided into the port that need not start discovery automatically.User can pass through webmaster, order line or other configuration modes configuration port Whether start discovery automatically.
If port exists represents the disabled alarm of signal, then port belongs to the port that need not start discovery automatically.
Exist represent the disabled alarm of signal port opposite end can be caused not receive signal, although or opposite end can Receiving signal, but signal is wrong, it is unavailable that these situations broadly fall into signal, such as LOS(Loss of Signal), LOF Port in (Loss of Frame) and Ethernet is not connected with alarm etc., starts such port and automatically finds the most not appoint What meaning, this port falls within the port that need not start discovery automatically.
If all control passages of port are the most unavailable, then port belongs to the port that need not start discovery automatically.
If for sending, port finds that the control passage of message is unavailable automatically, will cause the port can not be normal Transmitting-receiving finds message automatically, then this port need not start discovery automatically.Between a pair adjacent network element, generally there is multiple control Passage processed, has one can use as long as these control passage, then this control passage just can be used to send and automatically find message, make With the port of this control passage just belong to control passage can port.The only all controls between a pair adjacent network element are led to When road is the most unavailable, uses these to control passage transmission and automatically find that the port of message is only the control disabled port of passage, These ports just belong to the port that need not start discovery automatically.
When a port meets above three condition simultaneously, just need to start automatic discovery feature;As long as having wherein one Point does not meets, and avoids the need for starting automatic discovery feature.
As it is shown in figure 1, the control device that the network element of present embodiment finds automatically, including:
Detector unit: detection port finds automatically the need of starting, according to above-mentioned automatic discovery decision criteria during detection, After having detected, it would be desirable to start the information announcement of the port automatically found to control unit.
Control unit: according to the information of the port that detector unit is noticed, controls corresponding port and starts or stops discovery automatically Function.
As in figure 2 it is shown, the control method that the network element of present embodiment finds automatically, automatically finding that controlling function just starts Time, including:
When automatically finding to control function on, detector unit detects each port and automatically finds the need of starting, inspection According to above-mentioned automatic discovery decision criteria during survey.After having detected, it would be desirable to start the information of the port of automatic discovery feature It is advertised to control unit.
The information of the port that control unit is noticed according to detector unit starts discovery automatically to corresponding port.
As it is shown on figure 3, the control method that the network element of present embodiment finds automatically, automatically finding that controlling function ran Cheng Zhong, specifically includes following steps:
In automatically finding control function running, detector unit detects that port status has following change for the moment, Detector unit is by the information announcement of corresponding port to control unit, and control unit starts discovery, end during detection automatically to this port The state change of mouth includes but are not limited to following several:
(1) user configures port and never starts and be automatically found to start discovery automatically;
(2) port is from there being grade to be higher than .... alarm become off grade and be higher than ... alarm;
(3) control passage and become normal from abnormal.
In automatically finding control function running, detector unit detects that port status has following change for the moment, Detector unit is by the information announcement of corresponding port to control unit, and this port is stopped automatically finding, during detection by control unit The state change of port includes but are not limited to following several:
(1) user configures port and is automatically found to not start discovery automatically from startup;
(2) port is higher than from off grade .... alarm become having grade to be higher than ... alarm;
(3) passage is controlled from normally becoming abnormal.
Below in conjunction with detailed description of the invention, the present invention is done further detailed description.
The control method automatically found it is described in ASON network based on SDH realization, based on SDH below in conjunction with Fig. 4 In the ASON network realized, control passage and generally use DCC carrying.
In Fig. 4, network element B has 7 ports, and the current state of each port is as follows:
Port 1 currently has LOS to alert;
Port 2 is configured to not start discovery automatically;
Port 3 and 4 is normal port;
Port 5,6 and 7 controls, for automatically find, the DCC that passage is port 5 and 6, and current the two controls passage all Abnormal.
When automatically finding that controlling function just starts, the control flow automatically found is as follows:
Step A: when automatically finding that controlling function just starts, detector unit initializes a list ListA, ListA and uses Can start the information of the port of discovery automatically in storage, control unit initializes a list ListB, and ListB is used for storing The information of the port of discovery automatically can be started;
Step B: whether detector unit detection all of the port can start discovery automatically, updates ListA after completing detection In information, now ListA=[port 3, port 4];
Step C: the information announcement of the port in ListA is updated ListB to control unit, control unit by detector unit, Now ListB=[port 3, port 4];
Step D: control unit starts discovery automatically according to the information in ListB to port 3 and port 4.
Further, in automatically finding control function running, when port status is changed to Fig. 5 institute as shown in Figure 4 When showing, the state change of port is as follows:
Port 1 from have LOS alert without LOS alert;
Port 2 never starts and is automatically found to start discovery automatically;
Port 3 has LOS to alert from normally becoming;
The control passage 1 of port 5,6 and 7 recovers normal.
In automatically finding control function running, the control flow automatically found is as follows:
Step A: detector unit detects that port status changes, updates the port information in ListA, now ListA =[port 1, port 2, port 4, port 5, port 6, port 7];
Step B: the information announcement in ListA is received detector unit notice to control unit, control unit by detector unit Information and generate ListC, now ListC=[port 1, port 2, port 4, port 5, port 6, port 7];
Step C: now ListB is still equal to [port 3, port 4], the port information in contrast ListB and ListC, only exists Ports having 1,2,5,6,7 in ListC, therefore, it is determined that port 1,2,5,6,7 is the newly-increased port needing to start discovery automatically, control Unit processed starts automatic discovery, only ports having 3 in ListB to these ports, therefore, it is determined that port 3 is to need to close automatic sending out Existing port, port 3 is closed discovery automatically, all ports havings 4 in ListB and ListC simultaneously by control unit, therefore, it is determined that be somebody's turn to do Port status does not has any change, and this port is not done any operation.
The above, the only better embodiment of the present invention, without departing substantially from present invention spirit and the situation of essence Under, those of ordinary skill in the art can make various corresponding change and deformation according to the present invention, but these change accordingly Protection scope of the present invention all should be belonged to deformation.

Claims (8)

1. the control method that network element finds automatically, including:
Detecting the state of each port on network element, it may be judged whether need to start the automatic discovery feature of port, record needs to start certainly The information of the port of dynamic discovery feature;
According to the described information needing to start the port of automatic discovery feature, start the automatic discovery feature of corresponding port;
The state of each port on described detection network element, it may be judged whether need to start automatic discovery feature and include: whether detection port It is configured to not start automatic discovery feature, if it is, judge that port need not start automatic discovery feature.
2. the method for claim 1, it is characterised in that also include:
Whether detection port exists the expression disabled alarm of signal, automatically sends out if it is present judge that port need not start Existing function.
3. method as claimed in claim 2, it is characterised in that also include:
Whole control passages of detection port are the most unavailable, if it is, judge that port need not start automatically find merit Energy.
4. method as claimed in claim 3, it is characterised in that also include:
After the automatic discovery feature starting corresponding port, detect the change of each port status on described network element, judging port By needs start automatic discovery feature be changed into need not start automatic discovery feature time, stop port automatic discovery feature; Judge port by need not to start automatic discovery feature be changed into need to start automatic discovery feature time, start the automatic of port Discovery feature.
5. the control device that network element finds automatically, including: detector unit and control unit, wherein:
Described detector unit, for detecting the state of each port on network element, it may be judged whether need to start automatic discovery feature, record Need to start the information of the port of automatic discovery feature, the described information needing to start the port of automatic discovery feature is sent to Described control unit;
Described control unit, for according to the described information needing to start the port of automatic discovery feature, starting corresponding port Automatically discovery feature;
The state of each port on described detector unit detection network element, it may be judged whether needing to start automatic discovery feature is detection port The most it is configured to not start automatic discovery feature, if it is, judge that port need not start automatic discovery feature.
6. device as claimed in claim 5, it is characterised in that:
Described detector unit, is additionally operable to detect whether port exists the expression disabled alarm of signal, if it is present judge end Mouth need not start automatic discovery feature.
7. device as claimed in claim 6, it is characterised in that:
Described detector unit, the whole control passages being additionally operable to detect port are the most unavailable, if it is, judge that port is not Need to start automatic discovery feature.
8. device as claimed in claim 7, it is characterised in that:
Described detector unit, is additionally operable to, after described control unit starts the automatic discovery feature of corresponding port, detect described net The change of each port status in unit, is judging that port is started automatic discovery feature by needs and is changed into and need not to start discovery automatically During function and by need not to start automatic discovery feature be changed into need to start automatic discovery feature time, to described control unit Update and need to start the information of the port of automatic discovery feature;
Described control unit, needs to start the information of the port of automatic discovery feature according to update, stops being started certainly by needs Dynamic discovery feature is changed into the automatic discovery feature of the port that need not to start automatic discovery feature;Start by need not startup certainly Dynamic discovery feature is changed into the automatic discovery feature of the port needing to start automatic discovery feature.
CN201110162296.3A 2011-06-16 2011-06-16 Control method that a kind of network element finds automatically and device Expired - Fee Related CN102833086B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110162296.3A CN102833086B (en) 2011-06-16 Control method that a kind of network element finds automatically and device
PCT/CN2012/072591 WO2012171373A1 (en) 2011-06-16 2012-03-20 Method and device for controlling automatic discovery of network element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110162296.3A CN102833086B (en) 2011-06-16 Control method that a kind of network element finds automatically and device

Publications (2)

Publication Number Publication Date
CN102833086A CN102833086A (en) 2012-12-19
CN102833086B true CN102833086B (en) 2016-12-14

Family

ID=

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026891A (en) * 2006-02-21 2007-08-29 中兴通讯股份有限公司 Domain automatic generating method for automatic exchange optical network
CN101640610A (en) * 2009-09-02 2010-02-03 中兴通讯股份有限公司 Method and system for automatic discovery of Ethernet link
CN101883013A (en) * 2010-07-09 2010-11-10 中兴通讯股份有限公司 Automatic configuration method and system for single board with alternative mode

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026891A (en) * 2006-02-21 2007-08-29 中兴通讯股份有限公司 Domain automatic generating method for automatic exchange optical network
CN101640610A (en) * 2009-09-02 2010-02-03 中兴通讯股份有限公司 Method and system for automatic discovery of Ethernet link
CN101883013A (en) * 2010-07-09 2010-11-10 中兴通讯股份有限公司 Automatic configuration method and system for single board with alternative mode

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ASON中的自动发现技术及其实现;徐文云;《光通信技术 2007年》;20070930(第9期);全文 *

Similar Documents

Publication Publication Date Title
US9843496B2 (en) Communication system, control apparatus, and network topology management method
US7433371B2 (en) Optical cross connect apparatus and network
US20180019941A1 (en) Integrated heterogeneous software-defined network
US8427958B2 (en) Dynamic latency-based rerouting
US7898942B2 (en) Ring network system, failure recovery method, failure detection method, node and program for node
US8199639B2 (en) Path protection method and layer-2 switch
US8625596B1 (en) Multi-chassis topology discovery using in-band signaling
US8649379B2 (en) Method and apparatus for configuring a link aggregation group on a stacked switch
US7869439B1 (en) Varying packet switch behavior based on a quantity of virtual interfaces associated with a virtual switch
US9853859B2 (en) Network element and a controller for managing the network element
US9118489B2 (en) Communication system, network management method and switching device
CN104301146A (en) Link switching method and device in software defined network
US9077625B2 (en) Apparatus and method for controlling a transmission interval of maintenance packets in a communication network
CN102449962A (en) Transient loop prevention in a hybrid layer-2 network
US20140153442A1 (en) Method, Device, and System for Packet Processing
AU2012231488B2 (en) Ethernet ring protection switching method, network device and system
CN106452909A (en) Route-distribution method and route reflector equipment
US20130265880A1 (en) Method and device for gmpls based multilayer link management in a multilayer network
CN102833086B (en) Control method that a kind of network element finds automatically and device
CN105490741B (en) Detect the method, apparatus and optical line terminal, ONT Optical Network Terminal of loopback link
RU2577782C2 (en) Wireless receiving device, method of sending fault information and method for notification of fault information
US20150334032A1 (en) Control apparatus, communication system, communication node control method, and program
US8934492B1 (en) Network systems and methods for efficiently dropping packets carried by virtual circuits
US8769124B2 (en) Method for operating a network and a network
CN116170294B (en) Network anomaly detection method and system for distributed system

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20161214

Termination date: 20170616