Usb flash disk failure online detection alarm device, method, equipment and system
By designing an online fault detection and alarm device for USB flash drives, remote real-time monitoring and fault alarms of USB flash drive status were achieved, solving the device availability problem caused by the ease with which USB flash drives can be tampered with, and ensuring timely replacement and remote monitoring of USB flash drive status.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CASCO SIGNAL LTD
- Filing Date
- 2022-07-08
- Publication Date
- 2026-04-28
AI Technical Summary
Industrial-grade USB flash drives are prone to bit reversal during use, which can lead to configuration file tampering, affecting the availability of trackside equipment and making it impossible to detect and handle USB flash drive failures in a timely manner.
Design a USB flash drive fault online detection and alarm device, including a main processing unit and a secondary processing unit, which exchanges USB flash drive status information through network communication and sends the fault status to remote monitoring and maintenance equipment in real time, so as to realize remote real-time monitoring and fault alarm of USB flash drive status.
It enables the sharing of the status of multiple USB flash drives, ensuring information consistency, timely detection and replacement of faulty USB flash drives, avoiding reboot failures, supporting remote fault status monitoring, facilitating overall scheduling, and not affecting the operation of existing programs.
Smart Images

Figure CN115185772B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of online fault detection technology for USB flash drives, and in particular to an online fault detection alarm device, method, equipment, and system for USB flash drives. Background Technology
[0002] Trackside equipment in the signaling system, such as ZC (Zone Controller) and LC (Line Controller), all operate on a trackside safety platform. The configuration files for these devices are typically stored on industrial-grade USB flash drives, which are read and written via a common USB interface. The configuration files on the USB flash drive are verified using methods such as MD5 (encryption algorithm) codes to ensure their correctness.
[0003] However, in actual use, it was found that industrial-grade USB drives exhibit a certain probability of "bit inversion," which can lead to configuration file tampering and ultimately cause verification failures and unsuccessful power-on of the chassis, thus affecting the overall availability of the trackside equipment. Therefore, it is necessary to monitor the status of online USB drives in real time. Once it is detected that the configuration file in use on the USB drive has been tampered with, the USB drive fault information should be promptly notified to the maintenance software and remote monitoring software, allowing on-site maintenance personnel to replace the USB drive and rewrite its configuration file. Summary of the Invention
[0004] This invention aims to at least partially solve one of the technical problems in related technologies. Therefore, the first objective of this invention is to provide a USB flash drive fault online detection and alarm device to achieve online fault detection and alarm functions for USB flash drives and to realize remote real-time monitoring of the USB flash drive status.
[0005] The second objective of this invention is to provide an online detection and alarm method for USB flash drive malfunctions.
[0006] The third objective of this invention is to provide an online detection and alarm device for USB flash drive malfunctions.
[0007] The fourth objective of this invention is to provide an online detection and alarm system for USB flash drive malfunctions.
[0008] To achieve the above objectives, the present invention is implemented through the following technical solution:
[0009] A USB flash drive fault online detection and alarm device includes: a main processing unit and a secondary processing unit, the main processing unit being connected to the secondary processing unit, the main processing unit being used to acquire first USB flash drive status information of a USB flash drive plugged into its own board, and to receive second USB flash drive status information of a USB flash drive plugged into the secondary processing unit board sent by the secondary processing unit;
[0010] The secondary processing unit is used to obtain the status information of the second USB flash drive and to obtain the status information of the first USB flash drive from the main processing unit;
[0011] The main processing unit and the secondary processing unit are also respectively used to send the first USB flash drive status information and the second USB flash drive status information to the remote monitoring and maintenance equipment, so that the remote monitoring and maintenance equipment can monitor the fault status of the USB flash drives plugged into the main processing unit board and the secondary processing unit board according to the first USB flash drive status information and the second USB flash drive status information.
[0012] Optionally, the main processing unit and the sub-processing unit have the same internal structure, and the main processing unit and the sub-processing unit include:
[0013] The first board and the second board are respectively used to detect and store the status information of the USB flash drives plugged into their respective boards, and to send the corresponding USB flash drive fault status alarm information to the outside world when the corresponding USB flash drive is detected to be in a fault state.
[0014] Optionally, the first board and the second board in the main processing unit and the sub-processing unit also exchange status information of the USB flash drives plugged into their respective boards via network communication.
[0015] Optionally, after acquiring the status information of all USB drives in the main processing unit, the first board in the main processing unit is further configured to send the status information of all USB drives in the main processing unit to the first board in the sub-processing unit, and to receive the status information of all USB drives in the sub-processing unit sent by the first board in the sub-processing unit.
[0016] Optionally, the first board in the main processing unit is further configured to send the status information of all USB flash drives in the sub-processing unit to the second board in the main processing unit, and the first board in the sub-processing unit is further configured to send the status information of all USB flash drives in the main processing unit to the second board in the sub-processing unit.
[0017] Optionally, the first board and the second board in the main processing unit and the sub-processing unit further include an upper-layer application unit. The first board and the second board in the main processing unit and the sub-processing unit are also respectively used to send the status information of all USB flash drives acquired by their respective boards to the corresponding upper-layer application unit, and send the status information of all USB flash drives acquired by their respective boards to the remote monitoring and maintenance device through the corresponding upper-layer application unit.
[0018] Optionally, the USB flash drive fault online detection and alarm device further includes: an intranet interaction unit, which is connected to the main processing unit and the secondary processing unit respectively. The intranet interaction unit is used to send the status information of all USB flash drives and the fault status alarm information of all USB flash drives to the intranet monitoring and maintenance equipment.
[0019] The external network interaction unit is connected to both the main processing unit and the secondary processing unit. The external network interaction unit is used to send the status information of all USB flash drives and the fault status alarm information of all USB flash drives to the remote monitoring and maintenance equipment.
[0020] Optionally, the intranet interaction unit includes: a first network terminal, a second network terminal, a first intranet switch, and a second intranet switch, wherein the first board and the second board in the main processing unit and the sub-processing unit are both connected to the first intranet switch through the first network terminal, and the first board and the second board in the main processing unit and the sub-processing unit are also connected to the second intranet switch through the second network terminal.
[0021] Optionally, the external network interaction unit includes: a first network terminal, a second network terminal, a first internal switch, a second internal switch, a first communication gateway, a second communication gateway, and an external network switch. The first and second boards in the main processing unit and the sub-processing unit are sequentially connected to the external network switch via the first network terminal, the first internal switch, and the first communication gateway. Furthermore, the first and second boards in the main processing unit and the sub-processing unit are also sequentially connected to the external network switch via the second network terminal, the second internal switch, and the second communication gateway.
[0022] To achieve the above objectives, a second aspect of the present invention provides a method for online detection and alarm of USB flash drive faults, comprising:
[0023] The main processing unit obtains the first USB flash drive status information of the USB flash drive plugged into its own board, and receives the second USB flash drive status information of the USB flash drive plugged into the sub-processing unit board from the sub-processing unit.
[0024] The secondary processing unit obtains the status information of the second USB drive and obtains the status information of the first USB drive from the main processing unit;
[0025] The main processing unit and the secondary processing unit respectively send the first USB flash drive status information and the second USB flash drive status information to the remote monitoring and maintenance equipment, so that the remote monitoring and maintenance equipment can monitor the fault status of the USB flash drives plugged into the main processing unit board and the secondary processing unit board according to the first USB flash drive status information and the second USB flash drive status information.
[0026] To achieve the above objectives, a third aspect of the present invention provides a USB flash drive fault online detection and alarm device, including the USB flash drive fault online detection and alarm device described above.
[0027] To achieve the above objectives, a fourth aspect of the present invention provides a USB flash drive fault online detection and alarm system, comprising: an intranet monitoring and maintenance device, a remote monitoring and maintenance device, and the aforementioned USB flash drive fault online detection and alarm device, wherein the intranet monitoring and maintenance device and the remote monitoring and maintenance device are respectively used to monitor the USB flash drive status in the USB flash drive fault online detection and alarm device based on received USB flash drive status information.
[0028] This invention has at least the following technical effects:
[0029] (1) After each board detects its own USB flash drive configuration file status, the multiple boards communicate with each other via network communication to realize the sharing of USB flash drive status among the multiple boards, ensuring the consistency of all USB flash drive status information obtained by the multiple boards.
[0030] (2) The present invention can obtain the fault status of the USB flash drive in real time, so that maintenance personnel can obtain the fault status of the USB flash drive in time and replace the faulty USB flash drive, thus avoiding the situation that the restart of the cabinet will fail due to the faulty USB flash drive because it is not detected and replaced in time;
[0031] (3) By transmitting the data to remote monitoring and maintenance equipment, the present invention enables line maintenance personnel to obtain the USB flash drive fault status of remote stations in a timely manner at the control center without having to go to the station, thereby facilitating the overall scheduling of on-site faulty USB flash drive replacement work.
[0032] (4) The USB flash drive fault status detection task in this invention can be used as a low-priority task in the background program, and the detection cycle is relatively long, so it will not affect the operation of the existing program. Furthermore, the detection cycle can be flexibly adjusted according to the actual line requirements of different users by adjusting the configuration parameters, so as to meet the needs of different line fault detection and maintenance.
[0033] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0034] Figure 1 This is a structural block diagram of an online USB flash drive fault detection and alarm device provided in an embodiment of the present invention;
[0035] Figure 2 This is a schematic diagram illustrating the working principle of an online USB flash drive fault detection and alarm device according to an embodiment of the present invention.
[0036] Figure 3This is a structural block diagram of an online USB flash drive fault detection and alarm device provided in another embodiment of the present invention;
[0037] Figure 4 A flowchart of an online fault detection and alarm method for USB flash drives provided in an embodiment of the present invention;
[0038] Figure 5 A flowchart illustrating an online fault detection and alarm method for USB flash drives provided as a specific example of the present invention;
[0039] Figure 6 This is a structural block diagram of an online USB flash drive fault detection and alarm device provided in an embodiment of the present invention;
[0040] Figure 7 This is a structural block diagram of an online USB flash drive fault detection and alarm system provided in an embodiment of the present invention. Detailed Implementation
[0041] The following describes this embodiment in detail. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the invention, and should not be construed as limiting the invention.
[0042] The following description, with reference to the accompanying drawings, describes the USB flash drive fault online detection and alarm device, method, equipment, and system of this embodiment.
[0043] Figure 1 This is a structural block diagram of an online USB flash drive fault detection and alarm device provided in an embodiment of the present invention. Figure 1 As shown, the USB flash drive fault online detection and alarm device 10 includes: a main processing unit 11 and a secondary processing unit 12. Among them, as... Figure 1 and Figure 2 As shown, the main processing unit 11 is connected to the secondary processing unit 12. The main processing unit 11 is used to obtain the first USB flash drive status information of the USB flash drive plugged into its own board and to receive the second USB flash drive status information of the USB flash drive plugged into the secondary processing unit board sent by the secondary processing unit 12. The secondary processing unit 12 is used to obtain the second USB flash drive status information and to obtain the first USB flash drive status information from the main processing unit 11. The main processing unit 11 and the secondary processing unit 12 are also used to send the first USB flash drive status information and the second USB flash drive status information to the remote monitoring and maintenance device 300, so that the remote monitoring and maintenance device 300 can monitor the fault status of the USB flash drives plugged into the main processing unit board and the secondary processing unit board according to the first USB flash drive status information and the second USB flash drive status information.
[0044] Specifically, in this embodiment, the device is a 2002 general-purpose security platform, comprising a main processing unit 11 and a secondary processing unit 12. In this embodiment, both the main processing unit 11 and the secondary processing unit 12 may be equipped with multiple boards, each board having a USB flash drive plugged into it. The USB flash drive stores the configuration file required for the board's operation. The main processing unit 11 can obtain the status information of all USB flash drives plugged into its own boards, i.e., the first USB flash drive status information. It can also receive the status information of all USB flash drives plugged into all its own boards from the secondary processing unit 12, i.e., the second USB flash drive status information. Therefore, the main processing unit 11 can obtain both the first and second USB flash drive status information, and correspondingly, the secondary processing unit 12 can also obtain both the first and second USB flash drive status information. Figure 2 As shown, the main processing unit 11 and the secondary processing unit 12 can respectively send all the acquired first USB flash drive status information and second USB flash drive status information to the remote monitoring and maintenance device 300, so that the remote monitoring and maintenance device 300 can monitor the configuration file status of all plugged USB flash drives, i.e., the fault status of the USB flash drives.
[0045] In one embodiment of the present invention, the main processing unit 11 and the sub-processing unit 12 have the same internal structure, such as... Figure 2 As shown, the main processing unit 11 and the secondary processing unit 12 include a first board 21 and a second board 22. The first board 21 and the second board 22 are respectively used to detect and store the status information of the USB flash drives plugged into their respective boards, and to send fault status alarm information of the corresponding USB flash drive when a fault is detected.
[0046] Specifically, such as Figure 2 As shown, the main processing unit 11 and the secondary processing unit 12 have the same internal structure. The main processing unit 11 includes a first board 21 and a second board 22, and the secondary processing unit 12 also includes a first board 21 and a second board 22. In this embodiment, the main processing unit 11 and the secondary processing unit 12 can be referred to as the main system and the counterpart system, respectively. Of course, the main system and the counterpart system are relative terms. In this embodiment, each of the four boards in the dual system can detect the status of the USB flash drive plugged into its own USB port and assign values to relevant status variables to record the USB status of the board. If the USB flash drive is detected to be in a faulty state, the fault status alarm information of the USB flash drive can be sent synchronously to the host computer maintenance platform subsystem to prompt for USB flash drive replacement or rewriting of the configuration file.
[0047] For example, if the first board 21 in the main processing unit 11 detects that the USB flash drive plugged into it is in a faulty state, the first board 21 can synchronize the corresponding USB flash drive fault status alarm information to the host computer maintenance platform subsystem to prompt for USB flash drive replacement or rewriting of configuration files.
[0048] like Figure 2As shown, the first board 21 and the second board 22 in the main processing unit 11 and the sub-processing unit 12 also exchange status information of the USB flash drives plugged into their respective boards via network communication. In this embodiment, a communication module 23 can also be provided between the main processing unit 11 and the sub-processing unit 12 to realize information interaction between the main processing unit 11 and the sub-processing unit 12. In this embodiment, the communication module 23 can be responsible for performing 2-out-of-2 voting processing on the dual-channel data of the first board 21 and the second board 22.
[0049] Specifically, the first board 21 within the department can send its USB flash drive status to the second board 22 within the department via network communication, and at the same time, the second board 22 within the department can also send its USB flash drive status to the first board 21 within the department via network communication, that is, the USB flash drive status of the boards can be transferred between departments.
[0050] In one embodiment of the present invention, after obtaining the status information of all USB flash drives in the main processing unit 11, the first board 21 in the main processing unit 11 is further configured to send the status information of all USB flash drives in the main processing unit 11 to the first board 21 in the sub-processing unit 12, and to receive the status information of all USB flash drives in the sub-processing unit 12 sent by the first board 21 in the sub-processing unit 12.
[0051] Specifically, the first board 21 of this system can send the USB drive status of the first board 21 and the second board 22 of this system to the first board 21 of the other system, and at the same time can receive the USB drive status of the first board 21 and the second board 22 of the other system sent by the first board 21 of the other system. That is, the first boards 21 of the two systems can mutually transmit the USB drive status of the first board 21 and the second board 22 of the other system.
[0052] In one embodiment of the present invention, the first board 21 in the main processing unit 11 is further configured to send the status information of all USB flash drives in the sub-processing unit 12 to the second board 22 in the main processing unit 11, and the first board 21 in the sub-processing unit 12 is further configured to send the status information of all USB flash drives in the main processing unit 11 to the second board 22 in the sub-processing unit 12.
[0053] Specifically, the first board in this system can send the USB flash drive status of the first board 21 and the second board 22 in the other system to the second board 22 in this system, thereby enabling the sharing of USB flash drive status information among all boards.
[0054] Please continue to refer to this. Figure 2The first board 21 and the second board 22 in the main processing unit 11 and the sub-processing unit 12 further include an upper-layer application unit 31. The first board 21 and the second board 22 in the main processing unit 11 and the sub-processing unit 12 are also used to send the status information of all USB flash drives acquired by their respective boards to the corresponding upper-layer application unit 31, and send the status information of all USB flash drives acquired by their respective boards to the remote monitoring and maintenance device 300 through the corresponding upper-layer application unit 31.
[0055] Specifically, each board in the dual-system can transmit the USB status information of all the USB flash drives plugged into the board to the upper-layer application unit 31 through the interface with the upper-layer application unit 31. After obtaining the USB status information of each board, the upper-layer application unit 31 sends the USB status information of each USB flash drive to the remote monitoring and maintenance device 300 through the external message channel.
[0056] like Figure 3 As shown, the USB flash drive fault online detection and alarm device 10 further includes an intranet interaction unit 13 and an extranet interaction unit 14. The intranet interaction unit 13 is connected to the main processing unit 11 and the secondary processing unit 12, respectively, and is used to send the status information of all USB flash drives and the fault status alarm information of all USB flash drives to the intranet monitoring and maintenance equipment 200. The extranet interaction unit 14 is connected to the main processing unit 11 and the secondary processing unit 12, respectively, and is used to send the status information of all USB flash drives and the fault status alarm information of all USB flash drives to the remote monitoring and maintenance equipment 300.
[0057] like Figure 2 As shown, the intranet interaction unit 13 may include: a first network terminal 131, a second network terminal 132, a first intranet switch 133, and a second intranet switch 134. Please continue to refer to... Figure 2 The first board 21 and the second board 22 in the main processing unit 11 and the secondary processing unit 12 are both connected to the first intranet switch 133 through the first network terminal 131, and the first board 21 and the second board 22 in the main processing unit 11 and the secondary processing unit 12 are also connected to the second intranet switch 134 through the second network terminal 132. In this embodiment, the first intranet switch 133 and the second intranet switch 134 are also connected to the intranet monitoring and maintenance equipment 200 to realize intranet information interaction.
[0058] Specifically, taking the second board 22 in the secondary processing unit 12 as an example, the second board 22 can obtain the status information of all USB flash drives in the main processing unit 11 and the secondary processing unit 12. The second board 22 can send the status information of all USB flash drives to the upper-layer application unit 31 on this board. The upper-layer application unit 31 sends the status information of all USB flash drives to the first network terminal 131 or the second network terminal 132. When sending to the first network terminal 131, the status information of all USB flash drives can be sent to the intranet monitoring and maintenance device 200 through the first intranet switch 133, so as to realize the status monitoring of USB flash drives in the intranet. The second board 22 can also send a fault alarm message for the USB flash drive to the first network terminal 131 or the second network terminal 132 when it detects that the USB flash drive plugged into its own board is in a faulty state. When sending to the first network terminal 131, the fault alarm message for the USB flash drive can be sent to the intranet monitoring and maintenance equipment 200 through the first intranet switch 133, so as to realize the fault alarm in the intranet and prompt the staff to replace the USB flash drive or rewrite the configuration file.
[0059] like Figure 2 As shown, the external network interaction unit 14 includes: a first network terminal 131, a second network terminal 132, a first internal switch 141, a second internal switch 142, a first communication gateway 143, a second communication gateway 144, and an external network switch 145. The first board 21 and the second board 22 in the main processing unit 11 and the sub-processing unit 12 are connected to the external network switch 145 in sequence through the first network terminal 131, the first internal switch 141, and the first communication gateway 143. The first board 21 and the second board 22 in the main processing unit 11 and the sub-processing unit 12 are also connected to the external network switch 145 in sequence through the second network terminal 132, the second internal switch 142, and the second communication gateway 144.
[0060] Specifically, taking the second board 22 in the secondary processing unit 12 as an example, the second board 22 can obtain the status information of all USB flash drives in the main processing unit 11 and the secondary processing unit 12. The second board 22 can send the status information of all USB flash drives to the upper-layer application unit 31 on this board. The upper-layer application unit 31 sends the status information of all USB flash drives to the first network terminal 131 or the second network terminal 132. When sending to the first network terminal 131, the status information of all USB flash drives can be sent to the first communication gateway 143 through the first internal switch 141, and then sent to the external network switch 145 through the first communication gateway 143. Thus, the status information of all USB flash drives is forwarded to the remote monitoring and maintenance device 300 through the external network switch 145 to realize remote monitoring of the status of USB flash drives. The second board 22 can also send a fault alarm message for the USB flash drive to the first network terminal 131 or the second network terminal 132 when it detects that the USB flash drive plugged into its own board is in a faulty state. When sending to the first network terminal 131, the fault alarm message for the USB flash drive can be sent to the first communication gateway 143 through the first internal switch 141, and then sent to the external network switch 145 through the first communication gateway 143. The external network switch 145 then forwards the fault alarm message for the USB flash drive to the remote monitoring and maintenance equipment 300 to provide early warning to remote staff.
[0061] Figure 4 This is a flowchart illustrating an online fault detection and alarm method for USB flash drives provided in an embodiment of the present invention. Figure 4 As shown, the method includes:
[0062] Step S1: The main processing unit obtains the first USB flash drive status information of the USB flash drive plugged into its own board and receives the second USB flash drive status information of the USB flash drive plugged into the sub-processing unit board sent by the sub-processing unit.
[0063] Step S2: The secondary processing unit obtains the status information of the second USB flash drive and obtains the status information of the first USB flash drive from the primary processing unit.
[0064] Step S3: The main processing unit and the secondary processing unit send the status information of the first USB flash drive and the status information of the second USB flash drive to the remote monitoring and maintenance equipment, so that the remote monitoring and maintenance equipment can monitor the fault status of the USB flash drives plugged into the main processing unit board and the secondary processing unit board according to the status information of the first USB flash drive and the status information of the second USB flash drive.
[0065] Specifically, both the main processing unit and the secondary processing unit can be equipped with multiple boards, each with a USB flash drive plugged into it. The main processing unit can obtain the status information of all USB flash drives plugged into its own boards, i.e., the first USB flash drive status information. It can also receive the status information of all USB flash drives plugged into its own boards from the secondary processing unit, i.e., the second USB flash drive status information. Therefore, the main processing unit can obtain both the first and second USB flash drive status information, and correspondingly, the secondary processing unit can also obtain both. Both the main and secondary processing units can send all the obtained first and second USB flash drive status information to a remote monitoring and maintenance device, so that the remote monitoring and maintenance device can monitor the configuration file status of all plugged USB flash drives, i.e., the fault status of the USB flash drives.
[0066] It should be noted that the specific implementation method of the USB flash drive fault online detection and alarm method in this embodiment can be found in the specific implementation method of the USB flash drive fault online detection and alarm device described above. To avoid redundancy, it will not be repeated here.
[0067] The following is a detailed explanation of the online fault detection and alarm method for USB flash drives provided in this embodiment, using a specific example. Figure 5 As shown, the method includes:
[0068] Step S101: The first and second boards of this department and the first and second boards of the opposing department can respectively detect the status of the USB flash drives on their respective boards;
[0069] Step S102: The first and second boards of this department and the counterpart department exchange the status of their respective USB drives;
[0070] Step S103: The first board of this department sends the status of all USB drives in this department to the first board of the other department, and receives the status of all USB drives in the other department from the first board of the other department;
[0071] Step S104: The first board of this department sends the status of all USB drives in the department to the second board of this department;
[0072] Step S105: All boards in the dual-system send the status of all the USB drives they have acquired to their respective upper-layer application units;
[0073] Step S106: Each upper-layer application unit then sends the status of all USB drives to the remote monitoring and maintenance device so that the remote monitoring and maintenance device can remotely monitor the status of all USB drives.
[0074] Furthermore, the present invention also provides an online detection and alarm device for USB flash drive malfunctions, such as... Figure 6 As shown, the USB flash drive fault online detection and alarm device 100 includes the aforementioned USB flash drive fault online detection and alarm device 10.
[0075] Furthermore, the present invention also provides an online detection and alarm system for USB flash drive malfunctions, such as... Figure 7 As shown, the USB flash drive fault online detection and alarm system 1000 includes the aforementioned USB flash drive fault online detection and alarm device 100, intranet monitoring and maintenance device 200, and remote monitoring and maintenance device 300.
[0076] It should be noted that the online USB flash drive status detection cycle in this solution can be configured by the user, and different detection frequencies can be set according to different product application requirements. Furthermore, this invention can add an online USB flash drive fault detection and alarm function to the existing trackside safety platform. During the normal operation of the trackside safety platform and its products, the status of USB flash drives is monitored in real time. Through message exchange, the fault status of USB flash drives on multiple boards in the dual-system is shared. After being uniformly sent to the upper-level application unit, the upper-level application unit packages the information and sends the packaged message to the remote monitoring and maintenance equipment, thereby realizing remote real-time monitoring of USB flash drive status. This allows for immediate notification of USB flash drive fault status to the remote monitoring system, achieving the goal of timely detection, replacement, and fault handling of faulty USB flash drives.
[0077] In summary, this invention enables multiple boards to share their USB drive status after each board detects its own USB drive configuration file status, and then transmits this status via network communication. This ensures consistency of USB drive status information across all boards. Furthermore, this invention can acquire USB drive fault status in real time, allowing maintenance personnel to promptly identify and replace faulty USB drives, preventing restart failures due to undetected and unreplaced faulty USB drives. Additionally, this invention can transmit data to remote monitoring and maintenance equipment, allowing line maintenance personnel to obtain remote station USB drive fault status from the control center without needing to physically visit the site. This facilitates coordinated scheduling of on-site USB drive replacement operations. Moreover, the USB drive fault status detection task in this invention can be a low-priority task in the background program with a relatively long detection cycle, thus not affecting existing program operation. The detection cycle can also be flexibly adjusted by configuring parameters to meet the specific line requirements of different users, adapting to varying line fault detection and maintenance needs.
[0078] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0079] Although the present invention has been described in detail through the preferred embodiments above, it should be understood that the above description should not be considered as a limitation of the present invention. Various modifications and substitutions to the present invention will be apparent to those skilled in the art after reading the above description. Therefore, the scope of protection of the present invention should be defined by the appended claims.
Claims
1. A USB flash drive fault online detection and alarm device, used in trackside equipment of a track signaling system, characterized in that, include: The main processing unit and the sub-processing unit are connected. Each main processing unit and the sub-processing unit are equipped with a first board and a second board. Each board is connected to a USB flash drive, which stores the configuration files required for the board to run and the configuration files of the trackside equipment. The main processing unit is used to obtain the first USB flash drive status information of the USB flash drive plugged into its own board based on a preset detection cycle, and to receive the second USB flash drive status information of the USB flash drive plugged into the sub-processing unit board sent by the sub-processing unit. The secondary processing unit is used to obtain the status information of the second USB flash drive based on the detection cycle, and to obtain the status information of the first USB flash drive from the main processing unit. A communication module is disposed between the main processing unit and the sub-processing unit, used to realize information interaction between the main processing unit and the sub-processing unit, and to perform 2-out-of-2 redundant voting processing based on the first USB flash drive status information and the second USB flash drive status information obtained by the main processing unit and the sub-processing unit respectively. The main processing unit and the secondary processing unit are also respectively used to send the first USB flash drive status information and the second USB flash drive status information to the remote monitoring and maintenance equipment, so that the remote monitoring and maintenance equipment can monitor the fault status of the USB flash drives plugged into the main processing unit board and the secondary processing unit board according to the first USB flash drive status information and the second USB flash drive status information. The fault status includes the configuration file inside the USB flash drive being tampered with due to bit inversion. The intranet interaction unit is connected to the main processing unit and the secondary processing unit respectively. The intranet interaction unit is used to send the status information of all USB flash drives and the fault status alarm information of all USB flash drives to the intranet monitoring and maintenance equipment. The external network interaction unit is connected to both the main processing unit and the secondary processing unit. The external network interaction unit is used to send the status information of all USB flash drives and the fault status alarm information of all USB flash drives to the remote monitoring and maintenance equipment.
2. The USB flash drive fault online detection and alarm device as described in claim 1, characterized in that, The main processing unit and the secondary processing unit have the same internal structure. The first board and the second board are respectively used to detect and store the status information of the USB flash drives plugged into their respective boards, and to send the corresponding USB flash drive's fault status alarm information to the outside world when the corresponding USB flash drive is detected to be in a fault state.
3. The USB flash drive fault online detection and alarm device as described in claim 2, characterized in that, The first and second boards in the main processing unit and the sub-processing unit also exchange status information of the USB flash drives plugged into their respective boards via network communication.
4. The USB flash drive fault online detection and alarm device as described in claim 3, characterized in that, After acquiring the status information of all USB drives in the main processing unit, the first board in the main processing unit is also used to send the status information of all USB drives in the main processing unit to the first board in the sub-processing unit, and to receive the status information of all USB drives in the sub-processing unit sent by the first board in the sub-processing unit.
5. The USB flash drive fault online detection and alarm device as described in claim 4, characterized in that, The first board in the main processing unit is also used to send the status information of all USB flash drives in the sub-processing unit to the second board in the main processing unit, and the first board in the sub-processing unit is also used to send the status information of all USB flash drives in the main processing unit to the second board in the sub-processing unit.
6. The USB flash drive fault online detection and alarm device as described in claim 5, characterized in that, The first and second boards in the main processing unit and the sub-processing unit further include an upper-layer application unit. The first and second boards in the main processing unit and the sub-processing unit are also respectively used to send the status information of all USB flash drives acquired by their respective boards to the corresponding upper-layer application unit, and send the status information of all USB flash drives acquired by their respective boards to the remote monitoring and maintenance device through the corresponding upper-layer application unit.
7. The USB flash drive fault online detection and alarm device as described in claim 6, characterized in that, The intranet interaction unit includes: a first network terminal, a second network terminal, a first intranet switch, and a second intranet switch. The first and second boards in the main processing unit and the sub-processing unit are both connected to the first intranet switch through the first network terminal, and the first and second boards in the main processing unit and the sub-processing unit are also connected to the second intranet switch through the second network terminal.
8. The USB flash drive fault online detection and alarm device as described in claim 7, characterized in that, The external network interaction unit includes: a first network terminal, a second network terminal, a first internal switch, a second internal switch, a first communication gateway, a second communication gateway, and an external network switch. The first and second boards in the main processing unit and the sub-processing unit are sequentially connected to the external network switch via the first network terminal, the first internal switch, and the first communication gateway. Furthermore, the first and second boards in the main processing unit and the sub-processing unit are also sequentially connected to the external network switch via the second network terminal, the second internal switch, and the second communication gateway.
9. A method for online detection and alarm of USB flash drive faults based on the USB flash drive fault online detection and alarm device as described in any one of claims 1-8, characterized in that, include: The main processing unit obtains the first USB flash drive status information of the USB flash drive plugged into its own board, and receives the second USB flash drive status information of the USB flash drive plugged into the sub-processing unit board from the sub-processing unit. The secondary processing unit obtains the status information of the second USB drive and obtains the status information of the first USB drive from the main processing unit; The main processing unit and the secondary processing unit respectively send the first USB flash drive status information and the second USB flash drive status information to the remote monitoring and maintenance equipment, so that the remote monitoring and maintenance equipment can monitor the fault status of the USB flash drives plugged into the main processing unit board and the secondary processing unit board according to the first USB flash drive status information and the second USB flash drive status information.
10. A USB flash drive fault online detection and alarm device, characterized in that, include: The USB flash drive fault online detection and alarm device as described in any one of claims 1-8.
11. A USB flash drive fault online detection and alarm system, characterized in that, include: The system includes an intranet monitoring and maintenance device, a remote monitoring and maintenance device, and a USB flash drive fault online detection and alarm device as described in claim 10, wherein the intranet monitoring and maintenance device and the remote monitoring and maintenance device are respectively used to monitor the USB flash drive status in the USB flash drive fault online detection and alarm device based on the received USB flash drive status information.
Citation Information
Patent Citations
Redundancy magnetic disk control server system
CN101488077A
Device and method for remotely positioning hard disk faults
CN105183600A