CN105093154B - Data transmission method and device for the test of on-Line Monitor Device quality simulation - Google Patents

Data transmission method and device for the test of on-Line Monitor Device quality simulation Download PDF

Info

Publication number
CN105093154B
CN105093154B CN201510519702.5A CN201510519702A CN105093154B CN 105093154 B CN105093154 B CN 105093154B CN 201510519702 A CN201510519702 A CN 201510519702A CN 105093154 B CN105093154 B CN 105093154B
Authority
CN
China
Prior art keywords
message
queue
stipulations
access controller
connect
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.)
Active
Application number
CN201510519702.5A
Other languages
Chinese (zh)
Other versions
CN105093154A (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.)
SHANGHAI ENERGYFUTURE CO Ltd
State Grid Shanghai Electric Power Co Ltd
East China Power Test and Research Institute Co Ltd
Original Assignee
SHANGHAI ENERGYFUTURE CO Ltd
State Grid Shanghai Electric Power Co Ltd
East China Power Test and Research Institute 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 SHANGHAI ENERGYFUTURE CO Ltd, State Grid Shanghai Electric Power Co Ltd, East China Power Test and Research Institute Co Ltd filed Critical SHANGHAI ENERGYFUTURE CO Ltd
Priority to CN201510519702.5A priority Critical patent/CN105093154B/en
Publication of CN105093154A publication Critical patent/CN105093154A/en
Application granted granted Critical
Publication of CN105093154B publication Critical patent/CN105093154B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a kind of data transmission methods and device for the test of on-Line Monitor Device quality simulation, and wherein method includes step:S1:State access controller generates corresponding message according to on-Line Monitor Device output data, and externally sends;S2:The message that access controller is sent out is received, and message is parsed;S3:Judge whether message meets I2 stipulations according to analysis result, if it has, then message is stored, if it has not, then returning to stipulations error message to state access controller.Compared with prior art, the present invention carries out stipulations parsing to the message that state access controller is sent out, and when not met with I2 stipulations to state access controller immediate feedback, it can realize and preposition audit is carried out to the message for entering test device, the judgement that meets that stipulations are carried out without special messenger, saves labour.

Description

Data transmission method and device for the test of on-Line Monitor Device quality simulation
Technical field
The present invention relates to on-Line Monitor Device quality test fields, and on-Line Monitor Device quality is used for more particularly, to one kind The data transmission method and device of emulation testing.
Background technology
To grasp domestic and international power transmission and transforming equipment on-Line Monitor Device quality condition, works corporate device type selecting and ginseng is provided It examines, Chinese DianKeYuan establishes power transmission and transformation equipment state monitoring technology laboratory within 2013, is responsible for carrying out testing inspection and detection knot The work such as fruit analysis.It is Gases Dissolved in Transformer Oil (multicomponent), capacitance type equipment, metal oxidation that object is detected in power transformation part 4 class monitoring device of object arrester and Transformer Core Grounding electric current.The pilot project of performance detection includes mainly elementary error, again The Indexs measures such as renaturation, cross-sensitivity, minimal detection period, insulation performance are examined, environmental adaptability is examined, mechanical performance It examines, shell protection service check and Electro Magnetic Compatibility are examined, but be not covered by on-Line Monitor Device communication module and phase Close the test of software function.
I2 communication protocols define power transmission and transformation status monitoring main station system and access all kinds of substation equipment condition monitoring data Communication in Unified Communication specification, including state access gateway machine (CAG) and substation between state access controller (CAC) is handed over The content of the method for servicing that mutual process, communicating pair provide etc..But because on-Line Monitor Device is using omnifarious Stipulations further cause CAC and also use multiple and different stipulations in message output end, this brings huge to test job Problem, generally require profession tester manually screened, virtually increase cost.
Invention content
It is an object of the present invention to overcome the above-mentioned drawbacks of the prior art and provide one kind for monitoring on-line The data transmission method and device of device quality simulation test.
The purpose of the present invention can be achieved through the following technical solutions:
A kind of data transmission method for the test of on-Line Monitor Device quality simulation, including step:
S1:State access controller generates corresponding message according to on-Line Monitor Device output data, and externally sends;
S2:The message that access controller is sent out is received, and message is parsed;
S3:Judge whether message meets I2 stipulations according to analysis result, if it has, then message is stored, if it has not, Then stipulations error message is returned to state access controller.
The step S2 specifically includes step:
S21:After WebService receives message, message queue is forwarded it to;
S22:It extracts message at random from message queue, and message is parsed.
The step S3 specifically includes step:
S31:Judge whether message meets I2 stipulations according to analysis result, if it is, S32 is thened follow the steps, if it has not, then Execute step 33;
S32:Message store and is added to message queue again;
S33:Stipulations error message is returned to state access controller.
The step S32 specifically includes step:
S321:The queue label of position is extracted for characterizing message from message queue by message addition, and will be added Packet storage after complete queue label is in database;
S322:Message in replicate data library obtains message copy;
S333:The queue label in message, and the message copy that queue label will be stripped are removed, is stripped according to it Queue label is inserted into message queue.
A kind of data transmission device for the test of on-Line Monitor Device quality simulation, including:
State access controller, connect with on-Line Monitor Device, for generating phase according to on-Line Monitor Device output data The message answered;
Packet parsing device is connect with state access controller, the message sent out for receiving access controller, and to message It is parsed;
Message processing device is connect with packet parsing device and state access controller respectively, for being judged according to analysis result Whether message meets I2 stipulations, and stores message when comparison result is to be, conversely, then being returned to state access controller Return stipulations error message.
The packet parsing device includes:
WebService modules are connect with state access controller, for receiving message, and forward it to message team Row;
Packet parsing module is connect with WebService modules, for extracting message at random from message queue, and to report Text is parsed.
The Message processing device includes:
Stipulations judgment module is connect with packet parsing module, for judging whether message meets I2 rule according to analysis result About;
Forwarding module is stored, is connect with stipulations judgment module, for being yes in comparison result, message is subjected to storage and is laid equal stress on Newly it is added to message queue;
Error feedback module is connect with stipulations judgment module and state access controller respectively, for being in comparison result When no, stipulations error message is returned to state access controller.
The storage forwarding module includes:
Storage unit is connect with stipulations judgment module, for being added for message for characterizing message institute from message queue The queue label of position is extracted, and the packet storage after queue label will have been added in database;
Copied cells are connect with storage unit, and message copy is obtained for the message in replicate data library;
Retransmission unit is connect with copied cells, for removing the queue label in message, and will be stripped queue label Message copy is inserted into according to the queue label that it is stripped in message queue.
Compared with prior art, the present invention has the following advantages:
1) stipulations parsing is carried out to the message that state access controller is sent out, and is connect to state when not met with I2 stipulations Enter controller immediate feedback, can realize and preposition audit is carried out to the message for entering test device, stipulations are carried out without special messenger Meet judgement, save labour.
2) detected message is used and is extracted at random from message queue, rather than is replicated, and ensures the orderly of message transmissions Property.
3) message is preserved in database, and examining report etc. can be generated with this, it is convenient and efficient, while meeting I2 in message When stipulations, relies on queue label to reinsert to message queue, the test of test device can not be influenced.
Description of the drawings
Fig. 1 is the key step flow diagram of the method for the present invention.
Specific implementation mode
The present invention is described in detail with specific embodiment below in conjunction with the accompanying drawings.The present embodiment is with technical solution of the present invention Premised on implemented, give detailed embodiment and specific operating process, but protection scope of the present invention is not limited to Following embodiments.
A kind of data transmission method for the test of on-Line Monitor Device quality simulation, as shown in Figure 1, including step:
S1:State access controller generates corresponding message according to on-Line Monitor Device output data, and externally sends;
S2:The message that access controller is sent out is received, and message is parsed;
S3:Judge whether message meets I2 stipulations according to analysis result, if it has, then message is stored, if it has not, Then stipulations error message is returned to state access controller.
Step S2 specifically includes step:
S21:After WebService receives message, message queue is forwarded it to;
S22:It extracts message at random from message queue, and message is parsed.
Step S3 specifically includes step:
S31:Judge whether message meets I2 stipulations according to analysis result, if it is, S32 is thened follow the steps, if it has not, then Execute step 33;
S32:Message store and is added to message queue again;
S33:Stipulations error message is returned to state access controller.
Step S32 specifically includes step:
S321:The queue label of position is extracted for characterizing message from message queue by message addition, and will be added Packet storage after complete queue label is in database;
S322:Message in replicate data library obtains message copy;
S333:The queue label in message, and the message copy that queue label will be stripped are removed, is stripped according to it Queue label is inserted into message queue.
Above-mentioned transmission method, corresponding transmitting device include sequentially connected state access controller, packet parsing device and Message processing device, state access controller are also connect with on-Line Monitor Device and Message processing device respectively, Message processing device and survey Connection is set in trial assembly, and state access controller generates corresponding message according to on-Line Monitor Device output data, and packet parsing device connects The message that access controller is sent out is received, and message is parsed, whether Message processing device then judges message according to analysis result Meet I2 stipulations, and store message when comparison result is to be, conversely, it is wrong then to return to stipulations to state access controller False information.
Packet parsing device include be connected with each other WebService modules and packet parsing module, WebService modules with State access controller connects, and packet parsing module connect with Message processing device, WebService modules reception message, and by its It is forwarded to message queue, packet parsing module then parses message.
Message processing device includes stipulations judgment module, and the storage forwarding module and mistake being connect with stipulations judgment module Accidentally feedback module, error feedback module are connect with state access controller, and storage forwarding module is then connect with test device, stipulations Judgment module judges whether message meets I2 stipulations according to analysis result, and storage forwarding module is yes in comparison result, by message Store and be added to message queue again, error feedback module is then when comparison result is no, to state access controller Return to stipulations error message.
Storage forwarding module includes sequentially connected storage unit, copied cells and retransmission unit, storage unit and stipulations Judgment module connects, and retransmission unit is connect with test device, and storage unit is that message is added for characterizing message from message queue The queue label of middle extracted position, and the packet storage after queue label will have been added in database, copied cells replicate Message in database obtains message copy, and retransmission unit then removes the queue label in message, and will be stripped queue label Message copy, be inserted into message queue according to the queue label that it is stripped.
It further includes report generation unit to store forwarding module, and report generation unit is connect with database, for according to data The message preserved in library generates the report of stipulations analysis judgment.In addition the message copy for being stripped queue label is inserted into message team After in row, it is transmitted along with to test device with original message in message queue, by test device to on-Line Monitor Device Quality is tested.

Claims (2)

1. a kind of data transmission method for the test of on-Line Monitor Device quality simulation, which is characterized in that including step:
S1:State access controller generates corresponding message according to on-Line Monitor Device output data, and externally sends,
S2:The message that access controller is sent out is received, and message is parsed,
S3:Judge whether message meets I2 stipulations according to analysis result, if it has, then message is stored, if it has not, then to State access controller returns to stipulations error message;
The step S2 specifically includes step:
S21:After WebService receives message, message queue is forwarded it to,
S22:It extracts message at random from message queue, and message is parsed;
The step S3 specifically includes step:
S31:Judge whether message meets I2 stipulations according to analysis result, if it is, S32 is thened follow the steps, if it has not, then executing Step 33,
S32:Message is carried out to store and be added to again message queue,
S33:Stipulations error message is returned to state access controller;
The step S32 specifically includes step:
S321:The queue label of position is extracted for characterizing message from message queue by message addition, and team will have been added Packet storage after column label in database,
S322:Message in replicate data library obtains message copy,
S333:Remove the queue label in message, and the message copy that queue label will be stripped, the queue being stripped according to it Label is inserted into message queue.
2. a kind of data transmission device for the test of on-Line Monitor Device quality simulation, which is characterized in that including:
State access controller, connect with on-Line Monitor Device, corresponding for being generated according to on-Line Monitor Device output data Message,
Packet parsing device is connect with state access controller, the message sent out for receiving access controller, and is carried out to message Parsing,
Message processing device is connect with packet parsing device and state access controller respectively, for judging message according to analysis result Whether meet I2 stipulations, and store message when comparison result is to be, is advised conversely, then being returned to state access controller About error message;
The packet parsing device includes:
WebService modules are connect with state access controller, for receiving message, and forward it to message queue,
Packet parsing module is connect with WebService modules, for extracting message at random from message queue, and to message into Row parsing;
The Message processing device includes:
Stipulations judgment module is connect with packet parsing module, for judging whether message meets I2 stipulations according to analysis result,
Forwarding module is stored, is connect with stipulations judgment module, for being yes in comparison result, message store and again add Message queue is added to,
Error feedback module is connect with stipulations judgment module and state access controller respectively, is used for when comparison result is no, Stipulations error message is returned to state access controller;
The storage forwarding module includes:
Storage unit is connect with stipulations judgment module, is extracted from message queue for being added by message for characterizing message The queue label of position, and the packet storage after queue label will have been added in database,
Copied cells are connect with storage unit, and message copy is obtained for the message in replicate data library,
Retransmission unit is connect with copied cells, for removing the queue label in message, and the message that will be stripped queue label Copy is inserted into according to the queue label that it is stripped in message queue.
CN201510519702.5A 2015-08-21 2015-08-21 Data transmission method and device for the test of on-Line Monitor Device quality simulation Active CN105093154B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510519702.5A CN105093154B (en) 2015-08-21 2015-08-21 Data transmission method and device for the test of on-Line Monitor Device quality simulation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510519702.5A CN105093154B (en) 2015-08-21 2015-08-21 Data transmission method and device for the test of on-Line Monitor Device quality simulation

Publications (2)

Publication Number Publication Date
CN105093154A CN105093154A (en) 2015-11-25
CN105093154B true CN105093154B (en) 2018-07-20

Family

ID=54574024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510519702.5A Active CN105093154B (en) 2015-08-21 2015-08-21 Data transmission method and device for the test of on-Line Monitor Device quality simulation

Country Status (1)

Country Link
CN (1) CN105093154B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111610382A (en) * 2020-05-08 2020-09-01 国网江苏省电力有限公司检修分公司 Non-contact transformer bushing space electric field monitoring device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316051A (en) * 2008-07-03 2008-12-03 绍兴电力局 Internetwork communication log analysis system and method based on IEC61850 transforming plant automatization system
CN103123484A (en) * 2012-12-26 2013-05-29 辽宁省电力有限公司电力科学研究院 Transformer substation state monitoring data standardized access system and transformer substation state monitoring data standardized access method
CN103439612A (en) * 2013-09-02 2013-12-11 上海毅昊自动化有限公司 Intelligent transformer substation automatic testing system based on SCD
CN103716207A (en) * 2013-12-30 2014-04-09 航天科工深圳(集团)有限公司 Detection method and device for IEC61850 protocol
CN104702466A (en) * 2015-02-12 2015-06-10 中国南方电网有限责任公司 IEC62351 (International Electrotechnical Commission 62351)-based process layer safety test system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4522119B2 (en) * 2004-03-24 2010-08-11 中国電力株式会社 Oscilloscope test method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316051A (en) * 2008-07-03 2008-12-03 绍兴电力局 Internetwork communication log analysis system and method based on IEC61850 transforming plant automatization system
CN103123484A (en) * 2012-12-26 2013-05-29 辽宁省电力有限公司电力科学研究院 Transformer substation state monitoring data standardized access system and transformer substation state monitoring data standardized access method
CN103439612A (en) * 2013-09-02 2013-12-11 上海毅昊自动化有限公司 Intelligent transformer substation automatic testing system based on SCD
CN103716207A (en) * 2013-12-30 2014-04-09 航天科工深圳(集团)有限公司 Detection method and device for IEC61850 protocol
CN104702466A (en) * 2015-02-12 2015-06-10 中国南方电网有限责任公司 IEC62351 (International Electrotechnical Commission 62351)-based process layer safety test system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种状态接入控制器的实现与应用;王龙阁 等;《电气技术》;20150228(第2期);第88-90页第0节,第89页第2.3小节,图1 *
变电设备状态接入控制器的研究;刘娟 等;《电力与能源》;20140430;第35卷(第2期);第162-165页 *

Also Published As

Publication number Publication date
CN105093154A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN110505111B (en) Industrial control protocol fuzzy test method based on flow playback
CN110401581B (en) Industrial control protocol fuzzy test case generation method based on flow tracing
CN105763392B (en) A kind of industry control agreement fuzz testing method based on protocol status
CN114050979B (en) Industrial control protocol safety test system and device
CN113542299A (en) Industrial internet vulnerability mining method and system based on fuzzy test
CN106484611B (en) Fuzzy test method and device based on automatic protocol adaptation
CN105245403A (en) Power-grid industrial control protocol vulnerability mining system and method based on fuzzy test
CN104796298A (en) SDN (Software Defined Network) network fault analyzing method and device
CN111901200B (en) Power control protection industrial control protocol security test method and system
CN107040413B (en) Method for positioning fault of communication link of process layer of intelligent substation
CN108055148A (en) The electric power wireless private network webmaster diagnostic method that a kind of automation can trace to the source
CN112073242A (en) Method for generating and applying network protocol fuzzy test case
CN105827613A (en) Test method and system for information security of transformer substation industrial control equipment
CN104052633A (en) Integrated testing method for intelligent station 61850 and telecontrol 104 protocol
CN106330483A (en) Information acquiring method, client device and server device
CN108920963A (en) A kind of industrial control system automation Hole Detection plug-in unit generation method and system
CN113676526A (en) Industrial data access management system and method
CN104022907A (en) Failure detection system and method of campus network
CN105093154B (en) Data transmission method and device for the test of on-Line Monitor Device quality simulation
KR20130053261A (en) Apparatus for analyzing packets according to iec 61850 standard
CN111935767B (en) Network simulation system
CN107888451B (en) Method and device for testing Web server
CN107360062B (en) DPI equipment identification result verification method and system and DPI equipment
CN110708216B (en) Switch LLDP protocol test method and test system
CN113055374A (en) Detection method and system for IEC104 power protocol security test

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant