CN108228195B - Data unloading method based on IRIG106 standard storage - Google Patents
Data unloading method based on IRIG106 standard storage Download PDFInfo
- Publication number
- CN108228195B CN108228195B CN201611140808.5A CN201611140808A CN108228195B CN 108228195 B CN108228195 B CN 108228195B CN 201611140808 A CN201611140808 A CN 201611140808A CN 108228195 B CN108228195 B CN 108228195B
- Authority
- CN
- China
- Prior art keywords
- file
- unloading
- data
- time
- unloaded
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/62—Uninstallation
Abstract
The invention belongs to the technical field of computer application, and relates to a data unloading method based on IRIG106 standard storage. The method is characterized in that when the data is unloaded, the data to be unloaded is selected, the data attribute is obtained, and a data storage path is selected; secondly, judging whether the data is damaged or not; then selecting an unloading mode, and selecting different methods to unload data according to the unloading mode; and finally, storing the specified data or data segment in the specified path of the computer. The method can unload the data stored in the IRIG106 format to the local computer at a rated speed in two modes of file unloading and time unloading, and can unload uncovered parts in the covered data when unloading the files. The invention effectively solves the problem of data unloading when the IRIG106 standard is used for storing data, and provides a reference basis for the development of similar products.
Description
Technical Field
The invention belongs to the technical field of computer application, and relates to a data unloading method based on IRIG106 standard storage.
Background
The IRIG106 is a data acquisition and recording standard, digitalization and effective combination of multiple data are realized by a relatively economic method, the IRIG106 digital recording standard gradually becomes one of internationally recognized standards at present, data unloading becomes necessary along with wide use of the standard, an existing data unloading mode is too slow in speed, data are easily lost and cannot be unloaded according to time, data cannot be unloaded when being partially covered, and a reliable and rapid data unloading method becomes an urgent need.
Disclosure of Invention
The purpose of the invention is: aiming at data stored by using the IRIG106 standard, a data unloading method based on the IRIG106 standard is provided.
The technical scheme of the invention is as follows: a data unloading method based on IRIG106 standard storage comprises the following steps:
a data unloading method based on IRIG106 standard storage is characterized in that data stored in IRIG106 format is unloaded to a local computer in two modes of file unloading and time unloading, and the method comprises the following steps:
step 1: extracting and displaying all data in the solid-state disk, selecting the data needing unloading, acquiring data attributes and appointing a storage path;
step 2: judging the integrity of the data, and adding a judgment result into the file attribute;
and step 3: and selecting a data unloading mode and unloading the data.
The step 1 specifically comprises the following steps: after all data in the solid-state disk are extracted, all data are displayed in a three-level directory format of a disk, a directory block and a file, then a file to be unloaded is selected, attribute information such as the size of the file, the initial address of the file, the time period of the file and the like is acquired for data unloading, and finally a storage path of the data in a computer is selected.
The step 2 specifically comprises the following steps: and (2) judging whether the file is damaged or not according to the initial address of the file acquired in the step (1), if so, unloading the file, and simultaneously judging whether the file has address offset caused by non-coverage, if so, the file is a covered file, if not, the file is a complete file, and after the judgment is finished, adding the result into the file attribute.
The step 3 specifically comprises the following steps: the optional unloading modes are unloading according to time and unloading according to files. When unloading according to time is selected, firstly judging whether the file in the file attribute is covered, if so, judging that the file cannot be unloaded, then inputting a time period for unloading, finally inquiring a time packet in the file, if so, unloading all data after the time packet until the next time packet to a specified path, and continuously judging the next time packet until the file is finished or the time of the time packet exceeds the input unloading time period range; when unloading according to the file is selected, inquiring the initial address of the file, if the file in the file attribute is covered, calculating a new initial address of the file according to the offset address of the covering data, and then unloading the whole file to a specified path from the initial address according to the size of the file.
Technical effects of the invention
The data stored in the IRIG106 format is unloaded to a local computer in two modes of file unloading and time unloading, and the data in a specified time period can be unloaded when the data are unloaded in time; when unloading according to the file, the whole file or the uncovered part of the covered data can be unloaded.
Drawings
FIG. 1 is a flow chart of a method of the present invention;
detailed description of the invention
The following describes the technical solution of the present invention in detail with reference to the specific embodiments and the accompanying drawings, please refer to fig. 1.
Fig. 1 is a flowchart of a method according to the present invention, and the present invention provides a data unloading method based on IRIG106 standard storage. The method comprises the following steps:
step 1: extracting and displaying all data in the solid-state disk, selecting the data needing unloading, acquiring data attributes and appointing a storage path;
step 2: judging the integrity of the data, and adding a judgment result into the file attribute;
and step 3: and selecting a data unloading mode and unloading the data.
According to the data unloading method based on IRIG106 standard storage, after data needing to be unloaded is selected, whether the data is damaged or not is judged, unloading cannot be conducted, if the data is not damaged, the data is unloaded according to one of two modes, and finally the selected file or file segment is stored in the designated path.
On the basis of the above embodiment, the step 1 specifically includes:
displaying all data in the form of a disk, a directory block and a file, selecting the data according to requirements, then extracting the size of the data, the initial address of the data, then temporarily storing the data for later data unloading, and finally selecting a storage path of the data in a computer, wherein the size of the residual space in the path is larger than the size of the data.
On the basis of the above embodiment, the step 2 specifically includes:
and selecting data, judging whether the data is completely damaged or not, wherein the completely damaged data cannot be unloaded, the data unloading process is directly ended until other data is selected for judgment again, if the data is not damaged, the data can be unloaded, and the data unloading mode is continuously selected.
On the basis of the above embodiment, the step 3 specifically is:
there are two data offloading methods: unloading according to time and unloading according to files, the two modes cannot be selected at the same time, and only one mode can be used as the unloading mode of the current data. When unloading according to time is selected, whether the data is covered or not is judged firstly, if the data is covered, the time unloading cannot be carried out because the index packet cannot find the first time packet, if the data is not covered, a time period of the data needing unloading is input, the time period and the time packets in the data are compared in sequence, and the data can be unloaded only in the required time period. If unloading according to files is selected, when the data is not covered, directly unloading the data according to the initial address and the data size of the data extracted in the step 1; when the data is covered, the initial address and the data size of the data extracted in the step 1 can be automatically updated according to the covering degree, and the data can be directly unloaded according to the initial address and the data size of the data. After a specific position of data in a solid-state disk is determined, whether the disk can be opened or not is judged, whether the disk can be read or not is judged, then a blank file is created in a fixed path of a computer, a system function is directly called to store the data in the disk into the file at a rated speed, the judgment is carried out once every 10 seconds in the process of storing the file, if the size of the file on the computer is not changed within 10 seconds, unloading failure is judged, and the connection of the disk or the state of the disk needs to be checked.
Claims (8)
1. A data unloading method based on IRIG106 standard storage is characterized in that data stored in IRIG106 format is unloaded to a local computer by two modes of file unloading and time unloading, and the method comprises the following steps:
step 1: extracting and displaying all data in the solid-state disk, selecting the data needing unloading, acquiring data attributes and appointing a storage path;
step 2: judging the integrity of the data, and adding a judgment result into the file attribute;
and step 3: selecting a data unloading mode and unloading data;
after selecting the data needing to be unloaded, judging whether the data is damaged or not and cannot be unloaded, if the data is not damaged, unloading the data according to one of two modes, and unloading the data in a specified time period when unloading the data according to time; when unloading according to files, the uncovered part of the whole file or the covered data can be unloaded, and finally the selected file or file segment is stored in the designated path.
2. The data offloading method based on IRIG106 standard storage according to claim 1, characterized in that step 1 specifically comprises: after all data in the solid-state disk are extracted, all data are displayed in a three-level directory format of a disk, a directory block and a file, then a file to be unloaded is selected, attribute information such as the size of the file, the initial address of the file, the time period of the file and the like is acquired for data unloading, and finally a storage path of the data in a computer is selected.
3. The IRIG106 standard storage-based data offloading method according to claim 1, wherein step 2 specifically is: and (2) judging whether the file is damaged or not according to the initial address of the file acquired in the step (1), if so, unloading the file, and simultaneously judging whether the file has address offset caused by non-coverage, if so, the file is a covered file, if not, the file is a complete file, and after the judgment is finished, adding the result into the file attribute.
4. The IRIG106 standard storage-based data offloading method according to claim 2, wherein step 2 specifically is: and (2) judging whether the file is damaged or not according to the initial address of the file acquired in the step (1), if so, unloading the file, and simultaneously judging whether the file has address offset caused by non-coverage, if so, the file is a covered file, if not, the file is a complete file, and after the judgment is finished, adding the result into the file attribute.
5. The IRIG106 standard storage-based data offloading method according to claim 1, wherein step 3 specifically is: the optional unloading modes comprise unloading according to time and unloading according to files, when unloading according to time is selected, whether the file in the file attribute is covered or not is judged firstly, if the file is covered and can not be unloaded, then the time period of unloading is required to be input, finally, the time packet in the file is inquired, if the time packet meets the requirement of the time period, all data after the time packet and before the next time packet are unloaded to a specified path, and the next time packet is continuously judged until the file is finished or the time of the time packet exceeds the input unloading time period range; when unloading according to the file is selected, inquiring the initial address of the file, if the file in the file attribute is covered, calculating a new initial address of the file and a new size of the file according to the offset address of the covering data, and then unloading the whole file to a specified path from the initial address according to the size of the file.
6. The IRIG106 standard storage-based data offloading method according to claim 2, wherein step 3 specifically is: the optional unloading modes comprise unloading according to time and unloading according to files; when unloading according to time is selected, firstly judging whether the file in the file attribute is covered, if so, judging that the file cannot be unloaded, then inputting a time period for unloading, finally inquiring a time packet in the file, if so, unloading all data after the time packet until the next time packet to a specified path, and continuously judging the next time packet until the file is finished or the time of the time packet exceeds the input unloading time period range; when unloading according to the file is selected, inquiring the initial address of the file, if the file in the file attribute is covered, calculating a new initial address of the file and a new size of the file according to the offset address of the covering data, and then unloading the whole file to a specified path from the initial address according to the size of the file.
7. The data offloading method based on IRIG106 standard storage according to claim 3, wherein step 3 is specifically: the optional unloading modes comprise unloading according to time and unloading according to files; when unloading according to time is selected, firstly judging whether the file in the file attribute is covered, if so, judging that the file cannot be unloaded, then inputting a time period for unloading, finally inquiring a time packet in the file, if so, unloading all data after the time packet until the next time packet to a specified path, and continuously judging the next time packet until the file is finished or the time of the time packet exceeds the input unloading time period range; when unloading according to the file is selected, inquiring the initial address of the file, if the file in the file attribute is covered, calculating a new initial address of the file and a new size of the file according to the offset address of the covering data, and then unloading the whole file to a specified path from the initial address according to the size of the file.
8. The data offloading method based on IRIG106 standard storage according to claim 4, characterized in that step 3 specifically is: the optional unloading modes comprise unloading according to time and unloading according to files; when unloading according to time is selected, firstly judging whether the file in the file attribute is covered, if so, judging that the file cannot be unloaded, then inputting a time period for unloading, finally inquiring a time packet in the file, if so, unloading all data after the time packet until the next time packet to a specified path, and continuously judging the next time packet until the file is finished or the time of the time packet exceeds the input unloading time period range; when unloading according to the file is selected, inquiring the initial address of the file, if the file in the file attribute is covered, calculating a new initial address of the file and a new size of the file according to the offset address of the covering data, and then unloading the whole file to a specified path from the initial address according to the size of the file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611140808.5A CN108228195B (en) | 2016-12-12 | 2016-12-12 | Data unloading method based on IRIG106 standard storage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611140808.5A CN108228195B (en) | 2016-12-12 | 2016-12-12 | Data unloading method based on IRIG106 standard storage |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108228195A CN108228195A (en) | 2018-06-29 |
CN108228195B true CN108228195B (en) | 2020-12-29 |
Family
ID=62637894
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611140808.5A Active CN108228195B (en) | 2016-12-12 | 2016-12-12 | Data unloading method based on IRIG106 standard storage |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108228195B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002189621A (en) * | 2000-12-20 | 2002-07-05 | Hitachi Ltd | Back-up method for volume |
CN102511044A (en) * | 2011-09-06 | 2012-06-20 | 华为技术有限公司 | Method for deleting the data and device thereof |
CN105912698A (en) * | 2016-04-25 | 2016-08-31 | 乐视控股(北京)有限公司 | Deletion method and system of data file in disk |
-
2016
- 2016-12-12 CN CN201611140808.5A patent/CN108228195B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002189621A (en) * | 2000-12-20 | 2002-07-05 | Hitachi Ltd | Back-up method for volume |
CN102511044A (en) * | 2011-09-06 | 2012-06-20 | 华为技术有限公司 | Method for deleting the data and device thereof |
CN105912698A (en) * | 2016-04-25 | 2016-08-31 | 乐视控股(北京)有限公司 | Deletion method and system of data file in disk |
Also Published As
Publication number | Publication date |
---|---|
CN108228195A (en) | 2018-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9619512B2 (en) | Memory searching system and method, real-time searching system and method, and computer storage medium | |
CN107885804A (en) | Database synchronization method, application server and computer-readable recording medium | |
CN103916513A (en) | Method and device for recording communication message at communication terminal | |
CN109802684B (en) | Method and device for data compression | |
CN104811645B (en) | A kind of embedded Video data storage method | |
KR20160003682A (en) | Hydration and dehydration with placeholders | |
CN103546698B (en) | A kind of mobile terminal recorded video store method and device | |
CN106155845B (en) | XFS-based file system data reorganization and recovery method | |
CN104331343B (en) | File backup method and system | |
CN111984597A (en) | File storage method, device, equipment and medium | |
CN103593333A (en) | Electronic book document processing method, terminal and electronic equipment | |
CN104599692A (en) | Recording method and device and recording content searching method and device | |
CN106326082B (en) | Method and device for recording log in network system | |
CN106170757A (en) | A kind of date storage method and device | |
CN104834749A (en) | File synchronization method and synchronization system for mobile terminal and PC terminal | |
CN107590162A (en) | The storage method and device of journal file | |
CN106201778B (en) | Information processing method and storage equipment | |
CN107924397A (en) | A kind of file editing method and file editor | |
CN106682021A (en) | Database migration method and device | |
CN108228195B (en) | Data unloading method based on IRIG106 standard storage | |
CN107992763B (en) | Power failure protection method and device for file system | |
US10146844B2 (en) | Data retrieval apparatus, data retrieval program, and data retrieval method | |
CN104834549B (en) | The application file update method and device of mobile terminal | |
CN105827739A (en) | Contact person information synchronization method, device, server and system | |
CN107436848B (en) | Method and device for realizing conversion between user data and compressed data |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221012 Address after: Room S303, Innovation Building, No. 25, Gaoxin 1st Road, Xi'an, Shaanxi 710075 Patentee after: XI'AN XIANGTENG MICROELECTRONICS TECHNOLOGY Co.,Ltd. Address before: No.15, Jinye 2nd Road, Xi'an, Shaanxi 710000 Patentee before: AVIC XI''AN AERONAUTICS COMPUTING TECHNIQUE RESEARCH INSTITUTE |
|
TR01 | Transfer of patent right |