CN114265383A - Full-automatic industrial control equipment detection method and system based on power management - Google Patents

Full-automatic industrial control equipment detection method and system based on power management Download PDF

Info

Publication number
CN114265383A
CN114265383A CN202111368138.3A CN202111368138A CN114265383A CN 114265383 A CN114265383 A CN 114265383A CN 202111368138 A CN202111368138 A CN 202111368138A CN 114265383 A CN114265383 A CN 114265383A
Authority
CN
China
Prior art keywords
equipment
test
tested
testing
power management
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.)
Pending
Application number
CN202111368138.3A
Other languages
Chinese (zh)
Inventor
王方立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Winicssec Technologies Co Ltd
Original Assignee
Beijing Winicssec Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Winicssec Technologies Co Ltd filed Critical Beijing Winicssec Technologies Co Ltd
Priority to CN202111368138.3A priority Critical patent/CN114265383A/en
Publication of CN114265383A publication Critical patent/CN114265383A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The invention discloses a full-automatic industrial control equipment detection method and system based on power management. The system comprises: the network security detection system comprises a test device and a tested device, wherein the test device completes network security detection on the tested device through automatic power management. The testing equipment is connected with the tested equipment through the relay, the power supply or the power off of the tested equipment is realized by controlling the relay, and the network port of the testing equipment is connected with the network port of the tested equipment to realize the network communication between the testing equipment and the tested equipment. The invention solves the problems that the test cannot be continuously carried out and manual intervention is needed because the tested equipment is abnormal in the test process, and can ensure that the detection activity with a long test period can be completely and automatically completed.

Description

Full-automatic industrial control equipment detection method and system based on power management
Technical Field
The invention relates to the technical field of industrial control safety detection, in particular to a full-automatic industrial control equipment detection method and system based on power management.
Background
At present, with the continuous cross fusion of industrialization and informatization processes, more and more information technologies are applied to the industrial field. The network security test of the industrial control equipment is an effective means for improving the network of the industrial control equipment, but in the test process, after the equipment has a condition of service refusal, the test cannot be continued, and the tested equipment must be manually restarted, so the test needs manual intervention.
Disclosure of Invention
The invention provides a full-automatic industrial control equipment detection method based on power management, which comprises the following steps:
step 1, a test device supplies power to a tested device by controlling a group of relays;
step 2, the test equipment detects whether the tested equipment can also normally communicate;
step 3, the test equipment sends a test message to the tested equipment;
step 4, if the test equipment cannot detect the normal response of the tested equipment, recording the current test progress, suspending the test, and powering off the tested equipment through a control relay;
step 5, detecting whether the network port linked with the tested equipment is powered off in real time, and detecting until the power is off;
step 6, electrifying the tested equipment through a relay controlled by the testing equipment, and starting to execute the action of the step 2;
and 7, after the tested device is recovered to be normal, if the test progress reaches 100%, jumping to the step 8, otherwise, continuing the test according to the test progress recorded before the power failure, and returning to the step 3.
According to the full-automatic industrial control equipment detection method based on power management, the test equipment detects whether the tested equipment can normally communicate or not through ARP, ICMP, TCP and UDP protocols.
According to the full-automatic industrial control equipment detection method based on power management, if the ARP, ICMP, TCP and UDP of the test equipment cannot be normally responded, the tested equipment is considered to be abnormal, the current test progress needs to be recorded, the test is suspended, and the power of the tested equipment is cut off through a relay controlled by the equipment.
The present invention also provides a test apparatus comprising: the device executes the full-automatic industrial control device detection method based on power management according to any one of claims 1-3.
The invention also provides a full-automatic industrial control equipment detection system based on power management, which comprises the following components: the test equipment also comprises tested equipment; the test equipment completes network security detection on the tested equipment through automatic power management.
The full-automatic industrial control equipment detection system based on power management is characterized in that the test equipment is connected with the tested equipment through the relay, the power supply or the power failure of the tested equipment is realized through controlling the relay, and the network port of the test equipment is connected with the network port of the tested equipment, so that the network communication between the test equipment and the tested equipment is realized.
The invention has the following beneficial effects: the invention solves the problems that the test cannot be continuously carried out and manual intervention is needed because the tested equipment is abnormal in the test process, and can ensure that the detection activity with a long test period can be completely and automatically completed.
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 some embodiments described in the present invention, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a schematic diagram of a full-automatic industrial control equipment detection system based on power management according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for detecting a fully-automatic industrial control device based on power management.
Detailed Description
The technical solutions in the embodiments of the present invention are 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, not all, embodiments of the present invention. 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.
Example one
As shown in fig. 1, an embodiment of the present invention provides a full-automatic industrial control device detection system based on power management, including: the network security detection system comprises a test device and a tested device, wherein the test device completes network security detection on the tested device through automatic power management. The testing equipment is connected with the tested equipment through the relay, the power supply or the power off of the tested equipment is realized by controlling the relay, and the network port of the testing equipment is connected with the network port of the tested equipment to realize the network communication between the testing equipment and the tested equipment.
As shown in fig. 2, the method for detecting a full-automatic industrial control device based on power management is applied to a test device, and specifically includes:
step 1, a test device supplies power to a tested device by controlling a group of relays;
step 2, the test equipment detects whether the tested equipment can also normally communicate;
specifically, the test device detects whether the tested device can normally communicate through protocols such as ARP, ICMP, TCP, UDP, and the like, if the tested device can normally communicate, step 3 is executed, otherwise step 4 is executed.
Step 3, the test equipment sends a test message to the tested equipment;
step 4, if the test equipment cannot detect the normal response of the tested equipment, recording the current test progress, suspending the test, and powering off the tested equipment through a control relay;
specifically, if the detection of the ARP, ICMP, TCP, UDP of the testing device cannot be responded normally, it is considered that the tested device is abnormal, and at this time, the current testing progress needs to be recorded, and the test is suspended, and the power of the tested device is cut off through a relay controlled by the testing device.
Step 5, detecting whether the network port linked with the tested equipment is powered off in real time, and detecting until the power is off;
because many industrial control devices have power failure protection, in order to ensure that the power failure of the devices is completed, whether the link network port has power failure needs to be continuously detected until the power failure is detected.
Step 6, electrifying the tested equipment through a relay controlled by the testing equipment, and starting to execute the action of the step 2;
and 7, after the equipment is recovered to be normal, if the progress reaches 100%, jumping to the step 8, otherwise, continuing to test according to the test progress recorded before the power failure, and returning to the step 3.
And 8, finishing the test.
In the embodiment of the invention, after the test equipment detects that the tested equipment is abnormal and is powered off by controlling the relay, the tested equipment is restarted automatically by controlling the relay again, so that the test is continued normally without manual intervention, and the test efficiency is improved.
After the testing equipment controls the relay to electrify the tested equipment again, continuing to return to execute the action of the step 2; if the tested device is recovered to be normal, the test is finished when the progress reaches 100%, if the tested device does not reach the 100% progress and has no normal response, the test is continued according to the test progress recorded before the power failure, and the actions of the steps 4-6 are continued until the test progress reaches 100%. The whole testing process is controlled and realized by a power supply management program pre-programmed by the testing equipment, and manual testing and restarting are not needed.
Corresponding to the above embodiments, an embodiment of the present invention provides a computer storage medium, including: at least one memory and at least one processor;
the memory is used for storing one or more program instructions;
the processor is used for running one or more program instructions to execute a full-automatic industrial control equipment detection method based on power management.
In accordance with the embodiments, the present invention provides a computer-readable storage medium, where one or more program instructions are contained in the computer-readable storage medium, and the one or more program instructions are used for a processor to execute a method for detecting a fully-automatic industrial control device based on power management.
The embodiment of the invention discloses a computer-readable storage medium, wherein computer program instructions are stored in the computer-readable storage medium, and when the computer program instructions are run on a computer, the computer is enabled to execute the above-mentioned full-automatic industrial control equipment detection method based on power management.
In an embodiment of the invention, the processor may be an integrated circuit chip having signal processing capability. The Processor may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The processor reads the information in the storage medium and completes the steps of the method in combination with the hardware.
The storage medium may be a memory, for example, which may be volatile memory or nonvolatile memory, or which may include both volatile and nonvolatile memory.
The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory.
The volatile Memory may be a Random Access Memory (RAM) which serves as an external cache. By way of example, and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), SLDRAM (SLDRAM), and Direct Rambus RAM (DRRAM).
The storage media described in connection with the embodiments of the invention are intended to comprise, without being limited to, these and any other suitable types of memory.
Those skilled in the art will appreciate that the functionality described in the present invention may be implemented in a combination of hardware and software in one or more of the examples described above. When software is applied, the corresponding functionality may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above-mentioned embodiments, objects, technical solutions and advantages of the present invention are further described in detail, it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present invention should be included in the scope of the present invention.

Claims (6)

1. A full-automatic industrial control equipment detection method based on power management is characterized by comprising the following steps:
step 1, a test device supplies power to a tested device by controlling a group of relays;
step 2, the test equipment detects whether the tested equipment can also normally communicate;
step 3, the test equipment sends a test message to the tested equipment;
step 4, if the test equipment cannot detect the normal response of the tested equipment, recording the current test progress, suspending the test, and powering off the tested equipment through a control relay;
step 5, detecting whether the network port linked with the tested equipment is powered off in real time, and detecting until the power is off;
step 6, electrifying the tested equipment through a relay controlled by the testing equipment, and starting to execute the action of the step 2;
and 7, after the tested device is recovered to be normal, if the test progress reaches 100%, jumping to the step 8, otherwise, continuing the test according to the test progress recorded before the power failure, and returning to the step 3.
And 8, finishing the test.
2. The method for detecting the fully automatic industrial control equipment based on the power management as claimed in claim 1, wherein the testing equipment detects whether the tested equipment can still normally communicate through ARP, ICMP, TCP and UDP protocols.
3. The method as claimed in claim 2, wherein if the ARP, ICMP, TCP, UDP of the testing device cannot be responded normally, the testing device is considered to be abnormal, and at this time, it is necessary to record the current testing progress, suspend the testing, and power off the testing device through a relay controlled by the testing device.
4. A test apparatus, comprising: the device executes the full-automatic industrial control device detection method based on power management according to any one of claims 1-3.
5. The utility model provides a full automatization industrial control equipment detecting system based on power management which characterized in that includes: the system comprises the test apparatus of claim 4, further comprising a device under test; the test equipment completes network security detection on the tested equipment through automatic power management.
6. The power management-based full-automatic industrial control equipment detection system as claimed in claim 5, wherein the testing equipment is connected with the equipment to be tested through a relay, power supply or power off for the equipment to be tested is realized through controlling the relay, and the network port of the testing equipment is linked with the network port of the equipment to be tested, so that network communication between the testing equipment and the equipment to be tested is realized.
CN202111368138.3A 2021-11-18 2021-11-18 Full-automatic industrial control equipment detection method and system based on power management Pending CN114265383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111368138.3A CN114265383A (en) 2021-11-18 2021-11-18 Full-automatic industrial control equipment detection method and system based on power management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111368138.3A CN114265383A (en) 2021-11-18 2021-11-18 Full-automatic industrial control equipment detection method and system based on power management

Publications (1)

Publication Number Publication Date
CN114265383A true CN114265383A (en) 2022-04-01

Family

ID=80825204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111368138.3A Pending CN114265383A (en) 2021-11-18 2021-11-18 Full-automatic industrial control equipment detection method and system based on power management

Country Status (1)

Country Link
CN (1) CN114265383A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206490690U (en) * 2016-12-02 2017-09-12 国网浙江省电力公司电力科学研究院 A kind of industry control safety detecting system and industrial control system
CN109104335A (en) * 2018-08-27 2018-12-28 广东电网有限责任公司 A kind of industrial control equipment network attack test method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206490690U (en) * 2016-12-02 2017-09-12 国网浙江省电力公司电力科学研究院 A kind of industry control safety detecting system and industrial control system
CN109104335A (en) * 2018-08-27 2018-12-28 广东电网有限责任公司 A kind of industrial control equipment network attack test method and system

Similar Documents

Publication Publication Date Title
CN104827910B (en) The high-pressure system control method of electric automobile, system and the vehicle with it
CN112291621A (en) System upgrading automation test method, device and test equipment
CN110889957A (en) Alarm function failure prevention method and device, computer equipment and storage medium
CN103186436B (en) A kind of Android system power-off protection method and device
CN114816022B (en) Method, system and storage medium for monitoring server power supply abnormality
CN114265383A (en) Full-automatic industrial control equipment detection method and system based on power management
CN107992022B (en) Control method, device, controller and system for fault diagnosis
CN116668268A (en) Network repair method for terminal equipment, terminal equipment and storage medium
CN109922014B (en) Method and system for judging cold and hot start of switch
CN113127246A (en) Watchdog circuit, control method and watchdog chip
CN115102842B (en) Dynamic monitoring method, device, equipment and medium for network link performance
CN107065820B (en) Method and device for preventing steering engine information from being lost
CN115718533A (en) Power management system and management method for automatic test
CN112559248B (en) Preprocessing service recovery method, device, equipment and storage medium
CN114417275A (en) RPA-based automatic login method and device and storage medium
CN110912900B (en) Boundary intelligent security monitoring method, device and equipment based on Internet of things
CN110972210B (en) LoRa gateway offline decision method and device based on agricultural Internet of things
CN113110958A (en) Intelligent power terminal based system file verification method
CN114048113A (en) Data center monitoring alarm fault self-healing method and device and computer equipment
CN113296594A (en) System and method for recording power failure time and times of electronic equipment
CN114108228A (en) Washing machine control method, washing machine and storage medium
CN113625855B (en) Power supply control method, system, medium and equipment of server system
CN115733736B (en) Fault switching method, computer readable storage medium, system and device
CN215729753U (en) Watchdog device and watchdog control system of unattended equipment
CN113347272B (en) Message processing method, device, storage medium and equipment

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