CN111682642B - Lightweight intelligent substation information abnormality detection system and method thereof - Google Patents
Lightweight intelligent substation information abnormality detection system and method thereof Download PDFInfo
- Publication number
- CN111682642B CN111682642B CN202010508821.1A CN202010508821A CN111682642B CN 111682642 B CN111682642 B CN 111682642B CN 202010508821 A CN202010508821 A CN 202010508821A CN 111682642 B CN111682642 B CN 111682642B
- Authority
- CN
- China
- Prior art keywords
- information
- message
- substation
- detection
- module
- 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
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 128
- 238000000034 method Methods 0.000 title claims abstract description 23
- 230000005856 abnormality Effects 0.000 title claims abstract description 20
- 230000002159 abnormal effect Effects 0.000 claims abstract description 52
- 241000272814 Anser sp. Species 0.000 claims abstract description 49
- 238000012216 screening Methods 0.000 claims abstract description 6
- 238000012360 testing method Methods 0.000 claims description 30
- 230000008676 import Effects 0.000 claims description 15
- 238000012544 monitoring process Methods 0.000 claims description 14
- 230000008859 change Effects 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 11
- 238000012423 maintenance Methods 0.000 abstract description 27
- 238000004458 analytical method Methods 0.000 abstract description 11
- 230000009466 transformation Effects 0.000 abstract 1
- 230000006870 function Effects 0.000 description 32
- 238000007726 management method Methods 0.000 description 32
- 238000010586 diagram Methods 0.000 description 14
- 230000008569 process Effects 0.000 description 9
- 238000012545 processing Methods 0.000 description 8
- 238000013461 design Methods 0.000 description 7
- 238000013500 data storage Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 206010000117 Abnormal behaviour Diseases 0.000 description 1
- 108010001267 Protein Subunits Proteins 0.000 description 1
- 238000007792 addition Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000002688 persistence Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J13/00—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
- H02J13/00001—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by the display of information or by user interaction, e.g. supervisory control and data acquisition systems [SCADA] or graphical user interfaces [GUI]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/14—Tree-structured documents
- G06F40/146—Coding or compression of tree-structured data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y10/00—Economic sectors
- G16Y10/35—Utilities, e.g. electricity, gas or water
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y40/00—IoT characterised by the purpose of the information processing
- G16Y40/10—Detection; Monitoring
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y40/00—IoT characterised by the purpose of the information processing
- G16Y40/20—Analytics; Diagnosis
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J13/00—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
- H02J13/00006—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J13/00—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
- H02J13/00006—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
- H02J13/00016—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment using a wired telecommunication network or a data transmission bus
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B90/00—Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02B90/20—Smart grids as enabling technology in buildings sector
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S10/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/50—Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S40/00—Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them
- Y04S40/12—Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them characterised by data transport means between the monitoring, controlling or managing units and monitored, controlled or operated electrical equipment
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S40/00—Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them
- Y04S40/12—Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them characterised by data transport means between the monitoring, controlling or managing units and monitored, controlled or operated electrical equipment
- Y04S40/124—Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them characterised by data transport means between the monitoring, controlling or managing units and monitored, controlled or operated electrical equipment using wired telecommunication networks or data transmission busses
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Power Engineering (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Economics (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Biomedical Technology (AREA)
- Public Health (AREA)
- Development Economics (AREA)
- Accounting & Taxation (AREA)
- General Engineering & Computer Science (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computer Networks & Wireless Communication (AREA)
- Human Computer Interaction (AREA)
- Artificial Intelligence (AREA)
- Computational Linguistics (AREA)
- Water Supply & Treatment (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
技术领域technical field
本发明涉及电气系统的智能检测技术,具体涉及一种面向轻量级智能变电站信息异常性检测系统及其方法。The invention relates to an intelligent detection technology of an electrical system, in particular to a light-weight intelligent substation-oriented information abnormality detection system and a method thereof.
背景技术Background technique
智能变电站是以IEC61850协议为基础,变电站内部智能电气设备之间可以共享信息,同时内部智能电气设备间可以互操作的一种新型变电站。变电站的智能化使得智能变电站网络原有的相对封闭性被打破,智能变电站的信息安全成为学术界和工程界广泛关注的对象。为了保障智能变电站的正常运行,辅助运维工作人员进行故障定位和故障分析,很多科研人员都注力于保障智能变电站安全运行方面的研究。The smart substation is based on the IEC61850 protocol. Information can be shared among the smart electrical devices inside the substation, and at the same time, the internal smart electrical devices can interoperate with each other. The intelligence of the substation breaks the original relative closedness of the smart substation network, and the information security of the smart substation has become the object of widespread concern in the academic and engineering circles. In order to ensure the normal operation of smart substations and assist operation and maintenance staff in fault location and fault analysis, many researchers have focused on the research on ensuring the safe operation of smart substations.
市场上现有针对智能变电站配置文件的相关解析系统以及智能变电站信息异常捕捉系统,前者可以独立分析解析变电站配置软件,后者可以捕获智能变电站异常信息。上述现有技术方案没有分析报文故障的原因,没有设置异常报警机制,缺少异常信息的分类记录,不方便多角度的分析异常产生的原因;而且没有将智能变电站异常信息和当前智能变电站配置文件中相关内容相结合,使得运维工作人员更加直观分析故障产生原因和快速故障定位。There are existing related analysis systems for smart substation configuration files and smart substation information exception capture systems on the market. The former can independently analyze and analyze substation configuration software, and the latter can capture smart substation abnormal information. The above-mentioned prior art solution does not analyze the cause of the message failure, does not set an abnormal alarm mechanism, lacks the classification record of abnormal information, and is inconvenient to analyze the cause of abnormality from multiple angles; and does not combine the abnormal information of the smart substation and the current smart substation configuration file. Combining the relevant content in the above, the operation and maintenance staff can more intuitively analyze the cause of the fault and quickly locate the fault.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于提供一种面向轻量级智能变电站信息异常性检测系统及其方法。The purpose of the present invention is to provide a light-weight intelligent substation-oriented information abnormality detection system and method thereof.
实现本发明目的的技术解决方案为:一种面向轻量级智能变电站信息异常性检测系统,包括系统配置模块、嗅探模块、检测报警工作模块和管理模块,其中:The technical solution for realizing the purpose of the present invention is: a light-weight intelligent substation-oriented information anomaly detection system, comprising a system configuration module, a sniffing module, a detection and alarm working module and a management module, wherein:
所述系统配置模块用于解析变电站配置文件,与捕捉的报文配置信息进行比对,以及获取智能变电站全部整帧报文信息;The system configuration module is used to parse the substation configuration file, compare it with the captured message configuration information, and obtain all the whole frame message information of the smart substation;
所述嗅探模块用于获取实时流经系统的报文信息,进行筛选、分类和保存;The sniffing module is used to obtain the message information flowing through the system in real time, and perform screening, classification and storage;
所述检测报警模块用于接收数据包GOOSE、SMV、MMS,与预先设定的异常规则集进行比对报警;The detection alarm module is used to receive data packets GOOSE, SMV, MMS, and compare and alarm with a preset abnormal rule set;
所述管理模块用于实现用户权限赋予、值班日志记录和系统数据记录。The management module is used to implement user authority granting, duty log recording and system data recording.
进一步的,所述系统配置模块包括智能变电站SCD文件的导入解析单元和监听网卡单元,其中智能变电站SCD文件的导入解析单元用于解析变电站配置文件,和捕捉的报文配置信息进行比对;所述监听网卡单元用于获取智能变电站全部整帧报文信。Further, the system configuration module includes an import parsing unit of the SCD file of the smart substation and a monitoring network card unit, wherein the import parsing unit of the SCD file of the smart substation is used for parsing the substation configuration file, and compares with the captured message configuration information; The monitoring network card unit is used to obtain all the whole frame messages of the smart substation.
更进一步的,所述智能变电站SCD文件的导入解析单元利用DOM4J库解析变电站配置文件,即利用SAXReader.read(xmlSource)()读取XML源的文档;Document.getRootElement()得到的XML的根元素,利用Element.node(index)获得在元素特定索引XML节点,利用Element.attributes()获取一个元素的所有属性,从而得到系统所需要的全部节点信息,和捕捉的报文配置信息进行一一比对。Further, the import parsing unit of the SCD file of the smart substation uses the DOM4J library to parse the substation configuration file, that is, uses SAXReader.read(xmlSource)() to read the document of the XML source; the root element of the XML obtained by Document.getRootElement() , use Element.node(index) to obtain the XML node at the specific index of the element, use Element.attributes() to obtain all attributes of an element, so as to obtain all the node information required by the system, and compare it with the captured message configuration information one by one right.
进一步的,所述嗅探模块获取的报文信息包括报文appid、源地址、目的地址和侦测时间。Further, the packet information obtained by the sniffing module includes the packet appid, source address, destination address and detection time.
进一步的,所述检测报警模块包括GOOSE报警单元、SMV报警单元、MMS报文报警单元,其中:Further, described detection alarm module comprises GOOSE alarm unit, SMV alarm unit, MMS message alarm unit, wherein:
所述GOOSE报警单元包括GOOSE报文格式和配置检测子单元、GOOSE报文状态变化检测子单元、GOOSE报文中断检测子单元和GOOSE报文测试状态检测子单元;The GOOSE alarm unit includes a GOOSE message format and configuration detection subunit, a GOOSE message state change detection subunit, a GOOSE message interruption detection subunit, and a GOOSE message test state detection subunit;
所述SMV报警单元包括SMV报文格式和配置错误检测子单元、SMV报文中断和抖动检测子单元、SMV报文不同步检测子单元和SMV报文品质因数变化检测子单元;Described SMV alarm unit comprises SMV message format and configuration error detection subunit, SMV message interruption and jitter detection subunit, SMV message asynchronous detection subunit and SMV message quality factor change detection subunit;
所述MMS报文报警单元包括MMS报文格式错误检测子单元。The MMS message alarm unit includes a MMS message format error detection subunit.
进一步的,所述管理模块包括用户管理单元、管理人日志单元和文档管理单元,其中用户管理单元用于实现用户权限赋予;所述管理人日志单元用于实现值班日志记录;所述文档管理单元用于实现系统数据记录。Further, the management module includes a user management unit, a manager log unit and a document management unit, wherein the user management unit is used to implement user authority granting; the manager log unit is used to implement duty log recording; the document management unit Used to implement system data logging.
进一步的,利用JavaFX为智能变电站信息异常性检测系统开发图形化操作界面。Further, JavaFX is used to develop a graphical operation interface for the intelligent substation information anomaly detection system.
一种面向轻量级智能变电站信息异常性检测方法,包括如下步骤:A light-weight intelligent substation-oriented information abnormality detection method, comprising the following steps:
系统配置模块解析变电站配置文件,与捕捉的报文配置信息进行比对,同时获取智能变电站全部整帧报文信息;The system configuration module parses the substation configuration file, compares it with the captured message configuration information, and obtains all the entire frame message information of the smart substation;
嗅探模块获取实时流经系统的报文信息,进行筛选、分类和保存;The sniffing module obtains the real-time message information flowing through the system, and performs screening, classification and storage;
检测报警模块接收数据包GOOSE、SMV、MMS,与预先设定的异常规则集进行比对报警;The detection alarm module receives data packets GOOSE, SMV, MMS, and compares and alarms with the preset abnormal rule set;
管理模块进行用户权限管理、值班日志记录和系统数据记录。The management module performs user rights management, duty log recording and system data recording.
一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:A computer device, comprising a memory, a processor and a computer program stored in the memory and running on the processor, the processor implements the following steps when executing the computer program:
系统配置模块解析变电站配置文件,与捕捉的报文配置信息进行比对,同时获取智能变电站全部整帧报文信息;The system configuration module parses the substation configuration file, compares it with the captured message configuration information, and obtains all the entire frame message information of the smart substation;
嗅探模块获取实时流经系统的报文信息,进行筛选、分类和保存;The sniffing module obtains the real-time message information flowing through the system, and performs screening, classification and storage;
检测报警模块接收数据包GOOSE、SMV、MMS,与预先设定的异常规则集进行比对报警;The detection alarm module receives data packets GOOSE, SMV, MMS, and compares and alarms with the preset abnormal rule set;
管理模块进行用户权限管理、值班日志记录和系统数据记录。The management module performs user rights management, duty log recording and system data recording.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
系统配置模块解析变电站配置文件,与捕捉的报文配置信息进行比对,同时获取智能变电站全部整帧报文信息;The system configuration module parses the substation configuration file, compares it with the captured message configuration information, and obtains all the entire frame message information of the smart substation;
嗅探模块获取实时流经系统的报文信息,进行筛选、分类和保存;The sniffing module obtains the real-time message information flowing through the system, and performs screening, classification and storage;
检测报警模块接收数据包GOOSE、SMV、MMS,与预先设定的异常规则集进行比对报警;The detection alarm module receives data packets GOOSE, SMV, MMS, and compares and alarms with the preset abnormal rule set;
管理模块进行用户权限管理、值班日志记录和系统数据记录。The management module performs user rights management, duty log recording and system data recording.
与现有技术相比,本发明具有如下有益效果:结合当前智能变电站配置文件对智能变电站系统的信息异常检测报警,反馈信息运行状态,实现了异常信息的多样性分类记录,能够协助运维工作人员进行在线分析、故障定以及事后对该类异常信息的总结归纳,为运维人员提供有意义、有规律的信息总结,为未来异常性信息安全检测、修复提供一个有力的基础技术支持,在工程上具有一定的应用价值。Compared with the prior art, the present invention has the following beneficial effects: combined with the current smart substation configuration file, the information abnormality detection and alarm of the smart substation system can be fed back, and the information operation status can be fed back, so as to realize the diverse classification and recording of abnormal information, and assist the operation and maintenance work. Personnel conduct online analysis, fault determination and post-event summary of such abnormal information, provide operation and maintenance personnel with meaningful and regular information summaries, and provide a strong basic technical support for future abnormal information security detection and repair. It has certain application value in engineering.
附图说明Description of drawings
图1为系统整体设计框架图;Figure 1 is a frame diagram of the overall design of the system;
图2为系统主界面图;Fig. 2 is the main interface diagram of the system;
图3为系统模块界面图;Figure 3 is a system module interface diagram;
图3(a)为SCD配置文件导入解析图,图3(b)为嗅探模块界面图,图3(c)为异常报文具体信息图,图3(d)为用户管理图;Figure 3(a) is the import analysis diagram of the SCD configuration file, Figure 3(b) is the interface diagram of the sniffing module, Figure 3(c) is the specific information diagram of the abnormal message, and Figure 3(d) is the user management diagram;
图4系统登录配置图Figure 4 System login configuration diagram
图4(a)为登录界面图,图4(b)为配置成功界面图;Figure 4(a) is a login interface diagram, and Figure 4(b) is a configuration success interface diagram;
图5为系统异常检测报警图Figure 5 is a system abnormality detection alarm diagram
图5(a)为GOOSE报文状态改变检测报警图,图5(b)为GOOSE报文中断检测报警图,图5(c)为GOOSE报文重启检测报警图,图5(d)为SMV报文中断异常检测报警图,图5(e)为SMV丢失异常检测报警图,图5(f)为SMV非同步异常检测报警图,图5(g)为系统检测异常文档图。Figure 5(a) is the alarm diagram of GOOSE message state change detection, Figure 5(b) is the alarm diagram of GOOSE message interruption detection, Figure 5(c) is the alarm diagram of GOOSE message restart detection, and Figure 5(d) is SMV Figure 5(e) is the alarm map of SMV loss abnormal detection, Figure 5(f) is the alarm map of SMV asynchronous abnormal detection, and Figure 5(g) is the system detection abnormal document map.
具体实施方式Detailed ways
为进一步阐述本发明所采取的技术手段及其效果,以下结合实施例和附图对本发明作进一步地说明。可以理解的是,此处所描述的具体实施方式仅仅用于解释本发明,而非对本发明的限定。In order to further illustrate the technical means adopted by the present invention and its effects, the present invention will be further described below with reference to the embodiments and accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
本发明提供的智能变电站信息异常性检测系统,包括系统配置模块、嗅探模块、检测报警模块和管理模块,其中:The intelligent substation information anomaly detection system provided by the present invention includes a system configuration module, a sniffing module, a detection alarm module and a management module, wherein:
所述系统配置模块包括智能变电站SCD文件的导入解析单元和监听网卡单元。The system configuration module includes an import parsing unit and a monitoring network card unit for the SCD file of the smart substation.
所述智能变电站SCD文件的导入解析单元用于解析当前智能变电站配置文件,和捕捉到的报文配置信息进行比对。The import parsing unit of the SCD file of the smart substation is used to parse the current smart substation configuration file and compare it with the captured message configuration information.
本发明中,智能变电站SCD文件的导入解析功能是智能变电站的配置文件导入,检测系统解析当前配置文件,以便于检测报警模块的正常使用。由于智能变电站SCD配置文件是用SCL语言编写的,它在语法上符合XML语言,所以要对SCD文件进行解析,才可以进行报文内容配置的检测,本发明利用DOM4J库解析配制文件,利用SAXReader.read(xmlSource)()读取XML源的文档;Document.getRootElement()得到的XML的根元素,利用Element.node(index)获得在元素特定索引XML节点,利用Element.attributes()获取一个元素的所有属性。从而得到系统所需要的全部节点信息,和捕捉的报文配置信息进行一一比对。In the present invention, the import and analysis function of the SCD file of the smart substation is to import the configuration file of the smart substation, and the detection system analyzes the current configuration file to facilitate the normal use of the detection and alarm module. Since the SCD configuration file of the smart substation is written in the SCL language, it conforms to the XML language in syntax, so the SCD file needs to be parsed to detect the configuration of the message content. The present invention uses the DOM4J library to parse the configuration file, and uses the SAXReader .read(xmlSource)() reads the XML source document; Document.getRootElement() gets the root element of XML, uses Element.node(index) to get the XML node at the element-specific index, and uses Element.attributes() to get an element of all properties. Thereby, all the node information required by the system is obtained, and a one-to-one comparison is made with the captured message configuration information.
所述监听网卡单元用于获取流经智能变电站全部整帧报文信息。The monitoring network card unit is used to obtain all the whole frame message information flowing through the smart substation.
根据本发明,在默认情况下网卡设备会提前分析流经的报文,只有目的地址是本地的才接受,而其他的则一律丢弃;在混合模式下,只要经过网卡,无论报文地址、格式、目的地址,凡是流经该网卡都会被接收,所以网络适配器需要设置成混杂模式,以便获取全部整帧报文信息。According to the present invention, by default, the network card device will analyze the passing packets in advance, and only accept the destination address if the destination address is local, while all others will be discarded. , the destination address, all flow through the network card will be received, so the network adapter needs to be set to promiscuous mode in order to obtain all the whole frame message information.
所述嗅探模块用于截获内容有报文appid、源地址、目的地址和侦测时间,方便运维人员在线观测信息数据。The sniffing module is used for intercepting the contents of the message appid, source address, destination address and detection time, which is convenient for operation and maintenance personnel to observe the information data online.
所述嗅探模块还用于保存实时流经系统的信息,当运维人员需要参考归总当前数据信息时,可以按下相应按钮,实现该功能,按需保存的功能可以减小内存压力。The sniffing module is also used to save the information flowing through the system in real time. When the operation and maintenance personnel need to refer to and summarize the current data information, they can press the corresponding button to realize this function, and the function of saving on demand can reduce the memory pressure.
同时,该模块将嗅探到的报文信息按照当前智能变电站系统appid进行筛选,之后按照时间统计分类,这样运维观测人员可以选择具体某一设备,重点检测该设备各类报文流量,从而能对系统报文信息深入解析。所述嗅探模块启动同时,系统实时计数报文数量,并且以折线图的形式在主页面显示。At the same time, the module filters the sniffed packet information according to the current smart substation system appid, and then categorizes it according to time statistics, so that operation and maintenance observers can select a specific device and focus on detecting various packet traffic of the device, thereby It can deeply analyze the system message information. When the sniffing module is activated, the system counts the number of packets in real time and displays them on the main page in the form of a line graph.
所述检测报警模块包括GOOSE报警单元、SMV报警单元和MMS报警单元,用于接收数据包GOOSE、SMV、MMS,并与预先设定的异常规则集进行比对,当数据包与某个规则相符的时候,才会报警记录日志;若数据包与任意一条规则都不匹配时,它将会被丢弃,不会在整个系统留下任何记录,这样可以减轻整体系统数据存储压力,避免浪费存储资源。The detection and alarm module includes a GOOSE alarm unit, an SMV alarm unit and an MMS alarm unit, which are used to receive data packets GOOSE, SMV, and MMS, and compare them with a preset abnormal rule set. When the data packets conform to a certain rule If the data packet does not match any of the rules, it will be discarded and no records will be left in the entire system, which can reduce the overall system data storage pressure and avoid wasting storage resources. .
所述GOOSE报警单元包括GOOSE报文格式和配置错误检测子单元、GOOSE报文状态变化检测子单元、GOOSE报文中断检测子单元和GOOSE报文测试状态检测子单元。The GOOSE alarm unit includes a GOOSE message format and configuration error detection subunit, a GOOSE message state change detection subunit, a GOOSE message interruption detection subunit, and a GOOSE message test state detection subunit.
所述SMV报警单元包括SMV报文格式和配置错误检测子单元、SMV报文中断和抖动检测子单元、SMV报文不同步检测子单元和SMV报文品质因数变化检测子单元。The SMV alarm unit includes a SMV message format and configuration error detection subunit, an SMV message interruption and jitter detection subunit, an SMV message asynchrony detection subunit, and an SMV message quality factor change detection subunit.
所述MMS报文报警单元包括MMS报文格式错误检测子单元。The MMS message alarm unit includes a MMS message format error detection subunit.
运维人员可以按照报文APPID、MAC、错误类型、侦测时间等多种排序对异常信息进行查看,为异常统计和分析提供了许多便捷性,方便运维人员快速定位异常。运维人员对当前异常信息结合SCD文件解析内容进行查看和处理后,可以给出处理意见和系统记录,方便其他运维人员汇总分析。所述模块开启时,系统主界面以扇形统计图形式对检测报警信息进行实时分类记录以及对报警处理进度实时记录。The operation and maintenance personnel can view the abnormal information according to the packet APPID, MAC, error type, detection time, etc., which provides a lot of convenience for abnormal statistics and analysis, and facilitates the operation and maintenance personnel to quickly locate the abnormality. After viewing and processing the current abnormal information combined with the parsed content of the SCD file, the operation and maintenance personnel can provide processing opinions and system records, which are convenient for other operation and maintenance personnel to summarize and analyze. When the module is turned on, the main interface of the system performs real-time classification and recording of the detection alarm information and real-time recording of the alarm processing progress in the form of a fan-shaped statistical chart.
所述管理模块包括用户管理单元、管理人日志单元和文档管理单元。The management module includes a user management unit, a manager log unit and a document management unit.
所述用户管理单元就是对用户权限的赋予,admin权限最高,可以执行本系统全部功能,可以新增用户,赋予不同的用户属性;user不能修改其他用户名和密码,但是可以使用嗅探、检测和意见管理功能;guest只有浏览功能,不能操作系统。所述管理人日志单元用于实现正常运维工作人员的值班日志填写,他人不能对管理人日志进行随意篡改和删除。所述文档管理单元用于实现对系统的数据保存,查看数据文件。The user management unit is the granting of user rights, admin has the highest rights, can perform all functions of the system, can add new users, and assign different user attributes; user cannot modify other user names and passwords, but can use sniffing, detection and Opinion management function; guest only has browsing function, not operating system. The administrator log unit is used to fill in the on-duty log of the normal operation and maintenance staff, and others cannot tamper with and delete the administrator log at will. The document management unit is used to save data to the system and view data files.
实施例Example
为了验证本发明方案的有效性,进行如下仿真实验。In order to verify the effectiveness of the scheme of the present invention, the following simulation experiments are carried out.
利用JavaFX为智能变电站信息异常检测系统开发了图形化操作界面,通过图形化界面的简单操作可以完成配置系统文件和参数,开启/关闭检测(包括嗅探模式和检测报警模式)以及填写日志与查看系统记录文件的功能。为了使用人员方便操作和查看检测结果,在各种界面中均按照常用的表现方式选择相应的控件实现对应功能。在系统配置模块里对智能变电站配置文件SCD、网卡模式进行配置,然后开启整个检测系统。智能变电站内部报文被系统捕获后,正常报文可以在嗅探模块作用下实时滚动在监测系统嗅探界面上,异常报文会在检测报警模块中发出警报,记录在管理模块下的异常报文类中,运维工作人员可以实时查看报文异常信息,也可以事后离线查看。运维工作人员在进行异常处理后会有相应日志记录人员动作。Using JavaFX to develop a graphical operation interface for the intelligent substation information anomaly detection system, through the simple operation of the graphical interface, you can complete the configuration of system files and parameters, enable/disable detection (including sniffing mode and detection alarm mode), and fill in logs and view. The function of the system log file. In order to facilitate the user to operate and view the detection results, in various interfaces, the corresponding controls are selected according to the commonly used expressions to realize the corresponding functions. Configure the smart substation configuration file SCD and network card mode in the system configuration module, and then start the entire detection system. After the internal packets of the smart substation are captured by the system, the normal packets can be scrolled on the sniffing interface of the monitoring system in real time under the action of the sniffing module, and the abnormal packets will be alarmed in the detection and alarm module, and recorded in the abnormal report under the management module. In the text category, operation and maintenance staff can view abnormal packet information in real time, and can also view it offline afterward. The operation and maintenance staff will have corresponding logs to record the actions of the staff after handling exceptions.
测试系统的运行环境是在windows中安装java develop toolkit(JDK)1.8,将jdk附带的runtime environment(JRE)的二进制文件目录(/bin)配置在系统环境变量里,将数据包抓取中间件Jpcap的动态链接库(DLL)及JAVA类库(JAR)集成到该JDK中。硬件配置采用8G内存,500G硬盘,i5-10210UCPU。The running environment of the test system is to install java develop toolkit (JDK) 1.8 in windows, configure the binary file directory (/bin) of the runtime environment (JRE) attached to jdk in the system environment variable, and set the packet capture middleware Jpcap The dynamic link library (DLL) and JAVA class library (JAR) are integrated into the JDK. The hardware configuration adopts 8G memory, 500G hard disk, i5-10210UCPU.
在智能变电站实验系统正常运行时,基本不会产生异常数据。在本发明的系统的性能及其功能测试中,使用NPI-801测试工具,它可以模拟真实状况中单路或者多路的GOOSE、SMV报文的发送功能及其GOOSE报文接收功能。测试人员根据自己的需要可以选择组合一些报文状态,从而可以模拟真实情况下的各种事件以及报文发生异常时的状况,但是与实际智能变电站信息系统相比,信息流较为简单,数据量较少。When the intelligent substation experimental system is running normally, no abnormal data will be generated. In the performance and function test of the system of the present invention, the NPI-801 test tool is used, which can simulate the sending function of single-channel or multi-channel GOOSE and SMV messages and the GOOSE message receiving function in the real situation. Testers can choose to combine some message states according to their own needs, so as to simulate various events in real situations and the situation when the message is abnormal, but compared with the actual smart substation information system, the information flow is relatively simple, and the amount of data less.
(1)系统整体模块设计(1) The overall module design of the system
该检测系统由一个主界面及其4个窗口界面组成,分别为:系统配置界面,嗅探模式工作界面,检测报警工作界面和管理界面。通过图形化界面的简单操作可以完成配置系统参数,开启/关闭检测(包括嗅探模式和检测报警模式)以及填写处理意见的功能。在各种界面中均按照常用的表现方式选择相应的控件实现对应功能,为了使用人员方便操作和查看检测结果,在实施例中利用JavaFX为智能变电站网络异常检测功能开发了图形化操作界面应用软件。JavaFX是JAVA为图形界面提供的一组新型工具包,包含了窗口、标签、按钮、文本框、密码框等很多内置控件,可以很好地兼容跨平台。整个程序显示窗口利用JavaFXScene Builder设计,界面清晰明了,系统整体框如图1所示。The detection system consists of a main interface and four window interfaces, which are: system configuration interface, sniffing mode working interface, detection alarm working interface and management interface. The functions of configuring system parameters, turning on/off detection (including sniffing mode and detection alarm mode) and filling in processing comments can be completed through simple operations on the graphical interface. In various interfaces, the corresponding controls are selected according to the commonly used expressions to realize the corresponding functions. In order to facilitate the user to operate and view the detection results, in the embodiment, JavaFX is used to develop a graphical operation interface application software for the intelligent substation network abnormality detection function. . JavaFX is a new set of toolkits provided by JAVA for graphical interfaces, including windows, labels, buttons, text boxes, password boxes and many other built-in controls, which are well compatible with cross-platforms. The entire program display window is designed with JavaFXScene Builder, the interface is clear and clear, and the overall frame of the system is shown in Figure 1.
(1)配置界面:使用javafx.stage.FileChooser作为资源管理器的入口,用于选择信息存储路径及scd文件路径;使用javafx.scene.control.TextField控件显示文件路径;使用javafx.scene.control.RadioButton和javafx.scene.control.ChoiceBox两个组件实现网卡选择。(1) Configuration interface: use javafx.stage.FileChooser as the entrance of the resource manager to select the information storage path and scd file path; use the javafx.scene.control.TextField control to display the file path; use javafx.scene.control. Two components, RadioButton and javafx.scene.control.ChoiceBox, implement network card selection.
(2)嗅探模式界面、检测报警模式界面以及管理模式界面均使用javafx.scene.control.RadioButton控件实现用户操作按钮;使用javafx.scene.control.TableColumnu和javafx.scene.control.TableView呈现嗅探模式所检测到的数据内容,用javafx.scene.chart.LineChart、javafx.scene.chart.CategoryAxis、javafx.scene.chart.LineChartNumberAxis进行图形化展示。(2) The sniffing mode interface, detection alarm mode interface and management mode interface all use the javafx.scene.control.RadioButton control to implement user operation buttons; use javafx.scene.control.TableColumnu and javafx.scene.control.TableView to present sniffing The data content detected by the mode is displayed graphically with javafx.scene.chart.LineChart, javafx.scene.chart.CategoryAxis, javafx.scene.chart.LineChartNumberAxis.
(2)系统各模块功能及实现(2) The function and realization of each module of the system
本实施例设计的智能变电站信息异常性检测系统由4个模块构成,主界面如图2所示。The intelligent substation information anomaly detection system designed in this embodiment is composed of four modules, and the main interface is shown in Figure 2.
配置模块设计Configuration module design
在配置模块中,主要分为两个功能,智能变电站配置文件SCD的配置和监听网卡的配置。In the configuration module, it is mainly divided into two functions, the configuration of the smart substation configuration file SCD and the configuration of the monitoring network card.
(1)SCD配置文件的导入解析(1) Import analysis of SCD configuration file
如图3(a)所示,智能变电站SCD文件的导入解析功能是智能变电站的配置文件导入,检测系统解析当前配置文件,以便于检测报警模块的正常使用。As shown in Figure 3(a), the import and analysis function of the SCD file of the smart substation is to import the configuration file of the smart substation, and the detection system parses the current configuration file, so as to detect the normal use of the alarm module.
因为智能变电站SCD配置文件是用SCL语言编写的,它在语法上符合XML语言,所以要对SCD文件进行解析,才可以进行报文内容配置的检测。本实施例使用DOM4J库来实现这一功能。利用SAXReader.read(xmlSource)()读取XML源的文档。Document.getRootElement()得到的XML的根元素。Element.node(index)获得在元素特定索引XML节点。Element.attributes()获取一个元素的所有属性。从而得到系统所需要的节点信息,和捕捉的报文配置信息进行比对。Because the SCD configuration file of the smart substation is written in the SCL language, which conforms to the XML language in syntax, it is necessary to parse the SCD file to detect the configuration of the message content. This embodiment uses the DOM4J library to implement this function. Use SAXReader.read(xmlSource)() to read the document of the XML source. The root element of XML obtained by Document.getRootElement(). Element.node(index) gets the XML node at the element-specific index. Element.attributes() gets all attributes of an element. Thereby, the node information required by the system is obtained and compared with the captured message configuration information.
(2)监听网卡的配置(2) Monitor the configuration of the network card
因为在默认情况下网卡设备会提前分析流经的报文,只有目的地址是本地的才接受,而其他的则一律丢弃;在混合模式下,只要经过网卡,无论报文地址、格式、目的地址,凡是流经该网卡都会被接收,所以网络适配器需要设置成混杂模式,以便获取全部整帧报文信息。Because by default, the network card device will analyze the passing packets in advance, only the destination address is local and will be accepted, while others will be discarded; in mixed mode, as long as the network card passes through, no matter the packet address, format, destination address , everything that flows through the network card will be received, so the network adapter needs to be set to promiscuous mode in order to obtain all the whole frame message information.
嗅探模块设计Sniffing Module Design
在成功配置当前系统SCD文件和选择监听网卡后,就可以点击嗅探模式按钮,系统进入嗅探模式。点击“未启动”按钮就可以从网络上读取数据包信息,并且在窗口滚动实时显示,直到检测人员点击“已启动”按钮终止嗅探模式。After successfully configuring the current system SCD file and selecting the monitoring network card, you can click the sniffing mode button to enter the sniffing mode. Click the "Not Started" button to read the packet information from the network, and scroll the window to display it in real time until the inspector clicks the "Started" button to terminate the sniffing mode.
本系统采用JpcapCaptor.openDevice方法开启监听网,JpcapCaptor.loopPacket方法启动抓包。为loopPacket方法的参数接口PacketReciver设计了两个实现类,分别用于在嗅探模式和警报模式进行数据包的处理。系统将捕捉到报文信息根据以太网类型就可以区别三类报文。不符合三类报文的信息直接丢弃,这样可以避免造成系统数据流量过大,检测时间变长。The system uses the JpcapCaptor.openDevice method to open the monitoring network, and the JpcapCaptor.loopPacket method to start packet capture. Two implementation classes are designed for the parameter interface PacketReciver of the loopPacket method, which are respectively used to process data packets in sniffing mode and alarm mode. The system will capture the message information and distinguish three types of messages according to the Ethernet type. Information that does not conform to the three types of packets is directly discarded, which can avoid excessive system data traffic and longer detection time.
检测系统按下嗅探模式界面开启按键,系统界面显示所路径报文如图3(b)所示,是嗅探模式下的界面截图,截获内容有报文appid、源地址、目的地址、侦测时间等一系列数据信息,这样方便于运维人员在线观测信息数据。嗅探模式下增加可以保存当前流经系统的信息的功能,当运维人员需要参考归总当前数据信息时,可以按下相应按钮,实现该功能,按需保存的功能可以减小内存压力。The detection system presses the start button of the sniffing mode interface, and the system interface displays the path packet as shown in Figure 3(b), which is a screenshot of the interface in sniffing mode. A series of data information such as measurement time is convenient for operation and maintenance personnel to observe information data online. In the sniffing mode, the function of saving the information currently flowing through the system is added. When the operation and maintenance personnel need to refer to and summarize the current data information, they can press the corresponding button to realize this function. The function of saving on demand can reduce the memory pressure.
同时,该模块将嗅探到的报文信息结合当前变电站配置文件的解析结果,系统能够按照智能变电站系统设备appid进行筛选,之后按照时间统计分类,这样运维观测人员可以选择具体某一设备,重点检测该设备各类报文流量,从而能对系统报文信息深入解析。嗅探模块启动同时,系统实时计数报文数量,并且以折线图的形式在主页面显示。At the same time, the module combines the sniffed packet information with the analysis results of the current substation configuration file. The system can filter according to the smart substation system device appid, and then classify it according to time statistics, so that the operation and maintenance observers can choose a specific device. Focus on detecting all kinds of packet traffic of the device, so as to deeply analyze the system packet information. When the sniffing module starts, the system counts the number of packets in real time and displays them on the main page in the form of a line graph.
检测报警模块设计Design of detection and alarm module
检测报警模块:对比接收到的三类数据包GOOSE、SMV、MMS与之前设定的异常规则集以发现网络通信的异常行为。当数据包与某个规则相符的时候,才会报警记录日志;若数据包与任意一条规则都不匹配时,它将会被丢弃,不会在整个系统留下任何记录,这样可以减轻整体系统数据存储压力,避免浪费存储资源。Detection and alarm module: Compare the received three types of data packets GOOSE, SMV, MMS with the abnormal rule set set before to find abnormal behavior of network communication. When the data packet matches a rule, it will alarm and record the log; if the data packet does not match any of the rules, it will be discarded and no records will be left in the entire system, which can relieve the overall system Data storage pressure to avoid wasting storage resources.
(1)GOOSE报警检测单元(1) GOOSE alarm detection unit
GOOSE报文报警检测单元分为4大类,第一类GOOSE报文格式/配置错误检测子单元。在此规则下,定义了报文长度错误GOOSE_LENGTH_ERROR、报文TLV解码错误GOOSE_TLV_ENCODING_ERROR、报文配置错误GOOSE_SCD_MISMATCH。The GOOSE message alarm detection unit is divided into four categories, the first type of GOOSE message format/configuration error detection sub-unit. Under this rule, the message length error GOOSE_LENGTH_ERROR, the message TLV decoding error GOOSE_TLV_ENCODING_ERROR, and the message configuration error GOOSE_SCD_MISMATCH are defined.
第二大类为GOOSE报文状态变化检测子单元。在此规则下定义了GOOSE报文重启GOOSE_RESTART、GOOSE报文虚变GOOSE_STATUS_CHANGE、GOOSE报文乱序GOOSE_DUMMY_CHANGE)。The second category is the GOOSE message state change detection subunit. Under this rule, GOOSE message restart GOOSE_RESTART, GOOSE message dummy GOOSE_STATUS_CHANGE, GOOSE message out of order GOOSE_DUMMY_CHANGE) are defined.
第三大类为GOOSE报文中断检测子单元。在此规则下定义了GOOSE报文中断GOOSE_INTERRUPTED。The third category is the GOOSE message interruption detection subunit. GOOSE message interrupt GOOSE_INTERRUPTED is defined under this rule.
第四大类为GOOSE报文处于测试状态检测子单元,在此规则下定义了GOOSE_TEST,该功能的判断只需要在GOOSE报文格式配置状态都正常时候检测gooseAPDU.test==1就可以判断。The fourth category is the detection sub-unit of the GOOSE message in the test state. GOOSE_TEST is defined under this rule. The judgment of this function only needs to detect gooseAPDU.test==1 when the GOOSE message format configuration state is normal.
(2)SMV报警检测单元(2) SMV alarm detection unit
第一大类SMV报文格式/配置错误报警检测子单元。在此规则下,定义了报文长度错误SMV_LENGTH_ERROR、报文TLV解码错误SMV_TLV_ENCODING_ERROR、报文配置错误SMV_SCD_MISMATCH。The first type of SMV message format/configuration error alarm detection sub-unit. Under this rule, the message length error SMV_LENGTH_ERROR, the message TLV decoding error SMV_TLV_ENCODING_ERROR, and the message configuration error SMV_SCD_MISMATCH are defined.
第二大类SMV报文中断/抖动检测子单元。在此规则下定义了SMV中断SMV_LOST。The second largest type of SMV packet interruption/jitter detection subunit. The SMV interrupt SMV_LOST is defined under this rule.
第三大类SMV报文不同步检测子单元。在此规则下定义了报文不同步异常SMV_MV_NSYNCHRONOUS。The third type of SMV packet asynchronous detection subunit. The message asynchrony exception SMV_MV_NSYNCHRONOUS is defined under this rule.
第四大类SMV报文品质因数变化检测子单元。在此规则下定义了SMV_VALIDITY。The fourth type of SMV packet quality factor change detection subunit. SMV_VALIDITY is defined under this rule.
(3)MMS报文报警检测单元(3) MMS message alarm detection unit
MMS报文格式错误检测子单元,在此规则下定义了MMS报文格式错误MMS_ASN_ERROR。MMS message format error detection sub-unit, MMS message format error MMS_ASN_ERROR is defined under this rule.
点击“未启动”按钮,开启异常检测模式,点击同一按钮,停止检测报警模式。在此过程中,若有异常数据包经过,将会被捕捉记录,生成相应的日志文件。Click the "Not Started" button to start the abnormal detection mode, and click the same button to stop the detection and alarm mode. During this process, if abnormal data packets pass through, they will be captured and recorded, and corresponding log files will be generated.
运维人员可以按照APPID、MAC、错误类型、侦测时间等多种排序对异常信息进行查看,为异常统计和分析提供了许多便捷性,方便运维人员快速定位异常。双击任一异常报文信息,通过给检测表格的行添加监听方法对控件事件进行处理,弹出异常报文的具体信息,如图3(c)所示。The operation and maintenance personnel can view the abnormal information according to APPID, MAC, error type, detection time, etc., which provides a lot of convenience for abnormal statistics and analysis, and facilitates the operation and maintenance personnel to quickly locate the abnormality. Double-click any abnormal message information, process the control event by adding a monitoring method to the row of the detection table, and pop up the specific information of the abnormal message, as shown in Figure 3(c).
运维人员对当前异常信息结合SCD文件解析内容进行查看和处理后,可以给出处理意见和系统记录,方便其他运维人员汇总分析。同时系统主界面以扇形统计图形式对检测报警信息进行分类以及对报警处理进度实时记录。After viewing and processing the current abnormal information combined with the parsed content of the SCD file, the operation and maintenance personnel can provide processing opinions and system records, which are convenient for other operation and maintenance personnel to summarize and analyze. At the same time, the main interface of the system classifies the detection alarm information in the form of a fan-shaped statistical chart and records the progress of the alarm processing in real time.
管理模块设计Management module design
管理模块设计分为三个部分,用户管理单元,管理人日志单元以及文档管理单元。The management module design is divided into three parts, user management unit, administrator log unit and document management unit.
(1)用户管理就是用户权限的赋予和建立。点击设置按钮,可以对不同的运维工作人员设置不同的权限。其中admin权限最高,可以新增用户,赋予不同的用户属性,使用系统的所用功能;user不能修改其他用户名和密码,但是可以使用嗅探、检测和意见管理功能;guest只有浏览功能,不能操作系统。具体操作功能如图3(d)所示。(1) User management is the granting and establishment of user rights. Click the Settings button to set different permissions for different operation and maintenance workers. Among them, admin has the highest authority, and can add new users, assign different user attributes, and use the functions of the system; user cannot modify other user names and passwords, but can use sniffing, detection and opinion management functions; guest only has browsing function, not operating system . The specific operation function is shown in Figure 3(d).
(2)管理人日志就是当前运维工作人员可以记录对报警异常信息的处理结果和方法或者当前值班日志。点击“添加”按钮,填写当前日志,一旦成功提交,无法修改。同时也不能进行空白填写。这样可以防止其他非正常运维工作人员对管理人日志内容进行随意篡改和删除。(2) The manager log is that the current operation and maintenance staff can record the processing results and methods of the abnormal alarm information or the current duty log. Click the "Add" button to fill in the current log. Once submitted successfully, it cannot be modified. Also cannot fill in blanks. This can prevent other abnormal operation and maintenance staff from tampering with and deleting the contents of the administrator log at will.
(3)文档管理可以查阅当前保存的数据文件,这个功能只能是admin来执行,以防止文件内容被删改或移除。点击“查看数据文件”按钮,可以进入数据文件库中,文档中有四个Excel文件,包括用户账号文件user、正常信息文件message、异常信息文件alert和管理人日志文件opinion。这四个文件可以方便其他运维工作人员随时查询工作记录,了解系统运行状态。(3) Document management can check the currently saved data files. This function can only be performed by the admin to prevent the content of the file from being deleted or removed. Click the "View Data File" button to enter the data file library. There are four Excel files in the document, including the user account file user, the normal information file message, the abnormal information file alert and the administrator log file opinion. These four files can facilitate other operation and maintenance staff to query work records at any time to understand the system running status.
user Excel表中定义了用户编号userid、用户账号username、用户密码password,用户角色role。message Excel表中定义了正常信息编号msgid、正常信息id appid、正常信息源IP目的地址mac、正常报文存储路径filepath、正常报文捕获时间time、正常报文类型type。alert Excel表中定义了异常信息编号alertid、异常报文类型alerttype、异常报文捕获时间time、当前异常信息的标注opinion、异常信息源IP目的地址mac、异常信息idappid、异常报文存储路径filepath。opinion Excel表中定义了日志编号opinionid、日志时间time、日志内容content。The user Excel table defines the user ID userid, user account username, user password password, and user role role. The message Excel table defines the normal message number msgid, normal message id appid, normal message source IP and destination address mac, normal message storage path filepath, normal message capture time time, and normal message type type. The alert Excel table defines the exception information number alertid, the exception packet type alerttype, the exception packet capture time time, the current exception information label opinion, the exception information source IP and destination address mac, the exception information idappid, and the exception packet storage path filepath. opinion The log number opinionid, log time and log content are defined in the Excel sheet.
数据库采用基于apache.POI类库,以excel文件作为数据存储介质的自行设计开发的轻量级数据库。数据持久层完整实现了传统数据库基础的增、删、改、查功能,同时便于非专业人员进行数据分析,也弥补了传统数据库需要另外安装部署的问题。The database adopts a self-designed and developed lightweight database based on apache.POI class library and excel file as data storage medium. The data persistence layer fully realizes the basic addition, deletion, modification and query functions of traditional databases, and at the same time facilitates data analysis by non-professionals, and also makes up for the problem that traditional databases need to be installed and deployed separately.
(3)智能变电站信息异常检测系统测试步骤(3) Test steps of intelligent substation information abnormality detection system
第一步运维相关人员登录智能变电站信息异常监测系统需要进行密码登录操作,如图4(a)所示,只有登录成功才可进入系统的主要操作页面。同时不同的用户拥有不同的权限,在这里可以选用admin权限,以获得最大化测试系统功能。若用户名密码不统一,或者无该用户名,无法进入系统。In the first step, the operation and maintenance personnel need to log in with a password to log in to the intelligent substation information abnormality monitoring system, as shown in Figure 4(a). At the same time, different users have different permissions, and admin permissions can be selected here to maximize the functions of the test system. If the user name and password are not the same, or there is no such user name, the system cannot be accessed.
第二步在配置模块中把网卡选择为混合网卡模式,把当前变电站的SCD文件导入到系统中并且正确解析。如图4(b)所示。若当前SCD文件错误或者系统解析SCD文件失败,系统无法进入嗅探和检测模式。The second step is to select the network card as the hybrid network card mode in the configuration module, and import the SCD file of the current substation into the system and parse it correctly. As shown in Figure 4(b). If the current SCD file is incorrect or the system fails to parse the SCD file, the system cannot enter the sniffing and detection mode.
点击“嗅探模式”按钮,在智能变电站系统运行正常状态下,智能变电站信息异常监测系统不会发出警报,嗅探模式窗口会实时显示路经报文信息。Click the "sniffing mode" button, when the intelligent substation system is running normally, the intelligent substation information abnormal monitoring system will not issue an alarm, and the sniffing mode window will display the path message information in real time.
第三步进行典型异常信息检测。点击“检测模式”按钮,系统进入检测功能。The third step is to detect typical abnormal information. Click the "Detection Mode" button, the system enters the detection function.
(4)智能变电站信息异常检测系统测试结果(4) Test results of intelligent substation information abnormality detection system
本实施例用几个典型的异常来测试系统功能,如表1所示。This embodiment uses several typical exceptions to test system functions, as shown in Table 1.
表1 测试用例Table 1 Test Cases
(1)GOOSE报文状态改变(1) GOOSE message status change
在正常发送状态下,改变报文数据集内任何一处内容,GOOSE报文状态就会发生改变,检测结果如图5(a)所示。In the normal sending state, if any content in the message data set is changed, the state of the GOOSE message will change, and the detection result is shown in Figure 5(a).
(2)GOOSE中断状态(2) GOOSE interrupt status
测试原理:在此种情况下,点击报文发送按钮,保证其他配置正确和报文格式正确。将测试软件的停止发送状态按钮按下,则达到GOOSE中断状态异常测试条件。系统检测出该异常信息,发出警报如图5(b)所示。Test principle: In this case, click the message send button to ensure that other configurations are correct and the message format is correct. Press the stop sending state button of the test software to reach the abnormal test condition of GOOSE interrupt state. The system detects the abnormal information and issues an alarm as shown in Figure 5(b).
(3)GOOSE报文重启状态(3) GOOSE message restart status
测试原理:继续按下发送按钮,则GOOSE报文又进入重启测试过程。达到GOOSE重启状态异常测试条件。系统检测出该异常信息,发出警报如图5(c)所示。Test principle: Continue to press the send button, and the GOOSE message will enter the restart test process again. Reached the GOOSE restart state abnormal test conditions. The system detects the abnormal information and issues an alarm as shown in Figure 5(c).
(4)SMV报文中断异常检测(4) SMV message interruption abnormal detection
测试原理:在SMV正常发送的过程中,点击停止发送,就达到SMV中断异常测试条件。系统检测该异常警报信息,发出警报如图5(d)所示。Test principle: In the process of SMV sending normally, click stop sending to reach the SMV interrupt abnormal test condition. The system detects the abnormal alarm information and issues an alarm as shown in Figure 5(d).
(5)SMV报文丢包异常检测(5) Anomaly detection of packet loss in SMV packets
测试原理:在SMV报文发送过程中,点击模拟丢帧模式按钮,丢包异常检测条件达成,测试结果如图5(e)所示。检测系统发出SMV丢包异常警报。Test principle: In the process of sending SMV message, click the button of simulated frame loss mode, the abnormal packet loss detection condition is reached, and the test result is shown in Figure 5(e). The detection system issues an alarm of abnormal SMV packet loss.
(6)SMV非同步异常检测(6) SMV asynchronous anomaly detection
测试过程:在正常发送中将同步域值改变,不为ture即可,则非同步异常测试条件达成。测试结果如图5(f)所示。检测系统发出SMV非同步异常警报。Test process: Change the synchronization domain value during normal transmission, if it is not true, then the asynchronous abnormal test condition is achieved. The test results are shown in Figure 5(f). The detection system issues an SMV asynchronous anomaly alert.
经过验证,测试用例均能通过测试。测试结束后,该系统数据文档记录如下文档如图5(g)所示。系统可以成功记录该系统信息,并且可以根据异常对系统信息人工判断原因。After verification, the test cases can pass the test. After the test, the system data file is recorded as shown in Figure 5(g). The system can successfully record the system information, and can manually judge the cause of the system information according to the abnormality.
综上所述,本发明应用JAVA程序设计语言在Windows平台上开发了智能变电站信息异常检测系统,所述系统包括四大功能模块,即配置模块、嗅探模块、检测报警模块以及管理模块,并对所述智能变电站信息异常监测系统的测试与验证,验证了设计的信息异常规则正确且系统功能有效。To sum up, the present invention uses the JAVA programming language to develop an abnormal information detection system for intelligent substations on the Windows platform. The system includes four functional modules, namely a configuration module, a sniffing module, a detection and alarm module, and a management module. The testing and verification of the intelligent substation information abnormality monitoring system verifies that the designed information abnormality rules are correct and the system functions are effective.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other medium used in the various embodiments provided in this application may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Road (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features It is considered to be the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010508821.1A CN111682642B (en) | 2020-06-06 | 2020-06-06 | Lightweight intelligent substation information abnormality detection system and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010508821.1A CN111682642B (en) | 2020-06-06 | 2020-06-06 | Lightweight intelligent substation information abnormality detection system and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111682642A CN111682642A (en) | 2020-09-18 |
CN111682642B true CN111682642B (en) | 2022-09-27 |
Family
ID=72454334
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010508821.1A Active CN111682642B (en) | 2020-06-06 | 2020-06-06 | Lightweight intelligent substation information abnormality detection system and method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111682642B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112258804A (en) * | 2020-10-21 | 2021-01-22 | 浙江浙能兰溪发电有限责任公司 | Comprehensive analysis fault alarm system based on data packet data comparison |
CN113507460A (en) * | 2021-06-30 | 2021-10-15 | 贵州电网有限责任公司电力科学研究院 | Abnormal message detection method and device, computer equipment and storage medium |
CN113656368B (en) * | 2021-07-29 | 2024-07-23 | 济南浪潮数据技术有限公司 | Cloud platform log processing method and system |
CN113986701A (en) * | 2021-10-20 | 2022-01-28 | 中国铁道科学研究院集团有限公司 | Equipment data processing method and device applied to intelligent traction power transformation system |
CN114301621B (en) * | 2021-11-17 | 2024-06-14 | 北京智芯微电子科技有限公司 | Intelligent transformer substation and network communication safety control method and device thereof |
CN116865932B (en) * | 2023-09-04 | 2023-12-05 | 国网江苏省电力有限公司无锡供电分公司 | Temporary switch box system for transformer substation infrastructure and monitoring method thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103296755A (en) * | 2013-05-10 | 2013-09-11 | 国家电网公司 | Network online monitoring system for transformer substation |
CN107995050A (en) * | 2017-12-29 | 2018-05-04 | 国网安徽省电力有限公司 | Secondary system of intelligent substation process layer communication failure diagnostic system and method |
CN108234237A (en) * | 2017-12-18 | 2018-06-29 | 国网技术学院 | A kind of empty circuit health examination method and system acquired in real time based on interchanger |
-
2020
- 2020-06-06 CN CN202010508821.1A patent/CN111682642B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103296755A (en) * | 2013-05-10 | 2013-09-11 | 国家电网公司 | Network online monitoring system for transformer substation |
CN108234237A (en) * | 2017-12-18 | 2018-06-29 | 国网技术学院 | A kind of empty circuit health examination method and system acquired in real time based on interchanger |
CN107995050A (en) * | 2017-12-29 | 2018-05-04 | 国网安徽省电力有限公司 | Secondary system of intelligent substation process layer communication failure diagnostic system and method |
Also Published As
Publication number | Publication date |
---|---|
CN111682642A (en) | 2020-09-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111682642B (en) | Lightweight intelligent substation information abnormality detection system and method thereof | |
CN106411578B (en) | A kind of web publishing system and method being adapted to power industry | |
US12061703B2 (en) | OpenTelemetry security extensions | |
WO2020233251A1 (en) | Data management method and device | |
Jayathilake | Towards structured log analysis | |
CN112905548B (en) | Security audit system and method | |
US20150213266A1 (en) | Remote enterprise security compliance reporting tool | |
CN109391613A (en) | A kind of intelligent substation method for auditing safely based on SCD parsing | |
EP2671157A1 (en) | Arrangement and method for model-based testing | |
CN111930723A (en) | Scientific and technological achievement data fusion method based on big data | |
CN107241229A (en) | A kind of business monitoring method and device based on interface testing instrument | |
CN112163198B (en) | Host login security detection method, system, device and storage medium | |
CN110661811A (en) | Firewall policy management method and device | |
US20220321602A1 (en) | Frictionless supplementary multi-factor authentication for sensitive transactions within an application session | |
CN114116429B (en) | Abnormal log collection method, device, equipment, medium and product | |
US12001416B1 (en) | Systems and methods for generic data parsing applications | |
CN206948352U (en) | A kind of portable hand-held network patrol device | |
CN117650964A (en) | Intelligent network operation and maintenance management system | |
CN114268569B (en) | Configurable network operation and maintenance acceptance test method and device | |
CN113392079B (en) | Distributed storage cluster log storage optimization method, system and terminal | |
CN108319535A (en) | Terminal O&M auxiliary system | |
Cisco | System Log Management | |
CN116132250A (en) | Operation and maintenance system, method, storage medium, electronic device | |
KR102669475B1 (en) | Data management device, data management method and a computer-readable storage medium for storing data management program | |
KR102656871B1 (en) | Data management device, data management method and a computer-readable storage medium for storing data management program |
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 |