CN104601581B - Distributed post/ordering system and method based on reliable protocol interest agency - Google Patents

Distributed post/ordering system and method based on reliable protocol interest agency Download PDF

Info

Publication number
CN104601581B
CN104601581B CN201510027851.XA CN201510027851A CN104601581B CN 104601581 B CN104601581 B CN 104601581B CN 201510027851 A CN201510027851 A CN 201510027851A CN 104601581 B CN104601581 B CN 104601581B
Authority
CN
China
Prior art keywords
publisher
subscriber
interest
data
subscription
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
CN201510027851.XA
Other languages
Chinese (zh)
Other versions
CN104601581A (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 the distributed post/ordering system acted on behalf of based on reliable protocol interest, which includes publisher's unit, the publisher for building distributed post/subscription data exchange;Publisher's administrative unit for creating subscription agent corresponding thereto according to publisher, and stores the interest of this publisher and corresponding subscription agent;Data channel module, the data channel of the Distributed data exchange for establishing publisher and subscriber;Subscriber's administrative unit for creating realease agent corresponding thereto according to subscriber, and stores the interest of this subscriber and corresponding realease agent;Subscriber's unit, the subscriber for building distributed post/subscription data exchange.Technical solution of the present invention breaches the limitation of the ad hoc networks condition such as multicast or broadcast, improves internet security and data reliability;Mode based on interest agency does not limit data scale, is not limited to specific data content, can effectively establish extensive general publish/subscribe relationship.

Description

Distributed post/ordering system and method based on reliable protocol interest agency
Technical field
The present invention relates to data interaction systems, are sent out based on the distributed of reliable protocol interest agency more particularly to a kind of Cloth/ordering system and method.
Background technology
Publish/subscribe relationship in Distributed data exchange is generally basede on multicast or Radio Broadcasting Agreements and establishes, and publisher and orders The correspondence for the side of readding is undertaken by procotol as main body, and distributed software does not manage, do not safeguard publish/subscribe relationship.Cause This distributed post/subscription data exchange established especially relies on multicast or broadcasting network environment.Currently, due to network security, The factors such as data safety and distributed popularization become increasingly conspicuous, and network condition is difficult to meet the group of Distributed data exchange again It broadcasts or broadcast environment.Reliable protocol, such as TCP have very strong versatility, are the agreement rule that current internet generally uses Model.But since reliable protocol is usually unicast protocol, few distributed post/method for subscribing is based on this such agreement.And Distributed post/method for subscribing based on reliable protocol, is substantially limited to particular network condition, specific data type.Currently, distribution The network environment of formula data exchange increasingly focuses on the safety of network and data it is difficult to ensure that multicast or broadcast conditional, meanwhile, The direction that Distributed data exchange tends to extensive various data is developed.
Accordingly, it is desirable to provide a kind of general applicable distributed post/method for subscribing based on reliable protocol, existing to meet For internet for the demand of Distributed data exchange.
Invention content
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, solution Certainly the network environment caused by the factors such as network security, data safety and distributed popularization is limited, causes to be based on group The problem of broadcasting or the publish/subscribe software failure of Radio Broadcasting Agreements, causing distributed data difficult interface.
In order to solve the above technical problems, the present invention uses following technical proposals:
Based on distributed post/ordering system of reliable protocol interest agency, which includes
Publisher's unit, the publisher for building distributed post/subscription data exchange;
Publisher's administrative unit for creating subscription agent corresponding thereto according to publisher, and stores this publisher Interest and corresponding subscription agent;
Data channel module, the data channel of the Distributed data exchange for establishing publisher and subscriber;
Subscriber's administrative unit for creating realease agent corresponding thereto according to subscriber, and stores this subscriber Interest and corresponding realease agent;
Subscriber's unit, the subscriber for building distributed post/subscription data exchange.
Preferably, publisher's unit includes multiple publisher's modules, publication and push for completing different data; Subscriber's unit includes multiple subscriber's modules, subscription and reception for completing different data.
Preferably, publisher's administrative unit includes subscriber broker module corresponding with publisher's module number, For carrying out interest matching with publisher's proxy module;Subscriber's administrative unit includes corresponding with subscriber's module number Publisher's proxy module, be used for and subscriber broker module carry out interest matching.
Preferably, which further includes observer's module, in distributed data interaction, third party's observation to be issued/ordered The deployment read.
Based on distributed post/method for subscribing of reliable protocol interest agency, the step of this method, includes
Build the publisher and subscriber of Distributed data exchange;
Establish the data channel of the Distributed data exchange between publisher and subscriber;
Subscriber broker corresponding with publisher is established, and the interest for establishing the corresponding subscriber broker of publisher is tied up It is fixed;
Publisher agency corresponding with subscriber is established, and the interest for establishing the corresponding publisher agency of subscriber is tied up It is fixed;
The publisher agency carries out interest matching with the subscriber broker and then adds realease agent if interest is consistent Enter this subscription agent, if interest is inconsistent, then continues to match;
Publisher passes data to the subscriber broker bound with its interest based on data channel, passes through subscriber broker It is transmitted to the publisher agency of all-links, publisher agency is again by data-pushing to the subscriber bound with it.
Preferably, the step of this method further comprises that the deployment scenario to current distributed post/subscription carries out in real time Observation.
Beneficial effects of the present invention are as follows:
The technical solution of the present invention of publish/subscribe relationship in to(for) Distributed data exchange is built based on reliable protocol Vertical, the limitation of the ad hoc networks condition such as multicast or broadcast is breached, internet security and data reliability are improved;Based on interest The mode of agency does not limit data scale, is not limited to specific data content, can effectively establish extensive general publish/subscribe Relationship;The mode of third party observer so that the external deployment scenario for understanding publish/subscribe is arbitrary flexibly, inserts i.e. in the present invention With;The present invention is low to network requirement, does not limit distributed node scale, to exchanging data content no requirement (NR), and easy-to-use and dynamic State can be changed, and have broad application prospects.
Description of the drawings
Specific embodiments of the present invention will be described in further detail below in conjunction with the accompanying drawings;
Fig. 1 shows a kind of schematic diagram for the distributed post/ordering system acted on behalf of based on reliable protocol interest.
Specific implementation mode
The invention discloses a kind of distributed post/ordering system based on reliable protocol interest agency, which includes Publisher's unit, the publisher for building distributed post/subscription data exchange, the unit include multiple publisher's modules 6, Publication and push for completing different data;Publisher's administrative unit 2, for creating ordering corresponding thereto according to publisher Agency is read, and stores the interest of this publisher and corresponding subscription agent, which includes and publisher's module number phase Corresponding subscriber broker module 5, for carrying out interest matching with publisher's proxy module;Data channel module 1, for establishing The data channel of the Distributed data exchange of publisher and subscriber;Subscriber's administrative unit 3, for according to subscriber create with Its corresponding realease agent, and the interest of this subscriber and corresponding realease agent are stored, which includes and subscription The square corresponding publisher's proxy module 4 of module number, for carrying out interest matching with subscriber broker module;Subscriber is single Member, the subscriber for building distributed post/subscription data exchange, which includes multiple subscriber's modules 7, for completing The subscription and reception of different data.The system further includes observer's module 8, in distributed data interaction, third party to observe The deployment of publish/subscribe.
The present invention further discloses a kind of distributed post/method for subscribing this method based on reliable protocol interest agency Specific steps include
The first step establishes data channel, forms the data link of publishing side and subscription end
Channel service role establishes the data path of Distributed data exchange, i.e. data path module 1, and hangs on it Carry publisher's management module 2 and subscriber's management module 3.Meanwhile by data path module 1, linking publisher's management module 2 and subscriber's management module 3.
Second step constructs the publisher of Distributed data exchange
The publisher of distributed post/subscription data exchange is constructed using publisher's module 6.
Third step creates subscription agent corresponding with publisher
Publisher's module 6 carries out data communication using channel service module 1 and publisher's management module 2, and to publisher The application of management module 2 creates subscription agent module 5 corresponding with this publisher, meanwhile, publisher's management module 2 stores this publication The interest and corresponding subscription agent of side.
4th step establishes the interest binding of the corresponding subscription agent of publisher
After publisher's module 6 obtains subscription agent, by itself carry to subscription agent.Own in subscriber's management module 3 Realease agent carries out interest matching with this subscription agent successively and this subscription agent is added in realease agent if interest is consistent. If there are Observer blocks 8 in channel service module 1, by this publisher's interest, notice to all observer's modules 8.
5th step constructs the subscriber of Distributed data exchange
The subscriber of distributed post/subscription data exchange is constructed using subscriber's module 7.
6th step creates realease agent corresponding with subscriber
Subscriber's module 7 practices data communication using channel service module 1 and subscriber's management module 3, and to subscriber The application of management module 3 creates realease agent module 4 corresponding with this subscriber, meanwhile, subscriber's management module 3 stores this subscription The interest of side and corresponding realease agent.
7th step establishes the interest binding of the corresponding realease agent of subscriber
After subscriber's module 7 obtains realease agent, by itself carry to realease agent.Own in publisher's management module 2 Subscription agent carries out interest matching with this realease agent successively, if interest is consistent, subscription agent is added in this realease agent. If there are Observer blocks 8 in channel service module 1, by this subscriber's interest, notice to all observer's modules 8.
So far, in publish/subscribe relationship, arbitrary publisher binds with a subscription agent interest, and subscription agent is deposited All with the relevant realease agent of its interest, corresponding subscriber of each realease agent carry is stored up.
8th step distributed post/subscription data transmission
Publisher passes data to the subscriber broker mould bound with its interest in channel service using publisher's module 6 Block 5, subscriber broker module 5 send data to publisher's proxy module 4 of all-links, finally, publisher's proxy module 4 By data-pushing to subscriber's module 7 of its binding.
9th step observes the publish/subscribe deployment of distributed data transport
Watcher is established by observer's module 8, and carry is to channel service module 1.Include in channel service module 1 Publisher's management module 2 and subscriber's management module 3.The publication interest of its storage management is notified to by publisher's management module 2 Observer's module 8;The subscription interest of its storage management is notified to observer's module 8 by subscriber's management module 3.Watcher utilizes Observer's module 8 understands current distributed post/subscription deployment scenario.
In actual application of the present invention, the execution step of publisher includes
1) data channel is obtained;
2) according to data channel, publisher's management is obtained;
3) construction subscription agent is managed by publisher;
4) publication interest is combined, publisher is created;
5) publisher is connect with subscription agent;
6) publisher repeatedly updates publication data.
The execution step of subscriber includes:
1) data channel is obtained;
2) according to data channel, subscriber's management is obtained;
3) construction realease agent is managed by subscriber;
4) it combines and subscribes to interest, create subscriber;
5) subscriber is connect with realease agent;
6) subscriber repeatedly receives to subscribe to data.
The execution step of watcher includes:
1) data channel is obtained;
2) watcher is constructed;
3) by watcher's carry to data channel;
4) watcher receives the multi-party interest update of data channel.
In conclusion technical solution of the present invention breaches the limitation of the ad hoc networks condition such as multicast or broadcast, improve Internet security and data reliability;Mode based on interest agency does not limit data scale, is not limited to specific data content, Extensive general publish/subscribe relationship can effectively be established;The mode of third party observer makes external understanding hair in the present invention The arbitrary flexible, plug and play of the deployment scenario of cloth/subscription;The present invention is low to network requirement, do not limit distributed node scale, To exchanging data content no requirement (NR), and easy-to-use and dynamic can be changed, and have broad application prospects
Obviously, the above embodiment of the present invention be only to clearly illustrate example of the present invention, and not be pair The restriction of embodiments of the present invention may be used also on the basis of the above description for those of ordinary skill in the art To make other variations or changes in different ways, all embodiments can not be exhaustive here, it is every to belong to this hair Row of the obvious changes or variations that bright technical solution is extended out still in protection scope of the present invention.

Claims (4)

1. distributed post/ordering system based on reliable protocol interest agency, which is characterized in that the system includes
Publisher's unit, publisher's administrative unit, data channel module, subscriber's administrative unit, subscriber's unit and observer Module;
Publisher's unit, the publisher for building distributed post/subscription data exchange;
Publisher's administrative unit for creating subscription agent corresponding thereto according to publisher, and stores the emerging of this publisher Interesting and corresponding subscription agent;
Data channel module is used for carry publisher administrative unit and subscriber's administrative unit, establishes publisher and subscriber The data channel of Distributed data exchange;
Subscriber's administrative unit for creating realease agent corresponding thereto according to subscriber, and stores the emerging of this subscriber Interesting and corresponding realease agent;
Subscriber's unit, the subscriber for building distributed post/subscription data exchange;
Observer's module, in distributed data interaction, third party to observe the deployment of publish/subscribe.
2. distributed post/ordering system according to claim 1, which is characterized in that
Publisher's unit includes multiple publisher's modules, publication and push for completing different data;
Subscriber's unit includes multiple subscriber's modules, subscription and reception for completing different data.
3. distributed post/ordering system according to claim 2, which is characterized in that
Publisher's administrative unit includes subscriber broker module corresponding with publisher's module number, is used for and publisher Proxy module carries out interest matching;
Subscriber's administrative unit includes publisher's proxy module corresponding with subscriber's module number, is used for and subscriber Proxy module carries out interest matching.
4. distributed post/method for subscribing based on reliable protocol interest agency, which is characterized in that the step of this method includes
Build the publisher and subscriber of Distributed data exchange;
Establish the data channel of the Distributed data exchange between publisher and subscriber;
Subscriber broker corresponding with publisher is established in data channel, and establishes the corresponding subscriber broker of publisher Interest binding;
Publisher agency corresponding with subscriber is established in data channel, and establishes the corresponding publisher agency of subscriber Interest binding;
The publisher agency carries out interest matching with the subscriber broker and this then is added in realease agent if interest is consistent Subscription agent then continues to match if interest is inconsistent;
Publisher passes data to the subscriber broker bound with its interest based on data channel, is transmitted by subscriber broker Publisher to all-links acts on behalf of, and publisher agency is again by data-pushing to the subscriber bound with it;
The deployment scenario of current distributed post/subscription is observed 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 CN104601581A (en) 2015-05-06
CN104601581B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN111770009B (en) * 2020-06-29 2022-05-20 深圳市金蝶天燕云计算股份有限公司 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

Also Published As

Publication number Publication date
CN104601581A (en) 2015-05-06

Similar Documents

Publication Publication Date Title
CN102075417B (en) Multicast cutting method, protocol independent multicast router
CN110601906B (en) Data transmission method and device based on block chain
US10855576B2 (en) Information transmission method and device
US8533267B2 (en) Distribution of XML documents/messages to XML appliances/routers
CN104363407B (en) A kind of video conferencing system means of communication and related device
CN104601581B (en) Distributed post/ordering system and method based on reliable protocol interest agency
CN102845123A (en) Virtual private cloud connection method and tunnel proxy server
CN106411750B (en) Data distributing method and system
CN109660442A (en) The method and device of multicast replication in Overlay network
US8553536B2 (en) Mesh network management system
CN103916253A (en) Information transmission method and system on basis of information center network
CN108924609A (en) Method, electronic equipment, device and the storage medium of transmission of flow media data
CN102984174B (en) Reliability guarantee method and system in a kind of distribution subscription system
CN104426895A (en) Information processing method and terminal equipment
CN106211801B (en) Data processing method and device
CN103051744B (en) The conversion method of multicast address and device
CN103069751A (en) Network information processing system, network information processing apparatus, and information processing method
CN104994019B (en) A kind of horizontal direction interface system for SDN controllers
CN111818010B (en) Data transmission method and device, electronic equipment and storage medium
CN105323128A (en) Method, device and system for connecting front-end device to server
CN102970236B (en) A kind of multicast distribution tree switching method and apparatus
CN102025517A (en) Multicast data transmission method and device
CN101547110A (en) Method, system and device for registering multicast source
CN102291402B (en) Method, device and system for passing through private network
EP3107219A1 (en) System and method for redundant connection to a backbone network and uplink nodes which can be used in this 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