CN101211281A - Fault automatic recovery system and method - Google Patents
Fault automatic recovery system and method Download PDFInfo
- Publication number
- CN101211281A CN101211281A CNA2006101323975A CN200610132397A CN101211281A CN 101211281 A CN101211281 A CN 101211281A CN A2006101323975 A CNA2006101323975 A CN A2006101323975A CN 200610132397 A CN200610132397 A CN 200610132397A CN 101211281 A CN101211281 A CN 101211281A
- Authority
- CN
- China
- Prior art keywords
- external module
- driver
- application software
- recovery system
- automatic recovery
- 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
- Position Fixing By Use Of Radio Waves (AREA)
- Retry When Errors Occur (AREA)
Abstract
The invention discloses a fault automatic recovery system and a method thereof, which are suitable to an electronic device. The system at least comprises an external module, application software and a device driver. An application program is used for receiving the data transferred by the external module; the device driver is positioned between the external module and the application software and is used for initializing the external module and monitoring the data transferring status of the external module. The external module does not send the data when being detected over a preset time, the device driver restarts the external module.
Description
Technical field
The present invention is for providing a kind of fault automatic recovery system, particularly a kind of automatic recovery system of the external module that resets automatically.
Background technology
Application software and external module are in the process of data transmission in the known electronic; usually see through a driver as each other bridge; but when external device (ED) unusual phenomenon occurs in the process of running; upper application software just can't normally be used relevant function; usually to wait until after a period of time; the user finds the unusual of application software and restarting systems or external module; could recover; for example; in global position system; when satellite positioning module takes place can't send data unusually; navigation software just can't carry out navigation action, and must wait until the user to find the unusual of navigation software and restarting systems could be recovered normally, and such action can empty the interior almanac data of internal memory usually simultaneously; and need to wait for long positioning time after causing starting shooting again, cause user's inconvenience.
Therefore, for solving the above-mentioned problem that proposes, the inventor is based on going in for the study for many years and many practical experience, through research and design and special topic are inquired in many ways, then a kind of fault automatic recovery system and method are proposed, with as aforementioned expectation one implementation and foundation in the present invention.
Summary of the invention
Because above-mentioned problem, purpose of the present invention is for providing a kind of fault automatic recovery system, particularly a kind of data transmission state that sees through driver monitoring external module, when external module hinders and when stopping to send data for some reason, the automatic recovery system of the external module that can reset automatically.
For reaching above-mentioned purpose, according to fault automatic recovery system of the present invention, be applicable to an electronic installation, it comprises an external module, an application software and a driver at least.Application program is to receive the data that external module transmitted, driver is between external module and application software, in order to the initialization external module, and the state of monitoring external module transmission data, when external module does not send data above a Preset Time, be to restart external module.
From the above, because of complying with fault automatic recovery system of the present invention and method, see through the data stream that driver monitoring external module sends data to application software, when surpassing a Preset Time and all not receiving data from external module, just the state of judging external module is undesired, initiatively it is restarted, effective elevator system fiduciary level, externally module takes place can recover automatically when unusual, and what driver restarted is the firmware of external module inside, but not restart fully, thoroughly emptying the data in the internal memory, the system that makes can resume operation in the shortest time.
Description of drawings
Fig. 1 is the calcspar that shows fault automatic recovery system of the present invention.
Fig. 2 is the calcspar that shows the preferred embodiment of fault automatic recovery system of the present invention.
Fig. 3 is the flow chart of steps that shows automatically restoring fault method of the present invention.
Fig. 4 is the flow chart of steps that shows the preferred embodiment of automatically restoring fault method of the present invention.
Embodiment
Hereinafter with reference to correlative type, fault automatic recovery system and method according to preferred embodiment of the present invention are described, wherein identical assembly will be illustrated with identical reference marks.
Seeing also Fig. 1, is the calcspar that shows fault automatic recovery system of the present invention, is applicable to an electronic installation, and it comprises an external module 11, an application software 13 and a driver 12 at least.Application program 13 is to receive the data 14 that external module 11 is transmitted, driver 12 is between external module 11 and application software 13, in order to initialization external module 11, and the state of monitoring external module 11 transmission data, when external module 11 does not send data above a Preset Time, be to restart external module 11.
Wherein, the said external module is preferably a satellite positioning module, and above-mentioned application software is preferably a navigation software, and above-mentioned driver is preferably a serial driver, above-mentioned driver is to see through the firmware of initial external module again, to restart external module.
See also Fig. 2, it is the calcspar that shows the preferred embodiment of fault automatic recovery system of the present invention, as shown, because driven in series program 22 is positioned at the middle layer, can monitor the satellite location data 24 that comes up by satellite positioning module 21 transmission, after satellite positioning module 21 initialization are finished, can initiatively and lose satellite location data 24 continuously and give the upper strata, so, the data stream situation that transmits at driven in series program 22 observe satellites locating modules 21, whether state that just can judge module is normal.Under satellite positioning module 21 situation working properly, be expected in cycle regular time and can receive relative data volume at least, even do not having under the enough satellite signals intensity, satellite positioning module 21 still can transmit related data, therefore, if interior driven in series program 22 of a period of time is not all received the data from satellite positioning module 21 continuously, just it is undesired to look its state, then initiatively with its Reset, the Reset here, it is again the firmware of initial satellite positioning module 21 inside, and unlike Factory Reset, can thoroughly empty the internal storage data, and make satellite almanac data also deleted, thus, can in the shortest time, allow satellite positioning module 21 can recover again and locate and finish, make and reduce to minimum for the influence of upper strata navigation software 23.
Seeing also Fig. 3, is the flow chart of steps that shows automatically restoring fault method of the present invention, and its step is as back:
Step S31 a: application software is provided;
Step S32: see through a driver initialization one external module, driver is between application software and external module;
Step S33: see through application software and receive the data that external module transmitted; And
Step S34: seeing through the state of driver monitoring external module transmission data, when external module does not send data above a Preset Time, is to restart external module.
Wherein, the said external module is preferably a satellite positioning module, and above-mentioned application software is preferably a navigation software, and above-mentioned driver is preferably a serial driver, above-mentioned driver is to see through the firmware of initial external module again, to restart external module.
Seeing also Fig. 4, is the flow chart of steps that shows the preferred embodiment of automatically restoring fault method of the present invention, and its step is as back:
Step S41: initial navigation software;
Step S42: open COM port;
Step S43: driven in series program initialization satellite positioning module;
Step S44: whether the monitoring satellite positioning module surpasses a Preset Time does not send data, if execution in step S45 if not, then continues monitoring; And
Step S45: the firmware of initial again satellite positioning module.
Claims (10)
1. a fault automatic recovery system is applicable to an electronic installation, it is characterized in that: comprise at least
One external module;
One application software is to receive the data that this external module transmitted;
One driver is between this external module and this application software, in order to this external module of initialization, and monitors the state that this external module transmits data, when this external module does not send data above a Preset Time, is to restart this external module.
2. fault automatic recovery system according to claim 1 is characterized in that: this external module is to be a satellite positioning module.
3. fault automatic recovery system according to claim 1 is characterized in that: this application software is to be a navigation software.
4. fault automatic recovery system according to claim 1 is characterized in that: this driver is to be the driven in series program.
5. fault automatic recovery system according to claim 1 is characterized in that: this driver is to see through the firmware of initial this external module again, to restart this external module.
6. an automatically restoring fault method is applicable to an electronic installation, it is characterized in that: comprise at least
One application software is provided;
See through a driver initialization one external module, this driver is between this application software and this external module;
See through this application software and receive the data that this external module transmits;
Seeing through this driver and monitor the state of these external module transmission data, when this external module does not send data above a Preset Time, is to restart this external module.
7. automatically restoring fault method according to claim 6 is characterized in that: this external module is to be a satellite positioning module.
8. automatically restoring fault method according to claim 6 is characterized in that: this application software is to be a navigation software.
9. automatically restoring fault method according to claim 6 is characterized in that: this driver is to be the driven in series program.
10. automatically restoring fault method according to claim 6 is characterized in that: this driver is to see through the firmware of initial this external module again, to restart this external module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200610132397A CN101211281B (en) | 2006-12-29 | 2006-12-29 | Fault automatic recovery system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200610132397A CN101211281B (en) | 2006-12-29 | 2006-12-29 | Fault automatic recovery system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101211281A true CN101211281A (en) | 2008-07-02 |
CN101211281B CN101211281B (en) | 2012-10-10 |
Family
ID=39611329
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200610132397A Expired - Fee Related CN101211281B (en) | 2006-12-29 | 2006-12-29 | Fault automatic recovery system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101211281B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102209341A (en) * | 2011-06-17 | 2011-10-05 | 中兴通讯股份有限公司 | Method and device for detecting fault of base station |
CN104573487A (en) * | 2014-09-10 | 2015-04-29 | 中电科技(北京)有限公司 | UEFI (Unified Extensible Firmware Interface)-based terminal real-time positioning system and UEFI-based terminal real-time positioning method |
CN106101784A (en) * | 2016-05-31 | 2016-11-09 | 青岛海信电器股份有限公司 | A kind of intelligent television controls repositioning method and the device of Bluetooth chip |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5371742A (en) * | 1992-08-12 | 1994-12-06 | At&T Corp. | Table driven fault recovery system with redundancy and priority handling |
CN1415502A (en) * | 2001-10-29 | 2003-05-07 | 上海贝尔有限公司 | Carried global positioning and communicating system |
CN2783447Y (en) * | 2004-09-27 | 2006-05-24 | 彭扬名 | GPS terminal |
-
2006
- 2006-12-29 CN CN200610132397A patent/CN101211281B/en not_active Expired - Fee Related
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102209341A (en) * | 2011-06-17 | 2011-10-05 | 中兴通讯股份有限公司 | Method and device for detecting fault of base station |
CN102209341B (en) * | 2011-06-17 | 2018-03-27 | 中兴通讯股份有限公司 | A kind of base station fault detection method and device |
CN104573487A (en) * | 2014-09-10 | 2015-04-29 | 中电科技(北京)有限公司 | UEFI (Unified Extensible Firmware Interface)-based terminal real-time positioning system and UEFI-based terminal real-time positioning method |
CN104573487B (en) * | 2014-09-10 | 2017-08-01 | 中电科技(北京)有限公司 | A kind of terminal real-time positioning system and method based on UEFI |
CN106101784A (en) * | 2016-05-31 | 2016-11-09 | 青岛海信电器股份有限公司 | A kind of intelligent television controls repositioning method and the device of Bluetooth chip |
CN106101784B (en) * | 2016-05-31 | 2019-05-21 | 青岛海信电器股份有限公司 | A kind of repositioning method and device of smart television control Bluetooth chip |
Also Published As
Publication number | Publication date |
---|---|
CN101211281B (en) | 2012-10-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10591884B2 (en) | Controller and control program updating method | |
CN104583967B (en) | Construction Machines controller | |
US20120079260A1 (en) | Basic input-output system circuit and method for using the same | |
JP4247233B2 (en) | Backup method for vehicle data | |
EP1780638B1 (en) | Separate-type signal processing apparatus and software version updating method therefor | |
CN101556547B (en) | Safe method and system used for remotely upgrading embedded Linux kernel | |
CN101211281B (en) | Fault automatic recovery system and method | |
JP6873092B2 (en) | Parking lock controller | |
CN109857426A (en) | Bootloader method for updating program, device, electronic equipment and storage medium | |
US6694483B1 (en) | System for backing up vehicle use data locally on a construction vehicle | |
CN101631324A (en) | Mobile terminal fault diagnosis and repair method and mobile terminal thereof | |
JP2006316638A (en) | Main relay failure diagnosing method and electronic control device | |
US7054728B2 (en) | Rewrite control apparatus for onboard program | |
CN102662785A (en) | Method and device for acquiring kernel error messages of Android system | |
JP6838222B2 (en) | Vehicle control device and vehicle system | |
CN109194744B (en) | Data transmission method and device, storage medium and monitoring equipment | |
US20180232224A1 (en) | Controller and control program updating method | |
CN101207519A (en) | Version server, operation maintenance unit and method for restoring failure | |
CN102073508A (en) | Method and apparatus for upgrading terminals and software thereof | |
US11385971B2 (en) | Electronic apparatus, system and method capable of remotely maintaining the operation of electronic apparatus | |
JP2007206827A (en) | Electronic control unit, and method for generating program for controlling on-vehicle device | |
CN102780578A (en) | Updating system and updating method for operating system for network equipment | |
JP2013254379A (en) | Information communication device and operation log storage method when the device hangs up | |
CN110418027B (en) | Control method for falling protection of scanning device and scanning device | |
JP2007316800A (en) | Onboard program rewriting controller |
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20121010 Termination date: 20131229 |