CN104601581A - Reliable protocol interest agent based distributed publishing/subscription system and method - Google Patents

Reliable protocol interest agent based distributed publishing/subscription system and method Download PDF

Info

Publication number
CN104601581A
CN104601581A CN201510027851.XA CN201510027851A CN104601581A CN 104601581 A CN104601581 A CN 104601581A CN 201510027851 A CN201510027851 A CN 201510027851A CN 104601581 A CN104601581 A CN 104601581A
Authority
CN
China
Prior art keywords
publisher
subscriber
interest
subscription
module
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.)
Granted
Application number
CN201510027851.XA
Other languages
Chinese (zh)
Other versions
CN104601581B (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.)
Beijing Simulation Center
Original Assignee
Beijing Simulation Center
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 Beijing Simulation Center filed Critical Beijing Simulation Center
Priority to CN201510027851.XA priority Critical patent/CN104601581B/en
Publication of CN104601581A publication Critical patent/CN104601581A/en
Application granted granted Critical
Publication of CN104601581B publication Critical patent/CN104601581B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/163In-band adaptation of TCP data exchange; In-band control procedures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a reliable protocol interest agent based distributed publishing/subscription system and method. The reliable protocol interest agent based distributed publishing/subscription system comprises a publisher unit for establishing a distributed publishing/subscription data exchange publisher, a publisher management unit for establishing a subscription agent corresponding to the publisher according to the publisher and storing the interest of the publisher and the subscription agent corresponding to the publisher, a data channel module for establishing a distributed data exchange channel for the publisher and a subscriber, a subscriber management unit for establishing a publishing agent corresponding to the subscriber according to the subscriber and storing the interest of the subscriber and the publishing agent corresponding to the subscriber, and a subscriber unit for establishing a distributed publishing/subscription data exchange subscriber. By means of the technical scheme, multicasting or broadcasting and other special network condition limitations are broken through, and the network safety and data reliability are improved. Data scale is not limited based on a interest agent mode, and the reliable protocol interest agent based distributed publishing/subscription system and method are not limited to specific data contents and can effectively establish large-scale universal publishing/subscription relation.

Description

Based on distributed post/ordering system and the method for reliable protocol interest agency
Technical field
The present invention relates to data interaction system, particularly relate to a kind of distributed post/ordering system based on reliable protocol interest agency and method.
Background technology
Publish/subscribe relation in Distributed data exchange is generally set up based on multicast or Radio Broadcasting Agreements, and the corresponding relation of publisher and subscriber is born as main body by procotol, and distributed software does not manage, do not safeguard publish/subscribe relation.Therefore the distributed post set up/subscription data exchanges special dependence multicast or radio network environment.At present, because the factors such as network security, data security and distributed popularization become increasingly conspicuous, network condition is difficult to the multicast or the broadcast environment that meet Distributed data exchange again.Reliable protocol, as TCP, has very strong versatility, is the protocol specification that current internet generally uses.But because reliable protocol is generally unicast protocol, few distributed post/method for subscribing is based on this this quasi-protocol.And based on the distributed post/method for subscribing of reliable protocol, be substantially limited to particular network condition, specific data type.At present, the network environment of Distributed data exchange is difficult to ensure multicast or broadcast conditional, and day by day focuses on the fail safe of network and data, and meanwhile, Distributed data exchange is tending towards the future development of extensive various data.
Therefore, need to provide a kind of general applicable distributed post/method for subscribing based on reliable protocol, to meet the demand of modern the Internet for Distributed data exchange.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of distributed post/method for subscribing based on reliable protocol, the network environment that solution causes due to factors such as network security, data security and distributed popularizations is limited, cause the publish/subscribe software failure based on multicast or Radio Broadcasting Agreements, cause the problem of distributed data difficult interface.
For solving the problems of the technologies described above, the present invention adopts following technical proposals:
Based on the distributed post/ordering system of reliable protocol interest agency, this system comprises
Publisher's unit, for building the publisher that distributed post/subscription data exchanges;
Publisher's administrative unit, for creating subscription agent corresponding thereto according to publisher, and stores the interest of this publisher and the subscription agent corresponding with it;
Data channel module, for setting up the data channel of the Distributed data exchange of publisher and subscriber;
Subscriber's administrative unit, for creating realease agent corresponding thereto according to subscriber, and stores the interest of this subscriber and the realease agent corresponding with it;
Subscriber's unit, for building the subscriber that distributed post/subscription data exchanges.
Preferably, described publisher's unit comprises multiple publisher's module, for completing issue and the propelling movement of different pieces of information; Described subscriber's unit comprises multiple subscriber's module, for completing subscription and the reception of different pieces of information.
Preferably, described publisher's administrative unit comprises the subscriber broker module corresponding with publisher's module number, mates for carrying out interest with publisher's proxy module; Described subscriber's administrative unit comprises the publisher proxy module corresponding with subscriber's module number, mates for carrying out interest with subscriber broker module.
Preferably, this system also comprises observer's module, and in mutual for distributed data, third party observes the deployment of publish/subscribe.
Based on the distributed post/method for subscribing of reliable protocol interest agency, the step of the method comprises
Build publisher and the subscriber of Distributed data exchange;
Set up the data channel of the Distributed data exchange between publisher and subscriber;
Set up the subscriber broker corresponding with publisher, and set up the interest binding of publisher's subscriber broker corresponding with it;
Set up the publisher agency corresponding with subscriber, and set up the interest binding of the subscriber publisher agency corresponding with it;
Described publisher agency carries out interest with described subscriber broker and mates, and as interest is consistent, then realease agent is added this subscription agent, as interest is inconsistent, then continues coupling;
Data are passed to the subscriber broker bound with its interest by publisher based on data channel, transferred to the publisher agency of all-links by subscriber broker, publisher agency again by data-pushing to the subscriber of its binding.
Preferably, the step of the method comprises further and observing the deployment scenario of current distributed post/subscription in real time.
Beneficial effect of the present invention is as follows:
In technical scheme of the present invention, the publish/subscribe relation of Distributed data exchange is set up based on reliable protocol, breach the restriction of the ad hoc network such as multicast or broadcast condition, improve internet security and data reliability; Based on interest agency mode not restricting data scale, be not limited to specific data content, effectively can set up publish/subscribe relation general on a large scale; In the present invention, the mode of third party observer makes outside deployment scenario flexible, the plug and play arbitrarily understanding publish/subscribe; The present invention is low to network requirement, do not limit distributed node scale, to the no requirement (NR) of swap data content, and easy-to-use and dynamically can change, have broad application prospects.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in further detail;
Fig. 1 illustrates a kind of schematic diagram of the distributed post/ordering system based on reliable protocol interest agency.
Embodiment
The invention discloses a kind of distributed post/ordering system based on reliable protocol interest agency, this system comprises publisher's unit, for building the publisher that distributed post/subscription data exchanges, this unit comprises multiple publisher's module 6, for completing issue and the propelling movement of different pieces of information; Publisher's administrative unit 2, for creating subscription agent corresponding thereto according to publisher, and store the interest of this publisher and the subscription agent corresponding with it, this unit comprises the subscriber broker module 5 corresponding with publisher's module number, mates for carrying out interest with publisher's proxy module; Data channel module 1, for setting up the data channel of the Distributed data exchange of publisher and subscriber; Subscriber's administrative unit 3, for creating realease agent corresponding thereto according to subscriber, and store the interest of this subscriber and the realease agent corresponding with it, this unit comprises the publisher proxy module 4 corresponding with subscriber's module number, mates for carrying out interest with subscriber broker module; Subscriber's unit, for building the subscriber that distributed post/subscription data exchanges, this unit comprises multiple subscriber's module 7, for completing subscription and the reception of different pieces of information.This system also comprises observer's module 8, and in mutual for distributed data, third party observes the deployment of publish/subscribe.
The concrete steps that the present invention further discloses a kind of distributed post/method for subscribing the method based on reliable protocol interest agency comprise
The first step sets up data channel, forms the data link of publishing side and subscription end
Channel service role, sets up the data path of Distributed data exchange, i.e. data path module 1, and carry publisher administration module 2 and subscriber's administration module 3 thereon.Meanwhile, by data path module 1, link publisher administration module 2 and subscriber's administration module 3.
The publisher of second step structure Distributed data exchange
Publisher's module 6 is utilized to construct the publisher of distributed post/subscription data exchange.
3rd step creates the subscription agent corresponding with publisher
Publisher's module 6 utilizes channel service module 1 and publisher's administration module 2 to carry out data communication, and create subscription agent module 5 corresponding to publisher therewith to publisher's administration module 2 application, meanwhile, publisher's administration module 2 stores the interest of this publisher and the subscription agent corresponding with it.
4th step sets up the interest binding of publisher's subscription agent corresponding with it
After publisher's module 6 obtains subscription agent, by self carry to subscription agent.In subscriber's administration module 3 all realease agents successively therewith subscription agent carry out interest coupling, if interest is consistent, then realease agent is added this subscription agent.If there is Observer block 8 in channel service module 1, by this publisher's interest, notice to all observer's modules 8.
The subscriber of the 5th step structure Distributed data exchange
Subscriber's module 7 is utilized to construct the subscriber of distributed post/subscription data exchange.
6th step creates the realease agent corresponding with subscriber
Subscriber's module 7 utilizes channel service module 1 and subscriber's administration module 3 to practice data communication, and create realease agent module 4 corresponding to subscriber therewith to subscriber's administration module 3 application, meanwhile, subscriber's administration module 3 stores the interest of this subscriber and the realease agent corresponding with it.
7th step sets up the interest binding of subscriber's realease agent corresponding with it
After subscriber's module 7 obtains realease agent, by self carry to realease agent.In publisher's administration module 2 all subscription agent successively therewith realease agent carry out interest coupling, if interest is consistent, then this realease agent is added subscription agent.If there is Observer block 8 in channel service module 1, by this subscriber's interest, notice to all observer's modules 8.
So far, in publish/subscribe relation, any publisher binds with a subscription agent interest, subscription agent stores all realease agents relevant to its interest, each realease agent carry subscriber corresponding with it.
8th step distributed post/subscription data transmission
Publisher uses publisher's module 6 data to be passed to the subscriber broker module 5 of binding with its interest in channel service, subscriber broker module 5 sends data to publisher's proxy module 4 of all-links, finally, publisher's proxy module 4 subscriber's module 7 that data-pushing is bound to it.
The publish/subscribe that 9th step observes distributed data transport is disposed
Set up observation side by observer's module 8, and carry is to channel service module 1.Publisher's administration module 2 and subscriber's administration module 3 is comprised in channel service module 1.The issue interest of its storage administration is circulated a notice of to observer's module 8 by publisher's administration module 2; The subscription interest of its storage administration is circulated a notice of to observer's module 8 by subscriber's administration module 3.Observation side utilizes observer's module 8 to understand current distributed post/subscription deployment scenario.
In actual application of the present invention, the execution step of publisher comprises
1) data channel is obtained;
2) according to data channel, publisher's management is obtained;
3) structure subscription agent is managed by publisher;
4) combine issue interest, create publisher;
5) publisher is connected with subscription agent;
6) publisher repeatedly upgrades distributing data.
The execution step of subscriber comprises:
1) data channel is obtained;
2) according to data channel, subscriber's management is obtained;
3) structure realease agent is managed by subscriber;
4) combine subscription interest, create subscriber;
5) subscriber is connected with realease agent;
6) subscriber repeatedly accepts subscription data.
Observe the execution step of putting to comprise:
1) data channel is obtained;
2) observation side is constructed;
3) will the side's of observation carry to data channel;
4) observation side accepts the renewal of interest in many ways of data channel.
In sum, technical scheme of the present invention breaches the restriction of the ad hoc network such as multicast or broadcast condition, improves internet security and data reliability; Based on interest agency mode not restricting data scale, be not limited to specific data content, effectively can set up publish/subscribe relation general on a large scale; In the present invention, the mode of third party observer makes outside deployment scenario flexible, the plug and play arbitrarily understanding publish/subscribe; The present invention is low to network requirement, do not limit distributed node scale, to the no requirement (NR) of swap data content, and easy-to-use and dynamically can change, have broad application prospects
Obviously; the above embodiment of the present invention is only for example of the present invention is clearly described; and be not the restriction to embodiments of the present invention; for those of ordinary skill in the field; can also make other changes in different forms on the basis of the above description; here cannot give exhaustive to all execution modes, every belong to technical scheme of the present invention the apparent change of extending out or variation be still in the row of protection scope of the present invention.

Claims (6)

1., based on the distributed post/ordering system of reliable protocol interest agency, it is characterized in that, this system comprises
Publisher's unit, for building the publisher that distributed post/subscription data exchanges;
Publisher's administrative unit, for creating subscription agent corresponding thereto according to publisher, and stores the interest of this publisher and the subscription agent corresponding with it;
Data channel module, for setting up the data channel of the Distributed data exchange of publisher and subscriber;
Subscriber's administrative unit, for creating realease agent corresponding thereto according to subscriber, and stores the interest of this subscriber and the realease agent corresponding with it;
Subscriber's unit, for building the subscriber that distributed post/subscription data exchanges.
2. distributed post/ordering system according to claim 1, is characterized in that,
Described publisher's unit comprises multiple publisher's module, for completing issue and the propelling movement of different pieces of information;
Described subscriber's unit comprises multiple subscriber's module, for completing subscription and the reception of different pieces of information.
3. distributed post/ordering system according to claim 2, is characterized in that,
Described publisher's administrative unit comprises the subscriber broker module corresponding with publisher's module number, mates for carrying out interest with publisher's proxy module;
Described subscriber's administrative unit comprises the publisher proxy module corresponding with subscriber's module number, mates for carrying out interest with subscriber broker module.
4. distributed post/ordering system according to claim 1, is characterized in that, this system also comprises observer's module, and in mutual for distributed data, third party observes the deployment of publish/subscribe.
5., based on the distributed post/method for subscribing of reliable protocol interest agency, it is characterized in that, the step of the method comprises
Build publisher and the subscriber of Distributed data exchange;
Set up the data channel of the Distributed data exchange between publisher and subscriber;
Set up the subscriber broker corresponding with publisher, and set up the interest binding of publisher's subscriber broker corresponding with it;
Set up the publisher agency corresponding with subscriber, and set up the interest binding of the subscriber publisher agency corresponding with it;
Described publisher agency carries out interest with described subscriber broker and mates, and as interest is consistent, then realease agent is added this subscription agent, as interest is inconsistent, then continues coupling;
Data are passed to the subscriber broker bound with its interest by publisher based on data channel, transferred to the publisher agency of all-links by subscriber broker, publisher agency again by data-pushing to the subscriber of its binding.
6. distributed post/method for subscribing according to claim 5, is characterized in that, the step of the method comprises further observes the deployment scenario of current distributed post/subscription in real time.
CN201510027851.XA 2015-01-20 2015-01-20 Distributed post/ordering system and method based on reliable protocol interest agency Active CN104601581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510027851.XA CN104601581B (en) 2015-01-20 2015-01-20 Distributed post/ordering system and method based on reliable protocol interest agency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510027851.XA CN104601581B (en) 2015-01-20 2015-01-20 Distributed post/ordering system and method based on reliable protocol interest agency

Publications (2)

Publication Number Publication Date
CN104601581A true CN104601581A (en) 2015-05-06
CN104601581B CN104601581B (en) 2018-09-11

Family

ID=53127087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510027851.XA Active CN104601581B (en) 2015-01-20 2015-01-20 Distributed post/ordering system and method based on reliable protocol interest agency

Country Status (1)

Country Link
CN (1) CN104601581B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106682249A (en) * 2015-11-09 2017-05-17 北京仿真中心 Model-independent general-purpose publish/subscribe interface testing system and model-independent general-purpose publish/subscribe interface testing method
CN110336867A (en) * 2019-06-28 2019-10-15 东南大学 Using the data communications method of DDS, device
CN111770009A (en) * 2020-06-29 2020-10-13 深圳市金蝶天燕云计算股份有限公司 Data transmission method and related equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159710A (en) * 2007-11-06 2008-04-09 中国科学院计算技术研究所 Service combination searching method and system of structure facing to service
CN101848236A (en) * 2010-05-06 2010-09-29 北京邮电大学 Real-time data distribution system with distributed network architecture and working method thereof
US7929562B2 (en) * 2000-11-08 2011-04-19 Genesis Telecommunications Laboratories, Inc. Method and apparatus for optimizing response time to events in queue

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7929562B2 (en) * 2000-11-08 2011-04-19 Genesis Telecommunications Laboratories, Inc. Method and apparatus for optimizing response time to events in queue
CN101159710A (en) * 2007-11-06 2008-04-09 中国科学院计算技术研究所 Service combination searching method and system of structure facing to service
CN101848236A (en) * 2010-05-06 2010-09-29 北京邮电大学 Real-time data distribution system with distributed network architecture and working method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106682249A (en) * 2015-11-09 2017-05-17 北京仿真中心 Model-independent general-purpose publish/subscribe interface testing system and model-independent general-purpose publish/subscribe interface testing method
CN106682249B (en) * 2015-11-09 2020-08-25 北京仿真中心 Model-independent universal publish/subscribe interface test system and method
CN110336867A (en) * 2019-06-28 2019-10-15 东南大学 Using the data communications method of DDS, device
CN111770009A (en) * 2020-06-29 2020-10-13 深圳市金蝶天燕云计算股份有限公司 Data transmission method and related equipment

Also Published As

Publication number Publication date
CN104601581B (en) 2018-09-11

Similar Documents

Publication Publication Date Title
CN106657370B (en) Data transmission method and device
CN102075417B (en) Multicast cutting method, protocol independent multicast router
CN103023987A (en) Multiplexing method based on transmission control protocol (TCP) connection
EP2202921A1 (en) A data storage method, a management server, a storage equipment and system
CN104811371B (en) A kind of brand-new instantaneous communication system
US7646788B2 (en) TCP/IP tunneling protocol for link 16
CN201886473U (en) Configuration file-updating system, configuration server and application servers
CN104503801B (en) Software upgrade instruction distribution method, the communication server and terminal device
CN104601581A (en) Reliable protocol interest agent based distributed publishing/subscription system and method
US20190014035A1 (en) Information transmission method and device
CN105830405A (en) System and method for scalable inter-domain overlay networking
CN103440142A (en) GPRS (General Packet Radio Service)-based remote upgrade and dynamic loading method
CN103532863A (en) Method and device for realizing software stacking
CN103051744B (en) The conversion method of multicast address and device
US9219684B2 (en) Methods and systems for packet delivery based upon embedded instructions
CN102984174A (en) Method and system for reliability guarantee in publish-subscribe system
CN104426895A (en) Information processing method and terminal equipment
CN104468729A (en) Dynamic-IP-based remotely-monitored CD-R machine control upgrading method
EP3107219B1 (en) System and method for redundant connection to a backbone network and uplink nodes which can be used in this system
CN106533884A (en) Message transmission method, convergence device, switch and VRRP system
CN102291402B (en) Method, device and system for passing through private network
CN103327643B (en) Information transferring method, device between microwave network element and microwave network element
CN104683208A (en) Stack establishing method and communication equipment
CN108512671A (en) A kind of outer layer multicast ip address distribution method and device
CN105230074B (en) Video cache switching handling method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant