[go: up one dir, main page]

CN101211281B - Fault automatic recovery system and method - Google Patents

Fault automatic recovery system and method Download PDF

Info

Publication number
CN101211281B
CN101211281B CN200610132397A CN200610132397A CN101211281B CN 101211281 B CN101211281 B CN 101211281B CN 200610132397 A CN200610132397 A CN 200610132397A CN 200610132397 A CN200610132397 A CN 200610132397A CN 101211281 B CN101211281 B CN 101211281B
Authority
CN
China
Prior art keywords
module
external module
driver
application software
external
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
CN200610132397A
Other languages
Chinese (zh)
Other versions
CN101211281A (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.)
Shunda Computer Factory Co Ltd
Mitac International Corp
Original Assignee
Shunda Computer Factory Co Ltd
Mitac International 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 Shunda Computer Factory Co Ltd, Mitac International Corp filed Critical Shunda Computer Factory Co Ltd
Priority to CN200610132397A priority Critical patent/CN101211281B/en
Publication of CN101211281A publication Critical patent/CN101211281A/en
Application granted granted Critical
Publication of CN101211281B publication Critical patent/CN101211281B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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 adevice 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 i s 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

Fault automatic recovery system and method
Technical field
The present invention is for a kind of fault automatic recovery system being provided, particularly a kind of automatic recovery system of the external module that resets automatically.
Background technology
Application software and external module be in the process of data transmission in the known electronic, sees through a driver usually as each other bridge, but when the unusual phenomenon of external device (ED) appearance in the process of running; Upper application software just can't normally be used relevant function, will wait until usually after a period of time, and 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 and many practical experience, through research and design and special topic are inquired in many ways for many years; 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; The object of the 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 stopping to send data when the external module failover, 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 module and a driver module at least.Application program module 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.
Hold the above,, see through the data stream that driver monitoring external module sends data to application software because of according to fault automatic recovery system of the present invention and method; When surpassing a Preset Time and all not receiving the data from external module, judge that just the state of external module is undesired, initiatively it is restarted; Effective elevator system fiduciary level; Externally module takes place can recover automatically when unusual, and driver restarts is the inner firmware of external module, but not restarts fully; Thoroughly empty 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
Below will fault automatic recovery system and method according to preferred embodiment of the present invention be described with reference to correlative type, wherein identical assembly will be explained 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 module 13 and a driver module 12 at least.Application program module 13 is to receive the data 14 that external module 11 is transmitted; Driver module 12 is between external module 11 and application software module 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; Above-mentioned application software module is preferably a navigation software module; Above-mentioned driver module is preferably a serial driver module, and above-mentioned driver module is to see through the firmware of initial external module again, to restart external module.
Seeing also Fig. 2, is the calcspar that shows the preferred embodiment of fault automatic recovery system of the present invention, like diagram; 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 accomplished; 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 in proper working order, 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, and the Reset here; The firmware of just initial again satellite positioning module 21 inside; And equally can thoroughly empty the internal storage data unlike Factory Reset, and make satellite almanac data also deleted, thus; Can in the shortest time, let satellite positioning module 21 can recover and locate completion again, 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 is not sent 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 module is to receive the data that this external module transmitted;
One driver module; Be between this external module and this application software module,, and monitor the state that this external module transmits data in order to this external module of initialization; When this external module does not send data above a Preset Time, be 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 module is to be a navigation software module.
4. fault automatic recovery system according to claim 1 is characterized in that: this driver module is to be the driven in series program module.
5. fault automatic recovery system according to claim 1 is characterized in that: this driver module 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 transmitted;
Seeing through the state of these external module transmission data of this driver monitoring, 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.
CN200610132397A 2006-12-29 2006-12-29 Fault automatic recovery system and method Expired - Fee Related CN101211281B (en)

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 CN101211281A (en) 2008-07-02
CN101211281B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209341B (en) * 2011-06-17 2018-03-27 中兴通讯股份有限公司 A kind of base station fault detection method and device
CN104573487B (en) * 2014-09-10 2017-08-01 中电科技(北京)有限公司 A kind of terminal real-time positioning system and method based on UEFI
CN106101784B (en) * 2016-05-31 2019-05-21 青岛海信电器股份有限公司 A kind of repositioning method and device of smart television control Bluetooth chip
CN114253763B (en) * 2020-09-21 2025-07-08 昆达电脑科技(昆山)有限公司 Storage device and control system thereof

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN101211281A (en) 2008-07-02

Similar Documents

Publication Publication Date Title
CN101211281B (en) Fault automatic recovery system and method
US10591884B2 (en) Controller and control program updating method
CN109857426A (en) Bootloader method for updating program, device, electronic equipment and storage medium
KR101331935B1 (en) Method and system of fault diagnosis and repair using based-on tracepoint
JP6873092B2 (en) Parking lock controller
CN103428333A (en) Mobile terminal, server and error restoration method
CN102163152A (en) Software upgrading method and device thereof for embedded terminal device
CN109194744B (en) Data transmission method and device, storage medium and monitoring equipment
CN102081539A (en) Reliable software upgrade method for dual-mode terminal
JP4247233B2 (en) Backup method for vehicle data
US20180232224A1 (en) Controller and control program updating method
CN110688136B (en) Application program updating method and device
US11385971B2 (en) Electronic apparatus, system and method capable of remotely maintaining the operation of electronic apparatus
CN102780578A (en) Updating system and updating method for operating system for network equipment
JP2012159988A (en) Node
JP6279152B1 (en) Control device, control system, and control device return processing method
CN101114935A (en) System upgrade method, upgrade system and monitoring entity
CN109347907A (en) Installation kit method for down loading and device
US20070214380A1 (en) Monitoring writes to cache as part of system error handling
JP2009215001A (en) Remote updating system of elevator control program
JP2011186588A (en) Printer device, server device, and update system
CN110381196B (en) Control method for falling protection of mobile device and mobile device
JP2007316800A (en) Onboard program rewriting controller
JP2006338225A (en) Automatic installation method of computer
CN104459729B (en) System and method for achieving Bluetooth abnormity detection and recovery in GNSS receiver

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