CN101808082A - Device simulating method for supporting multi-protocol - Google Patents

Device simulating method for supporting multi-protocol Download PDF

Info

Publication number
CN101808082A
CN101808082A CN201010019357A CN201010019357A CN101808082A CN 101808082 A CN101808082 A CN 101808082A CN 201010019357 A CN201010019357 A CN 201010019357A CN 201010019357 A CN201010019357 A CN 201010019357A CN 101808082 A CN101808082 A CN 101808082A
Authority
CN
China
Prior art keywords
data
equipment
simulation
protocol
simulating method
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
CN201010019357A
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.)
YADA ELECTRONICS CO Ltd HEYUAN
Original Assignee
YADA ELECTRONICS CO Ltd HEYUAN
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 YADA ELECTRONICS CO Ltd HEYUAN filed Critical YADA ELECTRONICS CO Ltd HEYUAN
Priority to CN201010019357A priority Critical patent/CN101808082A/en
Publication of CN101808082A publication Critical patent/CN101808082A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a method of equipment simulation software for supporting multi-protocol, which comprises the following steps of: 1. acquiring the base elements of equipment and generating the specific information of simulation equipment; 2. starting equipment simulation software to perform simulation initialization and obtain the specific information of all equipment to be simulated; 3. transmitting data in a work control system according to different passageways, and intercepting the data transmitted by the passageways with HOOK; and 4. analytically comparing the intercepted data with a protocol packet of the simulation equipment, and returning different simulation data to a work control platform aiming at the different data to realize the immediate simulation of the data. The method can automatically simulate the communication data of the equipment, can simulate the equipment data communication in different protocols, and can effectively improve the debugging efficiency and the developing efficiency of engineering developers.

Description

A kind of device simulating method of supporting multi-protocols
Technical field
The present invention relates to a kind of method of supporting the equipment simulation software of multi-protocols, especially can emulation Modbus agreement and the emulation mode of DL/T645 ammeter communication protocol.
Background technology
At present, engineering and technological development personnel are more and more to the use of simulation software, and simulation software is the real data situation of artificial site fully, and the accuracy that effectively reflects data is with regular.
(Modbus is a kind of communications protocol of MODICON company in exploitation at the embedded software of development support MODBUS agreement, be a kind of opening of widely being used at industrial circle, the network communication protocol of standard), for carrying out the communication debugging of equipment, normal serial communication software or the TCP/IP related commissioning software of adopting reads and writes data, and the back that reads and writes data often wants the developer according to the data value that returns actual measurement data to be calculated to obtain correct image data.Engineers and technicians are when the exploitation relative monitor system, and Chang Yinwei equipment can't not debugged automated software to the scene, influences the duration of project, increases the cost of project.
Only support an agreement or stipulations in the general simulation software, and in the automation project, usually have a lot of equipment will debug analysis and test, the user is if any the words of relevant simulation software, because of this software generally all can not be as communication and agreement expansion and self-defined, the user also will be switched in different software, the efficient of influence debugging.
Summary of the invention
Support single deficiency for overcoming above-mentioned simulation software agreement, the invention provides a kind of can automatic simulation equipment signal intelligence, conveniently carry out agreement and expand, increase related protocol and can reach the device simulating method of supporting a plurality of different agreement device emulation effects according to different agreements.
In order to achieve the above object, the technical solution adopted for the present invention to solve the technical problems is:
A kind of device simulating method of supporting multi-protocols may further comprise the steps:
Step 1 is gathered out the fundamental of equipment, generates the specifying information of emulator;
Step 2, the starting device simulation software carries out simulation initialisation, obtains the specifying information of the emulator that remains;
Step 3 sends data according to different passages, and utilizes HOOK to intercept and capture the transmission data of this passage in industrial control system;
Step 4 is analyzed comparison to the data of intercepting and capturing and the protocol package of this emulator, returns different emulated datas at different data and gives the industry control platform, realizes the instant emulation of data.
Step 3 of the present invention further comprises, according to the device address information and the reading of data number of the data message analysis data communication emulation that sends, data is returned to the buffering area of system by this form.
Step 3 further comprises, sends the industrial communication data by DCS in the industrial control system or SCADA systems soft ware.
Described industrial communication data comprise, read-write equipment parameter, real time data or diagnostic data message.
Step 3 comprises that further HOOK is used for the transmission of monitor data in system, and before these data arrive the final data processing procedure, obtains particular data.
Step 4 further comprises,
1) according to whether being belonged to the protocol data of supporting in the native system,, then point out the emulation failure, and the report user to append the corresponding protocol file as not supporting by the format analysis of intercepted data; Otherwise change step 2);
2) the data format protocol compliant form as analyzing carries out concrete analysis and determines to enter into the function corresponding code analysis stage current data format.
The present invention compared to existing technology, its beneficial effect is: can automatic simulation the communication data of equipment, can particularly in modbus and DT/L645 agreement, carry out the emulation that device data is communicated by letter in different agreements, can simulate communicating by letter of Modbus slave station and ammeter.Can return different message analysis data at different function identifiers, intercept the data in the passage, and these data are carried out protocal analysis, can effectively improve engineering development personnel's debugging and development efficiency.
Description of drawings
Fig. 1 is simulation flow figure of the present invention;
Fig. 2 is an emulation schematic diagram of the present invention.
Embodiment
The invention will be further described below in conjunction with Figure of description, but the scope of protection of present invention is not limited to the scope of embodiment statement.
A kind of device simulating method of supporting multi-protocols may further comprise the steps:
Step 1 is gathered out the fundamental of equipment, generates the specifying information of emulator;
Step 2, the starting device simulation software carries out simulation initialisation, obtains the specifying information of the emulator that remains;
Step 3 sends data according to different passages, and utilizes HOOK to intercept and capture the transmission data of this passage in industrial control system;
Step 4 is analyzed comparison to the data of intercepting and capturing and the protocol package of this emulator, returns different emulated datas at different data and gives the industry control platform, realizes the instant emulation of data.
Particularly, as shown in Figure 1, (Distributed ControlSystem is the abbreviation of scattered control system, and domestic general custom is called Distributed Control System by the DCS in the industrial control system.It is one, and what be made up of process control level and process monitoring level is the multi-level computer system of tie with the communication network) or SCADA (Supervisory Control And Data Acquisition system, be data acquisition and supervisor control) etc. systems soft ware send the industrial communication data, as the read-write equipment relevant parameter, obtain real time data, messages such as diagnostic data.
Simulation software is by HOOK (hook-hook, it is a link in the Message Processing, be used for the transmission of monitoring message in system, and before these message arrive final message processing procedure, handle some specific message) technology obtains this message from system, whether the format analysis according to this message belongs to the protocol massages of supporting in this software then, as not supporting that then point out the emulation failure, the report user will increase relevant operations such as document of agreement, meet certain protocol contents in this software as the data format of analyzing, then can point out is this protocol format, and current data format is carried out concrete analysis, determines it is what operation, as function code, whether types such as data area are correct, and whether the data in the transmission are correct, and whether check digit is correct etc., then can enter the concrete individual function code analysis phase after more than determining
As shown in Figure 2, analyze the device address of data communication emulation according to the data message that sends, data area reading of data number etc., and according to this form data are returned in the buffering area of system.

Claims (6)

1. device simulating method of supporting multi-protocols, this method step is as follows:
Step 1 is gathered out the fundamental of equipment, generates the specifying information of emulator;
Step 2, the starting device simulation software carries out simulation initialisation, obtains the specifying information of the emulator that remains;
Step 3 sends data according to different passages, and utilizes HOOK to intercept and capture the transmission data of this passage in industrial control system;
Step 4 is analyzed comparison to the data of intercepting and capturing and the protocol package of this emulator, returns different emulated datas at different data and gives the industry control platform, realizes the instant emulation of data.
2. the device simulating method of support multi-protocols according to claim 1, it is characterized in that, step 3 further comprises, according to the device address information and the reading of data number of the data message analysis data communication emulation that sends, data is returned to the buffering area of system by this form.
3. the device simulating method of support multi-protocols according to claim 2 is characterized in that, step 3 further comprises, sends the industrial communication data by DCS in the industrial control system or SCADA systems soft ware.
4. the device simulating method of support multi-protocols according to claim 3 is characterized in that, described industrial communication data comprise, read-write equipment parameter, real time data or diagnostic data message.
5. the device simulating method of support multi-protocols according to claim 1 is characterized in that, step 3 comprises that further HOOK is used for the transmission of monitor data in system, and before these data arrive the final data processing procedure, obtains particular data.
6. the device simulating method of support multi-protocols according to claim 1 is characterized in that, step 4 further comprises,
1) according to whether being belonged to the protocol data of supporting in the native system,, then point out the emulation failure, and the report user to append the corresponding protocol file as not supporting by the format analysis of intercepted data; Otherwise change step 2);
2) the data format protocol compliant form as analyzing carries out concrete analysis and determines to enter into the function corresponding code analysis stage current data format.
CN201010019357A 2010-01-12 2010-01-12 Device simulating method for supporting multi-protocol Pending CN101808082A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010019357A CN101808082A (en) 2010-01-12 2010-01-12 Device simulating method for supporting multi-protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010019357A CN101808082A (en) 2010-01-12 2010-01-12 Device simulating method for supporting multi-protocol

Publications (1)

Publication Number Publication Date
CN101808082A true CN101808082A (en) 2010-08-18

Family

ID=42609702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010019357A Pending CN101808082A (en) 2010-01-12 2010-01-12 Device simulating method for supporting multi-protocol

Country Status (1)

Country Link
CN (1) CN101808082A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577439A (en) * 2015-12-24 2016-05-11 江苏飞尚安全监测咨询有限公司 Simulation method based on sensing device
WO2017041550A1 (en) * 2015-09-08 2017-03-16 中兴通讯股份有限公司 Device simulator communication method and system
CN108319161A (en) * 2018-02-05 2018-07-24 浙江大学 A kind of industry SCADA system emulation platform
CN109040086A (en) * 2018-08-15 2018-12-18 广东电网有限责任公司 A kind of industrial control system DDOS attack emulation mode and device
CN114826938A (en) * 2022-04-20 2022-07-29 国家工业信息安全发展研究中心 Method for realizing communication protocol simulation

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017041550A1 (en) * 2015-09-08 2017-03-16 中兴通讯股份有限公司 Device simulator communication method and system
CN105577439A (en) * 2015-12-24 2016-05-11 江苏飞尚安全监测咨询有限公司 Simulation method based on sensing device
CN105577439B (en) * 2015-12-24 2018-09-28 江苏飞尚安全监测咨询有限公司 A kind of simulation method based on based on sensing equipment
CN108319161A (en) * 2018-02-05 2018-07-24 浙江大学 A kind of industry SCADA system emulation platform
CN109040086A (en) * 2018-08-15 2018-12-18 广东电网有限责任公司 A kind of industrial control system DDOS attack emulation mode and device
CN109040086B (en) * 2018-08-15 2020-11-03 广东电网有限责任公司 Industrial control system DDOS attack simulation method and device
CN114826938A (en) * 2022-04-20 2022-07-29 国家工业信息安全发展研究中心 Method for realizing communication protocol simulation
CN114826938B (en) * 2022-04-20 2022-11-11 国家工业信息安全发展研究中心 Method for realizing communication protocol simulation

Similar Documents

Publication Publication Date Title
CN102946616B (en) Internet of things middleware performance testing system and testing method
CN108255711A (en) A kind of PLC firmware fuzz testing systems and test method based on stain analysis
CN107315679A (en) A kind of embedded software automation exact p-value method and test system
GB2568806A (en) I/O Virtualization for commissioning
CN108322348B (en) Transformer substation monitoring information automatic acceptance signal triggering operation subsystem and method
CN109491910B (en) Visual simulation debugging method and system for protection logic and control logic
CN109150636B (en) Intelligent substation auxiliary point-to-point test method and system for full-link information flow
CN101808082A (en) Device simulating method for supporting multi-protocol
CN105577463B (en) A kind of test method and its device based on communication protocol
EP2490376A1 (en) System for testing roundtrip time between intelligent electronic devices
CN109614321A (en) For the continuous integrating of ATS software and the system of delivery
CN107819611B (en) Client test method based on IEC61850 multi-server simulation
Sanz et al. High-accuracy distributed simulation environment for PRIME networks analysis and improvement
CN110689238B (en) Method and system for realizing MMS (multimedia message service) information simulation and point-to-point of intelligent substation
CN204733178U (en) A kind of EtherCAT master station device based on FPGA
CN102750143A (en) Digital signal processing (DSP) developing method based on matrix laboratory (MATLAB) component object model (COM) component calling
CN105550103B (en) A kind of automated testing method based on self-defined test script
CN102567162B (en) A kind of physical layer system demo plant based on DSP core and method
Ericsson et al. Challenges from research to deployment of industrial distributed control systems
CN102270175A (en) Simulation test method of data acquisition software
CN113533887B (en) Intelligent debugging method and system for power distribution terminal
CN111431739B (en) QualNet-oriented dynamic fault setting method for simulation communication network
CN108491221A (en) Update, fault detection system and the method for embedded system
CN105446165A (en) LCC direct current power transmission simulation system and field layer equipment simulation device
CN109684661B (en) Simulation method of metering instrument based on IEC62056 protocol

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100818