CN113722270A - Recording playback device and control method thereof - Google Patents

Recording playback device and control method thereof Download PDF

Info

Publication number
CN113722270A
CN113722270A CN202110819008.0A CN202110819008A CN113722270A CN 113722270 A CN113722270 A CN 113722270A CN 202110819008 A CN202110819008 A CN 202110819008A CN 113722270 A CN113722270 A CN 113722270A
Authority
CN
China
Prior art keywords
file
unit
data
system management
data processing
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.)
Granted
Application number
CN202110819008.0A
Other languages
Chinese (zh)
Other versions
CN113722270B (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.)
Hunan Econavi Technology Co Ltd
Original Assignee
Hunan Econavi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan Econavi Technology Co Ltd filed Critical Hunan Econavi Technology Co Ltd
Priority to CN202110819008.0A priority Critical patent/CN113722270B/en
Publication of CN113722270A publication Critical patent/CN113722270A/en
Application granted granted Critical
Publication of CN113722270B publication Critical patent/CN113722270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots

Abstract

The invention discloses a recording playback device, which comprises a communication control unit, a file system management unit, a data processing unit, a data acquisition unit, a data playback unit and a storage array unit which are arranged on a board card, wherein the front end of the file system management unit is connected with the rear end of the communication control unit, the rear end of the file system management unit is connected with the front end of the data processing unit, the data processing unit is also respectively connected with the data acquisition unit, the data playback unit and the storage array unit, the whole machine integration level is high, and file management and data processing are respectively completed in different units, so that the data processing speed is accelerated, and the recording playback device has the advantages of low system coupling degree and high stability; the control method of the record playback equipment is further disclosed, data acquisition playback, file online export and file list query are achieved, and the problems that existing record playback equipment based on the FPGA cannot export record file data and cannot add acquisition file description information are solved.

Description

Recording playback device and control method thereof
Technical Field
The present invention relates to the field of data transmission and recording technologies, and in particular, to a recording and playback device and a control method thereof.
Background
With the rapid development of information technology, the bandwidth requirement on the acquired signals and the channel number requirement in various high-capacity and high-rate data recording and playback systems such as radar monitoring, aerospace, space exploration, intelligent traffic, ocean telemetry and the like are further improved, which leads to the higher and higher requirements of the systems on the real-time data transmission bandwidth of the recording and playback equipment.
Currently, the mainstream high-speed recording and playback devices in the market mainly include PCIE bus-based recording and playback devices and FPGA-based recording and playback devices.
The recording and playback device based on the PCIE bus utilizes the PCIE bus as a data channel for data recording and data playback, and although the scheme can realize high-speed data recording and playback functions, the recording and playback device has the defects of complex device, high power consumption, high cost, no matched file system and the like.
The FPGA-based recording and playback equipment is difficult to internally manage the file system, so that only single-file data recording and playback can be realized, the export function of the recorded file data cannot be realized, and the defects of inconvenient use, complex operation, no file system management and the like exist.
In summary, the problems of the prior art are as follows: the data recording and playback speed is limited, the data security is difficult to guarantee, the control system is complex, the cost is high, the related technology is immature, and the stable application is difficult.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: aiming at the technical problems in the prior art, the invention provides a recording playback device and a control method thereof, which can realize data acquisition playback, file online export and file list query under the real-time condition.
In order to solve the technical problems, the technical scheme provided by the invention is as follows:
the utility model provides a record playback equipment, is including setting up communication control unit, file system management unit, data processing unit, data acquisition unit, data playback unit, storage array unit on same integrated circuit board, the front end of file system management unit passes through gigabit Ethernet interface or PCIE connector communication control unit's rear end, the rear end of file system management unit passes through the front end of PCIE or SRIO interface connection data processing unit, data processing unit still respectively through PCIE or SRIO interface connection data acquisition unit, through PCIE or SRIO interface connection data playback unit, through SATA or EMIF interface connection storage array unit, wherein:
the communication control unit is used for receiving and analyzing an externally input control command and then sending the control command to the file system management unit, and is also used for receiving and exporting data from the file system management unit;
the file system management unit is used for managing the storage space of the storage array unit and the stored file attribute parameters, generating a control instruction corresponding to the control command and sending the control instruction to the data processing unit, and sending data from the data processing unit to the communication control unit, and the file system management unit is a DSP or ARM processor;
the data processing unit is used for enabling the data acquisition unit to write the acquired file into the storage array unit according to the control instruction, enabling the data playback unit according to the control instruction, acquiring the file to be played back from the storage array unit and sending the file to be played back to the data playback unit for output, and acquiring the file attribute parameter of the file to be exported or the file to be played back from the storage array unit according to the control instruction and then sending the file attribute parameter to the file system management unit, wherein the data processing unit is an FPGA;
the data acquisition unit is used for receiving the file to be acquired and sending the file to the data processing unit;
the data playback unit is used for receiving and outputting the file to be played back sent by the data processing unit;
the storage array unit is used for storing the files acquired by the data acquisition unit and corresponding file attribute parameters.
The present invention also provides a method for controlling a recording and playback apparatus, comprising the steps of:
s1) the communication control unit receives the control command input from outside and analyzes the command to obtain the control information and then sends the control information to the file system management unit, if the control information received by the file system management unit is the acquisition control information, the step S2) is skipped; if it is a file list
Inquiring information, and jumping to step S3); if the playback control information is, jumping to step S4); if the control information is derived, skipping step
S5);
S2) if the acquisition control information is to start acquisition, the file system management unit generates file attribute parameters corresponding to the file to be acquired and sends an acquisition start control instruction to the data processing unit, the data processing unit enables the data acquisition unit and receives the acquisition file sent by the data acquisition unit, then the acquisition file is written into a data storage area of the storage array unit, and the acquisition control information for stopping acquisition is waited; if the acquisition control information is acquisition stopping, the file system management unit sends a control instruction for stopping acquisition to the data processing unit and updates the file system, the data processing unit writes the updated file system into the file system area of the storage array unit, writes the file attribute parameters into the file attribute area of the storage array unit, and returns to the step S1);
s3) the file system management unit sends the control command for inquiring the file attribute to the data processing unit, the data processing unit obtains all the file attribute parameters from the file attribute area of the storage array unit and sends the file attribute parameters to the file system management unit, the file system management unit generates a file list according to the file attribute parameters and sends the file list to the communication control unit for output, and the step is returned to S1)
S4) the communication control unit receives and analyzes externally input information of a file to be played back to obtain a file number to be played back and then sends the file number to the file system management unit, the file system management unit converts the file number to be played back into logical address information of the file to be played back, the logical address information of the file to be played back and a control instruction of file playback enabling are sent to the data processing unit, the data processing unit enables the data playback unit and matches a data storage area of the storage array unit according to the logical address information of the file to be played back to obtain the file to be played back, the file to be played back is sent to the data playback unit to be output, and the step S1 is returned;
s5) the communication control unit receives and analyzes the information of the file to be exported input from outside to obtain the file number to be exported, and then sends the file number to the file system management unit, the file system management unit converts the file number to be exported into the logical address information of the file to be exported, and sends the logical address information of the file to be exported and the control instruction of the file export enable to the data processing unit, the data processing unit matches the data storage area of the storage array unit according to the logical address information of the file to be exported to obtain the file to be exported, and sends the file to be exported to the file system management unit, and the file system management unit sends the file to be exported to the communication control unit for export, and then returns to the step S1).
Further, step S1) is preceded by an initialization step, specifically including: the file system management unit divides a physical storage space of the storage array unit into a file system area, a file attribute area and a data storage area through the data processing unit, and stores the file system, the control strategy and the logical address information mapped by the physical address of the storage array unit into the file system area.
Further, step S2) includes the steps of:
s21) the communication control unit receives the file acquisition command input from the outside and outputs the analyzed acquisition control information to the file system management unit, the file system management unit waits for and receives the acquisition control information sent by the communication control unit, if the acquisition control information is started, the step S22) is skipped, and if the acquisition control information is stopped, the step S25 is skipped);
s22) the file system management unit receives the collection control information of the communication control unit, generates file attribute parameters, queries the file system to obtain the residual storage capacity information and the file number of the storage array unit, and transmits the residual storage capacity and the collection starting control instruction to the data processing unit;
s23) the data processing unit receives the residual storage capacity information and the control instruction, and enables the data acquisition unit to acquire data according to the control instruction for starting acquisition, and the data acquisition unit outputs the acquired data stream to the data processing unit;
s24) the data processing unit frames the collected data stream into the data storage area of the storage array unit according to the residual storage capacity information, monitors the collection control information, and jumps to the step S25 if the collection is stopped);
s25) the data processing unit receives the acquisition control information transmitted by the file system management unit, controls the data acquisition unit to stop acquiring data and writing data into the storage array unit in sequence, acquires the residual storage capacity of the storage array unit, and replies the residual storage capacity and the acquisition completion report to the file system management unit;
s26) the file system management unit receives the collection completion report and the residual storage capacity, updates the residual storage capacity information and the file number of the storage array unit in the file system according to the collection completion report and the residual storage capacity, writes the file attribute parameters into the file attribute area of the storage array unit through the data processing unit, writes the updated residual storage capacity information and the updated file number of the storage array unit into the file system area of the storage array unit through the data processing unit, and returns to the step S1).
Further, step S3) includes the steps of:
s31) the communication control unit receives the file list inquiry command input from the outside and outputs the analyzed file list inquiry information to the file system management unit, the file system management unit waits for and receives the file list inquiry information, generates a control command for inquiring the file attribute and sends the control command to the data processing unit;
s32) after receiving the control command, the data processing unit obtains all file attribute parameters from the file attribute area of the storage array unit and sends the file attribute parameters to the file system management unit;
s33) the file system managing unit generates a file list according to all the file attribute parameters, transmits the data frame of the file list to the communication controlling unit, the communication controlling unit outputs the data frame of the file list, and returns to step S1).
Further, step S4) includes the steps of:
s41) the communication control unit waits for and receives the file playback command and the file information to be played back which are input from the outside, and outputs the analyzed file name to be played back, the file size to be played back and the file number to be played back to the file system management unit;
s42) the file system management unit matches the file number to be played back in the file attribute area of the storage array unit through the data processing unit to obtain the file attribute parameter to be played back, generates a control instruction of file playback enabling and sends the control instruction and the logic address information of the file to be played back in the file attribute parameter to be played back in the storage array unit to the data processing unit;
s43) the data processing unit receives the playback enabling control command and the logic address information of the file to be played back in the storage array unit, and acquires the corresponding file data frame from the data storage area of the storage array unit according to the logic address information of the file to be played back in the storage array unit;
s44) the data processing unit frames the file data frame to obtain the file data stream to be played back, the data playback unit is enabled and sends the file data stream to be played back to the data playback unit, the data playback unit outputs the playback data stream, and the step S1) is returned.
Further, step S5) includes the steps of:
s51) the communication control unit waits for and receives the file export command and the file information to be exported input from the outside, and outputs the analyzed file name, the file size and the file number to be exported to the file system management unit;
s52) the file system management unit matches the file number to be exported in the file attribute area of the storage array unit through the data processing unit to obtain the file attribute parameter to be exported, generates the control instruction of the file export enable and sends the control instruction and the logic address information of the file to be exported in the storage array unit in the file attribute parameter to be exported to the data processing unit;
s53) after the data processing unit receives the control instruction, the corresponding file data frame is obtained from the data storage area of the storage array unit according to the logic address information of the file to be exported in the storage array unit;
s54) the data processing unit frames the file data frame to obtain the file data stream to be exported, and sends the file data stream to be exported to the file system management unit;
s55) the file system management unit receives the file data stream to be exported, frames the file data stream to be exported and sends the file data stream to the communication control unit, and the communication control unit outputs the data frame of the exported file and returns to the step S1).
Compared with the prior art, the invention has the advantages that:
1. the invention sets a communication control unit, a file system management unit, a data processing unit, a data acquisition unit, a data playback unit and a storage array unit on the same board card, and has high integration level of the whole machine, wherein the file system management unit performs file management and system control, and the data processing unit processes data to be acquired and played back, so that the file management and the data processing are respectively completed in different units, and further the data processing speed is accelerated.
2. In the method, the file system management unit generates corresponding file attribute parameters aiming at the acquired files, the storage array unit opens up a file attribute area to store the file attribute parameters, the file attribute parameters of the acquired files are reserved and a file list can be provided, and the problems that the existing recording playback equipment based on FPGA cannot export the data of the recorded files and cannot add the description information of the acquired files are solved.
Drawings
Fig. 1 is a block diagram of a recording and playback apparatus of the present invention.
FIG. 2 is a schematic diagram of the steps of the control method of the present invention.
FIG. 3 is a schematic overall flow chart of the control method of the present invention.
Fig. 4 is a schematic view of a file collection processing flow in the control method of the present invention.
Fig. 5 is a schematic view of a processing flow of a file list in the control method of the present invention.
Fig. 6 is a schematic view of a file playback processing flow in the control method of the present invention.
Fig. 7 is a schematic view of a file export processing flow in the control method of the present invention.
Illustration of the drawings: 1. the system comprises a communication control unit 2, a file system management unit 3, a data processing unit 4, a data acquisition unit 5, a data playback unit 6 and a storage array unit.
Detailed Description
The invention is further described below with reference to the drawings and specific preferred embodiments of the description, without thereby limiting the scope of protection of the invention.
As shown in fig. 1, the high-speed recording and playback device provided in an embodiment of the present invention includes modules such as a communication control unit 1, a file system management unit 2, a data processing unit 3, a data acquisition unit 4, a data playback unit 5, and a storage array unit 6, where the communication control unit 1, the file system management unit 2, the data processing unit 3, the data acquisition unit 4, the data playback unit 5, and the storage array unit 6 are all located on the same board, and the device has advantages of high integration level, good stability, low power consumption, and the like.
The back end of the communication control unit 1 is connected with the front end of the file system management unit 2, the communication control unit 1 is a control interface of the equipment and is used for receiving and analyzing control commands of functions such as data recording, playback, export and the like input by an external control computer and receiving and exporting data from the file system management unit 2;
the communication control unit 1 can be connected with the file system management unit 2 through board-level communication interfaces such as gigabit Ethernet interfaces and PCIE interfaces according to the application field.
The front end of the file system management unit 2 is connected with the rear end of the communication control unit 1, the rear end of the file system management unit 2 is connected with the front end of the data processing unit 3, and the file system management unit 2 is used for managing the storage space of the storage array unit 6, managing the file attribute parameters stored in the storage array unit 6 and controlling the data processing unit 3 to perform processing operations such as file collection, playback, export and the like.
The file system management unit 2 can be a DSP, an ARM processor and the like according to the application field.
The data processing unit 3 is a processing core of the high-speed data recording playback device and is respectively connected with the data acquisition unit 4, the data playback unit 5, the storage array unit 6 and the file system management unit 2, the data processing unit 3 receives control instructions of acquisition, playback, export and the like of the file system management unit 2, and the file system management unit 2 controls the data acquisition unit 4, the data playback unit 5 and the storage array unit 6 to perform functions of file acquisition, playback, export and the like on logical address information, file attribute parameters and the like mapped by the physical address of the storage array unit 6;
the file system management area 2 is connected with the data processing unit 3 through an inter-chip high-speed interface (such as an SRIO interface and a PCIE interface); the data processing unit 3 is connected with the storage array unit 6 through a storage interface (such as SATA and EMIF interfaces), the data processing unit 3 can be an FPGA, data filtering and data framing are carried out on data of the data acquisition unit 4 through the FPGA, and then the data are stored in the storage array unit 6.
In this embodiment, the file system management unit 2 is used for system control and file management, and the data processing unit 3 is used for processing collected, played back and exported data, so that file management and data processing are respectively completed in different units.
The data acquisition unit 4 is a data acquisition input interface of the high-speed recording playback equipment and is used for receiving a file to be acquired and sending the file to the data processing unit 3, and the data acquisition unit 4 can be connected with the data processing unit 3 through high-speed digital interfaces such as PCIE, SRIO and the like so as to realize high-speed data transmission during file acquisition;
the data playback unit 5 is a data playback output interface of the high-speed recording playback device, receives and outputs a file to be played back sent by the data processing unit 3, and the data playback unit 5 can be connected with the data processing unit 3 through high-speed digital interfaces such as PCIE and SRIO, so as to realize high-speed data transmission during file playback.
The storage array unit 6 is connected with the data processing unit 3, and data writing and data reading are carried out between the storage array unit 6 and the file system management unit 2 and between the storage array unit 6 and the data processing unit 3 so as to realize high-speed data recording, playback and exporting functions; the storage space of the storage array unit 6 is divided into a file system area, a file attribute area and a data storage area, wherein the logical address information mapped by the physical address is stored in the file system area, the file attribute parameters are stored in the file attribute area, the file system area stores a file system and a control strategy, and the control strategy is used for managing the number of all files of the file system management unit 2 and the residual storage capacity of the storage array unit 6; the data storage area stores the specific data of the file acquired by the data acquisition unit 4; and the file attribute area stores the file attribute parameters corresponding to the collected files.
The storage array unit 6 and the data processing unit 3 are connected in parallel, and the specific application scene can be a solid state disk array or a Flash chip array.
With the above structure, the file system management unit 2 in this embodiment logically divides the physical storage space of the storage array unit 6 into the file system area, the file attribute area, and the data storage area through the data processing unit 3, and stores the file system and the control policy in the file system area. The file system managing unit 2 may also generate attribute information of each file and store the file attribute parameters in the file attribute area of the storage array unit 6 by controlling the data processing unit 3. When a file is collected, the communication control unit 1 receives a file collection command, the file system management unit 2 generates file attribute parameters, and the file attribute parameters are stored in a file attribute area of the storage array unit through the data processing unit 3; the data processing unit 3 enables the data acquisition unit 4 to store the acquired file in a data storage area of the storage array unit 6; when the file is played back, the communication control unit 1 receives a file playback command, the file system management unit 2 obtains the attribute of the file to be played back from the file attribute area of the storage array unit 6, the data processing unit 3 controls the storage array unit 6 to send the file to be played back from the data storage area to the data processing unit 3 through the storage array unit 6, and then the data playback unit 5 is enabled to send the file to be played back to the data playback unit 5 for file playback. When exporting files, the communication control unit 1 receives a file export command, the file system management unit 2 obtains attributes of files to be exported from the file attribute area of the storage array unit 6, the data processing unit 3 controls the storage array unit 6 to send the files to be exported from the data storage area to the data processing unit 3 through the storage array unit 6, then to send the files to be exported from the data processing unit 3 to the file system management unit 2, and then to send the files to the communication control unit 1 from the file system management unit 2 for file export.
As shown in fig. 2 to 7, an embodiment of the present invention provides a control method for a high-speed recording and playback apparatus, including the steps of:
s1) system control processing: the communication control unit 1 receives an externally input control command, analyzes the control command to obtain control information, and sends the control information to the file system management unit 2, and if the control information received by the file system management unit 2 is acquisition control information, the step S2 is skipped; if the playback control information is, jumping to step S3); if the control information is derived, jumping to step S4); if the file list is the query information, jumping to step S5);
the system control processing is the control core of the high-speed recording and playback equipment and mainly completes the following tasks:
the communication control unit 1 receives control command input such as acquisition, playback, export and file list inquiry input from the outside, and outputs analyzed control information such as acquisition, playback, export and file list inquiry to the file system management unit 2;
the file system management unit 2 receives control information of the communication control unit 1, such as acquisition, playback, export, file list query and the like, and the file system management unit 2 realizes functions of file acquisition processing S2, file list processing S3, file playback processing S4, file export processing S5 and the like by combining the file system control data processing unit 3 according to different control information, and the flow chart is shown in FIG. 3;
s2) data acquisition processing: the flow chart is shown in fig. 4, the communication control unit 1 receives a data acquisition control instruction, controls the file system management unit 2 to generate acquired data file attribute parameters, controls the data processing unit 3, the data acquisition unit 4 and the storage array unit 6 to acquire data and generate files according to the storage space condition of the equipment, and realizes the file recording and recording function, if the acquisition control information is acquisition starting, the file system management unit 2 generates file attribute parameters corresponding to files to be acquired and sends the acquisition starting control instruction to the data processing unit 3, the data processing unit 3 enables the data acquisition unit 4 and receives the acquisition files sent by the data acquisition unit 4, then writes the acquisition files into a data storage area of the storage array unit 6, and waits for the acquisition control information to be stopped; if the collection control information is to stop collecting, the file system management unit 2 sends a control instruction to stop collecting to the data processing unit 3 and updates the file system, the data processing unit 3 writes the updated file system into the file system area of the storage array unit 6, writes the file attribute parameters into the file attribute area of the storage array unit 6, and returns to step S1), which includes the following specific steps:
s21) the communication control unit 1 receives the file acquisition command input from outside and outputs the analyzed acquisition control information (including acquisition starting and acquisition stopping) to the file system management unit 2, the file system management unit 2 waits for and receives the acquisition control information sent by the communication control unit 1, if the acquisition starting is carried out, the step S22 is skipped, and if the acquisition stopping is carried out, the step S25 is skipped;
s22) the file system management unit 2 receives the collection control information of the communication control unit 1, generates file attribute parameters, the file attribute parameters include file name, file number, file size, logic address information of the file in the storage array unit 6, and the like, the file system management unit 2 queries the file system to obtain the content of the file system area of the storage array unit 6, namely the residual storage capacity information and the file number of the storage array unit 6, obtains the residual storage capacity information of the storage array unit 6 from the file system area of the storage array unit 6 through the data processing unit 3, and transmits the residual storage capacity and the control instruction for starting collection to the data processing unit 3;
s23) the data processing unit 3 receives the residual storage capacity of the storage array unit 6 transmitted by the file system management unit 2, and enables the data acquisition unit 4 to be controlled to acquire data according to the control instruction for starting acquisition, and the data acquisition unit 4 outputs the acquired data stream to the data processing unit 3;
s24) the data processing unit 3 frames the collected data stream into the data storage area of the storage array unit 6 according to the residual storage capacity information of the storage array unit 6, monitors the collection control information, and jumps to the step S25 if the collection is stopped);
s25) the data processing unit 3 receives the acquisition control information transmitted by the file system management unit 2, controls the data acquisition unit 4 to stop acquiring data and writing data into the storage array unit 6 in sequence, acquires the residual storage capacity of the storage array unit 6, and replies the residual storage capacity and the acquisition completion report to the file system management unit 2;
s26) the file system management unit 2 receives the collection completion report and the residual storage capacity of the storage array unit 6, updates the residual storage capacity information and the file number of the storage array unit 6 in the file system, writes the updated residual storage capacity information and the updated file number of the storage array unit 6 into the file system area of the storage array unit 6 through the data processing unit 3, writes the file attribute parameters into the file attribute area of the storage array unit 6 through the data processing unit 3, and returns to the step S1). This is also unique to this patent in that if a real-time memory capacity update is made, it will occupy the communication bandwidth between the data processing unit 3 and the memory array unit 6, thereby reducing the data storage rate
S3) file list processing: the communication control unit 1 receives a file list processing control instruction, the file system management unit 2 obtains the number of existing files of the system, the file system management unit 2 controls the data processing unit 3 and the storage array unit 6 to obtain all file attributes, and outputs a data frame which is formed by all file attribute parameters into a file list through the communication control unit 1, the process is shown in the attached figure 5, the file system management unit 2 sends a control instruction for inquiring the file attributes to the data processing unit 3, the data processing unit 3 obtains all file attribute parameters from the file attribute area of the storage array unit 6 and sends the file attribute parameters to the file system management unit 2, the file system management unit 2 generates a file list according to the file attribute parameters and sends the file list to the communication control unit 1 for output, and the step S1 is returned, and the specific steps include:
s31) the communication control unit 1 receives the file list query command input from outside and outputs the analyzed file list query information to the file system management unit 2, the file system management unit 2 waits for and receives the file list query information, generates a control command for querying the file attribute and sends the control command to the data processing unit 3;
s32) after receiving the control instruction, the data processing unit 3 obtains all file attributes from the file attribute area of the storage array unit 6 and sends them to the file system managing unit 2;
s33) the file system managing unit 2 frames all the file attribute parameters to get a file list, sends the data frame of the file list to the communication controlling unit 1, the communication controlling unit 1 outputs the data frame of the file list, and the communication controlling unit 1 outputs the file list to realize the processing flow of the file list, and returns to step S1).
S4) data playback processing: the communication control unit 1 receives a data playback processing control instruction and file information to be played back, the file system management unit 2 controls the data playback unit 5, the data processing unit 3 obtains the file data to be played back from the storage array unit 6, the data frames are output from the data playback unit 5, the flow chart is shown in figure 6, the communication control unit 1 receives the file information to be played back which is input from the outside and analyzes to obtain the file number to be played back and then sends the file number to be played back to the file system management unit 2, the file system management unit 2 converts the file number to be played back into the logic address information of the file to be played back, the logic address information of the file to be played back and a control instruction of file playback enabling are sent to the data processing unit 3, the data processing unit 3 enables the data playback unit 5 and matches the data storage area of the storage array unit 6 according to the logic address information of the file to be played back to obtain the file to be played back, sending the file to be played back to the data playback unit 5 for output, and returning to step S1), the specific steps include:
s41) the communication control unit 1 waits for and receives the file playback command and the file information to be played back input from the outside, and outputs the parsed file name to be played back, the size of the file to be played back, and the file number to be played back to the file system management unit 2;
s42) the file system management unit 2 matches the file number to be played back in the file attribute area of the storage array unit 6 through the data processing unit 3 to obtain the attribute parameter of the file to be played back, and obtains the logical address information of the file to be played back in the storage array unit 6 from the attribute parameter of the file to be played back, where the logical address of the file to be played back in the storage array unit 6 is the logical address information mapped by the physical address stored in the file system area when the storage space of the storage array unit 6 is divided, and generates a control instruction of file playback enabling, and transmits the logical address information of the file to be played back in the storage array unit 6 and the control instruction of file playback enabling to the data processing unit 3;
s43) the data processing unit 3 receives the playback enabling control command and the logical address information of the file to be played back in the storage array unit 6, and acquires the corresponding file data frame from the data storage area of the storage array unit 6 according to the logical address information of the file to be played back in the storage array unit 6;
s44) the data processing unit 3 frames the file data frame to get the file data stream to be played back, enables the data playback unit 5 and sends the file data stream to be played back to the data playback unit 5, outputs the playback data stream through the data playback unit 5, and returns to step S1).
S5) data derivation process: the communication control unit 1 receives a data export processing control instruction and file information to be exported, the file system management unit 2 controls the data processing unit 3 to obtain the file data to be exported from the storage array unit 6, the divided data frames are output through the communication control unit 1, the flow chart is shown in figure 7, the communication control unit 1 receives the externally input file information to be exported and analyzes the file information to obtain the file number to be exported and sends the file number to the file system management unit 2, the file system management unit 2 converts the file number to be exported into the logical address information of the file to be exported and sends the logical address information of the file to be exported and the control instruction of file export enable to the data processing unit 3, the data processing unit 3 matches the data storage area of the storage array unit 6 according to the logical address information of the file to be exported to obtain the file to be exported and sends the file to be exported to the file system management unit 2, the file system management unit 2 sends the file to be exported to the communication control unit 1 for export, and returns to step S1), and the specific steps include:
s51) the communication control unit 1 waits for and receives the file export command and the file information to be exported input from outside, and outputs the parsed file name, file size and file number to be exported to the file system management unit 2;
s52) the file system management unit 2 obtains attribute parameters of the file to be exported by matching the file number to be exported in the file attribute area of the storage array unit 6 through the data processing unit 3, obtains logical address information of the file to be exported in the storage array unit 6 from the attribute parameters of the file to be exported, where the logical address of the file to be exported in the storage array unit 6 is the logical address information mapped by the physical address stored in the file system area when the storage space of the storage array unit 6 is divided, generates a control instruction of file export enable, and transmits the logical address information of the file to be exported in the storage array unit 6 and the control instruction of file export enable to the data processing unit 3;
s53) the data processing unit 3 receives the control instruction of the export enable and the logical address information of the file to be exported in the storage array unit 6, and obtains the corresponding file data frame from the data storage area of the storage array unit 6 according to the logical address information of the file to be exported in the storage array unit 6;
s54) the data processing unit 3 frames the file data frame, and the framed file data stream to be exported is output to the file system management unit 2;
s55) the file system managing unit 2 receives the data stream of the file to be exported, frames the data stream of the file to be exported, and then sends it to the communication controlling unit 1, the communication controlling unit 1 outputs the data frame of the exported file, and returns to step S1), the specified file is exported through the communication controlling unit 1.
Through the steps, compared with the prior art, the method has the advantages that the file management and the data processing are respectively completed in different units, the system coupling degree is low, the stability is high, the data processing speed is high, and the like.
The foregoing is considered as illustrative of the preferred embodiments of the invention and is not to be construed as limiting the invention in any way. Although the present invention has been described with reference to the preferred embodiments, it is not intended to be limited thereto. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical spirit of the present invention should fall within the protection scope of the technical scheme of the present invention, unless the technical spirit of the present invention departs from the content of the technical scheme of the present invention.

Claims (7)

1. The utility model provides a record playback equipment, its characterized in that, is including setting up communication control unit (1), file system management unit (2), data processing unit (3), data acquisition unit (4), data playback unit (5), storage array unit (6) on same integrated circuit board, the front end of file system management unit (2) is through the rear end of gigabit ethernet interface or PCIE connector communication control unit (1), the rear end of file system management unit (2) is through the front end of PCIE or SRIO interface connection data processing unit (3), data processing unit (3) still respectively through PCIE or SRIO interface connection data acquisition unit (4), through PCIE or SRIO interface connection data playback unit (5), through SATA or EMIF interface connection storage array unit (6), wherein:
the communication control unit (1) is used for receiving and analyzing an externally input control command and then sending the control command to the file system management unit (2), and is also used for receiving and exporting data from the file system management unit (2);
the file system management unit (2) is used for managing the storage space of the storage array unit (6) and the stored file attribute parameters, generating a control instruction corresponding to the control command and sending the control instruction to the data processing unit (3), and sending the data from the data processing unit (3) to the communication control unit (1), wherein the file system management unit (2) is a DSP or ARM processor;
the data processing unit (3) is used for enabling the data acquisition unit (4) to write acquired files into the storage array unit (6) according to a control instruction, enabling the data playback unit (5) according to the control instruction, acquiring files to be played back from the storage array unit (6) and sending the files to the data playback unit (5) for output, and is also used for acquiring file attribute parameters of files to be exported or played back from the storage array unit (6) according to the control instruction and sending the file attribute parameters to the file system management unit (2), wherein the data processing unit (3) is an FPGA;
the data acquisition unit (4) is used for receiving a file to be acquired and sending the file to the data processing unit (3);
the data playback unit (5) is used for receiving and outputting the file to be played back sent by the data processing unit (3);
the storage array unit (6) is used for storing the files collected by the data collection unit (4) and corresponding file attribute parameters.
2. A control method of a recording and playback apparatus, characterized by comprising the steps of:
s1) the communication control unit (1) receives the control command input from the outside, analyzes the control command to obtain control information, and sends the control information to the file system management unit (2), if the control information received by the file system management unit (2) is the collected control information, the step S2) is skipped; if the file list is the query information, jumping to step S3); if the playback control information is, jumping to step S4); if the control information is derived, jumping to step S5);
s2) if the acquisition control information is to start acquisition, the file system management unit (2) generates file attribute parameters corresponding to the files to be acquired and sends acquisition starting control instructions to the data processing unit (3), the data processing unit (3) enables the data acquisition unit (4) and receives the acquisition files sent by the data acquisition unit (4), then the acquisition files are written into the data storage area of the storage array unit (6) to wait for the acquisition control information to stop acquisition; if the acquisition control information is acquisition stopping, the file system management unit (2) sends a control instruction for stopping acquisition to the data processing unit (3) and updates the file system, the data processing unit (3) writes the updated file system into the file system area of the storage array unit (6), writes the file attribute parameters into the file attribute area of the storage array unit (6), and returns to the step S1;
s3) the file system management unit (2) sends the control instruction for inquiring the file attribute to the data processing unit (3), the data processing unit (3) acquires all the file attribute parameters from the file attribute area of the storage array unit (6) and sends the file attribute parameters to the file system management unit (2), the file system management unit (2) generates a file list according to the file attribute parameters and sends the file list to the communication control unit (1) for output, and the step S1 is returned)
S4) the communication control unit (1) receives externally input information of a file to be played back, analyzes the information to obtain the file number to be played back, and sends the file number to the file system management unit (2), the file system management unit (2) converts the file number to be played back into the logic address information of the file to be played back, sends the logic address information of the file to be played back and a control instruction of file playback enabling to the data processing unit (3), the data processing unit (3) enables the data playback unit (5) and matches the data storage region of the storage array unit (6) according to the logic address information of the file to be played back to obtain the file to be played back, sends the file to be played back to the data playback unit (5) for output, and returns to the step S1;
s5) the communication control unit (1) receives externally input file information to be exported and analyzes the file information to obtain a file number to be exported, and then sends the file number to the file system management unit (2), the file system management unit (2) converts the file number to be exported into logical address information of the file to be exported, and sends the logical address information of the file to be exported and a control instruction enabling file export to the data processing unit (3), the data processing unit (3) matches a data storage area of the storage array unit (6) according to the logical address information of the file to be exported to obtain the file to be exported, and sends the file to be exported to the file system management unit (2), and the file system management unit (2) sends the file to be exported to the communication control unit (1) for export, and then returns to the step S1.
3. The method for controlling a recording and playback device according to claim 2, wherein step S1) is preceded by a step of initialization, specifically comprising: the file system management unit (2) divides the physical storage space of the storage array unit (6) into a file system area, a file attribute area and a data storage area through the data processing unit (3), and stores the file system, the control strategy and the logical address information mapped by the physical address of the storage array unit (6) into the file system area.
4. The control method of the recording-playback apparatus according to claim 3, wherein step S2) includes the steps of:
s21) the communication control unit (1) receives an externally input file acquisition command and outputs the analyzed acquisition control information to the file system management unit (2), the file system management unit (2) waits for and receives the acquisition control information sent by the communication control unit (1), if the acquisition control information is started, the step S22 is skipped, and if the acquisition control information is stopped, the step S25 is skipped;
s22), the file system management unit (2) receives the acquisition control information of the communication control unit (1) to generate file attribute parameters, the file system management unit (2) queries the file system to obtain the residual storage capacity information and the file number of the storage array unit (6), and transmits the residual storage capacity and the control instruction for starting acquisition to the data processing unit (3);
s23) the data processing unit (3) receives the residual storage capacity information and the control instruction, enables the data acquisition unit (4) to acquire data according to the control instruction for starting acquisition, and the data acquisition unit (4) outputs the acquired data stream to the data processing unit (3);
s24) the data processing unit (3) frames the collected data stream according to the residual storage capacity information, writes the collected data stream into the data storage area of the storage array unit (6), monitors the collection control information, and jumps to the step S25 if the collection is stopped;
s25), the data processing unit (3) receives the acquisition control information transmitted by the file system management unit (2), controls the data acquisition unit (4) to stop acquiring data and writing data into the storage array unit (6) in sequence, acquires the residual storage capacity of the storage array unit (6), and replies the residual storage capacity and the acquisition completion report to the file system management unit (2);
s26) the file system management unit (2) receives the collection completion report and the residual storage capacity, updates the residual storage capacity information and the number of files of the storage array unit (6) in the file system according to the collection completion report and the residual storage capacity, writes the file attribute parameters into the file attribute area of the storage array unit (6) through the data processing unit (3), writes the updated residual storage capacity information and the updated number of files of the storage array unit (6) into the file system area of the storage array unit (6) through the data processing unit (3), and returns to the step S1).
5. The control method of the recording-playback apparatus according to claim 3, wherein step S3) includes the steps of:
s31) the communication control unit (1) receives a file list query command input from the outside and outputs the analyzed file list query information to the file system management unit (2), the file system management unit (2) waits for and receives the file list query information, generates a control instruction for querying file attributes and sends the control instruction to the data processing unit (3);
s32) after receiving the control command, the data processing unit (3) acquires all the file attribute parameters from the file attribute area of the storage array unit (6) and sends the file attribute parameters to the file system management unit (2);
s33) the file system management unit (2) generates a file list according to all the file attribute parameters, sends the data frames of the file list to the communication control unit (1), and the communication control unit (1) outputs the data frames of the file list and returns to the step S1).
6. The control method of the recording-playback apparatus according to claim 3, wherein step S4) includes the steps of:
s41) the communication control unit (1) waits for and receives the file playback command and the file information to be played back which are input from the outside, and outputs the analyzed file name to be played back, the file size to be played back and the file number to be played back to the file system management unit (2);
s42) the file system management unit (2) matches the file number to be played back in the file attribute area of the storage array unit (6) through the data processing unit (3) to obtain the file attribute parameter to be played back, generates a control instruction of file playback enabling and sends the control instruction and the logic address information of the file to be played back in the storage array unit (6) in the file attribute parameter to be played back to the data processing unit (3);
s43) the data processing unit (3) receives the playback enabling control command and the logic address information of the file to be played back in the storage array unit (6), and acquires the corresponding file data frame from the data storage area of the storage array unit (6) according to the logic address information of the file to be played back in the storage array unit (6);
s44) the data processing unit (3) frames the file data frame to obtain the file data stream to be played back, the data playback unit (5) is enabled and sends the file data stream to be played back to the data playback unit (5), the data playback unit (5) outputs the playback data stream, and the step S1 is returned.
7. The control method of the recording-playback apparatus according to claim 3, wherein step S5) includes the steps of:
s51) the communication control unit (1) waits for and receives the file export command and the file information to be exported input from the outside, and outputs the analyzed file name, the file size and the file number to be exported to the file system management unit (2);
s52) the file system management unit (2) matches the file number to be exported in the file attribute area of the storage array unit (6) through the data processing unit (3) to obtain the file attribute parameter to be exported, generates a control instruction of the file export enable and sends the control instruction and the logical address information of the file to be exported in the storage array unit (6) in the file attribute parameter to be exported to the data processing unit (3);
s53) after the data processing unit (3) receives the control instruction, the corresponding file data frame is obtained from the data storage area of the storage array unit (6) according to the logic address information of the file to be exported in the storage array unit (6);
s54), the data processing unit (3) frames the file data frame to obtain a file data stream to be exported, and sends the file data stream to be exported to the file system management unit (2);
s55) the file system management unit (2) receives the file data stream to be exported, frames the file data stream to be exported and sends the file data stream to the communication control unit (1), the communication control unit (1) outputs the data frame of the exported file, and the step S1 is returned.
CN202110819008.0A 2021-07-20 2021-07-20 Recording playback device and control method thereof Active CN113722270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110819008.0A CN113722270B (en) 2021-07-20 2021-07-20 Recording playback device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110819008.0A CN113722270B (en) 2021-07-20 2021-07-20 Recording playback device and control method thereof

Publications (2)

Publication Number Publication Date
CN113722270A true CN113722270A (en) 2021-11-30
CN113722270B CN113722270B (en) 2023-07-11

Family

ID=78673555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110819008.0A Active CN113722270B (en) 2021-07-20 2021-07-20 Recording playback device and control method thereof

Country Status (1)

Country Link
CN (1) CN113722270B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646063A (en) * 2013-11-27 2014-03-19 中国航天科技集团公司第五研究院第五一三研究所 Satellite-borne high-speed file management system
US20150033038A1 (en) * 2004-04-08 2015-01-29 Texas Instruments Incorporated Methods, apparatus, and systems for secure demand paging and other paging operations for processor devices
CN104361373A (en) * 2014-11-27 2015-02-18 成都龙腾中远信息技术有限公司 Collecting and processing method of radio-frequency signals
US20160232105A1 (en) * 2004-04-08 2016-08-11 Texas Instruments Incorporated Methods, apparatus, and systems for secure demand paging and other paging operations for processor devices
CN106446658A (en) * 2016-08-30 2017-02-22 孙鸿鹏 Data center security protection method and system
CN107480089A (en) * 2017-07-17 2017-12-15 成都普诺科技有限公司 Eight passage AD collection playback storage systems
CN109861782A (en) * 2018-12-07 2019-06-07 天津光电通信技术有限公司 A kind of SDH protocol signal analysis platform based on PCIE analog input card
CN110069442A (en) * 2019-04-24 2019-07-30 北京计算机技术及应用研究所 A kind of ultra-high-speed data acquisition device and method based on ZYNQ Series FPGA
CN210836055U (en) * 2019-12-09 2020-06-23 湖南君瀚信息技术有限公司 High-speed storage board card and data acquisition and storage system
CN111581137A (en) * 2020-05-21 2020-08-25 北京润科通用技术有限公司 Data record recharge system and method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150033038A1 (en) * 2004-04-08 2015-01-29 Texas Instruments Incorporated Methods, apparatus, and systems for secure demand paging and other paging operations for processor devices
US20160232105A1 (en) * 2004-04-08 2016-08-11 Texas Instruments Incorporated Methods, apparatus, and systems for secure demand paging and other paging operations for processor devices
CN103646063A (en) * 2013-11-27 2014-03-19 中国航天科技集团公司第五研究院第五一三研究所 Satellite-borne high-speed file management system
CN104361373A (en) * 2014-11-27 2015-02-18 成都龙腾中远信息技术有限公司 Collecting and processing method of radio-frequency signals
CN106446658A (en) * 2016-08-30 2017-02-22 孙鸿鹏 Data center security protection method and system
CN107480089A (en) * 2017-07-17 2017-12-15 成都普诺科技有限公司 Eight passage AD collection playback storage systems
CN109861782A (en) * 2018-12-07 2019-06-07 天津光电通信技术有限公司 A kind of SDH protocol signal analysis platform based on PCIE analog input card
CN110069442A (en) * 2019-04-24 2019-07-30 北京计算机技术及应用研究所 A kind of ultra-high-speed data acquisition device and method based on ZYNQ Series FPGA
CN210836055U (en) * 2019-12-09 2020-06-23 湖南君瀚信息技术有限公司 High-speed storage board card and data acquisition and storage system
CN111581137A (en) * 2020-05-21 2020-08-25 北京润科通用技术有限公司 Data record recharge system and method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
GREG T. BLAKNEY 等: "Predator data station: A fast data acquisition system for advanced FT-ICR MS experiments", 《INTERNATIONAL JOURNAL OF MASS SPECTROMETRY》, vol. 306, no. 2, pages 246 - 252, XP028282543, DOI: 10.1016/j.ijms.2011.03.009 *
K.H. JEEJA 等: "Test station for CCSDS based data handling systems of mini satellites", 《2012 IEEE INTERNATIONAL CONFERENCE ON ADVANCED COMMUNICATION CONTROL AND COMPUTING TECHNOLOGIES (ICACCCT)》, pages 10 - 13 *
刘力 等: "大型飞机供电参数测试系统数据存储与回放技术研究", 《计算机测量与控制》, vol. 24, no. 11, pages 34 - 36 *
王传霸: "ARINC664终端测试系统软件的设计与开发", 《中国优秀硕士学位论文全文数据库 信息科技辑》, no. 01, pages 138 - 946 *

Also Published As

Publication number Publication date
CN113722270B (en) 2023-07-11

Similar Documents

Publication Publication Date Title
CN109613491A (en) A kind of high-speed signal acquisition storage and playback system based on FPGA
CN106951379B (en) A kind of high-performance DDR controller and data transmission method based on AXI protocol
CN102098562B (en) Device for lossless recording, storing and playing back high-speed images in real time without loss
CN103402068B (en) Uncompressed formula audio/video player system and player method
CN102761466B (en) IEEE (Institute of Electrical and Electronics Engineers) 1394 bus data record processing system and method
CN206162501U (en) Data conversion equipment, chip, and image system
CN104408009A (en) System and method for acquiring, processing and verifying method multi-channel interference signal
CN106897242B (en) USB composite equipment and working method thereof
CN112562121A (en) Storage data and rapid downloading method based on SRIO protocol
CN209624766U (en) A kind of high-speed signal acquisition storage and playback system based on FPGA
CN104408008A (en) Multi-channel interference signal acquiring, processing and verifying method
CN111506249A (en) Data interaction system and method based on ZYNQ platform
CN113722270B (en) Recording playback device and control method thereof
CN106528462B (en) High capacity data record device data readback equipment
CN209388378U (en) A kind of missile-borne video recorder
CN101998135A (en) System for collecting and playing mobile television signal and control method
CN104536923B (en) A kind of interference signal collection of multichannel and processing checking system
WO2020124347A1 (en) Fpga chip and electronic device having said fpga chip
CN109800195A (en) A kind of fibre channel adapter and data transmission method based on FPGA
CN104796728A (en) 4G-WIFI (fourth generation-wireless fidelity) high-definition network video server
CN204498285U (en) A kind of 4G-WIFI high-definition network video server
CN114860158A (en) High-speed data acquisition and recording method
CN101222600A (en) High speed image recording method based on memory array
CN100521594C (en) Coding terminal, decoding terminal and coding and decoding terminal based on IP network
CN209435332U (en) A kind of CML video recorder

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