Fault detection system for security inspection machine and security inspection machine

By introducing the first management module and the second management module into the security inspection machine and using the heartbeat mechanism to analyze the status of the main control board and terminal board, the problem of overall fault detection of the security inspection machine is solved, the efficiency of fault location is improved and business stability is guaranteed.

CN118567327APending Publication Date: 2024-08-30HANGZHOU RAYIN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410595907.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-13
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

It is difficult to detect the overall fault of the security inspection machine with the existing technology, resulting in low fault location efficiency, inability to accurately determine the location of the fault, and the security inspection machine still has faults when the automatic reset function fails to take effect.

Method used

A fault detection system including the first management module and the second management module is used to analyze the status information of the main control board and the terminal board through the heartbeat mechanism, detect whether each peripheral device is in a fault state, and output the detection information for overall fault detection.

Benefits of technology

It realizes the overall fault detection of the security inspection machine, improves the efficiency of fault location, ensures that detection information can be output in time when the main control board or terminal board fails, and ensures the normal operation of the security inspection machine business.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567327A
    Figure CN118567327A
Patent Text Reader

Abstract

The embodiment of the invention provides a fault detection system for a security inspection machine and the security inspection machine, and relates to the technical field of intelligent monitoring, and the system comprises a first management module and a second management module. The first management module is connected with a main control board of the security inspection machine and a first type of peripheral equipment, and the second management module is connected with a terminal board of the security inspection machine and a second type of peripheral equipment; the first management module is used for receiving the first state information reported by the first type of peripherals and analyzing the state information of the main control board based on a first analysis mode; taking the first state information and the state information of the main control board as first detection information and outputting the first detection information; the second management module is used for receiving second state information reported by the second type of peripherals and analyzing the state information of the terminal board based on a second analysis mode; and outputting the second state information and the state information of the terminal board as second detection information. According to the invention, overall fault detection can be carried out on the security inspection machine.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent monitoring technology, and in particular to a fault detection system for a security inspection machine and a security inspection machine. Background Art

[0002] The security inspection machine is an important device that uses X-rays to detect whether there are hidden safety hazards in packages. It is mainly used in public places such as airports, stations, and subways. Under certain uncontrollable factors or illegal human operations, the hardware, electrical system, and software system of the security inspection machine may become abnormal, causing the security inspection machine to malfunction and affect normal operation; when the security inspection machine malfunctions, it is necessary to perform fault detection on the security inspection machine so as to perform maintenance on the fault.

[0003] Among them, the security inspection machine includes a main control board and a terminal board. The main control board is the main module of the electrical system, which is connected to peripherals such as light barriers, emergency stop buttons, anti-dismantling switches, and is used to perform logical control on the connected peripherals and the power on and off of the security inspection machine; the terminal board is the main module for data processing in the security inspection machine, which is connected to a radiation source, rollers, etc. It is the operating platform of the security inspection machine software system, which is used to control peripherals such as radiation sources and rollers, and to process and image the data of the detected packages, etc.

[0004] In the related art, a detection module is used to detect whether any external device of the security inspection machine fails, and when any external device failure is detected, the external device is automatically reset.

[0005] However, with the solution of the related technology, the automatic reset function may not be effective, and the security inspection machine still has a fault and the relevant personnel cannot locate the fault through the detection module. Therefore, how to perform overall fault detection on the security inspection machine is an urgent problem to be solved. Summary of the invention

[0006] The purpose of the embodiment of the present application is to provide a fault detection system and a security inspection machine for performing overall fault detection on the security inspection machine. The specific technical solution is as follows:

[0007] In a first aspect, an embodiment of the present application provides a fault detection system for a security inspection machine, comprising: a first management module and a second management module; the first management module is connected to a main control board and a first type of peripherals of the security inspection machine, the second management module is connected to a terminal board and a second type of peripherals of the security inspection machine, the first type of peripherals are peripherals connected to the main control board, and the second type of peripherals are peripherals connected to the terminal board;

[0008] The first management module is used to receive the first status information reported by the first type of peripherals, and analyze the status information of the main control board based on a first analysis method; the first status information and the status information of the main control board are used as the first detection information and output; wherein the first status information is used to indicate whether the first type of peripherals is in a fault state; the first analysis method is a method for determining whether the main control board is faulty based on a first heartbeat mechanism; the status information of the main control board is used to indicate whether the main control board is in a faulty state;

[0009] The second management module is used to receive the second status information reported by the second type of peripherals, and analyze the status information of the terminal board based on a second analysis method; use the second status information and the status information of the terminal board as second detection information and output them; wherein the second status information is used to characterize whether the second type of peripherals is in a faulty state; the second analysis method is a method of determining whether the terminal board is faulty based on a second heartbeat mechanism; the status information of the terminal board is used to characterize whether the terminal board is in a faulty state.

[0010] Optionally, analyzing the status information of the main control board based on the first analysis method includes:

[0011] Receive the first predetermined heartbeat information sent by the main control board; wherein the first predetermined heartbeat information is the first status information currently received and reported by the main control board in response to receiving the first status information reported by the first type of peripheral device;

[0012] If it is detected that the first predetermined heartbeat information sent by the main control board is not received within the first predetermined time period, the information used to indicate that the main control board is in a fault state is used as the status information of the main control board; otherwise, the information used to indicate that the main control board is not in a fault state is used as the status information of the main control board;

[0013] The analyzing the status information of the terminal board based on the second analysis method includes:

[0014] Receiving second predetermined heartbeat information sent by the terminal board; wherein the second predetermined heartbeat information is the second status information currently received and reported by the terminal board in response to receiving the second status information reported by the second type of peripheral device;

[0015] If it is detected that the second predetermined heartbeat information sent by the terminal board is not received within the second predetermined time period, the information used to characterize that the terminal board is in a faulty state will be used as the status information of the terminal board; otherwise, the information used to characterize that the terminal board is not in a faulty state will be used as the status information of the terminal board.

[0016] Optionally, the first management module is connected to the second management module; the first management module is also connected to the terminal board and the second type of peripherals, and the second management module is also connected to the main control board and the first type of peripherals;

[0017] The first management module is further configured to, in response to detecting that a fault occurs in the second management module, receive second status information reported by the second type of peripheral device, and analyze the status information of the terminal board based on a second analysis method; and output the received second status information and the analyzed status information of the terminal board as second detection information;

[0018] The second management module is also used to receive first status information reported by the first type of peripheral device in response to detecting a failure of the first management module, and analyze the status information of the main control board based on a first analysis method; and output the received first status information and the status information of the main control board obtained by analysis as first detection information.

[0019] Optionally, the second management module is further used to detect whether a communication link between the terminal board and the second type of peripheral device fails, obtain third state information, and output the third state information;

[0020] The second management module detects whether a communication link between the terminal board and the second type of peripheral device fails, including:

[0021] In response to receiving a designated control instruction sent by the terminal board, the designated control instruction is analyzed to see whether it meets predetermined specifications, and an analysis result is obtained as to whether a communication link between the terminal board and the second type of peripheral device fails; wherein the designated control instruction is synchronously sent to the second management module when the terminal board sends the designated control instruction to the second type of peripheral device.

[0022] Optionally, the fault detection system further comprises: a first output interface connected to the first management module, and a second output interface connected to the second management module;

[0023] The manner in which the first management module outputs the first detection information includes:

[0024] In response to the first processing device communicating with the first output interface, transmitting the first detection information to the first processing device through the first output interface;

[0025] The manner in which the second management module outputs the second detection information includes:

[0026] In response to the second processing device communicating with the second output interface, the second detection information is transmitted to the second processing device through the second output interface.

[0027] Optionally, the first management module is also connected to the terminal board; the first management module is also used to respond to the status information of the main control board indicating that the main control board is in a faulty state, and perform predetermined control processing on the connected first-category peripherals and the terminal board; wherein the predetermined control processing is the control processing performed by the main control board on the connected first-category peripherals and the terminal board.

[0028] Optionally, the first management module is integrated on the main control board, or the first management module is integrated on a first carrier outside the main control board;

[0029] The second management module is integrated on the terminal board, or the second management module is integrated on a second carrier outside the terminal board.

[0030] In a second aspect, an embodiment of the present application provides a security inspection machine, comprising: a main control board, a terminal board, a first type of peripheral, a second type of peripheral, a first management module, and a second management module; the first management module is connected to the main control board and the first type of peripheral, the second management module is connected to the terminal board and the second type of peripheral, the first type of peripheral is a peripheral connected to the main control board, and the second type of peripheral is a peripheral connected to the terminal board;

[0031] The first type of peripheral device is used to report first status information to the first management module; wherein the first status information is used to indicate whether the first type of peripheral device is in a fault state;

[0032] The second type of peripheral device is used to report second status information to the second management module; wherein the second status information is used to indicate whether the second type of peripheral device is in a fault state;

[0033] The first management module is used to receive the first status information reported by the first type of peripherals, and analyze the status information of the main control board based on a first analysis method; the first status information and the status information of the main control board are used as the first detection information and output; wherein the first analysis method is a method for determining whether the main control board is faulty based on a first heartbeat mechanism; the status information of the main control board is used to indicate whether the main control board is in a faulty state;

[0034] The second management module is used to receive the second status information reported by the second type of peripherals, and analyze the status information of the terminal board based on a second analysis method; use the second status information and the status information of the terminal board as second detection information and output them; wherein the second analysis method is a method for determining whether the terminal board is faulty based on a second heartbeat mechanism; the status information of the terminal board is used to characterize whether the terminal board is in a faulty state.

[0035] Optionally, the main control board is used for reporting the first status information currently received as the first predetermined heartbeat information to the first management module in response to receiving the first status information reported by the first type of peripheral device;

[0036] The terminal board is used for reporting the second status information currently received as the second predetermined heartbeat information to the second management module in response to receiving the second status information reported by the second type of peripheral device;

[0037] The first management module analyzes the status information of the main control board based on a first analysis method, including:

[0038] Receiving first predetermined heartbeat information sent by the main control board;

[0039] If it is detected that the first predetermined heartbeat information sent by the main control board is not received within the first predetermined time period, the information used to indicate that the main control board is in a fault state is used as the status information of the main control board; otherwise, the information used to indicate that the main control board is not in a fault state is used as the status information of the main control board;

[0040] The second management module analyzes the status information of the terminal board based on a second analysis method, including:

[0041] Receiving second predetermined heartbeat information sent by the terminal board;

[0042] If it is detected that the second predetermined heartbeat information sent by the terminal board is not received within the second predetermined time period, the information used to characterize that the terminal board is in a faulty state will be used as the status information of the terminal board; otherwise, the information used to characterize that the terminal board is not in a faulty state will be used as the status information of the terminal board.

[0043] Optionally, the first management module is connected to the second management module; the first management module is also connected to the terminal board and the second type of peripherals, and the second management module is also connected to the main control board and the first type of peripherals;

[0044] The first type of peripheral device is further used to report first status information to the second management module;

[0045] The second type of peripheral device is further used to report second status information to the first management module;

[0046] The first management module is further configured to, in response to detecting that a fault occurs in the second management module, receive second status information reported by the second type of peripheral device, and analyze the status information of the terminal board based on a second analysis method; and output the received second status information and the analyzed status information of the terminal board as second detection information;

[0047] The second management module is also used to receive first status information reported by the first type of peripheral device in response to detecting a failure of the first management module, and analyze the status information of the main control board based on a first analysis method; and output the received first status information and the status information of the main control board obtained by analysis as first detection information.

[0048] Optionally, the second management module is further used to detect whether a communication link between the terminal board and the second type of peripheral device fails, obtain third state information, and output the third state information;

[0049] Wherein, the terminal board is further used to send the specified control instruction to the second type of peripheral device simultaneously when sending the specified control instruction to the second management module;

[0050] The second tube module is also used to receive the specified control instructions sent by the terminal board, analyze whether the specified control instructions meet the predetermined specifications, and obtain the analysis result of whether the communication link between the terminal board and the second type of peripheral device fails, so as to detect whether the communication link between the terminal board and the second type of peripheral device fails.

[0051] Optionally, the first management module is connected to the first output interface, and the second management module is connected to the second output interface;

[0052] The manner in which the first management module outputs the first detection information includes:

[0053] In response to the first processing device communicating with the first output interface, transmitting the first detection information to the first processing device through the first output interface;

[0054] The manner in which the second management module outputs the second detection information includes:

[0055] In response to the second processing device communicating with the second output interface, the second detection information is transmitted to the second processing device through the second output interface.

[0056] Optionally, the first management module is also connected to the terminal board; the first management module is also used to respond to the status information of the main control board indicating that the main control board is in a faulty state, and perform predetermined control processing on the connected first-category peripherals and the terminal board; wherein the predetermined control processing is the control processing performed by the main control board on the connected first-category peripherals and the terminal board.

[0057] Optionally, the first management module is integrated on the main control board, or the first management module is integrated on a first carrier outside the main control board;

[0058] The second management module is integrated on the terminal board, or the second management module is integrated on a second carrier outside the terminal board.

[0059] Beneficial effects of the embodiments of the present application:

[0060] In the fault detection system for the security inspection machine provided in the embodiment of the present application, the first type of peripherals can report the first state information representing whether it is in a fault state to the first management module, and the first management module can also analyze the state information of the main control board based on the first analysis method, that is, analyze whether the main control board is in a fault state, and use the first state information and the state information of the main control board as the first detection information and output it; the second type of peripherals can report the second state information representing whether it is in a fault state to the second management module, and the second management module can also analyze the state information of the terminal board based on the second analysis method, that is, analyze whether the terminal board is in a fault state, and use the second state information and the state information of the terminal board as the second detection information and output it. In the embodiment of the present application, the first management module can detect whether the main control board and the first type of peripherals connected to the main control board are in a fault state, and the second management module can detect whether the terminal board and the second type of peripherals connected to the terminal board are in a fault state. Through the first management module and the second management module, the peripherals, the main control board and the terminal board in the security inspection machine can be detected as a whole to see whether they are in a fault state. It can be seen that the present application can perform overall fault detection on the security inspection machine.

[0061] Of course, implementing any product or method of the present application does not necessarily require achieving all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other embodiments can also be obtained based on these drawings.

[0063] Figure 1A schematic diagram of a fault detection system for a security inspection machine provided in an embodiment of the present application;

[0064] Figure 2 A schematic diagram of the connection relationship between the first management module and the security inspection machine provided in an embodiment of the present application;

[0065] Figure 3 Schematic diagram of the connection relationship between the second management module and the security inspection machine provided in the embodiment of the present application

[0066] Figure 4 A schematic diagram of a security inspection machine and fault detection logic in the prior art;

[0067] Figure 5 A schematic diagram of a security inspection machine provided in an embodiment of the present application;

[0068] Figure 6 A schematic diagram of the operation process of the main control board and the first management module provided in an embodiment of the present application;

[0069] Figure 7 A schematic diagram of the operation process of the terminal board and the second management module provided in an embodiment of the present application;

[0070] Figure 8 Another schematic diagram of a security inspection machine provided in an embodiment of the present application. DETAILED DESCRIPTION

[0071] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field based on the present application belong to the scope of protection of the present application.

[0072] For ease of understanding, the professional terms involved in this application are first introduced below.

[0073] Security inspection machine: a device that uses X-rays to inspect packages, mainly used to image the internal structure of packages;

[0074] Peripherals: light barriers, emergency stop buttons, anti-tamper switches and other external devices of security inspection machines;

[0075] Main control board: the main module in the electrical system of the security inspection machine, connected to peripherals such as light barriers, emergency stop buttons, anti-tamper switches, etc., and mainly responsible for the logical control of the connected peripherals and the power on and off of the security inspection machine;

[0076] Terminal board: The main module for data processing in the security inspection machine. It is connected to peripherals such as the radiation source and roller. It is the operating platform of the security inspection machine software system. It is mainly responsible for controlling the connected peripherals and processing and imaging the data of the detected packages, etc.

[0077] Out-of-band management channel: a management channel independent of the security inspection machine's operating business. Abnormalities in the out-of-band management channel do not affect the normal operation of the security inspection machine.

[0078] In-band management channel: This is a management channel integrated into the normal business process of the security inspection machine. When the security inspection machine’s business is abnormal, this function will also be abnormal.

[0079] In the related art, a detection module is used to determine whether the operating status of each detected peripheral device is normal, and then further measures are automatically taken. For example, when the detection module finds that an external device has a fault, it automatically resets the external device. If there is no abnormality, no measures are taken. The solution of the related art focuses on detecting faults and automatically recovering, but it is unable to locate the fault and cannot provide assistance to relevant personnel in locating the fault. Once the security inspection machine fails, it means that the automatic reset function has failed, and relevant personnel still cannot accurately determine where the fault of the security inspection machine is. In addition, the solution of the related art does not perform fault detection on the security inspection machine by means of an external management channel, but by means of an internal management channel. It is impossible to determine whether a failure in the monitoring module itself will cause the entire security inspection machine business to fail, and there is a potential risk.

[0080] Based on this, the embodiment of the present application provides a fault detection system and a security inspection machine for performing overall fault detection on the security inspection machine.

[0081] The following is an introduction to a fault detection system for a security inspection machine provided in an embodiment of the present application.

[0082] A fault detection system for a security inspection machine provided in an embodiment of the present application is applicable to any scenario where there is a need to perform fault detection on the security inspection machine. In addition, the fault detection system for the security inspection machine may include: a first management module and a second management module, and whether the first management module and the second management module fail does not affect the normal business of the security inspection machine, and there may be multiple ways of connecting the first management module and the second management module to the security inspection machine, for example: the first management module and the second management module are both located in a device outside the security inspection machine, the device is connected to the security inspection machine, and the first management module and the second management module can be used to perform fault detection on the entire security inspection machine; or, the first management module and the second management module can be integrated into the security inspection machine, and the entire security inspection machine can be detected for faults; or, one of the first management module and the second management module is located in a device outside the security inspection machine, and the other management module is integrated into the security inspection machine, and this application does not limit this.

[0083] A fault detection system for a security inspection machine provided in an embodiment of the present application includes: a first management module and a second management module; the first management module is connected to a main control board and a first type of peripherals of the security inspection machine, the second management module is connected to a terminal board and a second type of peripherals of the security inspection machine, the first type of peripherals are peripherals connected to the main control board, and the second type of peripherals are peripherals connected to the terminal board;

[0084] The first management module is used to receive the first status information reported by the first type of peripherals, and analyze the status information of the main control board based on a first analysis method; the first status information and the status information of the main control board are used as the first detection information and output; wherein the first status information is used to indicate whether the first type of peripherals is in a fault state; the first analysis method is a method for determining whether the main control board is faulty based on a first heartbeat mechanism; the status information of the main control board is used to indicate whether the main control board is in a faulty state;

[0085] The second management module is used to receive the second status information reported by the second type of peripherals, and analyze the status information of the terminal board based on a second analysis method; use the second status information and the status information of the terminal board as second detection information and output them; wherein the second status information is used to characterize whether the second type of peripherals is in a faulty state; the second analysis method is a method of determining whether the terminal board is faulty based on a second heartbeat mechanism; the status information of the terminal board is used to characterize whether the terminal board is in a faulty state.

[0086] In the fault detection system for the security inspection machine provided in the embodiment of the present application, the first type of peripherals can report the first state information representing whether it is in a fault state to the first management module, and the first management module can also analyze the state information of the main control board based on the first analysis method, that is, analyze whether the main control board is in a fault state, and use the first state information and the state information of the main control board as the first detection information and output it; the second type of peripherals can report the second state information representing whether it is in a fault state to the second management module, and the second management module can also analyze the state information of the terminal board based on the second analysis method, that is, analyze whether the terminal board is in a fault state, and use the second state information and the state information of the terminal board as the second detection information and output it. In the embodiment of the present application, the first management module can detect whether the main control board and the first type of peripherals connected to the main control board are in a fault state, and the second management module can detect whether the terminal board and the second type of peripherals connected to the terminal board are in a fault state. Through the first management module and the second management module, the peripherals, the main control board and the terminal board in the security inspection machine can be detected as a whole to see whether they are in a fault state. It can be seen that the present application can perform overall fault detection on the security inspection machine.

[0087] Below, in conjunction with the accompanying drawings, a fault detection system for a security inspection machine provided in an embodiment of the present application is specifically described.

[0088] Figure 1 A schematic diagram of a fault detection system for a security inspection machine provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the system may include: a first management module 100 and a second management module 200; the first management module 100 is connected to the main control board of the security inspection machine and the first type of peripherals, the second management module 200 is connected to the terminal board of the security inspection machine and the second type of peripherals, the first type of peripherals are peripherals connected to the main control board, and the second type of peripherals are peripherals connected to the terminal board;

[0089] The first management module 100 is used to receive the first status information reported by the first type of peripherals, and analyze the status information of the main control board based on the first analysis method; the first status information and the status information of the main control board are used as the first detection information and output; wherein the first status information is used to indicate whether the first type of peripherals is in a fault state; the first analysis method is a method for determining whether the main control board is faulty based on the first heartbeat mechanism; the status information of the main control board is used to indicate whether the main control board is in a faulty state;

[0090] The second management module 200 is used to receive the second status information reported by the second type of peripherals, and analyze the status information of the terminal board based on a second analysis method; use the second status information and the status information of the terminal board as second detection information and output them; wherein the second status information is used to characterize whether the second type of peripherals is in a faulty state; the second analysis method is a method of determining whether the terminal board is faulty based on a second heartbeat mechanism; the status information of the terminal board is used to characterize whether the terminal board is in a faulty state.

[0091] Next, combined with the above-mentioned fault detection system for the security inspection machine and the connection relationship between each module in the security inspection machine, Figure 1 The fault detection system for the security inspection machine provided in the embodiment of the present application shown is specifically described.

[0092] Figure 2 A schematic diagram of the connection relationship between the first management module and the security inspection machine in the fault detection system for the security inspection machine provided in the embodiment of the present application, such as Figure 2 As shown, the first management module 100 is connected to the main control board 210 of the security inspection machine and the first type of peripherals 220, and the first type of peripherals 220 are peripherals connected to the main control board 210;

[0093] In an embodiment of the present application, the status of the main control board in the security inspection machine and the first type of peripherals connected to the main control board are detected through the first management module, and fault detection of the main control board and the first type of peripherals in the security inspection machine is achieved by outputting first detection information characterizing whether the main control board and the first type of peripherals are in a fault state.

[0094] Specifically, the first management module can receive first status information reported by the first category of peripherals, which characterizes whether the first category of peripherals is in a faulty state, and determine whether the main control board is faulty through the first heartbeat mechanism of the first analysis method, obtain the status information of the main control board, and use the first status information and the status information of the main control board as the first detection information and output them.

[0095] In addition, each peripheral connected to the main control board can be a first-category peripheral, and the number of first-category peripherals can be one or more, which is not limited in this application. It should be noted that the "first category" in the "first category peripherals" and the "second category" in the "second category peripherals" mentioned above are only used to distinguish between the peripherals connected to the main control board and the peripherals connected to the terminal board in terms of naming, and are not restrictive in any way.

[0096] Optionally, analyzing the status information of the main control board based on the first analysis method includes:

[0097] Receive the first predetermined heartbeat information sent by the main control board; wherein the first predetermined heartbeat information is the first status information currently received and reported by the main control board in response to receiving the first status information reported by the first type of peripheral device;

[0098] If it is detected that the first predetermined heartbeat information sent by the main control board is not received within the first predetermined time period, the information used to indicate that the main control board is in a fault state is used as the status information of the main control board; otherwise, the information used to indicate that the main control board is not in a fault state is used as the status information of the main control board;

[0099] In the business process of the existing security inspection machine, the first type of peripherals can also report the first status information to the main control board. Based on this, in the present application, in an optional implementation method, when the main control board receives the first status information reported by the first type of peripherals, it can report the currently received first status information to the first management module, and the first management module can receive the first status information reported by the main control board; wherein, the first status information reported by the main control board to the first management module can be used as the first predetermined heartbeat information for the first management module to perform heartbeat detection on the main control board. If the first predetermined heartbeat information sent by the main control board is not received within the first predetermined time, it means that the main control board may be faulty, and the information characterizing that the main control board is in a faulty state can be used as the status information of the main control board; otherwise, the information used to characterize that the main control board is not in a faulty state can be used as the status information of the main control board. Of course, in other implementation methods, the first management module can also send heartbeat messages to the main control board, thereby realizing the heartbeat mechanism through the heartbeat message, and analyzing the status information of the main control board.

[0100] In addition, the fault detection system further comprises: a first output interface connected to the first management module;

[0101] The manner in which the first management module outputs the first detection information includes:

[0102] In response to the first processing device communicating with the first output interface, transmitting the first detection information to the first processing device through the first output interface;

[0103] In the fault detection system provided by the present application, the first management module is also connected to the first output interface, that is, the fault detection system of the present application has an information output interface reserved for the first management module, and when the first processing device communicates with the first output interface, the first detection information can be transmitted to the first processing device through the first output interface for processing and display, etc. Among them, the first processing device can be any detection device capable of displaying information, and the present application does not limit this.

[0104] In the fault detection system of the embodiment of the present application, when the main control board fails, the first management module can also take over the work of the main control board to ensure the normal operation of the security inspection machine business; specifically, the first management module is also connected to the terminal board; the first management module is also used to respond to the status information of the main control board to indicate that the main control board is in a faulty state, and perform predetermined control processing on the connected first-category peripherals and the terminal board; wherein the predetermined control processing is the control processing performed by the main control board on the connected first-category peripherals and the terminal board.

[0105] In the business process of the existing security inspection machine, the main control board is connected to the terminal board. The main control board can report the first status information to the terminal board. The terminal board can display the first status information reported by the main control board and the second status information reported by the second type of peripheral through the user interface.

[0106] In the fault detection system of the embodiment of the present application, the first management module is also connected to the terminal board. When the status information of the main control board indicates that the main control board is in a faulty state, the first management module analyzes the status information of the main control board. When the main control board fails, the first management module can take over the main control board and perform predetermined control and management on the connected first-category peripherals and the terminal board. Exemplarily, the first management module can take over the main control board at this time, control the operation logic of the first-category peripherals, ensure the normal operation of the first-category peripherals, and report the first status information of the first-category peripherals to the terminal board to ensure the normal operation of the security inspection machine business.

[0107] Optionally, the first management module is integrated on the main control board, or the first management module is integrated on a first carrier outside the main control board;

[0108] In the fault detection system for the security inspection machine provided in the embodiment of the present application, the first management module can be integrated on the main control board. In this case, the first management module can be used as a part of the security inspection machine. The first management module can also be integrated on a first carrier other than the main control board. The first carrier can be a circuit board in the security inspection machine other than the main control board, or other circuit boards or devices connected to the security inspection machine. The present application does not limit this.

[0109] Figure 3 A schematic diagram of the connection relationship between the second management module and the security inspection machine in the fault detection system for the security inspection machine provided in the embodiment of the present application, such as Figure 3 As shown, the second management module 200 is connected to the terminal board 310 of the security inspection machine and the second type of peripheral device 320, and the second type of peripheral device 320 is a peripheral device connected to the terminal board 310;

[0110] In an embodiment of the present application, the status of the terminal board in the security inspection machine and the second type of peripherals connected to the terminal board are detected by the second management module, and fault detection of the terminal board and the second type of peripherals in the security inspection machine is achieved by outputting second detection information characterizing whether the terminal board and the second type of peripherals are in a faulty state.

[0111] Specifically, the second management module can receive second status information reported by the second category of peripherals, which characterizes whether the second category of peripherals is in a faulty state, and determine whether the terminal board is faulty through the second heartbeat mechanism of the second analysis method, obtain the status information of the terminal board, and use the second status information and the status information of the terminal board as the second detection information and output them.

[0112] In addition, each peripheral connected to the terminal board can be used as a second-category peripheral. The number of the second-category peripherals can be one or more, which is not limited in the present application.

[0113] Optionally, analyzing the status information of the terminal board based on the second analysis method includes:

[0114] Receiving second predetermined heartbeat information sent by the terminal board; wherein the second predetermined heartbeat information is the second status information currently received and reported by the terminal board in response to receiving the second status information reported by the second type of peripheral device;

[0115] If it is detected that the second predetermined heartbeat information sent by the terminal board is not received within the second predetermined time period, the information used to characterize that the terminal board is in a faulty state will be used as the status information of the terminal board; otherwise, the information used to characterize that the terminal board is not in a faulty state will be used as the status information of the terminal board.

[0116] In the business process of the existing security inspection machine, the second type of peripherals can also report the second status information to the terminal board to display the second status information through the user interface. Based on this, in this application, in an optional implementation, when the terminal board receives the second status information reported by the second type of peripherals, it can report the currently received second status information to the second management module, and the second management module can receive the second status information reported by the terminal board; wherein, the second status information reported by the terminal board to the second management module can be used as the second predetermined heartbeat information for the second management module to perform heartbeat detection on the terminal board. If the second predetermined heartbeat information sent by the terminal board is not received within the second predetermined time, it means that the terminal board may be faulty, and the information characterizing that the terminal board is in a faulty state can be used as the status information of the terminal board; otherwise, the information used to characterize that the terminal board is not in a faulty state is used as the status information of the terminal board. Of course, in other implementations, the second management module can also send heartbeat messages to the terminal board, thereby realizing the heartbeat mechanism through the heartbeat message, thereby analyzing the status information of the terminal board.

[0117] The fault detection system further includes: a second output interface connected to the second management module; the second management module outputs the second detection information in the following manner:

[0118] In response to the second processing device communicating with the second output interface, the second detection information is transmitted to the second processing device through the second output interface.

[0119] In the fault detection system provided by the present application, the second management module is also connected to a second output interface, that is, an information output interface is reserved for the second management module in the fault detection system of the present application, and when the second processing device communicates with the second output interface, the second detection information can be transmitted to the second processing device through the second output interface for processing and display, etc. Among them, the second processing device can be any detection device capable of displaying information, and the present application does not limit this.

[0120] Different from the first management module, the second management module is further used to detect whether a communication link between the terminal board and the second type of peripheral device fails, obtain third status information, and output the third status information;

[0121] The second management module detects whether a communication link between the terminal board and the second type of peripheral device fails, including:

[0122] In response to receiving a designated control instruction sent by the terminal board, the designated control instruction is analyzed to see whether it meets predetermined specifications, and an analysis result is obtained as to whether a communication link between the terminal board and the second type of peripheral device fails; wherein the designated control instruction is synchronously sent to the second management module when the terminal board sends the designated control instruction to the second type of peripheral device.

[0123] It can be understood that the terminal board communicates with the connected second-category peripheral device through a communication link to achieve data processing, imaging, etc.; in the present application, the second management module can also detect whether the communication link between the terminal board and any second-category peripheral device fails, obtain third state information, and output the third state information.

[0124] Among them, in the fault detection system for the security inspection machine provided by the present application, when the terminal board sends a specified control instruction to the second type of peripheral device, it can also synchronously send the specified control instruction to the second management module. The second management module can receive the specified control instruction sent by the terminal board, and analyze whether the specified control instruction complies with the preset predetermined specifications of the communication link between the terminal board and the second type of peripheral device, and obtain an analysis result of whether the communication link between the terminal board and the second type of peripheral device has a fault.

[0125] In addition, the second management module can also take over the main control board to perform predetermined control and processing on the first category of peripherals and the terminal board. For example: when the main control board and the first management module are abnormal, the second management module can take over the main control board, control the operating logic of the first category of peripherals, ensure the normal operation of the first category of peripherals, and report the first status information of the first category of peripherals to the terminal board to ensure the normal operation of the security inspection machine business.

[0126] Optionally, the second management module is integrated on the terminal board, or the second management module is integrated on a second carrier outside the terminal board.

[0127] In the fault detection system for the security inspection machine provided in the embodiment of the present application, the second management module can be integrated on the terminal board. In this case, the second management module can be used as a part of the security inspection machine. The second management module can also be integrated on a second carrier outside the terminal board. The second carrier can be a circuit board in the security inspection machine other than the terminal board, or other circuit boards or devices connected to the security inspection machine. The present application does not limit this.

[0128] In addition, it should be emphasized that the fault detection system for the security inspection machine provided in the embodiment of the present application focuses on detecting whether the various peripherals, main control board, terminal board, and the communication link between the terminal board and the second-category peripherals in the security inspection machine as a whole are in a faulty state. The output first detection information, second detection information, and third status information are used to characterize whether the various peripherals, main control board, terminal board, and the communication link between the terminal board and the second-category peripherals are in a normal operating state or a faulty state, so as to improve the efficiency of fault detection for the security inspection machine. For example, the first detection information, the second detection information, and the third status information characterize: the first-category peripherals are in a normal operating state, the second-category peripherals are in a normal operating state, the main control board is in a normal operating state, the terminal board is in a normal operating state, and the communication link between the terminal board and the second-category peripherals is in a faulty state.

[0129] Of course, in order to quickly resolve the fault of the security inspection machine, the output first detection information, second detection information and third status information may also include the operating parameters of the specific equipment, such as voltage, current, number of revolutions, etc. This application does not limit this.

[0130] Furthermore, the method of outputting the first detection information and the second detection information respectively through the first output interface and the second output interface is only an example. The first detection information and the second detection information can also be sent to the cloud and output to the corresponding processing device through the cloud; or, output to the corresponding processing device through Bluetooth, WiFi (Wireless Fidelity), website, etc., which is not limited to this in the present application.

[0131] In the fault detection system for the security inspection machine provided in the embodiment of the present application, the first type of peripherals can report the first state information representing whether it is in a fault state to the first management module, and the first management module can also analyze the state information of the main control board based on the first analysis method, that is, analyze whether the main control board is in a fault state, and use the first state information and the state information of the main control board as the first detection information and output it; the second type of peripherals can report the second state information representing whether it is in a fault state to the second management module, and the second management module can also analyze the state information of the terminal board based on the second analysis method, that is, analyze whether the terminal board is in a fault state, and use the second state information and the state information of the terminal board as the second detection information and output it. In the embodiment of the present application, the first management module can detect whether the main control board and the first type of peripherals connected to the main control board are in a fault state, and the second management module can detect whether the terminal board and the second type of peripherals connected to the terminal board are in a fault state. Through the first management module and the second management module, the peripherals, the main control board and the terminal board in the security inspection machine can be detected as a whole to see whether they are in a fault state. It can be seen that the present application can perform overall fault detection on the security inspection machine.

[0132] Optionally, based on the above-mentioned embodiment, in another embodiment of the present application, the first management module and the second management module are connected; the first management module is also connected to the terminal board and the second type of peripherals, and the second management module is also connected to the main control board and the first type of peripherals;

[0133] The first management module is further configured to, in response to detecting that a fault occurs in the second management module, receive second status information reported by the second type of peripheral device, and analyze the status information of the terminal board based on a second analysis method; and output the received second status information and the analyzed status information of the terminal board as second detection information;

[0134] The second management module is also used to receive first status information reported by the first type of peripheral device in response to detecting a failure of the first management module, and analyze the status information of the main control board based on a first analysis method; and output the received first status information and the status information of the main control board obtained by analysis as first detection information.

[0135] In an embodiment of the present application, in order to prevent the first management module or the second management module from malfunctioning, resulting in the inability to output the first detection information or the second detection information, the first management module and the second management module are connected, the first management module is also connected to the terminal board and the second type of peripherals, and the second management module is also connected to the main control board and the first type of peripherals, so that the first management module and the second management module can obtain information from each other, and when any management module fails, the first detection information and the second detection information of the security inspection machine as a whole can be output.

[0136] Specifically, when the second management module fails, the first management module can take over the second management module, receive the second status information reported by the second type of peripherals, and analyze the status information of the terminal board based on the second analysis method, and use the received second status information and the analyzed status information of the terminal board as the second detection information and output them; wherein, at this time, after receiving the second status information reported by the second type of peripherals, the terminal board will report the currently received second status information, that is, the second heartbeat information, to the first management module, so that the first management module can analyze the status information of the terminal board.

[0137] When the first management module fails, the second management module can take over the first management module, receive the first status information reported by the first category of peripherals, and analyze the status information of the main control board based on the first analysis method, and use the received first status information and the analyzed status information of the main control board as the first detection information and output them; wherein, at this time, after the main control board receives the first status information reported by the first category of peripherals, it will report the currently received first status information, that is, the first heartbeat information, to the second management module, so that the second management module can analyze the status information of the main control board.

[0138] It should be noted that the first management module and the second management module can also determine whether the other party is faulty through the heartbeat mechanism; illustratively, the second management module receives the third predetermined heartbeat information sent by the first management module. If it detects that the third predetermined heartbeat information sent by the terminal board is not received within the third predetermined time period, the information used to characterize that the first management module is in a faulty state is used as the status information of the first management module. Otherwise, the information used to characterize that the first management module is not in a faulty state is used as the status information of the first management module. Among them, the third predetermined heartbeat information is the first detection information sent by the first management module to the second management module while outputting the first detection information. Similarly, the first management module can also analyze the status information of the second management module in a similar manner.

[0139] In addition, when neither the first management module nor the second management module fails, the first management module and the second management module can also transmit information. For example, the first management module sends the first detection information to the second management module, and the second management module sends the second detection information to the first management module. At this time, the security inspection machine can be completely fault-detected through the first management module or the second management module, and the first detection information and the second detection information can be output.

[0140] The fault detection system for the security inspection machine provided by the present application has a first management module and a second management module connected, and the first management module is also connected to the terminal board and the second type of peripherals, and the second management module is also connected to the main control board and the first type of peripherals. The first management module and the second management module can judge whether the other party has a fault through a heartbeat mechanism, and when a fault occurs, take over the other party to output corresponding detection information, so that when any management module is abnormal, the security inspection machine can be detected as a whole through the other management module.

[0141] Based on the above system embodiment, the present application also provides a security inspection machine, including: a main control board, a terminal board, a first type of peripherals, a second type of peripherals, a first management module and a second management module; the first management module is connected to the main control board and the first type of peripherals, the second management module is connected to the terminal board and the second type of peripherals, the first type of peripherals are peripherals connected to the main control board, and the second type of peripherals are peripherals connected to the terminal board;

[0142] The first type of peripheral device is used to report first status information to the first management module; wherein the first status information is used to indicate whether the first type of peripheral device is in a fault state;

[0143] The second type of peripheral device is used to report second status information to the second management module; wherein the second status information is used to indicate whether the second type of peripheral device is in a fault state;

[0144] The first management module is used to receive the first status information reported by the first type of peripherals, and analyze the status information of the main control board based on a first analysis method; the first status information and the status information of the main control board are used as the first detection information and output; wherein the first analysis method is a method for determining whether the main control board is faulty based on a first heartbeat mechanism; the status information of the main control board is used to indicate whether the main control board is in a faulty state;

[0145] The second management module is used to receive the second status information reported by the second type of peripherals, and analyze the status information of the terminal board based on a second analysis method; use the second status information and the status information of the terminal board as second detection information and output them; wherein the second analysis method is a method for determining whether the terminal board is faulty based on a second heartbeat mechanism; the status information of the terminal board is used to characterize whether the terminal board is in a faulty state.

[0146] In the security inspection machine provided by the embodiment of the present application, the first type of peripherals can report the first status information indicating whether it is in a fault state to the first management module, and the first management module can also analyze the status information of the main control board based on the first analysis method, that is, analyze whether the main control board is in a fault state, and use the first status information and the status information of the main control board as the first detection information and output it; the second type of peripherals can report the second status information indicating whether it is in a fault state to the second management module, and the second management module can also analyze the status information of the terminal board based on the second analysis method, that is, analyze whether the terminal board is in a fault state, and use the second status information and the status information of the terminal board as the second detection information and output it. In the embodiment of the present application, the first management module can detect whether the main control board and the first type of peripherals connected to the main control board are in a fault state, and the second management module can detect whether the terminal board and the second type of peripherals connected to the terminal board are in a fault state. Through the first management module and the second management module, the peripherals, the main control board and the terminal board in the security inspection machine can be detected as a whole to see whether they are in a fault state. It can be seen that the present application can perform overall fault detection on the security inspection machine.

[0147] Optionally, the main control board is used for reporting the first status information currently received as the first predetermined heartbeat information to the first management module in response to receiving the first status information reported by the first type of peripheral device;

[0148] The terminal board is used for reporting the second status information currently received as the second predetermined heartbeat information to the second management module in response to receiving the second status information reported by the second type of peripheral device;

[0149] The first management module analyzes the status information of the main control board based on a first analysis method, including:

[0150] Receiving first predetermined heartbeat information sent by the main control board;

[0151] If it is detected that the first predetermined heartbeat information sent by the main control board is not received within the first predetermined time period, the information used to indicate that the main control board is in a fault state is used as the status information of the main control board; otherwise, the information used to indicate that the main control board is not in a fault state is used as the status information of the main control board;

[0152] The second management module analyzes the status information of the terminal board based on a second analysis method, including:

[0153] Receiving second predetermined heartbeat information sent by the terminal board;

[0154] If it is detected that the second predetermined heartbeat information sent by the terminal board is not received within the second predetermined time period, the information used to characterize that the terminal board is in a faulty state will be used as the status information of the terminal board; otherwise, the information used to characterize that the terminal board is not in a faulty state will be used as the status information of the terminal board.

[0155] Optionally, the first management module is connected to the second management module; the first management module is also connected to the terminal board and the second type of peripherals, and the second management module is also connected to the main control board and the first type of peripherals;

[0156] The first type of peripheral device is further used to report first status information to the second management module;

[0157] The second type of peripheral device is further used to report second status information to the first management module;

[0158] The first management module is further configured to, in response to detecting that a fault occurs in the second management module, receive second status information reported by the second type of peripheral device, and analyze the status information of the terminal board based on a second analysis method; and output the received second status information and the analyzed status information of the terminal board as second detection information;

[0159] The second management module is also used to receive first status information reported by the first type of peripheral device in response to detecting a failure of the first management module, and analyze the status information of the main control board based on a first analysis method; and output the received first status information and the status information of the main control board obtained by analysis as first detection information.

[0160] Optionally, the second management module is further used to detect whether a communication link between the terminal board and the second type of peripheral device fails, obtain third state information, and output the third state information;

[0161] Wherein, the terminal board is further used to send the specified control instruction to the second type of peripheral device simultaneously when sending the specified control instruction to the second management module;

[0162] The second tube module is also used to receive the specified control instructions sent by the terminal board, analyze whether the specified control instructions meet the predetermined specifications, and obtain the analysis result of whether the communication link between the terminal board and the second type of peripheral device fails, so as to detect whether the communication link between the terminal board and the second type of peripheral device fails.

[0163] Optionally, the first management module is connected to the first output interface, and the second management module is connected to the second output interface;

[0164] The manner in which the first management module outputs the first detection information includes:

[0165] In response to the first processing device communicating with the first output interface, transmitting the first detection information to the first processing device through the first output interface;

[0166] The manner in which the second management module outputs the second detection information includes:

[0167] In response to the second processing device communicating with the second output interface, the second detection information is transmitted to the second processing device through the second output interface.

[0168] Optionally, the first management module is also connected to the terminal board; the first management module is also used to respond to the status information of the main control board indicating that the main control board is in a faulty state, and perform predetermined control processing on the connected first-category peripherals and the terminal board; wherein the predetermined control processing is the control processing performed by the main control board on the connected first-category peripherals and the terminal board.

[0169] Optionally, the first management module is integrated on the main control board, or the first management module is integrated on a first carrier outside the main control board;

[0170] The second management module is integrated on the terminal board, or the second management module is integrated on a second carrier outside the terminal board.

[0171] The security inspection machine provided in this application is exemplarily introduced below by comparing it with the prior art.

[0172] like Figure 4 As shown, the security inspection machine in the prior art includes: a main control board and a terminal board. The main control board is connected to peripherals such as light barriers, emergency stops, anti-disassembly, and warning lights; the terminal board is connected to peripherals such as radiation source 1, radiation source 2, and rollers. Among them, the main control board is mainly responsible for logic control, that is, logic control of the connected peripherals and power on and off of the security inspection machine, and the terminal board is mainly responsible for data processing, that is, processing and imaging the collected data, etc.

[0173] The main control board can include a strong current control part and a weak current control part. The strong current control part controls the power on and off of the security inspection machine and peripherals such as the radiation source and roller through 220v voltage, and the weak current control part controls the operation of peripherals such as light barriers, emergency stops, anti-disassembly, and warning lights through logic. The terminal board performs protocol control on peripherals such as radiation source 1, radiation source 2, and roller, performs data collection and transmission processing and imaging of the security inspection system, and outputs imaging data through USB peripherals.

[0174] In addition, the main control board can analyze the status information of the controlled peripherals, the terminal board can analyze the status information of the controlled peripherals, and information can be exchanged between the main control board and the terminal board. The main control board can report the status information of the controlled peripherals to the terminal board, and the terminal board can output the second status information of the controlled peripherals and the first status information of the peripherals controlled by the main control board through user interface interaction.

[0175] The fault detection logic of the prior art is as follows:

[0176] Relevant personnel obtain status information through interaction with the user interface, for example: relevant personnel click the Get Status Information button in the user interface, etc., to obtain status information of each peripheral of the security inspection machine; at this time, the terminal board sends an instruction to obtain detection information to the main control board through the protocol (the terminal board also analyzes the status information of the connected peripherals to obtain second status information). After receiving the instruction, the main control board analyzes the status information of the first type of peripherals, that is, the main control board analyzes the status of the first type of connected peripherals to obtain first status information; after obtaining the first status information, the main control board reports the first status information to the terminal board through the serial port; after receiving the first status information, the terminal board displays it through the user interface; that is, after receiving the first status information, the terminal board displays the first status information and the second status information obtained by the terminal board through the status analysis of the connected peripherals through the user interface.

[0177] However, in the solutions of the prior art, the operating environments of security inspection machines vary greatly and usually encounter more interference. The communication link between the main control board and the terminal board must be guaranteed to be normal by reporting the first status information through the protocol. Once the main control board or the terminal board fails, or the communication link between the main control board and the terminal board is abnormal, the normal business of the security inspection machine cannot be carried out, and the status information of each peripheral cannot be displayed, and the status of the main control board and the terminal board cannot be obtained. The troubleshooting of the security inspection machine will be stagnant, and currently due to limited professional knowledge, relevant personnel are usually unable to go deep into the control logic level of the security inspection machine to solve the fault problems of the security inspection machine. Usually, they can only check whether there are problems with the peripherals, modules and interconnections in the security inspection machine, and there are great limitations in solving the faults of the security inspection machine.

[0178] In the scheme of the present application, by adding management modules to the main control board and the terminal board respectively, the operation status of the entire security inspection machine can be detected without affecting the operation of the security inspection machine business, and corresponding external interfaces are reserved for the two newly added management modules. Through the standardized definition of the interface, the overall operation information of the peripherals, main control board, terminal board, etc. in the security inspection machine can be displayed on the general inspection equipment. When the security inspection machine business is abnormal, the relevant personnel can obtain the location of the security inspection machine fault through the interface of the two management modules at the first time, which effectively solves the problem of low efficiency of on-site fault location when the security inspection machine fails. In addition, the two newly added management modules do not affect the normal operation of the security inspection machine business, and are management channels independent of the security inspection machine operation business, so they can also be called out-of-band management modules.

[0179] The security inspection machine provided in the embodiment of the present application is as follows Figure 5 As shown, it includes: a main control board, a management module of the main control board (i.e., a first management module), a terminal board, a management module of the terminal board (i.e., a second management module), and various peripherals of the security inspection machine (the peripherals in the block diagram are only for example and not limited); wherein the first management module and the second management module are connected to the general detection equipment through a reserved interface to realize fault detection of the security inspection machine through external detection.

[0180] In this application, corresponding management modules are added to the main control board and terminal board of the normal security inspection machine respectively, and the out-of-band management information of one more security inspection machine is obtained without affecting the normal system business operation of the security inspection machine; taking the main control board as an example, the solution of the prior art is to directly connect the peripherals such as light barriers, emergency stops, anti-disassembly, and warning lights to the main control board to obtain status information and control the operation logic. In this application, while keeping the original design logic unchanged, a first management module and an external interface are added to the main control board. At the same time, the first management module is connected to each first-class peripheral and the main control board, and the status information of each first-class peripheral connected to the main control board and the status information of the main control board can be obtained; a second management module is added to the terminal board according to the same design logic, and at the same time, there is an independent communication channel between the first management module in the main control board and the second management module in the terminal board, and the respective detection information can be transmitted to each other. It can be seen that the fault detection system for the security inspection machine in this application is an out-of-band management channel that is completely independent of the normal business of the security inspection machine, and through the external interface, the overall operation information of the security inspection machine can be obtained at any time to realize the overall fault detection of the security inspection machine.

[0181] The operation process of the main control board and the first management module is as follows: Figure 6 As shown, the operation process of the main control board in the prior art is shown in the dotted box in the figure, including:

[0182] S000: The user clicks the fault detection button in the user interface;

[0183] S611: the main control board analyzes the state of the first type of peripherals; that is, the first type of peripherals uploads the state information to the main control board, and the main control board analyzes the state of the first type of peripherals to obtain first state information;

[0184] S612: The main control board uploads the first status information to the terminal board through the serial port;

[0185] S613: After receiving the first status information, the terminal board displays it through the user interface;

[0186] In this application, a first management module is newly added to the main control board. On the basis of the normal business of the security inspection machine, information is transmitted to the first management module through the D601, D602, and D603 links, and connected to the external interface 1 through the D000 channel. Information can be exported at any time through the external interface 1.

[0187] Among them, the first management module receives the first status information uploaded by the first category of peripherals through D601 (of course, the status information of the first category of peripherals can also be received, and the first status information is obtained after analysis, and this application is not limited to this), and receives the first predetermined heartbeat information uploaded by the main control board through D602, so as to analyze the status information of the main control board; when the main control board fails, the terminal board sends an instruction to the first management module through D603, and the first management module reports the first status information and the status information of the main control board failure to the terminal board through D603, and the terminal board can display the first status information through the user interface.

[0188] The operation process of the terminal board and the second management module is as follows: Figure 7 As shown, the second management module has a similar design logic to the first management module in the main control board. Since the main control board and the terminal board are responsible for different businesses, the first management module and the second management module detect different information. The first management module can detect the status information of the first type of peripherals such as light barriers, emergency stops, anti-disassembly, and warning lights, and analyze the status information of the main control board. The second management module can detect the status information of the second type of peripherals such as radiation source 1, radiation source 2, and rollers, and analyze the status information of the terminal board; and the second management module can also analyze the status information of each communication link in the terminal board, for example: the terminal board main control module sends a specified control instruction to the acquisition and transmission system to control the acquisition and transmission system to collect and transmit data about security inspection, and thereby control the operation logic of the second type of peripherals. At this time, the terminal board main control module will also send the specified control instruction to the second management module. The second management module analyzes whether the specified control instruction meets the predetermined specifications of the communication link between the terminal board main control module and the acquisition and transmission system to obtain the operation status of its communication link. Of course, the second management module can connect the status information of the terminal board, the second status information of the second type of peripherals and the third status information representing the operating status of each communication link in the terminal board to the external interface 2 for export through D000.

[0189] The first management module is also connected to the terminal board and the second type of peripherals, and the second management module is also connected to the main control board and the first type of peripherals. The security inspection machine in the fault detection system for the security inspection machine in the embodiment of the present application is as follows: Figure 8 As shown, the first management module and the second management module are connected, and can mutually detect the status of the heartbeat mechanism and transmit information. The status information of the main control board, terminal board, peripherals, and communication links in the security inspection machine can be detected through the first management module and the second management module, and the status information detected by the first management module and the second management module can be output respectively through the external interface 1 and the external interface 2. In addition, there is an independent communication channel between the first management module and the second management module. If a certain management module fails, the overall operating status of the security inspection machine can be obtained through another management module to realize the overall fault detection of the security inspection machine.

[0190] In the present application, by introducing the first management module and the second management module for out-of-band management, the operation status of each module in the security inspection machine can be detected in real time without affecting the operation of the security inspection machine. Even if the security inspection machine operation is abnormal, it will not affect the normal use of the out-of-band management module; through the external interface reserved by the management module, the operation status of each module and each communication link in the security inspection machine as a whole can be exported at any time, thereby improving the efficiency of relevant personnel in troubleshooting the security inspection machine; the status of the main control board is detected through the first management module. Once the main control board fails, the first management module immediately takes over the main control board and continues to work, providing double protection and increasing the overall system stability of the security inspection machine.

[0191] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a solid-state hard disk (SSD), etc.

[0192] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0193] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the security inspection machine embodiment, since it is basically similar to the system embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0194] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims

1. A fault detection system for a security inspection machine, characterized in that: include: a first management module and a second management module; The first management module is connected to the main control board of the security inspection machine and the first type of peripherals, and the second management module is connected to the terminal board of the security inspection machine and the second type of peripherals, the first type of peripherals are peripherals connected to the main control board, and the second type of peripherals are peripherals connected to the terminal board; The first management module is used to receive the first status information reported by the first type of peripherals, and analyze the status information of the main control board based on a first analysis method; the first status information and the status information of the main control board are used as the first detection information and output; wherein the first status information is used to indicate whether the first type of peripherals is in a fault state; the first analysis method is a method for determining whether the main control board is faulty based on a first heartbeat mechanism; the status information of the main control board is used to indicate whether the main control board is in a faulty state; The second management module is used to receive the second status information reported by the second type of peripherals, and analyze the status information of the terminal board based on a second analysis method; use the second status information and the status information of the terminal board as second detection information and output them; wherein the second status information is used to characterize whether the second type of peripherals is in a faulty state; the second analysis method is a method of determining whether the terminal board is faulty based on a second heartbeat mechanism; the status information of the terminal board is used to characterize whether the terminal board is in a faulty state.

2. The system according to claim 1, characterized in that The analyzing the status information of the main control board based on the first analysis method includes: Receive the first predetermined heartbeat information sent by the main control board; wherein the first predetermined heartbeat information is the first status information currently received and reported by the main control board in response to receiving the first status information reported by the first type of peripheral device; If it is detected that the first predetermined heartbeat information sent by the main control board is not received within the first predetermined time period, the information used to indicate that the main control board is in a fault state is used as the status information of the main control board; otherwise, the information used to indicate that the main control board is not in a fault state is used as the status information of the main control board; The analyzing the status information of the terminal board based on the second analysis method includes: Receiving second predetermined heartbeat information sent by the terminal board; wherein the second predetermined heartbeat information is the second status information currently received and reported by the terminal board in response to receiving the second status information reported by the second type of peripheral device; If it is detected that the second predetermined heartbeat information sent by the terminal board is not received within the second predetermined time period, the information used to characterize that the terminal board is in a faulty state will be used as the status information of the terminal board; otherwise, the information used to characterize that the terminal board is not in a faulty state will be used as the status information of the terminal board.

3. The system according to claim 1, characterized in that The first management module is connected to the second management module; the first management module is also connected to the terminal board and the second type of peripherals, and the second management module is also connected to the main control board and the first type of peripherals; The first management module is further configured to, in response to detecting that a fault occurs in the second management module, receive second status information reported by the second type of peripheral device, and analyze the status information of the terminal board based on a second analysis method; The received second status information and the status information of the terminal board obtained by analysis are used as second detection information and outputted; The second management module is further configured to, in response to detecting that a failure of the first management module occurs, receive first status information reported by the first type of peripheral device, and analyze the status information of the main control board based on a first analysis method; The received first status information and the status information of the main control board obtained by analysis are used as first detection information and outputted.

4. The system according to claim 1, characterized in that The second management module is further used to detect whether a communication link between the terminal board and the second type of peripheral device fails, obtain third status information, and output the third status information; The second management module detects whether a communication link between the terminal board and the second type of peripheral device fails, including: In response to receiving a designated control instruction sent by the terminal board, the designated control instruction is analyzed to see whether it meets predetermined specifications, and an analysis result is obtained as to whether a communication link between the terminal board and the second type of peripheral device fails; wherein the designated control instruction is synchronously sent to the second management module when the terminal board sends the designated control instruction to the second type of peripheral device.

5. The system according to any one of claims 1 to 4, characterized in that: The fault detection system further comprises: a first output interface connected to the first management module, and a second output interface connected to the second management module; The manner in which the first management module outputs the first detection information includes: In response to the first processing device communicating with the first output interface, transmitting the first detection information to the first processing device through the first output interface; The manner in which the second management module outputs the second detection information includes: In response to the second processing device communicating with the second output interface, the second detection information is transmitted to the second processing device through the second output interface.

6. The system according to any one of claims 1 to 4, characterized in that: The first management module is also connected to the terminal board; the first management module is also used to respond to the status information of the main control board indicating that the main control board is in a faulty state, and perform predetermined control processing on the connected first-category peripherals and the terminal board; wherein the predetermined control processing is the control processing performed by the main control board on the connected first-category peripherals and the terminal board.

7. The system according to any one of claims 1 to 4, characterized in that: The first management module is integrated on the main control board, or the first management module is integrated on a first carrier outside the main control board; The second management module is integrated on the terminal board, or the second management module is integrated on a second carrier outside the terminal board.

8. A security inspection machine, characterized in that: include: A main control board, a terminal board, a first type of peripherals, a second type of peripherals, a first management module and a second management module; The first management module is connected to the main control board and a first type of peripherals, and the second management module is connected to the terminal board and a second type of peripherals, the first type of peripherals are peripherals connected to the main control board, and the second type of peripherals are peripherals connected to the terminal board; The first type of peripheral device is used to report first status information to the first management module; wherein the first status information is used to indicate whether the first type of peripheral device is in a fault state; The second type of peripheral device is used to report second status information to the second management module; wherein the second status information is used to indicate whether the second type of peripheral device is in a fault state; The first management module is used to receive the first status information reported by the first type of peripherals, and analyze the status information of the main control board based on a first analysis method; the first status information and the status information of the main control board are used as the first detection information and output; wherein the first analysis method is a method for determining whether the main control board is faulty based on a first heartbeat mechanism; the status information of the main control board is used to indicate whether the main control board is in a faulty state; The second management module is used to receive the second status information reported by the second type of peripherals, and analyze the status information of the terminal board based on a second analysis method; use the second status information and the status information of the terminal board as second detection information and output them; wherein the second analysis method is a method for determining whether the terminal board is faulty based on a second heartbeat mechanism; the status information of the terminal board is used to characterize whether the terminal board is in a faulty state.

9. The security inspection machine according to claim 8, characterized in that: The main control board is used for reporting the first status information currently received as the first predetermined heartbeat information to the first management module in response to receiving the first status information reported by the first type of peripheral device; The terminal board is used for reporting the second status information currently received as the second predetermined heartbeat information to the second management module in response to receiving the second status information reported by the second type of peripheral device; The first management module analyzes the status information of the main control board based on a first analysis method, including: Receiving first predetermined heartbeat information sent by the main control board; If it is detected that the first predetermined heartbeat information sent by the main control board is not received within the first predetermined time period, the information used to indicate that the main control board is in a fault state is used as the status information of the main control board; otherwise, the information used to indicate that the main control board is not in a fault state is used as the status information of the main control board; The second management module analyzes the status information of the terminal board based on a second analysis method, including: Receiving second predetermined heartbeat information sent by the terminal board; If it is detected that the second predetermined heartbeat information sent by the terminal board is not received within the second predetermined time period, the information used to characterize that the terminal board is in a faulty state will be used as the status information of the terminal board; otherwise, the information used to characterize that the terminal board is not in a faulty state will be used as the status information of the terminal board.

10. The security inspection machine according to claim 8, characterized in that: The first management module is connected to the second management module; the first management module is also connected to the terminal board and the second type of peripherals, and the second management module is also connected to the main control board and the first type of peripherals; The first type of peripheral device is further used to report first status information to the second management module; The second type of peripheral device is further used to report second status information to the first management module; The first management module is further configured to, in response to detecting that a fault occurs in the second management module, receive second status information reported by the second type of peripheral device, and analyze the status information of the terminal board based on a second analysis method; The received second status information and the status information of the terminal board obtained by analysis are used as second detection information and outputted; The second management module is further configured to, in response to detecting that a failure of the first management module occurs, receive first status information reported by the first type of peripheral device, and analyze the status information of the main control board based on a first analysis method; The received first status information and the status information of the main control board obtained by analysis are used as first detection information and outputted.