CN107273241A - The redundancy backup and automatic recovery method of a kind of important parameter - Google Patents

The redundancy backup and automatic recovery method of a kind of important parameter Download PDF

Info

Publication number
CN107273241A
CN107273241A CN201610207433.3A CN201610207433A CN107273241A CN 107273241 A CN107273241 A CN 107273241A CN 201610207433 A CN201610207433 A CN 201610207433A CN 107273241 A CN107273241 A CN 107273241A
Authority
CN
China
Prior art keywords
important parameter
parameter
storage
read
slave
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
CN201610207433.3A
Other languages
Chinese (zh)
Other versions
CN107273241B (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.)
China Academy of Launch Vehicle Technology CALT
Beijing Institute of Space Launch Technology
Original Assignee
China Academy of Launch Vehicle Technology CALT
Beijing Institute of Space Launch Technology
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 China Academy of Launch Vehicle Technology CALT, Beijing Institute of Space Launch Technology filed Critical China Academy of Launch Vehicle Technology CALT
Priority to CN201610207433.3A priority Critical patent/CN107273241B/en
Publication of CN107273241A publication Critical patent/CN107273241A/en
Application granted granted Critical
Publication of CN107273241B publication Critical patent/CN107273241B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Hardware Redundancy (AREA)

Abstract

The problem of in order to solve the problems, such as to recover parameter automatically after the reliable memory of these important parameters, and unit failure, the invention provides a kind of redundancy backup of important parameter and automatic recovery method, it uses storage backup technology and mutually standby technology is realized.This method is using the mutual standby technology of important parameter memory space two from three redundancy technique and important parameter host and slave processors, the problem of solving the problems, such as to recover parameter automatically after the reliable memory of important parameter, and unit failure.

Description

The redundancy backup and automatic recovery method of a kind of important parameter
Technical field
The present invention relates to Computer Control Technology field, more particularly, to a kind of redundancy backup of important parameter And automatic recovery method.
Background technology
In order to improve product to system and the adaptability of environment, it is necessary to by outside CAN interface, serial ports etc. The important parameters such as modification process parameter, equipment initial value;Meanwhile, relevant parameter needs power down to preserve.
The important parameters such as process parameter, equipment initial value play vital effect in the Row control of system. It is heavy then cause mission failure if relevant parameter mistake, gently then causes Row control to fail.
The content of the invention
In order to solve the problems, such as to recover parameter automatically after the reliable memory of these important parameters, and unit failure The problem of, the invention provides a kind of redundancy backup of important parameter and automatic recovery method, it uses storage standby Part technology and mutually standby technology realization.
Further, the redundancy backup and automatic recovery method of the important parameter further comprise:With mutually standby side Formula nonvolatile storage space multiple regions store important parameter, and need recover when read it is stored The important parameter.
Further, it is described that important parameter bag is stored in multiple regions of nonvolatile storage space in mutual standby mode Include:It is the subregions such as multiple to divide non-volatile storage space, and important parameter is respectively stored into portion in each region.
Further, when storing important parameter using the non-volatile storage space with disk management function, then draw Divide the memory space into multiple disks, a parameter of each disk storage.
Further, a Parameter File is created in each disk during storage, by parameter storage into Parameter File.
Further, it is described that important parameter bag is stored in multiple regions of nonvolatile storage space in mutual standby mode Include:
(11) multiple disks, the important parameter that will be treated redundancy backup and recover automatically are set in main control computer or main frame It is respectively stored in the multiple disk, each important parameter is two parts in each disk storage, a part is Identify whether to configure mark, another part is parameter storing section, the value for storing important parameter;
(12) polylith memory block, the block number of the memory block and institute are divided on the memory of target machine or slave State the disk number set on main control computer or main frame identical, each parameter is on each piece of memory block by two parts group Into a part is identifies whether to configure mark, and another part is parameter storing section, for storing important ginseng Several values;
(13) it is same by communication link when main control computer or main frame set important parameter described in multiple disk storages When store the important parameter to the polylith memory block of the target machine or slave respectively;
(14) after the parameter storing section storage terminates, identify whether to configure the portion of mark described in setting It is divided into configured mistake.
Further, the block number of the memory block is more than or equal to 3.
Further, it is described to read the stored important parameter when needing and recovering and include:
(21) target machine or slave were carried out when the target machine or slave break down and need and change Change;
(22) after the target machine or slave are changed, the main control computer or main frame read the described of its own storage Important parameter:
(221) first read whether each part important parameter configured mark, judge that this identifies whether to represent to have matched somebody with somebody Put;
(222) if be configured, read the parameter storing section of the main control computer or main frame to obtain The important parameter;
(223) if in three parts of parameters that the main control computer or main frame are read at least two parts it is identical, this part Important parameter is deposited as the virtual value of the important parameter read if having a difference to this part of important parameter The memory block of storage is repaired, and it is different from each other if three parts if report an error;
(23) virtual value for the important parameter for obtaining the main control computer or main frame is sent to the target machine Or slave, realize the automatic recovery of the important parameter of the target machine or slave.
Further, it is described to read the stored important parameter when needing and recovering and include:
(21) when the main control computer or main frame, which break down, to be needed to change, changed, it is described after replacing Main control computer or main frame send automatic recovery request to the target machine or slave;
(22) target machine or slave read the important parameter of its own storage:
(221) first read whether each part important parameter configured mark, judge that this identifies whether to represent to have matched somebody with somebody Put;
(222) if be configured, read the parameter storing section of the target machine or slave to obtain The important parameter;
(223) if in three parts of parameters that the target machine or slave are read at least two parts it is identical, this part Important parameter is deposited as the virtual value of the important parameter read if having a difference to this part of important parameter The memory block of storage is repaired, and it is different from each other if three parts if report an error;
(23) virtual value for the important parameter for obtaining the target machine or slave is sent to the main control computer Or main frame, realize the automatic recovery of the important parameter of the main control computer or main frame.
Further, the important parameter includes process parameter and/or equipment initial value.
Beneficial effects of the present invention are:Using important parameter memory space two from three redundancy technique and important parameter Host and slave processors are mutually for technology, and solving the problems, such as can be by parameter after the reliable memory of important parameter, and unit failure The problem of automatic recovery.
Brief description of the drawings
Fig. 1 shows the redundancy backup and automatic recovery method flow chart of the present invention.
Embodiment
Below in conjunction with brief description of the drawings technical scheme.
As shown in figure 1, the redundancy backup and automatic recovery method of the important parameter of the present invention are using storage backup skill Art and mutually standby technology realization.
According to a preferred embodiment of the invention, the redundancy backup and automatic recovery method of the important parameter are further Including:Important parameter is stored in multiple regions of nonvolatile storage space in mutual standby mode, and is needing to recover When read the stored important parameter.
Preferably, it is described that important parameter bag is stored in multiple regions of nonvolatile storage space in mutual standby mode Include:It is the subregions such as multiple to divide non-volatile storage space, and important parameter is respectively stored into portion in each region.
Preferably, when storing important parameter using the non-volatile storage space with disk management function, then divide The memory space is into multiple disks, a parameter of each disk storage.
Preferably, a Parameter File is created in each disk during storage, by parameter storage into Parameter File.
Preferably, it is described that important parameter bag is stored in multiple regions of nonvolatile storage space in mutual standby mode Include:
(11) multiple disks, the important parameter that will be treated redundancy backup and recover automatically are set in main control computer or main frame It is respectively stored in the multiple disk, each important parameter is two parts in each disk storage, a part is Identify whether to configure mark, another part is parameter storing section, the value for storing important parameter;
(12) polylith memory block, the block number of the memory block and institute are divided on the memory of target machine or slave State the disk number set on main control computer or main frame identical, each parameter is on each piece of memory block by two parts group Into a part is identifies whether to configure mark, and another part is parameter storing section, for storing important ginseng Several values;
(13) it is same by communication link when main control computer or main frame set important parameter described in multiple disk storages When store the important parameter to the polylith memory block of the target machine or slave respectively;
(14) after the parameter storing section storage terminates, identify whether to configure the portion of mark described in setting It is divided into configured mistake.
Preferably, the block number of the memory block is more than or equal to 3.
Preferably, it is described to read the stored important parameter when needing and recovering and include:
(21) when the target machine or slave, which break down, to be needed to change, the target machine or slave are to described Main control computer or main frame send automatic recovery request;
(22) main control computer or main frame read the important parameter of its own storage:
(221) first read whether each part important parameter configured mark, judge that this identifies whether to represent to have matched somebody with somebody Put;
(222) if be configured, read the parameter storing section of the main control computer or main frame to obtain The important parameter;
(223) if in three parts of parameters that the main control computer or main frame are read at least two parts it is identical, this part Important parameter is deposited as the virtual value of the important parameter read if having a difference to this part of important parameter The memory block of storage is repaired, and it is different from each other if three parts if report an error;
(23) virtual value for the important parameter for obtaining the main control computer or main frame is sent to the target machine Or slave, realize the automatic recovery of the important parameter of the target machine or slave.
Preferably, it is described to read the stored important parameter when needing and recovering and include:
(21) when the main control computer or main frame, which break down, to be needed to change, the main control computer or main frame are to described Target machine or slave send automatic recovery request;
(22) target machine or slave read the important parameter of its own storage:
(221) first read whether each part important parameter configured mark, judge that this identifies whether to represent to have matched somebody with somebody Put;
(222) if be configured, read the parameter storing section of the target machine or slave to obtain The important parameter;
(223) if in three parts of parameters that the target machine or slave are read at least two parts it is identical, this part Important parameter is deposited as the virtual value of the important parameter read if having a difference to this part of important parameter The memory block of storage is repaired, and it is different from each other if three parts if report an error;
(23) virtual value for the important parameter for obtaining the target machine or slave is sent to the main control computer Or main frame, realize the automatic recovery of the important parameter of the main control computer or main frame.
Preferably, the important parameter includes process parameter and/or equipment initial value.
Although describing the present invention with reference to specific embodiment, it will be understood by those skilled in the art that can be not Various changes are carried out on the basis of the disengaging scope of the invention or equivalence replacement is carried out.In addition, this hair can not departed from On the basis of bright scope pair present invention teach that content various adjustment are carried out to adapt to specific environment or material. Therefore, the present invention should not necessarily be limited by disclosed specific embodiment, but should include belonging to scope All embodiments.

Claims (10)

1. the redundancy backup and automatic recovery method of a kind of important parameter, it is characterised in that it uses storage standby Part technology and mutually standby technology realization.
2. according to the method described in claim 1, it is characterised in that the redundancy backup of the important parameter and Automatic recovery method further comprises:It is important in multiple regions storage of nonvolatile storage space in mutual standby mode Parameter, and read the stored important parameter when needing and recovering.
3. method according to claim 2, it is characterised in that it is described in mutual standby mode non-volatile Multiple regions storage important parameter of memory space includes:It is the subregions such as multiple to divide non-volatile storage space, Important parameter is respectively stored into portion in each region.
4. method according to claim 3, it is characterised in that there is disk management function when using Non-volatile storage space stores important parameter, then divides the memory space into multiple disks, each disk storage one Part parameter.
5. method according to claim 3, it is characterised in that create one in each disk during storage Parameter File, by parameter storage into Parameter File.
6. method according to claim 2, it is characterised in that it is described in mutual standby mode non-volatile Multiple regions storage important parameter of memory space includes:
(11) multiple disks, the important parameter that will be treated redundancy backup and recover automatically are set in main control computer or main frame It is respectively stored in the multiple disk, each important parameter is two parts in each disk storage, a part is Identify whether to configure mark, another part is parameter storing section, the value for storing important parameter;
(12) polylith memory block, the block number of the memory block and institute are divided on the memory of target machine or slave State the disk number set on main control computer or main frame identical, each parameter is on each piece of memory block by two parts group Into a part is identifies whether to configure mark, and another part is parameter storing section, for storing important ginseng Several values;
(13) it is same by communication link when main control computer or main frame set important parameter described in multiple disk storages When store the important parameter to the polylith memory block of the target machine or slave respectively;
(14) after the parameter storing section storage terminates, identify whether to configure the portion of mark described in setting It is divided into configured mistake.
7. the method according to one of claim 2-6, it is characterised in that the block number of the memory block is more than Or equal to 3.
8. method according to claim 2, it is characterised in that described read when needing to recover is deposited The important parameter of storage includes:
(21) target machine or slave were carried out when the target machine or slave break down and need and change Change;
(22) after the target machine or slave are changed, the main control computer or main frame read the described of its own storage Important parameter:
(221) first read whether each part important parameter configured mark, judge that this identifies whether to represent to have matched somebody with somebody Put;
(222) if be configured, read the parameter storing section of the main control computer or main frame to obtain The important parameter;
(223) if in three parts of parameters that the main control computer or main frame are read at least two parts it is identical, this part Important parameter is deposited as the virtual value of the important parameter read if having a difference to this part of important parameter The memory block of storage is repaired, and it is different from each other if three parts if report an error;
(23) virtual value for the important parameter for obtaining the main control computer or main frame is sent to the target machine Or slave, realize the automatic recovery of the important parameter of the target machine or slave.
9. method according to claim 2, it is characterised in that described read when needing to recover is deposited The important parameter of storage includes:
(21) when the main control computer or main frame, which break down, to be needed to change, changed, it is described after replacing Main control computer or main frame send automatic recovery request to the target machine or slave;
(22) target machine or slave read the important parameter of its own storage:
(221) first read whether each part important parameter configured mark, judge that this identifies whether to represent to have matched somebody with somebody Put;
(222) if be configured, read the parameter storing section of the target machine or slave to obtain The important parameter;
(223) if in three parts of parameters that the target machine or slave are read at least two parts it is identical, this part Important parameter is deposited as the virtual value of the important parameter read if having a difference to this part of important parameter The memory block of storage is repaired, and it is different from each other if three parts if report an error;
(23) virtual value for the important parameter for obtaining the target machine or slave is sent to the main control computer Or main frame, realize the automatic recovery of the important parameter of the main control computer or main frame.
10. according to the method described in claim 1, it is characterised in that the important parameter includes process parameter And/or equipment initial value.
CN201610207433.3A 2016-04-06 2016-04-06 Redundancy backup and automatic recovery method for important parameters Active CN107273241B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610207433.3A CN107273241B (en) 2016-04-06 2016-04-06 Redundancy backup and automatic recovery method for important parameters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610207433.3A CN107273241B (en) 2016-04-06 2016-04-06 Redundancy backup and automatic recovery method for important parameters

Publications (2)

Publication Number Publication Date
CN107273241A true CN107273241A (en) 2017-10-20
CN107273241B CN107273241B (en) 2021-02-26

Family

ID=60052261

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610207433.3A Active CN107273241B (en) 2016-04-06 2016-04-06 Redundancy backup and automatic recovery method for important parameters

Country Status (1)

Country Link
CN (1) CN107273241B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108829443A (en) * 2018-05-03 2018-11-16 烽火通信科技股份有限公司 A kind of design method, loading method and its application of terminal equipment configuration data
CN109005061A (en) * 2018-08-03 2018-12-14 深圳市科陆电子科技股份有限公司 Parameter management method, device and storage medium
WO2019109944A1 (en) * 2017-12-08 2019-06-13 比亚迪股份有限公司 Method, apparatus and device for storing parameter of energy storage battery in energy storage system and method, apparatus and device for reading parameter of energy storage battery in energy storage system
CN110554888A (en) * 2018-05-30 2019-12-10 北京兆易创新科技股份有限公司 Method and device for electrically reading parameters of nonvolatile semiconductor memory

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309167A (en) * 2008-06-27 2008-11-19 华中科技大学 Disaster allowable system and method based on cluster backup
CN103295632A (en) * 2013-05-28 2013-09-11 中国电子科技集团公司第十研究所 Method for preventing accidental power failure from causing linear accumulated data mutation
CN103999041A (en) * 2012-01-03 2014-08-20 惠普发展公司,有限责任合伙企业 Backing up firmware during initialization of device
CN104156279A (en) * 2014-08-04 2014-11-19 上海斐讯数据通信技术有限公司 Backup method for configuration data of router
US9122642B2 (en) * 2011-06-30 2015-09-01 International Business Machines Corporation Hybrid data backup in a networked computing environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309167A (en) * 2008-06-27 2008-11-19 华中科技大学 Disaster allowable system and method based on cluster backup
US9122642B2 (en) * 2011-06-30 2015-09-01 International Business Machines Corporation Hybrid data backup in a networked computing environment
CN103999041A (en) * 2012-01-03 2014-08-20 惠普发展公司,有限责任合伙企业 Backing up firmware during initialization of device
CN103295632A (en) * 2013-05-28 2013-09-11 中国电子科技集团公司第十研究所 Method for preventing accidental power failure from causing linear accumulated data mutation
CN104156279A (en) * 2014-08-04 2014-11-19 上海斐讯数据通信技术有限公司 Backup method for configuration data of router

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019109944A1 (en) * 2017-12-08 2019-06-13 比亚迪股份有限公司 Method, apparatus and device for storing parameter of energy storage battery in energy storage system and method, apparatus and device for reading parameter of energy storage battery in energy storage system
CN108829443A (en) * 2018-05-03 2018-11-16 烽火通信科技股份有限公司 A kind of design method, loading method and its application of terminal equipment configuration data
CN108829443B (en) * 2018-05-03 2021-02-09 烽火通信科技股份有限公司 Design method, loading method and application of terminal equipment configuration data
CN110554888A (en) * 2018-05-30 2019-12-10 北京兆易创新科技股份有限公司 Method and device for electrically reading parameters of nonvolatile semiconductor memory
CN109005061A (en) * 2018-08-03 2018-12-14 深圳市科陆电子科技股份有限公司 Parameter management method, device and storage medium

Also Published As

Publication number Publication date
CN107273241B (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN107273241A (en) The redundancy backup and automatic recovery method of a kind of important parameter
CN103136074B (en) Data storage method and data storage system of multiple disk array systems
US20140108345A1 (en) Exchanging locations of an out of synchronization indicator and a change recording indicator via pointers
CN108153622A (en) The method, apparatus and equipment of a kind of troubleshooting
CN105591807B (en) A kind of interface configuration emigration method and equipment
CN103984309A (en) Cigarette production system with disaster tolerance function and disaster tolerance exercise method thereof
US8904107B2 (en) Storage apparatus and program update method
CN103488590A (en) Programmable display
CN105291118A (en) Robot control device provided with function of reflecting points of difference of setting data compared with
CN104503781A (en) Firmware upgrading method for hard disk and storage system
CN106482299A (en) Machine set system data backup device, method and the air-conditioner set with the device
CN109739686A (en) A kind of multiserver heat backup method, system, device and storage medium
CN107885457A (en) A kind of solid-state hard disk SSD, storage device and date storage method
CN104268032A (en) Multi-controller snapshot processing method and device
CN103019626A (en) Storage system, method and device for controlling cluster metadata
US20160050273A1 (en) Electrical distribution system for an aircraft and corresponding control method
KR20200059965A (en) Method for confirm software compatibility and update
US9116859B2 (en) Disk array system having a plurality of chassis and path connection method
JP2011159363A (en) Tape library control device, tape library control method and tape library control program
US20120005426A1 (en) Storage device, controller of storage device, and control method of storage device
US20090019241A1 (en) Storage media storing storage control program, storage controller, and storage control method
CN105276762B (en) Controller jumper cap fault determination method and air-conditioner controller
US20070233951A1 (en) Disk array apparatus, and control method and control program recording medium
CN103389919B (en) A kind of data processing method based on redundant equipment system and device
US10764140B2 (en) Communication system, communication device, and communication method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant