CN101141510A - Foreground veneer system incontrolled intelligent reset method - Google Patents

Foreground veneer system incontrolled intelligent reset method Download PDF

Info

Publication number
CN101141510A
CN101141510A CNA200710073521XA CN200710073521A CN101141510A CN 101141510 A CN101141510 A CN 101141510A CN A200710073521X A CNA200710073521X A CN A200710073521XA CN 200710073521 A CN200710073521 A CN 200710073521A CN 101141510 A CN101141510 A CN 101141510A
Authority
CN
China
Prior art keywords
communication
foreground
count value
reset
internal memory
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
CNA200710073521XA
Other languages
Chinese (zh)
Other versions
CN101141510B (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 CN200710073521XA priority Critical patent/CN101141510B/en
Publication of CN101141510A publication Critical patent/CN101141510A/en
Application granted granted Critical
Publication of CN101141510B publication Critical patent/CN101141510B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to an intelligent reset method after a foreground single board system is out of control, the method comprises the following procedures: A. a foreground system feeding-dog task monitors a system communication status on time; B. when the continuous time of the system communication outage reaching a preset threshold value is monitored, the statistical information of the communication of the section is written into a reserved internal memory, the system is reset later. The method can enable a single board to be restored quickly, and the reliability of a push-in type system is improved.

Description

Intelligent reset method behind a kind of incontroll of foreground veneer system
Technical field
The present invention relates to communication technique field, relate in particular in embedded system,, but under the out-of-control condition that can't reset, realize the method that veneer resets fast and recovers foreground veneer system respond services no longer.
Background technology
In embedded system, form with embedded hardware subsystem and embedded software subsystem basically.The embedded hardware subsystem usually shows as a hardware single board physically.Usually arrange, embedded system is the foreground, and the oam that matches with it is the backstage, and the backstage is PC or server normally.Be the important indicator of the stability of a system running time of embedded system, even but the defective in some problem of environment, the design also can appear in the high again embedded system of reliability in actual motion, and cause system out of hand.The controllability of system is a very important reliability index, how to control?
In present embedded system, general support hardware watchdog function, corresponding, software has also designed a software and has fed the dog function.Its using method is: after system gets up, hardware watchdog is set overflows the time (being generally a second level), and enable; Create software and feed the dog function, and regularly (its cycle be hardware watchdog overflow the time 1/3 to 1/2) feed Dongle.Complete when out of hand at software, then software is fed the dog disabler, and after hardware watchdog level second was overflowed, embedded system directly resetted.
But in actual conditions, still exist foreground veneer system not respond the application service (comprising the reset command service on backstage) on any foreground, backstage, the situation that foreground system itself also can't reset can affirm that it is that effectively other function then may lose efficacy that software is fed the dog function this moment.Want recovery system this moment, can only carry out manual reset to the foreground by the engineer.Because some professional system, such as telecommunication system, the region of distribution is more extensive, when system in remoter position, then arrive the system location, and the manual reset system, its recovery time is long, and needs to consume manpower and materials, cost is bigger.
Summary of the invention
Technical problem to be solved by this invention is: a kind of intelligent reset method is provided, and this method is in foreground veneer system respond services no longer, but under the out-of-control condition that can't reset, can make the fast quick-recovery of veneer.
The present invention solves the problems of the technologies described above the technical scheme that is adopted to be:
Intelligent reset method behind a kind of incontroll of foreground veneer system said method comprising the steps of:
A, foreground system feeding dog task periodic monitor system communication state;
B, when monitoring consecutive hours that system communication interrupts when reaching a predetermined threshold, the statistical information of this section communication is write reserves in the internal memory, afterwards resetting system.
Described method, wherein: described method also comprises step C: after system reset, read the communication statistical information in the described reservation internal memory, be used for the unusual of analytical system.
Described method, wherein: described steps A comprises following processing: foreground system feeding dog task after regularly feeding dog, the monitoring system communication state; Described step B comprises the steps:
B1, when monitoring system communication when obstructed, the count value of control counter is started from scratch and is added up according to certain value; When monitoring system communication just often, with described count value zero clearing;
B2, when described count value is added to described predetermined threshold, the statistical information of this section communication write reserves in the internal memory, afterwards, reseting interface resetting system of calling system.
Described method, wherein: when monitoring system communication when obstructed, count value is according to add 1 accumulative total at every turn; Described predetermined threshold is set to 10000.
Beneficial effect of the present invention is: adopt the inventive method, when foreground single board system respond services no longer, but under the out-of-control condition that can't reset, feed the function of dog program by increasing software, realized the intelligent reset of foreground system, make the fast quick-recovery of veneer, improved the reliability of embedded system.
Description of drawings
Fig. 1 is AM/BAM communication block diagram;
Fig. 2 is the inventive method flow chart.
Embodiment
With embodiment the present invention is described in further detail with reference to the accompanying drawings below:
The present invention can be used for embedded system after out of control fast quick-recovery.When no longer respond services of foreground veneer system occurring, but during the out-of-control condition that can't reset,, can affirm that it is that effectively other function then may lose efficacy that software is fed the dog function by analyzing.Therefore the inventive method is to be based upon on this analysis a kind of effective ways of this situation of fast processing.As shown in Figure 1, the 3G system is made up of a plurality of embedded systems, is the example explanation with one of them veneer here.WATCHDOG in this example is that its cycle is set at 1.6 seconds with the overtime generation hard reset module of the inner realization of CPU, uses software to feed the dog task and comes regularly to remove WATCHDOG, and software hello the dog cycle is set at 600ms.When wherein not response application service of a foreground (being assumed to foreground 1), it is still normal to be that communicating interrupt but software are fed the dog function, when foreground 1 is in the out-of-control condition that can't reset, the present invention adopts foreground intelligent reset method as shown in Figure 2, increase new function by feeding the dog task to foreground software, realize foreground self intelligent reset, make foreground 1 fast quick-recovery.Described method comprises the steps:
1, foreground system feeding dog task is after regularly feeding dog and removing WATCHDOG, the monitoring system communication state, and obtain the system communication state information;
2, the dog task is fed by system increases tally function, each monitoring is obtained the system communication state information judge, when judging that system communication interrupts when obstructed, the count value of control counter adds up according to certain value, for example count value is added 1; And when monitoring system communication just often, then with the count value zero clearing;
3, reach a period of time when the obstructed consecutive hours of system communication, be that count value adds up when reaching a predetermined threshold N (for example N=10000), the statistical information of during this period of time communication etc. write reserve in the internal memory, afterwards, reseting interface of calling system foreground system that resets; If count value adds up and do not reach predetermined threshold N, it is normal that system communication recovers, then with the count value zero clearing;
4, after system reset, read the communication statistical information of reserving in the internal memory, can be used for the unusual of analytical system.
Be understandable that, for those of ordinary skills, can be equal to replacement or change according to technical scheme of the present invention and inventive concept thereof, and all these changes or replacement all should belong to the protection range of the appended claim of the present invention.

Claims (4)

1. the intelligent reset method behind the incontroll of foreground veneer system said method comprising the steps of:
A, foreground system feeding dog task periodic monitor system communication state;
B, when monitoring consecutive hours that system communication interrupts when reaching a predetermined threshold,
The statistical information of this section communication writes to be reserved in the internal memory, afterwards resetting system.
2. method according to claim 1 is characterized in that: described method also comprises step C: after system reset, read the communication statistical information in the described reservation internal memory, be used for the unusual of analytical system.
3. method according to claim 1 and 2 is characterized in that: described steps A comprises following processing: foreground system feeding dog task after regularly feeding dog, the monitoring system communication state; Described step B comprises the steps:
B1, when monitoring system communication when obstructed, the count value of control counter adds up according to certain value; When monitoring system communication just often, with described count value zero clearing;
B2, when described count value is added to described predetermined threshold, the statistical information of this section communication write reserves in the internal memory, afterwards, reseting interface resetting system of calling system.
4. method according to claim 3 is characterized in that: when monitoring system communication when obstructed, count value is according to add 1 accumulative total at every turn; Described predetermined threshold is set to 10000.
CN200710073521XA 2007-03-12 2007-03-12 Intelligent reset method after foreground veneer system out of control Expired - Fee Related CN101141510B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710073521XA CN101141510B (en) 2007-03-12 2007-03-12 Intelligent reset method after foreground veneer system out of control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710073521XA CN101141510B (en) 2007-03-12 2007-03-12 Intelligent reset method after foreground veneer system out of control

Publications (2)

Publication Number Publication Date
CN101141510A true CN101141510A (en) 2008-03-12
CN101141510B CN101141510B (en) 2011-05-25

Family

ID=39193244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710073521XA Expired - Fee Related CN101141510B (en) 2007-03-12 2007-03-12 Intelligent reset method after foreground veneer system out of control

Country Status (1)

Country Link
CN (1) CN101141510B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937371A (en) * 2010-08-27 2011-01-05 北京星网锐捷网络技术有限公司 Method and device for monitoring task execution state in embedded system
CN107786809A (en) * 2016-08-26 2018-03-09 佳能株式会社 Shooting and fittings equipment and its communication control method, camera system and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100395722C (en) * 2003-12-24 2008-06-18 华为技术有限公司 Method for preserving abnormal state information of control system
CN1716212B (en) * 2004-06-29 2010-04-28 联想(北京)有限公司 System and method for recovery from disaster

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937371A (en) * 2010-08-27 2011-01-05 北京星网锐捷网络技术有限公司 Method and device for monitoring task execution state in embedded system
CN107786809A (en) * 2016-08-26 2018-03-09 佳能株式会社 Shooting and fittings equipment and its communication control method, camera system and storage medium
US10599015B2 (en) 2016-08-26 2020-03-24 Canon Kabushiki Kaisha Image-capturing apparatus, accessory apparatus and communication control method therefor
CN107786809B (en) * 2016-08-26 2020-07-31 佳能株式会社 Image pickup and accessory apparatus, communication control method thereof, image pickup system, and storage medium

Also Published As

Publication number Publication date
CN101141510B (en) 2011-05-25

Similar Documents

Publication Publication Date Title
Garg et al. Analysis of preventive maintenance in transactions based software systems
CN102981931B (en) Backup method and device for virtual machine
US5652893A (en) Switching hub intelligent power management
CN101996106B (en) Method for monitoring software running state
CN100388216C (en) Apparatus, system, and method for adjusting trace data granularity
CN100359481C (en) Abnormal monitoring equipment and method for multi-task system
EP2324406B1 (en) Method and apparatus for monitoring the performance of a power delivery control system
US7882313B2 (en) Data recording system
US20080263128A1 (en) Information Processing System and Information Processing Device
CN102043689B (en) Fault tolerance design method for solid-state memory device
CN111966449B (en) Virtual machine backup management method, system, terminal and storage medium
CN103902437A (en) Detecting method and server
CN101883003A (en) Mandatory running method of computer operating system
CN101436146B (en) Method and system for dynamically regulating priority of remote device management progress
CN104782082A (en) New approach for controller area network bus off handling
CN109857239B (en) Storage control method and device
CN106326061A (en) High-speed cache data processing method and equipment
CN101964724A (en) Energy conservation method of communication single plate and communication single plate
CN103414739B (en) Use Cloud Server automatic monitored control system and the method for automatic drift
CN101141510B (en) Intelligent reset method after foreground veneer system out of control
CN103309843B (en) The collocation method of server and system
CN104516478A (en) Throttling device power
US20070294600A1 (en) Method of detecting heartbeats and device thereof
CN103338240B (en) The Cloud Server automatic monitored control system of monitoring automatic drift and method
CN103297264A (en) Cloud platform failure 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110525

Termination date: 20180312