CN101212340A - Method for restarting control nodes in automatic switching optical network - Google Patents

Method for restarting control nodes in automatic switching optical network Download PDF

Info

Publication number
CN101212340A
CN101212340A CNA2006101617841A CN200610161784A CN101212340A CN 101212340 A CN101212340 A CN 101212340A CN A2006101617841 A CNA2006101617841 A CN A2006101617841A CN 200610161784 A CN200610161784 A CN 200610161784A CN 101212340 A CN101212340 A CN 101212340A
Authority
CN
China
Prior art keywords
restarting
restart
parameter
module
upper layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2006101617841A
Other languages
Chinese (zh)
Other versions
CN101212340B (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
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200610161784A priority Critical patent/CN101212340B/en
Publication of CN101212340A publication Critical patent/CN101212340A/en
Application granted granted Critical
Publication of CN101212340B publication Critical patent/CN101212340B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for restarting a control node in an automatic switching optical network, which comprises the following processes: a restarting order is received by the control node and a restarting parameter in the restarting order is detected; the whole control node is restarted if a restarting type is not obtained in the restarting parameter; relevant modules and upper layer modules are restarted according to the restarting type and a module depending relationship table if the restarting type is contained in the restarting parameter. A time delay parameter can also be contained in the restarting parameter for preparing restarting. The invention solves the problem of too much impact on the system when the whole node is restarted in the condition that only parts of the modules (protocols) are necessary to be restarted. And the invention preferably maintains the data consistency of the control node.

Description

A kind of method for restarting of control nodes in automatic switching optical network
Technical field
The present invention relates to the ASON field, particularly a kind of method for restarting of control nodes in automatic switching optical network.
Background technology
At ASON (Automatically Switched Optical Network, ASON, be commonly called as ASON) field, connection management and control that ASON Control Node (being usually said smart machine) is responsible for whole network are moving more processing protocol on it.In the Control Node running, gross error appears in possible certain part, need restart; Perhaps user's modification some important parameter, need restart certain module (agreement) new argument is come into force.How restarting of smoothing processing node avoids reboot process excessive to the impact of system, effectively guarantees the stable and healthy and strong of system, just becomes complicated and significant problem.
In known solution, adopt the mode that the The whole control node is restarted immediately to handle above situation.
This processing method has tangible deficiency: cause the The whole control nodal function temporarily to lose efficacy in the restarting process, can not in time handle external message, even external message is all abandoned.The whole node reboot time is longer, gets final product and just need restart a wherein very little part sometimes, need not restart the The whole control node.In some cases, more possible important processing are not finished as yet, and whole node is restarted immediately and caused some important loss of data.
Because the technology of control plane own is just very complicated, it is just complicated more to have increased the Control Node technology behind the control plane.Under the prior art condition, generally be that the The whole control node is done as a wholely to restart.
Summary of the invention
The technical problem to be solved in the present invention just provides a kind of method for restarting of control nodes in automatic switching optical network, and this method solves only need carry out under the situation that part of module (agreement) restarts, and whole node is restarted the problem excessive to system shock.And the data consistency of better maintaining Control Node self.
In order to solve the problems of the technologies described above, the invention provides a kind of method for restarting of control nodes in automatic switching optical network, comprise the steps:
(1) Control Node receives reset command, detects the parameter of restarting in the reset command;
(2) if restarting not contain in the parameter restarts type, then restart the The whole control node;
(3) if restart to contain in the parameter and restart type, then according to restarting type and module dependence table is restarted corresponding module and upper layer module.
Further, in the described step (1), after Control Node receives reset command, also carry out the verification of parameter legitimacy.
Further, after parameter verification finishes, to management plane back-checking result.
Further, if described restart contain delay parameter in the parameter, and delay parameter is greater than 0, then described step (2) comprises the steps:
(a) start timer according to restarting delay parameter, and notify each module to restart preparation;
(b) then, restart the The whole control node at timer time.
Further, if described restart contain delay parameter in the parameter, and delay parameter is greater than 0, then described step (3) comprises the steps:
(a) start timer according to restarting delay parameter, and restart preparation according to restarting type and module dependence table notice corresponding module and upper layer module;
(b) then, restart corresponding module and upper layer module at timer time.
Further, in the described step (3), comprise the steps:
(a) read module dependence table is searched for and the upper layer module of restarting the type parameter coupling;
(b) if find and the upper layer module of restarting the type parameter coupling, then write down this upper layer module data, this upper layer module also needs to restart synchronously;
(c) restart corresponding module and upper layer module thereof.
Further, in the described step (a), the module that need restart in time deposits the current information that does not deposit database as yet in database, and restarts preparation after receiving and restarting the preparation notification message.
Further, the module of restarting when needs is all restarted and is finished, and when perhaps failure occurring in the pilot process, the result is reported corresponding management plane.
The present invention has following beneficial effect:
1. compatible tradition is restarted mode, seamless expansion and upgrading;
2. system is normally in service can restart the Control Node part of module, and can not influence whole system function;
3. adopt the sub-module (type) to restart strategy, change greatly for a short time, alleviated whole node greatly and restarted impact system;
4. can divide flexibly and restart type and module dependence table according to the requirement of real system, actual operation is strong, adaptability is strong;
5. restarting type can expand in real time according to development progress, is convenient to the version forward and backward compatibility;
6. restart and prepare to handle, be convenient to the data consistency of better maintaining The whole control node;
7. set and restart delay time, be convenient to restart the carrying out of preparing processing and automatic test.
Description of drawings
Fig. 1 is the main flow chart of the embodiment of the invention;
Fig. 2 obtains upper strata Depending module flow chart for the embodiment of the invention.
Embodiment
The main points of the embodiment of the invention are to adopt to restart type and to restart delay parameter restarts the ASON Control Node and effectively manages and control; Restart delay parameter and be used to restart preparation, help the consistency of the data of better maintaining Control Node own.
The embodiment of the invention adopts clearer and more definite parameter control method, may further comprise the steps:
When user's (or management plane) requires the ASON Control Node to restart, be with following parameter:
Parameter Explanation
The ASON node identification The ASON node that sign need be restarted
Restart type (optional) Control Node is restarted type.The major parameter implication is described as follows: Normal: restart the The whole control node; RSVP: restart RSVP; OSPF: restart ospf protocol; LMP: restart the LMP agreement; DDRP: restart the DDRP agreement; BGP: restart bgp protocol; MPLS: restart mpls protocol; LMGR: restart the tag control module; MS: restart the masterslave switchover module; DA: restart the discovery proxy module; TAP: restart the transmission proxy module; LRM: restart the Link Resource Manager module; CC: restart link control module; CallCC: restart the call controller module; Version expanded after other were treated; Default to Normal
Restart time delay (optional) Restart Control Node again after waiting for certain hour (unit is second).If be 0s, expression is restarted immediately, defaults to 0s
Control Node detects and need restart, and detects to restart parameter accordingly;
Restart type and restart delay parameter if restart not contain in the parameter, then the same with conventional method, restart the The whole control node immediately;
Restart type if restart to contain in the parameter, do not restart delay parameter, then according to restarting type and module dependence table is restarted corresponding module and upper layer module immediately but do not contain;
Restart type if restart not contain in the parameter, restart delay parameter, then start timer, and notify each module to restart preparation, then restart the The whole control node at timer time according to restarting delay parameter but contain;
Restart type and restart delay parameter if restart to comprise in the parameter, then start timer according to restarting delay parameter, and restart preparation according to restarting type and module dependence table notice corresponding module and upper layer module, then restart corresponding module and upper layer module at timer time.
The present invention is described in detail below in conjunction with drawings and the specific embodiments.
As shown in Figure 1, the main flow process of the embodiment of the invention is described in detail as follows:
Step 1, Control Node receive the reset command line parameter legitimacy verification of going forward side by side;
Verification can avoid management plane (or user) to wait as long for immediately to management plane (or user) back-checking result (optional) after finishing.
This step is not the emphasis of the embodiment of the invention, and similar with conventional method, this place is no longer described in detail.
In the concrete application example of present embodiment, suppose to receive the reset command of management plane: ASON_RESET_NODE:3,11,60 (are the version of supporting to restart type and restart time delay.Wherein, the ASON node identification of the current ASON Control Node of parameter 3 expressions is 3; The TAP module is restarted in parameter 11 expressions; It is 60 seconds that time delay is restarted in parameter 60 expressions).Parameter verification success back returns success to management plane replys.
Whether step 2, Control Node are judged to have in the reset command and are restarted type parameter;
Restart type parameter if having, then judge whether to be Normal;
If be not Normal, then as shown in Figure 2, read module dependence table, search and the upper layer module of restarting the type parameter coupling, if find and the upper layer module of restarting the type parameter coupling, then write down this upper layer module data, this upper layer module also needs to restart synchronously.
If restart parameter is Normal, does not perhaps have in the reset command and restarts type parameter, then restarts for the The whole control node.
In the application example of present embodiment was described, restarting type was 11, and expression need be restarted the TAP module; Read module dependence table finds that DA module (parameter is 10) directly depends on TAP module (11), so the DA module is the upper strata Depending module of TAP module, also needs to restart.
Whether step 3, Control Node are judged to have in the reset command and are restarted delay parameter;
Restart delay parameter if having, then start timer, forward step 4 to and continue to carry out according to restarting delay parameter; Do not restart delay parameter if be not with, perhaps restarting delay parameter is 0, then jumps to step 5 and continues to carry out.
In the application example of present embodiment, restarting delay parameter is 60, and expression needs time-delay to restart in 60 seconds, and the time delay timer of restarting of startup is Timer (60).
Step 4 according to the result who obtains in the step 2, is restarted the preparation notification message to the module transmission that needs are restarted;
The module that need restart receive restart prepare notification message after, in time deposit the current information that does not deposit database as yet in database, and restart preparation (each module need finish the preparation of restarting be not quite similar).
In the application example of present embodiment, restart the preparation notice to DA and the transmission of TAP module.DA and TAP receive restart prepare notification message after, finish when pre-treatment and will not deposit database information in time depositing database in, finish restart preparation after, wait is restarted.
Step 5 is restarted corresponding module;
Timer time in step 3 is then restarted corresponding module; Perhaps do not restart back off timer, restart corresponding module immediately.
In the application example of present embodiment, when Timer (60) timer then, restart DA and TAP module.
Step 6 is restarted and is finished, and reports and restarts the result;
The module of restarting when needs is all restarted and is finished, and when perhaps failure occurring in the pilot process, the result is reported corresponding management plane (or user), and reboot process is finished.
In the application example of present embodiment, all restart successfully when TAP and DA module, report the TAP module to restart successfully to management plane.

Claims (8)

1. the method for restarting of a control nodes in automatic switching optical network comprises the steps:
(1) Control Node receives reset command, detects the parameter of restarting in the reset command;
(2) if restarting not contain in the parameter restarts type, then restart the The whole control node;
(3) if restart to contain in the parameter and restart type, then according to restarting type and module dependence table is restarted corresponding module and upper layer module.
2. method for restarting according to claim 1 is characterized in that: in the described step (1), after Control Node receives reset command, also carry out the verification of parameter legitimacy.
3. method for restarting according to claim 1 and 2 is characterized in that: after parameter verification finishes, to management plane back-checking result.
4. method for restarting according to claim 1 is characterized in that: if described restart contain delay parameter in the parameter, and delay parameter is greater than 0, then described step (2) comprises the steps:
(a) start timer according to restarting delay parameter, and notify each module to restart preparation;
(b) then, restart the The whole control node at timer time.
5. method for restarting according to claim 1 is characterized in that: if described restart contain delay parameter in the parameter, and delay parameter is greater than 0, then described step (3) comprises the steps:
(a) start timer according to restarting delay parameter, and restart preparation according to restarting type and module dependence table notice corresponding module and upper layer module;
(b) then, restart corresponding module and upper layer module at timer time.
6. method for restarting according to claim 1 or 5 is characterized in that: in the described step (3), comprise the steps:
(a) read module dependence table is searched for and the upper layer module of restarting the type parameter coupling;
(b) if find and the upper layer module of restarting the type parameter coupling, then write down this upper layer module data, this upper layer module also needs to restart synchronously;
(c) restart corresponding module and upper layer module thereof.
7. according to claim 4 or 5 described method for restarting, it is characterized in that: in the described step (a), the module that need restart in time deposits the current information that does not deposit database as yet in database, and restarts preparation after receiving and restarting the preparation notification message.
8. method for restarting according to claim 1 is characterized in that: the module of restarting when needs is all restarted and is finished, and when perhaps failure occurring in the pilot process, the result is reported corresponding management plane.
CN200610161784A 2006-12-25 2006-12-25 Method for restarting control nodes in automatic switching optical network Expired - Fee Related CN101212340B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610161784A CN101212340B (en) 2006-12-25 2006-12-25 Method for restarting control nodes in automatic switching optical network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610161784A CN101212340B (en) 2006-12-25 2006-12-25 Method for restarting control nodes in automatic switching optical network

Publications (2)

Publication Number Publication Date
CN101212340A true CN101212340A (en) 2008-07-02
CN101212340B CN101212340B (en) 2010-05-19

Family

ID=39612041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610161784A Expired - Fee Related CN101212340B (en) 2006-12-25 2006-12-25 Method for restarting control nodes in automatic switching optical network

Country Status (1)

Country Link
CN (1) CN101212340B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778022A (en) * 2009-01-12 2010-07-14 华为终端有限公司 Method and device for software management of universal plug and play equipment
CN101873519A (en) * 2010-06-21 2010-10-27 中兴通讯股份有限公司 Method and device for restarting optical network unit
CN101777020B (en) * 2009-12-25 2012-12-05 北京讯鸟软件有限公司 Fault tolerance method and system used for distributed program
CN106712461A (en) * 2016-11-18 2017-05-24 深圳市恒扬数据股份有限公司 Electronic equipment and power supply control device thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1269321C (en) * 2002-10-25 2006-08-09 华为技术有限公司 Recovering method for controlling plane after multi-node restarting in intelligent optical network
CN1801802B (en) * 2004-12-31 2010-06-02 华为技术有限公司 Node restarting method on universal multi protocol label exchange path

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778022A (en) * 2009-01-12 2010-07-14 华为终端有限公司 Method and device for software management of universal plug and play equipment
CN101777020B (en) * 2009-12-25 2012-12-05 北京讯鸟软件有限公司 Fault tolerance method and system used for distributed program
CN101873519A (en) * 2010-06-21 2010-10-27 中兴通讯股份有限公司 Method and device for restarting optical network unit
WO2011160366A1 (en) * 2010-06-21 2011-12-29 中兴通讯股份有限公司 Method, equipment and optical line terminal for restarting optical network unit
CN101873519B (en) * 2010-06-21 2015-09-16 中兴通讯股份有限公司 A kind of method that optical network unit is restarted and device
CN106712461A (en) * 2016-11-18 2017-05-24 深圳市恒扬数据股份有限公司 Electronic equipment and power supply control device thereof
CN106712461B (en) * 2016-11-18 2018-12-14 深圳市恒扬数据股份有限公司 Electronic equipment and its power control

Also Published As

Publication number Publication date
CN101212340B (en) 2010-05-19

Similar Documents

Publication Publication Date Title
CN101056270B (en) A route convergence method and routing device
CN106789197A (en) A kind of cluster election method and system
US20030149735A1 (en) Network and method for coordinating high availability system services
CN102238093B (en) Service interruption prevention method and device
CN107589955B (en) Method and system for upgrading double-CMC (carboxy methyl cellulose) firmware version
CN100428155C (en) Upgrading method of communication equipment
CN101212340B (en) Method for restarting control nodes in automatic switching optical network
CN102098182A (en) Method for restoring allocation of distributed equipment and distributed equipment
CN104468521A (en) Online migration method, device and system
CN103825817A (en) Achieving method and device of ceaseless routing after routing protocol restarting
CN108984195B (en) Software upgrading method and device
US20170116094A1 (en) Fault handling methods in a home service system, and associated household appliances and servers
US20060282831A1 (en) Method and hardware node for customized upgrade control
CN105426213A (en) Software update method and system
CN101155015A (en) Synchronization method for data and condition between host computer and standby computer
CN104639615A (en) Data processing method and data processing device in controller cluster
CN107786350B (en) Method and device for restoring factory configuration of network equipment and network equipment
CN101739406A (en) Method for synchronizing file service operations on double-controller
CN101557307B (en) Dispatch automation system application state management method
CN102983997A (en) Method and device for migrating master services
CN111427259A (en) Frame slot type main/standby switching method, intelligent device and storage medium
CN114500554B (en) Internet of things system management method
CN107005434A (en) A kind of method, device and the equipment of synchronous virtual network function VNF states
CN114422335A (en) Communication method, communication device, server and storage medium
US7171465B1 (en) Method for determining a server computer which carried out a process most recently, and high availability computer system

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: 20100519

Termination date: 20171225