CN102629939B - Electric power enterprise service bus realization method and device - Google Patents

Electric power enterprise service bus realization method and device Download PDF

Info

Publication number
CN102629939B
CN102629939B CN201210067236.8A CN201210067236A CN102629939B CN 102629939 B CN102629939 B CN 102629939B CN 201210067236 A CN201210067236 A CN 201210067236A CN 102629939 B CN102629939 B CN 102629939B
Authority
CN
China
Prior art keywords
esb
electric power
service
bus
power enterprise
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
CN201210067236.8A
Other languages
Chinese (zh)
Other versions
CN102629939A (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.)
Electric Power Research Institute of Guangdong Power Grid Co Ltd
Original Assignee
Electric Power Research Institute of Guangdong Power Grid 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 Electric Power Research Institute of Guangdong Power Grid Co Ltd filed Critical Electric Power Research Institute of Guangdong Power Grid Co Ltd
Priority to CN201210067236.8A priority Critical patent/CN102629939B/en
Publication of CN102629939A publication Critical patent/CN102629939A/en
Application granted granted Critical
Publication of CN102629939B publication Critical patent/CN102629939B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides an electric power enterprise service bus realization method and a device. The method includes the following steps of: carrying out unified modeling on objects and information exchange of an electric power enterprise power generation link, a power transmission link, a power distribution link and a market link; designing a bus message specification, and defining a total line message format; designing a bus service specification, and determining a service function and input, output parameters and formats of each service; according to a REST design guideline in a REST Web framework, using a URI to define resource, and realizing an enterprise service bus of an electric power enterprise. The method and the device are based on the REST Web framework and are directly realized on an HTTP protocol, a basic operation of the HTTP protocol can be used to realize a concrete function of the enterprise service bus, thus a problem of all services on the enterprise service bus are paralyzed caused by the change of the enterprise service bus and an associated information system is effectively avoided, and the method and the device have a good market prospect.

Description

Electric power enterprise service bus implementation method and device
Technical field
The present invention relates to a kind of electric power enterprise service bus implementation method and a kind of electric power enterprise service bus implement device.
Background technology
Under the driving of fierce market competition and the development of IT technology high-speed, in electric power enterprise, there is a large amount of information systems, especially the application system based on Web continues to bring out, cause enterprises service system data resource information huge, the appearance of many eurypalynous systems, easily make business information services device volume load overweight, also easily cause the business function service in different application systems cannot effectively carry out information interaction and data sharing, thereby reduce the cooperation ability of a large system of conduct of whole enterprise information system, cannot give play to the maximum application effect of each application system and organically merge the function of each system, also caused ERM adequately and reasonably not applied simultaneously.Therefore in the urgent need to one can effective, convenient solution information system between integrated method, realize collaborative work and the data sharing of each related service system, to bring into play the maximum function of each system.
ESB due to its allow software and services with modularization and flexibly mode communicate with one another and regardless of platform, programming language, programming model or message format, it is arbitrated request and service is coupled together by control simultaneously, this service bus, as the connection maincenter of distributed system, for the system integration and the integration of isomery, compartment system, can help enterprise to build more flexible, quick enterprise application system environment.Thereby in electric power enterprise, the mutual collaborative work ability of utilizing ESB to overcome to exist in existing multiple information systems in electric power enterprise and the problem of data sharing scarce capacity, the existing resource of maximization system.Availability, reliability, scalability, autgmentability, flexibility and the fail safe of ESB simultaneously also ensured that it can be effectively for electric power enterprise provides strong information system support.
In traditional enterprise service bus implementing method, generally adopt the ESB based on SOA (service-oriented architecture, service-oriented architecture) framework.Based on the method for designing of SOA infrastructure services, the bottom complexity of bringing by hiding various application and technology, reduces the coupling of application system effectively, improves interoperability and the robustness of enterprise's application.This enterprise service bus implementing method has advantages of that platform architecture is open, reliable and stable and extensibility is strong.But the ESB of this framework has also been brought the shortcoming of SOA in system, the for example ESB system based on SOA framework can seem that in the time that electric power enterprise needs personalize development some is unable to do what one wishes, and distinct issues are no more than whole system is in the time that framework goes wrong, likely cause all business paralysis on ESB.Therefore, all business paralysis on the ESB of how avoiding causing due to the change of ESB and related information system, have become problem demanding prompt solution.
Summary of the invention
The invention provides a kind of electric power enterprise service bus implementation method and device, all business paralysis on the ESB that can effectively avoid causing due to the change of ESB and related information system.
For achieving the above object, the present invention adopts following technical scheme:
A kind of electric power enterprise service bus implementation method, comprises the steps:
Unified Modeling is carried out in object and information exchange to electric power enterprise generating link, transmission of electricity link, distribution link and market link;
Design bus message specification, definition bus message format;
Design bus service regulation, determines input, output parameter and the form of service function and each service;
Use URI definition resource according to the REST design criterion in REST Web framework, realize the ESB of electric power enterprise.
A kind of electric power enterprise service bus implement device, comprising:
MBM, for carrying out unified Modeling to object and the information exchange of electric power enterprise generating link, transmission of electricity link, distribution link and market link;
The first design module, for design bus message specification, definition bus message format;
The second design module, for design bus service regulation, determines input, output parameter and the form of service function and each service;
Realize module, use URI definition resource for the REST design criterion according to REST Web framework, realize the ESB of electric power enterprise.
Can be found out by above scheme, present invention is directed at the feature that needs to realize bulk information system synergistic working and data sharing in electric power enterprise, a kind of electric power enterprise service bus implementation method and device based on REST Web service framework proposed, method of the present invention and device rely on REST Web framework, directly to be implemented on http protocol, can utilize the basic operation of Http agreement itself to realize the concrete function of ESB, this way has fundamentally been stopped the phenomenon that whole system can cause all business on ESB all to be paralysed in the time that framework goes wrong, thereby the problem of all business paralysis on the ESB of effectively having avoided causing due to the change of ESB and related information system, there are good market prospects.In addition, electric power enterprise service bus implementation method and device based on REST Web service framework of the present invention, there are five large features of REST framework, that is: all things on network be all conceptualized as the corresponding unique resource identifier of resource, each resource, by general attachment unit interface to resource operate, to the various operations of resource can not change resource identifier, all operations are stateless.Utilize several features of above-mentioned REST framework can effectively improve the service efficiency of resource and simplify the service operations to each resource, while making the request of ESB process information, have efficiently, advantage efficiently simultaneously.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of electric power enterprise service bus implementation method of the present invention;
Fig. 2 is the structural representation of electric power enterprise service bus implement device of the present invention.
Embodiment
Below in conjunction with accompanying drawing and specific embodiment, technical scheme of the present invention is further described.
As shown in Figure 1, a kind of electric power enterprise service bus implementation method, comprises following several step:
Step S1, carries out unified Modeling to object and the information exchange of electric power enterprise generating link, transmission of electricity link, distribution link and market link.
Consider that CIM is that multiple standards are as IEC61970, the core of IEC61968 etc. and basis, to accept extensively the most and the electric network composition descriptive model of deep development, can be effectively applied in electric power enterprise integrated between application system, and model can constantly upgrade along with the development of electric power enterprise demand and be perfect, therefore as a good embodiment, above-mentioned process of carrying out unified Modeling is specifically as follows as follows: utilize the common information model (Common Information Model) of following IEC 61968/IEC 61970 to come electric power enterprise unified Modeling, be integrated on ESB with dynamic expansion packet mode, when operation, utilize Java language reflex mechanism automatically to construct business object example, seamless upgrade when adapting to following evolution.
Currently also there are some towards power industry and follow the implementation method of the ESB of CIM standard, but in its implementation procedure, be more the basic methods using CIM as a kind of modeling, in the present invention, emphasize the effect of ESB while as a basic model storehouse, in the time that the business object model using in bus occurs to upgrade, can, only by upgrading the basic model storehouse in bus, just can realize the seamless upgrade that all users of bus use a model.
Step S2, design bus message specification, definition bus message format.The bus message form of described definition comprises: the face contents such as the content coding scheme definition that type of message definition, message header formal definition, message body formal definition, message adopt.
Step S3, design bus service regulation, bus service regulation be according to bus future need to scene define and need the service that realizes, mainly comprise input, output parameter and the form determining service function and determine each service.Wherein, described definite service function comprises: transmission of messages service function, file transfer services function, data transport service function and service self-described function serving information etc.
Step S4, uses URI (Uniform Resource Identifier, generic resource identifier) definition resource according to the REST design criterion in REST Web framework, realizes the ESB of electric power enterprise.
REST (Representational State Transfer, statement sexual state shifts) framework is different from traditional ESB implementation based on SOA framework, REST framework, on original framework, has again unified interface, hierarchical system, three new criteria features of code as required.Wherein, unified interface is that affairs all on network are all conceptualized as under the basis of resource, by general linker interface, resource is operated, to ensure that the service that system provides is all decoupling zero, thereby greatly simplify system, improved interactivity and the reusability of system; Hierarchical system is left over service by package system, makes new server exempt from the impact of leaving over client, thereby has improved the independence between at all levels, has also improved the scalability of system; Code is that it allows client by downloading and carry out the code of various ways as required, carries out the expansion of function.Use after the resource of URI definition in the REST framework criterion of utilizing above feature, can effectively improve the service efficiency of resource and simplify the service operations to each resource.
As a good embodiment, the process of the described ESB of realizing electric power enterprise is specifically as follows as follows: based on publish/subscribe mechanism, use message queue and the file system data exchange zone as ESB, utilize HTTP (hypertext transport protocol, HTTP) four own corresponding basic operations of looking into, change, increase, deleting respectively: GOT, POST, PUT, DELETE, realize the concrete function of ESB, the function that merges Heterogeneous Information System, realizes the data sharing of different system.By the enterprise application of each independent operating with data publish person and message acceptance person's identity registration to ESB, as the data exchange zone of service bus, complete the transmission of message between each is applied by message queue and file system.
For in real time/quasi real time information interaction of data, employing publish/subscribe mechanism, realize the loose coupling of interacting message both sides on room and time, simultaneously, cross over the information interaction of different secure isolation zones, also can guarantee by the asynchronous response mode of publish/subscribe the fail safe of message reference.Publisher with certain form by the data information publish needing on ESB in theme queue, subscriber obtains corresponding data message from theme queue according to the subscribe request of oneself, can inform that the other side oneself issues or obtain the state of data message between publisher and subscriber by certain protocol mode simultaneously.Consider the high feature of data message circulation security requirement on ESB simultaneously, utilize publish/subscribe mechanism, can effectively meet this requirement.Adopt publish/subscribe mechanism can make whole bus there is simplification, lightweight, be easy to the advantages such as structure, be more suitable for and realize integration and the cooperation between Web application in enterprise.
Give an example publish/subscribe mechanism of the present invention be further described below by a typical application process:
One, information publisher's step:
P1, publisher create a new issue thread;
P2, issue thread creation/obtain to write data entity;
P3, publisher are to theme and the content of writing data entity and write distributing data;
P4, write data entity and put into theme queue by content distributed according to theme;
P5, theme queue send message to all subscribers that subscribed to this theme, represent that this theme data with existing upgrades.
Two, information subscribing person step:
S1, subscriber create a new subscription thread;
S2, subscription thread create a subscription monitor according to interested theme;
S3, subscription monitor create/obtain a read data entity;
S4, read data entity read the more new data in related subject queue;
The more new data reading is returned to subscriber by S5, read data entity.
Corresponding with a kind of electric power enterprise service bus implementation method of the present invention, the present invention also provides a kind of electric power enterprise service bus implement device, as shown in Figure 2, comprising:
MBM, for carrying out unified Modeling to object and the information exchange of electric power enterprise generating link, transmission of electricity link, distribution link and market link;
The first design module, for design bus message specification, definition bus message format;
The second design module, for design bus service regulation, determines input, output parameter and the form of service function and each service;
Realize module, use URI definition resource for the REST design criterion according to REST Web framework, realize the ESB of electric power enterprise.
Preferably, the described module that realizes can comprise that concrete function realizes submodule, this submodule is used for based on publish/subscribe mechanism, use message queue and the file system data exchange zone as ESB, utilize four of http protocol itself the corresponding basic operations of looking into, change, increase, deleting respectively: GOT, POST, PUT, DELETE, realize the concrete function of ESB.
Preferably, described MBM can comprise CIM MBM, for utilizing the common information model of following IEC61968/IEC 61970 to come electric power enterprise unified Modeling, be integrated on ESB with dynamic expansion packet mode, when operation, utilize Java language reflex mechanism automatically to construct business object example.
Other technical characterictic in a kind of electric power enterprise service bus implement device of the present invention is identical with a kind of electric power enterprise service bus implementation method of the present invention, does not repeat them here.
Compared with prior art, a kind of electric power enterprise service bus implementation method of the present invention and device have following beneficial effect:
One, apply the confessed domain model of power industry storehouse, strengthened the reliability of model.In enterprise service bus implementing method based on RESTWeb service architecture, adopt the common information model of following IEC61968/IEC61970 to realize effective modeling of all types of resources in electric power enterprise, this kind of modeling pattern is generally acknowledged, electric network composition descriptive model that accept extensively, deep development in power domain, utilize the ESB of this kind of model realization electric power enterprise, can in the reliability situation that ensures model, realize well organically blending of information system for power enterprise and effectively sharing of data, improve the market competitiveness of enterprise;
Two, bus adopts publish/subscribe mechanism, has guaranteed the fail safe of message reference in bus.ESB in the present invention has adopted the mechanism of publish/subscribe, realizing beyond the loose coupling of information interaction on space-time, there is the fail safe of guaranteeing message reference in bus by the asynchronous acknowledgement mechanism of publish/subscribe, improved the Information Service Quality of electric power enterprise service bus;
Three, REST Web service framework, makes ESB efficient, easy, quick.Based on the electric power enterprise service bus of REST Web service framework, there are five large features of REST framework, that is: all things on network be all conceptualized as the corresponding unique resource identifier of resource, each resource, by general attachment unit interface to resource operate, to the various operations of resource can not change resource identifier, all operations are stateless.Wherein, feature resource being operated by general attachment unit interface makes ESB efficient and simple, efficient when the Stateless of operation makes the request of ESB process information, quick.Therefore, the electric power enterprise service bus based on REST Web service framework has efficient, simple, fast advantage.In addition, method of the present invention and device rely on REST Web framework, directly to be implemented on http protocol, can utilize the basic operation of http protocol itself to realize the concrete function of ESB, this way has fundamentally been stopped the phenomenon that whole system can cause all business on ESB all to be paralysed in the time that framework goes wrong, thereby the problem of all business paralysis on the ESB of effectively having avoided causing due to the change of ESB and related information system, has good market prospects.
Above-described embodiment of the present invention, does not form limiting the scope of the present invention.Any amendment of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in claim protection range of the present invention.

Claims (4)

1. an electric power enterprise service bus implementation method, is characterized in that, comprises the steps:
Unified Modeling is carried out in object and information exchange to electric power enterprise generating link, transmission of electricity link, distribution link and market link;
Design bus message specification, definition bus message format;
Design bus service regulation, determines input, output parameter and the form of service function and each service;
Use URI definition resource according to the REST design criterion in REST Web framework, realize the ESB of electric power enterprise;
The process of the described ESB of realizing electric power enterprise is specially: based on publish/subscribe mechanism, use message queue and the file system data exchange zone as ESB, utilize four of http protocol itself the corresponding basic operations of looking into, change, increase, deleting respectively: GOT, POST, PUT, DELETE, realize the concrete function of ESB;
Publisher with certain form by the data information publish needing on ESB in theme queue, subscriber obtains corresponding data message from theme queue according to the subscribe request of oneself, inform that the other side oneself issues or obtain the state of data message between publisher and subscriber by certain protocol mode simultaneously;
Described process of carrying out unified Modeling is specially: utilize the common information model of following IEC61968/IEC61970 to come electric power enterprise unified Modeling, be integrated on ESB with dynamic expansion packet mode, when operation, utilize Java language reflex mechanism automatically to construct business object example;
In the time that the business object model using in ESB occurs to upgrade, realize by the basic model storehouse of upgrading in ESB the seamless upgrade that all users of ESB use a model.
2. electric power enterprise service bus implementation method according to claim 1, it is characterized in that, the bus message form of described definition comprises: the content coding scheme definition that type of message definition, message header formal definition, message body formal definition, message adopt.
3. electric power enterprise service bus implementation method according to claim 1, it is characterized in that, described definite service function comprises: transmission of messages service function, file transfer services function, data transport service function and service self-described function serving information.
4. an electric power enterprise service bus implement device, is characterized in that, comprising:
MBM, for carrying out unified Modeling to object and the information exchange of electric power enterprise generating link, transmission of electricity link, distribution link and market link;
The first design module, for design bus message specification, definition bus message format;
The second design module, for design bus service regulation, determines input, output parameter and the form of service function and each service;
Realize module, use URI definition resource for the REST design criterion according to REST Web framework, realize the ESB of electric power enterprise;
The described module that realizes comprises that concrete function realizes submodule, be used for based on publish/subscribe mechanism, use message queue and the file system data exchange zone as ESB, utilize four of http protocol itself the corresponding basic operations of looking into, change, increase, deleting respectively: GOT, POST, PUT, DELETE, realize the concrete function of ESB;
Publisher with certain form by the data information publish needing on ESB in theme queue, subscriber obtains corresponding data message from theme queue according to the subscribe request of oneself, inform that the other side oneself issues or obtain the state of data message between publisher and subscriber by certain protocol mode simultaneously;
Described MBM comprises CIM MBM, for utilizing the common information model of following IEC61968/IEC61970 to come electric power enterprise unified Modeling, be integrated on ESB with dynamic expansion packet mode, when operation, utilize Java language reflex mechanism automatically to construct business object example;
In the time that the business object model using in ESB occurs to upgrade, realize by the basic model storehouse of upgrading in ESB the seamless upgrade that all users of ESB use a model.
CN201210067236.8A 2012-03-14 2012-03-14 Electric power enterprise service bus realization method and device Active CN102629939B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210067236.8A CN102629939B (en) 2012-03-14 2012-03-14 Electric power enterprise service bus realization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210067236.8A CN102629939B (en) 2012-03-14 2012-03-14 Electric power enterprise service bus realization method and device

Publications (2)

Publication Number Publication Date
CN102629939A CN102629939A (en) 2012-08-08
CN102629939B true CN102629939B (en) 2014-11-19

Family

ID=46588098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210067236.8A Active CN102629939B (en) 2012-03-14 2012-03-14 Electric power enterprise service bus realization method and device

Country Status (1)

Country Link
CN (1) CN102629939B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019980A (en) * 2012-11-14 2013-04-03 中国电力科学研究院 Control method for information flow of power distribution network based on IEC(International Electrotechnical Commission) 61968 standard
CN103544016A (en) * 2013-10-28 2014-01-29 珠海许继芝电网自动化有限公司 Service registering configuration method and system based on JAVA reflection technology
CN103856353B (en) * 2014-03-06 2018-01-26 上海爱数信息技术股份有限公司 A kind of business diary data access and the method and device of statistical analysis
CN103944924B (en) * 2014-05-15 2017-04-19 重庆邮电大学 Method of ubiquitous network publish-subscribe middleware model based on RESTful
CN104036363B (en) * 2014-06-24 2017-06-09 华北电力大学 Electric power power-quality information system integrated approach based on Distributed Services bus
CN104811475A (en) * 2015-03-27 2015-07-29 深圳市华运国际物流有限公司 Enterprise service bus middleware based on Restful technology
CN105049515A (en) * 2015-08-04 2015-11-11 国网浙江兰溪市供电公司 Power distribution monitoring system and data interaction method thereof
CN106341293B (en) * 2016-08-31 2019-08-23 中车青岛四方机车车辆股份有限公司 A kind of method and device of information system access Enterprise Service Bus
CN107632894A (en) * 2017-08-09 2018-01-26 中国电力科学研究院 A kind of implementation method and device for power market transaction service call

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1607774A (en) * 2003-10-13 2005-04-20 上海燃料电池汽车动力系统有限公司 Method for describing vehicle-mounted CAN communication network with XML language

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1607774A (en) * 2003-10-13 2005-04-20 上海燃料电池汽车动力系统有限公司 Method for describing vehicle-mounted CAN communication network with XML language

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张鹰,柳涛.基于输配电及通信一体化GIS平台的通信资源管理系统.《电力信息化》.2006,第4卷(第12期), *
徐文,张建民,高煜,胡宏,李勇刚,金松茂.调度/配电管理一体化系统主站平台设计与实现.《电力系统自动化》.2004,第28卷(第8期), *

Also Published As

Publication number Publication date
CN102629939A (en) 2012-08-08

Similar Documents

Publication Publication Date Title
CN102629939B (en) Electric power enterprise service bus realization method and device
CN101322363B (en) Apparatus and method for providing end-to-end service quality guarantee in business network
CN101291337B (en) Grid resource management system and method
CN103139234B (en) A kind of device and method of data, services encapsulation
CN103324539A (en) Job scheduling management system and method
CN101741850A (en) Multitask concurrent executive system and method for hybrid network service
JP2010231759A (en) Mobile terminal device including mobile cloud platform
CN101808051B (en) Application integration gateway and control method thereof
CN101567861B (en) Data synchronization method and application system between heterogeneous application systems
CN101232505A (en) Interface model of RIA laminate frame based on MVC architecture
CN103259701A (en) Message bus implementation method for complex production process management system
CN107231290A (en) A kind of instant communicating method and system
Banno et al. Interworking layer of distributed MQTT brokers
CN110086759A (en) A kind of method and apparatus for realizing message transmission between heterogeneous system
CN108667817A (en) Message converting system and message forwarding method
CN103092951A (en) Conventional data exchange method and conventional data exchange system based on information presentation layers
CN103561113B (en) The generation method and device of Web Service interface
CN101304410A (en) Intelligent information platform for distributed WEB
GuiLing et al. Service-oriented grid architecture and middleware technologies for collaborative e-learning
Xuefu et al. Design and implementation of web Instant Message System based on XMPP
CN102098554A (en) Cloud computing-based television application service method and system
CN204557577U (en) A kind of power distribution network infosystem based on IEC61968 and ESB
CN104809664A (en) Information integration method for power distribution master station
CN103532829A (en) Instant messaging system electronic white board access method based on XMPP (xml based messaging and presence protocol)
CN103561079A (en) Wireless sensor network data interaction method based on XMPP

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 510080 Dongfeng East Road, Dongfeng, Guangdong, Guangzhou, Zhejiang Province, No. 8

Patentee after: Electric Power Research Institute of Guangdong Power Grid Co.,Ltd.

Address before: 510080 Dongfeng East Road, Dongfeng, Guangdong, Guangzhou, Zhejiang Province, No. 8

Patentee before: ELECTRIC POWER RESEARCH INSTITUTE OF GUANGDONG POWER GRID Corp.

CP01 Change in the name or title of a patent holder