CN113763596B - Airborne heterogeneous network data recording method - Google Patents

Airborne heterogeneous network data recording method Download PDF

Info

Publication number
CN113763596B
CN113763596B CN202111037061.1A CN202111037061A CN113763596B CN 113763596 B CN113763596 B CN 113763596B CN 202111037061 A CN202111037061 A CN 202111037061A CN 113763596 B CN113763596 B CN 113763596B
Authority
CN
China
Prior art keywords
data
heterogeneous network
module
network data
bus
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
CN202111037061.1A
Other languages
Chinese (zh)
Other versions
CN113763596A (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.)
Tianjin Jinhang Computing Technology Research Institute
Original Assignee
Tianjin Jinhang Computing Technology 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 Tianjin Jinhang Computing Technology Research Institute filed Critical Tianjin Jinhang Computing Technology Research Institute
Priority to CN202111037061.1A priority Critical patent/CN113763596B/en
Publication of CN113763596A publication Critical patent/CN113763596A/en
Application granted granted Critical
Publication of CN113763596B publication Critical patent/CN113763596B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • G07C5/085Registering performance data using electronic data carriers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/4028Bus for use in transportation systems the transportation system being an aircraft

Abstract

The invention belongs to the technical field of computers, and particularly relates to an airborne heterogeneous network data recording method, which is implemented based on an airborne heterogeneous network data recording system, wherein the system comprises: the device comprises a data acquisition module, a data transmission module and a data recording module. The method can collect and record bus data and key signals in the airborne heterogeneous network in real time, completes the inspection of internal hardware of the equipment through a power-on self-inspection mechanism, ensures that the equipment has enough storage space to store data each time by utilizing space management during power-on, provides reliable real-time data storage service by adopting a redundant writing mechanism, and provides a basis for problems occurring in the flight training process of the airplane through data playback display on the ground.

Description

Airborne heterogeneous network data recording method
Technical Field
The invention belongs to the technical field of computers, and particularly relates to an airborne heterogeneous network data recording method.
Background
In the flight process of the airplane, airborne equipment is interconnected through various buses, various types of data are correspondingly generated, and various types of data interacted between the airborne equipment in the flight process need to be recorded in order to facilitate data processing after flight and analysis on performance and faults of the airborne equipment. Because the types and formats of buses interconnected with airborne equipment of the airplane are not uniform, the network environment is abnormal and complex, and the data volume to be recorded is large, a method for recording airborne heterogeneous network data, which has uniform data format and high reliability and is convenient for data analysis after flight, is urgently needed.
Disclosure of Invention
Technical problem to be solved
The technical problem to be solved by the invention is as follows: how to provide an onboard heterogeneous network data recording method.
(II) technical scheme
In order to solve the technical problems, the invention provides an airborne heterogeneous network data recording method, which is implemented based on an airborne heterogeneous network data recording system, wherein the airborne heterogeneous network topology operated by the airborne heterogeneous network data recording system comprises a plurality of airborne devices and recording devices; three communication networks are arranged among the airborne equipment 1, the airborne equipment N and the recording equipment, wherein the three communication networks are respectively an FC bus network, a 485 bus network and an Ethernet network;
the onboard heterogeneous network data recording system runs in recording equipment and comprises the following modules: the data acquisition module, the data transmission module and the data recording module;
the data acquisition module comprises: the system comprises an FC bus preprocessing module, a 485 bus preprocessing module and an Ethernet preprocessing module; the data acquisition module completes self-check of the onboard equipment, the CPU, the memory and the memory card of the recording equipment through read-write access; the data acquisition module acquires and quantizes the heterogeneous network data, decrypts the encrypted and transmitted data, encodes the heterogeneous network data according to a fixed frame format to complete preprocessing, and sends the preprocessed heterogeneous network data to the data recording module through the data transmission module; wherein the heterogeneous network data comprises network data of three network types;
the data transmission module includes: the system comprises an FC bus transmission module, a 485 bus transmission module and an Ethernet transmission module; the data transmission module is used for completing network initialization operation and providing a heterogeneous network data transmission channel and a data verification interface for the data acquisition module and the data recording module;
the data recording module comprises: the device comprises a data receiving module, a format conversion module and a storage module; the data recording module is used for completing the functions of receiving heterogeneous network data, converting data formats and storing data; the data receiving module receives the heterogeneous network data transmitted by the data transmission module in real time and writes data streams of the heterogeneous network data into a data circular buffer area; creating a storage directory and a storage file by acquiring real-time sent by a data acquisition module, performing format conversion on data of a data stream in a data circulation buffer area by a format conversion module, and writing the data into the storage file by the storage module according to the classification of FC bus network data, 485 bus network data, ethernet network data and log data;
based on the onboard heterogeneous network data recording system, the onboard heterogeneous network data recording method comprises the following steps:
step 1: powering on the airborne equipment and the recording equipment, starting an airborne heterogeneous network data recording system, and then configuring and connecting an airborne heterogeneous network, wherein the airborne heterogeneous network comprises an FC network, a 485 bus network and an Ethernet network;
and 2, step: the data transmission module completes network initialization operation and creates a data transmission and verification interface;
and 3, step 3: the data acquisition module completes equipment self-checking and sends real-time to the data recording module through the data transmission module;
and 4, step 4: the data recording module completes hard disk initialization and creates a storage directory according to real-time;
and 5: the data acquisition module acquires and verifies the heterogeneous network data to finish the preprocessing of the heterogeneous network data;
step 6: the data transmission module sends the preprocessed heterogeneous network data to the data recording module in real time;
and 7: the data recording module writes the network data and the log data in the received heterogeneous network data into a storage file of a storage directory in real time;
and 8: after the flight is finished, ground personnel read through the unloader, and stored airborne data is decoded and output through data playback display, so that the flight related personnel can use and analyze the data.
Wherein the network initialization operation comprises: three network types of network parameter loading, role and channel setup, address setup, and ring buffer creation.
In step 8, the output mode after decoding includes: and converting into a table, a curve and a three-dimensional simulation form for displaying or printing.
In step 2, the FC bus transmission module, the 485 bus transmission module, and the ethernet transmission module of the data transmission module correspondingly perform the following sub-steps according to the type of the airborne heterogeneous network:
step 21: loading network parameters;
step 22: carrying out initialization configuration on an Ethernet, an FC bus and a 485 bus;
step 23: and creating a data transmission and verification interface.
Wherein, the step 3 comprises the following substeps:
step 31: self-checking is carried out on airborne equipment and recording equipment; self-checking of onboard equipment, a CPU (central processing unit), an internal memory and a storage card of recording equipment on a heterogeneous network is completed through read-write access, the opening operation of a hard disk is completed, an index file is created, the spare capacity of the hard disk is detected, and an earliest file record is deleted when the space is found to be smaller than a set proportion;
step 32: judging whether the self-checking of the equipment is normally finished, if the self-checking is finished, switching to a step 33, and if the self-checking is not finished, switching to a step 31 again for re-self-checking;
step 33: and sending the real-time to a data recording module through a data transmission module.
Wherein, the step 4 comprises the following substeps:
step 41: initializing a hard disk; after the hard disk is powered on and reset, a fixed clock period is delayed, a write protection signal is output, then an initialization effective signal is generated, a hard disk bad block table is searched, page searching is carried out after the searching is finished, a base address capable of carrying out write operation on the hard disk is obtained, and the hard disk initialization is finished after the searching is finished;
step 42: the data receiving module acquires the real-time acquired by the data acquisition module;
step 43: if the data receiving module successfully acquires the real-time, the step 44 is carried out, and if the real-time is not acquired, the step 42 is carried out again to acquire again; if the real-time acquisition within the fixed time interval is unsuccessful, using the local time;
step 44: and if the data receiving module successfully acquires the real-time, the real-time is used as the folder name to create the storage directory, otherwise, the local time is used as the storage directory, and then the storage file and the log file are created.
Wherein, the step 5 comprises the following substeps:
step 51: one, two or all of the FC bus preprocessing module, the 485 bus preprocessing module and the Ethernet preprocessing module correspondingly acquire FC bus, 485 bus and Ethernet data; receiving bus and network data through interruption, putting the data into different temporary buffer areas according to different network data types to form heterogeneous network data, and waiting for preprocessing the heterogeneous network data;
step 52: completing the preprocessing of heterogeneous network data; firstly, decrypting acquired heterogeneous network data according to a known secret key, then performing verification calculation on the decrypted heterogeneous network data, comparing the decrypted heterogeneous network data with a verification bit of the decrypted heterogeneous network data, judging whether the heterogeneous network data is correctly transmitted, discarding the data of the packets if the data of the heterogeneous network data is incorrect, and finally encoding the correct heterogeneous network data according to a fixed frame format;
step 52: and sending the preprocessed heterogeneous network data.
In step 6, the FC bus transmission module, the 485 bus transmission module, and the ethernet transmission module of the data transmission module respectively transmit heterogeneous network data to the data recording module through corresponding networks according to the type of the airborne heterogeneous network.
Wherein, the step 7 comprises the following substeps:
step 71: the data receiving module receives heterogeneous network data in real time;
step 72: if the new heterogeneous network data comes, the data receiving module writes the new heterogeneous network data into a data circular buffer area and updates a data buffer area pointer;
step 73: the format conversion module analyzes the heterogeneous network data of the data circular buffer area, searches the header mark of the data packet and obtains the length of the data packet; reading data content according to the length of the data packet, and converting the data format;
step 74: and the storage module writes the heterogeneous network data into the corresponding storage file in a classified manner.
In step 74, in order to ensure reliable data storage, a redundant write mechanism is adopted to write the recorded heterogeneous network data into the two local hard disks, and each hard disk writes the heterogeneous network data into sectors 1 to N according to different data types; even if one hard disk fails, data can be read through the second hard disk.
(III) advantageous effects
Compared with the prior art, the onboard heterogeneous network data recording system can acquire and record bus data in an onboard heterogeneous network in real time, completes the inspection of internal hardware of equipment through a power-on self-inspection mechanism, ensures that the equipment has enough storage space to store data each time by utilizing space management during power-on, provides reliable data real-time storage service by adopting a redundant storage mechanism, and provides a basis for problems occurring in the flight training process of an airplane through data playback and display on the ground.
Drawings
Fig. 1 is a network topology diagram of the present invention.
FIG. 2 is a diagram of the software architecture of the present invention.
FIG. 3 is a flow chart of the operation of the data recording system of the present invention.
FIG. 4 is a flow chart of the data acquisition module operation of the present invention.
Fig. 5 is a flowchart of the operation of the data transmission module according to the present invention.
FIG. 6 is a flow chart of the data logging module operation of the present invention.
FIG. 7 is a flow chart of the data redundancy storage method of the present invention.
Detailed Description
In order to make the objects, contents, and advantages of the present invention clearer, the following detailed description of the embodiments of the present invention will be made in conjunction with the accompanying drawings and examples.
In order to solve the technical problems, the invention provides an airborne heterogeneous network data recording method, which is implemented based on an airborne heterogeneous network data recording system, wherein the airborne heterogeneous network topology operated by the airborne heterogeneous network data recording system comprises a plurality of airborne devices and recording devices; three communication networks are arranged among the airborne equipment 1, the airborne equipment N and the recording equipment, wherein the three communication networks are respectively an FC bus network, a 485 bus network and an Ethernet network;
the onboard heterogeneous network data recording system runs in recording equipment and comprises the following modules: the data acquisition module, the data transmission module and the data recording module;
the data acquisition module comprises: the system comprises an FC bus preprocessing module, a 485 bus preprocessing module and an Ethernet preprocessing module; the data acquisition module completes self-check of the onboard equipment, the CPU, the memory and the memory card of the recording equipment through read-write access; the data acquisition module acquires and quantizes the heterogeneous network data, decrypts the encrypted and transmitted data, encodes the heterogeneous network data according to a fixed frame format to complete preprocessing, and sends the preprocessed heterogeneous network data to the data recording module through the data transmission module; wherein the heterogeneous network data comprises network data of three network types;
the data transmission module includes: the system comprises an FC bus transmission module, a 485 bus transmission module and an Ethernet transmission module; the data transmission module is used for completing network initialization operation and providing a heterogeneous network data transmission channel and a data verification interface for the data acquisition module and the data recording module;
the data recording module comprises: the device comprises a data receiving module, a format conversion module and a storage module; the data recording module is used for completing the functions of receiving heterogeneous network data, converting data formats and storing data; the data receiving module receives the heterogeneous network data transmitted by the data transmission module in real time and writes data streams of the heterogeneous network data into a data circular buffer area; creating a storage directory and a storage file by acquiring real-time sent by a data acquisition module, performing format conversion on data of a data stream in a data circulation buffer area by a format conversion module, and writing the data into the storage file by the storage module according to the classification of FC bus network data, 485 bus network data, ethernet network data and log data;
based on the onboard heterogeneous network data recording system, the onboard heterogeneous network data recording method comprises the following steps:
step 1: powering on the airborne equipment and the recording equipment, starting an airborne heterogeneous network data recording system, and then configuring and connecting an airborne heterogeneous network, wherein the airborne heterogeneous network comprises an FC network, a 485 bus network and an Ethernet network;
step 2: the data transmission module completes network initialization operation and creates a data transmission and verification interface;
and step 3: the data acquisition module completes equipment self-checking and sends real-time to the data recording module through the data transmission module;
and 4, step 4: the data recording module completes hard disk initialization and creates a storage directory according to real-time;
and 5: the data acquisition module acquires and verifies the heterogeneous network data to finish the preprocessing of the heterogeneous network data;
step 6: the data transmission module sends the preprocessed heterogeneous network data to the data recording module in real time;
and 7: the data recording module writes the network data and the log data in the received heterogeneous network data into a storage file of a storage directory in real time;
and 8: after the flight is finished, ground personnel read through the unloader, and stored airborne data is decoded and output through data playback display, so that the flight related personnel can use and analyze the data.
Wherein the network initialization operation comprises: three network types of network parameter loading, role and channel setup, address setup, and ring buffer creation.
In step 8, the output mode after decoding includes: and converting into a table, a curve and a three-dimensional simulation form for displaying or printing.
In step 2, the FC bus transmission module, the 485 bus transmission module, and the ethernet transmission module of the data transmission module correspondingly perform the following substeps according to the type of the airborne heterogeneous network:
step 21: loading network parameters;
step 22: carrying out initialization configuration on an Ethernet, an FC bus and a 485 bus;
step 23: and creating a data transmission and verification interface.
Wherein, the step 3 comprises the following substeps:
step 31: self-checking is carried out on airborne equipment and recording equipment; self-checking of onboard equipment, a CPU (central processing unit), an internal memory and a storage card of recording equipment on a heterogeneous network is completed through read-write access, the opening operation of a hard disk is completed, an index file is created, the spare capacity of the hard disk is detected, and an earliest file record is deleted when the space is found to be smaller than a set proportion;
step 32: judging whether the self-checking of the equipment is normally finished, if so, switching to a step 33, and if not, switching to a step 31 again for self-checking again;
step 33: and sending the real-time to the data recording module through the data transmission module.
Wherein, the step 4 comprises the following substeps:
step 41: initializing a hard disk; after the hard disk is powered on and reset, a fixed clock period is delayed, a write protection signal is output, then an initialization effective signal is generated, the hard disk bad block table is searched, page searching is carried out after the searching is finished, a base address capable of carrying out write operation on the hard disk is obtained, and the hard disk initialization is finished after the searching is finished;
step 42: the data receiving module acquires the real-time acquired by the data acquisition module;
step 43: if the data receiving module successfully acquires the real-time, the step 44 is carried out, and if the real-time is not acquired, the step 42 is carried out again to acquire again; if the real-time acquisition within the fixed time interval is unsuccessful, using the local time;
and step 44: and if the data receiving module successfully acquires the real-time, the real-time is used as the folder name to create the storage directory, otherwise, the local time is used as the storage directory, and then the storage file and the log file are created.
Wherein, the step 5 comprises the following substeps:
step 51: one, two or all of the FC bus preprocessing module, the 485 bus preprocessing module and the Ethernet preprocessing module correspondingly acquire FC bus, 485 bus and Ethernet data; receiving bus and network data through interruption, putting the data into different temporary buffer areas according to different network data types to form heterogeneous network data, and waiting for preprocessing the heterogeneous network data;
step 52: completing the preprocessing of heterogeneous network data; firstly, decrypting acquired heterogeneous network data according to a known secret key, then performing verification calculation on the decrypted heterogeneous network data, comparing the decrypted heterogeneous network data with a verification bit of the decrypted heterogeneous network data, judging whether the heterogeneous network data is correctly transmitted, discarding the data of the packets if the data of the heterogeneous network data is incorrect, and finally encoding the correct heterogeneous network data according to a fixed frame format;
step 52: and sending the preprocessed heterogeneous network data.
In step 6, the FC bus transmission module, the 485 bus transmission module, and the ethernet transmission module of the data transmission module respectively send heterogeneous network data to the data recording module through corresponding networks according to the types of airborne heterogeneous networks.
Wherein, the step 7 comprises the following substeps:
step 71: the data receiving module receives heterogeneous network data in real time;
step 72: if the new heterogeneous network data comes, the data receiving module writes the new heterogeneous network data into a data circular buffer area and updates a data buffer area pointer;
step 73: the format conversion module analyzes the heterogeneous network data of the data circular buffer area, searches the header mark of the data packet and obtains the length of the data packet; reading data content according to the length of the data packet, and converting the data format;
step 74: and the storage module writes the heterogeneous network data into the corresponding storage file in a classified manner.
In step 74, in order to ensure reliable stored data, a redundant write-in mechanism is adopted to write the recorded heterogeneous network data into the two local hard disks, and each hard disk writes the heterogeneous network data into sectors 1 to N according to different data types; even if one hard disk fails, data can be read through the second hard disk.
In addition, the invention also provides an airborne heterogeneous network data recording system, as shown in fig. 1, the airborne heterogeneous network topology operated by the airborne heterogeneous network data recording system comprises a plurality of airborne devices and recording devices; three communication networks are arranged among the airborne equipment 1, the airborne equipment N and the recording equipment, wherein the three communication networks are respectively an FC bus network, a 485 bus network and an Ethernet network;
the onboard heterogeneous network data recording system operates in recording equipment as shown in the attached figure 2, and comprises the following modules: the data acquisition module, the data transmission module and the data recording module;
the data acquisition module comprises: the system comprises an FC bus preprocessing module, a 485 bus preprocessing module and an Ethernet preprocessing module; the data acquisition module completes self-check of the onboard equipment, the CPU, the memory and the memory card of the recording equipment through read-write access; the data acquisition module acquires and quantizes the heterogeneous network data, decrypts the encrypted and transmitted data, encodes the heterogeneous network data according to a fixed frame format to complete preprocessing, and sends the preprocessed heterogeneous network data to the data recording module through the data transmission module; wherein the heterogeneous network data comprises network data of three network types;
the data transmission module includes: the system comprises an FC bus transmission module, a 485 bus transmission module and an Ethernet transmission module; the data transmission module is used for completing network initialization operation and providing a heterogeneous network data transmission channel and a data verification interface for the data acquisition module and the data recording module;
the data recording module comprises: the device comprises a data receiving module, a format conversion module and a storage module; the data recording module is used for completing the functions of receiving heterogeneous network data, converting data formats and storing data; the data receiving module receives the heterogeneous network data transmitted by the data transmission module in real time and writes data streams of the heterogeneous network data into a data circular buffer area; the method comprises the steps of creating a storage directory and a storage file by acquiring real-time sent by a data acquisition module, carrying out format conversion on data of a data stream in a data circulation buffer area by a format conversion module, and writing the data into the storage file by the storage module according to the classification of FC bus network data, 485 bus network data, ethernet network data and log data.
Wherein the network initialization operation comprises: three network types of network parameter loading, role and channel setup, address setup, and ring buffer creation.
The work flow of the airborne heterogeneous network data recording system is shown in the attached figure 3, and the specific process is as follows:
step 1: powering on the airborne equipment and the recording equipment, starting an airborne heterogeneous network data recording system, and then configuring and connecting an airborne heterogeneous network, wherein the airborne heterogeneous network comprises an FC network, a 485 bus network and an Ethernet network;
step 2: the data transmission module completes network initialization operation and creates a data transmission and verification interface;
and step 3: the data acquisition module completes equipment self-checking and sends real-time to the data recording module through the data transmission module;
and 4, step 4: the data recording module completes hard disk initialization and creates a storage directory according to real-time;
and 5: the data acquisition module acquires and verifies the heterogeneous network data to finish the preprocessing of the heterogeneous network data;
step 6: the data transmission module sends the preprocessed heterogeneous network data to the data recording module in real time;
and 7: the data recording module writes network data and log data in the received heterogeneous network data into a storage file of a storage directory in real time;
and 8: after the flight is finished, ground personnel read through the unloader, and stored airborne data is decoded and output through data playback display, so that the flight related personnel can use and analyze the data.
In step 8, the output mode after decoding includes: and converting into a table, a curve and a three-dimensional simulation form for displaying or printing.
The work flow of the data transmission module is as shown in fig. 5, in step 2, the FC bus transmission module, the 485 bus transmission module, and the ethernet transmission module of the data transmission module correspondingly perform the following sub-steps according to the type of the airborne heterogeneous network:
step 21: loading network parameters;
step 22: carrying out initialization configuration on an Ethernet, an FC bus and a 485 bus;
step 23: and creating a data transmission and verification interface.
The workflow of the data acquisition module is as shown in fig. 4, and the step 3 includes the following substeps:
step 31: self-checking is carried out on airborne equipment and recording equipment; self-checking of onboard equipment, a CPU (central processing unit), an internal memory and a storage card of recording equipment on a heterogeneous network is completed through read-write access, the opening operation of a hard disk is completed, an index file is created, the spare capacity of the hard disk is detected, and an earliest file record is deleted when the space is found to be smaller than a set proportion;
step 32: judging whether the self-checking of the equipment is normally finished, if the self-checking is finished, switching to a step 33, and if the self-checking is not finished, switching to a step 31 again for re-self-checking;
step 33: and sending the real-time to the data recording module through the data transmission module.
The workflow of the data recording module is as shown in fig. 6, and step 4 includes the following substeps:
step 41: initializing a hard disk; after the hard disk is powered on and reset, a fixed clock period is delayed, a write protection signal is output, then an initialization effective signal is generated, a hard disk bad block table is searched, page searching is carried out after the searching is finished, a base address capable of carrying out write operation on the hard disk is obtained, and the hard disk initialization is finished after the searching is finished;
step 42: the data receiving module acquires the real-time acquired by the data acquisition module;
step 43: if the data receiving module successfully acquires the real-time, the step 44 is carried out, and if the real-time is not acquired, the step 42 is carried out again to acquire again; if the real-time acquisition within the fixed time interval is unsuccessful, using the local time;
step 44: and if the data receiving module successfully acquires the real-time, the real-time is used as the folder name to create the storage directory, otherwise, the local time is used as the storage directory, and then the storage file and the log file are created.
Wherein, the step 5 comprises the following substeps:
step 51: one, two or all of the FC bus preprocessing module, the 485 bus preprocessing module and the Ethernet preprocessing module correspondingly acquire FC bus, 485 bus and Ethernet data; receiving bus and network data through interruption, putting the data into different temporary buffer areas according to different network data types to form heterogeneous network data, and waiting for preprocessing the heterogeneous network data;
step 52: completing the preprocessing of heterogeneous network data; firstly, decrypting acquired heterogeneous network data according to a known secret key, then performing verification calculation on the decrypted heterogeneous network data, comparing the decrypted heterogeneous network data with a verification bit of the decrypted heterogeneous network data, judging whether the heterogeneous network data is correctly transmitted, discarding the data of the packets if the data of the heterogeneous network data is incorrect, and finally encoding the correct heterogeneous network data according to a fixed frame format;
step 52: and sending the preprocessed heterogeneous network data.
In step 6, the FC bus transmission module, the 485 bus transmission module, and the ethernet transmission module of the data transmission module respectively transmit heterogeneous network data to the data recording module through corresponding networks according to the type of the airborne heterogeneous network.
Wherein, the step 7 comprises the following substeps:
step 71: the data receiving module receives heterogeneous network data in real time;
step 72: if the new heterogeneous network data comes, the data receiving module writes the new heterogeneous network data into a data circular buffer area and updates a data buffer area pointer;
step 73: the format conversion module analyzes the heterogeneous network data of the data circular buffer area, searches the header mark of the data packet and obtains the length of the data packet; reading data content according to the length of the data packet, and converting the data format;
step 74: the storage module writes the heterogeneous network data into corresponding storage files in a classified manner; in order to ensure reliable data storage, a redundancy write-in mechanism is adopted to write the recorded heterogeneous network data into two local hard disks respectively, and each hard disk writes the heterogeneous network data into sectors 1 to N according to different data types; even if one hard disk fails, data can be read through the second hard disk, and the specific flow is shown in fig. 7.
Example 1
The topology of the airborne heterogeneous network related to the embodiment is shown in fig. 1, three communication networks are arranged among airborne equipment 1, airborne equipment N and recording equipment, wherein the three communication networks are respectively an FC bus network, a 485 bus network and an Ethernet network, and the airborne heterogeneous network data recording system provided by the invention runs on the airborne recording equipment.
The software architecture of the onboard heterogeneous network data recording system is shown in the attached figure 2 and comprises the following modules: the device comprises a data acquisition module, a data transmission module and a data recording module.
The data acquisition module comprises an FC bus preprocessing module, a 485 bus preprocessing module and an Ethernet preprocessing module, and completes self-checking on a CPU (central processing unit), a memory and a storage card of the device through read-write access; the bus data in the heterogeneous network is collected and quantized through the data transmission module, the data needs to be decrypted due to encryption transmission, then the data is coded according to a fixed frame format, and the preprocessed data is sent to the data recording module through the data transmission module.
The data transmission module comprises an FC bus transmission module, a 485 bus transmission module and an Ethernet transmission module, and the data transmission module mainly completes network initialization operations of three types of network parameter loading, role and channel setting, address setting, annular buffer creation and the like. The data transmission module provides a data transmission channel and a data verification interface for the data acquisition module and the data recording module.
The data recording module comprises a data receiving module, a format conversion module and a storage module, and the data recording module mainly completes the functions of receiving heterogeneous network data, converting data formats and storing data. The data recording module receives the network data transmitted by the data transmission module in real time and writes the network data into the data circular buffer area; the method comprises the steps of creating a storage directory and a storage file by acquiring real-time sent by a data acquisition module, performing format conversion on data of a data stream in a data circulation buffer area, and writing the data into the storage file according to the classification of FC network data, 485 network data, ethernet network data and log data.
The working process of the airborne heterogeneous network data recording system is shown in the attached figure 3, and the specific process is as follows: the method comprises the steps of firstly powering on equipment, starting a system, then carrying out network configuration and connection, wherein the network configuration comprises an FC network, an Ethernet and a 485 bus network, then carrying out bus data acquisition and verification by a data acquisition module, writing received network data and log data into a storage file in real time by a data recording module, reading the network data and the log data by ground personnel through an unloader after the flight is finished, and displaying the stored airborne data in a decoding and converting mode such as a form, a curve and three-dimensional simulation or printing output through data playback so as to be used and analyzed by flight related personnel.
The work flow of the data acquisition module is shown in fig. 4, and the specific flow is as follows:
1) And (4) self-checking the equipment. The self-checking of the equipment completes the self-checking of a CPU, a memory and a storage card of the equipment through read-write access, completes the opening operation of a hard disk, creates an index file, detects the spare capacity of the hard disk, and deletes the earliest file record when the space is found to be smaller than the set proportion.
2) And judging whether the self-checking of the equipment is normally finished, if the self-checking is finished, switching to the step 3), and if the self-checking is not finished, switching to the step 1) again to perform the self-checking again.
3) And sending the real-time to a data recording module.
4) And collecting FC bus, 485 bus and Ethernet data. And receiving bus and network data through interruption, putting the data into different temporary buffer areas according to different data types, and waiting for data preprocessing.
5) And finishing the preprocessing of the acquired data. Firstly, decrypting acquired data according to a known secret key, then carrying out verification calculation on the decrypted data, comparing with a verification bit of the decrypted data, judging whether the data is transmitted correctly or not, discarding the data of the packet if the data is not transmitted correctly, and finally coding the correct data according to a fixed frame format.
6) And sending the preprocessed data to a data recording module.
The work flow of the data transmission module is shown in fig. 5, and the specific flow is as follows:
1) Loading network parameters
2) Ethernet, FC bus and 485 bus initialization configuration.
3) And creating a data transmission and verification interface.
The work flow of the data recording module is shown in fig. 6, and the specific flow is as follows:
1) And initializing the hard disk. After the hard disk is powered on and reset, a fixed clock period is delayed, a write protection signal is output, then an initialization effective signal is generated, the hard disk bad block table is searched, page searching is carried out after the searching is finished, a base address capable of carrying out write operation on the hard disk is obtained, and the hard disk initialization is finished after the searching is finished.
2) And acquiring the real-time acquired by the data acquisition module.
3) And if the real-time is successfully acquired, switching to the step 4), and if the real-time is not acquired, switching to the step 2) again for re-acquisition. If the fixed time interval acquisition is unsuccessful, then local time is used.
4) And if the real-time is successfully acquired, using the real-time as a folder name to create a storage directory, otherwise, using the local time as the storage directory, and then creating a storage file and a log file.
5) The data is received in real time.
6) If new data comes, step 5) is carried out, otherwise step 4) is carried out.
7) And writing the new data into the data circular buffer area, and updating the pointer of the data buffer area.
8) And analyzing the data in the data circular buffer area, searching the header mark of the data packet and acquiring the length of the data packet. And reading data content according to the length of the data packet, and converting the data format.
9) And writing the data into the corresponding storage file in a classified manner. In order to ensure reliable data storage, a redundancy write-in mechanism is adopted to write the recorded data into two local hard disks respectively, and each hard disk writes the data into sectors 1 to N according to different data types. Even if one hard disk fails, data can be read through the second hard disk, and the specific flow is shown in fig. 7.
Example 2
The embodiment provides an airborne heterogeneous network recording system, and an applicable network of the airborne heterogeneous network recording system comprises three network data channels, namely an FC network, a 485 bus network and an ethernet network.
The system comprises a data acquisition module, a data transmission module and a data recording module.
The data acquisition module completes self-checking on a CPU, a memory and a storage card of the equipment through read-write access, completes checking on hardware inside the equipment through a power-on self-checking mechanism, ensures that the power-on equipment has enough storage space to store data each time by utilizing space management during power-on, acquires and quantizes bus data in a heterogeneous network through the data transmission module, and sends the preprocessed data to the data recording module through the data transmission module.
The data transmission module mainly completes three types of network parameter loading, role and channel setting, address setting, ring buffer creation and other network initialization operations. The data transmission module provides a data transmission channel and a data verification interface for the data acquisition module and the data recording module.
The data recording module mainly completes the functions of receiving heterogeneous network data, converting data formats and storing data, and in order to ensure reliable data storage, a redundancy writing mechanism is adopted to write the recorded data into two local hard disks respectively, and each hard disk writes the data into different sectors according to different data types.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (9)

1. The airborne heterogeneous network data recording method is implemented based on an airborne heterogeneous network data recording system, and the airborne heterogeneous network topology where the airborne heterogeneous network data recording system operates comprises a plurality of airborne devices and recording devices; three communication networks are arranged among the airborne equipment 1, the airborne equipment N and the recording equipment, wherein the three communication networks are respectively an FC bus network, a 485 bus network and an Ethernet network;
the onboard heterogeneous network data recording system runs in recording equipment and comprises the following modules: the data acquisition module, the data transmission module and the data recording module;
the data acquisition module comprises: the system comprises an FC bus preprocessing module, a 485 bus preprocessing module and an Ethernet preprocessing module; the data acquisition module completes self-check of the onboard equipment, the CPU, the memory and the memory card of the recording equipment through read-write access; the data acquisition module acquires and quantizes the heterogeneous network data, decrypts the data for the encrypted and transmitted data, codes the heterogeneous network data according to a fixed frame format to complete preprocessing, and sends the preprocessed heterogeneous network data to the data recording module through the data transmission module; wherein the heterogeneous network data comprises network data of three network types;
the data transmission module includes: the system comprises an FC bus transmission module, a 485 bus transmission module and an Ethernet transmission module; the data transmission module is used for completing network initialization operation and providing a heterogeneous network data transmission channel and a data verification interface for the data acquisition module and the data recording module;
the data recording module comprises: the device comprises a data receiving module, a format conversion module and a storage module; the data recording module is used for completing the functions of receiving heterogeneous network data, converting data formats and storing data; the data receiving module receives the heterogeneous network data transmitted by the data transmission module in real time and writes data streams of the heterogeneous network data into a data circular buffer area; creating a storage directory and a storage file by acquiring real-time sent by a data acquisition module, performing format conversion on data of a data stream in a data circulation buffer area by a format conversion module, and writing the data into the storage file by the storage module according to the classification of FC bus network data, 485 bus network data, ethernet network data and log data;
based on the onboard heterogeneous network data recording system, the onboard heterogeneous network data recording method comprises the following steps:
step 1: powering on the airborne equipment and the recording equipment, starting an airborne heterogeneous network data recording system, and then configuring and connecting an airborne heterogeneous network, wherein the airborne heterogeneous network comprises an FC network, a 485 bus network and an Ethernet network;
step 2: the data transmission module completes network initialization operation and creates a data transmission and verification interface;
and 3, step 3: the data acquisition module completes equipment self-checking and sends real-time to the data recording module through the data transmission module;
and 4, step 4: the data recording module completes hard disk initialization and creates a storage directory according to real-time;
and 5: the data acquisition module acquires and verifies the heterogeneous network data to finish the preprocessing of the heterogeneous network data;
step 6: the data transmission module sends the preprocessed heterogeneous network data to the data recording module in real time;
and 7: the data recording module writes network data and log data in the received heterogeneous network data into a storage file of a storage directory in real time;
and 8: after the flight is finished, ground personnel read through the unloader, and stored airborne data are decoded and output through data playback display for use and analysis of flight related personnel;
wherein, the step 5 comprises the following substeps:
step 51: one, two or all of the FC bus preprocessing module, the 485 bus preprocessing module and the Ethernet preprocessing module correspondingly acquire FC bus, 485 bus and Ethernet data; receiving bus and network data through interruption, putting the data into different temporary buffer areas according to different network data types to form heterogeneous network data, and waiting for preprocessing the heterogeneous network data;
step 52: completing the preprocessing of heterogeneous network data; firstly, decrypting acquired heterogeneous network data according to a known secret key, then performing verification calculation on the decrypted heterogeneous network data, comparing the decrypted heterogeneous network data with a verification bit of the decrypted heterogeneous network data, judging whether the heterogeneous network data is transmitted correctly, discarding the heterogeneous network data if the heterogeneous network data is not transmitted correctly, and finally encoding the correct heterogeneous network data according to a fixed frame format;
step 52: and sending the preprocessed heterogeneous network data.
2. The method of claim 1, wherein the network initialization operation comprises: three network types of network parameter loading, role and channel setup, address setup, and ring buffer creation.
3. The method for recording onboard heterogeneous network data according to claim 1, wherein in step 8, the decoded output mode includes: and converting into a table, a curve and a three-dimensional simulation form for displaying or printing.
4. The method for recording data of an airborne heterogeneous network according to claim 1, wherein in step 2, the FC bus transmission module, the 485 bus transmission module and the ethernet transmission module of the data transmission module correspondingly perform the following sub-steps according to the type of the airborne heterogeneous network:
step 21: loading network parameters;
step 22: carrying out initialization configuration on an Ethernet, an FC bus and a 485 bus;
step 23: and creating a data transmission and verification interface.
5. The method for recording data of an onboard heterogeneous network according to claim 1, wherein the step 3 comprises the following sub-steps:
step 31: self-checking is carried out on airborne equipment and recording equipment; self-checking of onboard equipment, a CPU (central processing unit), an internal memory and a memory card of recording equipment on a heterogeneous network is completed through read-write access, the opening operation of a hard disk is completed, an index file is created, the spare capacity of the hard disk is detected, and when the fact that the space is smaller than a set proportion is found, an earliest file record is deleted;
step 32: judging whether the self-checking of the equipment is normally finished, if the self-checking is finished, switching to a step 33, and if the self-checking is not finished, switching to a step 31 again for re-self-checking;
step 33: and sending the real-time to the data recording module through the data transmission module.
6. The method for recording data of an onboard heterogeneous network according to claim 5, wherein the step 4 comprises the following sub-steps:
step 41: initializing a hard disk; after the hard disk is powered on and reset, a fixed clock period is delayed, a write protection signal is output, then an initialization effective signal is generated, a hard disk bad block table is searched, page searching is carried out after the searching is finished, a base address capable of carrying out write operation on the hard disk is obtained, and the hard disk initialization is finished after the searching is finished;
step 42: the data receiving module acquires the real-time acquired by the data acquisition module;
step 43: if the data receiving module successfully acquires the real-time, the step 44 is carried out, and if the real-time is not acquired, the step 42 is carried out again to acquire again; if the real-time acquisition within the fixed time interval is unsuccessful, using the local time;
step 44: and if the data receiving module successfully acquires the real-time, the real-time is used as the folder name to create the storage directory, otherwise, the local time is used as the storage directory, and then the storage file and the log file are created.
7. The method according to claim 6, wherein in step 6, the FC bus transmission module, the 485 bus transmission module, and the ethernet transmission module of the data transmission module respectively send heterogeneous network data to the data recording module through corresponding networks according to the types of the onboard heterogeneous networks.
8. The method for recording data of an onboard heterogeneous network according to claim 7, wherein the step 7 comprises the following sub-steps:
step 71: the data receiving module receives heterogeneous network data in real time;
step 72: if the new heterogeneous network data comes, the data receiving module writes the new heterogeneous network data into a data circular buffer area and updates a data buffer area pointer;
step 73: the format conversion module analyzes the heterogeneous network data of the data circular buffer area, searches the header mark of the data packet and obtains the length of the data packet; reading data content according to the length of the data packet, and converting the data format;
step 74: and the storage module writes the heterogeneous network data into the corresponding storage file in a classified manner.
9. The method according to claim 8, wherein in step 74, in order to ensure reliable data storage, a redundant write mechanism is used to write the recorded heterogeneous network data into two local hard disks, and each hard disk writes the heterogeneous network data into sectors 1 to N according to different data types; even if one hard disk fails, data can be read through the second hard disk.
CN202111037061.1A 2021-09-06 2021-09-06 Airborne heterogeneous network data recording method Active CN113763596B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111037061.1A CN113763596B (en) 2021-09-06 2021-09-06 Airborne heterogeneous network data recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111037061.1A CN113763596B (en) 2021-09-06 2021-09-06 Airborne heterogeneous network data recording method

Publications (2)

Publication Number Publication Date
CN113763596A CN113763596A (en) 2021-12-07
CN113763596B true CN113763596B (en) 2023-03-24

Family

ID=78793058

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111037061.1A Active CN113763596B (en) 2021-09-06 2021-09-06 Airborne heterogeneous network data recording method

Country Status (1)

Country Link
CN (1) CN113763596B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114973452A (en) * 2022-05-11 2022-08-30 北京麦克沃根科技有限公司 Recording plate and method for recording by using same

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2977238B1 (en) * 2011-06-29 2013-08-02 Dassault Aviat AIRCRAFT MAINTENANCE SYSTEM OF AN AIRCRAFT AND ASSOCIATED AIRCRAFT.
CN103731331B (en) * 2014-01-02 2017-03-22 中电科航空电子有限公司 Airborne data sending method, airborne data receiving method, and data transmission device and system
CN106603951A (en) * 2015-10-14 2017-04-26 陕西飞机工业(集团)有限公司 Airborne video data recording equipment
CN105429759A (en) * 2015-11-05 2016-03-23 天津津航计算技术研究所 Key management method used for data encryption of airborne data recorder of unmanned aerial vehicle
CN106291476B (en) * 2016-07-29 2019-03-29 西安电子科技大学 The Radar Clutter acquisition methods of airborne three-dimensional isomery battle array
CN106528462B (en) * 2016-11-07 2019-07-26 天津津航计算技术研究所 High capacity data record device data readback equipment
CN108234397A (en) * 2016-12-14 2018-06-29 中国航空工业集团公司西安航空计算技术研究所 A kind of heterogeneous network data transmission method for uplink and method of reseptance based on channel
CN106788892B (en) * 2016-12-19 2020-06-16 中国航空工业集团公司沈阳飞机设计研究所 Multi-source heterogeneous test flight data processing method and multi-source heterogeneous test flight data processing system
CN109118609B (en) * 2017-06-26 2020-11-13 深圳市道通智能航空技术有限公司 Unmanned aerial vehicle flight log recording method and device, storage medium and computer equipment
CN107767488A (en) * 2017-09-13 2018-03-06 陕西千山航空电子有限责任公司 A kind of data storage cell and storage method based on LVDS buses
CN108255155A (en) * 2017-12-28 2018-07-06 中国航空工业集团公司西安飞机设计研究所 A kind of bus data handles recording control apparatus
US11100726B2 (en) * 2018-06-01 2021-08-24 Honeywell International Inc. Systems and methods for real-time streaming of flight data
CN110544328A (en) * 2019-09-02 2019-12-06 哈尔滨工业大学 embedded high-energy-efficiency computing platform and method for airborne fault prediction and health management
CN111194061B (en) * 2019-12-26 2020-09-18 北京悦航天翼电子信息技术有限公司 Heterogeneous network high-performance switching method applied to airborne broadband communication
CN112115552B (en) * 2020-09-16 2022-10-25 天津津航计算技术研究所 Airborne flight data recharging method and device
CN112562121A (en) * 2020-12-30 2021-03-26 洛阳伟信电子科技有限公司 Storage data and rapid downloading method based on SRIO protocol
CN112953803B (en) * 2021-02-10 2022-07-08 西南电子技术研究所(中国电子科技集团公司第十研究所) Airborne redundant network data transmission method

Also Published As

Publication number Publication date
CN113763596A (en) 2021-12-07

Similar Documents

Publication Publication Date Title
US6148338A (en) System for logging and enabling ordered retrieval of management events
CN101478684B (en) Method and system for detecting integrity of stored video data
CN102291256B (en) A kind of querying method of monitor data and equipment
US7657533B2 (en) Data management systems, data management system storage devices, articles of manufacture, and data management methods
CN113763596B (en) Airborne heterogeneous network data recording method
US11659140B2 (en) Parity-based redundant video storage among networked video cameras
US11210183B2 (en) Memory health tracking for differentiated data recovery configurations
US20140337301A1 (en) Big data extraction system and method
US20140320996A1 (en) Compressed data verification
US8341538B1 (en) Systems and methods for reducing redundancies in quality-assurance reviews of graphical user interfaces
WO2015139565A1 (en) Heterogeneous logging system management configuration
CN113763595B (en) Airborne heterogeneous network data recording system
CN102314322A (en) Data processing method and device based on RAID (redundant array of independent disks)
CN113742282A (en) SATA IP core based on FPGA and data storage method
CN110297926B (en) On-orbit configuration method of satellite-borne image processing device
CN109902070B (en) WiFi log data-oriented analysis storage search method
CN102325171B (en) Data storage method in monitoring system and system
CN109416617A (en) Duplication between heterogeneous storage system
CN111831750A (en) Block chain data analysis method and device, computer equipment and storage medium
CN103761202A (en) Data storage node hard disk position identification method and system
CN106998355B (en) Data transmission method between electronic devices, electronic device and data transmission system
CN102662609B (en) The method of video access and device
CN107229535B (en) Multi-copy storage method, storage device and data reading method for data block
CN111628996A (en) Electronic data communication method and system based on Internet of things
CN114556283B (en) Method and device for data writing, consistency checking and reading

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