Detection method, device and storage medium of event sequence recording module

By using control module, sequence generator and jitter generator in the spot detector to conduct multi-faceted detection of the event sequence recording module, the problem of low inspection accuracy in the prior art is solved, and more efficient and accurate detection results are achieved.

CN118981193BActive Publication Date: 2025-04-25SHANGHAI XINHUA CONTROL TECH (GRP) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411098151.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2025-04-25
Estimated Expiration
2044-08-09

AI Technical Summary

Technical Problem

In the prior art, the inspection results of the event sequence recording module are determined by analyzing the information of the event sequence recording module in the switch-on state or the switch-on state, resulting in a low inspection accuracy.

Method used

The control module in the spot detector detects the voltage and current values ​​of multiple channels of the target event sequence recording module, then uses a sequence generator to detect the on-off time, and uses the jitter generator to detect whether the pulse data is filtered, and finally determines the target detection result based on these detection results.

Benefits of technology

The detection accuracy and efficiency of the event sequence recording module are improved, and the problems of inaccurate detection results and low detection efficiency in traditional methods are avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118981193B_ABST
    Figure CN118981193B_ABST
Patent Text Reader

Abstract

The present application discloses a detection method, device and storage medium for an event sequence recording module. Relating to the field of automated control, the method comprises: detecting the voltage values ​​and current values ​​of multiple channels of a target event sequence recording module to obtain a first detection result; detecting the on-off time of multiple channels of a target event sequence recording module to obtain a second detection result; detecting whether the pulse data of the target event sequence recording module is filtered to obtain a third detection result; and determining the target detection result of the target event sequence recording module based on the third detection result. Through the present application, the problem that the inspection result of the event sequence recording module is determined by analyzing the information of the event sequence recording module in the on-state or off-state of the switch in the related art, resulting in a relatively low inspection accuracy rate of the event sequence recording module, is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automation control, and in particular to a detection method, device and storage medium for an event sequence recording module. Background Art

[0002] At present, distributed control systems (DCS) integrate computer, communication, display and control technologies and have been widely used in the field of automatic control. The sequence of events (SOE) module in the DCS system is a very important component, which can query the cause of the fault after the DCS system fails. However, as time goes by, the performance of the SOE module gradually decreases, resulting in a decrease in the query voltage of the SOE module or a decrease in the detection threshold current, which in turn causes the correctness of the SOE module's judgment on closing or disconnection to decrease, seriously affecting the accuracy of the SOE module. In the prior art, the SOE module is usually simply tested in the switch-on state or the switch-off state, or the SOE module is tested using a sequence generator with an interval of 1 millisecond, but this method is difficult to detect the performance and quality of the SOE module.

[0003] Currently, no effective solution has been proposed to address the problem that the inspection result of the event sequence recording module is determined by analyzing the information of the event sequence recording module when the switch is on or off, resulting in a relatively low inspection accuracy of the event sequence recording module. Summary of the invention

[0004] The main purpose of the present application is to provide a detection method, device and storage medium for an event sequence recording module, so as to solve the problem in the related art that the inspection result of the event sequence recording module is determined by analyzing the information of the event sequence recording module when the switch is on or off, resulting in a relatively low inspection accuracy of the event sequence recording module.

[0005] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a detection method for an event sequence recording module is provided. The method comprises: detecting the voltage value and current value of multiple channels of the target event sequence recording module through the control module in the spot inspection instrument to obtain a first detection result, wherein the target event sequence recording module is in communication connection with the spot inspection instrument; when the first detection result indicates that the voltage value and the current value detection pass, detecting the on-off time of multiple channels of the target event sequence recording module through the sequence generator in the spot inspection instrument to obtain a second detection result; when the second detection result indicates that the on-off time detection passes, detecting whether the pulse data of the target event sequence recording module is filtered through the jitter generator in the spot inspection instrument to obtain a third detection result; and determining the target detection result of the target event sequence recording module based on the third detection result.

[0006] Furthermore, before the voltage and current values ​​of multiple channels of the target event sequence recording module are detected by the control module in the inspection instrument to obtain the first detection result, the method also includes: determining the initial communication information corresponding to multiple event sequence recording modules through the communication module in the inspection instrument; judging whether there is target communication information that meets the first preset condition in the initial communication information to obtain a first judgment result; if the first judgment result indicates that there is target communication information that meets the first preset condition in the initial communication information, then determining the event sequence recording module corresponding to the target communication information as the target event sequence recording module.

[0007] Furthermore, the voltage values ​​and current values ​​of multiple channels of the target event sequence recording module are detected by the control module in the inspection instrument to obtain the first detection result, including: setting the multiple channels of the target event sequence recording module to a disconnected state; when the multiple channels of the target event sequence recording module are in a disconnected state, obtaining the voltage values ​​of the multiple channels and the first digital input signal value of the target event sequence recording module, and detecting the voltage values ​​and the first digital input signal value to obtain a first initial detection result; setting the multiple channels of the target event sequence recording module to a conductive state; when the multiple channels of the target event sequence recording module are in a conductive state, obtaining the current values ​​of the multiple channels and the second digital input signal value of the target event sequence recording module, and detecting the current value and the second digital input signal value to obtain a second initial detection result; determining the first detection result based on the first initial detection result and the second initial detection result.

[0008] Furthermore, the voltage value and the first digital input signal value are detected to obtain a first initial detection result, including: judging whether the first digital input signal value is a first preset value to obtain a second judgment result; judging whether the voltage value meets a second preset condition to obtain a third judgment result; and determining the first initial detection result based on the second judgment result and the third judgment result.

[0009] Furthermore, the current value and the second digital input signal value are detected to obtain a second initial detection result, including: judging whether the second digital input signal value is a second preset value to obtain a fourth judgment result; judging whether the current value meets a third preset condition to obtain a fifth judgment result; and determining the second initial detection result based on the fourth judgment result and the fifth judgment result.

[0010] Furthermore, the on-off time of multiple channels of the target event sequence recording module is detected by the sequence generator in the inspection instrument, and the second detection result is obtained, including: calculating the time difference of the target event sequence recording module by the system time of the target event sequence recording module and the on-off time; judging whether the time difference is less than or equal to a third preset value to obtain a sixth judgment result; and determining the second detection result based on the sixth judgment result.

[0011] Furthermore, after determining the target detection result of the target event sequence recording module based on the third detection result, the method also includes: when the target detection result indicates that the target event sequence recording module has a fault, obtaining fault information of the target event sequence recording module, wherein the fault information at least includes: fault location information, fault type information and fault time information of the target event sequence recording module; determining an optimization strategy for the target event sequence recording module based on the fault information; and optimizing the target event sequence recording module based on the optimization strategy.

[0012] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a detection device for an event sequence recording module is provided. The device comprises: a first detection unit, which is used to detect the voltage value and current value of multiple channels of the target event sequence recording module through the control module in the spot inspection instrument to obtain a first detection result, wherein the target event sequence recording module is in communication connection with the spot inspection instrument; a second detection unit, which is used to detect the on-off time of multiple channels of the target event sequence recording module through the sequence generator in the spot inspection instrument when the first detection result indicates that the voltage value and the current value are detected and obtain a second detection result; a third detection unit, which is used to detect whether the pulse data of the target event sequence recording module is filtered through the jitter generator in the spot inspection instrument when the second detection result indicates that the on-off time is detected and obtain a third detection result; a first determination unit, which is used to determine the target detection result of the target event sequence recording module based on the third detection result.

[0013] Furthermore, the device also includes: a second determination unit, which is used to detect the voltage values ​​and current values ​​of multiple channels of the target event sequence recording module through the control module in the inspection instrument, and before obtaining the first detection result, determine the initial communication information corresponding to multiple event sequence recording modules through the communication module in the inspection instrument; a judgment unit, which is used to judge whether there is target communication information that meets the first preset condition in the initial communication information, and obtain a first judgment result; and a third determination unit, which is used to determine the event sequence recording module corresponding to the target communication information as the target event sequence recording module if the first judgment result indicates that there is target communication information that meets the first preset condition in the initial communication information.

[0014] Further, the first detection unit includes: a first setting module, used to set multiple channels of the target event sequence recording module to a disconnected state; a first detection module, used to obtain the voltage values ​​of the multiple channels and the first digital input signal value of the target event sequence recording module when the multiple channels of the target event sequence recording module are in a disconnected state, and detect the voltage value and the first digital input signal value to obtain a first initial detection result; a second setting module, used to set the multiple channels of the target event sequence recording module to a conductive state; a second detection module, used to obtain the current values ​​of the multiple channels and the second digital input signal value of the target event sequence recording module when the multiple channels of the target event sequence recording module are in a conductive state, and detect the current value and the second digital input signal value to obtain a second initial detection result; a first determination module, used to determine the first detection result based on the first initial detection result and the second initial detection result.

[0015] Furthermore, the first detection module includes: a first judgment submodule, used to judge whether the first digital input signal value is a first preset value, and obtain a second judgment result; a second judgment submodule, used to judge whether the voltage value meets a second preset condition, and obtain a third judgment result; a first determination submodule, used to determine the first initial detection result based on the second judgment result and the third judgment result.

[0016] Furthermore, the second detection module includes: a third judgment submodule, used to judge whether the second digital input signal value is a second preset value, and obtain a fourth judgment result; a fourth judgment submodule, used to judge whether the current value meets a third preset condition, and obtain a fifth judgment result; a second determination submodule, used to determine the second initial detection result based on the fourth judgment result and the fifth judgment result.

[0017] Furthermore, the second detection unit includes: a calculation module, used to calculate through the system time of the target event sequence recording module and the on-off time to obtain the time difference of the target event sequence recording module; a judgment module, used to judge whether the time difference is less than or equal to a third preset value to obtain a sixth judgment result; a second determination module, used to determine the second detection result based on the sixth judgment result.

[0018] Furthermore, the device also includes: an acquisition unit, which is used to obtain fault information of the target event sequence recording module after determining the target detection result of the target event sequence recording module based on the third detection result, when the target detection result indicates that the target event sequence recording module has a fault, wherein the fault information at least includes: fault location information, fault type information and fault time information of the target event sequence recording module; a fourth determination unit, which is used to determine the optimization strategy of the target event sequence recording module based on the fault information; and an optimization unit, which is used to optimize the target event sequence recording module based on the optimization strategy.

[0019] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a computer-readable storage medium is provided, wherein the storage medium stores a program, wherein when the program is running, the device where the storage medium is located is controlled to execute any one of the above-mentioned event sequence recording module detection methods.

[0020] In order to achieve the above-mentioned purpose, according to another aspect of the present application, an electronic device is also provided, the electronic device includes one or more processors and a memory, and the memory is used to store the detection method of the event sequence recording module implemented by one or more processors as described above.

[0021] Through this application, the following steps are adopted: the voltage value and current value of multiple channels of the target event sequence recording module are detected by the control module in the spot inspection instrument to obtain a first detection result, wherein the target event sequence recording module is connected to the spot inspection instrument in communication; when the first detection result indicates that the voltage value and current value detection pass, the on-off time of multiple channels of the target event sequence recording module is detected by the sequence generator in the spot inspection instrument to obtain a second detection result; when the second detection result indicates that the on-off time detection passes, the pulse data of the target event sequence recording module is filtered by the jitter generator in the spot inspection instrument to obtain a third detection result; according to the third detection result, the target detection result of the target event sequence recording module is determined. Through this application, the problem that the inspection result of the event sequence recording module is determined by analyzing the information of the event sequence recording module in the on-state or off-state of the switch quantity in the related technology, resulting in a relatively low inspection accuracy of the event sequence recording module, is solved. In this scheme, first, after the target event sequence recording module is connected to the spot inspection instrument in communication, the voltage value and current value of multiple channels of the target event sequence recording module are detected respectively. Then, after the voltage value and current value are detected, the on-off time of multiple channels of the target event sequence recording module is detected. And after the on-off time detection is passed, whether the target event sequence recording module can correctly filter the pulse data is detected. Finally, according to the above detection results, the target detection result of the target event sequence recording module is determined. Through the multiple functional modules of the inspection instrument, the voltage value, current value, and on-off time of the target event sequence recording module in the on state and the off state are detected to determine the target detection result of the target event sequence recording module, avoiding the problems of inaccurate detection results and low detection efficiency caused by the traditional method of only performing simple detection on the target event sequence recording module in the switch-on state or the switch-off state, or using a sequence generator with an interval of 1 millisecond to detect the target event sequence recording module, thereby improving the detection effect of the target event sequence recording module. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0023] Figure 1 is a flow chart of a detection method of an event sequence recording module provided in an embodiment of the present application;

[0024] Figure 2 This is a schematic diagram of a spot inspection instrument provided according to an embodiment of the present application. Figure 1 ;

[0025] Figure 3This is a schematic diagram of a spot inspection instrument provided according to an embodiment of the present application. Figure 2 ;

[0026] Figure 4 is a schematic diagram of a detection device for an event sequence recording module provided according to an embodiment of the present application;

[0027] Figure 5 is a schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0028] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0029] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings 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 without creative work should fall within the scope of protection of the present application.

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0031] For the convenience of description, some nouns or terms involved in the embodiments of the present application are explained below:

[0032] Distributed Control Systems (DCS): A new generation of instrument control system based on microprocessors, which adopts the design principles of decentralized control functions, centralized displays, and a combination of separate autonomy and comprehensive coordination.

[0033] Sequence of Event (SOE) module: It is an important component in the distributed control system. Its main input signal is a digital input signal. It can record the time of the switch action and upload it to the upper controller, so as to achieve the function of judging the sequence of the switch action. After a fault occurs in the distributed control system, the SOE module is an important basis for querying the cause of the fault. The resolution of the SOE module is usually 1 millisecond. In actual use, the external input is a dry contact. The SOE module will add a query voltage signal (usually a DC voltage of 24V or 48V) to one end of the contact to detect its closed state or open state. Because its resistance is extremely small when closed, a threshold current will be detected on the channel of the SOE module. If the channel current is less than the threshold current, it means that there is a fault in its external closed state.

[0034] Digital Input (DI): A signal used to input external digital signals into a computer or control system. This signal is usually generated by digital switches, sensors, buttons and other devices to provide the system with information such as switch status and trigger events. Digital input signals can be high (1) or low (0) to indicate different states or events.

[0035] Dry contact: It has two states: closed and open. There is no polarity between the two contacts. It does not generate voltage to the outside, and the two ends can be interchanged.

[0036] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties. For example, an interface is set between this system and the relevant user or organization. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.

[0037] The present invention is described below in conjunction with preferred implementation steps. Figure 1 is a flow chart of a detection method of an event sequence recording module provided in an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:

[0038] Step S101 , the control module in the spot inspection instrument detects the voltage and current values ​​of multiple channels of the target event sequence recording module to obtain a first detection result, wherein the target event sequence recording module is in communication connection with the spot inspection instrument.

[0039] Optionally, after the target SOE module (i.e., the target event sequence recording module) is connected to the inspection instrument through communication, the target SOE module is controlled to be in a disconnected state or an on state by the control module of the inspection instrument. When the target SOE module is in the disconnected state, the query voltage (i.e., voltage value) of the 16 channels (i.e., multiple channels) of the target SOE module is detected and judged; when the target SOE module is in the on state, the threshold current (i.e., current value) of the 16 channels of the target SOE module is detected and judged to obtain a first detection result.

[0040] Step S102, when the first detection result indicates that the voltage value and the current value have passed the detection, the sequence generator in the spot inspection instrument detects the on-off time of multiple channels of the target event sequence recording module to obtain a second detection result.

[0041] Optionally, when the first detection result indicates that both the query voltage and the threshold current of the target SOE module have passed the detection, the sequence generator of the target SOE module is activated to automatically generate a channel sequence, and the channel time (i.e., the on-off time) of the target SOE module in the disconnected state and the on-state is recorded and detected respectively to obtain a second detection result.

[0042] Step S103, when the second detection result indicates that the on-off time detection is passed, the jitter generator in the spot inspection instrument is used to detect whether the pulse data of the target event sequence recording module is filtered to obtain a third detection result.

[0043] Optionally, when the second detection result indicates that the channel time detection of the target SOE module in the disconnected state and the on state has passed, all channels of the target SOE module are closed through the control module of the target SOE module, and the jitter generator of the target SOE module is activated to generate a 10ms high-frequency jitter interference pulse (i.e., pulse data). At this time, the target SOE module should not upload any time record of on-off changes. If a high-frequency jitter interference pulse appears in the target SOE module, it indicates that the target SOE module has not correctly filtered the high-frequency jitter interference pulse, and then indicates that there is a fault in the anti-interference function of the target SOE module, so as to obtain the third detection result.

[0044] Step S104: determining a target detection result of the target event sequence recording module according to the third detection result.

[0045] Optionally, the target detection result is divided into: the target SOE module has a fault and the target SOE module does not have a fault.

[0046] In summary, first, after the target event sequence recording module is connected to the inspection instrument for communication, the voltage and current values ​​of multiple channels of the target event sequence recording module are detected respectively. Then, after the voltage and current value detections are passed, the on-off time of multiple channels of the target event sequence recording module is detected. And after the on-off time detection is passed, whether the target event sequence recording module can correctly filter the pulse data is detected. Finally, according to the above detection results, the target detection result of the target event sequence recording module is determined. Through the multiple functional modules of the inspection instrument, the voltage value, current value, and on-off time of the target event sequence recording module in the on state and the off state are detected to determine the target detection result of the target event sequence recording module, avoiding the problems of inaccurate detection results and low detection efficiency caused by the traditional method of only simply detecting the target event sequence recording module in the on state or the off state of the switch quantity, or using a sequence generator with an interval of 1 millisecond to detect the target event sequence recording module, thereby improving the detection effect of the target event sequence recording module.

[0047] Optionally, in the detection method of the event sequence recording module provided in the embodiment of the present application, before the voltage values ​​and current values ​​of multiple channels of the target event sequence recording module are detected by the control module in the inspection instrument to obtain a first detection result, the method also includes: determining the initial communication information corresponding to the multiple event sequence recording modules through the communication module in the inspection instrument; judging whether there is target communication information that meets the first preset condition in the initial communication information to obtain a first judgment result; if the first judgment result indicates that there is target communication information that meets the first preset condition in the initial communication information, then determining the event sequence recording module corresponding to the target communication information as the target event sequence recording module.

[0048] In an optional embodiment, the communication return data module (i.e., communication module) of the inspection instrument performs communication detection on multiple SOE modules that are connected to the inspection instrument, and returns the initial communication information of each SOE module, such as module type, module name, module parameters, and module version. According to the initial communication information, it is determined whether the current SOE module is the SOE module to be tested (i.e., the target event sequence recording module): if the current SOE module is the target event sequence recording module, it indicates that the communication is normal; if the current SOE module is not the target event sequence recording module, it indicates that the communication is abnormal, and returns information such as "SOE module failure".

[0049] By performing communication detection on multiple SOE modules, communication anomalies can be discovered in a timely manner, thereby improving the stability and reliability of the system.

[0050] Optionally, in the detection method of the event sequence recording module provided in the embodiment of the present application, the voltage values ​​and current values ​​of multiple channels of the target event sequence recording module are detected by the control module in the inspection instrument, and obtaining the first detection result includes: setting the multiple channels of the target event sequence recording module to a disconnected state; when the multiple channels of the target event sequence recording module are in a disconnected state, obtaining the voltage values ​​of the multiple channels and the first digital input signal value of the target event sequence recording module, and detecting the voltage values ​​and the first digital input signal value to obtain a first initial detection result; setting the multiple channels of the target event sequence recording module to a conductive state; when the multiple channels of the target event sequence recording module are in a conductive state, obtaining the current values ​​of the multiple channels and the second digital input signal value of the target event sequence recording module, and detecting the current values ​​and the second digital input signal values ​​to obtain a second initial detection result; determining the first detection result based on the first initial detection result and the second initial detection result.

[0051] In an optional embodiment, the disconnection state and conduction state of the 16 channels of the target SOE module are controlled by the control module of the spot inspection instrument. Take one channel of the target SOE module as an example: first set the channel of the target SOE module to the disconnected state, and then read the DI signal (i.e., the first digital input signal value) of the target SOE module through the communication feedback data module. And the query voltage (i.e., the voltage value, usually 24V or 48V) on the channel is divided and reduced by the channel switching module of the spot inspection instrument. At the same time, the voltage signal after the voltage division processing is sampled by the ADC module (analog-to-digital converter module) of the spot inspection instrument. Finally, according to the voltage signal after the voltage division processing and the DI signal of the target SOE module, the detection result of one channel of the target SOE module is obtained. Repeat the above steps in sequence, starting from one channel of the target SOE module for detection, until all 16 channels of the target SOE module are detected, and the first initial detection result of the target SOE module is obtained.

[0052] The control module of the spot inspection instrument controls the disconnection state and conduction state of the 16 channels of the target SOE module. Take one channel of the target SOE module as an example: first set the channel of the target SOE module to the conduction state, and then read the DI signal (i.e., the second digital input signal value) of the target SOE module through the communication feedback data module. And the threshold current (i.e., the current value, usually between 3.5mA and 4mA) on the channel is converted into a voltage signal through the channel switching module and current sampling resistor of the spot inspection instrument. At the same time, the voltage signal converted from the threshold current is sampled through the ADC module (analog-to-digital converter module) of the spot inspection instrument. Finally, the detection result of one channel of the target SOE module is obtained based on the voltage signal converted from the threshold current and the DI signal of the target SOE module. Repeat the above steps in sequence, starting from one channel of the target SOE module for detection, until all 16 channels of the target SOE module are detected, and the second initial detection result of the target SOE module is obtained.

[0053] Through the control module of the inspection instrument, comprehensive inspection and monitoring of the 16 channels of the target SOE module are achieved, ensuring the normal operation and safety of the equipment.

[0054] Optionally, in the detection method of the event sequence recording module provided in the embodiment of the present application, the voltage value and the first digital input signal value are detected to obtain a first initial detection result, including: judging whether the first digital input signal value is a first preset value, to obtain a second judgment result; judging whether the voltage value meets a second preset condition, to obtain a third judgment result; and determining the first initial detection result based on the second judgment result and the third judgment result.

[0055] In an optional embodiment, taking one channel of the target SOE module as an example: through the communication feedback data module of the inspection instrument, the DI signal (i.e., the first digital input signal value) of the target SOE module is read, and it is determined whether the current DI signal is 0 (i.e., the first preset value): if the current DI signal is not 0, it is determined that there is a fault in the target SOE module; if the current DI signal is 0, it is determined whether the voltage signal after the voltage division processing is greater than or equal to 22V or 45V (i.e., the second preset condition): if the voltage signal after the voltage division processing is greater than or equal to 22V or 45V, it indicates that there is no fault in the target SOE module; if the voltage signal after the voltage division processing is less than 22V or 45V, it indicates that there is a fault in the target SOE module.

[0056] Through the first digital signal of the target SOE module and the voltage signal after voltage division processing, the first initial detection result can be obtained quickly and accurately, which is convenient for timely discovery and resolution of problems.

[0057] Optionally, in the detection method of the event sequence recording module provided in the embodiment of the present application, the current value and the second digital input signal value are detected to obtain a second initial detection result, including: judging whether the second digital input signal value is a second preset value, to obtain a fourth judgment result; judging whether the current value meets a third preset condition, to obtain a fifth judgment result; and determining the second initial detection result based on the fourth judgment result and the fifth judgment result.

[0058] In an optional embodiment, taking one channel of the target SOE module as an example: read the DI signal (i.e., the second digital input signal value) of the target SOE module through the communication feedback data module of the spot inspection instrument. And determine whether the current DI signal is 1 (i.e., the second preset value): if the current DI signal is not 1, it is determined that the target SOE module has a fault; if the current DI signal is 1, determine whether the voltage signal converted from the threshold current is greater than or equal to 3.5mA and less than or equal to 4mA (i.e., the third preset condition): if the voltage signal converted from the threshold current is greater than or equal to 3.5mA and less than or equal to 4mA, it indicates that the target SOE module has no fault; if the voltage signal converted from the threshold current is less than 3.5mA or greater than 4mA, it indicates that the target SOE module has a fault.

[0059] Through the second digital signal of the target SOE module and the voltage signal converted according to the threshold current, the second initial detection result can be obtained quickly and accurately, which is convenient for improving the reliability and stability of the equipment.

[0060] Optionally, in the detection method of the event sequence recording module provided in the embodiment of the present application, the on-off time of multiple channels of the target event sequence recording module is detected by a sequence generator in the inspection instrument, and the second detection result is obtained, including: calculating the time difference of the target event sequence recording module by the system time and the on-off time of the target event sequence recording module; judging whether the time difference is less than or equal to a third preset value to obtain a sixth judgment result; and determining the second detection result based on the sixth judgment result.

[0061] In an optional embodiment, the control module of the inspection instrument exits the control of the switch on / off module on the target SOE module, and activates the sequence generator to automatically generate a channel sequence, that is, starting from channel 1: after closing channel 1, close channel 2 again after an interval of 0.5ms, and so on, until all 16 channels in the target SOE modules are closed. The difference (i.e., time difference) between the channel time (i.e., on / off time) of the target SOE module and the system clock (i.e., system time) of the inspection instrument is calculated according to the communication return data module of the inspection instrument, and it is determined whether the difference between the channel time of the target SOE module and the system clock is less than or equal to 1.2ms (i.e., the third preset value): if the difference between the channel time of the target SOE module and the system clock is less than or equal to 1.2ms, it indicates that the target SOE module is not faulty; if the difference between the channel time of the target SOE module and the system clock is greater than 1.2ms, it indicates that the target SOE module is faulty.

[0062] It should be noted that after completing the above steps, the sequence generator is activated again through the control module of the inspection instrument to open the 16 channels of the target SOE module in a 1.5ms sequence. And according to the communication return data module of the inspection instrument, it is judged whether the difference between the channel time of the target SOE module and the system clock is less than or equal to 1.2ms. If the difference between the channel time of the target SOE module and the system clock is less than or equal to 1.2ms, it indicates that there is no fault in the target SOE module; if the difference between the channel time of the target SOE module and the system clock is greater than 1.2ms, it indicates that there is a fault in the target SOE module. The reason why two tests of 0.5ms and 1.5ms are needed is that the commonly used 1ms sequence generator will be affected by the interference between channels, and thus cannot detect potential problems of the target SOE module.

[0063] By detecting whether there is a deviation between the channel time and the system clock of the target SOE module, possible faults of the target SOE module can be effectively discovered, thereby improving the accuracy and reliability of the detection results.

[0064] Optionally, in the detection method of the event sequence recording module provided in the embodiment of the present application, after determining the target detection result of the target event sequence recording module based on the third detection result, the method also includes: when the target detection result indicates that there is a fault in the target event sequence recording module, obtaining fault information of the target event sequence recording module, wherein the fault information includes at least: fault location information, fault type information and fault time information of the target event sequence recording module; determining an optimization strategy for the target event sequence recording module based on the fault information; and optimizing the target event sequence recording module based on the optimization strategy.

[0065] In an optional embodiment, when the target detection result indicates that the target SOE module has a fault, the physical connection of the target SOE module, such as lines, interfaces, etc., is checked, and the software driver and system configuration of the target SOE module are checked to find possible code errors or improper configurations, so as to obtain the fault information of the target SOE module. Then, the cause of the fault is analyzed according to the fault information, and an optimization strategy is formulated. Finally, the target SOE module is optimized and adjusted through the optimization strategy, and the optimization data is uploaded to the computer to generate an optimization report.

[0066] Through the target detection results, the fault information of the target SOE module can be systematically obtained, and effective optimization strategies can be formulated and implemented based on the fault information, ultimately improving the stability and reliability of the system.

[0067] The detection method of the event sequence recording module provided in the embodiment of the present application is to detect the voltage value and current value of multiple channels of the target event sequence recording module through the control module in the spot inspection instrument to obtain a first detection result, wherein the target event sequence recording module is connected to the spot inspection instrument for communication; when the first detection result indicates that the voltage value and current value detection pass, the on-off time of multiple channels of the target event sequence recording module is detected by the sequence generator in the spot inspection instrument to obtain a second detection result; when the second detection result indicates that the on-off time detection passes, the jitter generator in the spot inspection instrument is used to detect whether the pulse data of the target event sequence recording module is filtered to obtain a third detection result; based on the third detection result, the target detection result of the target event sequence recording module is determined, which solves the problem that the inspection result of the event sequence recording module is determined by analyzing the information of the event sequence recording module in the on-state or off-state of the switch quantity in the related art, resulting in a relatively low inspection accuracy of the event sequence recording module. In summary, in this scheme, first, after the target event sequence recording module is connected to the spot inspection instrument for communication, the voltage value and current value of multiple channels of the target event sequence recording module are detected respectively. Then, after the voltage value and current value are detected, the on-off time of multiple channels of the target event sequence recording module is detected. And after the on-off time detection is passed, whether the target event sequence recording module can correctly filter the pulse data is detected. Finally, according to the above detection results, the target detection result of the target event sequence recording module is determined. Through the multiple functional modules of the inspection instrument, the voltage value, current value, and on-off time of the target event sequence recording module in the on state and the off state are detected to determine the target detection result of the target event sequence recording module, avoiding the problems of inaccurate detection results and low detection efficiency caused by the traditional method of only performing simple detection on the target event sequence recording module in the switch-on state or the switch-off state, or using a sequence generator with an interval of 1 millisecond to detect the target event sequence recording module, thereby improving the detection effect of the target event sequence recording module.

[0068] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0069] It should be noted that, in an optional embodiment, the present application embodiment further provides a spot inspection instrument, Figure 2 This is a schematic diagram of a spot inspection instrument provided according to an embodiment of the present application. Figure 1 .like Figure 2 As shown, the inspection instrument includes: a control module 201 , a sequence generator 202 and a jitter generator 203 .

[0070] Among them, the control module is used to control other modules in the inspection instrument, and detect the voltage and current values ​​of multiple channels of the target event sequence recording module to obtain a first detection result; the sequence generator is used to detect the on-off time of multiple channels of the target event sequence recording module when the first detection result indicates that the voltage value and current value detection are passed, and obtain a second detection result; the jitter generator is used to detect whether the pulse data of the target event sequence recording module is filtered when the second detection result indicates that the on-off time detection is passed, and obtain a third detection result, wherein the target detection result of the target event sequence recording module is determined based on the third detection result.

[0071] It should be noted that the computer runs the host software to perform inspection operations on the target SOE module, and is responsible for starting, stopping, judging the correctness of data, and generating inspection reports. The control module MCU uses M0516LDN, which is responsible for circuit communication with other modules; at the same time, the control module MCU is also responsible for controlling the target event sequence recording module to achieve the on and off states; the control module MCU also communicates with the sequence generator and the jitter generator; the control module MCU can also read the communication return data of the target SOE module. The sequence generator mainly uses Lattice LCMXO2-2000HC, which is an FPGA chip that can accurately control the output sequence generator waveform and control the on and off of the switch. The sequence generator is sent an activation instruction by the control module MCU, and then automatically performs a 0.5ms interval sequence and a 1.5ms sequence according to the logic setting. The jitter generator is mainly composed of FPGA to flip the CLR (CLEAR, output clear) pin of 74HC273 at high frequency to achieve the effect of output jitter. This function is also automatically performed within 10ms after the control module MCU sends an activation command to close or disconnect the 10kHz frequency jitter.

[0072] It should be noted that, in an optional embodiment, Figure 3 This is a schematic diagram of a spot inspection instrument provided according to an embodiment of the present application. Figure 2 .like Figure 3As shown, the inspection instrument may also include: a current sampling resistor 301, used to collect the current value of the target event sequence recording module; a voltage divider circuit 302, used to collect the voltage value of the target event sequence recording module; a channel switching module 303, used to switch the voltage value and current value of multiple channels of the target event sequence recording module to the sampling input end of the analog-to-digital converter module; a switch on-off module 304, used to control the disconnection state and the conduction state of multiple channels of the target event sequence recording module; an ADC module (analog-to-digital converter module) 305, used to convert the signal of the target event sequence recording module; a communication module 306, used to be responsible for the communication function between the target event sequence recording module and other modules in the inspection instrument, and forward the communication information to other modules; a communication return data module 307, used to return the type information, status information, time information and digital input signal information of the target event sequence recording module; a multiple loop support multiple block module 308, used to support the inspection instrument to detect multiple target event sequence recording modules.

[0073] It should be noted that the channel switching module uses MUX508, which is responsible for switching the query voltage and threshold current of different channels of the target SOE module to the sampling input end of the ADC module, which is equivalent to two data channels for one channel to be sampled. The target SOE module has a total of 16 channels, so there are a total of 32 sampling data channels that need to be switched. The ADC module uses ADS8320, which can collect 0-2.5V voltage signals. The 48V query voltage of the target SOE module is reduced to about 2V after voltage division. After switching through the channel switching module, it is sampled by the ADC module. The threshold current of the target SOE module is converted into a voltage signal through a current sampling resistor. The switch on-off module uses 74HC273 to realize the on and off states of multiple channels of the target SOE module. The switch on-off module can be controlled by MCU and FPGA at the same time. When sampling the query voltage or threshold current, it is usually controlled by MCU; when the sequence generator detects the channel time of the target SOE module, it is usually controlled by FPGA. The communication feedback module is a 485 communication interface, which is the interface for the module itself to communicate with the control device. It returns the type, status information, DI switch signal and channel time information of the target SOE module.

[0074] It should be noted that the event sequence recording module detection method provided in the embodiment of the present application can support the simultaneous detection of multiple SOE modules, and can detect up to 8 SOE modules at the same time, which are independent of each other and work in parallel.

[0075] The embodiment of the present application also provides a detection device for an event sequence recording module. It should be noted that the detection device for an event sequence recording module in the embodiment of the present application can be used to execute the detection method for an event sequence recording module provided in the embodiment of the present application. The detection device for an event sequence recording module provided in the embodiment of the present application is introduced below.

[0076] Figure 4 Schematic diagram of a detection device for an event sequence recording module according to an embodiment of the present application. Figure 4 As shown, the device includes: a first detection unit 401, a second detection unit 402, a third detection unit 403, and a first determination unit 404.

[0077] The first detection unit 401 is used to detect the voltage values ​​and current values ​​of multiple channels of the target event sequence recording module through the control module in the spot inspection instrument to obtain a first detection result, wherein the target event sequence recording module is in communication connection with the spot inspection instrument;

[0078] The second detection unit 402 is used to detect the on-off time of multiple channels of the target event sequence recording module through the sequence generator in the spot inspection instrument when the first detection result indicates that the voltage value and the current value detection pass, so as to obtain a second detection result;

[0079] The third detection unit 403 is used to detect whether the pulse data of the target event sequence recording module is filtered by the jitter generator in the spot inspection instrument when the second detection result indicates that the on-off time detection is passed, so as to obtain a third detection result;

[0080] The first determining unit 404 is configured to determine a target detection result of the target event sequence recording module according to the third detection result.

[0081] The detection device of the event sequence recording module provided in the embodiment of the present application comprises a first detection unit 401 that detects the voltage values ​​and current values ​​of multiple channels of the target event sequence recording module through the control module in the inspection instrument to obtain a first detection result, wherein the target event sequence recording module is communicatively connected to the inspection instrument; a second detection unit 402 detects the on-off time of multiple channels of the target event sequence recording module through the sequence generator in the inspection instrument when the first detection result indicates that the voltage value and current value detection have passed, to obtain a second detection result; a third detection unit 403 detects whether the pulse data of the target event sequence recording module is filtered through the jitter generator in the inspection instrument when the second detection result indicates that the on-off time detection has passed, to obtain a third detection result; a first determination unit 404 determines the target detection result of the target event sequence recording module based on the third detection result, thereby solving the problem in the related art that the inspection result of the event sequence recording module is determined by analyzing the information of the event sequence recording module when the switch is on or off, resulting in a relatively low inspection accuracy rate of the event sequence recording module. In this scheme, first, after the target event sequence recording module is connected to the inspection instrument for communication, the voltage values ​​and current values ​​of multiple channels of the target event sequence recording module are detected respectively. Then, after the voltage value and current value detection are passed, the on-off time of multiple channels of the target event sequence recording module is detected. And after the on-off time detection is passed, whether the target event sequence recording module can correctly filter the pulse data is detected. Finally, according to the above detection results, the target detection result of the target event sequence recording module is determined. The voltage value, current value, and on-off time of the target event sequence recording module in the on state and the off state are detected by multiple functional modules of the inspection instrument to determine the target detection result of the target event sequence recording module, avoiding the problems of inaccurate detection results and low detection efficiency caused by the traditional method of only simply detecting the target event sequence recording module in the switch-on state or the switch-off state, or using a sequence generator with an interval of 1 millisecond to detect the target event sequence recording module, thereby improving the detection effect of the target event sequence recording module.

[0082] Optionally, in the detection device of the event sequence recording module provided in the embodiment of the present application, the device also includes: a second determination unit, used to detect the voltage values ​​and current values ​​of multiple channels of the target event sequence recording module through the control module in the inspection instrument, and before obtaining the first detection result, determine the initial communication information corresponding to the multiple event sequence recording modules through the communication module in the inspection instrument; a judgment unit, used to judge whether there is target communication information that meets the first preset condition in the initial communication information, and obtain a first judgment result; a third determination unit, used to determine the event sequence recording module corresponding to the target communication information as the target event sequence recording module if the first judgment result indicates that there is target communication information that meets the first preset condition in the initial communication information.

[0083] Optionally, in the detection device of the event sequence recording module provided in the embodiment of the present application, the first detection unit includes: a first setting module, used to set multiple channels of the target event sequence recording module to a disconnected state; a first detection module, used to obtain voltage values ​​of multiple channels and first digital input signal values ​​of the target event sequence recording module when the multiple channels of the target event sequence recording module are in a disconnected state, and detect the voltage value and the first digital input signal value to obtain a first initial detection result; a second setting module, used to set multiple channels of the target event sequence recording module to a conductive state; a second detection module, used to obtain current values ​​of multiple channels and second digital input signal values ​​of the target event sequence recording module when the multiple channels of the target event sequence recording module are in a conductive state, and detect the current value and the second digital input signal value to obtain a second initial detection result; a first determination module, used to determine the first detection result based on the first initial detection result and the second initial detection result.

[0084] Optionally, in the detection device of the event sequence recording module provided in the embodiment of the present application, the first detection module includes: a first judgment submodule, used to judge whether the first digital input signal value is a first preset value, and obtain a second judgment result; a second judgment submodule, used to judge whether the voltage value meets the second preset condition, and obtain a third judgment result; a first determination submodule, used to determine the first initial detection result based on the second judgment result and the third judgment result.

[0085] Optionally, in the detection device of the event sequence recording module provided in the embodiment of the present application, the second detection module includes: a third judgment submodule, used to judge whether the second digital input signal value is a second preset value, and obtain a fourth judgment result; a fourth judgment submodule, used to judge whether the current value meets the third preset condition, and obtain a fifth judgment result; a second determination submodule, used to determine the second initial detection result based on the fourth judgment result and the fifth judgment result.

[0086] Optionally, in the detection device of the event sequence recording module provided in the embodiment of the present application, the second detection unit includes: a calculation module, used to calculate through the system time and on-off time of the target event sequence recording module to obtain the time difference of the target event sequence recording module; a judgment module, used to judge whether the time difference is less than or equal to a third preset value to obtain a sixth judgment result; a second determination module, used to determine the second detection result based on the sixth judgment result.

[0087] Optionally, in the detection device of the event sequence recording module provided in the embodiment of the present application, the device also includes: an acquisition unit, which is used to obtain fault information of the target event sequence recording module after determining the target detection result of the target event sequence recording module based on the third detection result, when the target detection result indicates that there is a fault in the target event sequence recording module, wherein the fault information includes at least: fault location information, fault type information and fault time information of the target event sequence recording module; a fourth determination unit, which is used to determine the optimization strategy of the target event sequence recording module based on the fault information; and an optimization unit, which is used to optimize the target event sequence recording module based on the optimization strategy.

[0088] The detection device of the event sequence recording module includes a processor and a memory. The above-mentioned first detection unit 401, second detection unit 402, third detection unit 403, first determination unit 404, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize accurate detection of the event sequence recording module.

[0089] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the event sequence recording module can be accurately detected by adjusting kernel parameters.

[0090] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0091] An embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, a detection method for an event sequence recording module is implemented.

[0092] An embodiment of the present invention provides a processor, which is used to run a program, wherein a detection method of an event sequence recording module is executed when the program is running.

[0093] like Figure 5As shown, an embodiment of the present invention provides an electronic device, the device includes a processor, a memory and a program stored in the memory and executable on the processor, and the processor implements the following steps when executing the program: the voltage value and the current value of multiple channels of the target event sequence recording module are detected by the control module in the inspection instrument to obtain a first detection result, wherein the target event sequence recording module is communicatively connected to the inspection instrument; when the first detection result indicates that the voltage value and the current value detection are passed, the on-off time of multiple channels of the target event sequence recording module is detected by the sequence generator in the inspection instrument to obtain a second detection result; when the second detection result indicates that the on-off time detection is passed, the jitter generator in the inspection instrument is used to detect whether the pulse data of the target event sequence recording module is filtered to obtain a third detection result; based on the third detection result, the target detection result of the target event sequence recording module is determined.

[0094] Optionally, before detecting the voltage values ​​and current values ​​of multiple channels of the target event sequence recording module through the control module in the inspection instrument to obtain a first detection result, the method also includes: determining the initial communication information corresponding to the multiple event sequence recording modules through the communication module in the inspection instrument; judging whether there is target communication information that meets the first preset condition in the initial communication information to obtain a first judgment result; if the first judgment result indicates that there is target communication information that meets the first preset condition in the initial communication information, then determining the event sequence recording module corresponding to the target communication information as the target event sequence recording module.

[0095] Optionally, the voltage values ​​and current values ​​of multiple channels of the target event sequence recording module are detected by the control module in the inspection instrument to obtain a first detection result, including: setting multiple channels of the target event sequence recording module to a disconnected state; when the multiple channels of the target event sequence recording module are in a disconnected state, obtaining the voltage values ​​of the multiple channels and the first digital input signal value of the target event sequence recording module, and detecting the voltage values ​​and the first digital input signal value to obtain a first initial detection result; setting multiple channels of the target event sequence recording module to a conductive state; when the multiple channels of the target event sequence recording module are in a conductive state, obtaining the current values ​​of the multiple channels and the second digital input signal value of the target event sequence recording module, and detecting the current value and the second digital input signal value to obtain a second initial detection result; determining the first detection result based on the first initial detection result and the second initial detection result.

[0096] Optionally, the voltage value and the first digital input signal value are detected to obtain a first initial detection result, including: determining whether the first digital input signal value is a first preset value to obtain a second judgment result; determining whether the voltage value meets a second preset condition to obtain a third judgment result; and determining the first initial detection result based on the second judgment result and the third judgment result.

[0097] Optionally, detecting the current value and the second digital input signal value to obtain a second initial detection result includes: determining whether the second digital input signal value is a second preset value to obtain a fourth judgment result; determining whether the current value meets a third preset condition to obtain a fifth judgment result; and determining the second initial detection result based on the fourth judgment result and the fifth judgment result.

[0098] Optionally, the on-off time of multiple channels of the target event sequence recording module is detected by a sequence generator in the inspection instrument to obtain a second detection result including: calculating the time difference of the target event sequence recording module by the system time and the on-off time of the target event sequence recording module; judging whether the time difference is less than or equal to a third preset value to obtain a sixth judgment result; and determining the second detection result based on the sixth judgment result.

[0099] Optionally, after determining the target detection result of the target event sequence recording module based on the third detection result, the method further includes: when the target detection result indicates that there is a fault in the target event sequence recording module, obtaining fault information of the target event sequence recording module, wherein the fault information includes at least: fault location information, fault type information and fault time information of the target event sequence recording module; determining an optimization strategy for the target event sequence recording module based on the fault information; and optimizing the target event sequence recording module based on the optimization strategy.

[0100] The devices in this article can be servers, PCs, PADs, mobile phones, etc.

[0101] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: detecting the voltage and current values ​​of multiple channels of the target event sequence recording module through the control module in the inspection instrument to obtain a first detection result, wherein the target event sequence recording module is communicatively connected to the inspection instrument; when the first detection result indicates that the voltage and current value detections have passed, detecting the on-off time of multiple channels of the target event sequence recording module through the sequence generator in the inspection instrument to obtain a second detection result; when the second detection result indicates that the on-off time detection has passed, detecting whether the pulse data of the target event sequence recording module is filtered through the jitter generator in the inspection instrument to obtain a third detection result; and determining the target detection result of the target event sequence recording module based on the third detection result.

[0102] Optionally, before detecting the voltage values ​​and current values ​​of multiple channels of the target event sequence recording module through the control module in the inspection instrument to obtain a first detection result, the method also includes: determining the initial communication information corresponding to the multiple event sequence recording modules through the communication module in the inspection instrument; judging whether there is target communication information that meets the first preset condition in the initial communication information to obtain a first judgment result; if the first judgment result indicates that there is target communication information that meets the first preset condition in the initial communication information, then determining the event sequence recording module corresponding to the target communication information as the target event sequence recording module.

[0103] Optionally, the voltage values ​​and current values ​​of multiple channels of the target event sequence recording module are detected by the control module in the inspection instrument to obtain a first detection result, including: setting multiple channels of the target event sequence recording module to a disconnected state; when the multiple channels of the target event sequence recording module are in a disconnected state, obtaining the voltage values ​​of the multiple channels and the first digital input signal value of the target event sequence recording module, and detecting the voltage values ​​and the first digital input signal value to obtain a first initial detection result; setting multiple channels of the target event sequence recording module to a conductive state; when the multiple channels of the target event sequence recording module are in a conductive state, obtaining the current values ​​of the multiple channels and the second digital input signal value of the target event sequence recording module, and detecting the current value and the second digital input signal value to obtain a second initial detection result; determining the first detection result based on the first initial detection result and the second initial detection result.

[0104] Optionally, the voltage value and the first digital input signal value are detected to obtain a first initial detection result, including: determining whether the first digital input signal value is a first preset value to obtain a second judgment result; determining whether the voltage value meets a second preset condition to obtain a third judgment result; and determining the first initial detection result based on the second judgment result and the third judgment result.

[0105] Optionally, detecting the current value and the second digital input signal value to obtain a second initial detection result includes: determining whether the second digital input signal value is a second preset value to obtain a fourth judgment result; determining whether the current value meets a third preset condition to obtain a fifth judgment result; and determining the second initial detection result based on the fourth judgment result and the fifth judgment result.

[0106] Optionally, the on-off time of multiple channels of the target event sequence recording module is detected by a sequence generator in the inspection instrument to obtain a second detection result including: calculating the time difference of the target event sequence recording module by the system time and the on-off time of the target event sequence recording module; judging whether the time difference is less than or equal to a third preset value to obtain a sixth judgment result; and determining the second detection result based on the sixth judgment result.

[0107] Optionally, after determining the target detection result of the target event sequence recording module based on the third detection result, the method further includes: when the target detection result indicates that there is a fault in the target event sequence recording module, obtaining fault information of the target event sequence recording module, wherein the fault information includes at least: fault location information, fault type information and fault time information of the target event sequence recording module; determining an optimization strategy for the target event sequence recording module based on the fault information; and optimizing the target event sequence recording module based on the optimization strategy.

[0108] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0109] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0110] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0111] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0112] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0113] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0114] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0115] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0116] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0117] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A detection method for an event sequence recording module, characterized in that: include: The control module in the spot inspection instrument detects the voltage values ​​and current values ​​of multiple channels of the target event sequence recording module to obtain a first detection result, wherein the target event sequence recording module is in communication connection with the spot inspection instrument; In the case where the first detection result indicates that the voltage value and the current value have passed the detection, the on-off time of multiple channels of the target event sequence recording module is detected by the sequence generator in the spot inspection instrument to obtain a second detection result; In the case where the second detection result indicates that the on-off time detection is passed, the jitter generator in the spot inspection instrument is used to detect whether the pulse data of the target event sequence recording module is filtered to obtain a third detection result; According to the third detection result, a target detection result of the target event sequence recording module is determined.

2. The method according to claim 1, characterized in that Before detecting the voltage values ​​and current values ​​of multiple channels of the target event sequence recording module by the control module in the spot inspection instrument to obtain the first detection result, the method further includes: Determining initial communication information corresponding to a plurality of event sequence recording modules through a communication module in the spot inspection instrument; Determine whether there is target communication information that meets a first preset condition in the initial communication information, and obtain a first determination result; If the first judgment result indicates that the initial communication information contains target communication information that meets the first preset condition, the event sequence recording module corresponding to the target communication information is determined as the target event sequence recording module.

3. The method according to claim 1, characterized in that The control module in the spot inspection instrument detects the voltage values ​​and current values ​​of multiple channels of the target event sequence recording module, and obtains the first detection result including: Setting multiple channels of the target event sequence recording module to a disconnected state; When multiple channels of the target event sequence recording module are in a disconnected state, obtaining voltage values ​​of the multiple channels and a first digital input signal value of the target event sequence recording module, and detecting the voltage value and the first digital input signal value to obtain a first initial detection result; Setting multiple channels of the target event sequence recording module to a conducting state; When multiple channels of the target event sequence recording module are in a conducting state, current values ​​of the multiple channels and a second digital input signal value of the target event sequence recording module are acquired, and the current value and the second digital input signal value are detected to obtain a second initial detection result; The first detection result is determined according to the first initial detection result and the second initial detection result.

4. The method according to claim 3, characterized in that Detecting the voltage value and the first digital input signal value to obtain a first initial detection result includes: Determine whether the first digital input signal value is a first preset value, and obtain a second determination result; Determine whether the voltage value meets the second preset condition, and obtain a third determination result; The first initial detection result is determined according to the second judgment result and the third judgment result.

5. The method according to claim 3, characterized in that: Detecting the current value and the second digital input signal value to obtain a second initial detection result includes: Determine whether the second digital input signal value is a second preset value, and obtain a fourth determination result; Determine whether the current value meets the third preset condition to obtain a fifth determination result; The second initial detection result is determined according to the fourth judgment result and the fifth judgment result.

6. The method according to claim 1, characterized in that The on-off time of multiple channels of the target event sequence recording module is detected by the sequence generator in the spot inspection instrument, and the second detection result obtained includes: The time difference of the target event sequence recording module is obtained by calculating the system time of the target event sequence recording module and the on-off time; Determine whether the time difference is less than or equal to a third preset value to obtain a sixth determination result; The second detection result is determined according to the sixth judgment result.

7. The method according to claim 1, characterized in that After determining the target detection result of the target event sequence recording module according to the third detection result, the method further includes: In the case where the target detection result indicates that the target event sequence recording module has a fault, acquiring fault information of the target event sequence recording module, wherein the fault information at least includes: fault location information, fault type information and fault time information of the target event sequence recording module; Determining an optimization strategy for the target event sequence recording module according to the fault information; According to the optimization strategy, the target event sequence recording module is optimized.

8. A detection device for an event sequence recording module, characterized in that: include: A first detection unit, used for detecting voltage values ​​and current values ​​of multiple channels of a target event sequence recording module through a control module in a spot inspection instrument to obtain a first detection result, wherein the target event sequence recording module is in communication connection with the spot inspection instrument; A second detection unit is used to detect the on-off time of multiple channels of the target event sequence recording module through the sequence generator in the spot inspection instrument when the first detection result indicates that the voltage value and the current value are detected and passed, so as to obtain a second detection result; A third detection unit is used to detect whether the pulse data of the target event sequence recording module is filtered by the jitter generator in the spot inspection instrument when the second detection result indicates that the on-off time detection is passed, so as to obtain a third detection result; The first determining unit is used to determine the target detection result of the target event sequence recording module according to the third detection result.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the storage medium is controlled to execute the event sequence recording module detection method according to any one of claims 1 to 7 on the device.

10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the event sequence recording module detection method described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Test interface for software-based sequence of event recording systems

    CN101236432A

  • Testing method of multiple-event sequence recording accuracy in large-scale distributed control system

    CN103777622A