[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114757797B - A data model-driven middle-office architecture method for power grid resource business - Google Patents

A data model-driven middle-office architecture method for power grid resource business Download PDF

Info

Publication number
CN114757797B
CN114757797B CN202210663057.4A CN202210663057A CN114757797B CN 114757797 B CN114757797 B CN 114757797B CN 202210663057 A CN202210663057 A CN 202210663057A CN 114757797 B CN114757797 B CN 114757797B
Authority
CN
China
Prior art keywords
service
center
power grid
time
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210663057.4A
Other languages
Chinese (zh)
Other versions
CN114757797A (en
Inventor
陈蕾
吕军
宁昕
刘日亮
杜建
徐重酉
吕广宪
陆一鸣
曾晓
周水良
宋晓阳
徐玮韡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Zhejiang Electric Power Co Ltd
Original Assignee
State Grid Zhejiang Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Zhejiang Electric Power Co Ltd filed Critical State Grid Zhejiang Electric Power Co Ltd
Priority to CN202210663057.4A priority Critical patent/CN114757797B/en
Publication of CN114757797A publication Critical patent/CN114757797A/en
Application granted granted Critical
Publication of CN114757797B publication Critical patent/CN114757797B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06393Score-carding, benchmarking or key performance indicator [KPI] analysis
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Administration (AREA)
  • Health & Medical Sciences (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Public Health (AREA)
  • Primary Health Care (AREA)
  • General Health & Medical Sciences (AREA)
  • Water Supply & Treatment (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明提出了一种基于数据模型驱动的电网资源业务中台架构方法,包括:对实时业务需求进行实体抽取,得到核心类实体和应用类实体;针对核心类实体建立统一数据模型;基于应用类实体构建共享服务中心,确定共享服务中心之间的服务链路;根据服务链路中共享服务中心的历史服务指标进行历史服务画像,根据所有共享服务中心的实时服务指标进行实时服务画像,生成待弹性资源分配服务列表;对待弹性资源分配服务列表进行服务匹配,更新资源池,基于弹性分配策略对电网资源业务中台的架构进行动态优化。本发明通过历史与实时的服务指标特征结合的服务画像手段,并结合服务特性,实现电网资源业务中台的动态弹性资源分配,提高了提供应用服务的效率。

Figure 202210663057

The invention proposes a middle-end architecture method for power grid resource business based on data model driving, which includes: extracting real-time business requirements to obtain core entities and application entities; establishing a unified data model for the core entities; The entity builds a shared service center and determines the service link between the shared service centers; performs historical service portraits according to the historical service indicators of the shared service centers in the service links, and conducts real-time service portraits according to the real-time service indicators of all shared service centers to generate pending service portraits. List of elastic resource allocation services; perform service matching on the list of services to be allocated for elastic resources, update the resource pool, and dynamically optimize the architecture of the grid resource business center based on the elastic allocation strategy. The invention realizes the dynamic elastic resource allocation of the power grid resource business middle station through the service profiling means combining historical and real-time service index characteristics and the service characteristics, and improves the efficiency of providing application services.

Figure 202210663057

Description

一种基于数据模型驱动的电网资源业务中台架构方法A data model-driven middle-office architecture method for power grid resource business

技术领域technical field

本发明属于大数据平台领域,尤其涉及一种基于数据模型驱动的电网资源业务中台架构方法。The invention belongs to the field of big data platforms, and in particular relates to a middle-end architecture method for power grid resource services driven by a data model.

背景技术Background technique

电网数据模型是实现电网信息化与数字化的基础,是变革业务模式方式与促进电网技术升级的核心支撑,是推进设备管理、设备运维、设备检修参与能源信息化、虚拟化的基本前提。为了变革电网资源业务的模式方式与促进电网技术升级,推进电网资源、设备管理、设备运维、设备检修参与能源信息化与虚拟化,亟需构建统一的电网资源业务中台来融合电网资源业务数据以消除数据维护孤岛、打破数据访问壁垒。The power grid data model is the basis for the realization of power grid informatization and digitization, the core support for changing business models and promoting power grid technology upgrades, and the basic premise for promoting equipment management, equipment operation and maintenance, and equipment maintenance to participate in energy informatization and virtualization. In order to change the mode of grid resource business, promote grid technology upgrade, and promote grid resources, equipment management, equipment operation and maintenance, and equipment maintenance to participate in energy informatization and virtualization, it is urgent to build a unified grid resource business platform to integrate grid resource business. data to eliminate data maintenance silos and break down data access barriers.

电网资源业务中台是具有标准化模型数据、标准化服务接口,以及基础共性业务能力的聚合体,是区别于传统单体式业务系统的新型基础架构平台。为了发挥电网资源业务中台中的数据效益,电网资源业务中台中融合了大量与电网资源、设备、业务相关的服务,例如针对电网资源与设备的管理服务、针对电网运行的实时检测服务以及针对电网拓扑的动态图像共享服务等,由于面向电网的服务庞杂,不同服务的高峰期低峰期不同且实时变动较大,增加了电网资源业务中台的资源分配难度,且现有的资源分配策略大多仅根据当前资源情况进行统一分配,难以适用于服务资源情况变化复杂、服务特性多样的电网资源业务中台。The power grid resource business middle platform is an aggregate with standardized model data, standardized service interfaces, and basic common business capabilities. It is a new infrastructure platform that is different from traditional monolithic business systems. In order to give full play to the data benefits of Taichung in the power grid resource business, Taichung in the power grid resource business integrates a large number of services related to power grid resources, equipment, and business, such as management services for power grid resources and equipment, real-time detection services for power grid operations, and power grid operations. Topological dynamic image sharing services, etc., due to the complexity of grid-oriented services, the peak and low peak periods of different services are different and the real-time changes are large, which increases the difficulty of resource allocation in the grid resource business center, and the existing resource allocation strategies are mostly Uniform allocation only based on the current resource situation is difficult to apply to the power grid resource business middle-end with complex changes in service resources and diverse service characteristics.

发明内容SUMMARY OF THE INVENTION

在电网业务中台建设方面,现阶段大多以业务部门为单位独立维护各自的数据平台,因其建模方式、数据格式定义等方面存在不一致的情况,增加了构建电网业务中台的难度,为了解决上述存在的缺点和不足,本发明提出了一种基于数据模型驱动的电网资源业务中台架构方法,包括:In terms of the construction of the power grid business middle platform, at this stage, most of the business departments maintain their own data platforms independently. Due to the inconsistency in modeling methods and data format definitions, it is more difficult to build a power grid business middle platform. In order to To solve the above-mentioned shortcomings and deficiencies, the present invention proposes a data model-driven grid resource business middle-office architecture method, including:

S100:获取实时业务需求,对所述实时业务需求进行实体抽取,得到所述实时业务需求中的核心类实体和应用类实体;S100: Obtain real-time business requirements, perform entity extraction on the real-time business requirements, and obtain core-type entities and application-type entities in the real-time business requirements;

S200:分别针对核心类实体的电网运行逻辑、电力设备全寿命周期以及运维检修过程,建立统一数据模型,所述统一数据模型包括电网资源模型、设备资产模型以及运维检修模型;S200: Establish a unified data model for the power grid operation logic, the full life cycle of power equipment, and the operation, maintenance and repair process of the core entities, where the unified data model includes a power grid resource model, an equipment asset model, and an operation and maintenance model;

S300:基于应用类实体构建电网资源业务中台中的共享服务中心,对应所述统一数据模型确定共享服务中心之间的服务链路,通过所述服务链路形成电网资源业务中台架构;S300 : constructing a shared service center in a power grid resource business middle-office based on an application entity, determining a service link between the shared service centers corresponding to the unified data model, and forming a power grid resource business middle-office architecture through the service link;

S400:根据所述服务链路中共享服务中心的历史服务指标进行历史服务画像,根据电网资源业务中台中所有共享服务中心的实时服务指标进行实时服务画像,结合历史服务画像和实时服务画像动态生成待弹性资源分配服务列表;S400: Perform historical service portraits according to the historical service indicators of the shared service center in the service link, perform real-time service portraits according to the real-time service indicators of all shared service centers in the power grid resource business, and dynamically generate the historical service portraits and real-time service portraits List of services to be allocated for flexible resource allocation;

S500:基于服务链路的服务特性,对待弹性资源分配服务列表进行服务匹配,根据服务匹配结果更新资源池,基于弹性分配策略通过资源池对电网资源业务中台的架构进行动态优化。S500: Based on the service characteristics of the service link, perform service matching on the service list to be allocated for elastic resources, update the resource pool according to the service matching result, and dynamically optimize the architecture of the grid resource service middle station through the resource pool based on the elastic allocation strategy.

可选的,S200包括:Optionally, the S200 includes:

根据核心类实体的电网运行逻辑建立电网资源模型,所述电网资源模型包括电网的一次设备、二次设备的网络拓扑以及电气参数的逻辑模型;Establish a power grid resource model according to the power grid operation logic of the core class entity, and the power grid resource model includes a logic model of the primary equipment of the power grid, the network topology of the secondary equipment and the electrical parameters;

根据核心类实体的电力设备全寿命周期建立设备资产模型,所述设备资产模型包括设备的采购、入库、投运、维护、检修、退役的寿命阶段模型;Establish an equipment asset model according to the full life cycle of the power equipment of the core entity, and the equipment asset model includes the life stage model of equipment procurement, storage, commissioning, maintenance, overhaul, and decommissioning;

根据核心类实体的运维检修过程建立运维检修模型,所述运维检修模型包括检修工具管理、检修计划管理、运维计划管理、验收管理以及设备报废管理的过程模型。An operation and maintenance maintenance model is established according to the operation and maintenance maintenance process of the core class entities, and the operation and maintenance maintenance model includes the process models of maintenance tool management, maintenance plan management, operation and maintenance plan management, acceptance management and equipment scrap management.

可选的,所述共享服务中心包括用于维护电网静态台账信息的一级中心、与应用类实体对应的用于动态管理中台数据的二级中心以及用于电网业务拓展应用的三级中心,其中,所述一级中心包括电网资产中心、电网资源中心、电网拓扑中心以及作业资源中心,所述二级中心包括模型管理中心、测点管理中心、计量应用中心以及电网环境中心,所述三级中心包括电网图形中心、设备状态中心、电网分析中心以及作业管理中心。Optionally, the shared service center includes a first-level center for maintaining grid static ledger information, a second-level center corresponding to application entities for dynamically managing middle-office data, and a third-level center for power grid business expansion applications. center, wherein the first-level center includes a power grid asset center, a power grid resource center, a power grid topology center, and an operation resource center, and the second-level center includes a model management center, a measurement point management center, a metering application center, and a power grid environment center. The above-mentioned three-level centers include power grid graphics center, equipment status center, power grid analysis center and operation management center.

可选的,所述S300包括:Optionally, the S300 includes:

对于电网资源模型,所述服务链路包括所述电网资源中心分别与所述电网图形中心、所述电网分析中心以及所述作业管理中心建立服务链路,以及所述电网拓扑中心分别与所述电网图形中心、所述设备状态中心以及所述电网分析中心建立服务链路;For the power grid resource model, the service links include that the power grid resource center establishes service links with the power grid graphics center, the power grid analysis center, and the job management center, respectively, and the power grid topology center and the The power grid graphics center, the equipment status center and the power grid analysis center establish a service link;

对于设备资产模型,所述服务链路包括所述电网资产中心分别与所述设备状态中心、所述作业管理中心建立服务链路;For the equipment asset model, the service link includes that the power grid asset center establishes a service link with the equipment status center and the operation management center respectively;

对于运维检修模型,所述服务链路包括所述作业资源中心与所述作业管理中心建立服务链路。For the operation and maintenance maintenance model, the service link includes establishing a service link between the operation resource center and the operation management center.

可选的,所述S400包括:Optionally, the S400 includes:

S410:将历史服务指标分别输入不同的时间序列预测模型中,得到服务链路的高峰期预测区间,根据服务链路在高峰期预测区间下的服务情况,生成高峰期服务画像和低峰期服务画像的预测推荐结果;S410: Input the historical service indicators into different time series prediction models respectively to obtain the peak period prediction interval of the service link, and generate the peak period service portrait and the low peak period service according to the service conditions of the service link in the peak period prediction interval Prediction and recommendation results of portraits;

S420:根据实时服务指标,对电网资源业务中台中所有共享服务中心的服务进行高峰期低峰期实时检测,得到高峰期服务画像和低峰期服务画像的实时推荐结果;S420: According to the real-time service indicators, perform real-time detection of peak and low-peak periods on the services of all shared service centers in Taichung in the power grid resource business, and obtain real-time recommendation results of peak-period service profiles and low-peak period service profiles;

S430:将预测推荐结果和实时推荐结果进行过滤合并,得到高峰期推荐服务和低峰期推荐服务;S430: Filter and merge the predicted recommendation result and the real-time recommendation result to obtain the recommendation service during the peak period and the recommendation service during the low peak period;

S440:分别过滤掉所述高峰期推荐服务中不需要扩容的服务,以及所述低峰期推荐服务中不需要缩容的服务,由过滤后的高峰期推荐服务和低峰期推荐服务生成待弹性资源分配服务列表。S440: Filter out the services that do not need to be expanded in the peak period recommendation service and the services that do not need to be scaled in the low-peak period recommendation service, and generate a waiting list from the filtered peak period recommendation service and low-peak period recommendation service. A list of elastic resource allocation services.

可选的,所述S410包括:Optionally, the S410 includes:

将历史服务指标分别输入若干个不同的时间序列预测模型中,得到若干个高峰期中间值的预测结果;Input the historical service indicators into several different time series prediction models, and obtain the prediction results of the median value of several peak periods;

对所述预测结果进行加权平均处理,得到基准时间值,结合电网资源业务中台的服务高峰期平均时长以及时间偏移量,计算服务链路的高峰期预测区间。A weighted average process is performed on the prediction result to obtain a reference time value, and the peak period prediction interval of the service link is calculated in combination with the average duration and time offset of the service peak period of the power grid resource service middle station.

可选的,所述高峰期预测区间为[recomm_time - average_time/2 - offset_time/2, recomm_time + average_time/2 + offset_time/2],其中,recomm_time表示基准时间值,average_time表示服务高峰期平均时长,offset_time表示时间偏移量。Optionally, the peak period prediction interval is [recomm_time - average_time/2 - offset_time/2, recomm_time + average_time/2 + offset_time/2], where recomm_time represents the reference time value, average_time represents the average service peak duration, offset_time Represents a time offset.

可选的,所述S420包括:Optionally, the S420 includes:

基于预设周期获取各个服务的实时运行特征,若实时运行特征连续超过预设阈值的次数达到预设定值时,将所述服务标记为高峰期服务,否则标记为低峰期服务。The real-time operation characteristics of each service are acquired based on a preset period, and if the number of times the real-time operation characteristics continuously exceed the preset threshold reaches the preset value, the service is marked as a peak period service, otherwise it is marked as a low-peak period service.

可选的,所述S500包括:Optionally, the S500 includes:

区分待弹性资源分配服务列表中的高峰期推荐服务和低峰期推荐服务,确定高峰期推荐服务的服务特性,基于服务特征对高峰期推荐服务和低峰期推荐服务进行匹配,得到具有相同服务特性的低峰期推荐服务;Distinguish peak recommended services and low peak recommended services in the list of services to be allocated for elastic resources, determine the service characteristics of peak recommended services, and match peak recommended services and low peak recommended services based on service characteristics to obtain the same services. Featured low-peak recommended services;

将匹配得到的低峰期推荐服务的空闲资源回收到资源池中,通过生成弹性分配策略,将资源池中的空闲资源分配给高峰期推荐服务;Recycle the idle resources of the low-peak recommended service obtained by matching to the resource pool, and allocate the idle resources in the resource pool to the peak-time recommended service by generating an elastic allocation strategy;

其中,所述服务特性包括CPU密集型、IO密集型以及GPU密集型。Wherein, the service characteristics include CPU-intensive, IO-intensive, and GPU-intensive.

可选的,所述历史服务指标和实时服务指标包括服务的IO操作次数、CPU利用率、网络延迟、实时QPS、QPS预设阈值、请求平均延时、依赖服务以及平均耗时阈值。Optionally, the historical service indicators and real-time service indicators include the number of IO operations of the service, CPU utilization, network delay, real-time QPS, preset QPS threshold, average request delay, dependent services, and average time-consuming threshold.

本发明提供的技术方案带来的有益效果是:The beneficial effects brought by the technical scheme provided by the invention are:

本申请面向电网资源业务中台的数据模型顶层框架设计,将电网的电网运行逻辑、电力设备全寿命周期以及运维检修过程以模型驱动的形式,统一融合至电网资源业务中台的服务架构,在打破数据访问与应用的壁垒的同时,兼顾了电网资源业务中台面向用户的应用服务,在电网资源业务中台的架构中增加了共享服务中心。This application is designed for the top-level framework of the data model for the power grid resource business center, and integrates the power grid operation logic of the power grid, the full life cycle of power equipment, and the operation and maintenance process in a model-driven form into the power grid resource business center. Service architecture, While breaking the barriers of data access and application, it also takes into account the user-oriented application services of the power grid resource business center, and adds a shared service center to the grid resource business center structure.

为了解决电网资源业务中台过于庞杂的架构带来的服务资源分配问题,本申请通过历史与实时的服务指标特征结合的服务画像手段,并结合电网资源业务中台中各个共享服务中心的服务特性,实现电网资源业务中台的动态弹性资源分配,提高了电网资源业务中台提供应用服务的效率。In order to solve the problem of service resource allocation caused by the overly complex architecture in the power grid resource business, this application uses a service profiling method that combines historical and real-time service index characteristics, and combines the service characteristics of each shared service center in the power grid resource business. The dynamic and elastic resource allocation of the power grid resource business middle station is realized, and the efficiency of the application service provided by the power grid resource business middle station is improved.

附图说明Description of drawings

为了更清楚地说明本发明的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention, which are of great significance to the art For those of ordinary skill, other drawings can also be obtained from these drawings without any creative effort.

图1为本发明实施例提出的一种基于数据模型驱动的电网资源业务中台架构方法的流程示意图;1 is a schematic flowchart of a data model-driven grid resource service middle-end architecture method proposed by an embodiment of the present invention;

图2为核心类实体和应用类实体的示意图;Figure 2 is a schematic diagram of a core class entity and an application class entity;

图3为共享服务中心之间的服务链路示意图。FIG. 3 is a schematic diagram of service links between shared service centers.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

应当理解,在本发明的各种实施例中,各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present invention, the size of the sequence numbers of each process does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be used in the embodiments of the present invention. Implementation constitutes any limitation.

下面以具体地实施例对本发明的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。The technical solutions of the present invention will be described in detail below with specific examples. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

实施例如图1所示,本实施例提出了一种基于数据模型驱动的电网资源业务中台架构方法,包括:As shown in FIG. 1 , this embodiment proposes a data model-driven grid resource service middle-end architecture method, including:

S100:获取实时业务需求,对所述实时业务需求进行实体抽取,得到所述实时业务需求中的核心类实体和应用类实体;S100: Obtain real-time business requirements, perform entity extraction on the real-time business requirements, and obtain core-type entities and application-type entities in the real-time business requirements;

S200:分别针对核心类实体的电网运行逻辑、电力设备全寿命周期以及运维检修过程,建立统一数据模型,所述统一数据模型包括电网资源模型、设备资产模型以及运维检修模型;S200: Establish a unified data model for the power grid operation logic, the full life cycle of power equipment, and the operation, maintenance and repair process of the core entities, where the unified data model includes a power grid resource model, an equipment asset model, and an operation and maintenance model;

S300:基于应用类实体构建电网资源业务中台中的共享服务中心,对应所述统一数据模型确定共享服务中心之间的服务链路,通过所述服务链路形成电网资源业务中台架构;S300 : constructing a shared service center in a power grid resource business middle-office based on an application entity, determining a service link between the shared service centers corresponding to the unified data model, and forming a power grid resource business middle-office architecture through the service link;

S400:获取所述服务链路中的共享服务中心的历史服务指标,结合电网资源业务中台中所有共享服务中心的高峰期低峰期实时检测进行服务画像,根据服务画像的结果动态生成待弹性资源分配服务列表;S400: Obtain historical service indicators of the shared service centers in the service link, perform service portraits based on real-time detection of peak and low-peak periods of all shared service centers in Taizhong in the power grid resource business, and dynamically generate resources to be elasticized according to the results of the service portraits Assign a list of services;

S500:基于服务链路的服务特性,对待弹性资源分配服务列表进行服务匹配,根据服务匹配结果更新资源池,基于弹性分配策略通过资源池对电网资源业务中台的架构进行动态优化。S500: Based on the service characteristics of the service link, perform service matching on the service list to be allocated for elastic resources, update the resource pool according to the service matching result, and dynamically optimize the architecture of the grid resource service middle station through the resource pool based on the elastic allocation strategy.

在本实施例中,电网业务中台是一种集标准化模型数据、标准化服务接口,以及基础共性业务能力的互联网数据集中处理平台,是区别于传统单体式业务系统的新型基础架构平台。在电网业务中台中,能够将电网业务以共享应用的形式集合到统一通用的数据平台上,从而达到消除电网业务数据孤岛、打破数据访问壁垒的作用。In this embodiment, the power grid business middle platform is a centralized Internet data processing platform that integrates standardized model data, standardized service interfaces, and basic common business capabilities, and is a new infrastructure platform that is different from traditional monolithic business systems. In the power grid business center, the power grid business can be integrated into a unified and common data platform in the form of shared applications, so as to eliminate the power grid business data island and break the data access barriers.

本实施例从数据统一建模的角度出发,提出面向电网资源业务中台的统一建模方式,打通电网资源数据、设备资产、量测采集数据的整合壁垒,消除数据孤岛,推动数据质量提升,发挥数据功效效益。同时,通过设置一系列共享应用中心促进设备描述规范全面、电网连接准确合理、数据组织逻辑清晰、图形服务动态共享,以及推动多专业协同、全业务融合、全面提升设电网数字化中台。From the perspective of unified data modeling, this embodiment proposes a unified modeling method for grid resource business middle-end, breaks through the integration barriers of grid resource data, equipment assets, and measurement and collection data, eliminates data islands, and promotes data quality improvement. Take advantage of data efficiency. At the same time, by setting up a series of shared application centers, it promotes comprehensive equipment description specifications, accurate and reasonable grid connection, clear data organization logic, dynamic sharing of graphic services, and promotes multi-professional collaboration, full-service integration, and comprehensively enhances the digital center of the power grid.

在本实施例中,所述核心类实体和应用类实体如图2所示,其中,所述核心类实体为电网的基本业务元素,包括:In this embodiment, the core class entities and the application class entities are shown in FIG. 2 , wherein the core class entities are basic business elements of the power grid, including:

(1)电网资源(Power System Resource),如发电机组、输电线路、变电站及辅助设备、换流站直流线路以及电网拓扑等电网单元模块;(1) Power System Resources, such as power grid unit modules such as generator sets, transmission lines, substations and auxiliary equipment, DC lines of converter stations, and power grid topology;

(2)设备资产(Asset),如输电(架空、电缆、管网)、变电(一次及辅助设备)、配电、用电等单个电力设备;(2) Equipment assets (Asset), such as power transmission (overhead, cable, pipeline network), substation (primary and auxiliary equipment), power distribution, power consumption and other single power equipment;

(3)运检业务(Activity Record、Document),如工作计划与排程、工序与过程、结果与报告等电网具体业务。(3) Transportation inspection business (Activity Record, Document), such as work plan and scheduling, process and process, results and reports and other grid-specific businesses.

所述应用类实体为对应电网的辅助业务的各类数据元素,包括:The application entities are various data elements corresponding to the auxiliary services of the power grid, including:

(1)量测数据(Measurement),如实时电压、实时电流等电气量测值;(1) Measurement data (Measurement), such as real-time voltage, real-time current and other electrical measurement values;

(2)位置(Location),如资产位置、气象位置等;(2) Location, such as asset location, weather location, etc.;

(3)环境(Environmental Information),如雷电、覆冰、山火、台风、地质灾害等。(3) Environmental Information, such as lightning, icing, wildfires, typhoons, geological disasters, etc.

在本实施例中,主要以电网资源(Power System Resource) 、设备资产(Asset)、运检业务(Activity Record、Document)为核心,以量测数据(Measurement)、位置(Location)、环境(Environmental Information)简介关联核心类实体,用于描述电气环境以及自然环境对电网的影响。In this embodiment, the power grid resources (Power System Resource), equipment assets (Asset), and inspection services (Activity Record, Document) are mainly used as the core, and measurement data (Measurement), location (Location), and environment (Environmental) are used as the core. Information) Introduction to associated core class entities, which are used to describe the influence of the electrical environment and the natural environment on the power grid.

在本实施例中,所述统一数据模型对应3个核心类实体的电网运行逻辑、电力设备全寿命周期以及运维检修过程分别建立,即所述统一数据模型包括电网资源模型框架、设备资产模型框架以及运维检修模型框架。其中,所述核心类实体的电网运行逻辑包括电网的一次设备、二次设备的网络拓扑以及电气参数的逻辑关系,所述核心类实体的电力设备全寿命周期包括设备的采购、入库、投运、维护、检修、退役的阶段模型,所述核心类实体的运维检修过程包括检修工具管理、检修计划管理、运维计划管理、验收管理以及设备报废管理的过程。In this embodiment, the unified data model is established respectively corresponding to the grid operation logic, the full life cycle of power equipment, and the operation and maintenance process of the three core entities, that is, the unified data model includes a grid resource model framework and an equipment asset model. Framework and O&M overhaul model framework. Wherein, the power grid operation logic of the core type entity includes the network topology of the primary equipment of the power grid, the network topology of the secondary equipment, and the logical relationship of electrical parameters, and the full life cycle of the power equipment of the core type entity includes equipment procurement, storage, investment The stage model of operation, maintenance, overhaul and decommissioning, the operation and maintenance overhaul process of the core class entity includes overhaul tool management, overhaul plan management, operation and maintenance plan management, acceptance management and equipment scrapping management.

由此可见,在本实施例中,对应电网资源的统一数据模型为逻辑关系模型,是从电网运行的视角对所有电压等级的一次设备、二次装置进行逻辑建模,并侧重于描述电网设备功能、电气参数和网络拓扑,主要内容包括电网一次设备的容器关系、连接关系、设备电气参数、电气量测值等。It can be seen that in this embodiment, the unified data model corresponding to power grid resources is a logical relationship model, which is to logically model primary equipment and secondary devices of all voltage levels from the perspective of power grid operation, and focuses on describing power grid equipment. Functions, electrical parameters and network topology, the main contents include the container relationship, connection relationship, equipment electrical parameters, electrical measurement values, etc. of primary equipment in the power grid.

对应设备资产的统一数据模型为设备资产管理阶段模型,是从单个物理实体的视角对资产建模,反映资产的采购、入库、投运、维护、检修、退役等全寿命周期过程,其中资产模型通过设备的投运和退役业务过程和电网资源模型建立和移除关联关系,主要内容包括资产的容器关系、一二次设备资产参数、设备资产状态、环境条件、资产评价分析模型等。The unified data model corresponding to equipment assets is the equipment asset management stage model, which models assets from the perspective of a single physical entity, and reflects the entire life cycle processes of asset procurement, storage, commissioning, maintenance, overhaul, and decommissioning. The model establishes and removes the relationship through the business process of equipment commissioning and decommissioning and the power grid resource model. The main contents include the container relationship of assets, primary and secondary equipment asset parameters, equipment asset status, environmental conditions, and asset evaluation analysis models.

对应运检业务的统一数据模型为运维检修过程模型,是从电网设备运维、检修、评价、报废等视角对设备管理涉及到的业务对象统一建模,主要内容包括异动管理作业工具管理、计划管理、运维管理、检修管理、检测管理、验收管理、评价管理、状态监测、报废管理、技改大修管理、工程管理等。The unified data model corresponding to the operation and inspection business is the operation and maintenance process model, which is a unified modeling of the business objects involved in equipment management from the perspectives of power grid equipment operation and maintenance, maintenance, evaluation, and scrapping. Planning management, operation and maintenance management, maintenance management, inspection management, acceptance management, evaluation management, condition monitoring, scrap management, technical overhaul management, engineering management, etc.

在上述统一数据模型的基础上,本实施例通过共享应用中心对所述统一数据模型进行具体扩充,为此本实施例基于上述应用类实体,将电网业务功能解耦为12个共享应用中心,其中包含的一级中心、二级中心、三级中心的关系架构如图3所示,所述一级中心包括电网资产中心、电网资源中心、电网拓扑中心以及作业资源中心,所述二级中心包括模型管理中心、测点管理中心、计量应用中心以及电网环境中心,所述三级中心包括电网图形中心、设备状态中心、电网分析中心以及作业管理中心。电网资产中心、电网资源中心、电网拓扑中心、作业资源中心主要维护电网静态台账信息,模型管理中心实现中心各类电网资产、电网资源以及运检业务模型的管理功能,测点管理中心、计量应用中心、电网环境中心主要维护电网动态采集数据,电网图形中心、设备状态中心、电网分析中心、作业管理中心主要贴近电网业务。具体的:On the basis of the above unified data model, this embodiment specifically expands the unified data model through a shared application center. For this reason, this embodiment decouples the power grid business functions into 12 shared application centers based on the above application entities. The relational structure of the primary center, secondary center, and tertiary center is shown in Figure 3. The primary center includes a power grid asset center, a power grid resource center, a power grid topology center, and an operation resource center. The secondary center It includes a model management center, a measurement point management center, a metering application center, and a power grid environment center. The three-level centers include a power grid graphics center, an equipment status center, a power grid analysis center, and an operation management center. The power grid asset center, power grid resource center, power grid topology center, and operation resource center mainly maintain the static ledger information of the power grid. The model management center realizes the management functions of various grid assets, power grid resources and operation and inspection business models of the center. The application center and the power grid environment center mainly maintain the dynamic collection data of the power grid. The power grid graphics center, equipment status center, power grid analysis center, and operation management center are mainly close to the power grid business. specific:

所述电网资产中心围绕电网设备、通道设施、架空线路走廊、辅助系统等实物资产,以精益管理为主线,支撑运行、检修、维护、供应商履约等业务开展。对外提供电网资产的新增、转资、备品备件管理、折旧、退役报废、盘点、信息查询和维护等功能;其核心服务包括资产信息查询、资产全寿命周期管理、资产大事记管理。The power grid asset center focuses on physical assets such as power grid equipment, channel facilities, overhead line corridors, auxiliary systems, etc., with lean management as the main line, and supports operations, maintenance, maintenance, supplier performance and other business development. It provides functions such as new addition, capital transfer, spare parts management, depreciation, decommissioning and scrapping, inventory, information query and maintenance of power grid assets to the outside world; its core services include asset information query, asset life cycle management, and asset memorabilia management.

所述电网资源中心以描述客观电网为目标,通过抽象并维护电网一次设备、辅助量测设备、终端设备、直流设备、抽水蓄能、常规水电、发电设备以及分布式电源等设备的对象、属性及关系,实现电网资源的统一维护,以及系统级、变电站级、馈线级、台区级电网资源的有序管理。其核心服务包括电网资源的查询、格式转化、模型映射及维护等功能。其核心服务包括资源查询、资源管理。The power grid resource center aims to describe the objective power grid, by abstracting and maintaining the objects and attributes of primary equipment, auxiliary measurement equipment, terminal equipment, DC equipment, pumped storage, conventional hydropower, power generation equipment, and distributed power sources in the power grid. and relationship, to achieve unified maintenance of power grid resources, and orderly management of power grid resources at system level, substation level, feeder level, and station level. Its core services include grid resource query, format conversion, model mapping and maintenance functions. Its core services include resource query and resource management.

所述电网拓扑中心通过对电网拓扑的维护、分析、存储,实现电网规划、建设、运行多态下的电网拓扑网络关系的管理;提供最短连通路径、电源追溯、停供电范围分析、连通区域分析、供电半径分析、大馈线与低压台区拓扑分析、联络线路分析、设备树分析、站间联络分析、站室图分析等功能。The power grid topology center realizes the management of the power grid topology network relationship under the multi-state power grid planning, construction, and operation by maintaining, analyzing and storing the power grid topology; , power supply radius analysis, large feeder and low-voltage station area topology analysis, connection line analysis, equipment tree analysis, inter-station connection analysis, station room diagram analysis and other functions.

所述作业资源中心基于车辆、工器具、仪器仪表、作业人员、无人机、机器人等作业资源,实现资源分配、调拨、台账管理。其核心服务包括作业资源查询、统计、增删改、定位。The operation resource center realizes resource allocation, allocation, and ledger management based on operation resources such as vehicles, tools, instruments, operators, drones, and robots. Its core services include job resource query, statistics, additions, deletions, and changes, and positioning.

所述模型管理中心通过维护、更新、发布元数据,即时满足电网业务和计算分析的需求。在模型合规度、关联度、可信度、可用度、贯通性以及图模一致性、信息交互等方面提供常态化认证,保障电网模型标准化。其核心服务包括元数据管理、模型检测、版本管理。The model management center can meet the needs of power grid business and calculation analysis in real time by maintaining, updating and publishing metadata. Provide normalized certification in terms of model compliance, relevance, credibility, availability, connectivity, graph model consistency, and information interaction to ensure the standardization of power grid models. Its core services include metadata management, model checking, and version management.

所述测点管理中心对电气量信息、设备运行状态信息、运行环境信息、拓扑识别信息等感知测点进行运维管理,对各电压等级电网的测点进行定义,构建测点与一次设备间的关联关系,实现测点设备接入管理、测点分析管理、测点设备监测和配置管理。对外提供测量设备、传感设备、遥感设备等感知测点的台账、量测数据、异常事件的查询与维护等功能;其核心服务包括测点台账管理、量测数据查询、事件订阅与查询。The measuring point management center conducts operation and maintenance management on sensing measuring points such as electrical quantity information, equipment operating status information, operating environment information, topology identification information, etc. It can realize the access management of measuring point equipment, analysis and management of measuring point, monitoring and configuration management of measuring point equipment. Provide external measurement equipment, sensing equipment, remote sensing equipment and other sensing point ledger, measurement data, query and maintenance of abnormal events and other functions; its core services include measuring point ledger management, measurement data query, event subscription and Inquire.

所述计量应用中心围绕计量类相关业务的开展,实现计量设备的接入管理、配置管理、计量点与上级设备间的关联关系维护、计量类异常事件告警管理。其核心服务包括计量设备的实时采集信息、冻结采集信息、事件类信息的查询。The metering application center focuses on the development of metering related services, and realizes access management, configuration management of metering equipment, maintenance of the relationship between metering points and superior equipment, and alarm management of metering abnormal events. Its core services include real-time collection information of metering equipment, frozen collection information, and query of event information.

所述电网环境中心整合影响电网安全运行的雷电、覆冰、山火、台风、地质灾害等环境信息的预(报)警数据,实现对电网设备、线路通道的自然灾害分析。其核心服务包括电网环境信息的查询、监测预警、规律分析、风险评估、中长期预报分析。The power grid environment center integrates the forecast (alarm) data of environmental information such as lightning, icing, mountain fire, typhoon, and geological disasters that affect the safe operation of the power grid, so as to realize the analysis of natural disasters on power grid equipment and line channels. Its core services include grid environmental information query, monitoring and early warning, law analysis, risk assessment, and medium and long-term forecast analysis.

所述电网图形中心为各共享应用中心、跨专业应用、多态业务应用提供一体化、一站式图形服务,实现图形和应用的灵活的前端展示、友好人机交互、多维度分析。其核心服务包括空间查询、GIS出图、专题图出图、专题图成图。The power grid graphics center provides integrated, one-stop graphics services for shared application centers, cross-professional applications, and polymorphic business applications, and realizes flexible front-end display of graphics and applications, friendly human-computer interaction, and multi-dimensional analysis. Its core services include spatial query, GIS mapping, thematic mapping, and thematic mapping.

所述设备状态中心以电网设备为主体,基于资产信息、资源信息、拓扑信息,以及设备运行信息、设备本体感知信息、环境信息等,实现设备运行状态的多维分析和评估。设备状态中心提供设备运行状态的查询、多维评价、预警、异常设备清单查询等功能。The equipment status center takes power grid equipment as the main body, and realizes multi-dimensional analysis and evaluation of equipment operation status based on asset information, resource information, topology information, equipment operation information, equipment ontology perception information, and environmental information. The equipment status center provides functions such as query of equipment operating status, multi-dimensional evaluation, early warning, and abnormal equipment list query.

所述电网分析中心通过电网图模、量测类、作业类、气象环境类等信息,实现电源、电网到用户的全网分析。其核心服务包括电网相关的安全分析、经济分析、可靠性分析、运行状态分析、状态估计、潮流分析。The power grid analysis center realizes the whole network analysis from the power supply, the power grid to the users through the power grid diagram, measurement, operation, meteorological environment and other information. Its core services include grid-related security analysis, economic analysis, reliability analysis, operating state analysis, state estimation, and power flow analysis.

所述作业管理中心围绕电网设备,依据作业标准,结合现场实际需求,精准把控作业工作流程与业务逻辑,实现各类作业的标准化管理,支撑巡视、检测、故障抢修、消缺、检修计划执行、试验、带电作业等电网作业的规范开展。其核心服务包括缺陷分析与查询、检修计划查询与维护、故障查询、巡视计划查询与维护、隐患分析与查询、带电作业计划查询与维护、试验记录查询与维护。The operation management center focuses on power grid equipment, according to the operation standards, combined with the actual needs of the site, accurately controls the operation workflow and business logic, realizes the standardized management of various operations, and supports the execution of inspection, detection, fault repair, defect elimination, and maintenance plan execution , testing, live work and other grid operations. Its core services include defect analysis and inquiry, maintenance plan inquiry and maintenance, fault inquiry, inspection plan inquiry and maintenance, hidden danger analysis and inquiry, live work plan inquiry and maintenance, and test record inquiry and maintenance.

本实施例通过上述过程构建电网资源业务中台的基本架构,在基本架构的基础上根据业务需求形成共享服务中心之间的服务链路,包括:In this embodiment, the basic architecture of the grid resource service middle station is constructed through the above process, and based on the basic architecture, service links between shared service centers are formed according to business requirements, including:

对于电网资源模型,所述服务链路包括所述电网资源中心分别与所述电网图形中心、所述电网分析中心以及所述作业管理中心建立服务链路,以及所述电网拓扑中心分别与所述电网图形中心、所述设备状态中心以及所述电网分析中心建立服务链路;For the power grid resource model, the service links include that the power grid resource center establishes service links with the power grid graphics center, the power grid analysis center, and the job management center, respectively, and the power grid topology center and the The power grid graphics center, the equipment status center and the power grid analysis center establish a service link;

对于设备资产模型,所述服务链路包括所述电网资产中心分别与所述设备状态中心、所述作业管理中心建立服务链路;For the equipment asset model, the service link includes that the power grid asset center establishes a service link with the equipment status center and the operation management center respectively;

对于运维检修模型,所述服务链路包括所述作业资源中心与所述作业管理中心建立服务链路。For the operation and maintenance maintenance model, the service link includes establishing a service link between the operation resource center and the operation management center.

需要注意的是,本实施例中所述共享应用中心之间的交互关系不局限于图3所示的关系,图3仅表示本实施例的交互关系的一种定义情况,在其他实施例中,随着统一数据模型的不同,其交互关系的定义情况也不同。It should be noted that the interaction relationship between the shared application centers described in this embodiment is not limited to the relationship shown in FIG. 3 , and FIG. 3 only shows a definition of the interaction relationship in this embodiment. In other embodiments , as the unified data model is different, the definition of its interaction relationship is also different.

本实施例基于数据模型快速得到针对不同业务需求的电网资源业务中台架构,摒弃了传统单体式应用系统存在重复开发、分散存储、多重交互弊病,通过整合输电线路、变电站、中压馈线、低压台区与用户、分布式电源与微网等各类电网资源数据,实现统一标准与同源维护,同时融合常用共性业务至中台,形成基础、稳定的服务能力,可支撑各类业务应用灵活构建、快速迭代。Based on the data model, this embodiment quickly obtains the grid resource service middle-end architecture for different service requirements, and abandons the drawbacks of repeated development, decentralized storage, and multiple interactions in the traditional monolithic application system. The data of various power grid resources such as low-voltage station area and users, distributed power supply and micro-grid can realize unified standards and homologous maintenance, and at the same time integrate common common services to the middle station to form basic and stable service capabilities, which can support various business applications Build flexibly and iterate quickly.

本实施例为了解决电网资源业务中台复杂多变的服务资源分配问题,通过对所述服务链路进行服务画像实现资源的弹性分配。本实施例中,构建服务画像的主要目的是检测和预测服务的高峰期和低峰期。由于服务具有不同的高峰期和低峰期,那么就可以回收低峰期服务的多余的资源分配给其他高峰期的服务。In this embodiment, in order to solve the problem of complex and changeable service resource allocation in the power grid resource business, the elastic allocation of resources is realized by performing a service portrait on the service link. In this embodiment, the main purpose of constructing the service profile is to detect and predict the peak period and the low peak period of the service. Since the services have different peak periods and low peak periods, the redundant resources of the services in the low peak period can be recovered and allocated to the services in other peak periods.

具体的,所述S400包括:Specifically, the S400 includes:

S410:将历史服务指标分别输入不同的时间序列预测模型中,得到服务链路的高峰期预测区间,根据服务链路在高峰期预测区间下的服务情况,生成高峰期服务和低峰期服务的预测推荐结果;S410: Input the historical service indicators into different time series prediction models respectively, obtain the peak period prediction interval of the service link, and generate the peak period service and the low peak period service according to the service situation of the service link in the peak period prediction interval Predict the recommendation result;

S420:对电网资源业务中台的所有服务进行高峰期低峰期实时检测,得到高峰期服务和低峰期服务的实时推荐结果;S420: Perform real-time detection of peak and low-peak periods on all services in the power grid resource business center, and obtain real-time recommendation results of peak-period services and low-peak services;

S430:将预测推荐结果和实时推荐结果进行过滤合并,得到高峰期推荐服务和低峰期推荐服务;S430: Filter and merge the predicted recommendation result and the real-time recommendation result to obtain the recommendation service during the peak period and the recommendation service during the low peak period;

S440:分别过滤掉所述高峰期推荐服务中不需要扩容的服务,以及所述低峰期推荐服务中不需要缩容的服务,根据过滤情况动态生成待弹性资源分配服务列表。S440: Filter out the services that do not need to be expanded in the peak period recommended services and the services that do not need to be scaled in the low-peak period recommended services, and dynamically generate a service list to be elasticized resource allocation according to the filtering situation.

其中,所述S410包括:Wherein, the S410 includes:

将历史服务指标分别输入若干个不同的时间序列预测模型中,得到若干个高峰期中间值的预测结果;本实施例中,所述时间序列预测模型包括Auto-ARIMA、Neural_Prophet和Exponential Smoothing等模型;Input the historical service indicators into several different time series prediction models, respectively, to obtain the prediction results of the intermediate values of several peak periods; in this embodiment, the time series prediction models include models such as Auto-ARIMA, Neural_Prophet, and Exponential Smoothing;

对所述预测结果进行加权平均处理,得到基准时间值,结合电网资源业务中台的服务高峰期平均时长以及时间偏移量,计算服务链路的高峰期预测区间,所述高峰期预测区间为[recomm_time - average_time/2 - offset_time/2, recomm_time + average_time/2 + offset_time/2],其中,recomm_time表示基准时间值,average_time表示服务高峰期平均时长,offset_time表示时间偏移量。Perform weighted average processing on the prediction results to obtain the reference time value, and calculate the peak period prediction interval of the service link in combination with the average service peak period duration and time offset of the power grid resource service middle station, and the peak period prediction interval is: [recomm_time - average_time/2 - offset_time/2, recomm_time + average_time/2 + offset_time/2], where recomm_time represents the reference time value, average_time represents the average duration of the service peak period, and offset_time represents the time offset.

所述S420包括:The S420 includes:

基于预设周期获取各个服务的实时运行特征,若实时运行特征连续超过预设阈值的次数达到预设定值时,将所述服务标记为高峰期服务,否则标记为低峰期服务。The real-time operation characteristics of each service are acquired based on a preset period, and if the number of times the real-time operation characteristics continuously exceed the preset threshold reaches the preset value, the service is marked as a peak period service, otherwise it is marked as a low-peak period service.

在本实施例中,为了防止服务抖动,S420每隔20s执行一次,并循环2-4次,若连续3次实时运行特征超过预设阈值,则判定为高峰期服务。In this embodiment, in order to prevent service jitter, S420 is executed once every 20s, and the cycle is repeated 2-4 times. If the real-time operation characteristic exceeds the preset threshold for 3 consecutive times, it is determined to be a peak period service.

在本实施例中,为了准确筛选出明确需要弹性分配资源的服务,S430中将预测推荐结果和实时推荐结果进行过滤合并的具体过程为:In this embodiment, in order to accurately filter out the services that clearly require flexible resource allocation, the specific process of filtering and merging the predicted recommendation result and the real-time recommendation result in S430 is as follows:

确定预测推荐结果中的高峰期服务H1和低峰期服务L1,再确定实时推荐结果中的高峰期服务H2和低峰期服务L2。在过滤合并时,将H1和H2的交集作为高峰期推荐服务,由于所述交集中的服务在当前和未来都处于高峰期的概率较高,说明这些服务的资源紧缺情况更严重,可作为高峰期推荐服务;将L1和L2的并集作为低峰期推荐服务,并集中的服务确保为有能力调度出空闲资源的服务。通过上述过程,能够准确筛选出服务链路中需要被分配资源的高峰期服务和能够分配资源的低峰期服务。相比于常规的弹性资源分配方式,本实施例通过S400对参与弹性分配的服务的范围进行精准限缩,能够更适用于服务情况变化频繁的电网资源业务中台。Determine the peak period service H1 and the low peak period service L1 in the predicted recommendation result, and then determine the peak period service H2 and the low peak period service L2 in the real-time recommendation result. When filtering and merging, the intersection of H1 and H2 is used as the recommended service during the peak period. Since the services in the intersection have a high probability of being in the peak period both at present and in the future, it means that the resource shortage of these services is more serious and can be used as the peak period. Periodic recommendation service; the union of L1 and L2 is used as the low-peak period recommendation service, and the centralized service ensures that it is capable of scheduling idle resources. Through the above process, the peak period services that need to be allocated resources and the low-peak period services that can allocate resources can be accurately screened out in the service link. Compared with the conventional elastic resource allocation method, the present embodiment uses S400 to precisely limit the scope of services participating in the elastic allocation, which can be more suitable for the middle station of the power grid resource service whose service conditions change frequently.

在本实施例中,所述待弹性资源分配服务列表通过数据同步服务定时同步到Redis中,再由Redis定时发送任务,以触发电网资源业务中台的弹性资源分配与回收执行引擎执行S500。In this embodiment, the list of services to be allocated elastic resources is periodically synchronized to Redis through a data synchronization service, and then Redis periodically sends tasks to trigger the elastic resource allocation and recovery execution engine of the grid resource service middle station to execute S500.

所述S500包括:The S500 includes:

区分待弹性资源分配服务列表中的高峰期推荐服务和低峰期推荐服务,确定高峰期推荐服务的服务特性,筛选出具有相同服务特性的低峰期推荐服务;Distinguish the peak period recommendation service and the low peak period recommendation service in the service list to be elastic resource allocation, determine the service characteristics of the peak period recommendation service, and filter out the low peak period recommendation service with the same service characteristics;

将筛选出的低峰期推荐服务的空闲资源回收到资源池中,通过生成弹性分配策略,将资源池中的空闲资源分配给高峰期推荐服务;Recycle the selected idle resources of recommended services during low-peak periods into the resource pool, and allocate the idle resources in the resource pool to recommended services during peak periods by generating an elastic allocation strategy;

其中,所述服务特性包括CPU密集型、IO密集型以及GPU密集型。Wherein, the service characteristics include CPU-intensive, IO-intensive, and GPU-intensive.

在本实施例中,所述弹性分配策略基于服务链路的服务特性配置,例如当前服务链路因涉及三级应用中的电网图形中心,因此判定为GPU密集型。在进行弹性资源分配时,弹性分配策略将在待弹性资源分配服务列表优先选择GPU密集型的低峰期推荐服务服务,并且在这些低峰期推荐服务服务中,优先选择属于这个服务链路的服务的空闲资源,从而既确保空闲资源满足服务特性,又最大限度的提高了资源分配效率。In this embodiment, the elastic allocation policy is configured based on the service characteristics of the service link. For example, the current service link is determined to be GPU-intensive because it involves the power grid graphics center in the third-level application. When performing elastic resource allocation, the elastic allocation strategy will preferentially select GPU-intensive low-peak recommended service services in the list of services to be elasticized resource allocation, and among these low-peak recommended service services, preferentially select services belonging to this service link. The idle resources of the service can not only ensure that the idle resources meet the service characteristics, but also maximize the efficiency of resource allocation.

在本实施例中,所述弹性分配策略采用Json格式进行配置,并通过数据同步服务将弹性分配策略同步到Redis中。In this embodiment, the elastic allocation strategy is configured in Json format, and the elastic allocation strategy is synchronized to Redis through a data synchronization service.

上述实施例中的各个序号仅仅为了描述,不代表各部件的组装或使用过程中的先后顺序。The serial numbers in the above-mentioned embodiments are only for description, and do not represent the order in which the components are assembled or used.

以上所述仅为本发明的实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only the embodiments of the present invention and are not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention. Inside.

Claims (6)

1. A data model-driven power grid resource service central station architecture method is characterized by comprising the following steps:
s100: acquiring a real-time service demand, and performing entity extraction on the real-time service demand to obtain a core entity and an application entity in the real-time service demand;
s200: respectively establishing a unified data model aiming at the power grid operation logic, the full life cycle of the power equipment and the operation and maintenance overhaul process of the core entity, wherein the unified data model comprises a power grid resource model, an equipment asset model and an operation and maintenance overhaul model;
s300: establishing a shared service center in a power grid resource service central station based on the application entity, determining service links among the shared service centers corresponding to the unified data model, and forming a power grid resource service central station framework through the service links;
s400: performing historical service portrayal according to historical service indexes of the shared service centers in the service link, performing real-time service portrayal according to real-time service indexes of all the shared service centers in the power grid resource service middling, and dynamically generating a to-be-elastic resource distribution service list by combining the historical service portrayal and the real-time service portrayal;
s500: performing service matching on the service list to be elastically distributed based on the service characteristics of the service link, updating the resource pool according to the service matching result, and dynamically optimizing the architecture of the power grid resource service center platform through the resource pool based on the elastic distribution strategy;
the core class entity is a basic service element of the power grid and comprises the following steps: power grid resources, equipment assets, and operation and inspection services; the application entity is various data elements corresponding to auxiliary services of the power grid, and comprises the following steps: measuring data, position and environment;
the S200 includes:
establishing a power grid resource model according to the power grid operation logic of the core class entity, wherein the power grid resource model comprises a logic model of the network topology and the electrical parameters of primary equipment and secondary equipment of a power grid;
establishing an equipment asset model according to the whole life cycle of the power equipment of the core entity, wherein the equipment asset model comprises life stage models of equipment purchasing, warehousing, commissioning, maintenance, overhauling and decommissioning;
establishing an operation maintenance model according to the operation maintenance process of the core entity, wherein the operation maintenance model comprises a process model of maintenance tool management, maintenance plan management, operation maintenance plan management, acceptance check management and equipment scrapping management;
the S300 includes:
for the power grid resource model, the service links comprise that a power grid resource center respectively establishes service links with a power grid graphic center, a power grid analysis center and an operation management center, and a power grid topology center respectively establishes service links with the power grid graphic center, an equipment state center and the power grid analysis center;
for the equipment asset model, the service link comprises a power grid asset center, and the service link is respectively established with an equipment state center and an operation management center;
for the operation maintenance and overhaul model, the service link comprises a service link established by the operation resource center and the operation management center;
the S400 includes:
s410: respectively inputting historical service indexes into different time series prediction models to obtain a peak period prediction interval of a service link, and generating prediction recommendation results of a peak period service portrait and a low peak period service portrait according to service conditions of the service link in the peak period prediction interval;
s420: according to the real-time service index, performing peak-to-peak and low-to-peak real-time detection on the services of all the shared service centers in the power grid resource service center to obtain real-time recommendation results of a peak-to-peak service portrait and a low-to-peak service portrait;
s430: filtering and combining the predicted recommendation result and the real-time recommendation result to obtain a peak period recommendation service and a low peak period recommendation service;
s440: filtering services which do not need capacity expansion in the peak period recommendation services and services which do not need capacity reduction in the low peak period recommendation services respectively, and generating a list of services to be distributed with elastic resources by the filtered peak period recommendation services and the filtered low peak period recommendation services;
the S500 includes:
distinguishing a peak period recommendation service and a low peak period recommendation service in a to-be-elastic resource allocation service list, determining service characteristics of the peak period recommendation service, and matching the peak period recommendation service and the low peak period recommendation service based on service characteristics to obtain a low peak period recommendation service with the same service characteristics;
the idle resources of the low peak period recommended service obtained by matching are recycled into the resource pool, and the idle resources in the resource pool are allocated to the high peak period recommended service by generating an elastic allocation strategy;
wherein the service characteristics include CPU intensive, IO intensive, and GPU intensive.
2. The method according to claim 1, wherein the shared service center includes a primary center for maintaining static grid ledger information, a secondary center corresponding to the application entity for dynamically managing the substation data, and a tertiary center for grid service development application, wherein the primary center includes a grid asset center, a grid resource center, a grid topology center, and a work resource center, the secondary center includes a model management center, a measurement point management center, a metering application center, and a grid environment center, and the tertiary center includes a grid pattern center, an equipment state center, a grid analysis center, and a work management center.
3. The data model-driven grid resource service staging architecture method according to claim 1, wherein the step S410 includes:
respectively inputting the historical service indexes into a plurality of different time sequence prediction models to obtain prediction results of a plurality of peak period intermediate values;
and carrying out weighted average processing on the prediction result to obtain a reference time value, and calculating a peak period prediction interval of a service link by combining the average time length of the service peak period of the power grid resource service middlebox and the time offset.
4. The data model-driven power grid resource service center architecture method according to claim 3, wherein the peak prediction interval is [ recomm _ time-average _ time/2-offset _ time/2, recomm _ time + average _ time/2 + offset _ time/2], where recomm _ time represents a reference time value, average _ time represents an average time duration of the peak service period, and offset _ time represents a time offset.
5. The method according to claim 1, wherein the S420 includes:
and acquiring real-time service indexes of each service based on a preset period, if the times that the real-time service indexes continuously exceed a preset threshold reach a preset value, marking the service as a peak service, and otherwise, marking the service as a low peak service.
6. The data model-driven power grid resource service middleware framework method according to claim 1, wherein the historical service index and the real-time service index comprise IO operation times of service, CPU utilization rate, network delay, real-time QPS, QPS preset threshold, request average delay, dependent service and average time consumption threshold.
CN202210663057.4A 2022-06-13 2022-06-13 A data model-driven middle-office architecture method for power grid resource business Active CN114757797B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210663057.4A CN114757797B (en) 2022-06-13 2022-06-13 A data model-driven middle-office architecture method for power grid resource business

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210663057.4A CN114757797B (en) 2022-06-13 2022-06-13 A data model-driven middle-office architecture method for power grid resource business

Publications (2)

Publication Number Publication Date
CN114757797A CN114757797A (en) 2022-07-15
CN114757797B true CN114757797B (en) 2022-09-09

Family

ID=82336730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210663057.4A Active CN114757797B (en) 2022-06-13 2022-06-13 A data model-driven middle-office architecture method for power grid resource business

Country Status (1)

Country Link
CN (1) CN114757797B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116910130B (en) * 2023-09-08 2023-12-26 中国长江电力股份有限公司 Construction method of industrial data middle platform frame for hydropower equipment
CN117114362B (en) * 2023-10-18 2024-02-06 江苏秉信科技有限公司 Power grid operation plan scheduling method, system, terminal equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732924A (en) * 2020-12-04 2021-04-30 国网安徽省电力有限公司 Power grid data asset management system and method based on knowledge graph
CN113849944A (en) * 2021-09-16 2021-12-28 国电南瑞南京控制系统有限公司 Grid topology service method, device and system based on graph data model
CN114004584A (en) * 2021-10-22 2022-02-01 国网重庆市电力公司电力科学研究院 A power information management method based on the construction of user portraits in the data center
CN114021970A (en) * 2021-11-04 2022-02-08 国网安徽省电力有限公司信息通信分公司 Enterprise data asset model construction method based on data middlebox
CN114266552A (en) * 2021-12-25 2022-04-01 南方电网数字电网研究院有限公司 Service-level-oriented middle platform service management and control system
CN114493488A (en) * 2021-12-25 2022-05-13 南方电网数字电网研究院有限公司 A shared service center system for power grid field
CN114579087A (en) * 2021-12-22 2022-06-03 北京中电普华信息技术有限公司 Method and device for designing power customer service middlings

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060294238A1 (en) * 2002-12-16 2006-12-28 Naik Vijay K Policy-based hierarchical management of shared resources in a grid environment
CN104008442A (en) * 2014-05-07 2014-08-27 南京工程学院 Power distribution network visual platform construction method based on SG-CIM
CN111612549B (en) * 2020-05-28 2023-07-21 中认英泰检测技术有限公司 Construction method of platform operation service system
CN112463843A (en) * 2020-11-27 2021-03-09 国家电网有限公司大数据中心 Power grid data sharing method and system based on block chain and data resource catalog
CN114004713A (en) * 2021-12-29 2022-02-01 国网江苏省电力有限公司营销服务中心 Method for realizing visual industry expansion investigation design of power marketing service system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732924A (en) * 2020-12-04 2021-04-30 国网安徽省电力有限公司 Power grid data asset management system and method based on knowledge graph
CN113849944A (en) * 2021-09-16 2021-12-28 国电南瑞南京控制系统有限公司 Grid topology service method, device and system based on graph data model
CN114004584A (en) * 2021-10-22 2022-02-01 国网重庆市电力公司电力科学研究院 A power information management method based on the construction of user portraits in the data center
CN114021970A (en) * 2021-11-04 2022-02-08 国网安徽省电力有限公司信息通信分公司 Enterprise data asset model construction method based on data middlebox
CN114579087A (en) * 2021-12-22 2022-06-03 北京中电普华信息技术有限公司 Method and device for designing power customer service middlings
CN114266552A (en) * 2021-12-25 2022-04-01 南方电网数字电网研究院有限公司 Service-level-oriented middle platform service management and control system
CN114493488A (en) * 2021-12-25 2022-05-13 南方电网数字电网研究院有限公司 A shared service center system for power grid field

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
"Power Grid Model Data Governance System Based on Dcloud";Yang Liang 等;《2021 IEEE International Conference on Power, Intelligent Computing and Systems (ICPICS)》;20210902;第382-385页 *
"基于大数据平台的配电网智能化运维管控平台设计及应用";孙保华 等;《电气自动化》;20181130;第81-84页 *
"基于数据中台的电力企业统一数据模型优化完善方法";王家凯 等;《生态互联 数字电力——2019电力行业信息化年会论文集》;20190907;第205-207页 *
电网企业数据中台方案研究;李信鹏等;《电力信息与通信技术》;20200225(第02期);第1-8页 *

Also Published As

Publication number Publication date
CN114757797A (en) 2022-07-15

Similar Documents

Publication Publication Date Title
CN114757797B (en) A data model-driven middle-office architecture method for power grid resource business
CN110059356A (en) A kind of bulk power grid intelligent control system and method based on big data and artificial intelligence
CN106815647A (en) A kind of high efficiency distribution network failure repairing system and method based on data analysis
CN103559562A (en) Power grid intelligent operation system and achieving method thereof
CN111142414A (en) Intelligent power plant management and control system based on edge cloud cooperation
CN104638764A (en) Intelligent state diagnosis and overhauling system for power distribution network equipment
Hu et al. Research and application of capability maturity model for Chinese intelligent manufacturing
CN106203890A (en) Battalion based on CIM auxiliary tone integration data modeling method
CN111143447B (en) A dynamic monitoring and early warning decision-making system and method for weak links in the power grid
CN102722764A (en) Integrated power grid optimization auxiliary decision analysis system
CN108446396B (en) Power data processing method based on improved CIM model
CN103902816A (en) Electrification detection data processing method based on data mining technology
CN106022617A (en) Inspection control system based on marketing multi-system data center
CN118487276B (en) A method and system for dynamic control of power grid security for power security objects
CN106712296A (en) Online monitoring and managing system for electric power
CN111932072A (en) OS2 architecture-based power grid comprehensive management and control method and system
CN115689177A (en) Machine learning-based intelligent scheduling strategy method for transformer maintenance plan
CN113269435B (en) A coupling monitoring and evaluation system for the operation status of new energy stations
Zhao Research on management informatization construction of electric power enterprise based on big data technology
CN105303292A (en) Distribution data storage method and device
CN104680328A (en) Power grid construction quality monitoring method based on client perception values
CN112948353A (en) Data analysis method, system and storage medium applied to DAstudio
CN118096061A (en) Power grid load acquisition management and control platform
CN111178763A (en) Enterprise energy efficiency data management method and device
CN109217311A (en) A kind of control of distribution Running State and evaluation method

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