CN1529239A - Fault-tolerant processing method for embedding device file system - Google Patents

Fault-tolerant processing method for embedding device file system Download PDF

Info

Publication number
CN1529239A
CN1529239A CNA03134979XA CN03134979A CN1529239A CN 1529239 A CN1529239 A CN 1529239A CN A03134979X A CNA03134979X A CN A03134979XA CN 03134979 A CN03134979 A CN 03134979A CN 1529239 A CN1529239 A CN 1529239A
Authority
CN
China
Prior art keywords
starting
software
control software
boot partition
data
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
CNA03134979XA
Other languages
Chinese (zh)
Other versions
CN1328662C (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 CNB03134979XA priority Critical patent/CN1328662C/en
Publication of CN1529239A publication Critical patent/CN1529239A/en
Application granted granted Critical
Publication of CN1328662C publication Critical patent/CN1328662C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The method includes following workflow: (1) in procedure of system installation, dividing storage medium into starting up area and working area; (2) in starting up procedure of system power up, operation system in the starting up area gives the control to system starting up control software in starting up area; (3) the starting up control software whether file system in working area is in normal, if no system abnormity is found, then processing goes to fifth step; (4) the starting up control software loads software and data saved in starting up area to memory to run, maintenance personnel rebuilds working area of system through remote maintenance center, then processing goes to second step to run restarting up procedure; (5) the starting up control software calls software and data in working area to system to run. The invention provides capability for remote maintaining malfunctions of devices so as to save maintenance cost, lowering repair time and raising device availability.

Description

The fault-tolerance processing method of files in embedded equipment system
Technical field
The present invention relates to embedded computer system, relate in particular to the system handles method after mistake appears in the system of file in the embedded computer.
Background technology
At present, computer technology has obtained increasingly extensive application, comprises that the computer system of multi-purpose computer and embedded computer has been penetrated among industry-by-industry and the field, is bringing into play indispensable effect.Fast development of computer technology depends on the continuous growth of people for calculating and communication requirement, and constantly enriching of desired content then stimulating improvement of computer science.The embedded computer system of widespread use in industrial circle and communication field constantly obtains development too under the promotion of user's request.Adopt exterior storage medium (for example hard disk or flash memory) to carry out in the embedded computer system of data storage at needs, generally adopted the file management system of the embedded OS or the general-purpose operating system to come saved system to move needed program and data.For example, DOS (Disk Operation System, disc operating system (DOS)) adopted the mode of FAT (File Allocation Table, file allocation table) to carry out the management of file, the VxWorks operating system system generally also adopts FAT to carry out file management.And in actual moving process, file management system tends to occur the mistake that can not estimate: for example, when equipment during to outside memory write data, the just loss of data in write operation will appear in the unexpected unexpected power down of system.And the generic-document management system all has an independent disk zone to carry out the storage and the index (for example table of the FAT in the DOS file system) of file key message, if thereby the data field that a key is being write by system system's power down the time causes loss of data and confusion, just may cause the data corruption in the whole file system, system can't normally start, under these circumstances, prior art can't be carried out system's reparation by the mode of remote maintenance, must there be the maintainer to handle to device context, not only loaded down with trivial details, and maintenance cost is higher.
Summary of the invention
The objective of the invention is to overcome and to recover automatically after the computer file system that exists in the prior art is made mistakes, must safeguard or the shortcoming of exchange device more to on-the-spot by the maintainer, in the hope of propose a kind of need not field maintemance, the remote auto repair system, thereby effectively reduce maintenance cost and strengthen ageing fault-tolerance processing method.
For achieving the above object, the present invention proposes the fault-tolerance processing method of a kind of files in embedded equipment system, it is characterized in that, may further comprise the steps:
The first step: in system's installation process, storage medium is divided into boot partition and work subregion; In boot partition, preserve software and configuration data, the system start-up Control Software etc. of necessity that the basic actuating section, computing machine of operating system can get in touch with the remote maintenance center;
Second step: in the system power-up start-up course, the operating system in the boot partition is given the Control Software of the system start-up in the boot partition with control;
The 3rd step: whether the file system in the start-up control software judgment task subregion is normal, and whether last system start-up is normal, if find system exception, changes for the 4th step; Otherwise changeed for the 5th step;
The 4th step: start-up control software is with can moving with software and the data graftabl that the remote maintenance center communicates of preserving in the boot partition, after the maintainer repairs the work subregion of system by the remote maintenance center, changeed for second step and restart operation;
The 5th step: will work software in the subregion and data of start-up control software are called in the system and are moved the system starting process normal termination.
Adopt the method for the invention by the storage medium in the embedded computer system being provided with independently a boot partition and an one or more work subregion, and under different condition, carry out different data processing.Compared with prior art, reached equipment has been carried out remote maintenance effect after the fault, saved maintainer and maintenance cost, reduced equipment failure repair time, improved equipment availability.
Description of drawings
Fig. 1 is that the pairing system of the present invention installs and the start-up course process flow diagram.
Embodiment
Below in conjunction with accompanying drawing is logical technical scheme of the present invention is described in further detail:
The present invention relates generally to a large amount of employing embedded computers, to reliability requirement very high the communications field in file system system handles method after the mistake appears.It is communication facilities (the following general designation embedded computer system that can carry out the embedded computer of remote maintenance management or adopt embedded computer system, the abbreviation system) the embedded type file management system that is adopted in occurs after the mistake, long-range method of carrying out system recovery.
As shown in Figure 1, the method for the invention is provided with independently a boot partition and an one or more work subregion with the storage medium in the embedded computer system.Each subregion adopts independently file system, and the mistake that the file system of a subregion occurs can not influence the file system of another subregion.In boot partition, preserve cover start-up control software and system and can normally start also and can get in touch necessary software and data with remote maintenance equipment.This a part of software and data can not rewritten in the whole life cycle of system, thereby can not cause file system to be destroyed; Software and data that system needs to change in operational process then are kept at the work subregion.After operating system started from boot partition, control was given start-up control software; Whether start-up control software is normal by the file system in certain algorithm judgment task subregion; If normal, will work software in the subregion and data of system are called in internal memory and are moved; If undesired, then the standby software preserved in the boot partition and data are called in the internal memory operation, by cooperate software in the subregion of will working and data to repair with the remote maintenance center after, change normal operation again over to.
Adopt a specific embodiment that the method for the invention is described in further detail below, suppose to adopt the main control veneer of base station system, veneer adopts CF (Compact Flash, standard flash memory) card has adopted VxWorks operating system, DOS file system to come management software and data as permanent storage media.
In this example, at first the CF card is divided 2 subregions, one of them is as boot partition, and another is as the work subregion.In the subregion registration form of system, the system that is provided with starts dos operating system from boot partition.Dos operating system has been installed in boot partition, will have been called in the system start-up Control Software after the dos operating system startup is finished.Because base station system is passed through at ATM (Asynchronous Transfer Mode, asynchronous transfer mode) (a kind of protocol name by ATM delivery network packet) mode of the IPOA on and remote operation maintaining center communicate, and base station system must be able to dispose the IPOA link data identical with remote system.In the present embodiment, just the software of system is kept in the boot partition with this a part of configuration data relevant with IPOA; Needed all data of normal operation have then been preserved in the work subregion.
Second step, system's electrifying startup.Through the setting of the above-mentioned first step, system will call in dos operating system and system start-up control program automatically from boot partition, and the system start-up progress sign of preserving in the hard disk is set to start beginning.
In the 3rd step, whether the file system in the start-up control software judgment task subregion is normal, and by once whether start-up course normal in the system start-up progress sign judgement of preserving in hard disk.After normal startup was finished, this sign should be " startup is finished " state.If find abnormal situation, just entered for the 4th step to change maintenance operation over to.If all are normal, then changed for the 5th step over to.
The 4th step, the start-up control program is found preceding one-shot failure by judging, just software in the boot partition and IPOA relevant configuration data are written into operation, system configuration is finished after the IPOA path, the remote maintenance center just can connect the base station by IPOA, with work in the subregion software and after data repair, restart once more.
In the 5th step, program and data that the start-up control program will be worked in the subregion are called in operation, system's operate as normal.

Claims (3)

1, the fault-tolerance processing method of a kind of files in embedded equipment system is characterized in that, may further comprise the steps:
The first step: in system's installation process, storage medium is divided into boot partition and work subregion;
Second step: in the system power-up start-up course, the operating system in the boot partition is given the Control Software of the system start-up in the boot partition with control;
The 3rd step: whether the file system in the start-up control software judgment task subregion is normal, and whether last system start-up is normal, if find system exception, changes for the 4th step; Otherwise changeed for the 5th step;
The 4th step: start-up control software is with can moving with software and the data graftabl that the remote maintenance center communicates of preserving in the boot partition, after the maintainer repairs the work subregion of system by the remote maintenance center, changeed for second step and restart operation;
The 5th step: will work software in the subregion and data of start-up control software are called in the system and are moved the system starting process normal termination.
2, the fault-tolerance processing method of files in embedded equipment as claimed in claim 1 system, it is characterized in that, in boot partition, preserve the software of necessity that the basic actuating section, computing machine of operating system can get in touch with the remote maintenance center and configuration data, system start-up Control Software.
3, the fault-tolerance processing method of files in embedded equipment as claimed in claim 1 system is characterized in that employed operating system is dos operating system in the boot partition.
CNB03134979XA 2003-09-28 2003-09-28 Fault-tolerant processing method for embedding device file system Expired - Fee Related CN1328662C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB03134979XA CN1328662C (en) 2003-09-28 2003-09-28 Fault-tolerant processing method for embedding device file system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB03134979XA CN1328662C (en) 2003-09-28 2003-09-28 Fault-tolerant processing method for embedding device file system

Publications (2)

Publication Number Publication Date
CN1529239A true CN1529239A (en) 2004-09-15
CN1328662C CN1328662C (en) 2007-07-25

Family

ID=34286242

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB03134979XA Expired - Fee Related CN1328662C (en) 2003-09-28 2003-09-28 Fault-tolerant processing method for embedding device file system

Country Status (1)

Country Link
CN (1) CN1328662C (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100377118C (en) * 2006-03-16 2008-03-26 浙江大学 Built-in file system realization based on SRAM
CN100405315C (en) * 2006-08-09 2008-07-23 北京中星微电子有限公司 Method for verifying embedded file system reliability
CN100461120C (en) * 2006-05-16 2009-02-11 中兴通讯股份有限公司 Method for managing field data-protection memory
CN101673211A (en) * 2009-10-19 2010-03-17 中兴通讯股份有限公司 Embedded equipment and starting method thereof
CN102567144A (en) * 2011-12-23 2012-07-11 湖南省耐为数控技术有限公司 Automatic verification and automatic repair method of control software of numerical control system
CN103135941A (en) * 2013-01-11 2013-06-05 深圳市江波龙电子有限公司 Managing method of embedded memorizers, embedded memorizer and electronic device
CN104657236A (en) * 2015-03-11 2015-05-27 深圳市新岸通讯技术有限公司 Embedded Linux file system based on 32-bit MCU (microprogrammable control unit) and operating method thereof
CN104796454A (en) * 2014-01-22 2015-07-22 福特环球技术公司 Vehicle-specific computation management system for cloud computing
CN109522155A (en) * 2018-10-29 2019-03-26 中国科学院长春光学精密机械与物理研究所 Space application embedded software self-repairing system based on switching at runtime

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1177810A (en) * 1996-03-04 1998-04-01 日本电气株式会社 Partitioned hard-disk driver and partition method for hard-disk driver
US6247126B1 (en) * 1999-01-25 2001-06-12 Dell Usa, L.P. Recoverable software installation process and apparatus for a computer system
JP2000267818A (en) * 1999-03-18 2000-09-29 Matsushita Electric Ind Co Ltd Method for realizing partition by removable device
US6490722B1 (en) * 1999-03-30 2002-12-03 Tivo Inc. Software installation and recovery system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100377118C (en) * 2006-03-16 2008-03-26 浙江大学 Built-in file system realization based on SRAM
CN100461120C (en) * 2006-05-16 2009-02-11 中兴通讯股份有限公司 Method for managing field data-protection memory
CN100405315C (en) * 2006-08-09 2008-07-23 北京中星微电子有限公司 Method for verifying embedded file system reliability
CN101673211A (en) * 2009-10-19 2010-03-17 中兴通讯股份有限公司 Embedded equipment and starting method thereof
CN101673211B (en) * 2009-10-19 2014-07-16 中兴通讯股份有限公司 Embedded equipment and starting method thereof
CN102567144A (en) * 2011-12-23 2012-07-11 湖南省耐为数控技术有限公司 Automatic verification and automatic repair method of control software of numerical control system
CN103135941A (en) * 2013-01-11 2013-06-05 深圳市江波龙电子有限公司 Managing method of embedded memorizers, embedded memorizer and electronic device
CN104796454A (en) * 2014-01-22 2015-07-22 福特环球技术公司 Vehicle-specific computation management system for cloud computing
CN104657236A (en) * 2015-03-11 2015-05-27 深圳市新岸通讯技术有限公司 Embedded Linux file system based on 32-bit MCU (microprogrammable control unit) and operating method thereof
CN109522155A (en) * 2018-10-29 2019-03-26 中国科学院长春光学精密机械与物理研究所 Space application embedded software self-repairing system based on switching at runtime

Also Published As

Publication number Publication date
CN1328662C (en) 2007-07-25

Similar Documents

Publication Publication Date Title
CN103345470B (en) A kind of database disaster recovery method, system and server
KR0176272B1 (en) Updating and restoration method of system file
US7043504B1 (en) System and method for parallel primary and secondary backup reading in recovery of multiple shared database data sets
US7865772B2 (en) Management device and management method
US7281104B1 (en) System and method for online data migration
CN100517246C (en) Computer remote control method and system
US6594676B1 (en) System and method for recovery of multiple shared database data sets using multiple change accumulation data sets as inputs
CN100527081C (en) Computer processing system for implementing data update and data updating method
CN1529239A (en) Fault-tolerant processing method for embedding device file system
CN101334825A (en) Application program management and operation system and method
EP1879109A1 (en) Information processing device, program, and storage medium
JP2001337792A (en) Disk array device
CN103412801A (en) Method for file backup based on process identification file
CN1719413A (en) Upgrading method of communication equipment
CN101201767A (en) System and method for backup and recovery of magnetic disc mirroring of computer system data
CN1277209C (en) Hard disk data controlling method
CN105426253A (en) Hardware management method and device for self-service equipment
CN101022633B (en) Allocation data recovering method, system and device
CN1257464C (en) Blade type server management system with hardware standby structure
CN1148646C (en) High-safety shtdown method for protecting Window 9X system
CN1276349C (en) Method for mirror backup of cluster platform cross parallel system
CN115391106A (en) Method, system and device for pooling backup resources
CN112702206B (en) Main and standby cluster deployment method and system
CN1139878C (en) Method for formatting
CN114598604B (en) Monitoring method, monitoring device and terminal for virtual network function instance 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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070725

Termination date: 20130928