CN1311337C - Realization and maintainment for running mode of preventing apparatus - Google Patents

Realization and maintainment for running mode of preventing apparatus Download PDF

Info

Publication number
CN1311337C
CN1311337C CNB2004100494991A CN200410049499A CN1311337C CN 1311337 C CN1311337 C CN 1311337C CN B2004100494991 A CNB2004100494991 A CN B2004100494991A CN 200410049499 A CN200410049499 A CN 200410049499A CN 1311337 C CN1311337 C CN 1311337C
Authority
CN
China
Prior art keywords
equipment
operational mode
protection operational
reset
described equipment
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
CNB2004100494991A
Other languages
Chinese (zh)
Other versions
CN1713139A (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 CNB2004100494991A priority Critical patent/CN1311337C/en
Publication of CN1713139A publication Critical patent/CN1713139A/en
Application granted granted Critical
Publication of CN1311337C publication Critical patent/CN1311337C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The present invention discloses a realization method and a maintenance method for a protection run mode of an apparatus, which solves the problems of poor maintainability and high maintenance cost caused by the continuous resetting of a net element apparatus which can not be started up normally in the prior art, wherein the realization method for the protection run mode of the apparatus comprises: steps A. when the apparatus is reset and started up, judging whether the resetting is abnormal resetting through querying a resetting record list; if true, then entering step B, else entering step D; step B. accumulating the frequency of the abnormal resetting and judging whether the abnormal resetting frequency reaches a predetermined value or not; if true, then entering step C, else entering step D; step C. triggering a switch of the database protection run mode in the apparatus, and restoring default configuration information in the apparatus to enable the apparatus to enter the database protection run mode and complete startup; and step D. restoring the configuration information of the apparatus before the start-up from a backup database to enable the apparatus to enter a normal run mode and complete the startup.

Description

The protection operational mode implementation method and the maintaining method of equipment
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, described equipment is characterized in that comprising the steps: based on embedded OS and application program
(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.
CNB2004100494991A 2004-06-24 2004-06-24 Realization and maintainment for running mode of preventing apparatus Expired - Fee Related CN1311337C (en)

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 CN1713139A (en) 2005-12-28
CN1311337C true 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)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
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
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
WO2012103738A1 (en) * 2011-07-01 2012-08-09 华为技术有限公司 Method and apparatus for quickly resetting 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
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
CN105119829B (en) * 2015-09-07 2018-11-09 中国联合网络通信集团有限公司 Data transmission method, device and system
CN106445713A (en) * 2016-09-06 2017-02-22 深圳市广和通无线股份有限公司 Recovery method of communication module startup exception
CN108804463B (en) * 2017-05-03 2021-07-09 杭州海康威视数字技术股份有限公司 Data synchronization method and device of MySQL database and electronic equipment
CN107623829B (en) * 2017-08-30 2020-07-07 中国航空无线电电子研究所 File management method in video recording equipment
CN110871897B (en) * 2018-09-03 2023-09-19 昆山合朗航空科技有限公司 Unmanned aerial vehicle self-checking method and system
CN112702183A (en) * 2019-10-22 2021-04-23 中兴通讯股份有限公司 Method and device for controlling software version rollback of base station, base station and readable storage medium
CN113593291B (en) * 2021-07-04 2023-02-07 李雷 Intelligent parking space management system

Citations (4)

* Cited by examiner, † Cited by third party
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
CN1477505A (en) * 2002-08-24 2004-02-25 深圳市中兴通讯股份有限公司 Abnormal failure location method in embedded operationi system
JP2004107906A (en) * 2002-09-13 2004-04-08 Tokai Rika Co Ltd Locking/unlocking control device
CN1490722A (en) * 2003-09-19 2004-04-21 清华大学 Graded task switching method based on PowerPC processor structure

Patent Citations (4)

* Cited by examiner, † Cited by third party
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
CN1477505A (en) * 2002-08-24 2004-02-25 深圳市中兴通讯股份有限公司 Abnormal failure location method in embedded operationi system
JP2004107906A (en) * 2002-09-13 2004-04-08 Tokai Rika Co Ltd Locking/unlocking control device
CN1490722A (en) * 2003-09-19 2004-04-21 清华大学 Graded task switching method based on PowerPC processor structure

Also Published As

Publication number Publication date
CN1713139A (en) 2005-12-28

Similar Documents

Publication Publication Date Title
CN1311337C (en) Realization and maintainment for running mode of preventing apparatus
CN1190733C (en) Method and system for failure recovery for data management and application program
US20080168308A1 (en) Adjusting Sliding Window Parameters in Intelligent Event Archiving and Failure Analysis
US8793457B2 (en) Method and system for policy-based secure destruction of data
US20080168242A1 (en) Sliding Window Mechanism for Data Capture and Failure Analysis
CN101106480A (en) Configuration backup method, system and configuration file server and managed devices
US8966501B2 (en) Method and system for time-based correlation of events
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
CN105981332A (en) Broadcasting management information using fountain codes
JP2015535372A (en) Data log management in a multi-client architecture
CN112463492A (en) Method, system, equipment and medium for processing correctable errors of memory
EP2642388B1 (en) Standby system device, control method, and program thereof
CN101883026B (en) Method for maintaining data acquisition system
CN100372307C (en) Method for managing system log
CN101145983A (en) A self-diagnosis and self-discovery subsystem and method of network management system
CN1175351C (en) Automatic SOLARIS process protecting system
CN111176904A (en) Method, system, equipment and medium for data backup under private cloud architecture
CN106686035B (en) Method and device for realizing customized FTP server based on Apache FtpServer
CN100343816C (en) Method of restoring single board software edition
KR20140096519A (en) Apparatus, method and computer readable recording medium of monitoring and preventing a false operation for a system optimization function
CN1713143A (en) Compatibility upgrading method of embedded programm
CN115509803A (en) Software recovery method, electronic device and storage medium
CN1655138A (en) Computer restoration system and method with multiple restoring points
CN110597609A (en) Cluster migration and automatic recovery method and 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

Granted publication date: 20070418

Termination date: 20170624

CF01 Termination of patent right due to non-payment of annual fee