CN113360202B - Wireless unloading method of file recording equipment - Google Patents

Wireless unloading method of file recording equipment Download PDF

Info

Publication number
CN113360202B
CN113360202B CN202010713270.2A CN202010713270A CN113360202B CN 113360202 B CN113360202 B CN 113360202B CN 202010713270 A CN202010713270 A CN 202010713270A CN 113360202 B CN113360202 B CN 113360202B
Authority
CN
China
Prior art keywords
file
recording
wireless
file system
unloading
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
CN202010713270.2A
Other languages
Chinese (zh)
Other versions
CN113360202A (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.)
Guangdong Huasheng Data Solid State Storage Co ltd
Original Assignee
Guangdong Huasheng Data Solid State Storage Co ltd
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 Guangdong Huasheng Data Solid State Storage Co ltd filed Critical Guangdong Huasheng Data Solid State Storage Co ltd
Priority to CN202010713270.2A priority Critical patent/CN113360202B/en
Publication of CN113360202A publication Critical patent/CN113360202A/en
Application granted granted Critical
Publication of CN113360202B publication Critical patent/CN113360202B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a wireless unloading method of file recording equipment, which relates to the technical field of file recording equipment, and comprises the following steps: the data storage device is mounted under a Linux system in a self-defined file system format, the SFTP service takes a mounting point of the self-defined file system as a shared directory, the SFTP shared service is created, the recording device and the unloading device are both accessed to a local area network in a wireless mode, the unloading device accesses the SFTP shared established by the recording device, and the unloading device is connected to the recording device through a standard SFTP protocol to realize data unloading. The invention converts the customized file system of the file recording equipment, so that the system can provide standard file transmission service, the file is sent to the uninstaller or the server through the wireless module, the kernel mode file system module is newly added, and a simple and easy-to-use engineering environment is provided for staff through the wireless unloading of the customized file system by the software and hardware collaborative design, so that the usability and the flexibility are greatly improved.

Description

Wireless unloading method of file recording equipment
Technical Field
The invention relates to the technical field related to file recording equipment, in particular to a wireless unloading method of file recording equipment.
Background
The file recording device is widely applied in the field of aviation, such as an flying data acquisition and storage system. When the file recording equipment is used for data unloading, a complex special unloading equipment is required for dumping or data analysis, the file unloading difficulty is mainly embodied in two aspects, firstly, the portability of the unloading equipment is that a special unloading kit comprising an unloading box, unloading software and the like is required to be developed aiming at the self-defined file system recording equipment; and secondly, the connection mode of the unloading device and the storage device.
The existing file recording device is used for data unloading, and the storage device and the unloading device are used for data transmission in a physical connection mode, so that the data unloading has problems in terms of usability and flexibility.
Therefore, it is necessary to provide a wireless unloading method of the file recording apparatus to solve the above-mentioned problems.
Disclosure of Invention
(One) solving the technical problems
Aiming at the defects of the prior art, the invention provides a wireless unloading method of file recording equipment, which solves the problems that the existing file recording equipment is used for unloading data, the storage equipment and the unloading equipment are used for transmitting the data in a physical connection mode, and the usability and flexibility of the data unloading are poor.
(II) technical scheme
In order to achieve the above purpose, the invention is realized by the following technical scheme:
A method of wireless offloading of a file recording apparatus, comprising the steps of:
a: the data storage device is mounted under a Linux system in a custom file system format;
B: the SFTP service takes a mounting point of a custom file system as a shared directory, and creates SFTP shared service;
c: the recording device and the unloading device are both accessed to the local area network in a wireless mode, the unloading device accesses the SFTP sharing established by the recording device, and the unloading device is connected to the recording device through a standard SFTP protocol to realize data unloading;
the Linux system comprises an application layer, a VFS, a kernel mode file system and a driving layer, wherein the kernel mode file system module is in butt joint with the VFS layer and the driving layer to finish instruction conversion.
Optionally, the data storage device is composed of a file recording device, a CPU and a wireless module, the CPU is connected with the file recording device, a transmission protocol is determined by the file recording device, the CPU runs a Linux system, custom-defined to standard protocol conversion is completed in a driving layer, the built-in CPU is arranged in the file recording device, the wireless module is a standard WIFI module, data converted by a kernel mode file system provides standard file transmission service, and the wireless module provides wireless access service to the outside.
Optionally, the file recording device includes a recording disk, the space of the recording disk is divided into an MBR, an entry area and a data area, the MBR occupies a fixed LBA address, and the file system records the start and end addresses of entries, the start and end addresses of the data area, the supported maximum file number and the supported stripe size.
Optionally, the table entry area is divided into a primary table, a primary table backup, a secondary table and a secondary table backup, wherein the primary table is used for recording the start and end numbers of the secondary table entries, and each entry of the secondary table represents a file and is used for recording the time, the file name, the file size, the start address and the end address information of the file.
Optionally, the storage mode of the recording disk is sequential storage.
Optionally, the file reading mode of the recording disk is: according to the initial address and offset length of the file, the storage address of the data is obtained, the write operation of the file is supported for adding and writing the last file, when the data is written, the end logical address of the last file is directly allocated, and then the secondary table and the primary table are modified according to the write length.
Optionally, the Super Block information of the custom file system corresponds to the MBR and the primary table, the inode information in the VFS corresponds to the secondary table information, when the custom file system is mounted, basic information of the file system is obtained by reading the MBR and the primary table, then all effective secondary tables are read, all file information is loaded into the system, and meanwhile, disk space occupation data is calculated.
Optionally, the custom file system provides a standard file operation interface, the file recording device and the unloading device realize data transmission through a standard file transmission protocol, the file transmission protocol includes CFS, NFS and SFTP, the file recording device and the unloading device can communicate with each other through a wireless network, and the custom file system can convert read-write and delete instructions initiated by the custom file system to an upper computer into corresponding operations of the custom file system, so as to complete access to the data.
Optionally, the access function of the kernel mode file system module to the custom file system includes: file system initialization, file system formatting, new folders, deleted folders, renamed folders, new files, deleted files, renamed files, overwriting files, additional writing files, file dump, file playback, file directory acquisition, metadata ordering, and metadata retrieval.
(III) beneficial effects
The invention provides a wireless unloading method of file recording equipment, which has the following beneficial effects:
1. According to the invention, the customized file system of the file recording device is converted through the direct cooperation setting of the file recording device, the CPU and the wireless module and the internal software architecture, so that the system can provide standard file transmission service, and the wireless module is used for transmitting the file to an unloader or a server, thereby achieving the effect of wireless control, transmission and unloading and realizing the purpose of high-efficiency and rapid unloading.
2. According to the invention, a kernel mode file system module is added, and a software and hardware collaborative design is adopted, so that a simple and easy-to-use engineering environment is provided for staff in a wireless unloading mode of a user-defined file system, and the usability and flexibility are greatly improved.
3. The invention stores the file in the disk by using a self-defined file system mode, adopts the self-defined file system to record the file, simplifies the hardware topological structure, reduces the cost, designs the simplified file system which meets the actual requirements, ensures the continuous and stable recording performance, enriches the metadata recording and processing functions and improves the data security.
Drawings
FIG. 1 is a schematic diagram of a data storage device in a wireless offloading method of the present invention;
FIG. 2 is a schematic diagram of a Linux system in the wireless offloading method of the present invention;
FIG. 3 is a schematic diagram of a recording disk in the wireless unloading method of the present invention;
FIG. 4 is a schematic diagram of a recording disk read in the wireless offloading method of the present invention;
fig. 5 is a schematic diagram of file transfer in the wireless offloading method of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
According to the invention, as shown in fig. 1-5, a technical scheme is provided:
A method of wireless offloading of a file recording apparatus, comprising the steps of:
a: the data storage device is mounted under a Linux system in a custom file system format;
B: the SFTP service takes a mounting point of a custom file system as a shared directory, and creates SFTP shared service;
c: the recording device and the unloading device are both accessed to the local area network in a wireless mode, the unloading device accesses the SFTP sharing established by the recording device, and the unloading device is connected to the recording device through a standard SFTP protocol to realize data unloading;
the Linux system comprises an application layer, a VFS, a kernel mode file system and a driving layer, wherein the kernel mode file system module is in butt joint with the VFS layer and the driving layer to finish instruction conversion.
As an alternative solution of the invention:
As shown in fig. 1, the data storage device is composed of a file recording device, a CPU and a wireless module, the CPU is connected with the file recording device, a transmission protocol is determined by the file recording device, the CPU runs a Linux system, custom-to-standard protocol conversion is completed in a driving layer, the built-in CPU is arranged in the file recording device, the wireless module is a standard WIFI module, data converted by a kernel mode file system provides standard file transmission service, and the wireless module provides wireless access service to the outside.
As an alternative solution of the invention:
As shown in fig. 3 and 4, the file recording device includes a recording disk, where the recording disk is stored sequentially, the space of the recording disk is divided into an MBR, an entry area and a data area, the MBR occupies a fixed LBA address, and the starting and ending address of each entry in the recording file system, the starting and ending address of the data area, the maximum number of supported files and the stripe size, the entry area is divided into a primary table, a primary table backup, a secondary table and a secondary table backup, the primary table is used for recording the starting and ending numbers of the secondary entries, each entry of the secondary table represents a file, and the file reading mode of the recording disk is as follows: according to the initial address and offset length of the file, the storage address of the data is obtained, the write operation of the file is supported for adding and supporting the writing of the last file, when the data is written, the end logical address of the last file is directly allocated, then the second-level table and the first-level table are modified according to the writing length, super Block information of a custom file system corresponds to MBR and the first-level table, inode information in VFS corresponds to the second-level table information, when the custom file system is mounted, basic information of the file system is obtained by reading the MBR and the first-level table, then all effective second-level tables are read, all file information is loaded into the system, and meanwhile the occupied data of a disk space is calculated.
As an alternative solution of the invention:
As shown in fig. 5, the custom file system provides a standard file operation interface, the file recording device and the unloading device realize data transmission through a standard file transmission protocol, the file transmission protocol includes CFS, NFS and SFTP, the file recording device and the unloading device can communicate with each other through a wireless network, and the custom file system initiates reading, writing and deleting instructions to the upper computer, converts the reading, writing and deleting instructions to the corresponding operation of the custom file system, and completes access to the data.
As an alternative solution of the invention:
The access function of the kernel mode file system module to the custom file system comprises the following steps: file system initialization, file system formatting, new folders, deleted folders, renamed folders, new files, deleted files, renamed files, overwriting files, additional writing files, file dump, file playback, file directory acquisition, metadata ordering, and metadata retrieval.
To sum up: according to the wireless unloading method of the file recording device, the customized file system of the file recording device is converted through direct matching setting of the file recording device, the CPU and the wireless module and an internal software architecture, so that the system can provide standard file transmission service, the wireless module is used for sending files to an unloading machine or a server to achieve the effect of wireless control, transmission and unloading, the purpose of efficient and rapid unloading is achieved, a kernel-state file system module is newly added, a simple and easy-to-use engineering environment is provided for workers through software and hardware collaborative design, the usability and flexibility are greatly improved through a mode of wireless unloading the customized file system, the files are stored in a disk through the customized file system, file recording is carried out through the customized file system, the hardware topology structure is simplified, the cost is reduced, the design of the simplified file system meeting the actual requirements is guaranteed, the continuous and stable recording performance is ensured, the metadata recording and processing functions are enriched, and the data security is improved.
Finally, it should be noted that: the foregoing description is only illustrative of the preferred embodiments of the present invention, and although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described, or equivalents may be substituted for elements thereof, and any modifications, equivalents, improvements or changes may be made without departing from the spirit and principles of the present invention.

Claims (6)

1. A method of wireless offloading of a file recording apparatus, comprising the steps of:
a: the data storage device is mounted under a Linux system in a custom file system format;
B: the SFTP service takes a mounting point of a custom file system as a shared directory, and creates SFTP shared service;
C: the file recording device and the unloading device are connected to a local area network in a wireless mode, the unloading device accesses SFTP sharing established by the file recording device, and the unloading device is connected to the file recording device through a standard SFTP protocol to realize data unloading;
The Linux system comprises an application layer, a VFS, a kernel-mode file system and a driving layer, wherein the kernel-mode file system module is in butt joint with the VFS layer and the driving layer to finish instruction conversion;
The data storage device consists of file recording equipment, a CPU and a wireless module;
the file recording device internally comprises a recording disk;
the file reading mode of the recording disk is as follows: according to the initial address and offset length of the file, the storage address of the data is obtained, the addition is supported for the writing operation of the file, the writing of the last file is supported, when the data is written, the ending logical address of the last file is directly allocated, and then the secondary table and the primary table are modified according to the writing length;
The CPU is connected with the file recording equipment, the transmission protocol is determined by the file recording equipment, the CPU runs the Linux system, custom-to-standard protocol conversion is completed in a drive layer of the Linux system of the CPU of the data storage equipment, the built-in CPU is arranged in the file recording equipment, the wireless module is a standard WIFI module, data converted by the kernel mode file system provides standard file transmission service, and the wireless module provides wireless access service for the outside;
The space of the recording disk is divided into an MBR, an item area and a data area, the MBR occupies a fixed LBA address, and the starting and ending addresses of all items in the file system, the starting and ending addresses of the data area, the supported maximum file number and the stripe size are recorded.
2. A method of wireless offloading of a document recording device according to claim 1, wherein:
The table entry area is divided into a primary table, a primary table backup, a secondary table and a secondary table backup, wherein the primary table is used for recording the initial and final numbers of the secondary table entries, and each entry of the secondary table represents a file and is used for recording the time, the file name, the file size, the initial address and the final address information of the file.
3. A method of wireless offloading of a document recording device according to claim 1, wherein:
The storage mode of the recording disk is sequential storage.
4. A method of wireless offloading of a document recording device according to claim 1, wherein:
And when the custom file system is mounted, basic information of the file system is obtained by reading the MBR and the primary table, then reading all effective secondary tables, loading all file information into the system, and simultaneously calculating disk space occupation data.
5. A method of wireless offloading of a document recording device according to claim 1, wherein:
The self-defined file system provides a standard file operation interface, the file recording equipment and the unloading equipment realize data transmission through a standard file transmission protocol, the file transmission protocol comprises CFS, NFS and SFTP, the file recording equipment and the unloading equipment can communicate with each other through a wireless network, and the self-defined file system converts read-write and delete instructions initiated by the upper computer into corresponding operations of the self-defined file system to finish access to the data.
6. A method of wireless offloading of a document recording device according to claim 1, wherein:
the access function of the kernel mode file system module to the user-defined file system comprises the following steps: file system initialization, file system formatting, new folders, deleted folders, renamed folders, new files, deleted files, renamed files, overwriting files, additional writing files, file dump, file playback, file directory acquisition, metadata ordering, and metadata retrieval.
CN202010713270.2A 2020-07-22 2020-07-22 Wireless unloading method of file recording equipment Active CN113360202B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010713270.2A CN113360202B (en) 2020-07-22 2020-07-22 Wireless unloading method of file recording equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010713270.2A CN113360202B (en) 2020-07-22 2020-07-22 Wireless unloading method of file recording equipment

Publications (2)

Publication Number Publication Date
CN113360202A CN113360202A (en) 2021-09-07
CN113360202B true CN113360202B (en) 2024-06-04

Family

ID=77524385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010713270.2A Active CN113360202B (en) 2020-07-22 2020-07-22 Wireless unloading method of file recording equipment

Country Status (1)

Country Link
CN (1) CN113360202B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092995A (en) * 2013-02-21 2013-05-08 用友软件股份有限公司 Data unloading device and data unloading method
CN103561050A (en) * 2013-09-25 2014-02-05 深圳市共进电子股份有限公司 File sharing service system based on home gateway
CN104391811A (en) * 2014-11-28 2015-03-04 成都中远信电子科技有限公司 Miniature airborne data recording device and data recording and uninstalling method thereof
CN105228710A (en) * 2013-01-17 2016-01-06 索尼电脑娱乐公司 Messaging device and file management method
CN105302689A (en) * 2014-07-24 2016-02-03 研祥智能科技股份有限公司 Intelligent management method and apparatus for computer system
CN105528221A (en) * 2014-09-28 2016-04-27 深圳Tcl数字技术有限公司 Electronic device reset processing method and apparatus
CN106302617A (en) * 2015-06-11 2017-01-04 阿里巴巴集团控股有限公司 It is applied to data processing method and the equipment of calculating equipment
CN106559392A (en) * 2015-09-28 2017-04-05 北京神州泰岳软件股份有限公司 A kind of file sharing method, device and system
CN107071060A (en) * 2017-05-27 2017-08-18 北京思特奇信息技术股份有限公司 A kind of SFTP files transmitting method and system
CN109343799A (en) * 2018-09-28 2019-02-15 中国电子科技集团公司第五十二研究所 It is a kind of to continue superfast data loader system
CN110550229A (en) * 2018-06-01 2019-12-10 霍尼韦尔国际公司 System and method for generating an environmental control system health report for an aircraft
CN110650164A (en) * 2018-06-26 2020-01-03 马上消费金融股份有限公司 File uploading method and device, terminal and computer storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7308569B2 (en) * 2003-08-01 2007-12-11 American Megatrends, Inc. Method and system for specifying the boot order of mass storage devices in a computer system
US8346915B2 (en) * 2009-05-04 2013-01-01 Qualcomm Incorporated System and method of recording and sharing mobile application activities
US20150180926A1 (en) * 2013-12-19 2015-06-25 Bloomberg Finance L.P. System and method for streaming ftp data to client applications
US9940099B2 (en) * 2014-01-03 2018-04-10 Oath Inc. Systems and methods for content processing
US10673697B2 (en) * 2016-03-13 2020-06-02 Cisco Technology, Inc. Bridging configuration changes for compliant devices
JP7087420B2 (en) * 2018-02-02 2022-06-21 富士通株式会社 Processing program and event processing method

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105228710A (en) * 2013-01-17 2016-01-06 索尼电脑娱乐公司 Messaging device and file management method
CN103092995A (en) * 2013-02-21 2013-05-08 用友软件股份有限公司 Data unloading device and data unloading method
CN103561050A (en) * 2013-09-25 2014-02-05 深圳市共进电子股份有限公司 File sharing service system based on home gateway
CN105302689A (en) * 2014-07-24 2016-02-03 研祥智能科技股份有限公司 Intelligent management method and apparatus for computer system
CN105528221A (en) * 2014-09-28 2016-04-27 深圳Tcl数字技术有限公司 Electronic device reset processing method and apparatus
CN104391811A (en) * 2014-11-28 2015-03-04 成都中远信电子科技有限公司 Miniature airborne data recording device and data recording and uninstalling method thereof
CN106302617A (en) * 2015-06-11 2017-01-04 阿里巴巴集团控股有限公司 It is applied to data processing method and the equipment of calculating equipment
CN106559392A (en) * 2015-09-28 2017-04-05 北京神州泰岳软件股份有限公司 A kind of file sharing method, device and system
CN107071060A (en) * 2017-05-27 2017-08-18 北京思特奇信息技术股份有限公司 A kind of SFTP files transmitting method and system
CN110550229A (en) * 2018-06-01 2019-12-10 霍尼韦尔国际公司 System and method for generating an environmental control system health report for an aircraft
CN110650164A (en) * 2018-06-26 2020-01-03 马上消费金融股份有限公司 File uploading method and device, terminal and computer storage medium
CN109343799A (en) * 2018-09-28 2019-02-15 中国电子科技集团公司第五十二研究所 It is a kind of to continue superfast data loader system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
安全文件共享的实现;薛民华 等;网络安全和信息化;20200430(第4期);第133页-第136页 *

Also Published As

Publication number Publication date
CN113360202A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
US6275910B1 (en) Storage device and method for data sharing
US7546307B2 (en) Virtual block storage to filesystem translator
US20070112891A1 (en) Converting file-systems that organize and store data for computing systems
US8688945B2 (en) Endless memory
KR101369813B1 (en) Accessing, compressing, and tracking media stored in an optical disc storage system
TW200805394A (en) Memory storage device and the read/write method thereof
JPWO2009107393A1 (en) Access device, information recording device, controller, and information recording system
JP2013521588A (en) Endless memory
CN108255938A (en) A kind of airborne Embedded Main Memory Database image generation and loading method
JPH11184639A (en) Computer system
JP4755487B2 (en) DATA READING SYSTEM, DATA READING DEVICE, AND DATA READING METHOD
JP4401863B2 (en) Storage system
CN107273306A (en) A kind of digital independent of solid state hard disc, method for writing data and solid state hard disc
CN113360202B (en) Wireless unloading method of file recording equipment
JPH0448250B2 (en)
US6499056B1 (en) First host computer through a first interface sending to a second host computer a message including information about transfer data written to a storage subsystem through a second interface
US20060107002A1 (en) Method, system, and program for an adaptor to read and write to system memory
US6532513B1 (en) Information recording and reproduction apparatus
US20170286442A1 (en) File system support for file-level ghosting
US9841930B2 (en) Storage control apparatus and storage control method
US20200319985A1 (en) Synchronizing data writes
CN115964350A (en) File system management model and system
US11507320B2 (en) USB based cloud disk and disk segment management system
JP2774691B2 (en) File system
JP2009205591A (en) Access module, information recording module, and information recording system

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