CN114531383A - Abnormity detection method, device and equipment for railway vehicle-mounted switch and storage medium - Google Patents
Abnormity detection method, device and equipment for railway vehicle-mounted switch and storage medium Download PDFInfo
- Publication number
- CN114531383A CN114531383A CN202210264653.5A CN202210264653A CN114531383A CN 114531383 A CN114531383 A CN 114531383A CN 202210264653 A CN202210264653 A CN 202210264653A CN 114531383 A CN114531383 A CN 114531383A
- Authority
- CN
- China
- Prior art keywords
- test
- time
- information
- tested
- sending
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 50
- 238000012360 testing method Methods 0.000 claims abstract description 251
- 230000002159 abnormal effect Effects 0.000 claims abstract description 58
- 238000000034 method Methods 0.000 claims abstract description 38
- 230000004044 response Effects 0.000 claims abstract description 36
- 230000005856 abnormality Effects 0.000 claims description 30
- 230000015654 memory Effects 0.000 claims description 15
- 230000003993 interaction Effects 0.000 claims description 8
- 230000008569 process Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000003044 adaptive effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000003745 diagnosis Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 238000007689 inspection Methods 0.000 description 2
- 238000013515 script Methods 0.000 description 2
- 125000004122 cyclic group Chemical group 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
- G01R31/56—Testing of electric apparatus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/12—Arrangements for remote connection or disconnection of substations or of equipment thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Engineering (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Environmental & Geological Engineering (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Train Traffic Observation, Control, And Security (AREA)
Abstract
The invention discloses a method, a device, equipment and a storage medium for detecting abnormity of a railway vehicle-mounted switch, and belongs to the technical field of equipment detection. The method comprises the following steps: acquiring setting information and test information; controlling the network relay to carry out opening or closing operation according to the setting information so as to control the restart time of the tested equipment; determining the sending time of the test information based on the restart time; when the sending time arrives, sending the test information to the tested device so that the tested device feeds back response information after receiving the test information; and if the response information is not received, judging that the tested equipment is in an abnormal state. The invention can simulate real conventional and abnormal power-on and power-off environments without manual operation, thereby improving the testing efficiency and simultaneously realizing the comprehensive detection of the tested equipment under different power-off conditions.
Description
Technical Field
The invention relates to the technical field of equipment detection, in particular to a method, a device, equipment and a storage medium for detecting abnormity of a railway vehicle-mounted switch.
Background
In the related art, a power failure test is generally performed on a rail vehicle-mounted switch in a manual field detection manner.
However, the manual on-site detection method increases additional labor, financial resources and time cost on one hand, and also has the problems of inconvenient and inaccurate test result statistics on the other hand, and the test efficiency is very low; in addition, the manual test is more that the normal inspection is carried out in the accurate point, and the accidental risk resistance capability of the tested equipment in the face of abnormal emergency can not be ensured, so the detection result is not comprehensive.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a storage medium for detecting abnormity of a railway vehicle-mounted switch, and aims to solve the technical problems that the testing efficiency is low and the testing result is not accurate and comprehensive when the railway vehicle-mounted switch is tested in the prior art.
According to a first aspect of the invention, a rail vehicle-mounted switch abnormity detection method is provided, and the method comprises the following steps:
acquiring setting information and test information;
controlling the network relay to carry out opening or closing operation according to the setting information so as to control the restart time of the tested equipment;
determining the sending time of the test information based on the restarting time;
when the sending time arrives, sending the test information to the tested device so that the tested device feeds back response information after receiving the test information;
and if the response information is not received, judging that the tested device is in an abnormal state.
Optionally, the setting information includes a plurality of test time points, a power-down duration and a test duration, the test time points are distributed according to an equal time interval and/or a random time, and the network relay is controlled to perform an opening or closing operation according to the setting information to control the restart time of the device under test, including:
determining a current test time point from a plurality of test time points according to the current time;
when the current time reaches the current test time point, controlling the network relay to be closed so as to enable the tested equipment to be in a power-down state;
and after the power-down time length passes, controlling the network relay to be switched off so as to enable the tested equipment to be in a power-on state, completing restarting, recording the operation time length, and returning to execute the current time according to the current time to determine the current test time point from a plurality of test time points until the operation time length reaches the test time length.
Optionally, the setting information includes a plurality of test time points, power-down duration and test times, the plurality of test time points are distributed according to equal time intervals and/or random time intervals, and the controlling the network relay to perform an opening or closing operation according to the setting information to control the restart time of the device under test includes:
determining a current test time point from a plurality of test time points according to the current time;
when the current time reaches the current test time point, controlling the network relay to be closed so as to enable the tested equipment to be in a power-down state;
and after the power-down time length, controlling the network relay to be switched off so as to enable the tested equipment to be in a power-on state, completing restarting, recording the operation times, and returning to execute the current time and determining the current test time point from a plurality of test time points until the operation times reach the test times.
Optionally, before determining the sending time of the test information based on the restart time, the method further includes:
aiming at the test operation corresponding to any one test time point, determining the corresponding restart time according to the power failure duration;
the determining the sending time of the test information based on the restart time comprises:
and aiming at the test operation corresponding to any one of the test time points, determining the sending time according to the restart time and the next test time point corresponding to the restart time.
Optionally, if the response information is not received, after it is determined that the device under test is in an abnormal state, the method further includes:
generating a corresponding abnormal record;
when the sending time comes, sending the test information to the tested device to enable the tested device to feed back response information after receiving the test information until the test is finished;
and sending the generated at least one abnormal record to a user interaction interface so that a tester can analyze and maintain the performance of the tested equipment according to the at least one abnormal record.
Optionally, if the response information is not received, after it is determined that the device under test is in an abnormal state, the method further includes:
stopping testing and outputting a corresponding abnormal result;
and sending the abnormal result to a user interaction interface so that a tester can analyze and maintain the performance of the tested equipment according to the abnormal result.
Optionally, when the sending time comes, the test information is sent to the device under test, so that the device under test feeds back response information after receiving the test information, and the method further includes:
if the response information is received, judging that the tested equipment is in a normal state;
generating a corresponding normal record;
and returning to execute the sending time, sending the test information to the tested device so as to enable the tested device to feed back response information after receiving the test information until the test is finished or until the tested device is judged to be in an abnormal state.
According to a second aspect of the present invention, there is provided a railroad car switch abnormality detection apparatus, the apparatus including:
the information acquisition module is used for acquiring setting information and test information;
the power-off control module is used for controlling the network relay to carry out open or close operation according to the setting information so as to control the restart time of the tested equipment;
the time determining module is used for determining the sending time of the test information based on the restarting time;
the test execution module is used for sending the test information to the tested device when the sending time arrives so as to enable the tested device to feed back response information after receiving the test information;
and the abnormity determining module is used for determining that the tested equipment is in an abnormal state if the response information is not received.
According to a third aspect of the present invention, there is provided a railroad car switch abnormality detection apparatus including: the system comprises a memory, a processor and a railroad car switch abnormality detection program stored on the memory and operable on the processor, wherein the railroad car switch abnormality detection program, when executed by the processor, implements the steps described in any one of the possible implementations of the first aspect.
According to a fourth aspect of the present invention, there is provided a computer readable storage medium having stored thereon a railroad car switch anomaly detection program that, when executed by a processor, implements the various steps described in any one of the possible implementations of the first aspect.
The embodiment of the invention provides a method, a device, equipment and a storage medium for detecting the abnormity of a railway vehicle-mounted switch, wherein the method comprises the steps of obtaining setting information and test information through abnormity detection equipment of the railway vehicle-mounted switch; controlling the network relay to carry out opening or closing operation according to the setting information so as to control the restart time of the tested equipment; determining the sending time of the test information based on the restarting time; when the sending time arrives, sending the test information to the tested device so that the tested device feeds back response information after receiving the test information; and if the response information is not received, judging that the tested device is in an abnormal state.
According to the invention, the power-on and power-off time of the tested equipment is controlled by setting the parameters of the detection equipment, so that the tested equipment can carry out regular and/or random power-off experiments, and the conventional power-on and power-off and abnormal power-on and power-off environments of a vehicle-mounted field can be truly simulated without complicated manual operation, thereby improving the testing efficiency, and meanwhile, the comprehensive detection of the tested equipment under different power-off conditions can be realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a railroad car switch abnormality detection device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a method for detecting abnormality of a railroad car switch according to a first embodiment of the present invention;
FIG. 3 is a detailed flowchart of the step S202 in FIG. 2 according to the present invention;
FIG. 4 is a detailed flowchart of the step S202 in FIG. 2 according to the present invention;
FIG. 5 is a flowchart illustrating the process of the present invention after step S205 in FIG. 2;
FIG. 6 is a flowchart illustrating the process of the present invention after step S205 in FIG. 2;
fig. 7 is a functional block diagram of an abnormality detection device for a railroad car switch according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: acquiring setting information and test information; controlling the network relay to carry out opening or closing operation according to the setting information so as to control the restart time of the tested equipment; determining the sending time of the test information based on the restarting time; when the sending time arrives, sending the test information to the tested device so that the tested device feeds back response information after receiving the test information; and if the response information is not received, judging that the tested device is in an abnormal state.
In the related art, a power failure test is generally performed on a rail vehicle-mounted switch in a manual field detection manner. However, the manual on-site detection method increases additional labor, financial resources and time cost on one hand, and also has the problems of inconvenient and inaccurate test result statistics on the other hand, and the test efficiency is very low; in addition, the manual test is more that the normal inspection is carried out in the accurate point, and the accidental risk resistance capability of the tested equipment in the face of abnormal emergency can not be ensured, so the detection result is not comprehensive.
The invention provides a solution, which is used for abnormality detection equipment of a rail vehicle-mounted switch, and the power-on and power-off time of the detected equipment is controlled by setting parameters of the detection equipment, so that the detected equipment can perform regular and/or random power-off experiments, and the conventional power-on and power-off and abnormal power-on and power-off environments of a vehicle-mounted field can be truly simulated without complicated manual operation, thereby improving the test efficiency, and simultaneously realizing comprehensive detection of the detected equipment under different power-off conditions.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Where "first" and "second" are used in the description and claims of embodiments of the invention to distinguish between similar elements and not necessarily for describing a particular sequential or chronological order, it is to be understood that such data may be interchanged where appropriate so that embodiments described herein may be implemented in other sequences than those illustrated or described herein.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a railroad car switch abnormality detection device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the railroad car switch abnormality detection apparatus may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of a railroad car switch anomaly detection device, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, an information acquisition module, a device test module, an abnormality determination module, and a railroad car switch abnormality detection program, wherein the device test module may be further subdivided into a power-off control module, a time determination module, and a test execution module.
In the abnormality detection device for the on-board railroad switch shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the abnormality detection device for the railcar exchanger according to the present invention may be provided in the abnormality detection device for the railcar exchanger, and the abnormality detection device for the railcar exchanger calls the abnormality detection program for the railcar exchanger stored in the memory 1005 through the processor 1001, and executes the abnormality detection method for the railcar exchanger according to the embodiment of the present invention.
Based on the above hardware structure but not limited to the above hardware structure, the present invention provides a first embodiment of a method for detecting an abnormality of a railroad car switch. Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the abnormality detection method for the railroad car switch according to the present invention.
In this embodiment, the method includes:
step S201, acquiring setting information and test information;
in this embodiment, the execution main body is a rail vehicle-mounted switch abnormality detection device, the device may be configured in a power-down test platform, and is connected to the network relay and the device to be tested, and may send setting information to the network relay and send test information to the device to be tested. The power failure test platform is provided with an operable user interface, and a user can set related test parameters on the user interaction interface according to actual requirements so as to obtain the setting information and the test information.
In addition, it should be added that the whole set of test system related in this embodiment can support up to four channels of devices to perform circular power-on and power-off tests simultaneously, and a user only needs to perform parameter setting on the multiple channels of devices respectively according to actual requirements (the detailed description refers to the following), and does not need to perform separate detection one by one like manual detection, thereby improving detection efficiency.
Step S202, controlling the network relay to carry out opening or closing operation according to the setting information so as to control the restart time of the tested equipment;
in order to complete the power-down test of the device under test, the device under test needs to be controlled to be powered down and powered up again. Specifically, in this embodiment, the open/close state of the entire test circuit is controlled by controlling the open/close state of the network relay, so as to control the up/down electrical state of the device under test. In addition, in order to obtain more detection results and improve the detection accuracy, in this embodiment, the setting information may be sent to the network relay through the setting of the network relay, so as to perform repeated test tests on the device to be tested, thereby controlling the device to be tested to repeatedly perform power-on, power-off and restart. Specifically, the power-on and power-off control of the tested equipment can be carried out at equal time intervals and/or random time intervals to carry out regular and/or random power-off tests, so that different actual conditions (namely conventional power-off self-detection, sudden abnormal power-off and the like) of a vehicle-mounted field are simulated really, and the power-on and power-off adaptive capacity and the accidental risk resistance capacity of the tested equipment under different conditions are detected.
In a specific embodiment, referring to fig. 3, fig. 3 is a detailed flowchart illustrating a step S202 in fig. 2 of the present invention, where the controlling the network relay to perform an opening or closing operation according to the setting information to control the restart time of the device under test includes:
step A10, determining a current test time point from a plurality of test time points according to the current time;
step A20, when the current time reaches the current test time point, controlling the network relay to close so as to enable the tested device to be in a power-down state;
as described above, the main purpose of this embodiment is to truly simulate the normal power-on and power-off and abnormal power-on and power-off environments of the vehicle-mounted site, and determine the power-on and power-off adaptive capability of the device under test according to the operating conditions of the device under test, so as to test the accidental risk resistance capability of the device under test to the power-on and power-off conditions of various power supplies, specifically, the state of the test circuit is controlled by controlling the switching of the network relay, so as to control the power-on and power-off states of the device under test, and the control of the network relay is completed by sending the setting information to the network relay. As a feasible implementation manner, firstly, a user can input a test time point, a power-down duration and a test duration in a user interface provided by a power-down test platform, wherein the setting of the test time point can use the current time or the normal start time of the device to be tested as a reference point, then a fixed time such as 5 seconds is added, then the corresponding time point is used as the test time point, and a random time number can also be added, then the corresponding time point is used as the test time point, correspondingly, the user only needs to input a specific number and unit or input rand (namely the random number) in a test time point setting column on the user interface, and then the corresponding setting can be completed, when the test time point is reached, the network relay is closed, the test circuit is opened, and the device to be tested is powered down. The value of the random number can be limited within a preset range, so that the overlong single test time caused by the excessively slow power-on and power-off operation is avoided, and meanwhile, the inaccuracy of a test result and the equipment loss caused by the excessively fast power-on and power-off operation are also avoided.
And step A30, after the power-down time length passes, controlling the network relay to be switched off so as to enable the tested equipment to be in a power-on state, completing restarting, recording the operation time length, and returning to execute the step of determining the current test time point from a plurality of test time points according to the current time until the operation time length reaches the test time length.
Through the operation, the tested equipment is in a power-down state at the moment, and in order to detect whether the tested equipment can be normally restarted after a period of power-down, based on the setting, the tested equipment can be restarted after the preset power-down duration passes after the power-down, and under the normal condition, the tested equipment is restarted after being electrified. The setting of the power failure time length is also carried out by a user in a user interface provided by the power failure test platform before the test is started, and the user only needs to input specific numbers and units in a power failure time length setting column on the user interface.
On this basis, as described above, in order to obtain more detection results and improve the detection accuracy in this embodiment, a test may be performed on the device under test repeatedly for multiple times, that is, the two steps of powering down and powering up again may be performed in a loop. Correspondingly, before the test is started, the user can input specific numbers and units in a test duration setting column on a user interface, so that the steps are repeatedly executed in the test process, and the corresponding operation duration is recorded after each test until the preset test duration is reached.
In another specific embodiment, referring to fig. 4, fig. 4 is a detailed flowchart of the step S202 in fig. 2, where the controlling the network relay to perform the opening or closing operation according to the setting information to control the restart time of the device under test includes:
step B10, determining a current test time point from a plurality of test time points according to the current time;
step B20, when the current time reaches the current test time point, controlling the network relay to be closed so as to enable the tested device to be in a power-down state;
and step B30, after the power-down time length, controlling the network relay to be switched off so as to enable the tested equipment to be in a power-on state, completing restarting, recording the operation times, and returning to execute the current time and determining the current test time point from a plurality of test time points until the operation times reach the test times.
The above steps a10-a30 may return to perform power-on and power-off operations on the device under test, and stop the corresponding operations when the operation duration reaches the preset test duration, and as another possible implementation manner, the present embodiment may also stop the corresponding loop operations when the test number reaches the preset test number. The setting of the test times is also carried out by a user in a user interface provided by the power failure test platform before the test is started, and the user only needs to input specific numbers in a test time setting column on the user interface, that is, in practical application, the test duration and the test times only need to be set. Other parameter settings and specific procedures are basically the same as those described above, and are not described herein again. In addition, in this embodiment, the user may not previously limit the specific number of times of the test, and the loop is executed indefinitely to ensure that a sufficient number of test results can be obtained, and of course, the user may manually stop at any time according to actual needs.
Step S203, determining the sending time of the test information based on the restarting time;
as described above, in this embodiment, it is required to detect whether the device under test can normally restart operation after being powered on again, so in order to detect the operation condition of the device under test after being powered on again, in this embodiment, test information may be sent to the device under test for detection. It can be understood that the sending time of the test information must be after the current test device is powered on again and before the next test device is powered off again, for example, when the starting time of the current test is 0, the duration of the power off is 5 seconds, and the next test is started after 5 seconds, the sending time of the test information needs to be controlled within the whole time period of 5 seconds to 10 seconds. Therefore, it is first necessary to determine a specific restart time and a time when the next trial starts, based on the above setting information, and then select an appropriate time point to transmit the test information.
Step S204, when the sending time arrives, sending the test information to the tested device so that the tested device feeds back response information after receiving the test information;
it should be noted that the restart time is only the time that the device under test should be restarted theoretically, and does not represent that the device under test can be restarted at the time point, and for some devices with low risk resistance and weak anti-interference capability, in the face of an unexpected power failure condition, abnormal conditions may occur, so that the device cannot be restarted normally. In fact, after the device under test is subjected to the power-up and power-down restart operation, three states may occur: 1. the system can be restarted normally and the functional module can run normally; 2. the functional module can be normally restarted but cannot normally run; 3. the device cannot be restarted normally, and in this embodiment, the performance of the device to be tested is detected by judging whether the device to be tested can be restarted and operated normally.
Specifically, when the sending time comes, a piece of test information, such as PING information, may be sent to the device under test through the network interface, and then whether response information fed back by the device under test is received or not is detected within a specified time, so that whether the device under test can normally respond within the specified time or not may be determined, and further whether the device under test operates normally or not may be determined. Among them, ping (packet Internet groper), that is, an Internet packet searchers, is a program for testing the network connection amount. Ping sends an ICMP (Internet Control Messages protocol), namely an Internet message Control protocol; an echo request message is sent to the destination and reports whether the desired ICMP echo (ICMP echo reply) is received. Can be used to check if the network is clear or the speed of the network connection.
Step S205, if the response information is not received, determining that the device under test is in an abnormal state.
After the test information is sent to the tested device, if the response information fed back by the tested device is not received within the specified time, the tested device cannot normally operate after the power failure test, so that the tested device can be judged to be in an abnormal state, and subsequent related abnormal processing operation can be executed.
Correspondingly, if the response information fed back by the tested device is received within the specified time, the tested device can normally operate after the power failure test, so that the tested device can be judged to be in a normal state, at the moment, a corresponding normal record can be generated, then the cyclic test operation is continued, if the normal record is always generated, the cycle is carried out until the test is finished, and if an abnormal condition occurs in the subsequent process, the subsequent related abnormal processing operation is executed.
Finally, it should be added that the user can start the test after initially setting the parameters, and in the whole test process, the user can adjust the parameters at any time according to the actual situation and the requirement, specifically, the corresponding values, units and other contents are modified in the corresponding setting columns, that is, the whole test process can be flexibly set.
In the embodiment, a user can truly simulate the conventional power-on and power-off and abnormal power-on and power-off environments of the vehicle-mounted field only by carrying out simple parameter setting, and can circularly carry out regular and/or random power-off tests on the tested equipment, so that not only is the complicated and repeated manual test avoided, but also the problems that the manpower, financial resources, time cost and test results faced by the manual test are not scientific and accurate enough are solved, and the tested equipment can be subjected to diversified detection to verify the power-off adaptability and the risk resistance of the tested equipment under various different environments.
Further, as an embodiment, referring to fig. 5, fig. 5 is a schematic flow chart after the step of S205 in fig. 2, where if the response information is not received, after it is determined that the device under test is in an abnormal state, the method further includes:
step S501, generating a corresponding abnormal record;
step S502, when the sending time comes, the test information is sent to the tested device, so that the tested device feeds back response information after receiving the test information until the test is finished;
as a possible implementation manner, after determining that the abnormal device is in an abnormal state, a corresponding abnormal record may be generated, and then the above loop operation is continued to be performed, and all abnormal conditions in the process are recorded until the test is finished. It can be understood that the whole detection process includes many times of test tests, so that a normal detection condition may occur, and a corresponding normal record may be generated accordingly for subsequent processing.
Step S503, sending the generated at least one abnormal record to a user interaction interface, so that a tester can analyze and maintain the performance of the tested device according to the at least one abnormal record.
After the test is finished, all the generated abnormal records can be sent to a user interface, normal records and historical statistical data can be displayed together when necessary, meanwhile, the power failure test platform can also analyze according to the information, preliminarily diagnose the abnormal condition of the tested equipment and display the diagnosis result, and testers can analyze and maintain the actual condition and the equipment performance of the tested equipment more finely according to the information and the diagnosis result, and certainly can also analyze and maintain directly according to all the records.
In another possible implementation manner, referring to fig. 6, after determining that the device under test is in an abnormal state if the response information is not received, the method may further include:
step S601, stopping testing and outputting a corresponding abnormal result;
step S602, sending the abnormal result to a user interaction interface so that a tester can analyze and maintain the performance of the tested device according to the abnormal result.
In another possible implementation, once the device under test is detected to be in an abnormal state, the test is immediately stopped, a corresponding abnormal result is output, and then the abnormal result is displayed on the user interface, so that a tester and the detection device can immediately analyze the device under test according to the real-time abnormal result.
In this embodiment, through visual user interface, can show each item test result and record information in real time to can realize the instant analysis and the statistical analysis to equipment condition and performance, help the tester more clear more quick acquisition more comprehensive test result.
Based on the same inventive concept, an embodiment of the present invention further provides a device for detecting an abnormality of a railway vehicle-mounted switch, which is shown in fig. 7 and includes:
the information acquisition module is used for acquiring setting information and test information;
the power-off control module is used for controlling the network relay to carry out open or close operation according to the setting information so as to control the restart time of the tested equipment;
the time determining module is used for determining the sending time of the test information based on the restarting time;
the test execution module is used for sending the test information to the tested device when the sending time arrives so that the tested device feeds back response information after receiving the test information;
and the abnormity determining module is used for determining that the tested equipment is in an abnormal state if the response information is not received.
Furthermore, in an embodiment, the present application further provides a computer storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of the method in the foregoing method embodiments.
In some embodiments, the computer-readable storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories. The computer may be a variety of computing devices including intelligent terminals and servers.
In some embodiments, the executable instructions may be in the form of a program, software module, script, or code written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages, and it may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
By way of example, executable instructions may correspond, but do not necessarily have to correspond, to files in a file system, may be stored in a portion of a file that holds other programs or data, e.g., in one or more scripts in a hypertext Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
By way of example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A rail vehicle-mounted switch abnormality detection method is characterized by comprising the following steps:
acquiring setting information and test information;
controlling the network relay to carry out opening or closing operation according to the setting information so as to control the restart time of the tested equipment;
determining the sending time of the test information based on the restarting time;
when the sending time arrives, sending the test information to the tested device so that the tested device feeds back response information after receiving the test information;
and if the response information is not received, judging that the tested device is in an abnormal state.
2. The method according to claim 1, wherein the setting information includes a plurality of test time points, a power-down period, and a test period, the plurality of test time points are distributed at equal time intervals and/or at random time, and the controlling the network relay to perform an opening or closing operation according to the setting information to control the restart time of the device under test includes:
determining a current test time point from a plurality of test time points according to the current time;
when the current time reaches the current test time point, controlling the network relay to be closed so as to enable the tested equipment to be in a power-down state;
and after the power-down time length passes, controlling the network relay to be switched off so as to enable the tested equipment to be in a power-on state, completing restarting, recording the operation time length, and returning to execute the current time according to the current time to determine the current test time point from a plurality of test time points until the operation time length reaches the test time length.
3. The method according to claim 1, wherein the setting information includes a plurality of test time points, power-down time periods, and test times, the plurality of test time points are distributed at equal time intervals and/or at random times, and the controlling the network relay to perform an opening or closing operation according to the setting information to control the restart time of the device under test includes:
determining a current test time point from a plurality of test time points according to the current time;
when the current time reaches the current test time point, controlling the network relay to be closed so as to enable the tested equipment to be in a power-down state;
and after the power-down time length, controlling the network relay to be switched off so as to enable the tested equipment to be in a power-on state, completing restarting, recording the operation times, and returning to execute the current time and determining the current test time point from a plurality of test time points until the operation times reach the test times.
4. The method of claim 2 or 3, wherein before determining the time of sending the test information based on the restart time, the method further comprises:
aiming at the test operation corresponding to any one test time point, determining the corresponding restart time according to the power failure duration;
the determining the sending time of the test information based on the restart time comprises:
and aiming at the test operation corresponding to any one of the test time points, determining the sending time according to the restart time and the next test time point corresponding to the restart time.
5. The method according to claim 1, wherein after determining that the device under test is in an abnormal state if the response information is not received, the method further comprises:
generating a corresponding abnormal record;
when the sending time comes, sending the test information to the tested device to enable the tested device to feed back response information after receiving the test information until the test is finished;
and sending the generated at least one abnormal record to a user interaction interface so that a tester can analyze and maintain the performance of the tested equipment according to the at least one abnormal record.
6. The method according to claim 1, wherein after determining that the device under test is in an abnormal state if the response information is not received, the method further comprises:
stopping testing and outputting a corresponding abnormal result;
and sending the abnormal result to a user interaction interface so that a tester can analyze and maintain the performance of the tested equipment according to the abnormal result.
7. The method according to claim 1, wherein when the sending time arrives, the test information is sent to the device under test, so that the device under test feeds back response information after receiving the test information, and the method further comprises:
if the response information is received, judging that the tested equipment is in a normal state;
generating a corresponding normal record;
and returning to execute the sending time, sending the test information to the tested device so as to enable the tested device to feed back response information after receiving the test information until the test is finished or until the tested device is judged to be in an abnormal state.
8. An abnormality detection device for a railroad car switch, characterized by comprising:
the information acquisition module is used for acquiring setting information and test information;
the power-off control module is used for controlling the network relay to carry out open or close operation according to the setting information so as to control the restart time of the tested equipment;
the time determining module is used for determining the sending time of the test information based on the restarting time;
the test execution module is used for sending the test information to the tested device when the sending time arrives so as to enable the tested device to feed back response information after receiving the test information;
and the abnormity determining module is used for determining that the tested equipment is in an abnormal state if the response information is not received.
9. A railroad car switch abnormality detection apparatus, characterized by comprising a memory, a processor, and a railroad car switch abnormality detection program stored on the memory and operable on the processor, the railroad car switch abnormality detection program, when executed by the processor, implementing the steps of the railroad car switch abnormality detection method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a railroad car switch abnormality detection program that, when executed by a processor, implements the steps of the railroad car switch abnormality detection method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210264653.5A CN114531383B (en) | 2022-03-17 | 2022-03-17 | Method, device, equipment and storage medium for detecting abnormality of railway vehicle-mounted switch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210264653.5A CN114531383B (en) | 2022-03-17 | 2022-03-17 | Method, device, equipment and storage medium for detecting abnormality of railway vehicle-mounted switch |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114531383A true CN114531383A (en) | 2022-05-24 |
CN114531383B CN114531383B (en) | 2024-05-03 |
Family
ID=81626431
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210264653.5A Active CN114531383B (en) | 2022-03-17 | 2022-03-17 | Method, device, equipment and storage medium for detecting abnormality of railway vehicle-mounted switch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114531383B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115695265A (en) * | 2022-10-20 | 2023-02-03 | 深圳市智微智能科技股份有限公司 | Automatic circulation power-on and power-off test method and equipment for switch and storage medium |
Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101699410A (en) * | 2009-11-11 | 2010-04-28 | 中兴通讯股份有限公司 | Single plate hardware fault detection method and device |
JP2012182905A (en) * | 2011-03-01 | 2012-09-20 | Chugoku Electric Power Co Inc:The | Diagnostic apparatus for protective relay |
CN104268055A (en) * | 2014-09-01 | 2015-01-07 | 腾讯科技(深圳)有限公司 | Program exception monitoring method and device |
CN104778108A (en) * | 2015-04-27 | 2015-07-15 | 浪潮集团有限公司 | Device and method for abnormal power failure circulating testing of server system |
US20160225561A1 (en) * | 2015-02-02 | 2016-08-04 | Omron Corporation | Relay unit, control method for relay unit |
CN106708680A (en) * | 2016-12-15 | 2017-05-24 | 北京海泰方圆科技股份有限公司 | Power-off test system, method and apparatus |
CN107870271A (en) * | 2016-11-03 | 2018-04-03 | 珠海市杰理科技股份有限公司 | Automated testing method and device |
CN108063671A (en) * | 2017-11-30 | 2018-05-22 | 广州烽火众智数字技术有限公司 | A kind of transparent plug-in type telecommunication network rebooting device and method |
CN109412880A (en) * | 2017-08-17 | 2019-03-01 | 中车株洲电力机车研究所有限公司 | A kind of communication device initiated abnormal test method of train network |
CN109532739A (en) * | 2018-11-05 | 2019-03-29 | 北汽福田汽车股份有限公司 | The exceptional state alarm method of vehicle-state abnormity prompt device, vehicle, vehicle |
CN109684146A (en) * | 2018-12-28 | 2019-04-26 | 北京旷视科技有限公司 | Upper and lower electric test method, device, system and processing equipment |
CN109819211A (en) * | 2019-01-18 | 2019-05-28 | 深圳市巨潮科技股份有限公司 | A kind of automatic control testing system and method based on image recognition |
CN110874295A (en) * | 2019-09-24 | 2020-03-10 | 福建升腾资讯有限公司 | Test method and system for boot verification after abnormal shutdown |
CN111088998A (en) * | 2019-11-13 | 2020-05-01 | 神华信息技术有限公司 | Coal mine central station monitoring system testing method and device and substation simulation system |
CN111341296A (en) * | 2020-02-17 | 2020-06-26 | 诚迈科技(南京)股份有限公司 | Voice-controlled response test method, test machine and storage medium |
CN112822486A (en) * | 2020-12-28 | 2021-05-18 | Tcl王牌电器(惠州)有限公司 | Aging test method, monitoring device and readable storage medium |
CN112965908A (en) * | 2021-03-19 | 2021-06-15 | 深圳市优必选科技股份有限公司 | Communication test method, communication test device, communication equipment and storage medium |
CN113225216A (en) * | 2021-05-20 | 2021-08-06 | 国网山西省电力公司太原供电公司 | Method for automatically restarting data transmission exchanger and data transmission exchange device |
CN113220510A (en) * | 2020-01-21 | 2021-08-06 | 深圳怡化电脑股份有限公司 | Device detection method, detection device, and computer-readable storage medium |
-
2022
- 2022-03-17 CN CN202210264653.5A patent/CN114531383B/en active Active
Patent Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101699410A (en) * | 2009-11-11 | 2010-04-28 | 中兴通讯股份有限公司 | Single plate hardware fault detection method and device |
JP2012182905A (en) * | 2011-03-01 | 2012-09-20 | Chugoku Electric Power Co Inc:The | Diagnostic apparatus for protective relay |
CN104268055A (en) * | 2014-09-01 | 2015-01-07 | 腾讯科技(深圳)有限公司 | Program exception monitoring method and device |
US20160225561A1 (en) * | 2015-02-02 | 2016-08-04 | Omron Corporation | Relay unit, control method for relay unit |
CN104778108A (en) * | 2015-04-27 | 2015-07-15 | 浪潮集团有限公司 | Device and method for abnormal power failure circulating testing of server system |
CN107870271A (en) * | 2016-11-03 | 2018-04-03 | 珠海市杰理科技股份有限公司 | Automated testing method and device |
CN106708680A (en) * | 2016-12-15 | 2017-05-24 | 北京海泰方圆科技股份有限公司 | Power-off test system, method and apparatus |
CN109412880A (en) * | 2017-08-17 | 2019-03-01 | 中车株洲电力机车研究所有限公司 | A kind of communication device initiated abnormal test method of train network |
CN108063671A (en) * | 2017-11-30 | 2018-05-22 | 广州烽火众智数字技术有限公司 | A kind of transparent plug-in type telecommunication network rebooting device and method |
CN109532739A (en) * | 2018-11-05 | 2019-03-29 | 北汽福田汽车股份有限公司 | The exceptional state alarm method of vehicle-state abnormity prompt device, vehicle, vehicle |
CN109684146A (en) * | 2018-12-28 | 2019-04-26 | 北京旷视科技有限公司 | Upper and lower electric test method, device, system and processing equipment |
CN109819211A (en) * | 2019-01-18 | 2019-05-28 | 深圳市巨潮科技股份有限公司 | A kind of automatic control testing system and method based on image recognition |
CN110874295A (en) * | 2019-09-24 | 2020-03-10 | 福建升腾资讯有限公司 | Test method and system for boot verification after abnormal shutdown |
CN111088998A (en) * | 2019-11-13 | 2020-05-01 | 神华信息技术有限公司 | Coal mine central station monitoring system testing method and device and substation simulation system |
CN113220510A (en) * | 2020-01-21 | 2021-08-06 | 深圳怡化电脑股份有限公司 | Device detection method, detection device, and computer-readable storage medium |
CN111341296A (en) * | 2020-02-17 | 2020-06-26 | 诚迈科技(南京)股份有限公司 | Voice-controlled response test method, test machine and storage medium |
CN112822486A (en) * | 2020-12-28 | 2021-05-18 | Tcl王牌电器(惠州)有限公司 | Aging test method, monitoring device and readable storage medium |
CN112965908A (en) * | 2021-03-19 | 2021-06-15 | 深圳市优必选科技股份有限公司 | Communication test method, communication test device, communication equipment and storage medium |
CN113225216A (en) * | 2021-05-20 | 2021-08-06 | 国网山西省电力公司太原供电公司 | Method for automatically restarting data transmission exchanger and data transmission exchange device |
Non-Patent Citations (4)
Title |
---|
DAVID FELIPE CELEITA RODRIGUEZ,ET AL: ""Virtual Relay Design for Feeder Protection Testing With Online Simulation"", 《IEEE》, 31 December 2018 (2018-12-31) * |
LUCAS KIRSCHBAUM, ET AL: ""Failure_Analysis_Informing_Embedded_Health_Monitoring_of_Electromagnetic_Relays"", 《IEEE》, 31 December 2018 (2018-12-31) * |
唐彰国;李焕洲;张健;: "基于组合神经网络的启发式工控系统异常检测模型", 四川大学学报(自然科学版), no. 04 * |
嵇建飞;杨逸飞;袁宇波;王立辉;: "智能变电站就地智能设备电磁兼容抗扰度试验分析", 高电压技术, no. 03 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115695265A (en) * | 2022-10-20 | 2023-02-03 | 深圳市智微智能科技股份有限公司 | Automatic circulation power-on and power-off test method and equipment for switch and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114531383B (en) | 2024-05-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105866575B (en) | Vehicle-mounted display comprehensive testing device and testing method | |
CN112817872B (en) | Development test system and method | |
WO2022007710A1 (en) | Method for testing generator of vehicle, and battery tester | |
CN111240973B (en) | Equipment testing method and system based on simulation and readable storage medium | |
CN114545848B (en) | Servo motor endurance test process monitoring method and device and computer equipment | |
CN113190443A (en) | Test method, test device, computer equipment and storage medium | |
CN114531383A (en) | Abnormity detection method, device and equipment for railway vehicle-mounted switch and storage medium | |
CN114328243A (en) | Abnormal operation data processing method, device, equipment and storage medium | |
CN112285586A (en) | BMS test method, device and system, simulation test equipment and storage medium | |
CN111078484A (en) | Power-off test method, device, equipment and storage medium for system upgrading | |
CN116909800B (en) | Method and device for locating crash information and storage medium | |
CN110850354B (en) | Metering fault recognition module detection method, device, system and storage medium | |
CN112034296B (en) | Avionics fault injection system and method | |
CN111858208B (en) | Standby function testing method, device, equipment and medium of processor chip | |
CN114690741A (en) | Controller test system and method for vehicle, electronic device and readable storage medium | |
CN114578786A (en) | Vehicle test system | |
CN106909489B (en) | Method and device for testing EventLog state | |
CN113595763B (en) | Fault-tolerant control method and device, fault-tolerant controller and storage medium | |
Varshney et al. | Automated Testing of Faults of an Automotive System | |
CN118433769B (en) | Internet of things equipment positioning test method, device and system and Internet of things equipment | |
CN114461470B (en) | Memory power consumption testing method, system, equipment and storage medium | |
CN216927595U (en) | Automatic testing device and system of vehicle-mounted equipment | |
CN117793340A (en) | Method, device, equipment and storage medium for monitoring state of set top box | |
CN111031089A (en) | Test method for web conference control client and computer equipment | |
CN118605451A (en) | Electronic controller testing device, method, electronic equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |