CN108062033B - Industrial protocol automatic simulation test system and method based on Linux system - Google Patents

Industrial protocol automatic simulation test system and method based on Linux system Download PDF

Info

Publication number
CN108062033B
CN108062033B CN201711230123.4A CN201711230123A CN108062033B CN 108062033 B CN108062033 B CN 108062033B CN 201711230123 A CN201711230123 A CN 201711230123A CN 108062033 B CN108062033 B CN 108062033B
Authority
CN
China
Prior art keywords
configuration
test
industrial protocol
protocol
client
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.)
Expired - Fee Related
Application number
CN201711230123.4A
Other languages
Chinese (zh)
Other versions
CN108062033A (en
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.)
Hangzhou Jiulue Intelligent Technology Co ltd
Original Assignee
Hangzhou Jiulue Intelligent Technology 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 Hangzhou Jiulue Intelligent Technology Co ltd filed Critical Hangzhou Jiulue Intelligent Technology Co ltd
Priority to CN201711230123.4A priority Critical patent/CN108062033B/en
Publication of CN108062033A publication Critical patent/CN108062033A/en
Application granted granted Critical
Publication of CN108062033B publication Critical patent/CN108062033B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B17/00Systems involving the use of models or simulators of said systems
    • G05B17/02Systems involving the use of models or simulators of said systems electric

Abstract

The embodiment of the application provides an industrial protocol automatic simulation test system and method based on a Linux system, the method comprises at least one client and at least one server, the at least one client is used for at least carrying out a first configuration comprising an operation strategy configuration and a second configuration of a first test industrial protocol to be started during testing, the at least one server is used for carrying out a fourth configuration of a second test industrial protocol to be started during testing, so that the first test industrial protocol is tested according to the first configuration and the second configuration after the server and the client are started, or the second test industrial protocol is tested according to the fourth configuration, the fourth configuration is used for setting a second attribute configuration of the second test industrial protocol, therefore, large-scale industrial protocol testing can be carried out, and the product development period of industrial safety equipment is shortened, and improves the development efficiency.

Description

Industrial protocol automatic simulation test system and method based on Linux system
Technical Field
The embodiment of the application relates to the technical field of testing, in particular to an industrial protocol automatic simulation testing system and method based on a Linux system.
Background
The industrial control system relates to the whole automatic control flow of industrial production, realizes the detection, control, optimization, scheduling, management and decision of the industrial production process, and is a core system for ensuring the safe, stable and efficient operation of the industrial production process. With the rapid development of industrial automation, industrial control systems have been widely used in various industries such as petrochemical industry, power and water conservancy, rail transit, advanced manufacturing and the like, and have become important components of national key infrastructures.
In the initial stage of industrial automation development, an industrial control network is a closed and dedicated network environment and hardly threatens by network attack, so that the requirements of reliability, instantaneity and the like are mainly considered when the control equipment for local control is developed and designed, and the safety and reliability of the equipment are ensured through a series of technologies such as fault detection, redundancy design, fault-tolerant control and the like. However, with the continuous convergence of industrialization and informatization, the application of information technology in the industrial field is more and more common, and an operating system, a database and a TCP/IP network are all applied to an industrial production environment. Meanwhile, as business is further developed, the industrial network starts to be connected with an enterprise network and even an internet network, and these factors all cause that the current industrial control network faces a severe information security threat.
It is therefore of great importance to perform safety testing and evaluation of industrial protocols for Industrial Control Devices (ICDs). It helps to discover the security holes existing in the device as early as possible and to repair them in time. Meanwhile, the safety function and the safety mechanism of the industrial control equipment can be further improved through safety testing.
Industrial protocol, also known as industrial communication engineering, refers to a kind of agreement between two communication parties for data transmission control. The agreement includes making unified regulations on data format, synchronization mode, transmission speed, transmission step, error detection and correction mode, control character definition, etc. both parties must comply together, which is also called link control procedure.
With the continuous development of industrial safety, industrial protocol testing for safety devices becomes more and more important in the development process of industrial safety products. Existing industrial protocol simulation software can only perform simulation on a single industrial protocol, most of the existing industrial protocol simulation software runs on a Windows platform, and a large amount of manual intervention is needed in the testing process. In the protocol development process of the industrial safety product, because the product version is fast in iteration, a large number of regression tests are often required, but the product version is limited by traditional industrial protocol simulation software, and large-scale industrial protocol tests cannot be performed. In the product development cycle of the industrial safety equipment, the industrial protocol test occupies a large amount of time, and if the time cost of the industrial protocol test is high, the product development cycle of the industrial safety equipment is long, and the efficiency is low.
Disclosure of Invention
In view of the above, one of the technical problems to be solved by the embodiments of the present invention is to provide an industrial protocol automated simulation test system and method based on the Linux system, so as to overcome the defects in the prior art.
The embodiment of the application provides an industrial protocol automatic simulation test system based on a Linux system, which comprises at least one client and at least one server, wherein the at least one client is at least used for carrying out a first configuration comprising an operation strategy configuration and a second configuration comprising a first test industrial protocol so as to be started during testing, the at least one server is used for carrying out a fourth configuration comprising a second test industrial protocol so as to be started during testing, so that the first test industrial protocol is tested according to the first configuration and the second configuration after the server and the client are started in sequence, or the second test industrial protocol is tested according to the fourth configuration, and the fourth configuration is used for setting a second attribute configuration of the second test industrial protocol.
Optionally, in any embodiment of the present application, the client performing the first configuration including the operation policy configuration includes at least one of: execution time, interface, client IP and mask, server IP, cycle number, and cycle interval.
Optionally, in any embodiment of the present application, the second configuration is further configured to perform configuration of a listening port and a listening address of a protocol.
Optionally, in any embodiment of the present application, the second attribute configuration includes formulating a partial functional code test, or a full code test.
Optionally, in any embodiment of the present application, the fourth configuration is further configured to perform configuration of a listening port and a listening address of a protocol.
Optionally, in any embodiment of the present application, the client is further configured to determine whether a condition for ending the industrial protocol automation simulation test is met, and if so, end the condition for ending the industrial protocol automation simulation test; otherwise, continuing to execute the industrial protocol automation simulation test.
Optionally, in any embodiment of the present application, the client is provided with:
a first configuration unit for performing a first configuration including an operation policy configuration to be started at a time of test;
a second configuration unit for performing a second configuration of the first test industry protocol to be initiated at the time of the test.
Optionally, in any embodiment of the present application, the client is further configured to perform log output configuration, including an output path, an output type, and a storage size.
Optionally, in any embodiment of the present application, a third configuration unit is configured on the client, and the third configuration unit is configured to perform log output configuration.
The embodiment of the application provides an industrial protocol automatic simulation test method based on a Linux system, which comprises the following steps:
at least one client side at least conducts first configuration comprising operation strategy configuration and second configuration of a first testing industrial protocol to be started during testing, wherein the operation strategy configuration is used for setting the operation mode of the industrial protocol automation simulation testing system, and the second configuration is used for setting second attribute configuration of the first testing industrial protocol;
at least one server performs third configuration of a second test industrial protocol to be started during testing, so as to test the first test industrial protocol according to the first configuration and the second configuration after the server and the client are started in sequence, or test the second test industrial protocol according to fourth configuration, wherein the fourth configuration is used for setting second attribute configuration of the second test industrial protocol.
In this embodiment of the application, the at least one client is at least configured to perform a first configuration including an operation policy configuration and a second configuration including a first test industrial protocol to be started during testing, the at least one server is configured to perform a fourth configuration including a second test industrial protocol to be started during testing, so as to test the first test industrial protocol according to the first configuration and the second configuration after the server and the client are started in advance, or test the second test industrial protocol according to the fourth configuration, and the fourth configuration is used to set a second attribute configuration of the second test industrial protocol. Therefore, large-scale industrial protocol testing can be carried out, the product development period of the industrial safety equipment is shortened, and the development efficiency is improved.
Drawings
Some specific embodiments of the present application will be described in detail hereinafter by way of illustration and not limitation with reference to the accompanying drawings. The same reference numbers in the drawings identify the same or similar elements or components. Those skilled in the art will appreciate that the drawings are not necessarily drawn to scale. In the drawings:
fig. 1 is a schematic structural diagram of an industrial protocol automation simulation test system based on a Linux system in an embodiment of the present application.
Detailed Description
It is not necessary for any particular embodiment of the invention to achieve all of the above advantages at the same time.
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments of the present invention shall fall within the scope of the protection of the embodiments of the present invention.
In this embodiment of the application, the at least one client is at least configured to perform a first configuration including an operation policy configuration and a second configuration including a first test industrial protocol to be started during testing, the at least one server is configured to perform a fourth configuration including a second test industrial protocol to be started during testing, so as to test the first test industrial protocol according to the first configuration and the second configuration after the server and the client are started in advance, or test the second test industrial protocol according to the fourth configuration, and the fourth configuration is used to set a second attribute configuration of the second test industrial protocol. Therefore, large-scale industrial protocol testing can be carried out, the product development period of the industrial safety equipment is shortened, and the development efficiency is improved.
The following further describes specific implementation of the embodiments of the present invention with reference to the drawings.
Fig. 1 is a schematic structural diagram of an industrial protocol automation simulation test system based on a Linux system in an embodiment of the present application; as shown in fig. 1, the industrial protocol automation simulation test system based on the Linux system: the system comprises at least one client and at least one server.
In the industrial protocol automation simulation test system based on the Linux system, the at least one client is at least used for carrying out a first configuration comprising an operation strategy configuration and a second configuration of a first test industrial protocol so as to be started at the time of test. Specifically, the client performs a first configuration including an operation policy configuration, which includes at least one of: execution time, monitoring interface, client IP and mask, server IP, cycle number and cycle interval. Specifically, the second configuration is further configured to perform configuration of a snooping port and a snooping address of the protocol. The execution time may include a time to start executing the test and a time to end the test. The first test industrial protocol may specifically be that currently supported industrial protocols include MODBUS, CIP, DNP3, IEC104, S7, and IEC 61850-MMS. In this embodiment, the number of cycles may control whether the test is finished, for example, when the number of tests reaches the number of cycles, the test is finished; and if the test times are not the cycle times, continuing the test. For example, taking the Modbus protocol as an example, the analysis may be performed according to the order of the device address, the function code, and the like during the test process.
Illustratively, for the functional code test as an example, the following:
1.01 function code reading coil (output) State the present State (ON/OFF) of a set of logic coils is read as 0X017,0X018 … … 0X032
Figure BDA0001488041320000051
2.02 function code read input State read Current State (ON/OFF) of a set of switch inputs, e.g., 1X017,1X018 … … 1X032
Figure BDA0001488041320000061
3.03 function code-read holding register-read current binary values in one or more holding registers, e.g., 5X 020-10, 5X 021-2000, 5X 022-30
Figure BDA0001488041320000062
4.04 function code-read input register reads the current binary value in one or more input registers, e.g., 3X 020-10, 3X 021-2000, 3X 022-30
Figure BDA0001488041320000063
For TCP purposes the monitoring interface is not a physical port, such as an ethernet port, but a special number embedded in each TCP or UDP message to identify the application protocol carried by the message. For example, Modbus/TCP uses 502 ports and HTTP uses 80 ports. These numbers have been registered with the internet address assignment authority (IANA) and rarely changed. Assuming that only web traffic (i.e., HTTP traffic) is allowed between a client with an IP address of 192.168.1.10 to a web server with an IP address of 192.168.1.20, such an ACL rule can be written: the "low Src 192.168.1.10Dst 192.168.1.20Port HTTP" loads this ACL into the firewall, and any information is allowed to pass as long as these three conditions are met.
Optionally, in this embodiment, the client is further configured to determine whether a condition for ending the industrial protocol automation simulation test is satisfied, and if so, end the condition for ending the industrial protocol automation simulation test; otherwise, continuing to execute the industrial protocol automation simulation test.
In order to implement each technical function of the client, the client may be provided with:
a first configuration unit for performing a first configuration including an operation policy configuration to be started at a time of test;
a second configuration unit for performing a second configuration of the first test industry protocol to be initiated at the time of the test.
Further, a third configuration unit is configured on the client, and the third configuration unit is configured to perform log output configuration. The log output configuration includes, but is not limited to including, output path, output type, and storage size.
In this embodiment, the division of the first configuration unit and the second configuration unit is not fixed, and the first configuration unit and the second configuration unit may be multiplexed with each other.
In an industrial protocol automation simulation test system of a Linux system, the at least one server is configured to perform a fourth configuration of a second test industrial protocol to be started during testing, so as to test the first test industrial protocol according to the first configuration and the second configuration after the server and the client are started in sequence, or test the second test industrial protocol according to the fourth configuration, where the fourth configuration is used to set a second attribute configuration of the second test industrial protocol. Specifically, the second attribute configuration includes formulating a partial functional code test, or a full code test. Specifically, the fourth configuration is further configured to perform configuration of a snooping port and a snooping address of a protocol. The second test industry protocol may specifically include, but is not limited to, MODBUS, CIP, DNP3, IEC104, S7, IEC 61850-MMS.
Illustratively, both parity and frame detection test criteria may be used, such as when performing the above-described industrial protocol tests. Parity is available for each character and frame detection (LRC or CRC) is applied to the entire message. They are generated by the master device before the message is sent and the slave device detects each character and the entire message frame during reception. The user configures the master device with a predefined timeout interval that is long enough for any slave device to react properly. If the slave device detects a transmission error, the message will not be received and will not respond to the master device. Such that a timeout event will trigger the master to handle the error. Addresses to non-existent slaves may also generate timeouts.
1. Parity check
The user can configure the controller for odd or even parity, or no parity. This will determine how the parity bits in each character are set. If odd or even parity is specified, the number of "1" bits will be counted in the number of bits per character (7 data bits in ASCII mode, 8 data bits in RTU). For example, an RTU character frame contains the following 8 data bits: 11000101, the number of whole "1" s is 4. If even parity is used, the parity bit of the frame will be 0, resulting in the number of entire "1" s remaining 4. If odd parity is used, the parity bit of the frame will be 1, resulting in the number of whole "1" s being 5.
If no parity bit is specified, no parity bit is transmitted and no check detection is performed. Instead of an additional stop bit, is padded into the character frame to be transmitted.
2. LRC detection
Using ASCII mode, the message includes an error detection field based on the LRC method. The LRC field detects the contents of the message field except for the beginning colon and the ending carriage return line number.
The LRC field is a byte containing an 8-bit binary value. The LRC value is calculated by the transmitting device (client or server) and placed in the message frame, and the receiving device calculates the LRC during reception of the message and compares it with the value in the LRC field in the received message, indicating an error if the two values are not equal.
The embodiment of the application provides an industrial protocol automatic simulation test method based on a Linux system, which comprises the following steps:
at least one client side at least conducts first configuration comprising operation strategy configuration and second configuration of a first testing industrial protocol to be started during testing, wherein the operation strategy configuration is used for setting the operation mode of the industrial protocol automation simulation testing system, and the second configuration is used for setting second attribute configuration of the first testing industrial protocol;
at least one server performs third configuration of a second test industrial protocol to be started during testing, so as to test the first test industrial protocol according to the first configuration and the second configuration after the server and the client are started in sequence, or test the second test industrial protocol according to fourth configuration, wherein the fourth configuration is used for setting second attribute configuration of the second test industrial protocol.
Before proceeding with the following detailed description, it may be helpful to set forth definitions of certain words and phrases used throughout this patent document: the terms "include" and "comprise," as well as variations thereof, are meant to be inclusive and not limiting; the term "or" is inclusive, meaning and/or; the phrases "associated with …" and "associated with" and variations thereof may be intended to include, be included, "interconnected with …," inclusive, included, "connected to …" or "connected with …," "coupled to …" or "coupled with …," "communicable with …," "mated with …," staggered, juxtaposed, proximate, "constrained to …" or "constrained with …," have the properties of …, "and the like; and the term "controller" means any device, system or component thereof that controls at least one operation,
such a device may be implemented in hardware, firmware, or software, or some combination of at least two of the same. It should be noted that the functionality associated with any particular controller may be centralized or distributed, whether locally or remotely. Definitions for certain words and phrases are provided throughout this patent document, those of ordinary skill in the art should understand that in many, if not most instances, such definitions apply to prior art as well as to future uses of such defined words and phrases.
In the present disclosure, the expression "include" or "may include" refers to the presence of a corresponding function, operation, or element, without limiting one or more additional functions, operations, or elements. In the present disclosure, terms such as "including" and/or "having" may be understood to mean certain characteristics, numbers, steps, operations, constituent elements, or combinations thereof, and may not be understood to preclude the presence or addition of one or more other characteristics, numbers, steps, operations, constituent elements, or combinations thereof.
In the present disclosure, the expression "a or B", "at least one of a or/and B" or "one or more of a or/and B" may include all possible combinations of the listed items. For example, the expression "a or B", "at least one of a and B", or "at least one of a or B" may include: (1) at least one a, (2) at least one B, or (3) at least one a and at least one B.
The expressions "first", "second", "said first" or "said second" used in various embodiments of the present disclosure may modify various components regardless of order and/or importance, but these expressions do not limit the respective components. The foregoing description is only for the purpose of distinguishing elements from other elements. For example, the first user equipment and the second user equipment represent different user equipment, although both are user equipment. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of the present disclosure.
When an element (e.g., a first element) is referred to as being "operably or communicatively coupled" or "connected" (operably or communicatively) to "another element (e.g., a second element) or" connected "to another element (e.g., a second element), it is understood that the element is directly connected to the other element or the element is indirectly connected to the other element via yet another element (e.g., a third element). In contrast, it is understood that when an element (e.g., a first element) is referred to as being "directly connected" or "directly coupled" to another element (a second element), no element (e.g., a third element) is interposed therebetween.
The expression "configured to" as used herein may be used interchangeably with the expressions: "suitable for", "having a capacity", "designed as", "suitable for", "manufactured as" or "capable". The term "configured to" may not necessarily mean "specially designed" in hardware. Alternatively, in some cases, the expression "a device configured as …" may mean that the device is "… capable" along with other devices or components. For example, the phrase "a processor adapted (or configured) to perform A, B and C" may mean a dedicated processor (e.g., an embedded processor) for performing the respective operations only, or a general-purpose processor (e.g., a Central Processing Unit (CPU) or an Application Processor (AP)) that may perform the respective operations by executing one or more software programs stored in a memory device.
The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions and/or portions thereof that contribute to the prior art may be embodied in the form of a software product that can be stored on a computer-readable storage medium including any mechanism for storing or transmitting information in a form readable by a computer (e.g., a computer). For example, a machine-readable medium includes Read Only Memory (ROM), Random Access Memory (RAM), magnetic disk storage media, optical storage media, flash memory storage media, electrical, optical, acoustical or other form of propagated signals (e.g., carrier waves, infrared signals, digital signals, etc.), and others, and the computer software product includes instructions for causing a computing device (which may be a personal computer, server, or network device, etc.) to perform the methods described in the various embodiments or portions of the embodiments.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the embodiments of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus (device), or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

Claims (5)

1. An industrial protocol automation simulation test system based on a Linux system is characterized by comprising at least one client and at least one server, wherein the at least one client is at least used for carrying out a first configuration comprising an operation strategy configuration and a second configuration of a first test industrial protocol to be started during testing, the at least one server is used for carrying out a fourth configuration of a second test industrial protocol to be started during testing, so that the first test industrial protocol is tested according to the first configuration and the second configuration after the server and the client are started in advance, or the second test industrial protocol is tested according to the fourth configuration, the fourth configuration is used for setting a second attribute configuration of the second test industrial protocol, and the second attribute configuration comprises the establishment of partial function code testing or all code testing, the fourth configuration is further used for performing configuration of a listening port of a protocol, listening an address, and the client performing a first configuration including an operation policy configuration includes at least one of: the second configuration is further used for carrying out the configuration of a monitoring port and a monitoring address of a protocol;
the client is further configured to determine whether a condition for ending the industrial protocol automation simulation test is satisfied, if so, end the industrial protocol automation simulation test, otherwise, continue to execute the industrial protocol automation simulation test, where the condition for ending the industrial protocol automation simulation test is as follows: the times of the industrial protocol automatic simulation test reach the cycle times.
2. The system according to claim 1, wherein the client is provided with:
a first configuration unit for performing a first configuration including an operation policy configuration to be started at a time of test;
a second configuration unit for performing a second configuration of the first test industry protocol to be initiated at the time of the test.
3. The system of claim 1, wherein the client is further configured to perform log output configuration including output path, output type, and storage size.
4. The system according to claim 3, wherein a third configuration unit is configured on the client, and the third configuration unit is configured to perform log output configuration.
5. An industrial protocol automatic simulation test method based on a Linux system is characterized by comprising the following steps:
at least one client side at least performs a first configuration comprising an operation strategy configuration and a second configuration of a first test industrial protocol to be started during testing, wherein the operation strategy configuration is used for setting the operation mode of the industrial protocol automation simulation testing system, the second configuration is used for setting a second attribute configuration of the first test industrial protocol, and the client side performs the first configuration comprising the operation strategy configuration and comprises at least one of the following: the second configuration is further used for carrying out the configuration of a monitoring port and a monitoring address of a protocol;
at least one server performs fourth configuration of a second test industrial protocol to be started during testing, so that the first test industrial protocol is tested according to the first configuration and the second configuration after the server and the client are started in sequence, or the second test industrial protocol is tested according to the fourth configuration, the fourth configuration is used for setting second attribute configuration of the second test industrial protocol, the second attribute configuration comprises a part of function code test or a whole code test, and the fourth configuration is further used for performing configuration of a monitoring port and a monitoring address of the protocol;
the client judges whether the conditions for finishing the industrial protocol automation simulation test are met, if so, the industrial protocol automation simulation test is finished, otherwise, the industrial protocol automation simulation test is continuously executed, and the conditions for finishing the industrial protocol automation simulation test are as follows: the times of the industrial protocol automatic simulation test reach the cycle times.
CN201711230123.4A 2017-11-29 2017-11-29 Industrial protocol automatic simulation test system and method based on Linux system Expired - Fee Related CN108062033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711230123.4A CN108062033B (en) 2017-11-29 2017-11-29 Industrial protocol automatic simulation test system and method based on Linux system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711230123.4A CN108062033B (en) 2017-11-29 2017-11-29 Industrial protocol automatic simulation test system and method based on Linux system

Publications (2)

Publication Number Publication Date
CN108062033A CN108062033A (en) 2018-05-22
CN108062033B true CN108062033B (en) 2021-04-30

Family

ID=62136079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711230123.4A Expired - Fee Related CN108062033B (en) 2017-11-29 2017-11-29 Industrial protocol automatic simulation test system and method based on Linux system

Country Status (1)

Country Link
CN (1) CN108062033B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110618942A (en) * 2019-09-20 2019-12-27 北京天地和兴科技有限公司 Rapid test method for fine-grained control of industrial control protocol

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808355A (en) * 2009-12-28 2010-08-18 重庆邮电大学 System and method for testing consistency of industrial wireless network protocol
CN103376777A (en) * 2012-04-13 2013-10-30 珠海格力电器股份有限公司 Testing method for Modbus communication interface of controller and host computer
CN105117344A (en) * 2015-09-19 2015-12-02 北京暴风科技股份有限公司 Interface integration test method and system based on PB
CN107404487A (en) * 2017-08-07 2017-11-28 浙江国利信安科技有限公司 A kind of industrial control system safety detection method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101889502B1 (en) * 2013-03-26 2018-08-20 한국전자통신연구원 Abnormal traffic detection method on control system protocol

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808355A (en) * 2009-12-28 2010-08-18 重庆邮电大学 System and method for testing consistency of industrial wireless network protocol
CN103376777A (en) * 2012-04-13 2013-10-30 珠海格力电器股份有限公司 Testing method for Modbus communication interface of controller and host computer
CN105117344A (en) * 2015-09-19 2015-12-02 北京暴风科技股份有限公司 Interface integration test method and system based on PB
CN107404487A (en) * 2017-08-07 2017-11-28 浙江国利信安科技有限公司 A kind of industrial control system safety detection method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Linux的网络设备自动化测试系统的设计与实现;卫晓娜 等;《硅谷》;20100508;第93页 *

Also Published As

Publication number Publication date
CN108062033A (en) 2018-05-22

Similar Documents

Publication Publication Date Title
EP2871814B1 (en) Apparatus, method and system for hardware-based filtering in a cross-domain infrastructure
Yau et al. PLC forensics based on control program logic change detection
CN105205003A (en) Automated testing method and device based on clustering system
CN110830330B (en) Firewall testing method, device and system
CN106911648B (en) Environment isolation method and equipment
Faisal et al. Modeling Modbus TCP for intrusion detection
CN106776243B (en) Monitoring method and device for monitoring software
Lim et al. Attack induced common-mode failures on PLC-based safety system in a nuclear power plant: practical experience report
CN108763071A (en) A kind of webpage test method and terminal device
CN115242689B (en) Vehicle-mounted gateway testing method, system and computer readable storage medium
CN107566036B (en) Automatically detecting an error in a communication and automatically determining a source of the error
CN113572726A (en) Multi-mode network control-data plane consistency verification method and device
JP6606293B2 (en) Method and device for monitoring data processing and data transmission within the safety chain of a safety system
CN108062033B (en) Industrial protocol automatic simulation test system and method based on Linux system
CN113660265B (en) Network attack testing method and device, electronic equipment and storage medium
CA2998960C (en) Method and device for monitoring control systems
CN109818950B (en) Access control rule optimization method and device and computer readable storage medium
JP2022190651A (en) Communication system and communication method for reporting compromised state in one-way transmission
KR20180086732A (en) Plc communication module automatically generate test-case method
JP6873032B2 (en) Communication monitoring system, communication monitoring device and communication monitoring method
US11665165B2 (en) Whitelist generator, whitelist evaluator, whitelist generator/evaluator, whitelist generation method, whitelist evaluation method, and whitelist generation/evaluation method
Tylman SCADA intrusion detection based on modelling of allowed communication patterns
Zhang et al. Armor PLC: A platform for cyber security threats assessments for PLCs
CN107579930B (en) Method for generating message label
CN109981394B (en) Communication method and device based on enhanced CAN bus protocol analyzer

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210430

Termination date: 20211129

CF01 Termination of patent right due to non-payment of annual fee