[go: up one dir, main page]

CN110347756A - The method and apparatus of secondary device storage processing - Google Patents

The method and apparatus of secondary device storage processing Download PDF

Info

Publication number
CN110347756A
CN110347756A CN201910626173.7A CN201910626173A CN110347756A CN 110347756 A CN110347756 A CN 110347756A CN 201910626173 A CN201910626173 A CN 201910626173A CN 110347756 A CN110347756 A CN 110347756A
Authority
CN
China
Prior art keywords
secondary device
data
type
equipment
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910626173.7A
Other languages
Chinese (zh)
Inventor
肖永立
蔡庆
郑同伟
孙军
段文洁
王雪军
邵晨
刘松
见伟
李栋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zhongtai Huadian Technology Co Ltd
State Grid Beijing Electric Power Co Ltd
State Grid Corp of China SGCC
Original Assignee
Beijing Zhongtai Huadian Technology Co Ltd
State Grid Beijing Electric Power Co Ltd
State Grid Corp of China SGCC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zhongtai Huadian Technology Co Ltd, State Grid Beijing Electric Power Co Ltd, State Grid Corp of China SGCC filed Critical Beijing Zhongtai Huadian Technology Co Ltd
Priority to CN201910626173.7A priority Critical patent/CN110347756A/en
Publication of CN110347756A publication Critical patent/CN110347756A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/285Clustering or classification
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

This application discloses a kind of method and apparatus of secondary device storage processing.This method comprises: being classified to obtain different types of secondary device to the secondary device in substation;Model foundation is carried out to each type of secondary device, wherein the corresponding model of each type includes at least: indicating the part of the part of the network information of the type secondary device, the hardware configuration for indicating the type secondary device;According to established model creation data-storage system, wherein the data-storage system is used to save the data of the secondary device in the substation.By the application, solving enterprise-level relevant database in the related technology has that memory capacity is small, scalability is poor when storing secondary device data.

Description

二次设备存储处理的方法和装置Method and device for storage processing of secondary equipment

技术领域technical field

本申请涉及电力系统中智能变电站设备监测领域,具体而言,涉及一种二次设备存储处理的方法及处理器和存储介质。The present application relates to the field of intelligent substation equipment monitoring in power systems, and in particular, to a method, processor and storage medium for storage and processing of secondary equipment.

背景技术Background technique

变电站二次设备作为对系统监视和控制的重要设备,其自身健康状态的好坏直接关系电网的安全稳定。因此,需要对变电站二次设备进行状态评价,及时发现设备缺陷,减少事故损失,如依据继电保护评价导则等规范进行人工评测等。The secondary equipment of the substation is an important equipment for monitoring and controlling the system, and its own health status is directly related to the security and stability of the power grid. Therefore, it is necessary to evaluate the status of the secondary equipment of the substation, find equipment defects in time, and reduce accident losses, such as manual evaluation according to the relay protection evaluation guidelines and other specifications.

目前针对电网二次设备的数据分析研究工作包括:应用马尔可夫(Markov)法对继电保护设备进行可靠性分析;应用概率法对继电保护装置建立概率模型分析;应用故障树法对变电站通信系统的可靠性进行评估;基于支持向量机进行微机保护装置状态评估;基于贝叶斯网络进行二次设备状态评估等。At present, the data analysis and research work for the secondary equipment of the power grid includes: using the Markov method to analyze the reliability of the relay protection equipment; using the probability method to establish a probabilistic model analysis of the relay protection device; The reliability of the communication system is evaluated; the state evaluation of the microcomputer protection device based on the support vector machine; the state evaluation of the secondary equipment based on the Bayesian network, etc.

上述研究工作都是选择某种机器学习算法,在单机环境下利用某方面的少量数据和信息开展的。然而,近设年来随着智能电网建设的深入,备监测的广度和深度不断加强,智能变电站二次设备的PMS、OMS、监控、缺陷记录等各类数据积累下来,逐渐构成全景特征的二次设备大数据。The above research work is carried out by selecting a certain machine learning algorithm and using a small amount of data and information in a single machine environment. However, with the deepening of smart grid construction in recent years, the breadth and depth of equipment monitoring has been continuously strengthened, and various data such as PMS, OMS, monitoring, and defect records of secondary equipment in smart substations have been accumulated, gradually forming a secondary feature of the panorama. Device big data.

目前二次设备数据主要采用企业级关系型数据库进行存储。企业级关系型数据库在存储二次设备数据时,存在存储容量小、扩展性差的问题,随着日积月累的数据的激增,关系型数据库很难在不停止服务的情况下持续满足存储和高可用性支持。一些研究通过将数据进行纵向拆分,不同的主题内容分配至不同的库中的做法,在一定程度上缓解了系统扩展问题,但是目前的状况是,即使同一主题的数据,也无法在单个库中存储,因此系统的水平扩展问题仍无法解决。At present, secondary equipment data is mainly stored in enterprise-level relational databases. Enterprise-level relational databases have the problems of small storage capacity and poor scalability when storing secondary device data. With the surge of accumulated data over time, it is difficult for relational databases to continuously meet storage and high availability support without stopping services. . Some studies have alleviated the problem of system expansion to a certain extent by splitting the data vertically and assigning different themes to different databases. However, the current situation is that even the data of the same theme cannot be stored in a single database. Therefore, the horizontal expansion problem of the system cannot be solved.

针对相关技术中企业级关系型数据库在存储二次设备数据时,存在存储容量小、扩展性差的问题,目前尚未提出有效的解决方案。Aiming at the problems of small storage capacity and poor scalability when storing secondary device data in the enterprise-level relational database in the related art, no effective solution has been proposed yet.

发明内容SUMMARY OF THE INVENTION

本申请提供一种二次设备存储处理的方法和装置,以解决相关技术中企业级关系型数据库在存储二次设备数据时,存在存储容量小、扩展性差的问题。The present application provides a method and device for secondary device storage processing, so as to solve the problems of small storage capacity and poor scalability when enterprise-level relational databases store secondary device data in the related art.

根据本申请的一个方面,提供了一种二次设备存储处理的方法。该方法包括:对变电站中的二次设备进行分类得到不同类型的二次设备;对每种类型的二次设备进行模型建立,其中,所述每种类型对应的模型至少包括:表示该类型二次设备的网络信息的部分、表示该类型二次设备的硬件结构的部分;根据建立好的模型创建数据存储系统,其中,所述数据存储系统用于保存所述变电站中的二次设备的数据。According to one aspect of the present application, a method for storage processing of a secondary device is provided. The method includes: classifying secondary equipment in a substation to obtain different types of secondary equipment; building a model for each type of secondary equipment, wherein the model corresponding to each type at least includes: representing the type two The part of the network information of the secondary equipment, the part representing the hardware structure of the secondary equipment of this type; the data storage system is created according to the established model, wherein the data storage system is used to save the data of the secondary equipment in the substation .

可选的,所述二次设备的类型包括以下至少之一:继电保护类设备、自动化类设备、计算机设备、电源类设备。Optionally, the type of the secondary equipment includes at least one of the following: relay protection equipment, automation equipment, computer equipment, and power supply equipment.

可选的,对每种类型的二次设备进行模型建立包括:在所述模型中建立存储所述二次设备的整体属性的第一数据结构;在所述模型中建立存储所述二次设备的每个模块的模块属性的第二数据结构,其中,所述模块为所述二次设备中运行预定功能的软件部分和/或硬件部分;在所述模型中建立存储所述二次设备的网络信息的第三数据结构。Optionally, establishing a model for each type of secondary equipment includes: establishing a first data structure that stores the overall attributes of the secondary equipment in the model; establishing and storing the secondary equipment in the model. The second data structure of the module attribute of each module of A third data structure for network information.

可选的,使用所述第一数据结构和所述第二数据结构存储的信息均包括以下至少之一:台账、运行、缺陷、结构特征、运行环境、关联设备。Optionally, the information stored using the first data structure and the second data structure includes at least one of the following: ledger, operation, defect, structural feature, operating environment, and associated equipment.

可选的,所述网络信息包括网络拓扑信息。Optionally, the network information includes network topology information.

可选的,使用所述网络拓扑信息的第三数据结构存储的信息包括以下至少之一:电源信息、通讯链路信息、通讯接口信息、对盯信息。Optionally, the information stored using the third data structure of the network topology information includes at least one of the following: power supply information, communication link information, communication interface information, and alignment information.

可选的,创建完成的所述数据存储系统包括多级分区,其中,所述多级分区是根据所述二次设备的状态评价创建的。Optionally, the created data storage system includes multi-level partitions, wherein the multi-level partitions are created according to the state evaluation of the secondary device.

可选的,所述多级分区包括三级分区,其中,所述三级分区中的第一级分区是根据状态评价时间创建的,所述三级分区中的第二级分区是根据该二级设备对应的变电站的标识信息创建的,所述三级分区是根据所述二级设备的标识信息创建的。Optionally, the multi-level partition includes a three-level partition, wherein the first-level partition in the three-level partition is created according to the state evaluation time, and the second-level partition in the three-level partition is created according to the two-level partition. The identification information of the substation corresponding to the first-level equipment is created, and the third-level partition is created according to the identification information of the second-level equipment.

根据本申请的另一方面,提供了一种二次设备存储处理的装置。该装置包括:分类单元,用于对变电站中的二次设备进行分类得到不同类型的二次设备;建模单元,用于对每种类型的二次设备进行模型建立,其中,所述每种类型对应的模型至少包括:表示该类型二次设备的网络信息的部分、表示该类型二次设备的硬件结构的部分;创建单元,用于根据建立好的模型创建数据存储系统,其中,所述数据存储系统用于保存所述变电站中的二次设备的数据。According to another aspect of the present application, an apparatus for storing and processing a secondary device is provided. The device includes: a classification unit for classifying secondary equipment in a substation to obtain different types of secondary equipment; a modeling unit for establishing a model for each type of secondary equipment, wherein each type of secondary equipment is The model corresponding to the type at least includes: a part representing the network information of the type of secondary device, a part representing the hardware structure of the type of secondary device; a creation unit for creating a data storage system according to the established model, wherein the said The data storage system is used to save the data of the secondary equipment in the substation.

可选的,所述二次设备的类型包括以下至少之一:继电保护类设备、自动化类设备、计算机设备、电源类设备。Optionally, the type of the secondary equipment includes at least one of the following: relay protection equipment, automation equipment, computer equipment, and power supply equipment.

可选的,所述建模单元包括:第一建立模块,用于在所述模型中建立存储所述二次设备的整体属性的第一数据结构;第二建立模块,用于在所述模型中建立存储所述二次设备的每个模块的模块属性的第二数据结构,其中,所述模块为所述二次设备中运行预定功能的软件部分和/或硬件部分;第三建立模块,用于在所述模型中建立存储所述二次设备的网络信息的第三数据结构。Optionally, the modeling unit includes: a first establishment module for establishing a first data structure for storing the overall attributes of the secondary device in the model; a second establishment module for establishing in the model Establish a second data structure that stores the module attributes of each module of the secondary device, wherein the module is a software part and/or hardware part that runs a predetermined function in the secondary device; the third establishes a module, A third data structure for storing network information of the secondary device is established in the model.

可选的,使用所述第一数据结构和所述第二数据结构存储的信息均包括以下至少之一:台账、运行、缺陷、结构特征、运行环境、关联设备。Optionally, the information stored using the first data structure and the second data structure includes at least one of the following: ledger, operation, defect, structural feature, operating environment, and associated equipment.

可选的,所述网络信息包括网络拓扑信息。Optionally, the network information includes network topology information.

可选的,使用所述网络拓扑信息的第三数据结构存储的信息包括以下至少之一:电源信息、通讯链路信息、通讯接口信息、对盯信息。Optionally, the information stored using the third data structure of the network topology information includes at least one of the following: power supply information, communication link information, communication interface information, and alignment information.

可选的,创建完成的所述数据存储系统包括多级分区,其中,所述多级分区是根据所述二次设备的状态评价创建的。Optionally, the created data storage system includes multi-level partitions, wherein the multi-level partitions are created according to the state evaluation of the secondary device.

可选的,所述多级分区包括三级分区,其中,所述三级分区中的第一级分区是根据状态评价时间创建的,所述三级分区中的第二级分区是根据该二级设备对应的变电站的标识信息创建的,所述三级分区是根据所述二级设备的标识信息创建的。Optionally, the multi-level partition includes a three-level partition, wherein the first-level partition in the three-level partition is created according to the state evaluation time, and the second-level partition in the three-level partition is created according to the two-level partition. The identification information of the substation corresponding to the first-level equipment is created, and the third-level partition is created according to the identification information of the second-level equipment.

本申请实施例提供的二次设备存储处理的方法,通过对变电站中的二次设备进行分类得到不同类型的二次设备;对每种类型的二次设备进行模型建立,其中,所述每种类型对应的模型至少包括:表示该类型二次设备的网络信息的部分、表示该类型二次设备的硬件结构的部分;根据建立好的模型创建数据存储系统,其中,所述数据存储系统用于保存所述变电站中的二次设备的数据,解决了相关技术中企业级关系型数据库在存储二次设备数据时,存在存储容量小、扩展性差的问题。In the method for storing and processing secondary equipment provided in the embodiment of the present application, different types of secondary equipment are obtained by classifying secondary equipment in a substation; a model is established for each type of secondary equipment, wherein each type of secondary equipment is The model corresponding to the type at least includes: a part representing the network information of the secondary device of this type, and a part representing the hardware structure of the secondary device of the type; a data storage system is created according to the established model, wherein the data storage system is used for Saving the data of the secondary equipment in the substation solves the problems of small storage capacity and poor expansibility when the enterprise-level relational database in the related art stores the secondary equipment data.

也即,本申请实施例所提供的二次设备存储处理的方法,通过明确智能变电站中二次设备的结构特征和通讯接口,对智能变电站中二次设备进行关联建模处理,进而基于该关联模型创建分布式、分区的二次设备数据的存储系统,具体的,针对智能变电站群所包含的大批量二次设备,根据日期、变电站和二次设备创建三级分区,以便对二次设备数据进行分区存储。此时,该建立的存储系统扩展性高,且无需考虑存储容量的技术难题。That is, in the method for storing and processing secondary equipment provided by the embodiments of the present application, by clarifying the structural features and communication interfaces of the secondary equipment in the smart substation, correlation modeling is performed on the secondary equipment in the smart substation, and then based on the correlation The model creates a storage system for distributed and partitioned secondary equipment data. Specifically, for the large-scale secondary equipment contained in the smart substation group, a three-level partition is created according to the date, substation and secondary equipment, so as to store the data of the secondary equipment. Partitioned storage. At this time, the established storage system has high scalability and does not need to consider the technical problem of storage capacity.

还需要说明的是:上述所建立的存储系统还能够实现支持大批量二次设备数据的快速分析。It should also be noted that: the above-established storage system can also implement rapid analysis supporting large-volume secondary equipment data.

附图说明Description of drawings

构成本申请的一部分的附图用来提供对本申请的进一步理解,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The accompanying drawings constituting a part of the present application are used to provide further understanding of the present application, and the schematic embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation of the present application. In the attached image:

图1是根据本申请实施例提供的二次设备存储处理的方法的流程图;1 is a flowchart of a method for storing a secondary device provided according to an embodiment of the present application;

图2是根据本申请实施例提供的二次设备存储处理的方法中可选的模型示意图;2 is a schematic diagram of an optional model in a method for storing and processing a secondary device provided according to an embodiment of the present application;

图3是根据本申请实施例提供的二次设备存储处理的方法中可选的多级分区示意图;3 is a schematic diagram of an optional multi-level partition in a method for storage processing of a secondary device provided according to an embodiment of the present application;

图4是根据本申请实施例提供的二次设备存储处理的方法的流程图。FIG. 4 is a flowchart of a method for storage processing of a secondary device provided according to an embodiment of the present application.

具体实施方式Detailed ways

需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict. The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only The embodiments are part of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the scope of protection of the present application.

需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second", etc. in the description and claims of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances for the embodiments of the application described herein. Furthermore, the terms "comprising" and "having" and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those expressly listed Rather, those steps or units may include other steps or units not expressly listed or inherent to these processes, methods, products or devices.

根据本申请的实施例,提供了一种二次设备存储处理的方法。According to an embodiment of the present application, a method for storage processing of a secondary device is provided.

图1是根据本申请实施例的二次设备存储处理的方法的流程图。如图1所示,该方法包括以下步骤:FIG. 1 is a flowchart of a method for storage processing of a secondary device according to an embodiment of the present application. As shown in Figure 1, the method includes the following steps:

步骤S102,对变电站中的二次设备进行分类得到不同类型的二次设备。Step S102, classify the secondary equipment in the substation to obtain different types of secondary equipment.

步骤S104,对每种类型的二次设备进行模型建立,其中,所述每种类型对应的模型至少包括:表示该类型二次设备的网络信息的部分、表示该类型二次设备的硬件结构的部分。In step S104, a model is established for each type of secondary device, wherein the model corresponding to each type includes at least: a part representing the network information of the type of secondary device, and a part representing the hardware structure of the type of secondary device. part.

步骤S106,根据建立好的模型创建数据存储系统,其中,所述数据存储系统用于保存所述变电站中的二次设备的数据。Step S106: Create a data storage system according to the established model, wherein the data storage system is used to save the data of the secondary equipment in the substation.

本申请实施例提供的二次设备存储处理的方法,通过对变电站中的二次设备进行分类得到不同类型的二次设备;对每种类型的二次设备进行模型建立,其中,所述每种类型对应的模型至少包括:表示该类型二次设备的网络信息的部分、表示该类型二次设备的硬件结构的部分;根据建立好的模型创建数据存储系统,其中,所述数据存储系统用于保存所述变电站中的二次设备的数据,解决了相关技术中企业级关系型数据库在存储二次设备数据时,存在存储容量小、扩展性差的问题。In the method for storing and processing secondary equipment provided in the embodiment of the present application, different types of secondary equipment are obtained by classifying secondary equipment in a substation; a model is established for each type of secondary equipment, wherein each type of secondary equipment is The model corresponding to the type at least includes: a part representing the network information of the secondary device of this type, and a part representing the hardware structure of the secondary device of the type; a data storage system is created according to the established model, wherein the data storage system is used for Saving the data of the secondary equipment in the substation solves the problems of small storage capacity and poor expansibility when the enterprise-level relational database in the related art stores the secondary equipment data.

也即,本申请实施例所提供的二次设备存储处理的方法,通过明确智能变电站中二次设备的结构特征和通讯接口,对智能变电站中二次设备进行关联建模处理,进而基于该关联模型创建分布式、分区的二次设备数据的存储系统,具体的,针对智能变电站群所包含的大批量二次设备,根据日期、变电站和二次设备创建三级分区,以便对二次设备数据进行分区存储。此时,该建立的存储系统扩展性高,且无需考虑存储容量的技术难题。That is, in the method for storing and processing secondary equipment provided by the embodiments of the present application, by clarifying the structural features and communication interfaces of the secondary equipment in the smart substation, correlation modeling is performed on the secondary equipment in the smart substation, and then based on the correlation The model creates a storage system for distributed and partitioned secondary equipment data. Specifically, for the large-scale secondary equipment contained in the smart substation group, a three-level partition is created according to the date, substation and secondary equipment, so as to store the data of the secondary equipment. Partitioned storage. At this time, the established storage system has high scalability and does not need to consider the technical problem of storage capacity.

还需要说明的是:上述所建立的存储系统还能够实现支持大批量二次设备数据的快速分析。It should also be noted that: the above-established storage system can also implement rapid analysis supporting large-volume secondary equipment data.

可选地,在本申请实施例提供的二次设备存储处理的方法中,所述二次设备的类型包括以下至少之一:继电保护类设备、自动化类设备、计算机类设备、电源类设备。Optionally, in the method for storing and processing a secondary device provided in an embodiment of the present application, the type of the secondary device includes at least one of the following: relay protection equipment, automation equipment, computer equipment, and power supply equipment. .

可选地,在本申请实施例提供的二次设备存储处理的方法中,对每种类型的二次设备进行模型建立包括:在所述模型中建立存储所述二次设备的整体属性的第一数据结构;在所述模型中建立存储所述二次设备的每个模块的模块属性的第二数据结构,其中,所述模块为所述二次设备中运行预定功能的软件部分和/或硬件部分;在所述模型中建立存储所述二次设备的网络信息的第三数据结构。Optionally, in the method for storing and processing a secondary device provided in the embodiment of the present application, establishing a model for each type of secondary device includes: establishing a third storage device that stores the overall attributes of the secondary device in the model. A data structure; establishing a second data structure in the model to store the module attributes of each module of the secondary device, wherein the module is a software part and/or a software part running a predetermined function in the secondary device The hardware part; establishing a third data structure in the model for storing the network information of the secondary device.

需要说明的是:上述模型中所建的二次设备的第一数据结构、二次设备的第二数据结构和二次设备的第三数据结构均对应该二次设备,即,如图2所示,指定类型的模型中包含至少一个二次设备,依据二次设备的物理结构对该模型中所包含的至少一个二次设备进行划分,每个二次设备在该模型中均建立有第一数据结构、第二数据结构和第三数据结构。It should be noted that the first data structure of the secondary device, the second data structure of the secondary device and the third data structure of the secondary device built in the above model all correspond to the secondary device, that is, as shown in FIG. 2 . It is shown that the model of the specified type contains at least one secondary device, and the at least one secondary device included in the model is divided according to the physical structure of the secondary device, and each secondary device has a first A data structure, a second data structure, and a third data structure.

在一个可选的示例中,使用所述第一数据结构和所述第二数据结构存储的信息均包括以下至少之一:台账、运行、缺陷、结构特征、运行环境、关联设备。In an optional example, the information stored by using the first data structure and the second data structure includes at least one of the following: ledger, operation, defect, structural feature, operating environment, and associated equipment.

可选地,在本申请实施例提供的二次设备存储处理的方法中,所述网络信息包括网络拓扑信息。Optionally, in the method for storing and processing a secondary device provided in this embodiment of the present application, the network information includes network topology information.

在一个可选的示例中,使用所述网络拓扑信息的第三数据结构存储的信息包括以下至少之一:电源信息、通讯链路信息、通讯接口信息、对盯信息。In an optional example, the information stored using the third data structure of the network topology information includes at least one of the following: power supply information, communication link information, communication interface information, and alignment information.

需要说明的是:在现有技术中已存在A模型(IEC61850模型)和B模型(IEC61970的CIM模型)对二次设备数据进行建模描述。其中,现有A模型(IEC61850模型)中并没有体现二次设备的结构特征、硬件通讯接口(如接口数量、位置、类型、接口参数等),无法根据该A模型统一构建智能变电站详细的通信网络结构,难以明确信息的传输路径,链路异常时难以定位异常位置;现有B模型(IEC61970的CIM模型)中针对二次系统设备的对象非常简单,因此导致信息不够全面。It should be noted that: in the prior art, model A (IEC61850 model) and model B (CIM model of IEC61970) already exist to model and describe secondary equipment data. Among them, the existing A model (IEC61850 model) does not reflect the structural characteristics of the secondary equipment, hardware communication interfaces (such as the number of interfaces, location, type, interface parameters, etc.) Due to the network structure, it is difficult to clarify the transmission path of information, and it is difficult to locate the abnormal position when the link is abnormal. The existing B model (CIM model of IEC61970) has very simple objects for secondary system equipment, so the information is not comprehensive enough.

而在本申请实施例所提供的二次设备存储处理的方法中,首先,对二次设备按照不同专业类型分类,分为继电保护类设备、计算机类设备、自动化类设备、电源类设备等,并分别对不同类型设备进行建模;其次,将不同类型二次设备按照其物理结构进行划分,并分别对不同物理结构的二次设备进行建模;再次,对二次设备整体和二次设备内各子模块,分别按照台帐、运行、缺陷、结构特征、运行环境、关联设备进行建模,其中,整体属性包括台帐、运行、缺陷、结构特征、运行环境、关联设备、软件属性;各子模块包括台帐、运行、缺陷、结构特征;最后,得到如图2所示的模型示意图。In the method for storing and processing secondary equipment provided in the embodiment of the present application, first, the secondary equipment is classified according to different professional types, and is divided into relay protection equipment, computer equipment, automation equipment, power equipment, etc. , and model different types of equipment respectively; secondly, different types of secondary equipment are divided according to their physical structures, and the secondary equipment with different physical structures are modeled respectively; thirdly, the overall and secondary equipment of the secondary equipment Each sub-module in the equipment is modeled according to the account, operation, defects, structural characteristics, operating environment, and associated equipment, wherein the overall attributes include account, operation, defects, structural characteristics, operating environment, associated equipment, and software attributes. ; Each sub-module includes account, operation, defects, and structural features; finally, the schematic diagram of the model shown in Figure 2 is obtained.

需要说明的是:上述结构特征可以包含:空间坐标、外部形状、内部结构。It should be noted that the above-mentioned structural features may include: spatial coordinates, external shapes, and internal structures.

可选地,在本申请实施例提供的二次设备存储处理的方法中,创建完成的所述数据存储系统包括多级分区,其中,所述多级分区是根据所述二次设备的状态评价创建的。也即,根据二次设备的状态评价操作的基本单元和操作粒度构建多级分区。Optionally, in the method for storage processing of a secondary device provided in this embodiment of the present application, the created data storage system includes a multi-level partition, wherein the multi-level partition is evaluated according to the state of the secondary device. created. That is, multi-level partitions are constructed according to the basic unit and operation granularity of the state evaluation operation of the secondary equipment.

可选的,在本申请实施例提供的二次设备存储处理的方法中,使用HDFS多级目录作为所述多级分区。也即,选择HDFS(Hadoop Distribute File System)作为二次设备数据的存储介质,以进行分布式存储。Optionally, in the method for secondary device storage processing provided by the embodiment of the present application, an HDFS multi-level directory is used as the multi-level partition. That is, HDFS (Hadoop Distribute File System) is selected as the storage medium of secondary device data for distributed storage.

在一个可选的示例中,所述多级分区包括三级分区,其中,所述三级分区中的第一级分区是根据状态评价时间创建的,所述三级分区中的第二级分区是根据该二级设备对应的变电站的标识信息创建的,所述三级分区是根据所述二级设备的标识信息创建的。In an optional example, the multi-level partitions include three-level partitions, wherein the first-level partitions in the three-level partitions are created according to the state evaluation time, and the second-level partitions in the three-level partitions are created according to the state evaluation time. is created according to the identification information of the substation corresponding to the secondary equipment, and the third-level partition is created according to the identification information of the secondary equipment.

需要说明的是:如图3所示,在对二次设备进行评价时,首先选择的是评价的时间,因此,使用日期(yyyy-mm-dd)作为一级分区属性;之后,需要选择二次设备所隶属的变电站,因此,使用变电站的ID(系统内唯一,无重复)作为二级分区属性;最后,执行二次设备状态评价时的基本单位是单台设备,因此,选择设备的标识符作为三级分区属性。It should be noted that: as shown in Figure 3, when evaluating the secondary equipment, the first choice is the time of the evaluation. Therefore, the date (yyyy-mm-dd) is used as the attribute of the primary partition; after that, it is necessary to select the second The substation to which the secondary equipment belongs, therefore, the ID of the substation (unique in the system, no repetition) is used as the secondary partition attribute; finally, the basic unit when performing the secondary equipment status evaluation is a single equipment, therefore, the identification of the equipment is selected character as a three-level partition attribute.

可选的,在本申请实施例提供的二次设备存储处理的方法中,所述二次设备存储处理的方法还包括:通过生成支持多级分区的存储系统的Jason表达方法,以存储多级分区和HDFS目录对应关系。Optionally, in the method for secondary device storage processing provided by the embodiment of the present application, the method for secondary device storage processing further includes: by generating a Jason expression method of a storage system that supports multi-level partitions, to store multi-level partitions. Correspondence between partitions and HDFS directories.

在一种可选的示例中,在上述存储系统匹配三级分区的情况下,该三级分区和HDFS目录对应关系可描述为:一、二级分区包含3个属性:name、location和childpartition,其含义分别为:分区名称,HDFS路径和子分区数组;三级分区是末级分区,仅包含name和location属性,不含有子分区数组信息。其中,三级分区构成嵌套关系,表达多层次的分区关系。In an optional example, in the case that the above-mentioned storage system matches the third-level partition, the corresponding relationship between the third-level partition and the HDFS directory can be described as: the first and second-level partitions contain three attributes: name, location, and childpartition, The meanings are: partition name, HDFS path, and sub-partition array; the third-level partition is the last-level partition, which only contains name and location attributes, but does not contain sub-partition array information. Among them, the three-level partition constitutes a nested relationship and expresses a multi-level partition relationship.

下面的例子表达的含义为:有1个一级分区,名称为“1_partition”,其包含2个二级分区,名称分别为“1.1_partition”和“1.2_partition”;这两个二级分区又各自包含2个三级分区,名称分别为“1.1.1_partition”、“1.1.2_partition”、“1.2.1_partition”和“1.2.1_partition”。The meaning expressed in the following example is: there is one first-level partition named "1_partition", which contains two second-level partitions named "1.1_partition" and "1.2_partition"; these two second-level partitions have their own Contains two tertiary partitions named "1.1.1_partition", "1.1.2_partition", "1.2.1_partition" and "1.2.1_partition".

{{

“name”:”1_partition”,"name":"1_partition",

“location”:“HDFS_PATH_1”,"location": "HDFS_PATH_1",

“childpartitions”:["childpartitions":[

{“name”:“1.1_partition”,{"name":"1.1_partition",

“location”:“HDFS_PATH_1.1”,"location": "HDFS_PATH_1.1",

“childpartitions”:["childpartitions":[

{“name”:“1.1.1_partition”,{"name":"1.1.1_partition",

“location”:“HDFS_PATH_1.1.1”}"location": "HDFS_PATH_1.1.1"}

{“name”:“1.1.2_partition”,{"name":"1.1.2_partition",

“location”:“HDFS_PATH_1.1.2”}"location": "HDFS_PATH_1.1.2"}

]]

}}

{“name”:“1.2_partition”,{"name":"1.2_partition",

“location”:“HDFS_PATH_1.2”,"location": "HDFS_PATH_1.2",

“childpartitions”:["childpartitions":[

{“name”:“1.2.1_partition”,{"name":"1.2.1_partition",

“location”:“HDFS_PATH_1.2.1”}"location": "HDFS_PATH_1.2.1"}

{“name”:“1.2.2_partition”,{"name":"1.2.2_partition",

“location”:“HDFS_PATH_1.2.2”}"location": "HDFS_PATH_1.2.2"}

]]

}}

]]

}}

综上所述,本申请实施例所提供的二次设备存储处理的方法,主要用于为智能变电站内大批量二次设备数据进行建模、存储。具体的,对二次设备数据进行建模描述,设计建模方法;并根据设计的关联模型,基于分布式计算机集群设计二次设备数据的物理模型设计,提出了采用多级分区的方式存储二次设备数据,以支持大批量二次设备数据的快速分析。To sum up, the method for storing and processing secondary equipment provided by the embodiments of the present application is mainly used for modeling and storing large quantities of secondary equipment data in a smart substation. Specifically, the secondary equipment data is modeled and described, and the modeling method is designed; and according to the associated model of the design, the physical model design of the secondary equipment data is designed based on the distributed computer cluster, and a multi-level partition method is proposed to store the secondary equipment data. Secondary equipment data to support rapid analysis of large batches of secondary equipment data.

此外,本申请实施例所提供的二次设备存储处理的方法还可以应用于云平台上,以进行部署实施。In addition, the storage processing method for a secondary device provided by the embodiment of the present application may also be applied to a cloud platform for deployment and implementation.

此外,本申请实施例所提供的二次设备存储处理的方法基于分区存储,进行了并行化缺失值填充的数据处理,使得处理性能方面明显优于单机环境下的串行处理。In addition, the method for secondary device storage processing provided by the embodiment of the present application is based on partitioned storage, and performs parallelized missing value filling data processing, so that the processing performance is significantly better than serial processing in a stand-alone environment.

需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。It should be noted that the steps shown in the flowcharts of the accompanying drawings may be executed in a computer system, such as a set of computer-executable instructions, and, although a logical sequence is shown in the flowcharts, in some cases, Steps shown or described may be performed in an order different from that herein.

本申请实施例还提供了一种二次设备存储处理的装置,需要说明的是,本申请实施例的二次设备存储处理的装置可以用于执行本申请实施例所提供的用于二次设备存储处理的方法。以下对本申请实施例提供的二次设备存储处理的装置进行介绍。This embodiment of the present application further provides an apparatus for storing and processing a secondary device. It should be noted that the apparatus for storing and processing a secondary device in this embodiment of the present application may be used to execute the apparatus for storing and processing a secondary device provided by the embodiment of the present application. The method of storage processing. The apparatus for storage processing of the secondary device provided by the embodiment of the present application will be introduced below.

图4是根据本申请实施例的二次设备存储处理的装置的示意图。如图4所示,该装置包括:分类单元41、建模单元43和创建单元45。FIG. 4 is a schematic diagram of an apparatus for storage processing of a secondary device according to an embodiment of the present application. As shown in FIG. 4 , the apparatus includes: a classification unit 41 , a modeling unit 43 and a creation unit 45 .

分类单元41,用于对变电站中的二次设备进行分类得到不同类型的二次设备;The classification unit 41 is used to classify the secondary equipment in the substation to obtain different types of secondary equipment;

建模单元43,用于对每种类型的二次设备进行模型建立,其中,所述每种类型对应的模型至少包括:表示该类型二次设备的网络信息的部分、表示该类型二次设备的硬件结构的部分;The modeling unit 43 is configured to build a model for each type of secondary device, wherein the model corresponding to each type at least includes: a part representing the network information of the type of secondary device, a part representing the type of secondary device part of the hardware structure;

创建单元45,用于根据建立好的模型创建数据存储系统,其中,所述数据存储系统用于保存所述变电站中的二次设备的数据。The creating unit 45 is configured to create a data storage system according to the established model, wherein the data storage system is configured to save the data of the secondary equipment in the substation.

可选的,所述二次设备的类型包括以下至少之一:继电保护类设备、自动化类设备、计算机设备、电源类设备。Optionally, the type of the secondary equipment includes at least one of the following: relay protection equipment, automation equipment, computer equipment, and power supply equipment.

可选的,所述建模单元43包括:第一建立模块,用于在所述模型中建立存储所述二次设备的整体属性的第一数据结构;第二建立模块,用于在所述模型中建立存储所述二次设备的每个模块的模块属性的第二数据结构,其中,所述模块为所述二次设备中运行预定功能的软件部分和/或硬件部分;第三建立模块,用于在所述模型中建立存储所述二次设备的网络信息的第三数据结构。Optionally, the modeling unit 43 includes: a first establishment module for establishing a first data structure in the model for storing the overall attributes of the secondary device; a second establishment module for establishing in the model A second data structure for storing the module attributes of each module of the secondary device is established in the model, wherein the module is a software part and/or a hardware part that runs a predetermined function in the secondary device; the third establishment module , which is used to establish a third data structure for storing the network information of the secondary device in the model.

可选的,使用所述第一数据结构和所述第二数据结构存储的信息均包括以下至少之一:台账、运行、缺陷、结构特征、运行环境、关联设备。Optionally, the information stored using the first data structure and the second data structure includes at least one of the following: ledger, operation, defect, structural feature, operating environment, and associated equipment.

可选的,所述网络信息包括网络拓扑信息。Optionally, the network information includes network topology information.

可选的,使用所述网络拓扑信息的第三数据结构存储的信息包括以下至少之一:电源信息、通讯链路信息、通讯接口信息、对盯信息。Optionally, the information stored using the third data structure of the network topology information includes at least one of the following: power supply information, communication link information, communication interface information, and alignment information.

可选的,创建完成的所述数据存储系统包括多级分区,其中,所述多级分区是根据所述二次设备的状态评价创建的。Optionally, the created data storage system includes multi-level partitions, wherein the multi-level partitions are created according to the state evaluation of the secondary device.

可选的,所述多级分区包括三级分区,其中,所述三级分区中的第一级分区是根据状态评价时间创建的,所述三级分区中的第二级分区是根据该二级设备对应的变电站的标识信息创建的,所述三级分区是根据所述二级设备的标识信息创建的。Optionally, the multi-level partition includes a three-level partition, wherein the first-level partition in the three-level partition is created according to the state evaluation time, and the second-level partition in the three-level partition is created according to the two-level partition. The identification information of the substation corresponding to the first-level equipment is created, and the third-level partition is created according to the identification information of the second-level equipment.

本申请实施例提供的二次设备存储处理的装置,通过分类单元41于对变电站中的二次设备进行分类得到不同类型的二次设备;建模单元43对每种类型的二次设备进行模型建立,其中,所述每种类型对应的模型至少包括:表示该类型二次设备的网络信息的部分、表示该类型二次设备的硬件结构的部分;创建单元45根据建立好的模型创建数据存储系统,其中,所述数据存储系统用于保存所述变电站中的二次设备的数据,解决了相关技术中企业级关系型数据库在存储二次设备数据时,存在存储容量小、扩展性差的问题。In the apparatus for storing and processing secondary equipment provided by the embodiment of the present application, the classification unit 41 classifies the secondary equipment in the substation to obtain different types of secondary equipment; the modeling unit 43 models each type of secondary equipment Establish, wherein, the model corresponding to each type includes at least: a part representing the network information of the type of secondary device, a part representing the hardware structure of the type of secondary device; the creation unit 45 creates a data storage according to the established model The system, wherein the data storage system is used to save the data of the secondary equipment in the substation, which solves the problems of small storage capacity and poor scalability in the related art when the enterprise-level relational database stores the data of the secondary equipment .

也即,本申请实施例所提供的二次设备存储处理的方法,通过明确智能变电站中二次设备的结构特征和通讯接口,对智能变电站中二次设备进行关联建模处理,进而基于该关联模型创建分布式、分区的二次设备数据的存储系统,具体的,针对智能变电站群所包含的大批量二次设备,根据日期、变电站和二次设备创建三级分区,以便对二次设备数据进行分区存储。此时,该建立的存储系统扩展性高,且无需考虑存储容量的技术难题。That is, in the method for storing and processing secondary equipment provided by the embodiments of the present application, by clarifying the structural features and communication interfaces of the secondary equipment in the smart substation, correlation modeling is performed on the secondary equipment in the smart substation, and then based on the correlation The model creates a storage system for distributed and partitioned secondary equipment data. Specifically, for the large-scale secondary equipment contained in the smart substation group, a three-level partition is created according to the date, substation and secondary equipment, so as to store the data of the secondary equipment. Partitioned storage. At this time, the established storage system has high scalability and does not need to consider the technical problem of storage capacity.

还需要说明的是:上述所建立的存储系统还能够实现支持大批量二次设备数据的快速分析。It should also be noted that: the above-established storage system can also implement rapid analysis supporting large-volume secondary equipment data.

所述二次设备存储处理的装置包括处理器和存储器,上述单元等均作为程序单元存储在存储器中,由处理器执行存储在存储器中的上述程序单元来实现相应的功能。The apparatus for storing and processing the secondary device includes a processor and a memory, the above-mentioned units and the like are stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

处理器中包含内核,由内核去存储器中调取相应的程序单元。内核可以设置一个或以上,通过调整内核参数来建立扩展性高、且无需考虑存储容量的技术难题的存储系统。The processor includes a kernel, and the kernel calls the corresponding program unit from the memory. One or more kernels can be set, and a storage system with high scalability can be established by adjusting kernel parameters without considering the technical difficulties of storage capacity.

存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM),存储器包括至少一个存储芯片。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read only memory (ROM) or flash memory (flash RAM), the memory including at least one memory chip.

本发明实施例提供了一种存储介质,其上存储有程序,该程序被处理器执行时实现所述二次设备存储处理的方法。An embodiment of the present invention provides a storage medium on which a program is stored, and when the program is executed by a processor, a method for storing and processing the secondary device is implemented.

本发明实施例提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行所述二次设备存储处理的方法。An embodiment of the present invention provides a processor for running a program, wherein the method for executing the storage processing of the secondary device is executed when the program is running.

本发明实施例提供了一种设备,设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序,处理器执行程序时实现以下步骤:对变电站中的二次设备进行分类得到不同类型的二次设备;对每种类型的二次设备进行模型建立,其中,所述每种类型对应的模型至少包括:表示该类型二次设备的网络信息的部分、表示该类型二次设备的硬件结构的部分;根据建立好的模型创建数据存储系统,其中,所述数据存储系统用于保存所述变电站中的二次设备的数据。An embodiment of the present invention provides a device. The device includes a processor, a memory, and a program stored in the memory and running on the processor. When the processor executes the program, the following steps are implemented: classifying secondary equipment in a substation to obtain Different types of secondary equipment; model establishment for each type of secondary equipment, wherein the model corresponding to each type at least includes: a part representing the network information of this type of secondary equipment, a portion representing the type of secondary equipment A part of the hardware structure of the substation; a data storage system is created according to the established model, wherein the data storage system is used to save the data of the secondary equipment in the substation.

可选的,所述二次设备的类型包括以下至少之一:继电保护类设备、自动化类设备、计算机设备、电源类设备。Optionally, the type of the secondary equipment includes at least one of the following: relay protection equipment, automation equipment, computer equipment, and power supply equipment.

可选的,对每种类型的二次设备进行模型建立包括:在所述模型中建立存储所述二次设备的整体属性的第一数据结构;在所述模型中建立存储所述二次设备的每个模块的模块属性的第二数据结构,其中,所述模块为所述二次设备中运行预定功能的软件部分和/或硬件部分;在所述模型中建立存储所述二次设备的网络信息的第三数据结构。Optionally, establishing a model for each type of secondary equipment includes: establishing a first data structure that stores the overall attributes of the secondary equipment in the model; establishing and storing the secondary equipment in the model. The second data structure of the module attribute of each module of A third data structure for network information.

可选的,使用所述第一数据结构和所述第二数据结构存储的信息均包括以下至少之一:台账、运行、缺陷、结构特征、运行环境、关联设备。Optionally, the information stored using the first data structure and the second data structure includes at least one of the following: ledger, operation, defect, structural feature, operating environment, and associated equipment.

可选的,所述网络信息包括网络拓扑信息。Optionally, the network information includes network topology information.

可选的,使用所述网络拓扑信息的第三数据结构存储的信息包括以下至少之一:电源信息、通讯链路信息、通讯接口信息、对盯信息。Optionally, the information stored using the third data structure of the network topology information includes at least one of the following: power supply information, communication link information, communication interface information, and alignment information.

可选的,创建完成的所述数据存储系统包括多级分区,其中,所述多级分区是根据所述二次设备的状态评价创建的。Optionally, the created data storage system includes multi-level partitions, wherein the multi-level partitions are created according to the state evaluation of the secondary device.

可选的,所述多级分区包括三级分区,其中,所述三级分区中的第一级分区是根据状态评价时间创建的,所述三级分区中的第二级分区是根据该二级设备对应的变电站的标识信息创建的,所述三级分区是根据所述二级设备的标识信息创建的。本文中的设备可以是服务器、PC、PAD、手机等。Optionally, the multi-level partition includes a three-level partition, wherein the first-level partition in the three-level partition is created according to the state evaluation time, and the second-level partition in the three-level partition is created according to the two-level partition. The identification information of the substation corresponding to the first-level equipment is created, and the third-level partition is created according to the identification information of the second-level equipment. The devices in this article can be servers, PCs, PADs, mobile phones, and so on.

本申请还提供了一种计算机程序产品,当在数据处理设备上执行时,适于执行初始化有如下方法步骤的程序:对变电站中的二次设备进行分类得到不同类型的二次设备;对每种类型的二次设备进行模型建立,其中,所述每种类型对应的模型至少包括:表示该类型二次设备的网络信息的部分、表示该类型二次设备的硬件结构的部分;根据建立好的模型创建数据存储系统,其中,所述数据存储系统用于保存所述变电站中的二次设备的数据。The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program initialized with the following method steps: classifying the secondary devices in the substation to obtain different types of secondary devices; Each type of secondary device is used for model establishment, wherein the model corresponding to each type includes at least: a part representing the network information of the type of secondary device, and a part representing the hardware structure of the type of secondary device; The model creates a data storage system, wherein the data storage system is used to save the data of the secondary equipment in the substation.

可选的,所述二次设备的类型包括以下至少之一:继电保护类设备、自动化类设备、计算机设备、电源类设备。Optionally, the type of the secondary equipment includes at least one of the following: relay protection equipment, automation equipment, computer equipment, and power supply equipment.

可选的,对每种类型的二次设备进行模型建立包括:在所述模型中建立存储所述二次设备的整体属性的第一数据结构;在所述模型中建立存储所述二次设备的每个模块的模块属性的第二数据结构,其中,所述模块为所述二次设备中运行预定功能的软件部分和/或硬件部分;在所述模型中建立存储所述二次设备的网络信息的第三数据结构。Optionally, establishing a model for each type of secondary equipment includes: establishing a first data structure that stores the overall attributes of the secondary equipment in the model; establishing and storing the secondary equipment in the model. The second data structure of the module attribute of each module of A third data structure for network information.

可选的,使用所述第一数据结构和所述第二数据结构存储的信息均包括以下至少之一:台账、运行、缺陷、结构特征、运行环境、关联设备。Optionally, the information stored using the first data structure and the second data structure includes at least one of the following: ledger, operation, defect, structural feature, operating environment, and associated equipment.

可选的,所述网络信息包括网络拓扑信息。Optionally, the network information includes network topology information.

可选的,使用所述网络拓扑信息的第三数据结构存储的信息包括以下至少之一:电源信息、通讯链路信息、通讯接口信息、对盯信息。Optionally, the information stored using the third data structure of the network topology information includes at least one of the following: power supply information, communication link information, communication interface information, and alignment information.

可选的,创建完成的所述数据存储系统包括多级分区,其中,所述多级分区是根据所述二次设备的状态评价创建的。Optionally, the created data storage system includes multi-level partitions, wherein the multi-level partitions are created according to the state evaluation of the secondary device.

可选的,所述多级分区包括三级分区,其中,所述三级分区中的第一级分区是根据状态评价时间创建的,所述三级分区中的第二级分区是根据该二级设备对应的变电站的标识信息创建的,所述三级分区是根据所述二级设备的标识信息创建的。Optionally, the multi-level partition includes a three-level partition, wherein the first-level partition in the three-level partition is created according to the state evaluation time, and the second-level partition in the three-level partition is created according to the two-level partition. The identification information of the substation corresponding to the first-level equipment is created, and the third-level partition is created according to the identification information of the second-level equipment.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.

还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a series of elements includes not only those elements, but also Other elements not expressly listed, or which are inherent to such a process, method, article of manufacture, or apparatus are also included. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article of manufacture or apparatus that includes the element.

本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。It will be appreciated by those skilled in the art that the embodiments of the present application may be provided as a method, a system or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

以上仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above are merely examples of the present application, and are not intended to limit the present application. Various modifications and variations of this application are possible for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the scope of the claims of this application.

Claims (10)

1. a kind of method of secondary device storage processing characterized by comprising
Secondary device in substation is classified to obtain different types of secondary device;
Model foundation is carried out to each type of secondary device, wherein the corresponding model of each type includes at least: indicating The part of the network information of the type secondary device, indicate the type secondary device hardware configuration part;
According to established model creation data-storage system, wherein the data-storage system is for saving the substation In secondary device data.
2. the method according to claim 1, wherein the type of the secondary device includes at least one of: Relay protection class equipment, automation class equipment, computer equipment, power supply class equipment.
3. the method according to claim 1, wherein carrying out model foundation packet to each type of secondary device It includes:
The first data structure for storing the integrity attribute of the secondary device is established in the model;
The second data structure for storing the module attribute of each module of the secondary device is established in the model, wherein The module is the software section and/or hardware components that predetermined function is run in the secondary device;
The third data structure for storing the network information of the secondary device is established in the model.
4. according to the method described in claim 3, it is characterized in that, using first data structure and the second data knot The information of structure storage includes at least one of:
Account, operation, defect, structure feature, running environment, associate device.
5. according to the method described in claim 3, it is characterized in that, the network information includes network topological information.
6. according to the method described in claim 5, it is characterized in that, the third data structure using the network topological information is deposited The information of storage includes at least one of: power information, communication link information, communication interface information, to staring at information.
7. method according to any one of claim 1 to 6, which is characterized in that create the data storage system of completion System includes multistage subregion, wherein the multistage subregion is created according to the state evaluation of the secondary device.
8. a kind of device of secondary device storage processing characterized by comprising
Taxon obtains different types of secondary device for being classified to the secondary device in substation;
Modeling unit, for carrying out model foundation to each type of secondary device, wherein the corresponding model of each type It includes at least: indicating the portion of the part of the network information of the type secondary device, the hardware configuration for indicating the type secondary device Point;
Creating unit, for according to established model creation data-storage system, wherein the data-storage system is for protecting Deposit the data of the secondary device in the substation.
9. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein described program right of execution Benefit require any one of 1 to 7 described in secondary device storage processing method.
10. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run Benefit require any one of 1 to 7 described in secondary device storage processing method.
CN201910626173.7A 2019-07-11 2019-07-11 The method and apparatus of secondary device storage processing Pending CN110347756A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910626173.7A CN110347756A (en) 2019-07-11 2019-07-11 The method and apparatus of secondary device storage processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910626173.7A CN110347756A (en) 2019-07-11 2019-07-11 The method and apparatus of secondary device storage processing

Publications (1)

Publication Number Publication Date
CN110347756A true CN110347756A (en) 2019-10-18

Family

ID=68175077

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910626173.7A Pending CN110347756A (en) 2019-07-11 2019-07-11 The method and apparatus of secondary device storage processing

Country Status (1)

Country Link
CN (1) CN110347756A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114218724A (en) * 2021-11-30 2022-03-22 国网北京市电力公司 Model construction method, device and system for power secondary system and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120089384A1 (en) * 2010-10-12 2012-04-12 International Business Machines Corporation Historic storage of dual layer power grid connectivity model
CN103607048A (en) * 2013-11-18 2014-02-26 国家电网公司 An electric power network device fault diagnosis method and a system
CN104808615A (en) * 2015-03-03 2015-07-29 国家电网公司 Method of automatically generating power device monitoring information table

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120089384A1 (en) * 2010-10-12 2012-04-12 International Business Machines Corporation Historic storage of dual layer power grid connectivity model
CN103607048A (en) * 2013-11-18 2014-02-26 国家电网公司 An electric power network device fault diagnosis method and a system
CN104808615A (en) * 2015-03-03 2015-07-29 国家电网公司 Method of automatically generating power device monitoring information table

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114218724A (en) * 2021-11-30 2022-03-22 国网北京市电力公司 Model construction method, device and system for power secondary system and storage medium

Similar Documents

Publication Publication Date Title
US9740706B2 (en) Management of intermediate data spills during the shuffle phase of a map-reduce job
CN111159180A (en) Data processing method and system based on data resource directory construction
CN105183735B (en) The querying method and inquiry unit of data
CN109726174A (en) Data archiving method, system, equipment and storage medium
CN103345508B (en) A kind of date storage method being applicable to community network figure and system
CN104615606B (en) A kind of Hadoop distributed file systems and its management method
CN103106152A (en) Data scheduling method based on gradation storage medium
CN105138560A (en) Multilevel spatial index technology based distributed space vector data management method
CN108959510B (en) Partition level connection method and device for distributed database
CN110597935A (en) A method and device for spatial analysis
TWI740895B (en) Distribution method and device for application attribution service cluster
CN106202092A (en) Method and system for data processing
CN109241159A (en) A kind of subregion querying method, system and the terminal device of data cube
CN116166757A (en) A multi-source heterogeneous lake warehouse integrated data processing method, equipment and medium
CN108519856B (en) Data block copy placement method based on heterogeneous Hadoop cluster environment
CN103617276A (en) Method for storing distributed hierarchical RDF data
CN105204920B (en) A kind of implementation method and device of the distributed computing operation based on mapping polymerization
CN106055590A (en) Power grid data processing method and system based on big data and graph database
CN107870949A (en) Data analysis job dependence relation generation method and system
CN114297173A (en) A knowledge graph construction method and system for large-scale massive data
CN115994197A (en) GeoSOT grid data calculation method
CN114048186A (en) Data migration method and system based on mass data
CN110347756A (en) The method and apparatus of secondary device storage processing
CN110134646A (en) The storage of knowledge platform service data and integrated approach and system
CN107943412A (en) A kind of subregion division, the method, apparatus and system for deleting data file in subregion

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191018

RJ01 Rejection of invention patent application after publication