CN104407918B - A kind of preservation of avionics system task data and restoration methods - Google Patents

A kind of preservation of avionics system task data and restoration methods Download PDF

Info

Publication number
CN104407918B
CN104407918B CN201410714203.7A CN201410714203A CN104407918B CN 104407918 B CN104407918 B CN 104407918B CN 201410714203 A CN201410714203 A CN 201410714203A CN 104407918 B CN104407918 B CN 104407918B
Authority
CN
China
Prior art keywords
task
data
task data
mmm
modules
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.)
Active
Application number
CN201410714203.7A
Other languages
Chinese (zh)
Other versions
CN104407918A (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.)
AVIC No 631 Research Institute
Original Assignee
AVIC No 631 Research Institute
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 AVIC No 631 Research Institute filed Critical AVIC No 631 Research Institute
Priority to CN201410714203.7A priority Critical patent/CN104407918B/en
Publication of CN104407918A publication Critical patent/CN104407918A/en
Application granted granted Critical
Publication of CN104407918B publication Critical patent/CN104407918B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention belongs to computer software technical field, and in particular to a kind of preservation of avionics system task data and restoration methods.The method has main steps that:1) system initialization, in DPM Module registers task data block tables, and obtains the task data being stored in MMM modules, according to the state of these data recovery tasks;2) mission data file table is created according to DPM mission bit streams;3) preservation of task data;4) recovery of task status.The execution discontinuous problem caused in intermodule migration by task is this method solve, the method is simple, it is easy to accomplish, improve the reliability of avionics system.

Description

A kind of preservation of avionics system task data and restoration methods
Technical field
The invention belongs to computer software technical field, and in particular to a kind of preservation of avionics system task data and Restoration methods.
Background technology
Comprehensive task processor (IMP) is the key foundation platform of avionics system, possess data, Graphics/Image and The comprehensive treatment capability and system storage capacity of video.Avionics system includes multiple DPM (data processing module) and 1 MMM (MMM is high-capacity storage module).
The fusion of DPM operation sensors, Situation Assessment, offensive combat operation management, defence response management, weapon deliver Fire control calculation Etc. task, when other DPM modules are in running order, wherein there is a DPM module to be in Status of Backups, in any one DPM After breaking down, system can perform the task immigration of the DPM modules for breaking down to backup module.MMM is that Large Copacity is deposited Storage module, the big data for storing avionics system.
Existing synthetic aviation electronic system lacks a kind of effective task data administrative skill, as one of DPM After module breaks down, system can perform the task immigration of the DPM modules for breaking down to backup module, can only during execution Performed since original state, it is impossible to from task immigration when state continue executing with, cause tasks carrying discontinuous, reduce boat The reliability of empty electronic system.
The content of the invention
It is discontinuous in order to solve to be performed after avionics system task in background technology is migrated between DPM modules Problem, the present invention proposes preservation and the restoration methods of a kind of avionics system task data, solves because task occurs Execution discontinuous problem caused by migration, the method is simple, it is easy to accomplish, improve the reliability and work of avionics system Make efficiency.
Concrete technical scheme of the invention is:
A kind of preservation of avionics system task data and restoration methods, it is characterised in that comprise the following steps:
1) system initialization, registered task data block table is stored in MMM modules to MMM registered task information, and acquisition Task data, according to the state (initial words of task during upper electricity, it is not necessary to recovery tasks data) of these data recovery tasks.
The task data block table mark required by task data to be saved block message;
2) mission data file table is created according to mission bit stream;
The mission data file table includes the storing path of task names and task data in MMM modules;
3) preservation of task data;
If 3.1) DPM modules normal work, at default breakpoint, task data is preserved;
3.1.1) by searching task data block table, the initial address and length of task data block are obtained;
3.1.2 all task datas) are obtained from internal memory according to the initial address and length of data block, number of tasks is calculated According to length;
3.1.3) task names, breakpoint are numbered, data length and task data are combined into a complete task data Bag, task data is sent by NFS to MMM modules, and asks to preserve;
3.1.4 after) MMM modules receive the request for preserving task data, mission data file is searched according to task names Table, obtains the storing path of mission data file, and task data is written in mission data file;
4) recovery of task status;
4.1) DPM modules break down, and when task is restarted, access task are sent to MMM modules by NFS The request of data;
4.2) after MMM modules receive the request for accessing task data, mission data file table is searched according to task names, The path of mission data file is obtained, MMM accesses the mission data file, obtain task data bag, and by network text Part system returns to request task;
4.3) after DPM modules obtain task data bag, according to task data block table, by the segmentation of task data bag, and according to Initial address and length in task data block table, task data in internal memory is recovered.
4.4) task jumped to and performed at breakpoint by system according to the breakpoint numbering obtained from MMM modules.
Above-mentioned task data block table mark required by task data to be saved block message includes:Task names, data block are total Number, the mark of each data block, initial address and length.
Above-mentioned NFS is NFS;The NFS is used to provide remote access file, and DPM modules are long-range by NFS Access is stored in the task data on MMM.
The advantage of the invention is that:
1st, registered task data block table in the inventive method, enables the data of all pending tasks in system accurate Divided, the recovery of rear file for it provides good foundation.
2nd, present invention use mission data file table causes to search relatively reliable during task data;
3rd, the method that the present invention is used can effectively solve to be performed discontinuously after task is migrated between DPM modules Problem, improves avionics system reliability.
Brief description of the drawings
Fig. 1 is fundamental diagram of the invention;
Fig. 2 is workflow schematic diagram of the invention;
Fig. 3 is the remote access schematic diagram of task data.
Extractions and recovery schematic diagram of the Fig. 4 for task data.
Specific embodiment
In comprehensive task processor (IMP), task can be migrated between DPM modules.In order to ensure tasks carrying Continuity, it is necessary to the state that will finally be preserved before task recovery to migration after task immigration.The present invention is by needed for tasks carrying The data wanted are stored in MMM modules, after after task immigration, the data required for obtaining tasks carrying from MMM modules, by task Return to the state preserved before migration, it is ensured that task can be continuously performed.
This method is completed, it is necessary to task data block table, mission data file table, the support of NFS.
Wherein, task data block table for mark required by task data to be saved block message, the information include task names, Data block total number, the mark of each data block, initial address and length.Task names are the title of current task;Data Block sum is the data block number of preservation required for application task;It is once A, B, C etc. that data block identifier is then;Data block starting Address is the first address that data block is stored in internal memory, is the number of 64;Data block length is data block in internal memory The size in the shared space of storage.Task obtains required by task data to be saved according to the initial address and length of data block. Also as the foundation of data recovery, the initial address of data block is demonstrated the need for including the task data block of recovery task data block table Initial address in depositing, length demonstrates the need for the length of recovery tasks data block.
Table 1:Task data block table
Mission data file table is mapping relations of the task names to mission data file, and mission data file is number of tasks According to storing path.Mission data file table includes the storing path of task names and task data;MMM modules are according to task Title is searched mission data file table and obtains the path that task data is preserved, and by the path access mission data file, is obtained Task data.
Mission data file table
Task names Mission data file path
AM D:\AM.TXT
SM D:\SM.TXT
According to Fig. 3, it can be seen that network file is that NFS provides a kind of mechanism for remotely accessing file, and module passes through NFS Remote access is stored in the task data on MMM.
The method of the present invention is described below according to flow chart:
The method of the present invention is described with reference to Fig. 1 and Fig. 2, the method includes comprising the following steps that:
Step 1) system initialization, in DPM Module registers task data block tables, to MMM registered task information, and obtain guarantor There is the task data in MMM modules, according to these data recovery tasks state (initial words of task during upper electricity, it is not necessary to Recovery tasks data).
Task data block table mark required by task data to be saved block message;
Step 2) mission data file table is created according to DPM mission bit streams;
Mission data file table includes the storing path of task names and task data in MMM modules;
Step 3) task data preservation;
Step 3.1) if DPM module normal works, at default breakpoint, preserve task data;
Step 3.1.1) by searching task data block table, obtain the initial address and length of task data block;
Step 3.1.2) all task datas are obtained from internal memory according to the initial address and length of data block, calculating is taken the post as The length of data of being engaged in;
Step 3.1.3) task names, breakpoint numbering, data length and task data are combined into a complete task Packet, task data is sent by NFS to MMM modules, and asks to preserve;
Step 3.1.4) MMM modules receive preserve task data request after, according to task names search task data File table, obtains the storing path of mission data file, and task data is written in mission data file;
Step 4) task status recovery;
Step 4.1) DPM modules break down, and when task is restarted, sent to MMM modules by NFS and accessed The request of task data;
Step 4.2) MMM modules receive access task data request after, according to task names search task data text Part table, obtains the path of mission data file, and MMM accesses the mission data file, obtains task data bag, and passed through net Network file system returns to request task;
Step 4.3) after DPM modules obtain task data bag, according to task data block table, by the segmentation of task data bag, and According to initial address and length in task data block table, task data in internal memory is recovered, as shown in Figure 4.
Step 4.4) system according to from MMM modules obtain breakpoint numbering, by task jump at breakpoint perform, such as scheme Shown in 1.

Claims (3)

1. a kind of preservation of avionics system task data and restoration methods, it is characterised in that comprise the following steps:
1) system initialization, in DPM Module registers task data block tables, to MMM registered task information, and acquisition is stored in MMM Task data in module, according to the state of these data recovery tasks;The DPM modules are data processing module;The MMM Module is high-capacity storage module;
The task data block table mark required by task data to be saved block message;
2) mission data file table is created according to DPM mission bit streams;
The mission data file table includes the storing path of task names and task data in MMM modules;
3) preservation of task data;
3.1) DPM modules normal work, at default breakpoint, preserves task data;
3.1.1) by searching task data block table, the initial address and length of task data block are obtained;
3.1.2 all task datas, the length of calculating task data) are obtained from internal memory according to the initial address and length of data block Degree;
3.1.3) task names, breakpoint are numbered, task data length and task data are combined into a complete task data Bag, task data bag is sent by NFS to MMM modules, and asks to preserve;
3.1.4 after) MMM modules receive the request for preserving task data, mission data file table is searched according to task names, is obtained The storing path of mission data file is taken, and task data is written in mission data file;
4) recovery of task status;
4.1) DPM modules break down, and when task is restarted, are sent to MMM modules by NFS and access task data Request;
4.2) after MMM modules receive the request for accessing task data, mission data file table is searched according to task names, is obtained The path of mission data file, MMM accesses the mission data file, obtains task data bag, and passed through network file system System returns to request task;
4.3) after DPM modules obtain task data bag, according to task data block table, by the segmentation of task data bag, and according to task Initial address and length in data block table, task data in internal memory is recovered;
4.4) task jumped to and performed at breakpoint by system according to the breakpoint numbering obtained from MMM modules.
2. the preservation of avionics system task data according to claim 1 and restoration methods, it is characterised in that:It is described Task data block table mark required by task data to be saved block message includes:Task names, data block total number, each data block Mark, initial address and length.
3. the preservation of avionics system task data according to claim 1 and 2 and restoration methods, it is characterised in that: The NFS is NFS;The NFS is used to provide remote access file, and DPM modules are preserved by NFS remote accesses Task data on MMM.
CN201410714203.7A 2014-11-29 2014-11-29 A kind of preservation of avionics system task data and restoration methods Active CN104407918B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410714203.7A CN104407918B (en) 2014-11-29 2014-11-29 A kind of preservation of avionics system task data and restoration methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410714203.7A CN104407918B (en) 2014-11-29 2014-11-29 A kind of preservation of avionics system task data and restoration methods

Publications (2)

Publication Number Publication Date
CN104407918A CN104407918A (en) 2015-03-11
CN104407918B true CN104407918B (en) 2017-06-27

Family

ID=52645551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410714203.7A Active CN104407918B (en) 2014-11-29 2014-11-29 A kind of preservation of avionics system task data and restoration methods

Country Status (1)

Country Link
CN (1) CN104407918B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105007329B (en) * 2015-07-31 2018-06-29 中国航空无线电电子研究所 A kind of network share storage system and its storage method based on PCIe

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103597A (en) * 2009-12-17 2011-06-22 上海威乾视频技术有限公司 DSP (digital signal processor) embedded FLASH file storage system
CN103092712A (en) * 2011-11-04 2013-05-08 阿里巴巴集团控股有限公司 Method and device for recovering interrupt tasks
CN103250134A (en) * 2010-12-13 2013-08-14 国际商业机器公司 Upgrade of software images based on streaming technique
CN103577500A (en) * 2012-08-10 2014-02-12 腾讯科技(深圳)有限公司 Method for carrying out data processing by distributed file system and distributed file system
CN103902665A (en) * 2014-03-11 2014-07-02 浪潮电子信息产业股份有限公司 Storage virtualization system implementation method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103597A (en) * 2009-12-17 2011-06-22 上海威乾视频技术有限公司 DSP (digital signal processor) embedded FLASH file storage system
CN103250134A (en) * 2010-12-13 2013-08-14 国际商业机器公司 Upgrade of software images based on streaming technique
CN103092712A (en) * 2011-11-04 2013-05-08 阿里巴巴集团控股有限公司 Method and device for recovering interrupt tasks
CN103577500A (en) * 2012-08-10 2014-02-12 腾讯科技(深圳)有限公司 Method for carrying out data processing by distributed file system and distributed file system
CN103902665A (en) * 2014-03-11 2014-07-02 浪潮电子信息产业股份有限公司 Storage virtualization system implementation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
面向IMA综合处理系统的日志管理系统设计与实现;段海军等;《航空计算技术》;20121130;第42卷(第6期);75-78页 *

Also Published As

Publication number Publication date
CN104407918A (en) 2015-03-11

Similar Documents

Publication Publication Date Title
CN102843396B (en) Data write-in and read method and device in a kind of distributed cache system
CN110062025B (en) Data acquisition method, device, server and storage medium
EP3333718B1 (en) Task allocation method and task allocation apparatus for distributed data calculation
CN104111804B (en) A kind of distributed file system
CN102521269B (en) Index-based computer continuous data protection method
CN101997823B (en) Distributed file system and data access method thereof
CN106909317B (en) Storing data on storage nodes
CN111651631B (en) High concurrency video data processing method, electronic equipment, storage medium and system
CN104035836A (en) Automatic disaster tolerance recovery method and system in cluster retrieval platform
CN106959820A (en) A kind of data extraction method and system
CN106126374A (en) Method for writing data, method for reading data and device
US20150169623A1 (en) Distributed File System, File Access Method and Client Device
CN105930537A (en) Page storing method and electronic equipment
CN106897338A (en) A kind of data modification request processing method and processing device for database
CN103150225B (en) Disk full abnormity fault tolerance method of object parallel storage system based on application level agent
CN106557278A (en) A kind of method of data cached persistence
CN116089321A (en) Memory management method, device, electronic device and storage medium
CN111209061B (en) User information filling method, device, computer equipment and storage medium
CN104407918B (en) A kind of preservation of avionics system task data and restoration methods
CN103488776A (en) Real-time on-line map data acquiring method
CN111291059A (en) Data processing method based on memory data grid
CN103150268A (en) Block-level data capture method in CDP (Continuous Data Protection)
CN111158606B (en) Storage method, storage device, computer equipment and storage medium
CN113407374A (en) Fault processing method and device, fault processing equipment and storage medium
CN106959906A (en) Information processing method, information processor and electronic equipment

Legal Events

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