Data storage device and method for EMU safety monitoring system

By using two Ethernet interfaces and data storage devices and methods for storing hard disks in the EMU safety monitoring system, the high cost and inconvenience of data storage of train electronic devices are solved, and reliable data storage and management are realized.

CN114968125BActive Publication Date: 2025-05-06CRRC QINGDAO SIFANG ROLLING STOCK RESEARCH INSTITUTE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210755767.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-30
Publication Date
2025-05-06
Estimated Expiration
2042-06-30

AI Technical Summary

Technical Problem

Existing train electronic equipment has problems such as high cost in data storage, great impact on algorithm performance, inconsistent storage methods, and lack of adaptive processing methods, resulting in inconvenient data management and abnormal data acquisition.

Method used

It provides a data storage device and method for EMU safety monitoring system, adopts two Ethernet interfaces, storage hosts and storage hard disks, receives data through unicast and multicast methods, and configures data information through configuration files to realize redundant storage and backup of data.

Benefits of technology

It reduces the storage needs of other functional devices, reduces the overall cost of the system, realizes reliable storage and management of data, and avoids data loss problems caused by hard disk corruption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114968125B_ABST
    Figure CN114968125B_ABST
Patent Text Reader

Abstract

The present invention discloses a data storage device and method for a train safety monitoring system, wherein the train safety monitoring system includes a switch, an original functional device, and a newly added functional device connected through the switch, and the data storage device includes: two Ethernet interfaces, the Ethernet interfaces are connected to the switch and the original functional device; a storage host, the storage host controls the Ethernet interface to receive unicast data of the original functional device in a unicast manner, and to receive multicast data of the newly added functional device in a multicast manner; a storage hard disk, which is used to store data of the train safety monitoring system, and the storage host stores the received unicast data, multicast data, and its own process data in the storage hard disk. The present invention stores data through a dedicated storage device, reduces the overall cost of the system, and also has good compatibility.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data storage, and in particular to a data storage device and method for a motor vehicle safety monitoring system. Background Art

[0002] There are more and more electronic devices in current trains. Some electronic devices realize basic services of trains, such as air conditioning control, LCD display, speed display, station announcement and service reminder, and some electronic devices monitor the safety status of trains, such as vehicle vibration, smoke detection, key component temperature detection, and car video monitoring. While ensuring the normal operation of the vehicle, they also save key data in the vehicle operation. These data often play a key role in analyzing vehicle abnormalities. However, the current data storage has the following problems:

[0003] Due to the limitations of network conditions and system integrity, different electronic devices are unable to transmit all running data to the platform, so independent storage media must be used to store data, which increases costs.

[0004] In addition, many electronic devices on the train implement relatively complex algorithms. If the running data is stored, it will affect the performance of the algorithm.

[0005] Due to the variety of electronic devices, the storage methods of different devices are also different, which brings great inconvenience to vehicle data management and vehicle abnormal data acquisition.

[0006] In order to realize the main functions of each electronic device, storage is often not the main optimization point of the device. When there is an abnormality in the storage device, such as the storage space is full, the storage device does not exist, the storage device is not formatted, etc., there is no better adaptive processing method, and the corresponding service personnel must be required to restore it. Summary of the invention

[0007] In view of the shortcomings of the above-mentioned data storage method, which is complex and costly, the present invention proposes a data storage device and method for a motor vehicle safety monitoring system.

[0008] In a first aspect, an embodiment of the present application provides a data storage device for a train safety monitoring system, wherein the train safety monitoring system includes a switch, an existing functional device, and a newly added functional device connected via the switch, and the data storage device includes:

[0009] Two Ethernet interfaces, the Ethernet interfaces are connected to the switch and the original functional device;

[0010] A storage host, wherein the storage host controls the Ethernet interface to receive the unicast data of the original functional device in a unicast manner and to receive the multicast data of the newly added functional device in a multicast manner;

[0011] The storage hard disk is used to store the data of the EMU safety monitoring system. The storage host stores the received unicast data, multicast data and its own process data in the storage hard disk.

[0012] The above-mentioned data storage device further includes a power management module connected to the storage host and a hard disk lock connected to the power management module. When the hard disk lock is opened, the power management module receives a hard disk unplugging signal and notifies the storage host. The storage host stops receiving data, and the power management module cuts off the power to the storage hard disk.

[0013] The above-mentioned data storage device, wherein the storage host configures the data information of the newly added functional device through a configuration file, and the data information includes the data type, the IP address of the data source device, the number of data packets stored for a single file, the data storage directory, and the effective number of days for data storage.

[0014] The above-mentioned data storage device, wherein, after receiving multicast data via multicast, the data storage device determines whether the IP address of the data source device of the multicast data has been configured, and if so, stores the multicast data; if not, discards the received multicast data.

[0015] The above-mentioned data storage device, wherein the storage hard disk includes a first storage hard disk and a second storage hard disk, and the storage host stores the received unicast data, multicast data and its own process data in the first storage hard disk and / or the second storage hard disk; after the data storage device is started, it detects whether the status of the first storage hard disk and the second storage hard disk is normal. If the first storage hard disk and the second storage hard disk are both normal, the data is stored in the first storage hard disk, and the data that has been stored is backed up to the second storage hard disk.

[0016] The above-mentioned data storage device, wherein, during the data storage process, if the data storage device detects that one of the first storage hard disk and the second storage hard disk is not formatted or data cannot be written, the data is stored in the other of the first storage hard disk and the second storage hard disk, and one of the first storage hard disk and the second storage hard disk is unmounted and formatted and then remounted, and the data stored in the other of the first storage hard disk and the second storage hard disk is backed up to one of the first storage hard disk and the second storage hard disk.

[0017] In a second aspect, an embodiment of the present application provides a data storage method for a train safety monitoring system, which is applied to the above-mentioned data storage device, including:

[0018] Data receiving step: receiving unicast data of the original functional equipment in the EMU safety monitoring system in unicast mode through two Ethernet interfaces, and receiving multicast data of the newly added functional equipment in the EMU safety monitoring system in multicast mode;

[0019] Data storage step: storing the received unicast data and multicast data as well as the process data of the data storage device through the data storage device.

[0020] In the above data storage method, the data receiving step further comprises:

[0021] Data information configuration step: configure the data information of the newly added functional device through the configuration file;

[0022] IP address determination step: determine whether the IP address of the data source device of the received multicast data has been configured. If so, send the multicast data to the unicast data receiving module; if not, discard the received multicast data.

[0023] In the above data storage method, the data receiving step further comprises: receiving unicast data of the original functional device in a unicast manner, and sending the unicast data and the process data to the unicast data receiving module.

[0024] The above data storage method further comprises:

[0025] Data detection step: The data of the unicast data receiving module is detected by the communication status detection module. If the detection result is that no data is received, a communication abnormality is reported.

[0026] Compared with the prior art, the advantages and positive effects of the present invention are:

[0027] 1. The present invention provides a universal storage device. The data of other devices in the chassis are sent to the device of the present invention through two Ethernets, which reduces the storage requirements of other functional devices and the overall cost of the system; and the two Ethernet data are redundant communication, which avoids the abnormality of data storage caused by the abnormality of a single Ethernet, and completes the reliable storage of data;

[0028] 2. The present invention provides two data receiving modes: unicast and multicast, and can realize the expansion of storage data through the Ethernet switching board, and has good compatibility;

[0029] 3. The storage device of the present invention is equipped with a super-large energy storage capacitor, and by obtaining a backplane power-off signal, the reception and storage of data are stopped in time, thereby avoiding the influence of abnormal power off on storage;

[0030] 4. The dual hard disk backup storage method can avoid the problem of data being unable to be stored when the hard disk is damaged, thus ensuring the reliability of data storage. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A structural framework diagram of a data storage device for a train safety monitoring system provided by the present invention;

[0032] Figure 2 A topological structure diagram of the EMU safety monitoring system provided by the present invention;

[0033] Figure 3 A design diagram of the pluggable storage hard disk provided by the present invention;

[0034] Figure 4 A schematic diagram of the software structure provided by the present invention and mounted on the data storage device;

[0035] Figure 5 A schematic diagram of the data storage process provided by the present invention;

[0036] Figure 6 A flowchart of the storage hard disk provided by the present invention;

[0037] Figure 7 A logical diagram of hard disk A status detection provided by the present invention;

[0038] Figure 8 This is a logical diagram of hard disk B status detection provided by the present invention. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0040] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for ordinary technicians in this field related to the content disclosed in this application, some changes in design, manufacturing or production based on the technical content disclosed in this application are just conventional technical means, and should not be understood as insufficient content disclosed in this application.

[0041] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.

[0042] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantitative limitation, and may represent the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.

[0043] The present invention is described in detail below in conjunction with the various embodiments shown in the accompanying drawings, but it should be noted that these embodiments are not limitations of the present invention, and any equivalent transformations or substitutions in functions, methods, or structures made by ordinary technicians in the field based on these embodiments are all within the scope of protection of the present invention.

[0044] Embodiment 1:

[0045] Figure 1 A structural framework diagram of a data storage device for a train safety monitoring system provided by the present invention; Figure 1 As shown, this embodiment discloses a specific implementation of a data storage device (hereinafter referred to as "device") for a EMU safety monitoring system.

[0046] The present invention proposes a special storage device, to realize the special storage of different electronic equipment operation data, thereby avoiding the problem that other electronic products must have storage medium, by adopting a unified storage scheme, it is convenient for the management and data export of different electronic equipment storage data. In the face of storage medium anomalies, the present invention, on the basis of dual hard disk backup storage, realizes an abnormal recovery mechanism, ensures the reliability of data storage, and reports data source communication anomalies with platform communication via Ethernet TRDP.

[0047] In this embodiment, the EMU safety monitoring system includes a switch, original functional equipment, and newly added functional equipment connected through the switch.

[0048] Specifically, the present invention integrates a variety of functional electronic devices in the security monitoring system, such as Figure 2 As shown, shaft temperature detection and processing equipment, shaft temperature processing acquisition equipment, instability detection and processing equipment, stability detection and processing equipment, shaft vibration detection and processing equipment, and tooth vibration detection and processing equipment are all installed on a chassis through the CPCI interface, and each board communicates in Ethernet mode.

[0049] In order to solve the problem of waste of equipment storage resources, the present invention separates the storage of each board and provides a dedicated storage board (i.e. the above-mentioned data storage device) for storage. Figure 2 The storage board in the other boards send the data to be stored to the storage board via Ethernet, and the storage board completes the data storage. Figure 2 The switch card in the system provides two external Ethernet interfaces, which can realize the expansion of new function cards and achieve richer data storage.

[0050] Storing data through dedicated storage devices reduces the storage requirements of other devices and the overall cost of the system. It ensures the operation of basic functions required for data storage of other devices, and each module of the system can perform its respective functions. The operating data of multiple devices on the train are stored in the device storage medium of the present invention, which is convenient for data management and data export. It can also expand the data storage of new devices through configuration, and has good compatibility.

[0051] In some embodiments, the data storage device comprises:

[0052] Two Ethernet interfaces, the Ethernet interfaces are connected to the switch and the original functional device;

[0053] A storage host, wherein the storage host controls the Ethernet interface to receive the unicast data of the original functional device in a unicast manner and to receive the multicast data of the newly added functional device in a multicast manner;

[0054] The storage hard disk is used to store the data of the EMU safety monitoring system. The storage host stores the received unicast data, multicast data and its own process data in the storage hard disk.

[0055] The data storage device also includes a power management module connected to the storage host and a hard disk lock connected to the power management module. When the hard disk lock is opened, the power management module receives a hard disk unplugging signal and notifies the storage host. The storage host stops receiving data, and the power management module cuts off the power to the storage hard disk.

[0056] Specifically, the storage device board adopts NXP's Imx8mm chip as the main CPU (storage host), supports 2-way CAN, realizes redundant data communication through 2-way 100Mbps Ethernet, and adopts 2 pluggable solid-state hard disks for storage; specifically, the data of other devices in the chassis are sent to the device of the present invention through two Ethernets, and when receiving data from other boards in the chassis and other network devices, dual Ethernet redundant reception is adopted, requiring other devices to synchronously send the same data through two Ethernets, and the storage board stores the data of both Ethernets. Since the data of the two Ethernets are redundant communications, the abnormality of data storage caused by the abnormality of a single Ethernet can be avoided, thereby completing reliable data storage; and the storage board hard disk can store data from two Ethernets at the same time to ensure reliable data storage.

[0057] Functional block diagram Figure 1 As shown:

[0058] The main CPU communicates with the chassis backplane through ETH, and then communicates with other models of equipment to receive storage data; the CAN bus is used to control the transmission of messages, such as handshake, time calibration, data communication status control, etc.; PHY is used to receive signals from the backplane, such as chassis power-off signals, board types, etc. When the CPU receives the storage data, the software stores the data of different boards in SSD-A or SSD-B through multi-process. Figure 1 The middle lock A and lock B are used to make the hard disk pluggable. The principle is: when the hard disk needs to be unplugged, the hard disk lock can be opened. After the power management module receives the hard disk unplug signal, it notifies the CPU program to stop data storage and power off the hard disk.

[0059] In this embodiment, the storage board is also equipped with a super capacitor. When the chassis is powered off, the storage board will not be powered off immediately due to the effect of the super capacitor. The CPU obtains the power-off signal through the PHY, stops receiving data, and stops storing data, thereby avoiding abnormal hard disk failures due to abnormal power off and increasing the service life of the device. Figure 3 By installing a large energy storage capacitor and obtaining a backplane power-off signal, the reception and storage of data are stopped in time, thus avoiding the impact of abnormal power outages on storage.

[0060] In some embodiments, the software carried by the data storage device is designed based on the Linux platform, and the entire software system includes u-boot, kernel system, file system, startup script and user program. The startup script and user program are components of the file system, and the system startup process is as follows: the system is powered on, that is, the power board is powered on, and then the chassis backplane obtains voltage and provides a power-on reset signal to the storage board. The CPU reads the u-boot code from the storage medium according to the startup parameters and completes the initialization of the system core configuration (clock, DDR, CPU), u-boot loads the kernel file and file system according to the startup parameters and starts the Linux system. After the Linux kernel completes its own startup, it loads the hardware driver, starts the necessary services (ssh, systemd, kernellog...), loads the startup script, and the startup script starts the application. The overall software composition is as follows Figure 4 shown.

[0061] The present invention receives data from other devices in the system through two Ethernet ETH interfaces, and supports two data receiving modes, namely unicast mode and multicast mode. There are three types of received data: multicast data from electronic devices of other manufacturers (including feature data and part of original data), unicast data from the system itself (including feature data and part of original data), and process data of the storage device itself. For the three types of data, the data eventually flows to the data storage module of the present invention. However, there are certain differences in the data flows of the three types of data. The present invention provides two data receiving modes, unicast and multicast, and can realize the expansion of storage data through the Ethernet switching board, and supports it through software configuration. The specific data processing process is as follows: Figure 5 As shown:

[0062] The storage device of the present invention receives data via Ethernet in unicast mode and multicast mode, wherein:

[0063] The unicast mode is mainly for confirmed electronic devices that need to store data. When such electronic devices establish a communication connection with the storage device of the present invention through the unicast mode, the storage device directly stores the received data through the data storage module;

[0064] The multicast mode is an extension of the unicast communication mode. The multicast receiving address of this device is 239.255.10.1 or 239.255.20.1, which correspond to the two network ports of the storage device respectively. This mode is mainly used to support the data storage of the newly expanded equipment and can unify the target address for sending. The storage host configures the data information of the newly expanded electronic equipment through the configuration file. The configuration content must include the data type, the IP address of the data source device, the number of data packets stored in a single file, the data storage directory, and the effective number of days for data storage.

[0065] After the boards on the security monitoring host chassis and other devices connected through the switch board are started and running, the storage device detects the reception of the multicast address in real time. If data is received, it determines whether the IP address of the data source device has been configured. If it has been configured, the data is sent to the local unicast data receiving module. If it has not been configured, the received data is discarded.

[0066] The communication status detection module detects the received multicast and unicast data by reading the configured storage data parameters. If no data is received, it is considered that the storage device communicates abnormally with the data source electronic device, and the communication anomaly is reported through TRDP.

[0067] The present invention detects received multicast data and unicast data respectively through configuration parameters, and if the configured data type is missing, reports the platform data storage abnormality, thereby ensuring reliable storage of data.

[0068] The storage management module manages the stored data by reading the configured storage data parameters. When the stored data exceeds the effective storage time, the stored file is deleted.

[0069] In some embodiments, the storage hard disk includes a first storage hard disk and a second storage hard disk, and the storage host stores the received unicast data, multicast data and its own process data in the first storage hard disk and / or the second storage hard disk; after the data storage device is started, it detects whether the status of the first storage hard disk and the second storage hard disk is normal. If both the first storage hard disk and the second storage hard disk are normal, the data is stored in the first storage hard disk, and the data that has been stored is backed up to the second storage hard disk.

[0070] During the data storage process, if the data storage device detects that one of the first storage hard disk and the second storage hard disk is not formatted or data cannot be written, the data is stored in the other of the first storage hard disk and the second storage hard disk, and one of the first storage hard disk and the second storage hard disk is unmounted, formatted, and then remounted, and the data stored in the other of the first storage hard disk and the second storage hard disk is backed up to one of the first storage hard disk and the second storage hard disk.

[0071] The dual hard disk backup storage method can avoid the problem of data being unable to be stored when the hard disk is damaged, ensuring data reliability. When an abnormality is detected in the hard disk, such as not being formatted or not being detected, it can be automatically restored by remounting the software or resetting the hard disk.

[0072] Specifically, the data storage module is used to implement the data storage of the storage device of the present invention, which includes two hard disks to implement dual backup storage of data. The processing logic is as follows: Figure 6 As shown, hard disk A (first storage hard disk) is the main storage device (solid state disk), and hard disk B (second storage hard disk) is the backup auxiliary storage device (mechanical disk).

[0073] After the storage device system is started, the system is initialized first to detect whether the status of hard disk A and hard disk B is normal. If hard disk A and hard disk B are normal after startup, when hard disk A completes the storage of a file, the file that has been written will be backed up to hard disk B.

[0074] Hard disk status detection logic is as follows Figure 7 , Figure 8 As shown:

[0075] If hard disk A is not detected at startup, but hard disk B is detected, hard disk B will be temporarily used as the primary storage medium, and an attempt will be made to power on and reset hard disk A. If hard disk A is restored, the newly stored data files on hard disk B will be backed up to hard disk A. After the files currently recorded on hard disk B are written, the last generated files will be backed up to hard disk A again, and hard disk A will be switched to the primary storage device.

[0076] If during data storage, it is detected that hard disk B is not formatted or data cannot be written, unmount and format hard disk B, then remount it, and then back up all data on hard disk A to hard disk B.

[0077] If data cannot be written or is not formatted when hard disk A is storing data, but hard disk B is detected, hard disk B will be temporarily used as the primary storage medium, and an attempt will be made to unmount and format the hard disk and then remount it. After hard disk A is restored, all data files on hard disk B will be backed up to hard disk A. After the files currently recorded on hard disk B are written, the last generated files will be backed up to hard disk A again, and hard disk A will be switched to the primary storage device.

[0078] The dual hard drive backup storage method can avoid the problem of data being unable to be stored when the hard drive is damaged, thus ensuring the reliability of data storage.

[0079] Embodiment 2:

[0080] In combination with the data storage device for a EMU safety monitoring system disclosed in Example 1, this embodiment discloses a specific implementation example of a data storage method (hereinafter referred to as the “method”) applied to the above data storage device.

[0081] The above data storage method includes:

[0082] Step S1: receiving unicast data of the original functional devices in the EMU safety monitoring system in unicast mode through two Ethernet interfaces, and receiving multicast data of the newly added functional devices in the EMU safety monitoring system in multicast mode;

[0083] Step S2: The received unicast data and multicast data as well as the process data of the data storage device are stored in the data storage device.

[0084] Step S1 also includes:

[0085] Step S11: configuring data information of the newly added functional device through a configuration file;

[0086] Step S12: Check whether the IP address of the data source device of the received multicast data has been configured. If it has been configured, the multicast data is sent to the unicast data receiving module; if it has not been configured, the received multicast data is discarded;

[0087] Step S12: receiving the unicast data of the original functional device in a unicast manner, and sending the unicast data and the process data to the unicast data receiving module.

[0088] Step S3: The communication status detection module detects the data of the unicast data receiving module. If the detection result is that no data is received, a communication abnormality is reported.

[0089] In summary, the beneficial effects of the present invention are:

[0090] 1. The present invention provides a universal storage device, in which data from other devices in the chassis are sent to the device of the present invention via two Ethernets, and the two Ethernet data are redundant communications, thereby avoiding data storage anomalies caused by single Ethernet anomalies, and completing reliable data storage;

[0091] 2. The dual hard disk backup storage method can avoid the problem of data being unable to be stored when the hard disk is damaged, thus ensuring the reliability of data storage;

[0092] 3. Storing data through dedicated storage devices reduces the storage requirements of other devices, reduces the overall system cost, and ensures the operation of basic functions. Each module of the system can perform its own duties, which facilitates data management and data export; it can expand the data storage of new devices through configuration and has good compatibility.

[0093] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0094] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A data storage device for a train safety monitoring system, characterized in that: The EMU safety monitoring system includes a switch, existing functional equipment, and newly added functional equipment connected through the switch, and the data storage device includes: Two Ethernet interfaces, the Ethernet interfaces are connected to the switch and the original functional device; A storage host, wherein the storage host controls the Ethernet interface to receive the unicast data of the original functional device in a unicast manner and to receive the multicast data of the newly added functional device in a multicast manner; A storage hard disk, used to store data of the EMU safety monitoring system, wherein the storage host stores received unicast data, multicast data and its own process data in the storage hard disk; Wherein, the storage host configures the data information of the newly added functional device through a configuration file; After receiving the multicast data in a multicast manner, the data storage device determines whether the IP address of the data source device of the multicast data has been configured, and if so, stores the multicast data; if not, discards the received multicast data; The storage hard disk includes a first storage hard disk and a second storage hard disk. The storage host stores the received unicast data, multicast data and its own process data in the first storage hard disk and / or the second storage hard disk. After the data storage device is started, it detects whether the status of the first storage hard disk and the second storage hard disk is normal. If both the first storage hard disk and the second storage hard disk are normal, the data is stored in the first storage hard disk, and the data that has been stored is backed up to the second storage hard disk.

2. The data storage device according to claim 1, characterized in that The data storage device also includes a power management module connected to the storage host and a hard disk lock connected to the power management module. When the hard disk lock is opened, the power management module receives a hard disk unplugging signal and notifies the storage host. The storage host stops receiving data, and the power management module cuts off the power to the storage hard disk.

3. The data storage device according to claim 1, characterized in that: The storage host configures data information of the newly added functional device through a configuration file, and the data information includes data type, IP address of a data source device, number of data packets stored for a single file, data storage directory, and valid days for data storage.

4. The data storage device according to claim 1, characterized in that: During the data storage process, if the data storage device detects that one of the first storage hard disk and the second storage hard disk is not formatted or data cannot be written, the data is stored in the other of the first storage hard disk and the second storage hard disk, and one of the first storage hard disk and the second storage hard disk is unmounted, formatted, and then remounted, and the data stored in the other of the first storage hard disk and the second storage hard disk is backed up to one of the first storage hard disk and the second storage hard disk.

5. A data storage method for a train safety monitoring system, applied to the data storage device according to any one of claims 1 to 4, characterized in that: include: Data receiving step: receiving unicast data of the original functional equipment in the EMU safety monitoring system in unicast mode through two Ethernet interfaces, and receiving multicast data of the newly added functional equipment in the EMU safety monitoring system in multicast mode; Data storage step: storing the received unicast data and multicast data and process data of the data storage device through the data storage device; Data information configuration step: configure the data information of the newly added functional device through the configuration file; IP address determination step: determine whether the IP address of the data source device of the received multicast data has been configured. If so, send the multicast data to the unicast data receiving module; if not, discard the received multicast data.

6. The data storage method according to claim 5, characterized in that: The data receiving step further includes: receiving unicast data of the original functional device in a unicast manner, and sending the unicast data and the process data to the unicast data receiving module.

7. The data storage method according to claim 6, characterized in that: Also includes: Data detection step: The data of the unicast data receiving module is detected by the communication status detection module. If the detection result is that no data is received, a communication abnormality is reported.

Citation Information

Patent Citations

  • Method for backuping data through adopting dual-disk read-write operation

    CN102841863A

  • Video storage device for train video monitoring system

    CN111726563A

  • Addressing method and device between board cards and computer equipment

    CN114430403A