CN110996032B - Data recording and playback method based on Ethernet and SRIO - Google Patents
Data recording and playback method based on Ethernet and SRIO Download PDFInfo
- Publication number
- CN110996032B CN110996032B CN201911155997.7A CN201911155997A CN110996032B CN 110996032 B CN110996032 B CN 110996032B CN 201911155997 A CN201911155997 A CN 201911155997A CN 110996032 B CN110996032 B CN 110996032B
- Authority
- CN
- China
- Prior art keywords
- data
- module
- interface module
- receiving
- recording
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/765—Interface circuits between an apparatus for recording and another apparatus
- H04N5/77—Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television camera
Abstract
The invention belongs to the technical field of computer network communication, and particularly relates to a data recording and playback method based on Ethernet and SRIO, which is implemented based on a data recording and playback device, wherein the device comprises: the device comprises an upper layer module, an interface module and a storage module; the data recording and playback device based on the method adopts a VPX framework and is divided into a recording mode and a playback mode. The functions of receiving and storing data of CAN, CameraLink, ARINC and USB buses and displaying the CameraLink images in real time CAN be realized in a recording mode; in the playback mode, CAN, CameraLink, ARINC and USB data CAN be uploaded to an upper layer device for use by a user. By adopting the design strategies of power-off protection and partition storage, the integrity and the reliability of data are improved; the user experience is improved by adding the real-time pre-display function.
Description
Technical Field
The invention belongs to the technical field of computer network communication, and particularly relates to a data recording and playback method based on Ethernet and SRIO.
Background
With the development of troubleshooting and data analysis technologies, data recording and playback devices are widely used. In a certain practical application environment, data of the CAN, the CameraLink, the ARINC and the USB bus need to be recorded and stored, and received CameraLink images need to be displayed in real time. Conventional devices have only recording and storage functions. When the system is suddenly powered off, the loss of online data is easily caused; when the types of the received data are more, the stored data can be confused; when the user has a visual requirement, real-time display cannot be achieved. Both of these problems affect the integrity of the data and the user experience.
Disclosure of Invention
Technical problem to be solved
The technical problem to be solved by the invention is as follows: how to provide a data recording and playback method based on Ethernet and SRIO.
(II) technical scheme
In order to solve the above technical problem, the present invention provides a data recording and playback method based on ethernet and SRIO, the data recording and playback method is implemented based on a data recording and playback apparatus, the data recording and playback apparatus includes: the device comprises an upper layer module, an interface module and a storage module;
the method comprises the following steps in a recording mode:
step 11: starting recording;
the upper layer module sends a recording starting command to the interface module, and the interface module is used for forwarding the command to the storage module after receiving the command; the storage module sends a command back to the interface module after receiving the record starting command; after receiving the command back from the storage module, the interface module starts to receive CAN/CameraLink/ARINC/USB bus data;
step 12: data forwarding;
in order to prevent data from being mixed, the interface module transmits the received CAN/CameraLink/ARINC/USB bus data to the storage module by different SRIO remote addresses;
step 13: storing data;
after receiving the data from the interface module, the storage module stores the data into different NAND FLASH spaces according to different remote addresses;
step 14: pre-displaying in real time;
after receiving a line of complete CameraLink type image data, the interface module compresses the image data into a line of JPEG image data and uploads the JPEG image data to the upper layer module; and the upper layer module displays the image after receiving the compressed image data in the JPEG format of one frame.
Wherein, the method comprises the following steps in a playback mode:
step 21: starting uploading;
after the recording is finished, the user needs to upload and analyze the data; the upper layer module sends an uploading starting command to the interface module, and the interface module forwards the uploading starting command to the storage module after receiving the uploading starting command;
step 22: uploading data;
after the storage module receives the upload starting command, the type and the length of data which needs to be uploaded by a user in the command parameter are analyzed, the data of the corresponding storage space of the NAND FLASH array in the storage module are read, and the data are sent to the interface module through the SRIO bus;
step 23: data forwarding;
and after receiving the data from the storage module, the interface module forwards the data to the upper layer module for analysis and use by a user.
The upper layer module is a PC supporting Ethernet communication and used for sending commands to the interface module, receiving data uploaded by the interface module and displaying JPEG format images.
The upper layer module is connected with the interface module through the Ethernet.
The interface module is connected with the storage module through an SRIO bus.
The interface module comprises a first CPU, an FPGA and a bus transceiving circuit.
The bus transceiver circuit is used for receiving CAN/CameraLink/ARINC/USB bus data of a VPX bottom plate and filtering physical layer information of the data;
the FPGA is used for further filtering the data and sending the filtered protocol layer data to the first CPU;
the first CPU is used as a core component of the interface module, on one hand, the functions of receiving the command of the upper layer module through the Ethernet and uploading data to the upper layer module are realized; on the other hand, the functions of forwarding commands, transmitting data to the storage module and receiving and uploading data of the storage module are realized through the SRIO bus.
The storage module is realized by adopting a second CPU + NAND FLASH array architecture;
the second CPU is connected with the VPX bottom plate through an SRIO interface, and the NAND FLASH array is connected with the second CPU through an EMIF interface;
the second CPU performs data storage and data reading functions for the NAND FLASH array by receiving different commands.
The external circuit of the second CPU is connected with the large capacitor in parallel, and when the storage module is powered off, the large capacitor can release current to the second CPU, so that the second CPU works for a period of time, and the power-off protection function is achieved.
In the data recording and playback process, the method has the advantages that power-off protection, partition storage and real-time pre-display functions are added, the integrity of data is guaranteed, the requirement of a user for viewing the CameraLink image in real time in a recording mode is met, and the reliability and the user experience of the system are improved.
(III) advantageous effects
The invention mainly aims at the requirements of data recording and playback, and provides a data recording and playback method based on Ethernet and SRIO. The data recording and playback device based on the method adopts a VPX framework and is divided into a recording mode and a playback mode. The functions of receiving and storing data of CAN, CameraLink, ARINC and USB buses and displaying the CameraLink images in real time CAN be realized in a recording mode; in the playback mode, CAN, CameraLink, ARINC and USB data CAN be uploaded to an upper layer device for use by a user. By adopting the design strategies of power-off protection and partition storage, the integrity and the reliability of data are improved; the user experience is improved by adding the real-time pre-display function.
Drawings
Fig. 1 is a structural diagram of a data recording and playback apparatus.
Fig. 2 is an internal structure view of the interface module.
Fig. 3 is a diagram of the internal structure of the memory module.
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.
To solve the problems in the prior art, the present invention provides a data recording and playback method based on ethernet and SRIO, which is implemented based on a data recording and playback apparatus, as shown in fig. 1, the data recording and playback apparatus includes: the device comprises an upper layer module, an interface module and a storage module;
the method comprises the following steps in a recording mode:
step 11: starting recording;
the upper layer module sends a recording starting command to the interface module, and the interface module is used for forwarding the command to the storage module after receiving the command; the storage module sends a command back to the interface module after receiving the record starting command; after receiving the command back from the storage module, the interface module starts to receive CAN/CameraLink/ARINC/USB bus data;
step 12: data forwarding;
in order to prevent data from being mixed, the interface module transmits the received CAN/CameraLink/ARINC/USB bus data to the storage module by different SRIO remote addresses;
step 13: storing data;
after receiving the data from the interface module, the storage module stores the data into different NAND FLASH spaces according to different remote addresses;
step 14: pre-displaying in real time;
after receiving a line of complete CameraLink type image data, the FPGA of the interface module compresses the image data into a line of JPEG image data and uploads the JPEG image data to the upper layer module through the Ethernet; and the upper layer module displays the image after receiving the compressed image data in the JPEG format of one frame.
Wherein, the method comprises the following steps in a playback mode:
step 21: starting uploading;
after the recording is finished, the user needs to upload and analyze the data; the upper layer module sends an uploading starting command to the interface module, and the interface module forwards the uploading starting command to the storage module after receiving the uploading starting command;
step 22: uploading data;
after the storage module receives the upload starting command, the type and the length of data which needs to be uploaded by a user in the command parameter are analyzed, the data of the corresponding storage space of the NAND FLASH array in the storage module are read, and the data are sent to the interface module through the SRIO bus;
step 23: data forwarding;
and after receiving the data from the storage module, the interface module forwards the data to the upper layer module through the Ethernet for analysis and use by a user.
The upper layer module is a PC supporting Ethernet communication and used for sending commands to the interface module, receiving data uploaded by the interface module and displaying JPEG format images.
The upper layer module is connected with the interface module through the Ethernet.
The interface module is connected with the storage module through an SRIO bus.
As shown in fig. 2, the interface module includes a first CPU, an FPGA, and a bus transceiver circuit.
The bus transceiver circuit is used for receiving CAN/CameraLink/ARINC/USB bus data of a VPX bottom plate and filtering physical layer information of the data;
the FPGA is used for further filtering the data and sending the filtered protocol layer data to the first CPU;
the first CPU is used as a core component of the interface module, on one hand, the functions of receiving the command of the upper layer module through the Ethernet and uploading data to the upper layer module are realized; on the other hand, the functions of forwarding commands, transmitting data to the storage module and receiving and uploading data of the storage module are realized through the SRIO bus.
As shown in fig. 3, the storage module is implemented by using an architecture of a second CPU + NAND FLASH array;
the second CPU is connected with the VPX bottom plate through an SRIO interface, and the NAND FLASH array is connected with the second CPU through an EMIF interface;
the second CPU performs data storage and data reading functions for the NAND FLASH array by receiving different commands.
The external circuit of the second CPU is connected with the large capacitor in parallel, and when the storage module is powered off, the large capacitor can release current to the second CPU, so that the second CPU works for a period of time, and the power-off protection function is achieved.
In the data recording and playback process, the method has the advantages that power-off protection, partition storage and real-time pre-display functions are added, the integrity of data is guaranteed, the requirement of a user for viewing the CameraLink image in real time in a recording mode is met, and the reliability and the user experience of the system are improved.
In conclusion, the method achieves the functions of receiving data of the CAN, the CameraLink, the ARINC and the USB bus, storing the data into the NAND FLASH array through the SRIO bus, and uploading the data to the upper-layer equipment through the Ethernet after the recording is completed. The method adopts a modular design concept, an interface board is added between the storage device and the upper-layer device, the interface board is responsible for receiving bus data, and the storage device is responsible for storing and displaying the data. The method adds a plurality of functions such as power-off protection, partition storage, real-time pre-display and the like, overcomes the defects of incomplete data and real-time display loss frequently occurring in the traditional equipment, and improves the user experience.
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 (4)
1. A data recording and playback method based on ethernet and SRIO, wherein the data recording and playback method is implemented based on a data recording and playback apparatus, the data recording and playback apparatus comprising: the device comprises an upper layer module, an interface module and a storage module;
the method comprises the following steps in a recording mode:
step 11: starting recording;
the upper layer module sends a recording starting command to the interface module, and the interface module is used for forwarding the command to the storage module after receiving the command; the storage module sends a command back to the interface module after receiving the record starting command; after receiving the command back from the storage module, the interface module starts to receive CAN/CameraLink/ARINC/USB bus data;
step 12: data forwarding;
in order to prevent data from being mixed, the interface module transmits the received CAN/CameraLink/ARINC/USB bus data to the storage module by different SRIO remote addresses;
step 13: storing data;
after receiving the data from the interface module, the storage module stores the data into different NAND FLASH spaces according to different remote addresses;
step 14: pre-displaying in real time;
after receiving a line of complete CameraLink type image data, the interface module compresses the image data into a line of JPEG image data and uploads the JPEG image data to the upper layer module; the upper layer module displays an image after receiving the compressed image data in one frame JPEG format;
the method comprises the following steps in a playback mode:
step 21: starting uploading;
after the recording is finished, the user needs to upload and analyze the data; the upper layer module sends an uploading starting command to the interface module, and the interface module forwards the uploading starting command to the storage module after receiving the uploading starting command;
step 22: uploading data;
after the storage module receives the upload starting command, the type and the length of data which needs to be uploaded by a user in the command parameter are analyzed, the data of the corresponding storage space of the NAND FLASH array in the storage module are read, and the data are sent to the interface module through the SRIO bus;
step 23: data forwarding;
after receiving the data from the storage module, the interface module forwards the data to an upper layer module for analysis and use by a user;
the upper layer module is a PC supporting Ethernet communication and used for sending commands to the interface module, receiving data uploaded by the interface module and displaying JPEG-format images;
the upper layer module is connected with the interface module through the Ethernet;
the interface module is connected with the storage module through an SRIO bus;
the interface module comprises a first CPU, an FPGA and a bus transceiving circuit;
the bus transceiver circuit is used for receiving CAN/CameraLink/ARINC/USB bus data of a VPX bottom plate and filtering physical layer information of the data;
the FPGA is used for further filtering the data and sending the filtered protocol layer data to the first CPU;
the first CPU is used as a core component of the interface module, on one hand, the functions of receiving the command of the upper layer module through the Ethernet and uploading data to the upper layer module are realized; on the other hand, the functions of forwarding commands, transmitting data to the storage module and receiving and uploading data of the storage module are realized through the SRIO bus.
2. The ethernet and SRIO based data recording and playback method according to claim 1, wherein the storage module is implemented using a second CPU + NAND FLASH array architecture;
the second CPU is connected with the VPX bottom plate through an SRIO interface, and the NAND FLASH array is connected with the second CPU through an EMIF interface;
the second CPU performs data storage and data reading functions for the NAND FLASH array by receiving different commands.
3. The Ethernet and SRIO based data recording and playback method of claim 2 wherein the external circuit of the second CPU is connected in parallel with a large capacitor, and when the memory module is powered off, the large capacitor will release current to the second CPU to make the second CPU work for a period of time again to perform the power-off protection function.
4. The Ethernet and SRIO-based data recording and playback method as recited in claim 3, wherein in the data recording and playback process, the method adds power-off protection, partitioned storage and real-time pre-display functions, thereby ensuring the integrity of data, meeting the requirement of a user for viewing a CameraLink image in real time in a recording mode, and improving the reliability of the system and the user experience.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911155997.7A CN110996032B (en) | 2019-11-22 | 2019-11-22 | Data recording and playback method based on Ethernet and SRIO |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911155997.7A CN110996032B (en) | 2019-11-22 | 2019-11-22 | Data recording and playback method based on Ethernet and SRIO |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110996032A CN110996032A (en) | 2020-04-10 |
CN110996032B true CN110996032B (en) | 2021-11-16 |
Family
ID=70085899
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911155997.7A Active CN110996032B (en) | 2019-11-22 | 2019-11-22 | Data recording and playback method based on Ethernet and SRIO |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110996032B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112214426A (en) * | 2020-09-25 | 2021-01-12 | 湖北三江航天红峰控制有限公司 | VNX-based high-speed data recording module, data recording and analyzing method |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101013407A (en) * | 2007-02-05 | 2007-08-08 | 北京中星微电子有限公司 | System and method for implementing memory mediation of supporting multi-bus multi-type memory device |
EP2222130A1 (en) * | 2007-11-21 | 2010-08-25 | ZTE Corporation | Base band unit, radio frequency unit and distributed bs system based on srio protocol |
CN103095538A (en) * | 2012-12-28 | 2013-05-08 | 武汉华中数控股份有限公司 | Multi-class industrial Ethernet bus integrated master station |
CN204117196U (en) * | 2014-09-09 | 2015-01-21 | 孙兴国 | A kind of special image pattern recognition processor with high operational performance |
CN105530247A (en) * | 2015-12-08 | 2016-04-27 | 天津津航计算技术研究所 | Circuit and method of SRIO node for automatically matching different DeviceID widths based on FPGA |
CN105549460A (en) * | 2016-03-10 | 2016-05-04 | 中国电子科技集团公司第十研究所 | Satellite-borne electronic equipment comprehensive management and control system |
CN106326155A (en) * | 2016-08-19 | 2017-01-11 | 南京理工大学 | Multi-bus data recording and playback device and method |
CN107203484A (en) * | 2017-06-27 | 2017-09-26 | 北京计算机技术及应用研究所 | A kind of PCIe based on FPGA and SRIO bus bridge systems |
CN107465567A (en) * | 2017-06-29 | 2017-12-12 | 西安交大捷普网络科技有限公司 | A kind of data forwarding method of database fire wall |
CN206876863U (en) * | 2017-06-08 | 2018-01-12 | 山东超越数控电子股份有限公司 | A kind of configurable high-speed record board |
CN107659784A (en) * | 2017-08-31 | 2018-02-02 | 北京航宇创通技术有限公司 | CameraLink image processing apparatus and Electric-Optic Turret |
EP3370156A1 (en) * | 2014-12-23 | 2018-09-05 | Intel Corporation | Speculative reads in buffered memory |
CN109510747A (en) * | 2018-12-07 | 2019-03-22 | 天津津航计算技术研究所 | A kind of one-to-many bus gateway conversion method based on SRIO |
CN109547365A (en) * | 2018-10-29 | 2019-03-29 | 中国航空无线电电子研究所 | A kind of unmanned Combat Command System data exchange system based on SRIO |
CN109614357A (en) * | 2018-12-06 | 2019-04-12 | 天津津航计算技术研究所 | It unites when a kind of VPX of high bandwidth multibus module |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015001390A1 (en) * | 2013-07-04 | 2015-01-08 | Freescale Semiconductor, Inc. | Method and device for data streaming in a mobile communication system |
-
2019
- 2019-11-22 CN CN201911155997.7A patent/CN110996032B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101013407A (en) * | 2007-02-05 | 2007-08-08 | 北京中星微电子有限公司 | System and method for implementing memory mediation of supporting multi-bus multi-type memory device |
EP2222130A1 (en) * | 2007-11-21 | 2010-08-25 | ZTE Corporation | Base band unit, radio frequency unit and distributed bs system based on srio protocol |
CN103095538A (en) * | 2012-12-28 | 2013-05-08 | 武汉华中数控股份有限公司 | Multi-class industrial Ethernet bus integrated master station |
CN204117196U (en) * | 2014-09-09 | 2015-01-21 | 孙兴国 | A kind of special image pattern recognition processor with high operational performance |
EP3370156A1 (en) * | 2014-12-23 | 2018-09-05 | Intel Corporation | Speculative reads in buffered memory |
CN105530247A (en) * | 2015-12-08 | 2016-04-27 | 天津津航计算技术研究所 | Circuit and method of SRIO node for automatically matching different DeviceID widths based on FPGA |
CN105549460A (en) * | 2016-03-10 | 2016-05-04 | 中国电子科技集团公司第十研究所 | Satellite-borne electronic equipment comprehensive management and control system |
CN106326155A (en) * | 2016-08-19 | 2017-01-11 | 南京理工大学 | Multi-bus data recording and playback device and method |
CN206876863U (en) * | 2017-06-08 | 2018-01-12 | 山东超越数控电子股份有限公司 | A kind of configurable high-speed record board |
CN107203484A (en) * | 2017-06-27 | 2017-09-26 | 北京计算机技术及应用研究所 | A kind of PCIe based on FPGA and SRIO bus bridge systems |
CN107465567A (en) * | 2017-06-29 | 2017-12-12 | 西安交大捷普网络科技有限公司 | A kind of data forwarding method of database fire wall |
CN107659784A (en) * | 2017-08-31 | 2018-02-02 | 北京航宇创通技术有限公司 | CameraLink image processing apparatus and Electric-Optic Turret |
CN109547365A (en) * | 2018-10-29 | 2019-03-29 | 中国航空无线电电子研究所 | A kind of unmanned Combat Command System data exchange system based on SRIO |
CN109614357A (en) * | 2018-12-06 | 2019-04-12 | 天津津航计算技术研究所 | It unites when a kind of VPX of high bandwidth multibus module |
CN109510747A (en) * | 2018-12-07 | 2019-03-22 | 天津津航计算技术研究所 | A kind of one-to-many bus gateway conversion method based on SRIO |
Non-Patent Citations (2)
Title |
---|
"一种SRIO交换器内部网络设计";胡孔阳等;《微电子学与计算机》;20181221;第35卷(第9期);全文 * |
"基于SRIO总线的全交换路由设计与实现";吕鹏;《无线电通信技术》;20170330;第43卷(第2期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN110996032A (en) | 2020-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2005176219A5 (en) | ||
CN103095700A (en) | Electronic data forensics system and forensics control method based on virtual desktop | |
CN106164871A (en) | Aircraft is taken photo by plane data back up method, device, computer-readable recording medium and equipment | |
CN101106681A (en) | Wireless video transmission device and method | |
CN107193521B (en) | Data processing method, device and system | |
CN110996032B (en) | Data recording and playback method based on Ethernet and SRIO | |
CN201616116U (en) | Loss terminal device and loss system for vehicles | |
CN107493460B (en) | Image acquisition method and system | |
US10033930B2 (en) | Method of reducing a video file size for surveillance | |
CN102411488A (en) | Method for displaying images of mobile terminal and mobile terminal | |
CN102630000B (en) | Eight-path SDI (Serial Digital Interface) embedded digital video recorder | |
CN111182251B (en) | Video backup method and device applied to online patrol synchronous transcoding and with hot-pluggable storage medium | |
CN110996031B (en) | Data recording and playback device based on Ethernet and SRIO | |
US20030146976A1 (en) | Digital camera system enabling remote monitoring | |
CN207232656U (en) | A kind of intelligent control well site monitoring device | |
WO2024051824A1 (en) | Image processing method, image processing circuit, electronic device, and readable storage medium | |
US20160156532A1 (en) | Server system for monitoring working information | |
CN204408469U (en) | A kind of intelligent recorded broadcast device, system and recorded broadcast mainboard | |
CN111294255A (en) | Gateway testing method and storage medium | |
CN201860379U (en) | Portable high-definition camcorder for wireless network | |
CN103546724A (en) | Network camera collecting-distributing redundancy storage system and storage method thereof | |
JP4327221B2 (en) | Data recording device | |
CN101005612A (en) | Radio image collecting system based on USB interface | |
TWM453210U (en) | Monitoring system and photographic device for remote backup | |
CN203554599U (en) | Network camera collecting-distributing redundancy storage 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 |