CN1713139A - Realization and maintainment for running mode of preventing apparatus - Google Patents
Realization and maintainment for running mode of preventing apparatus Download PDFInfo
- Publication number
- CN1713139A CN1713139A CN 200410049499 CN200410049499A CN1713139A CN 1713139 A CN1713139 A CN 1713139A CN 200410049499 CN200410049499 CN 200410049499 CN 200410049499 A CN200410049499 A CN 200410049499A CN 1713139 A CN1713139 A CN 1713139A
- Authority
- CN
- China
- Prior art keywords
- equipment
- operational mode
- reset
- protection operational
- network element
- 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
Links
Images
Landscapes
- Computer And Data Communications (AREA)
Abstract
A method for realizing protective operation mode (POM) of equipment includes step A of judging whether the reset is abnormal reset or not and entering step B if it is or otherwise to step D, step B of accumulating reset frequency and checking whether it is on preset value or not and entering step C if it is or otherwise to step D, step C of restoring default configuration data (CD) to let equipment enter into databank POM and starting up (SU), step D of restoring CD used before this SU in spare databank and making equipment enter normal operation mode and starting up .
Description
Technical field
The present invention relates to communication and field of computer technology, relate in particular to protection operational mode implementation method and maintaining method based on the equipment of embedded OS or application program.
Background technology
Built-in application program has been widely used in the communications field; in Synchronous Digital Transmission Network/synchronizable optical transmission network/dense wave division multipurpose light network transmission systems such as (SDH/SONET/DWDM) is used; network element device is based on built-in application program; by this built-in application program, each network node all needs to realize the functions such as storage, backup, recovery and protection of configure/status data.
Optical-fiber network as shown in Figure 1, NE1 is the Gateway Network Element of connection webmaster, and other network elements are non-gateway network element.If the non-network management network element breaks down, need carry out remote maintenance by management channels login fault network element from webmaster usually.
At network element device exceptional reset appears, as: device looses power, program run is unusual and during situation such as unusual read/write memory, may cause network node to occur and can't normally start, and is in the state that does not stop resetting.Its basic reason is exactly that the exceptional reset configuration data that may cause preserving is destroyed, and therefore can't normally start behind the configuration data of read error in each start-up course, the phenomenon that resets occurs not stopping.Maintenance and management instruments such as order line, network management system can't be linked into carry out remote maintenance on the fault network element, cause the maintainer must arrive the scene and carry out craft and change operation such as veneer equipment is resumed operation.Therefore, prior art exists maintainable difference of equipment and the high shortcoming of maintenance cost.
Summary of the invention
The invention provides a kind of protection operational mode implementation method and maintaining method of equipment, reset because of network element device can't normally start to be in constantly, thereby cause the maintainability difference and the high problem of maintenance cost of equipment to solve in the prior art.
For addressing the above problem, the invention provides following technical scheme:
A kind of protection operational mode implementation method of equipment, described equipment is based on embedded OS and application program; Described method is:
When starting, A, described device reset judge that by the inquiry record sheet that resets whether this time resets is exceptional reset, if then carry out step B, otherwise carries out step D;
B, accumulative total exceptional reset number of times also judge whether unusual number of times reaches predetermined value, if then carry out step C, otherwise carry out step D;
Protection operational mode switch in C, the trigger equipment, the default configuration information of restorer make described equipment enter the database protection operational mode and finish startup;
D, from Backup Data the configuration information of restorer before this time starts, make equipment enter normal operation mode and finish startup.
According to said method:
Automatically open the write operation disable switch behind the protection operational mode switch in the trigger equipment, keep the situ configuration data that backed up with the masked write operation order.
Restart the command triggers device reset and restart by issuing to the equipment that runs on the protection operational mode.
Pre-configured or the employing default value of the number of times of described exceptional reset.
After going into normal operation mode and finish startup, described equipment removes the exceptional reset number of times.
A kind of method to safeguarding based on the equipment of embedded program, this method comprises the steps:
(1) in described Equipment Inspection when the exceptional reset number of times reaches predetermined value, the protection operational mode switch in the trigger equipment, the default configuration information of restorer makes network element device enter the protection operational mode;
(2) from the maintenance terminal data download to described equipment to recover normal configuration information;
(3) restart by issuing the reset command trigger equipment, make equipment enter normal operation mode and finish startup to described equipment.
Wherein:
Step (2) also comprises step before: the field data of uploading backup from described equipment is carried out localization of fault to maintenance terminal.
Automatically open the write operation disable switch behind the protection operational mode switch in the trigger equipment, keep the field data that has backed up with the masked write operation order.
Carrying out step (2) before by closing the write operation disable switch, making equipment allow write operation to described equipment transmitting order to lower levels.
Described equipment enters normal operation mode and finishes and starts back removing exceptional reset number of times.
Described equipment is the network element device in the transmission network.
Described maintenance terminal is the Remote client in the network.
The present invention detects the number of times of exceptional reset and makes equipment enter the protection operational mode when the number of times of exceptional reset reaches setting when device start, thus the endless loop of having avoided equipment to enter into not stopping that resets and start; Can effectively protect fault in-situ information by the present invention, help localization of fault and fault and get rid of, thus the maintainability of raising equipment; Because the unusual number of times of regulation can be configured, therefore can use protection operational mode mechanism flexibly, thereby increase application flexibility according to actual conditions.
Adopt the present invention protection operational mode mechanism to be provided for the network element device in the transmission system, can under the exceptional reset situation, carry out remote maintenance, improved the maintainability of network element device, and can reduce maintenance cost significantly network element device.
Description of drawings
Fig. 1 is the transmission system structural representation of prior art;
Fig. 2 is the multi-level backup structural representation of database in the network element device;
Fig. 3 enters the process flow diagram of protection operational mode for network element device among the present invention;
Fig. 4 is at the process flow diagram of protecting maintenance network element device under the operational mode among the present invention.
Embodiment
The alleged exceptional reset of the present invention be meant except equipment such as resetting of causing of normal power-off reset, manual command and watchdog reset can write down normally reset reset.
The alleged protection operational mode of the present invention is that the unique operational mode with respect to Embedded Real-Time software in the present technology is for the normal mode.The protection operational mode is that equipment detects in start-up course in the time of can't entering normal mode, and the configuration data that shielding has been set adopts default configuration to enter the state of operation.
For the equipment that solves based on embedded OS and application program is in the state that does not stop resetting can't normally starting, the present invention judges by the inquiry record sheet that resets whether this time resets is exceptional reset when device reset starts, if not the exceptional reset configuration information of restorer before this time starts from the backed up data storehouse then, make equipment enter normal operation mode and finish startup; If exceptional reset, then add up the exceptional reset number of times and judge whether unusual number of times reaches predetermined value, if reach predetermined value then the default configuration information of restorer makes described equipment enter the protection operational mode.
After equipment enters the protection operational mode and finishes startup; the situ configuration data that keep by inquiry under the protection operational mode are carried out localization of fault; come restorer configuration by attended operations such as deleting, upload data, issue then and restart order and make normal startup of equipment enter normal operation mode.
Present embodiment is that the present invention will be described for example with the network equipment in the optical transport network mainly.
Consult shown in Figure 2ly, SDRAM is the internal memory (network element power down meeting obliterated data) of network element device, and nonvolatile memory (NVRAM) and FLASH are used for backing up the database file (network element power down NVRAM and FLASH not can obliterated data) of SDRAM.Database file among the SDRAM backups among the NVRAM in real time, and the database file among the NVRAM then regularly or by manual type backups among the FLASH.The establishment of application programming interface (API) the fulfillment database file of application module by calling database module, each database file all have version number's sign, in the API parameter version number information are arranged.
The record sheet that resets is the one section memory block that is independent of database among the NVRAM, is used for repositioning informations (default configuration generally fills in 0) such as recording reset number of times, reset circuit and reset time.Carry out record for resetting normally with in resetting record sheet at this, exceptional reset does not then have record in this record sheet, and whether therefore start by promptly current as can be known the resetting of inquiry is exceptional reset.Because the present invention need add up the number of times of exceptional reset, therefore the number of times with accumulative total is stored in this record sheet that resets, carry out the exceptional reset number of times when judging by processor from NVRAM from reading.
Consult shown in Figure 3, network element device switch to the protection operational mode flow process as follows:
Step 10: the network element device startup that resets.
Step 20: judge that whether this time resets is exceptional reset, if then carry out step 30, otherwise carry out step 60.
Step 30: accumulative total exceptional reset number of times.
Step 40: judge that whether unusual number of times reaches predetermined value (being threshold value), if then carry out step 50, otherwise carry out step 60.
Step 50: trigger the database protection operational mode switch in the network element device, the default configuration information of restorer makes described equipment enter the database protection operational mode and finishes startup.
Step 60: the configuration information of restorer before this time starts from the backed up data storehouse makes equipment enter normal operation mode and finishes startup.After network element device is finished normal startup, the exceptional reset number of times of record is removed.
For the configuration data of catch net element device fault in-situ, open write operation (comprising operations such as configuration, deletion) disable switch behind the database protection operational mode switch in the trigger equipment automatically, with the masked write operation order.Because network element device can constantly back up data when normal operation, therefore can keep the situ configuration data that backed up in good condition.
Network element software provides operational mode querying command, the order of database follow-up for anomaly and uploads and data download database data function under the protection operational mode.Utilize these functions can collect field data and carry out localization of fault.If upload data, then must first utility command close the write operation disable switch of protecting under the operational mode, even network element device allows write operation.
Network element device sends alarm notification to network management system after going into the protection operational mode, wait for that the maintainer safeguards.
Network element device exceptional reset how many times switches to the protection operational mode, and whether the protection operational mode starts and can be provided with by maintenances such as order line, network management system, management tool.
Consult shown in Figure 4, as follows to the maintenance process that operates in the network element device of protection under the operational mode:
Step 100: issue the order of uploading the fault in-situ configuration data by the Remote client in the network to network element device, obtain desired data to maintenance terminal from network element device.
Step 110: network element device is carried out localization of fault according to the data of obtaining.
Step 120: issue to network element device and to close the write operation disable switch, make network element device allow write operation.
Step 130: from maintenance terminal to the network element device data download, to fix a breakdown.
Being determined by failure cause to the network element device data downloaded, can be configuration data, also can be other relevant data.
Step 140: issue reset command to network element device, trigger network element device and restart.
Step 150: network element device is finished to start and is entered normal operation mode.After network element device is finished normal startup, the exceptional reset number of times of record is removed.
Adopt the protection operational mode of network element software; when can't normally starting, network element device can correctly guide network element device to switch under the protection operational mode; make the maintainer can long-rangely carry out attended operations such as localization of fault, fault eliminating, thereby improve the maintainability of optical-fiber network network element device and reduce maintenance cost.
Though more than with the network element device be example the present invention will be described, be not limited in this, the present invention is applicable on the application software of embedded real-time operating systems such as adopting pSOS, VxWorks, Linux.
Claims (13)
1, a kind of implementation method of equipment protection operational mode, described equipment is based on embedded OS and application program; It is characterized in that comprising the steps:
When starting, A, described device reset judge that by the inquiry record sheet that resets whether this time resets is exceptional reset, if then carry out step B, otherwise carries out step D;
B, accumulative total exceptional reset number of times also judge whether unusual number of times reaches predetermined value, if then carry out step C, otherwise carry out step D;
Protection operational mode switch in C, the trigger equipment, the default configuration information of restorer make described equipment enter the protection operational mode and finish startup;
D, from the storer of Backup Data the configuration information of restorer before this time starts, make equipment enter normal operation mode and finish startup.
2, the method for claim 1 is characterized in that, the protection operational mode in the trigger equipment is opened the write operation disable switch after opening automatically, keeps the situ configuration data that backed up with the masked write operation order.
3, method as claimed in claim 1 or 2 is characterized in that, after entering the protection operational mode, equipment sends alarm information to management system.
4, method as claimed in claim 3 is characterized in that, restarts the command triggers device reset and restarts by issuing to the equipment that runs on the protection operational mode.
5, the method for claim 1 is characterized in that, the pre-configured or employing default value of the number of times of described exceptional reset.
6, the method for claim 1 is characterized in that, removes the exceptional reset number of times after described equipment enters normal operation mode and finishes startup.
7, a kind of protection operational mode maintaining method of equipment is characterized in that comprising the steps:
(1) in described Equipment Inspection when the exceptional reset number of times reaches predetermined value, the protection operational mode switch in the trigger equipment, the default configuration information of restorer makes network element device enter the protection operational mode;
(2) from the maintenance terminal data download to described equipment to recover normal configuration information;
(3) restart by issuing the reset command trigger equipment, make equipment enter normal operation mode and finish startup to described equipment.
8, method as claimed in claim 7 is characterized in that, step (2) also comprises step before:
Upload the field data of backup from described equipment and carry out localization of fault to maintenance terminal.
9, method as claimed in claim 7 is characterized in that, the protection operational mode in the trigger equipment is opened the write operation disable switch after opening automatically, keeps the field data that has backed up with the masked write operation order.
10, method as claimed in claim 9 is characterized in that, is carrying out step (2) before by closing the write operation disable switch to described equipment transmitting order to lower levels, makes equipment allow write operation.
11, method as claimed in claim 7 is characterized in that, described equipment enters normal operation mode and finishes and starts back removing exceptional reset number of times.
As each described method of claim 7 to 11, it is characterized in that 12, described equipment is the network element device in the transmission network.
13, method as claimed in claim 12 is characterized in that, described maintenance terminal is the Remote client in the network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100494991A CN1311337C (en) | 2004-06-24 | 2004-06-24 | Realization and maintainment for running mode of preventing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100494991A CN1311337C (en) | 2004-06-24 | 2004-06-24 | Realization and maintainment for running mode of preventing apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1713139A true CN1713139A (en) | 2005-12-28 |
CN1311337C CN1311337C (en) | 2007-04-18 |
Family
ID=35718772
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100494991A Expired - Fee Related CN1311337C (en) | 2004-06-24 | 2004-06-24 | Realization and maintainment for running mode of preventing apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1311337C (en) |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100454847C (en) * | 2006-12-12 | 2009-01-21 | 华为技术有限公司 | Method and apparatus for starting terminal management system |
CN100461106C (en) * | 2007-02-09 | 2009-02-11 | 无敌科技(西安)有限公司 | Multiple protection method of start-up program |
WO2009109145A1 (en) * | 2008-03-07 | 2009-09-11 | 华为技术有限公司 | A method for improving the reliability of communication devices and an apparatus thereof |
CN101546279A (en) * | 2009-05-14 | 2009-09-30 | 华为技术有限公司 | Device, system and method for exception processing of embedded device |
CN101136773B (en) * | 2007-03-05 | 2011-12-28 | 中兴通讯股份有限公司 | Backup and recovery method of network element configuring data |
CN102308284A (en) * | 2011-07-01 | 2012-01-04 | 华为技术有限公司 | Method for rapidly resetting device and apparatus |
CN102638462A (en) * | 2012-03-28 | 2012-08-15 | 中国联合网络通信集团有限公司 | Network registering method and device |
CN103092724A (en) * | 2012-12-19 | 2013-05-08 | 宁波三星电气股份有限公司 | System self-recovery method for embedded electric power terminal |
CN105119829A (en) * | 2015-09-07 | 2015-12-02 | 中国联合网络通信集团有限公司 | Method, device and system for data transmission |
CN105159792A (en) * | 2015-08-17 | 2015-12-16 | 深圳市中兴物联科技有限公司 | Method and apparatus for assisting in stabilizing product system |
WO2016045202A1 (en) * | 2014-09-28 | 2016-03-31 | 深圳Tcl数字技术有限公司 | Reset processing method and apparatus for electronic device |
CN105813118A (en) * | 2014-12-30 | 2016-07-27 | 中兴通讯股份有限公司 | Base station remote maintenance method and base station remote maintenance system |
CN106445713A (en) * | 2016-09-06 | 2017-02-22 | 深圳市广和通无线股份有限公司 | Recovery method of communication module startup exception |
CN107623829A (en) * | 2017-08-30 | 2018-01-23 | 中国航空无线电电子研究所 | A kind of file management method in video recording apparatus |
CN108804463A (en) * | 2017-05-03 | 2018-11-13 | 杭州海康威视数字技术股份有限公司 | A kind of method of data synchronization of MySQL database, device and electronic equipment |
CN110871897A (en) * | 2018-09-03 | 2020-03-10 | 昆山优尼电能运动科技有限公司 | Unmanned aerial vehicle self-checking method and system |
WO2021077948A1 (en) * | 2019-10-22 | 2021-04-29 | 中兴通讯股份有限公司 | Base station software version rollback control method, apparatus, base station, and readable storage medium |
CN113593291A (en) * | 2021-07-04 | 2021-11-02 | 李雷 | Intelligent parking space management system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08202589A (en) * | 1995-01-24 | 1996-08-09 | Nec Home Electron Ltd | Information processor and fault diagnostic method |
CN1275155C (en) * | 2002-08-24 | 2006-09-13 | 中兴通讯股份有限公司 | Abnormal failure location method in embedded operationi system |
JP4031689B2 (en) * | 2002-09-13 | 2008-01-09 | 株式会社東海理化電機製作所 | Locking / unlocking control device |
CN1208721C (en) * | 2003-09-19 | 2005-06-29 | 清华大学 | Graded task switching method based on PowerPC processor structure |
-
2004
- 2004-06-24 CN CNB2004100494991A patent/CN1311337C/en not_active Expired - Fee Related
Cited By (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100454847C (en) * | 2006-12-12 | 2009-01-21 | 华为技术有限公司 | Method and apparatus for starting terminal management system |
CN100461106C (en) * | 2007-02-09 | 2009-02-11 | 无敌科技(西安)有限公司 | Multiple protection method of start-up program |
CN101136773B (en) * | 2007-03-05 | 2011-12-28 | 中兴通讯股份有限公司 | Backup and recovery method of network element configuring data |
WO2009109145A1 (en) * | 2008-03-07 | 2009-09-11 | 华为技术有限公司 | A method for improving the reliability of communication devices and an apparatus thereof |
CN101247615B (en) * | 2008-03-07 | 2011-02-02 | 上海华为技术有限公司 | Method and device for improving reliability of communication equipment |
CN101546279A (en) * | 2009-05-14 | 2009-09-30 | 华为技术有限公司 | Device, system and method for exception processing of embedded device |
CN102308284A (en) * | 2011-07-01 | 2012-01-04 | 华为技术有限公司 | Method for rapidly resetting device and apparatus |
WO2012103738A1 (en) * | 2011-07-01 | 2012-08-09 | 华为技术有限公司 | Method and apparatus for quickly resetting device |
CN102638462A (en) * | 2012-03-28 | 2012-08-15 | 中国联合网络通信集团有限公司 | Network registering method and device |
CN102638462B (en) * | 2012-03-28 | 2015-02-25 | 中国联合网络通信集团有限公司 | Network registering method and device |
CN103092724A (en) * | 2012-12-19 | 2013-05-08 | 宁波三星电气股份有限公司 | System self-recovery method for embedded electric power terminal |
CN105528221B (en) * | 2014-09-28 | 2019-08-16 | 深圳Tcl数字技术有限公司 | Electronic equipment reset processing method and device |
WO2016045202A1 (en) * | 2014-09-28 | 2016-03-31 | 深圳Tcl数字技术有限公司 | Reset processing method and apparatus for electronic device |
CN105528221A (en) * | 2014-09-28 | 2016-04-27 | 深圳Tcl数字技术有限公司 | Electronic device reset processing method and apparatus |
CN105813118A (en) * | 2014-12-30 | 2016-07-27 | 中兴通讯股份有限公司 | Base station remote maintenance method and base station remote maintenance system |
CN105159792A (en) * | 2015-08-17 | 2015-12-16 | 深圳市中兴物联科技有限公司 | Method and apparatus for assisting in stabilizing product system |
CN105119829A (en) * | 2015-09-07 | 2015-12-02 | 中国联合网络通信集团有限公司 | Method, device and system for data transmission |
CN106445713A (en) * | 2016-09-06 | 2017-02-22 | 深圳市广和通无线股份有限公司 | Recovery method of communication module startup exception |
CN108804463A (en) * | 2017-05-03 | 2018-11-13 | 杭州海康威视数字技术股份有限公司 | A kind of method of data synchronization of MySQL database, device and electronic equipment |
CN107623829A (en) * | 2017-08-30 | 2018-01-23 | 中国航空无线电电子研究所 | A kind of file management method in video recording apparatus |
CN107623829B (en) * | 2017-08-30 | 2020-07-07 | 中国航空无线电电子研究所 | File management method in video recording equipment |
CN110871897A (en) * | 2018-09-03 | 2020-03-10 | 昆山优尼电能运动科技有限公司 | Unmanned aerial vehicle self-checking method and system |
CN110871897B (en) * | 2018-09-03 | 2023-09-19 | 昆山合朗航空科技有限公司 | Unmanned aerial vehicle self-checking method and system |
WO2021077948A1 (en) * | 2019-10-22 | 2021-04-29 | 中兴通讯股份有限公司 | Base station software version rollback control method, apparatus, base station, and readable storage medium |
CN113593291A (en) * | 2021-07-04 | 2021-11-02 | 李雷 | Intelligent parking space management system |
CN113593291B (en) * | 2021-07-04 | 2023-02-07 | 李雷 | Intelligent parking space management system |
Also Published As
Publication number | Publication date |
---|---|
CN1311337C (en) | 2007-04-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1311337C (en) | Realization and maintainment for running mode of preventing apparatus | |
US7661032B2 (en) | Adjusting sliding window parameters in intelligent event archiving and failure analysis | |
US8793457B2 (en) | Method and system for policy-based secure destruction of data | |
US20190391833A1 (en) | System and method for managing telemetry data and agents in a telemetry system | |
US20080168242A1 (en) | Sliding Window Mechanism for Data Capture and Failure Analysis | |
CN1524223A (en) | Systems and methods of information backup | |
CN101106480A (en) | Configuration backup method, system and configuration file server and managed devices | |
CN1933416A (en) | Long-distance on-line staging method with self-recovery function | |
US10102073B2 (en) | Systems and methods for providing automatic system stop and boot-to-service OS for forensics analysis | |
JP2015535372A (en) | Data log management in a multi-client architecture | |
CN110647333A (en) | Firmware upgrading method and equipment configured to upgrade firmware therein | |
US20220027254A1 (en) | Storage-based log file management | |
CN110972497A (en) | Disaster recovery method and device for virtualization platform | |
CN116028094A (en) | BMC upgrading method and device | |
CN101883026B (en) | Method for maintaining data acquisition system | |
CN100372307C (en) | Method for managing system log | |
CN1175351C (en) | Automatic SOLARIS process protecting system | |
CN117608893A (en) | Method, device and related equipment for adjusting correctable error reporting threshold | |
CN116975166A (en) | Method and device for processing archiving space of Oracle database | |
US8495315B1 (en) | Method and apparatus for supporting compound disposition for data images | |
CN106686035B (en) | Method and device for realizing customized FTP server based on Apache FtpServer | |
CN100343816C (en) | Method of restoring single board software edition | |
CN1713143A (en) | Compatibility upgrading method of embedded programm | |
CN1655138A (en) | Computer restoration system and method with multiple restoring points | |
CN116055310B (en) | Method, device and network equipment for recovering user configuration information |
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: 20070418 Termination date: 20170624 |