CN103761235A - Distribution method and application of universal power data platform - Google Patents

Distribution method and application of universal power data platform Download PDF

Info

Publication number
CN103761235A
CN103761235A CN201310582343.9A CN201310582343A CN103761235A CN 103761235 A CN103761235 A CN 103761235A CN 201310582343 A CN201310582343 A CN 201310582343A CN 103761235 A CN103761235 A CN 103761235A
Authority
CN
China
Prior art keywords
electric power
osgi
service
power data
event
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
CN201310582343.9A
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.)
WUHU UNIVERSITY SCIENCE & TECHNOLOGY PARK DEVELOPMENT Co Ltd
Original Assignee
WUHU UNIVERSITY SCIENCE & TECHNOLOGY PARK DEVELOPMENT 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 WUHU UNIVERSITY SCIENCE & TECHNOLOGY PARK DEVELOPMENT Co Ltd filed Critical WUHU UNIVERSITY SCIENCE & TECHNOLOGY PARK DEVELOPMENT Co Ltd
Priority to CN201310582343.9A priority Critical patent/CN103761235A/en
Publication of CN103761235A publication Critical patent/CN103761235A/en
Pending legal-status Critical Current

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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • 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

Landscapes

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

Abstract

The invention provides a distribution method of a universal power data platform. OSGi (Open Service Gateway initiative) specifications and WebService technology are taken as the bottom implementation mechanisms of the method; a typical design mode of chain of responsibility is introduced, an interceptor is arranged between a client and a server, and the interceptor is enabled to automatically intercept and forward all remote service calls initiated by the client, and therefore, the programming model of the original OSGi specifications is maintained as much as possible while the platform distribution is realized, and furthermore, a power data integration platform is enabled to have the ability of detecting metadata change and executing corresponding service operations.

Description

The distribution methods and applications of universal electric power data platform
Technical field
The invention belongs to electric power system data management domain, be specifically related to a kind of distribution methods and applications of universal electric power data platform.
Background technology
Current electric power data Integrated Solution is mainly realized the format exchange of isomery electric power data by SOA/Web Service technology, the essence of this scheme is using electric power data to be converted as parameter, be encapsulated as SOAP message call and be sent to intended application, it provides the mis system support of simple services better to some, but at aspects such as the transparent distribution of data process method, the subscribing notifications of data variation event, still have some deficits, and these are all vital for promoting electric power application system to the capability of fast response of data change.
Also have some schemes by P2P technology or service-oriented Middleware Model, to carry out the OSGi standard of extension standards, although better solved the issue of distributed environment medium-long range service and the problem of obtaining, but because the standard program model to OSGi has done larger change, cause being difficult to scheme to directly apply to reality, also have the invasive problem of distributed logic simultaneously.
Summary of the invention
In order to overcome above-mentioned the deficiencies in the prior art, the object of the present invention is to provide a kind of distribution method of universal electric power data platform, make distribution logic invade original service logic in lowland as far as possible, and guarantee hot plug and the version updating characteristic of business module under system uninterrupted operation prerequisite.
To achieve these goals, the technical solution used in the present invention is:
A distribution method for universal electric power data platform, comprising:
Based on the distributed extended model of OSGi, when keeping original programming model of OSGi, service describing and the access mechanisms such as the WSDL/SOAP of usage platform neutrality, automatically tackle and forward coming from the call request of client.
The passive inspection of universal electric power metadata change events and active subscribing/notifying, the lasting variation of electric power data will repeatedly trigger some service logic, be the event source data of internal system often in electric system, but not be positioned at user or the other system of system outside.Therefore, electric power data integrated platform must possess survey metadata changes and carry out corresponding service operate ability.。
The described distributed extended model based on OSGi:
Step 1: based on typical responsibility chain Design Mode, introduce blocker (Interceptor) between service consumer (Client) and ISP (Server);
Step 2: for OSGi module is write corresponding blocker module, the latter is getting after OSGi container context, hold-up interception method (doIntercept) is encapsulated as to OSGi and serves and be published to registration center (ZooKeeper Server);
Step 3: realize the call request that comes from Client is tackled by the newly-increased Service events audiomonitor hook of OSGi R4.3 standard (Service Event Listener Hook), then goal approach is mated with the configuration (similar with the configuration information of Spring AOP) that inweaves of appointment;
Step 4: the correct position that by braiding hook (Weaving Hook), the tangent plane logic matching (with the syntactic definition of AspectJ) is inweaved to doIntercept method;
Step 5: forward all remote service of being initiated by service consumer by blocker and call.
The passive test mode of described universal electric power metadata change events:
Step 1: introduce task dispatcher in the administration and supervision authorities of universal electric power data platform, the latter is that in platform, each module instance starts a special watcher thread;
Step 2: watcher thread pulls (pull) metadata associated with module instance with Fixed Time Interval, and check its whether consistent with before, if change, by task pipe scheduler, adjust back corresponding interface method.
The active subscribing/notifying mode of described universal electric power metadata change events:
Step 1: introduce the event-based model in GUI programming, specify the subscriber of one or more module instance as data variation event in the mode that configures as metadata example;
Step 2: when occurring during data writing operation, first metadata example is event object by the data encapsulation of variation, then this event object active push (push) in each subscriber's event queue;
Step 3: task dispatcher starts an overall watcher thread and scans each subscriber's event queue, and notifies and trigger corresponding service logic as event subscription person's corresponding module example.
Compared with prior art, tool has the following advantages in the present invention:
(1), kept original programming model of OSGi standard.
(2) service describing and the access mechanism such as WSDL/SOAP of platform-neutral, have been used.
(3), allow service access request and response to carry complicated self-defining data type.
(4), transparent module distribution and electric power metadata change notification mechanism.
Accompanying drawing explanation
Fig. 1 is bottom architecture of the present invention and interaction models schematic diagram.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further details.
As shown in Figure 1, the present invention is a kind of distribution method of universal electric power data platform, by introducing typical responsibility chain Design Mode, between service consumer (Client) and ISP (Server), blocker (Interceptor) is set, and by the latter, automatically tackle and forward all remote service of being initiated by Client and call, thereby guarantee in implementation platform distribution, make distribution logic invade original service logic in lowland as far as possible.
Embodiment 1, exports to target database by the metadata of remote input layer by local output layer.
Remote input layer module instance is published to registration center; This locality output layer module (Meta2DB) Query By Example registration center obtains and subscribes to respective meta-data; When metadata changes, initiatively adjust back the interface of Meta2DB example, and inweave required the affair logic by the blocker module corresponding with Meta2DB example.
Embodiment 2 imports metadata from remote input layer, after local metadata layer instance processes, metadata is exported to long-range output layer.
Remote input layer module (Db2Meta) example and long-range output layer module (Meta2DB) example are published to registration center; The service that local metadata layer module (Metadata) Query By Example registration center obtains long-range Db2Meta example, and to the metadata obtaining filter, combine, the processing such as sequence; The service that this locality metadata layer module (Metadata) Query By Example registration center obtains long-range Meta2DB example, and metadata after treatment is exported to target database.

Claims (4)

1. a distribution method for universal electric power data platform, is characterized in that, comprising:
Based on the distributed extended model of OSGi standard, when keeping original programming model of OSGi, service describing and the access mechanisms such as the WSDL/SOAP of usage platform neutrality, automatically tackle and forward coming from the call request of client;
The passive inspection of universal electric power metadata change events and active subscribing/notifying, the lasting variation of electric power data will repeatedly trigger some service logic, be the event source data of internal system often in electric system, but not be positioned at user or the other system of system outside;
Therefore, electric power data integrated platform must possess survey metadata changes and carry out corresponding service operate ability.
2. the distribution method of universal electric power data platform according to claim 1, is characterized in that, the described distributed extended model based on OSGi:
Step 1: based on typical responsibility chain Design Mode, introduce blocker (Interceptor) between service consumer (Client) and ISP (Server);
Step 2: for OSGi module is write corresponding blocker module, the latter is getting after OSGi container context, hold-up interception method (doIntercept) is encapsulated as to OSGi and serves and be published to registration center (ZooKeeper Server);
Step 3: realize the call request that comes from Client is tackled by the newly-increased Service events audiomonitor hook of OSGi R4.3 standard (Service Event Listener Hook), then goal approach is mated with the configuration (similar with the configuration information of Spring AOP) that inweaves of appointment;
Step 4: the correct position that by braiding hook (Weaving Hook), the tangent plane logic matching (with the syntactic definition of AspectJ) is inweaved to hold-up interception method doIntercept;
Step 5: forward all remote service of being initiated by service consumer by blocker and call.
3. the distribution method of universal electric power data platform according to claim 1, is characterized in that, the passive test mode of described universal electric power metadata change events:
Step 1: introduce task dispatcher in the administration and supervision authorities of universal electric power data platform, the latter is that in platform, each module instance starts a special watcher thread;
Step 2: watcher thread pulls (pull) metadata associated with module instance with Fixed Time Interval, and check its whether consistent with before, if change, by task pipe scheduler, adjust back corresponding interface method.
4. the distribution method of universal electric power data platform according to claim 1, is characterized in that, the active subscribing/notifying mode of described universal electric power metadata change events:
Step 1: introduce the event-based model in GUI programming, specify the subscriber of one or more module instance as data variation event in the mode that configures as metadata example;
Step 2: when occurring during data writing operation, first metadata example is event object by the data encapsulation of variation, then this event object active push (push) in each subscriber's event queue;
Step 3: task dispatcher starts an overall watcher thread and scans each subscriber's event queue, and notifies and trigger corresponding service logic as event subscription person's corresponding module example.
CN201310582343.9A 2013-11-18 2013-11-18 Distribution method and application of universal power data platform Pending CN103761235A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310582343.9A CN103761235A (en) 2013-11-18 2013-11-18 Distribution method and application of universal power data platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310582343.9A CN103761235A (en) 2013-11-18 2013-11-18 Distribution method and application of universal power data platform

Publications (1)

Publication Number Publication Date
CN103761235A true CN103761235A (en) 2014-04-30

Family

ID=50528475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310582343.9A Pending CN103761235A (en) 2013-11-18 2013-11-18 Distribution method and application of universal power data platform

Country Status (1)

Country Link
CN (1) CN103761235A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141452A (en) * 2015-08-07 2015-12-09 北京思特奇信息技术股份有限公司 High-performance service system and method based on CXF
CN105404556A (en) * 2015-10-22 2016-03-16 江苏省电力公司扬州供电公司 L-QT-P multi-thread event trigger mechanism based communication system and method
CN105490864A (en) * 2014-09-16 2016-04-13 钛马信息网络技术有限公司 Business module monitoring method based on OSGI
CN106656622A (en) * 2016-12-29 2017-05-10 深圳Tcl新技术有限公司 Method and device for configuring interface call tasks
CN108874567A (en) * 2018-07-19 2018-11-23 广州市创乐信息技术有限公司 A kind of service processing method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102377796A (en) * 2010-08-05 2012-03-14 中国人民解放军国防科学技术大学 Heterogeneous service integrating system and method based on OSGi (open service gateway initiative)
CN102624919A (en) * 2012-03-30 2012-08-01 电子科技大学 Distributed service integrated system for service-oriented architecture and application method thereof
CN102750181A (en) * 2012-05-31 2012-10-24 深圳市远行科技有限公司 Web service processing engine system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102377796A (en) * 2010-08-05 2012-03-14 中国人民解放军国防科学技术大学 Heterogeneous service integrating system and method based on OSGi (open service gateway initiative)
CN102624919A (en) * 2012-03-30 2012-08-01 电子科技大学 Distributed service integrated system for service-oriented architecture and application method thereof
CN102750181A (en) * 2012-05-31 2012-10-24 深圳市远行科技有限公司 Web service processing engine system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
杨宁: "面向智能电网的构件化应用开发模式研究——基于OSGi的一体化解决方案", 《2009电力行业信息化年会》 *
罗志明等: "面向智能电网的分布式云存储系统实现", 《2012电力行业信息化年会论文集》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105490864A (en) * 2014-09-16 2016-04-13 钛马信息网络技术有限公司 Business module monitoring method based on OSGI
CN105490864B (en) * 2014-09-16 2018-12-07 钛马信息网络技术有限公司 Business module monitoring method based on OSGI
CN105141452A (en) * 2015-08-07 2015-12-09 北京思特奇信息技术股份有限公司 High-performance service system and method based on CXF
CN105404556A (en) * 2015-10-22 2016-03-16 江苏省电力公司扬州供电公司 L-QT-P multi-thread event trigger mechanism based communication system and method
CN105404556B (en) * 2015-10-22 2018-10-30 江苏省电力公司扬州供电公司 Communication system and method based on L-QT-P multithreading event trigger mechanisms
CN106656622A (en) * 2016-12-29 2017-05-10 深圳Tcl新技术有限公司 Method and device for configuring interface call tasks
CN106656622B (en) * 2016-12-29 2020-04-24 深圳Tcl新技术有限公司 Method and device for configuring interface calling task
CN108874567A (en) * 2018-07-19 2018-11-23 广州市创乐信息技术有限公司 A kind of service processing method and system
CN108874567B (en) * 2018-07-19 2021-08-17 广州市创乐信息技术有限公司 Service processing method and system

Similar Documents

Publication Publication Date Title
US20230319158A1 (en) Method and system for sensing information, imputing meaning to the information, and determining actions based on that meaning, in a distributed computing environment
Ciavotta et al. A microservice-based middleware for the digital factory
US20180329644A1 (en) Data Pipeline Architecture for Analytics Processing Stack
US10462018B2 (en) Managing a number of secondary clouds by a master cloud service manager
CN103577443B (en) A kind of log processing system
Sneps-Sneppe et al. About M2M standards and their possible extensions
Namiot et al. On m2m software
CN107979635A (en) System, method and storage medium based on micro services
CN103761235A (en) Distribution method and application of universal power data platform
WO2017167121A1 (en) Method and device for determining and applying association relationship between application programs
US10715603B2 (en) Systems and methods for sharing application data between isolated applications executing on one or more application platforms
US10609534B2 (en) Feed service engine
US10495336B2 (en) Energy operations across domains
CN103546476A (en) Transmission method and system for information between page assemblies
US10908970B1 (en) Data interface for secure analytic data system integration
CN103544060B (en) A kind of service dispatch system and method based on WEBSERVICE
EP2686981B1 (en) Method and system for managing contact information in a universal plug and play home network environment
WO2016101446A1 (en) Data analysis method, apparatus, system, and terminal, and server
CN107632885A (en) The readjustment management method and device of inter-module
CN105205735A (en) Power dispatching data cloud service system and implementation method
Menzel et al. Social sensor cloud: An architecture meeting cloud-centric iot platform requirements
KR101573594B1 (en) Service system and method for providing dynamic mashup service based on service intent
CN113194070B (en) Kafka cluster multi-type authority management method and device and storage medium
Chihani et al. Programmable context awareness framework
Tang et al. An adaptive model of service composition based on policy driven and multi-agent negotiation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20181204

AD01 Patent right deemed abandoned