CN110247981A - A kind of electric power scheduling automatization system application micro services remodeling method - Google Patents

A kind of electric power scheduling automatization system application micro services remodeling method Download PDF

Info

Publication number
CN110247981A
CN110247981A CN201910560797.3A CN201910560797A CN110247981A CN 110247981 A CN110247981 A CN 110247981A CN 201910560797 A CN201910560797 A CN 201910560797A CN 110247981 A CN110247981 A CN 110247981A
Authority
CN
China
Prior art keywords
adapter
micro services
electric power
service
application
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
CN201910560797.3A
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.)
NR Electric Co Ltd
NR Engineering Co Ltd
Original Assignee
NR Electric Co Ltd
NR Engineering 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 NR Electric Co Ltd, NR Engineering Co Ltd filed Critical NR Electric Co Ltd
Priority to CN201910560797.3A priority Critical patent/CN110247981A/en
Publication of CN110247981A publication Critical patent/CN110247981A/en
Pending legal-status Critical Current

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Water Supply & Treatment (AREA)
  • Strategic Management (AREA)
  • Public Health (AREA)
  • Computing Systems (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Medical Informatics (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Supply And Distribution Of Alternating Current (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of electric power scheduling automatization system application micro services remodeling methods, it is related to dispatching automation of electric power systems field, it include: for each electric power scheduling automatization system application and development adaptor module, an adapter instance is disposed for each application example, adapter instance and application example are disposed on the same server;Start automatically using adapter when starting and be automatically performed service registration, adapter externally provides micro services interface for client call, and realizes the abatement functions of micro services by adapter, using the realization for being absorbed in service logic;It is communicated using with adapter by platform network middleware and serializing/unserializing technology.The present invention can be realized to the database of tradition application and the multiplexing of program in electric power scheduling automatization system application micro services transformation process, to achieve the purpose that reduce retrofit work amount and shorten the development cycle.

Description

A kind of electric power scheduling automatization system application micro services remodeling method
Technical field
The present invention relates to dispatching automation of electric power systems fields more particularly to a kind of electric power scheduling automatization system using micro- Service remodeling method.
Background technique
Traditional electric power scheduling automatization system generallys use the realization of platform+application framework, and platform provides all kinds of bases Service, system administration and monitoring function is applied, types of applications passes through local disposition electric system program on a different server And database, the user of Xiang Butong provide the functions such as various power grid monitoring, control, calculating, analysis.With power dispatching automation The plant stand and equipment of system tune pipe are regardless of increasing, the real time data quantity of access constantly expands, to the concurrency of automated system Energy, scalability and the maintainable electric power scheduling automatization system required regardless of improving, under conventional architectures are unable to satisfy this Demand.
Realize that electric power scheduling automatization system is a kind of feasible technology path, cloud using cloud platform and micro services framework System under platform and micro services framework is broken down into the micro services that can be independently disposed one by one with dynamic expansion, service and service Between mutually call collectively form complete automated system.But traditional application is transformed into micro services and moves to cloud platform On heavy workload, transformation the period it is long, how to be multiplexed as far as possible in transformation process tradition application database and program, reduction change Making workload and shortening development cycle is a technical problem urgently to be resolved.
Summary of the invention
The purpose of the present invention is to provide a kind of electric power scheduling automatization system application micro services remodeling methods, by every An adaptor module, log recording, monitoring, flow control, service in realization micro services framework are simultaneously disposed in a application and development The abatement functions such as registration, service discovery, service current limliting, service fusing, and pass through platform network middleware and sequence with tradition application Column/unserializing technology is communicated, and realizes the database of tradition application and the multiplexing of program, to reach reduction transformation work Work amount and the purpose for shortening the development cycle.
In order to achieve the above objectives, The technical solution adopted by the invention is as follows:
A kind of electric power scheduling automatization system application micro services remodeling method, comprising:
For electric power scheduling automatization system application and development adapter, each Power System Analysis application example disposes one Adapter instance, the adapter instance and the Power System Analysis application example are disposed on the same server;
When Power System Analysis application starting, the adapter starts automatically and completes service registration;
Power System Analysis is applied and is communicated with adapter by platform network middleware and serializing/unserializing, Finishing service logic.
Adapter above-mentioned externally provides the interface of JSON format, the calling and access for Power System Analysis application.
Power System Analysis above-mentioned, which is applied, handles journey by an interface module for being responsible for processing input and output, hind computation Sequence and database composition, for realizing service logic, including rights management, file service, model service, data service, trend Calculating and static security analysis.
Adapter above-mentioned is for carrying out service monitoring, flow control, log recording, service current limliting and service fusing.
Adapter above-mentioned uses Java language and Spring Boot micro services Development of Framework.
The interface of adapter above-mentioned includes:
UserLogin is logged in for user, carries out purview certification, and provides a unique User ID mark;
UserLogout is used for user log off;
SetGridCase, the state estimation result section for some moment of power grid that user setting needs to analyze;
State is moved back in SetEquipmentState, the throwing for user setting primary equipment;
State is moved back in SetEquipmentValue, the throwing for user setting generator or load;
CallPowerflow, for calling Load flow calculation;
CallNetCA, for calling static security analysis to calculate;
GetFlowResult, for obtaining calculation of tidal current;
GetNetCAResult, for obtaining static security analysis calculated result.
Adapter instance above-mentioned creates together with Power System Analysis application example, destroys together.
Power System Analysis above-mentioned, which is applied, to be carried out with adapter by platform network middleware and serializing/unserializing Communication, comprising:
(1) Power System Analysis application micro services client sends service request messages to adapter;
(2) request message of client is converted into binary system message by serializing by adapter, and then adapter passes through Platform network middleware interface sends binary system message and gives Power System Analysis application;
(3) after Power System Analysis application receives binary request message, the calculating point of own service logic is carried out Analysis and processing, generate the binary system message of return, and return to adapter by platform network middleware interface;
(4) adapter will return to the client of request after the binary system message unserializing of Power System Analysis application return End.
Adapter above-mentioned carries out serializing and unserializing processing is realized using Protbuff technology.
The beneficial effects obtained by the present invention are as follows are as follows:
The present invention can be realized in electric power scheduling automatization system application micro services transformation process to the data of tradition application The multiplexing in library and program, to achieve the purpose that reduce retrofit work amount and shorten the development cycle.
Detailed description of the invention
Fig. 1 is the block schematic illustration of Power System Analysis application micro services transformation;
Fig. 2 is the flow diagram of Power System Analysis application micro services interaction.
Specific embodiment
The invention will be further described below.Following embodiment is only used for clearly illustrating technical side of the invention Case, and not intended to limit the protection scope of the present invention.
The embodiment of the invention provides Power System Analysis applications in a kind of electric power scheduling automatization system to carry out micro services The implementation method of transformation includes using micro services transformation frame and data interaction two parts scheme.
Referring to the block schematic illustration that the Power System Analysis application micro services of Fig. 1 are transformed, the embodiment of the present invention is by micro services Management framework, electric power scheduling automatization system platform and including Power System Analysis micro services A, Power System Analysis in incognito Multiple micro services examples composition including business B, wherein each Power System Analysis micro services are by an adapter and an electric power Network analysis application composition.
Wherein, micro services management framework realizes operation service bus using the micro services framework based on Spring Cloud, It provides micro services interface, adapter service, interconnect infrastructure between resource management dispatch service, be that Power System Analysis is micro- The carrier to interconnect is realized in service, realizes data transmission, message transmission etc. of each micro services on service bus, Yi Jixiang Registration, directory management, monitoring management of the service answered etc..The main functional modules of micro services management framework include: service registration Center, gateway, load balancing, fuse, service monitoring, messaging bus, authentication service, search service, distributed timing Task schedule and distributed caching frame.
Electric power scheduling automatization system platform provides support and service for types of applications, for operation of power networks monitoring, operation control System, operating analysis, operational management types of applications provide comprehensive support, specifically include: data supporting, interaction support and running environment Support.Data supporting mainly solves acquisition, integrated, storage, association and the access of data.
Power System Analysis application, which is one, has good cohesion, the functional module of autonomy and appropriate granularity, by One is responsible for interface module, hind computation processing routine and the database composition of processing input and output, is including but not limited to weighed Limit management, file service, model service, data service, Load flow calculation, static security analysis etc..Each application can be independently Electrical power system analysis and computing is carried out, wherein outputting and inputting for calculating all is handed over by platform network middleware and client Mutually, these features are suitable for carrying out micro services transformation.
Adapter uses Java language and Spring Boot micro services Development of Framework, disposes with Power System Analysis application On the same server, the external interface form of adapter uses intelligible JSON format, and Interface design is as follows:
Illustrate the message that outputs and inputs of service interface by taking SetEquipmentState as an example, wherein request message JSON format is as follows:
Name:string, user login name claim
Uid:string, user's unique identification ID number that when login returns
Devid:long, the OID of equipment
Devtype:string, device type
Devopr:int throws and moves back type, and 1: coincidence;0: quartile
The JSON format of request message is as follows:
ReturnCode:string, as a result return code
As a result description:string returns to description
Adapter is created together with Power System Analysis application example, is destroyed together in the embodiment of the present invention, and adapter exists Service register center registration when from starting to micro services management framework, is nullified when destroying to service register center, application is micro- The user of service has found to apply by service register center.All client-side program using application function can only pass through adaptation The service interface that device provides is called and accesses, and completes the abatement functions of various micro services by adapter, including service monitoring, Flow control, log recording, service current limliting and service fusing etc..
Fig. 2 gives the flow diagram of Power System Analysis application micro services interaction comprising the steps of:
(1) Power System Analysis application micro services client sends service request messages to adapter;
(2) request message of client is converted into binary system message by serializing technology by adapter, then adapter Binary system message, which is sent, by platform network middleware interface gives Power System Analysis application;
(3) after Power System Analysis application receives binary request message, the calculating point of own service logic is carried out Analysis and processing, generate the binary system message of return, and return to adapter by platform network middleware interface;
(4) adapter will return to the client of request after the binary system message unserializing of Power System Analysis application return End.
Wherein, the JSON message that client is sent is the message for meeting adaptor interface, and it includes 9 that the adapter is for example aforementioned Interface, therefore client transmission is the request message for meeting this 9 interface specification requirements.Adapter carries out serializing and inverted sequence Columnization processing realizes that the mutual message design of adapter and Power System Analysis application is as follows using Protbuff technology:
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, without departing from the technical principles of the invention, several improvement and deformations can also be made, these improvement and deformations Also it should be regarded as protection scope of the present invention.

Claims (9)

1. a kind of electric power scheduling automatization system application micro services remodeling method characterized by comprising
For electric power scheduling automatization system application and development adapter, each Power System Analysis application example disposes an adaptation Device example, the adapter instance and the Power System Analysis application example are disposed on the same server;
When Power System Analysis application starting, the adapter starts automatically and completes service registration;
Power System Analysis is completed using being communicated with adapter by platform network middleware and serializing/unserializing Service logic.
2. a kind of electric power scheduling automatization system application micro services remodeling method according to claim 1, which is characterized in that The adapter externally provides the interface of JSON format, the calling and access for Power System Analysis application.
3. a kind of electric power scheduling automatization system application micro services remodeling method according to claim 1, which is characterized in that The Power System Analysis applies interface module, hind computation processing routine and the database for being responsible for processing input and output by one Composition, for realizing service logic, including rights management, file service, model service, data service, Load flow calculation and static state Safety analysis.
4. a kind of electric power scheduling automatization system application micro services remodeling method according to claim 1, which is characterized in that The adapter is for carrying out service monitoring, flow control, log recording, service current limliting and service fusing.
5. a kind of electric power scheduling automatization system application micro services remodeling method according to claim 1, which is characterized in that The adapter uses Java language and Spring Boot micro services Development of Framework.
6. a kind of electric power scheduling automatization system application micro services remodeling method according to claim 1, which is characterized in that The interface of the adapter includes:
UserLogin is logged in for user, carries out purview certification, and provides a unique User ID mark;
UserLogout is used for user log off;
SetGridCase, the state estimation result section for some moment of power grid that user setting needs to analyze;
State is moved back in SetEquipmentState, the throwing for user setting primary equipment;
State is moved back in SetEquipmentValue, the throwing for user setting generator or load;
CallPowerflow, for calling Load flow calculation;
CallNetCA, for calling static security analysis to calculate;
GetFlowResult, for obtaining calculation of tidal current;
GetNetCAResult, for obtaining static security analysis calculated result.
7. a kind of electric power scheduling automatization system application micro services remodeling method according to claim 1, which is characterized in that The adapter instance creates together with Power System Analysis application example, destroys together.
8. a kind of electric power scheduling automatization system application micro services remodeling method according to claim 1, which is characterized in that The Power System Analysis is applied and is communicated with adapter by platform network middleware and serializing/unserializing, comprising:
(1) Power System Analysis application micro services client sends service request messages to adapter;
(2) request message of client is converted into binary system message by serializing by adapter, and then adapter passes through platform Network middleware interface sends binary system message and gives Power System Analysis application;
(3) after Power System Analysis application receives binary request message, carry out own service logic calculating analysis and Processing, generates the binary system message of return, and return to adapter by platform network middleware interface;
(4) adapter will return to the client of request after the binary system message unserializing of Power System Analysis application return.
9. a kind of electric power scheduling automatization system application micro services remodeling method according to claim 8, which is characterized in that The adapter carries out serializing and unserializing processing is realized using Protbuff technology.
CN201910560797.3A 2019-06-26 2019-06-26 A kind of electric power scheduling automatization system application micro services remodeling method Pending CN110247981A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910560797.3A CN110247981A (en) 2019-06-26 2019-06-26 A kind of electric power scheduling automatization system application micro services remodeling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910560797.3A CN110247981A (en) 2019-06-26 2019-06-26 A kind of electric power scheduling automatization system application micro services remodeling method

Publications (1)

Publication Number Publication Date
CN110247981A true CN110247981A (en) 2019-09-17

Family

ID=67889707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910560797.3A Pending CN110247981A (en) 2019-06-26 2019-06-26 A kind of electric power scheduling automatization system application micro services remodeling method

Country Status (1)

Country Link
CN (1) CN110247981A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111581576A (en) * 2020-05-08 2020-08-25 湖南蚁坊软件股份有限公司 Development processing method and device based on micro-service and storage medium
CN111782259A (en) * 2020-06-24 2020-10-16 北京计算机技术及应用研究所 Micro-service management method based on reverse proxy
CN112256246A (en) * 2020-09-18 2021-01-22 许继集团有限公司 Micro-service integration framework for supporting cross-language calling in power system
CN112669015A (en) * 2020-12-31 2021-04-16 广东电网有限责任公司电力调度控制中心 Power dispatching micro-service construction system and method
CN112765678A (en) * 2020-12-30 2021-05-07 南京南瑞继保工程技术有限公司 Electric power market security check method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106230987A (en) * 2016-09-21 2016-12-14 南方电网科学研究院有限责任公司 The information integrated system of a kind of electrically-based PaaS cloud platform and method
CN106656630A (en) * 2017-01-13 2017-05-10 北京中电普华信息技术有限公司 Electric marketing service application system, and construction method and platform thereof
US20170178158A1 (en) * 2015-12-22 2017-06-22 MOAI Solutions Inc. Systems and methods for managing electricity consumption on a power grid
CN107491858A (en) * 2017-07-05 2017-12-19 北京科东电力控制系统有限责任公司 A kind of electric power transaction platform based on micro services application architecture
CN107895253A (en) * 2017-10-25 2018-04-10 北京科东电力控制系统有限责任公司 A kind of method that electricity transaction function carries out micro services transformation
CN108650262A (en) * 2018-05-09 2018-10-12 聚龙股份有限公司 A kind of cloud platform extended method and system based on micro services framework
CN108667925A (en) * 2018-05-04 2018-10-16 北京天元创新科技有限公司 A kind of method and system of WEB application seamless access distributed system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170178158A1 (en) * 2015-12-22 2017-06-22 MOAI Solutions Inc. Systems and methods for managing electricity consumption on a power grid
CN106230987A (en) * 2016-09-21 2016-12-14 南方电网科学研究院有限责任公司 The information integrated system of a kind of electrically-based PaaS cloud platform and method
CN106656630A (en) * 2017-01-13 2017-05-10 北京中电普华信息技术有限公司 Electric marketing service application system, and construction method and platform thereof
CN107491858A (en) * 2017-07-05 2017-12-19 北京科东电力控制系统有限责任公司 A kind of electric power transaction platform based on micro services application architecture
CN107895253A (en) * 2017-10-25 2018-04-10 北京科东电力控制系统有限责任公司 A kind of method that electricity transaction function carries out micro services transformation
CN108667925A (en) * 2018-05-04 2018-10-16 北京天元创新科技有限公司 A kind of method and system of WEB application seamless access distributed system
CN108650262A (en) * 2018-05-09 2018-10-12 聚龙股份有限公司 A kind of cloud platform extended method and system based on micro services framework

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
WAY LAU: "使用Sidecar搭建异构平台的微服务", 《HTTPS://CLOUD.TENCENT.COM/DEVELOPER/ARTICLE/1420647》 *
刘荣辉: "《大数据架构技术与实例分析》", 31 January 2018, 长春:东北师范大学出版社 *
孤独烟: "【原创】大话微服务中的边车模式", 《HTTPS://WWW.CNBLOGS.COM/RJZHENG/P/10390827.HTML》 *
杨俊伟等: "基于微服务架构的电力云服务平台", 《电力信息与通信技术》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111581576A (en) * 2020-05-08 2020-08-25 湖南蚁坊软件股份有限公司 Development processing method and device based on micro-service and storage medium
CN111581576B (en) * 2020-05-08 2024-04-02 湖南蚁坊软件股份有限公司 Development processing method and device based on micro-service and storage medium
CN111782259A (en) * 2020-06-24 2020-10-16 北京计算机技术及应用研究所 Micro-service management method based on reverse proxy
CN111782259B (en) * 2020-06-24 2023-11-10 北京计算机技术及应用研究所 Reverse proxy-based microservice treatment method
CN112256246A (en) * 2020-09-18 2021-01-22 许继集团有限公司 Micro-service integration framework for supporting cross-language calling in power system
CN112765678A (en) * 2020-12-30 2021-05-07 南京南瑞继保工程技术有限公司 Electric power market security check method and system
CN112669015A (en) * 2020-12-31 2021-04-16 广东电网有限责任公司电力调度控制中心 Power dispatching micro-service construction system and method

Similar Documents

Publication Publication Date Title
CN110247981A (en) A kind of electric power scheduling automatization system application micro services remodeling method
CN111045656A (en) Method and system for constructing platform system infrastructure in government affair service
CN101587639B (en) City bus information management and dispatch decision support system based on network
CN103066701A (en) Power grid dispatching real-time operation command method and system
CN109815002A (en) A kind of distributed paralleling calculation platform and its method based on in-circuit emulation
CN112419129A (en) Method and system for constructing platform system infrastructure in government affair service
CN101860024B (en) Implementation method for integrating provincial dispatch organization PAS system in electric power system
CN111144930A (en) Structured address analysis application system for regional power grid electricity utilization customer
Theeten et al. Towards the optimization of a parallel streaming engine for telco applications
CN113923200A (en) Method and device for realizing massive API gateway service
CN113515267A (en) PaaS platform based on industrial Internet of things
CN105245553A (en) SOA system and business processing method
CN112286915A (en) Data interaction method for power communication dispatching command platform and third-party platform
Zhang et al. Design of M2M Platform Based on J2EE and SOA
Huang et al. Research and application of microservice in power grid dispatching control system
CN110532313A (en) DEU data exchange unit
Zolotova et al. Architecture for a universal mobile communication module
CN109857965A (en) Products of Meteorological Services publisher server control system and method based on SOA
CN109858905A (en) The electronic certificate processing method and processing device of cross-system
CN103269327A (en) Method for realizing general file data service based on agent mechanism
KR101757259B1 (en) Integrated management system for cim based real-time data exchange
Wang et al. Design of satellite ground management system based on microservices
Varga et al. Applicability of RESTful web services in control center software integrations
CN113807627A (en) Micro-service architecture server, method and system for clearing electric power spot case
Sun et al. A microservices oriented edge computing framework for LVC simulation in the IoT Era

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

Application publication date: 20190917