CN104617666A - Power distribution network data transmission method using publishing and subscribing communication model - Google Patents

Power distribution network data transmission method using publishing and subscribing communication model Download PDF

Info

Publication number
CN104617666A
CN104617666A CN201510019226.0A CN201510019226A CN104617666A CN 104617666 A CN104617666 A CN 104617666A CN 201510019226 A CN201510019226 A CN 201510019226A CN 104617666 A CN104617666 A CN 104617666A
Authority
CN
China
Prior art keywords
data
middleware
distribution network
power distribution
subject
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
CN201510019226.0A
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.)
State Grid Corp of China SGCC
State Grid Fujian Electric Power Co Ltd
Quanzhou Power Supply Co of State Grid Fujian Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Fujian Electric Power Co Ltd
Quanzhou Power Supply Co of State Grid Fujian 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 Corp of China SGCC, State Grid Fujian Electric Power Co Ltd, Quanzhou Power Supply Co of State Grid Fujian Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201510019226.0A priority Critical patent/CN104617666A/en
Publication of CN104617666A publication Critical patent/CN104617666A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a power distribution network data transmission method using a publishing and subscribing communication model. The power distribution network data transmission method using the publishing and subscribing communication model is used for building the connection between a publishing party and a subscribing party to realize data transmission. According to the power distribution network data transmission method using the publishing and subscribing communication model, data communication is performed based on an application program of an intermediate piece, a global data space is built, the publishing party sends a data subject to be published to the global data space through the intermediate piece, the subscribing party finds the related data subject in the global data space through the intermediate piece and subscribes the data subject, and the intermediate piece judges whether the subscribed data subject is matched with the subscribing party and transmits the newest data of the subscribed data subject published by the publishing party to the subscribing party when the matching is successful. According to the power distribution network data transmission method using the publishing and subscribing communication model, the publishing party provides the data subject to be published to the global data space, the subscribing party finds the needed subject in the global data space, the one-to-many connection can be realized, the communication efficiency is improved, and the network delay is lowered.

Description

A kind of power distribution network data transmission method adopting distribution subscription Communication Model
Technical field
The present invention relates to power distribution network field of data transmission, particularly a kind of power distribution network data transmission method adopting distribution subscription Communication Model.
Background technology
In existing distribution network system, data communication service is generally the transmission mode that C/S etc. is traditional, and transmitting procedure more complicated makes efficiency not high, and network delay is larger, and configuration underaction, well can not adapt to data characteristics and the communication need of distribution network system.
Summary of the invention
Main purpose of the present invention is to overcome above-mentioned defect of the prior art, provide a kind of efficiently, adopt the power distribution network data transmission method of distribution subscription Communication Model flexibly, to improve realtime curve and the application efficiency of distribution network system.
The present invention adopts following technical scheme:
A kind of power distribution network data transmission method adopting distribution subscription Communication Model, realize transfer of data for the connection of setting up between publisher and subscriber, application program based on middleware carries out data communication, it is characterized in that: set up a global data space, publisher is sent to this global data space by the Data subject that middleware will be issued, subscriber searches relevant Data subject and subscription data theme by middleware in this global data space, whether the Data subject of this subscription of middleware judges mates with subscriber, and the latest data of the Data subject of this subscription of publisher being issued when mating is forwarded to subscriber.
Preferably, described Data subject comprises data name, data type and data QOS.
Preferably, publisher is sent to this global data space by the Data subject that middleware will be issued and refers to: publisher log-on data type setting data title on middleware, middleware generates Data subject and setting data QOS according to data type.
Preferably, publisher writes interface by data publication to middleware by data, and these data write interface is api interface, a kind of data type of the corresponding power distribution network of each data write interface.
Preferably, subscriber reads the data of middleware forwarding by digital independent interface, and digital independent interface is api interface, a kind of data type of the corresponding power distribution network of each digital independent interface.
From the above-mentioned description of this invention, compared with prior art, the present invention has following beneficial effect:
(1) introduce global data space, improve communication efficiency
The basis of message communicating adds a global data space, do not need the connection of central server, and associated by global data Data subject spatially, publisher provides needs the Data subject issued to global data space, subscriber spatially finds the theme of needs in this global data, the connection of one-to-many can be realized, improve communication efficiency.
(2) data-centered, reduce network delay
Data-centered, a subscriber can find multiple same subject in global data space, realizes the connection of one-to-many, and a connection failure can use another instead, reduces network delay.Transmit leg directly carries out point-to-point data transmission after being connected by Data subject with subscriber simultaneously, also improves communication efficiency.
(3) carry out dynamic-configuration, improve data movement capacity.
There is efficient dynamic configurability, node can be increased easily, and find the node that newly increases and theme thereof fast.When a field is divided time, system also can be reassembled into a new domain variability very soon and start working.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the inventive method.
Embodiment
Below by way of embodiment, the invention will be further described.
Adopt a power distribution network data transmission method for distribution subscription Communication Model, realize transfer of data for the connection of setting up between publisher and subscriber, the application program based on middleware carries out data communication.Method is as follows: set up a global data space, publisher is sent to this global data space by the Data subject that middleware will be issued, subscriber searches relevant Data subject and subscription data theme by middleware in this global data space, whether the Data subject of this subscription of middleware judges mates with subscriber, and the latest data of the Data subject of this subscription of publisher being issued when mating is forwarded to subscriber.Wherein: Data subject comprises data name, data type and data QOS etc.
Specific as follows:
Subscriber and publisher specify it to want the data read or write by the data name of simple configuration data theme (i.e. power distribution network measure title), and use data-centered API (i.e. DataReader and DataWriter interface) direct read/write data.
With reference to the schematic diagram of Fig. 1, show the transmittance process of data, wherein Topic represents Data subject, and DataWriter is data write interface, and Publ isher is publisher, and DataReader is digital independent interface, and Subscriber is subscriber.
Publ isher can issue dissimilar data.DataWriter is a typed connector of Publ isher, and namely each DataWriter object is only absorbed in a kind of data type of distribution network system.The middleware of application program must use DataWriter to communicate with Publ isher, and the data object that the former tells the latter to there is certain type also informs that it is worth accordingly simultaneously.After the value of data object passes to Publ isher by suitable DataWriter, Publ isher can carry out Data dissemination according to the QoS of the QoS of self or corresponding DataWri ter.A DataWriter is linked a Publ isher just defines and once issue.
Correspondingly, Subscriber is responsible for receiving announced data and enables the application program of subscriber obtain this data, and it can receive and assign dissimilar data.And the data that application program wants acquisition Subscriber to receive, just must use a typed DataReader associated with Subscriber.Equally, a DataReader is linked a Subscriber just defines and once subscribe to.
Topic has then conceptually carried out matching connection to publisher and subscriber: publisher subscribedly to a certain extent must know dawn, could set up clear and definite contact between which like this.Topic is by being linked together this object by data name, data type, the QoS relevant to data itself.Just by Topic, make spatially, time co-relation is loose even creates association between the uncorrelated publisher of milli and subscriber.
For publisher, in order to complete data publication, a series of action need be carried out, comprise log-on data type, generate Data subject Topic, relatively and arrange rational QoS, pre-allocation resource (buffer area etc.), according to subscription resource generating messages (comprising the address of subscriber), notice Listener interface etc., also according to qos requirement, data to be sent at official hour.
The step that the application program of Effect-based operation middleware of the present invention carries out communicating is as follows:
(1) publisher log-on data type DataType on middleware;
(2) return;
(3) publisher notifies that middleware generates theme Topic, and middleware is according to data type DataType creation data theme and setting data QoS;
(4) theme is returned;
(5) sometime, a subscriber (such as Combat Command System command console) sends request to middleware, searches a certain Data subject;
(6) middleware returns the related data theme needing to search;
(7) subscriber's subscription data theme, middleware compares the QoS of this Data subject and subscriber's setting, sees and whether meets subscriber's requirement, if met, preserves a new subscription information and successfully returns, otherwise refusal subscription;
(8) middleware returns corresponding information;
(9) publisher arranges QoS and issues up-to-date data;
(10) middleware receives data, compares QoS, data is passed to subscriber in good time;
(11) when there being again new request of data to issue, repeat (9) and (10).
Publisher is sent to this global data space by the Data subject that middleware will be issued and refers to: publisher log-on data type setting data title on middleware, middleware generates Data subject and setting data QOS according to data type.
Publisher writes interface by data publication to middleware by data, and these data write interface is api interface, a kind of data type of the corresponding power distribution network of each data write interface.
Subscriber reads the data of middleware forwarding by digital independent interface, and digital independent interface is api interface, a kind of data type of the corresponding power distribution network of each digital independent interface.
Above are only the specific embodiment of the present invention, but design concept of the present invention is not limited thereto, all changes utilizing this design the present invention to be carried out to unsubstantiality, all should belong to the behavior of invading scope.

Claims (5)

1. one kind adopts the power distribution network data transmission method of distribution subscription Communication Model, realize transfer of data for the connection of setting up between publisher and subscriber, application program based on middleware carries out data communication, it is characterized in that: set up a global data space, publisher is sent to this global data space by the Data subject that middleware will be issued, subscriber searches relevant Data subject and subscription data theme by middleware in this global data space, whether the Data subject of this subscription of middleware judges mates with subscriber, and the latest data of the Data subject of this subscription of publisher being issued when mating is forwarded to subscriber.
2. a kind of power distribution network data transmission method adopting distribution subscription Communication Model as claimed in claim 1, is characterized in that: described Data subject comprises data name, data type and data QOS.
3. a kind of power distribution network data transmission method adopting distribution subscription Communication Model as claimed in claim 1, it is characterized in that: publisher is sent to this global data space by the Data subject that middleware will be issued and refers to: publisher log-on data type setting data title on middleware, middleware generates Data subject and setting data QOS according to data type.
4. a kind of power distribution network data transmission method adopting distribution subscription Communication Model as claimed in claim 1, it is characterized in that: publisher writes interface by data publication to middleware by data, these data write interface is api interface, a kind of data type of the corresponding power distribution network of each data write interface.
5. a kind of power distribution network data transmission method adopting distribution subscription Communication Model as claimed in claim 1, it is characterized in that: subscriber reads the data of middleware forwarding by digital independent interface, digital independent interface is api interface, a kind of data type of the corresponding power distribution network of each digital independent interface.
CN201510019226.0A 2015-01-14 2015-01-14 Power distribution network data transmission method using publishing and subscribing communication model Pending CN104617666A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510019226.0A CN104617666A (en) 2015-01-14 2015-01-14 Power distribution network data transmission method using publishing and subscribing communication model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510019226.0A CN104617666A (en) 2015-01-14 2015-01-14 Power distribution network data transmission method using publishing and subscribing communication model

Publications (1)

Publication Number Publication Date
CN104617666A true CN104617666A (en) 2015-05-13

Family

ID=53152003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510019226.0A Pending CN104617666A (en) 2015-01-14 2015-01-14 Power distribution network data transmission method using publishing and subscribing communication model

Country Status (1)

Country Link
CN (1) CN104617666A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106817689A (en) * 2017-01-22 2017-06-09 兴唐通信科技有限公司 The data subscription and dissemination method and system of a kind of high reliability
CN107426300A (en) * 2017-06-16 2017-12-01 深圳市盛路物联通讯技术有限公司 Subscribe to sending, receiving method, the apparatus and system of data
CN110336867A (en) * 2019-06-28 2019-10-15 东南大学 Using the data communications method of DDS, device
CN111935308A (en) * 2020-09-17 2020-11-13 中国人民解放军国防科技大学 Space-time-frequency resource data subscription and release method and device in space dynamic network

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101904140A (en) * 2007-11-07 2010-12-01 波音公司 Be used for service quality (QOS) management of the message flow between a plurality of middleware environment
CN103944924A (en) * 2014-05-15 2014-07-23 重庆邮电大学 Ubiquitous network publish-subscribe middleware model based on RESTful
CN104201778A (en) * 2014-08-22 2014-12-10 国家电网公司 Method for improving quality of service in data transmission of power distribution network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101904140A (en) * 2007-11-07 2010-12-01 波音公司 Be used for service quality (QOS) management of the message flow between a plurality of middleware environment
CN103944924A (en) * 2014-05-15 2014-07-23 重庆邮电大学 Ubiquitous network publish-subscribe middleware model based on RESTful
CN104201778A (en) * 2014-08-22 2014-12-10 国家电网公司 Method for improving quality of service in data transmission of power distribution network

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106817689A (en) * 2017-01-22 2017-06-09 兴唐通信科技有限公司 The data subscription and dissemination method and system of a kind of high reliability
CN106817689B (en) * 2017-01-22 2020-01-03 兴唐通信科技有限公司 High-reliability data subscription and release method and system
CN107426300A (en) * 2017-06-16 2017-12-01 深圳市盛路物联通讯技术有限公司 Subscribe to sending, receiving method, the apparatus and system of data
WO2018227695A1 (en) * 2017-06-16 2018-12-20 深圳市盛路物联通讯技术有限公司 Subscription data sending and receiving method, device and system
CN110336867A (en) * 2019-06-28 2019-10-15 东南大学 Using the data communications method of DDS, device
CN111935308A (en) * 2020-09-17 2020-11-13 中国人民解放军国防科技大学 Space-time-frequency resource data subscription and release method and device in space dynamic network

Similar Documents

Publication Publication Date Title
US10681127B2 (en) File upload method and system
CN104617666A (en) Power distribution network data transmission method using publishing and subscribing communication model
JP2020523700A (en) Distributed search and index update method, system, server, and computer device
CA2770138A1 (en) Cluster server of an instant messaging system and messaging method between clusters
CN102136976B (en) Machine transaction control method, device and system
CN106533944A (en) Distributed API gateway, management method and management system
CN106465238A (en) Service discovery method and device in neighbor awareness network
CN103024085A (en) System and method for processing P2P (peer-to-peer) node request
CN110582998A (en) Group communication method and device, computer storage medium and computer equipment
CN102984267A (en) Method and system for dynamically updating distributed cache node to client
CN103944979A (en) Method, device and system for message pushing
CN104104739A (en) Data synchronization method for metadata service cluster of cloud storage system
CN105959420A (en) Multi-client metadata synchronous update method and device
CN103731465A (en) Distributed system and transaction treatment method thereof
CN113542058A (en) Data source returning method, server and storage medium
CN114172792B (en) Method and device for realizing sequence number generation method for ensuring high availability of service
CN105938490B (en) Intelligent switching method and system for web application system connection data source
CN108259605B (en) Data calling system and method based on multiple data centers
CN101938383B (en) On-line monitoring method and system of user account with multiple services as well as monitoring service system
CN114385374A (en) Message processing method and device based on message middleware and storage medium
CN112491951B (en) Request processing method, server and storage medium in peer-to-peer network
CN110971873B (en) Real-time monitoring method, monitoring system and storage medium
CN105148516A (en) Online game accelerating method
JP2010527475A (en) Information appliance data storage system and data processing method
CN103701885A (en) Method for querying indexes in P2P (peer-to-peer) system, P2P server and P2P server system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150513

RJ01 Rejection of invention patent application after publication