CN106655502B - Method and device for acquiring running state data of power distribution network equipment - Google Patents
Method and device for acquiring running state data of power distribution network equipment Download PDFInfo
- Publication number
- CN106655502B CN106655502B CN201611031739.4A CN201611031739A CN106655502B CN 106655502 B CN106655502 B CN 106655502B CN 201611031739 A CN201611031739 A CN 201611031739A CN 106655502 B CN106655502 B CN 106655502B
- Authority
- CN
- China
- Prior art keywords
- equipment
- mode
- communication
- data
- distribution network
- 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
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000004891 communication Methods 0.000 claims abstract description 186
- 230000008030 elimination Effects 0.000 claims description 5
- 238000003379 elimination reaction Methods 0.000 claims description 5
- 230000009286 beneficial effect Effects 0.000 abstract description 3
- 238000011156 evaluation Methods 0.000 abstract description 3
- 238000005516 engineering process Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 241000283899 Gazella Species 0.000 description 5
- XXCCGRRUBBGZRE-UHFFFAOYSA-N 4-[1-hydroxy-2-(propan-2-ylamino)ethyl]-2-methoxyphenol Chemical compound COC1=CC(C(O)CNC(C)C)=CC=C1O XXCCGRRUBBGZRE-UHFFFAOYSA-N 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000013480 data collection Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- H02J13/0013—
Landscapes
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本发明涉及电力通信技术领域,特别是涉及获取配电网设备运行状态数据的方法和获取配电网设备运行状态数据的装置。The present invention relates to the technical field of electric power communication, in particular to a method for acquiring operation state data of distribution network equipment and a device for acquiring operation state data of distribution network equipment.
背景技术Background technique
电力通信网主要包含主干网通信和配电网通信两个层面,其中配电网通信主要任务是为配网的各种业务提供传输和交换服务,其组网形态包括工业以太网、中低压载波、EPON/GPON、TD-LTE、配网光缆等。随着配用电业务的发展,配电通信网络规模不断扩大,网络的异构性也不断增加,各类通讯设备数量和种类繁多,其中工业以太网常见的厂商包括以MOXA、瑞斯康达、罗杰康、东土科技、华三、卓越等,常用的设备型号包括Gazelle S1006i、Gazelle S1010i、Gazelle S3028i、PT_7710、PT_7728、SICOM3005A、RS900等,载波通信涉及到科大智能厂家的主载波和次载波设备,PON通信涉及到中兴和华为等厂家的设备,TD-LTE涉及到普天230MHZ和1.8GHZ的设备。The power communication network mainly includes two levels: backbone network communication and distribution network communication. The main task of distribution network communication is to provide transmission and switching services for various services of the distribution network. Its networking forms include industrial Ethernet, medium and low voltage carrier waves. , EPON/GPON, TD-LTE, distribution network optical cable, etc. With the development of power distribution business, the scale of power distribution communication network continues to expand, and the heterogeneity of the network continues to increase. The number and variety of various communication devices are various. Among them, common manufacturers of industrial Ethernet include MOXA, Resconda , Luojie Kang, Dongtu Technology, H3C, Zhuoyue, etc. The commonly used equipment models include Gazelle S1006i, Gazelle S1010i, Gazelle S3028i, PT_7710, PT_7728, SICOM3005A, RS900, etc. The carrier communication involves the main carrier and secondary carrier of the intelligent manufacturers of HKUST Carrier equipment, PON communication involves equipment from manufacturers such as ZTE and Huawei, and TD-LTE involves Potevio 230MHZ and 1.8GHZ equipment.
为了保证配电网的正常运行,需定期收集网络中的运行状态数据,以评估配电网的运行状态,然而,由于配电网的复杂性,数据量大、网络节点繁多,并且包括若干不同厂商的设备,在不同厂商设备中对运行状态数据的定义模式不统一,导致数据获取过程的耗时长,数据获取不全等的问题,导致对配电网运行状态的评估的困难重重。In order to ensure the normal operation of the distribution network, it is necessary to collect the operation status data in the network regularly to evaluate the operation status of the distribution network. However, due to the complexity of the distribution network, the amount of data is large, the network nodes are numerous, and include several different For equipment of different manufacturers, the definition mode of operating status data is not uniform in equipment of different manufacturers, which leads to the time-consuming and incomplete data acquisition process, which makes it difficult to evaluate the operating status of the distribution network.
发明内容SUMMARY OF THE INVENTION
基于此,本发明实施例提供了一种获取配电网设备运行状态数据的方法和装置,能够全面有效获取配电网中的运行状态数据。Based on this, the embodiments of the present invention provide a method and apparatus for acquiring operation state data of a distribution network device, which can comprehensively and effectively acquire the operation state data in the distribution network.
本发明一方面提供获取配电网设备运行状态数据的方法,包括:One aspect of the present invention provides a method for obtaining operating status data of distribution network equipment, including:
获取在网的通信设备信息,识别各通信设备的设备类型;Obtain the information of communication devices on the network, and identify the device type of each communication device;
根据设备类型查询预设的通信模式库,确定各通信设备对应的数据通信模式;所述通信模式库中存储有设备类型与数据通信模式的对应关系;Query the preset communication mode library according to the device type, and determine the data communication mode corresponding to each communication device; the communication mode library stores the correspondence between the device type and the data communication mode;
按照对应的数据通信模式获取各通信设备的运行状态数据。Acquire the running status data of each communication device according to the corresponding data communication mode.
本发明另一方面提供一种获取配电网设备运行状态数据的装置,包括:Another aspect of the present invention provides a device for obtaining operating status data of distribution network equipment, including:
设备识别模块,用于获取在网的通信设备信息,识别各通信设备的设备类型;The device identification module is used to obtain the information of the communication devices on the network and identify the device type of each communication device;
通信模式确定模块,用于根据设备类型查询预设的通信模式库,确定各通信设备对应的数据通信模式;所述通信模式库中存储有设备类型与数据通信模式的对应关系;a communication mode determination module, configured to query a preset communication mode library according to the device type, and determine the data communication mode corresponding to each communication device; the communication mode library stores the correspondence between the device type and the data communication mode;
数据获取模块,用于按照对应的数据通信模式获取各通信设备的运行状态数据。The data acquisition module is used for acquiring the running status data of each communication device according to the corresponding data communication mode.
基于上述技术方案,获取在网的通信设备信息并识别各通信设备的设备类型;根据设备类型查询预设的通信模式库,确定各通信设备对应的数据通信模式,所述通信模式库中存储有设备类型与数据通信模式的对应关系;进而按照对应的数据通信模式获取各通信设备的运行状态数据。因此能够全面有效获取配电网中的运行状态数据,进而有利于提高配电网运行状态评估。Based on the above technical solutions, the information of the communication devices on the network is obtained and the device type of each communication device is identified; the preset communication mode library is inquired according to the device type, and the data communication mode corresponding to each communication device is determined, and the communication mode library is stored with The corresponding relationship between the device type and the data communication mode; and then obtain the running status data of each communication device according to the corresponding data communication mode. Therefore, the operation status data in the distribution network can be obtained comprehensively and effectively, which is beneficial to improve the evaluation of the operation status of the distribution network.
附图说明Description of drawings
图1为一实施例的本发明方案的系统环境示意图;1 is a schematic diagram of a system environment of the solution of the present invention according to an embodiment;
图2为一实施例的获取配电网设备运行状态数据的方法的示意性流程图;FIG. 2 is a schematic flowchart of a method for acquiring operating status data of distribution network equipment according to an embodiment;
图3为一实施例的存储获取到的运行状态数据的示意性流程图;FIG. 3 is a schematic flow chart of storing acquired operating status data according to an embodiment;
图4为一实施例的故障中断时间的统计图;FIG. 4 is a statistical diagram of fault interruption time of an embodiment;
图5为一实施例的获取配电网设备运行状态数据的装置的示意性结构图。FIG. 5 is a schematic structural diagram of an apparatus for acquiring operating state data of distribution network equipment according to an embodiment.
具体实施模式specific implementation mode
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. 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.
图1为实现本发明实施例获取配电网设备运行状态数据的方法的系统环境示意图;所述系统包括配网通信运行支撑系统和若干个通信设备,所述通信设备的类型包括以太网设备、PON设备、TD-LTE设备以及载波设备,所述通信设备包括但不限于路由器、交换机、服务器或工作站。1 is a schematic diagram of a system environment for implementing a method for obtaining operation status data of distribution network equipment according to an embodiment of the present invention; the system includes a distribution network communication operation support system and several communication devices, and the types of communication devices include Ethernet devices, PON equipment, TD-LTE equipment and carrier equipment, the communication equipment includes but is not limited to routers, switches, servers or workstations.
其中,所述配网通信运行支撑系统的底层接口支持SNMP(Simple NetworkManagement Protocol,简单网络管理协议)标准、CORBA(Common Object Request BrokerArchitecture,公共对象请求代理体系结构)标准、Telnet(TCP/IP协议族中的一员)标准以及Socket标准。其中,以太网设备和PON设备均支持SNMP标准,因此每个以太网设备和PON设备都包含一个MIB库(管理信息库),用于收集并储存管理信息;在所述MIB库中定义了可以通过SNMP协议进行访问的管理对象的集合,若干管理对象可以树型结构来表示。The underlying interface of the distribution network communication operation support system supports SNMP (Simple Network Management Protocol, Simple Network Management Protocol) standard, CORBA (Common Object Request Broker Architecture, Common Object Request Broker Architecture) standard, Telnet (TCP/IP protocol suite) A member of the) standard and the Socket standard. Among them, both the Ethernet device and the PON device support the SNMP standard, so each Ethernet device and PON device contains a MIB library (management information library) for collecting and storing management information; A collection of management objects accessed through the SNMP protocol, and several management objects can be represented in a tree structure.
由于不同型号设备的MIB库中管理对象及其值的含义可能不同,本发明实施例中,在配网通信运行支撑系统中还为不同型号设备建立一个关联的匹配库,用于存储对应设备的MIB库对管理对象的定义。所述配网通信运行支撑系统中还存储有一种获取配电网设备运行状态数据的装置,该装置可用于实现本发明实施例的获取配电网设备运行状态数据的方法。Since the meanings of the management objects and their values in the MIB libraries of different types of equipment may be different, in the embodiment of the present invention, in the distribution network communication operation support system, an associated matching library is also established for different types of equipment, which is used to store the information of the corresponding equipment. The MIB library defines the management object. The distribution network communication operation support system also stores a device for obtaining the operation state data of the distribution network equipment, and the device can be used to implement the method for obtaining the operation state data of the distribution network equipment according to the embodiment of the present invention.
结合图1及上述对系统环境的说明,以下对获取配电网设备运行状态数据的方法的实施例进行说明。With reference to FIG. 1 and the above description of the system environment, the following describes an embodiment of a method for acquiring operation state data of a power distribution network device.
图2为一实施例的获取配电网设备运行状态数据的方法的示意性流程图;如图2所示,本实施例中的获取配电网设备运行状态数据的方法包括步骤:FIG. 2 is a schematic flow chart of a method for obtaining operation state data of distribution network equipment according to an embodiment; as shown in FIG. 2 , the method for obtaining operation state data of distribution network equipment in this embodiment includes steps:
S11,获取在网的通信设备信息,识别各通信设备的设备类型;S11, acquiring information of communication devices on the network, and identifying the device type of each communication device;
本实施例中,所述通信设备包括但不限于路由器、交换机、服务器或工作站,设备类型包括以太网设备、PON设备、TD-LTE设备以及载波设备等。例如:以太网设备常见的厂商包括以MOXA、瑞斯康达、罗杰康、东土科技、华三、卓越等厂商,典型的设备型号包括GazelleS1006i、Gazelle S1010i、Gazelle S3028i、PT_7710、PT_7728、SICOM3005A、RS900等;载波设备例如科大智能的主载波设备和次载波设备;PON设备例如中兴和华为等厂家的设备,TD-LTE设备例如普天的230MHZ和1.8GHZ的设备。在此不一一列举。In this embodiment, the communication devices include but are not limited to routers, switches, servers, or workstations, and device types include Ethernet devices, PON devices, TD-LTE devices, carrier devices, and the like. For example, common manufacturers of Ethernet equipment include MOXA, Resconda, Roger Kang, Dongtu Technology, H3C, and Zhuoyue. Typical equipment models include GazelleS1006i, Gazelle S1010i, Gazelle S3028i, PT_7710, PT_7728, SICOM3005A , RS900, etc.; carrier equipment such as the main carrier equipment and secondary carrier equipment of Keda Intelligent; PON equipment such as ZTE and Huawei and other manufacturers' equipment, TD-LTE equipment such as Potevio's 230MHZ and 1.8GHZ equipment. Not listed here.
在组网成功后,配网通信运行支撑系统可通过获取在网的通信设备信息,识别各通信设备的设备类型。After successful networking, the distribution network communication operation support system can identify the device type of each communication device by acquiring the information of the communication devices on the network.
S12,根据设备类型查询预设的通信模式库,确定各通信设备对应的数据通信模式;所述通信模式库中存储有设备类型与数据通信模式的对应关系;S12, query a preset communication mode library according to the device type, and determine the data communication mode corresponding to each communication device; the communication mode library stores the correspondence between the device type and the data communication mode;
在一优选实施例中,可预先收集已投入配电网的通信设备的全部类型,为不同类型的通信设备分配对应的数据通信模式;并建立通信模式库,以存储设备类型与数据通信模式的对应关系。In a preferred embodiment, all types of communication devices that have been put into the power distribution network can be collected in advance, and corresponding data communication modes can be assigned to different types of communication devices; and a communication mode library can be established to store device types and data communication modes. Correspondence.
在一优选实施例中,为不同类型的通信设备分配对应的数据通信模式包括:为以太网设备分配SNMP+Telnet的数据通信模式,为PON设备分配SNMP数据通信模式;为TD-LTE设备分配CORBA数据通信模式,为载波设备分配Socket数据通信模式。In a preferred embodiment, allocating corresponding data communication modes for different types of communication devices includes: allocating SNMP+Telnet data communication modes for Ethernet devices, allocating SNMP data communication modes for PON devices; allocating CORBA for TD-LTE devices. Data communication mode, assign Socket data communication mode to the carrier device.
S13,按照对应的数据通信模式获取各通信设备的运行状态数据。S13: Acquire the running state data of each communication device according to the corresponding data communication mode.
在一优选实施方式中,由于以太网设备对应的数据通信模式包括SNMP模式以及Telnet模式,对应的,获取以太网设备的运行状态数据的过程可为:首先按照SNMP模式获取所述以太网设备的运行状态数据;若数据获取失败,再按照Telnet模式获取所述以太网设备的运行状态数据。其中,按照SNMP数据通信模式获取对应的通信设备的运行状态数据的具体过程可包括:利用SNMP接口采集对应的通信设备的MIB库信息;所述MIB库中定义了可通过SNMP进行访问的管理对象,所述管理对象包括运行状态数据;获取与所述通信设备关联的匹配库信息,所述匹配库信息中包括有在所述通信设备的MIB库中对运行状态数据的定义;根据所述匹配库信息从所述MIB库信息中获取所述通信设备的运行状态数据。In a preferred embodiment, since the data communication mode corresponding to the Ethernet device includes the SNMP mode and the Telnet mode, correspondingly, the process of acquiring the operating status data of the Ethernet device may be: first, obtain the data of the Ethernet device according to the SNMP mode. Running state data; if the data acquisition fails, then obtain the running state data of the Ethernet device according to the Telnet mode. Wherein, the specific process of obtaining the operating status data of the corresponding communication device according to the SNMP data communication mode may include: using the SNMP interface to collect the MIB library information of the corresponding communication device; the MIB library defines management objects that can be accessed through SNMP , the management object includes running state data; obtain matching library information associated with the communication device, where the matching library information includes the definition of the running state data in the MIB library of the communication device; according to the matching The library information acquires the running state data of the communication device from the MIB library information.
在另一优选实施方式中,获取与所述通信设备关联的匹配库信息之前,还包括步骤:获取通信设备的型号,分析不同型号的通信设备的MIB库特征;并根据所述MIB库特征为每一个型号的通信设备建立一个关联的匹配库,用于存储对应型号的通信设备的MIB库对运行状态数据的定义。In another preferred embodiment, before acquiring the matching library information associated with the communication device, the method further includes the steps of: acquiring the model of the communication device, analyzing MIB library features of different types of communication devices; and according to the MIB library feature: Each type of communication device establishes an associated matching library for storing the definition of the running state data in the MIB library of the corresponding type of communication device.
上述实施例中,SNMP由一组网络管理的标准组成,基于TCP/IP的应用层管理协议。SNMP管理的网络主要由被管理的设备、SNMP代理及网管系统三部分构成,其中被管理的网络设备都具有各自的管理信息库(MIB)用于支持上层应用收集并储存其管理信息。SNMP V1和SNMP V2把各个设备的数据变量收集在一个大MIB中,而第二代MIB-II发布后,国际互联网工程任务组(The Internet Engineering Task Force,简称IETF)采取了不同的策略,允许发布许多单独的MIB文档,每个文档克定义特定类型设备的数据变量。因此,借助SNMP协议的支持上层网管系统能通过调用公有和私有MIB库获取网路设备的各类运行信息。由于大部分配电网以太交换机、PON设备均具有完整的MIB,而且这些设备的厂商网管功能缺失,软件接口实现技术具有灵活和便捷的优势,因此,配网通信运行支撑系统对所有配电网以太交换机、PON设备运行状态的集成接口主要采用基于MIB库的网管采集方式。因此通过SNMP协议,配网通信运行支撑系统能获取不同厂家不同型号的以太网设备或者PON设备的各种信息;有利于信息获取的全面性。In the above embodiment, SNMP is composed of a set of network management standards, and is an application layer management protocol based on TCP/IP. The network managed by SNMP is mainly composed of three parts: managed devices, SNMP agents and network management systems. The managed network devices all have their own management information bases (MIBs) to support upper-layer applications to collect and store their management information. SNMP V1 and SNMP V2 collect the data variables of each device in one big MIB, and after the release of the second-generation MIB-II, the Internet Engineering Task Force (IETF for short) adopted different strategies to allow Publish a number of separate MIB documents, each of which defines data variables for a specific type of device. Therefore, with the support of the SNMP protocol, the upper-layer network management system can obtain various operating information of network devices by calling public and private MIB libraries. Since most of the distribution network Ethernet switches and PON devices have complete MIBs, and the manufacturers of these devices lack the network management function, the software interface implementation technology has the advantages of flexibility and convenience. Therefore, the distribution network communication operation support system is necessary for all distribution networks. The integrated interface of the running status of the Ethernet switch and PON equipment mainly adopts the network management collection method based on the MIB library. Therefore, through the SNMP protocol, the distribution network communication operation support system can obtain various information of different manufacturers and different types of Ethernet equipment or PON equipment; it is beneficial to the comprehensiveness of information acquisition.
上述实施例中,Telnet是Internet远程登陆服务的标准协议和主要方式,是TCP/IP协议簇中的一部分,它为用户提供了在本地计算机上完成远程主机工作的能力,在终端使用者的电脑上使用telnet程序,用它连接到服务器,终端使用者可以在telnet程序中输入命令,这些命令会在服务器上运行,就像直接在服务器的控制台上输入一样。Telnet定义的接口可用于实现界面终端和面向终端的信息交互。因此基于Telnet,配网通信运行支撑系统能够通过软件手段建立网络虚拟终端NVT(Network Virtual Terminal)与远程的通信设备进行通信,实现各项指标的采集目的。基于Telnet的网管采集方式的优点是具有通用性强、适用网络设备范围广,不过由于Telnet是模拟虚拟终端的操作,当前操作及下一步操作均具有严格的操作序列要求,接口数据采集的效率不高。部分以太网设备对SNMP+MIB库方式都无法支持的情况下可以采用基于Telnet的方式实现设备运行状态的采集。In the above-mentioned embodiment, Telnet is the standard protocol and main mode of Internet remote login service, is a part in the TCP/IP protocol cluster, and it provides the user with the ability to complete the remote host work on the local computer, and the terminal user's computer Use the telnet program on the server, use it to connect to the server, end users can enter commands into the telnet program, and these commands will be run on the server as if they were entered directly on the server's console. The interface defined by Telnet can be used to realize the interface terminal and terminal-oriented information exchange. Therefore, based on Telnet, the distribution network communication operation support system can establish a network virtual terminal NVT (Network Virtual Terminal) by means of software to communicate with remote communication equipment, so as to achieve the purpose of collecting various indicators. The advantages of the Telnet-based network management collection method are that it has strong versatility and is suitable for a wide range of network devices. However, because Telnet simulates the operation of virtual terminals, the current operation and the next operation have strict operation sequence requirements, and the efficiency of interface data collection is not high. high. If some Ethernet devices cannot support the SNMP+MIB library method, the Telnet-based method can be used to collect the device running status.
上述实施例中,CORBA是对象管理组织(OMG)提出的分布式对象计算中间件标准,其面向网管平台的北向接口通常以CORBA技术作为网管采集的主要接口方式,由于这种方式不直接面向设备,具有较高的采集效率及性能可靠性;在具有标准化、可靠网管平台的通信设备供应商通常具有成熟的北向接口,CORBA技术是主要的网管北向通信方式;由于在配电网中以1.8G、230M为主要频段的TD-LTE 4G网络普遍具有网管平台。因此配网通信运行支撑系统能够对所有TD-LTE设备的网络运行状态的集成接口主要采用CORBA技术,对基站、基站控制器、终端实现台帐、运行状态数据等配电网运行状态数据进行自动同步采集。In the above embodiment, CORBA is a distributed object computing middleware standard proposed by the Object Management Group (OMG). Its northbound interface facing the network management platform usually uses CORBA technology as the main interface method for network management collection, because this method is not directly oriented to equipment. , with high collection efficiency and performance reliability; communication equipment suppliers with standardized and reliable network management platforms usually have mature northbound interfaces, and CORBA technology is the main northbound communication method for network management; , 230M is the main frequency band TD-LTE 4G network generally has a network management platform. Therefore, the distribution network communication operation support system can mainly use CORBA technology for the integrated interface of the network operation status of all TD-LTE equipment, and automatically implement the distribution network operation status data such as the base station, base station controller, terminal realization account, and operation status data. Synchronized acquisition.
上述实施例中,SOCKET是以TCP和UDP为主要传输层协议的一种套接字规范,由于套接字屏蔽了底层通信软件和具体操作系统的差异,使得任何两台安装了TCP协议或实现了套接字规范的计算机或虚拟机之间的通信成为了可能。在Windows系统环境下,套接字接口主要有流式套接字、数据报套接字和原始套接字三种。应用程序通过套接字向网络设备的目标IP和指定端口发出请求,服务器使用ServerSocket在指定端口下监听和等待客户发出的连接请求,一旦客户和服务器的之间建立了连接后会话随即产生,并进行数据交互。SOCKET的网管采集方式数据采集的效率不高,仅在其他网管采集方式均不方便实现的情况下才使用,由于载波通信没有专业的厂商网管,其网络运行数据类别和数量都不大。因此,当配网通信运行支撑系统在采用其他网管接口集成技术均难以实现对某些通信设备的数据进行采集的情况下,可采用基于SOCKET的网管采集方式实现对这些通信设备的运行状态数据进行采集。In the above-mentioned embodiment, SOCKET is a socket specification with TCP and UDP as the main transport layer protocols. Since the socket shields the difference between the underlying communication software and the specific operating system, any two computers are installed with the TCP protocol or implemented. Communication between computers or virtual machines that have the socket specification becomes possible. In the Windows system environment, socket interfaces mainly include stream sockets, datagram sockets and raw sockets. The application sends a request to the target IP of the network device and the specified port through the socket. The server uses the ServerSocket to listen and wait for the connection request sent by the client under the specified port. Once the connection between the client and the server is established, the session is generated immediately, and data interaction. SOCKET's network management collection method is not efficient in data collection. It is only used when other network management collection methods are inconvenient to implement. Since there is no professional manufacturer's network management for carrier communication, the types and quantities of network operation data are not large. Therefore, when it is difficult for the distribution network communication operation support system to collect the data of some communication devices by using other network management interface integration technologies, the SOCKET-based network management collection method can be used to realize the operation status data of these communication devices. collection.
在一优选实施例中,在按照对应的数据通信模式获取各通信设备的运行状态数据之后,还可按照各通信设备对应的设备标识,将各通信设备的运行状态数据存储到预设的实时状态表中;所述实时状态表以设备标识为索引;根据所述实时状态表可实时评估配电网运行状态,方便对配电网运行状态的精细化管控。In a preferred embodiment, after the operation state data of each communication device is acquired according to the corresponding data communication mode, the operation state data of each communication device can also be stored in a preset real-time state according to the device identifier corresponding to each communication device. In the table; the real-time status table is indexed by the device identification; according to the real-time status table, the operation status of the distribution network can be evaluated in real time, which facilitates the refined management and control of the operation status of the distribution network.
参考图3所示,在一优选实施例中,可按照如下方式存储获取到的数据,包括步骤:Referring to Figure 3, in a preferred embodiment, the acquired data can be stored as follows, including steps:
首先根据设备标识查询所述实时状态表,检测其中是否有所述通信设备对应的数据记录;若有所述通信设备对应的数据记录,则根据获取到的所述通信设备的运行状态数据更新对应的数据记录;若没有所述通信设备对应的数据记录,在所述实时状态表中插入新的数据记录,以存储对应通信设备的运行状态数据。First, query the real-time status table according to the device identifier to detect whether there is a data record corresponding to the communication device; If there is no data record corresponding to the communication device, insert a new data record into the real-time state table to store the running state data of the corresponding communication device.
在一优选实施例中,所述运行状态数据包括故障中断信息,例如故障起始时间以及故障排除时间。所根据所述实时状态表评估配电网运行状态包括:根据故障中断信息计算配电网中电房的上线率和完好率,具体过程例如:In a preferred embodiment, the operating status data includes failure interruption information, such as failure initiation time and failure removal time. The evaluating the distribution network operating state according to the real-time state table includes: calculating the on-line rate and the intact rate of the power room in the distribution network according to the fault interruption information. The specific process is for example:
设置状态评估的时间周期,例如以一个月为一个统计周期。Set the time period for status evaluation, for example, take one month as a statistical period.
按照所述统计周期从实时状态表中获取相应的故障中断信息,计算各通信设备在设定统计周期内的总中断时长:Obtain the corresponding fault interruption information from the real-time status table according to the statistical period, and calculate the total interruption duration of each communication device within the set statistical period:
SUM(总中断时长)=Tb2+Tc1+Td1+Tf2 (1);SUM (total interruption duration)=T b 2+T c 1+T d 1+T f 2 (1);
其中,参考图4所示,Tb表示起始时间在上一统计周期内、排除时间在本统计周期内的故障所对应的时长,Tc表示起始时间、排除时间均在本统计周期内的故障所对应的时长,Td表示起始时间在本统计周期内、排除时间在下一统计周期内的故障所对应的时长,Tf表示起始时间在上一统计周期内、排除时间在下一统计周期内的故障所对应的时长。图4中的Ta及Te不纳入计算,因为其与本统计周期无关。Among them, as shown in Figure 4, T b represents the time length corresponding to the fault whose starting time is in the previous statistical period and the elimination time is in this statistical period, and T c indicates that the starting time and elimination time are both in this statistical period The duration of the fault corresponding to the fault, T d represents the duration corresponding to the fault whose starting time is in the current statistical period and the elimination time is in the next statistical period, T f means the starting time is in the previous statistical period, and the elimination time is in the next statistical period. The duration corresponding to the fault in the statistical period. Ta and Te in Figure 4 are not included in the calculation because they are not relevant to this statistical period.
进一步的,根据总中断时长计算各通信设备所在电房在所述统计周期内的上线率和完好率:Further, according to the total interruption duration, calculate the online rate and the integrity rate of the power room where each communication device is located within the statistical period:
# #
# #
其中,T表示一个统计周期对应的时长,SUM(在网电房记录数)表示在网运行的电房总数,电房用于安装配电网中的通信设备。Among them, T represents the duration corresponding to a statistical period, and SUM (the number of records in grid power rooms) represents the total number of power rooms running on the grid, and the power rooms are used to install communication equipment in the distribution network.
为了便于说明,本实施例中以电房为统计单位统计上线率和完好率,且上述统计方法中假设每个电房中只有一个对应的通信设备。若一个电房中安装了多个通信设备,则只有当全部通信设备均正常通信时,才表示该电房处于正常运行状态,对应的,统计电房在所述统计周期内的上线率和完好率的计算方法将适应性的调整,将其中的SUM(总中断时间)调整为电房中全部设备的总中断时长。For the convenience of description, in this embodiment, the power room is used as the statistical unit to count the online rate and the intact rate, and the above statistical method assumes that there is only one corresponding communication device in each power room. If multiple communication devices are installed in a power room, the power room is in normal operation only when all the communication devices communicate normally. Correspondingly, the online rate and the integrity of the power room in the statistical period are counted. The calculation method of the rate will be adaptively adjusted, and the SUM (total interruption time) in it will be adjusted to the total interruption time of all equipment in the power room.
通过上述实施例的获取配电网设备运行状态数据的方法,一方面,利用包括SNMP+MIB库、Corba、Telnet、Socket等多种通信模式在内的组合接口,对配电网中的以太网设备、PON设备、TD-LTE设备、载波设备进行运行状态数据采集,能够对配电网中不同类型设备进行运行状态数据同步,并将运行状态数据与设备端口、设备所属的电房进行关联,克服了人工记录运行状态数据产生的信息滞后、不准确、不全面的弊端。另一方面,通过一套上线率和完好率的软件分析算法,可计算出配电网通信设备的上线率和完好率,提高了分析的自动化水平,降低了运维人员的操作复杂度。Through the method for obtaining the operating status data of the distribution network equipment in the above-mentioned embodiment, on the one hand, using the combined interface including the SNMP+MIB library, Corba, Telnet, Socket and other communication modes, the Ethernet in the distribution network is The equipment, PON equipment, TD-LTE equipment, and carrier equipment collect operating status data, which can synchronize the operating status data of different types of equipment in the distribution network, and associate the operating status data with the equipment ports and the electrical room to which the equipment belongs. It overcomes the shortcomings of information lag, inaccuracy and incompleteness caused by manual recording of operating status data. On the other hand, through a set of software analysis algorithms for online rate and integrity rate, the online rate and integrity rate of distribution network communication equipment can be calculated, which improves the automation level of analysis and reduces the operational complexity of operation and maintenance personnel.
需要说明的是,对于前述的各方法实施例,为了简便描述,将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其它顺序或者同时进行。此外,还可对上述实施例进行任意组合,得到其他的实施例。It should be noted that, for the convenience of description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because Certain steps may be performed in other orders or simultaneously in accordance with the present invention. In addition, any combination of the above-mentioned embodiments can also be performed to obtain other embodiments.
基于与上述实施例中的获取配电网设备运行状态数据的方法相同的思想,本发明还提供获取配电网设备运行状态数据的装置,该装置可用于执行上述获取配电网设备运行状态数据的方法。为了便于说明,获取配电网设备运行状态数据的装置实施例的结构示意图中,仅仅示出了与本发明实施例相关的部分,本领域技术人员可以理解,图示结构并不构成对装置的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Based on the same idea as the method for obtaining the operating state data of the distribution network equipment in the above-mentioned embodiments, the present invention also provides a device for obtaining the operating state data of the distribution network equipment, which can be used to execute the above-mentioned obtaining of the operating state data of the distribution network equipment Methods. For the convenience of description, in the schematic structural diagram of the embodiment of the apparatus for obtaining the operating state data of the distribution network equipment, only the part related to the embodiment of the present invention is shown, and those skilled in the art can understand that the illustrated structure does not constitute a reference to the apparatus. By definition, more or fewer components than shown may be included, or some components may be combined, or a different arrangement of components.
图5为本发明一实施例的获取配电网设备运行状态数据的装置的示意性结构图;如图5所示,本实施例的获取配电网设备运行状态数据的装置包括:设备识别模块310、通信模式确定模块320以及数据获取模块330,各模块详述如下:FIG. 5 is a schematic structural diagram of an apparatus for acquiring operation status data of distribution network equipment according to an embodiment of the present invention; as shown in FIG. 5 , the apparatus for acquiring operation status data of distribution network equipment in this embodiment includes: an
所述设备识别模块310,用于获取在网的通信设备信息,识别各通信设备的设备类型;The
所述通信模式确定模块320,用于根据设备类型查询预设的通信模式库,确定各通信设备对应的数据通信模式;所述通信模式库中存储有设备类型与数据通信模式的对应关系;The communication
所述数据获取模块330,用于按照对应的数据通信模式获取各通信设备的运行状态数据。The
需要说明的是,上述示例的获取配电网设备运行状态数据的装置的实施模式中,各模块之间的信息交互、执行过程等内容,由于与本发明前述方法实施例基于同一构思,其带来的技术效果与本发明前述方法实施例相同,具体内容可参见本发明方法实施例中的叙述,此处不再赘述。It should be noted that, in the implementation mode of the apparatus for obtaining operation state data of distribution network equipment in the above example, the information exchange and execution process among the modules are based on the same concept as the foregoing method embodiments of the present invention, and include The technical effect obtained is the same as that of the foregoing method embodiments of the present invention. For specific content, reference may be made to the descriptions in the method embodiments of the present invention, which will not be repeated here.
此外,上述示例的获取配电网设备运行状态数据的装置的实施模式中,各功能模块的逻辑划分仅是举例说明,实际应用中可以根据需要,例如出于相应硬件的配置要求或者软件的实现的便利考虑,将上述功能分配由不同的功能模块完成,即将所述获取配电网设备运行状态数据的装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。其中各功能模既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, in the implementation mode of the apparatus for obtaining the operating state data of the distribution network equipment in the above example, the logical division of each functional module is only an example, and in practical applications, it may be required, for example, due to the configuration requirements of the corresponding hardware or the realization of the software For the sake of convenience, the above-mentioned function distribution is completed by different function modules, that is, the internal structure of the apparatus for obtaining operating status data of distribution network equipment is divided into different function modules to complete all or part of the functions described above. Each function module can be realized in the form of hardware or in the form of software function modules.
本领域普通技术人员可以理解,实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,作为独立的产品销售或使用。所述程序在执行时,可执行如上述各方法的实施例的全部或部分步骤。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-OnlyMemory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。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 completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium as a Standalone product for sale or use. When the program is executed, all or part of the steps in the foregoing method embodiments can be performed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
以上所述实施例仅表达了本发明的几种实施模式,不能理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several implementation modes of the present invention, and should not be construed as limiting the patent scope of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can also be made, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention should be subject to the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611031739.4A CN106655502B (en) | 2016-11-18 | 2016-11-18 | Method and device for acquiring running state data of power distribution network equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611031739.4A CN106655502B (en) | 2016-11-18 | 2016-11-18 | Method and device for acquiring running state data of power distribution network equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106655502A CN106655502A (en) | 2017-05-10 |
CN106655502B true CN106655502B (en) | 2020-06-09 |
Family
ID=58808629
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611031739.4A Active CN106655502B (en) | 2016-11-18 | 2016-11-18 | Method and device for acquiring running state data of power distribution network equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106655502B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107067705A (en) * | 2017-06-12 | 2017-08-18 | 国家电网公司 | Electric network information acquisition method and system based on EPON |
CN110838936B (en) * | 2019-02-21 | 2022-08-12 | 南方电网科学研究院有限责任公司 | A distribution communication network management system and method |
CN110673464B (en) * | 2019-09-27 | 2021-06-01 | 宁波三星医疗电气股份有限公司 | Time synchronization method and device of power acquisition terminal |
CN110944031A (en) * | 2019-10-09 | 2020-03-31 | 广东纬德信息科技有限公司 | Remote control method and system for distribution network encryption terminal |
CN113033613A (en) * | 2021-02-26 | 2021-06-25 | 广东核电合营有限公司 | State display method and device of nuclear power equipment, computer equipment and storage medium |
CN116600153B (en) * | 2023-07-17 | 2024-04-09 | 腾讯科技(深圳)有限公司 | Device management method and device, storage medium and electronic device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104205545A (en) * | 2012-02-10 | 2014-12-10 | 服务器技术股份有限公司 | Systems and methods for configuring a power distribution unit |
CN105338043A (en) * | 2014-08-11 | 2016-02-17 | 国家电网公司 | Electric power system dispatching automatic communication and plant station end online monitoring system |
-
2016
- 2016-11-18 CN CN201611031739.4A patent/CN106655502B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104205545A (en) * | 2012-02-10 | 2014-12-10 | 服务器技术股份有限公司 | Systems and methods for configuring a power distribution unit |
CN105338043A (en) * | 2014-08-11 | 2016-02-17 | 国家电网公司 | Electric power system dispatching automatic communication and plant station end online monitoring system |
Non-Patent Citations (3)
Title |
---|
基于SNMP的智能电网节点设计与管理;敖蕾;《中国优秀硕士学位论文全文数据库,工程科技II辑》;20151015;第20页 * |
敖蕾.基于SNMP的智能电网节点设计与管理.《中国优秀硕士学位论文全文数据库,工程科技II辑》.2015,第20页. * |
通信综合网管监控系统功能实用化应用;付克胜;《电力系统通信》;20091010;第30卷(第204期);第58页 * |
Also Published As
Publication number | Publication date |
---|---|
CN106655502A (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106655502B (en) | Method and device for acquiring running state data of power distribution network equipment | |
CN110661669B (en) | Network topology automatic discovery method of network equipment based on ICMP, TCP and UDP protocols | |
US7620535B2 (en) | Method and apparatus for the simulation of computer networks | |
US9742639B1 (en) | Intelligent network resource discovery and monitoring | |
CN107579876A (en) | A method and device for automatic detection and analysis of asset increment | |
CN110659109B (en) | System and method for monitoring openstack virtual machine | |
CN107508722B (en) | Service monitoring method and device | |
US20150074260A1 (en) | Auto discovery and topology rendering in substation networks | |
CN107979497B (en) | Automatic configuration method and device | |
CN108600049A (en) | A kind of performance measurement method and device of data center network TCP connection | |
CN110912751A (en) | Network equipment topological graph generation method and related device | |
WO2024103783A1 (en) | Dynamic host configuration protocol testing method, electronic device and computer storage medium | |
CN115914033A (en) | Device information monitoring method, device, electronic device and storage medium | |
CN105515825B (en) | A kind of SNMP simulator and its test method for network management volume test | |
CN110839089A (en) | Server positioning method, system, electronic equipment and storage medium | |
CN112884176A (en) | Management system and method | |
CN109981377A (en) | A kind of distributive data center link monitoring method and system | |
CN106502856B (en) | A kind of information processing method and device | |
CN105227375A (en) | A kind of method and system building virtual switch network | |
CN111817865A (en) | Method for monitoring network management equipment and monitoring system | |
CN114584589A (en) | A Realization Method for Rapid Scanning to Discover Resources and Rapid Monitoring | |
CN113722256B (en) | Functional control system and method for communication manager based on plug-in | |
CN113709210A (en) | Device discovery method, device, system, electronic device and storage medium | |
CN115499333A (en) | Method, system, storage medium and electronic device for determining association relationship | |
CN115118619A (en) | Network monitoring method, device, electronic device, medium and program product |
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 |