CN106330744A - Network-based topic subscription system - Google Patents

Network-based topic subscription system Download PDF

Info

Publication number
CN106330744A
CN106330744A CN201610712467.8A CN201610712467A CN106330744A CN 106330744 A CN106330744 A CN 106330744A CN 201610712467 A CN201610712467 A CN 201610712467A CN 106330744 A CN106330744 A CN 106330744A
Authority
CN
China
Prior art keywords
node
theme
network
module
ordinary
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
CN201610712467.8A
Other languages
Chinese (zh)
Other versions
CN106330744B (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.)
Upper Seabird Scape Computer System Co Ltd
Original Assignee
Upper Seabird Scape Computer System 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 Upper Seabird Scape Computer System Co Ltd filed Critical Upper Seabird Scape Computer System Co Ltd
Priority to CN201610712467.8A priority Critical patent/CN106330744B/en
Publication of CN106330744A publication Critical patent/CN106330744A/en
Application granted granted Critical
Publication of CN106330744B publication Critical patent/CN106330744B/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
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The invention provides a network-based topic subscription system, comprising the following modules: a network communication module, a control node module and an ordinary node module, wherein the network communication module is used for initializing a network communication environment, setting a communication channel, monitoring online and offline network nodes, and notifying control nodes; the control node module is used for initializing the control nodes, setting the communication channel, and distributing fixed identification codes in the channel to the control nodes; and the ordinary node module is used for initializing ordinary nodes and setting the communication channel. According to the network-based topic subscription system provided by the invention, a network transmission mode can be automatically adjusted according to the number of topic receivers, and thus data can be rapidly sent out, and network congestion can also be avoided.

Description

Network theme ordering system
Technical field
The present invention relates to a kind of ordering system, in particular it relates to a kind of network theme ordering system.
Background technology
Various data, many times a joint can be transmitted between each network node under distributed software application scenarios It is interested in it that the data that point is issued there may be multiple node, and the data of issue are set to theme, and it is main that other node subscribes to this Inscribing, this can simplify and uniform data interactive mode, and available data interactive mode does not support that channel selecting, communication node lack mark Information, easily occur between network congestion, communication node lack interaction mechanism, not intelligence can-not be automatically generated mark, shortage test Card is machine-processed, have boot sequence requirement.
Summary of the invention
For defect of the prior art, it is an object of the invention to provide a kind of network theme ordering system, its Can automatically adjust network according to topic recipient's quantity and send mode, both data quickly can be sent, network can be avoided again to hinder Plug.
According to an aspect of the present invention, it is provided that a kind of network theme ordering system, it is characterised in that include with Lower module:
Network communication module, present networks communication module is responsible for processing following affairs: initializes network communication environment, arranges logical News passage;Monitor network node to reach the standard grade and roll off the production line, and notify to control node;For Node registry theme, and subject information is notified Give and control node;Set up theme for node to connect;It is sent to all nodes subscribing to it, if ordered after being encrypted by subject data Readding node takes broadcast mode issuing subject to avoid network congestion more at most;Monitor subject data, after receiving theme, call theme Response method processes;
Controlling node module, this control node module is responsible for processing following affairs: initializes and controls node and set communication Passage, for controlling to fix identification code in node distributes this passage;Registration connects theme, in being used for notifying ordinary node current channel Node listing and topic list, in order to ordinary node is set up the relevant theme of service logic and is connected;Receive network communication module The ordinary node sent is reached the standard grade and rolls off the production line notice, and all ordinary nodes message being broadcast in passage;Monitor Node registry Theme, if connecting theme, is then connected it with the connection theme controlling node;If service logic related subject, will All nodes that topic list is broadcast in passage;
Ordinary node module, this ordinary node module is responsible for processing following affairs: initializes ordinary node and also sets communication Passage, uniquely identifies in automatically generating passage according to current IP with process ID;Subscribe to the connection theme controlling node, when other saves When rolling off the production line on Dian, ordinary node receive from control that node issues about the connection theme rolled off the production line on node, and from number of topics All of ordinary node and topic list in network is obtained according to middle parsing;The theme that registration service logic is relevant;Subscribing service is patrolled Collect relevant theme, and register theme processing method;By network communication module, set up being positioned on other node of subscription main Topic;By network communication module issuing subject data.
Preferably, described network communication module, control node module are all connected with ordinary node module, described network communication Module is connected with controlling node module.
Compared with prior art, the present invention has following beneficial effect: between (1) node, network communication mode becomes there is bar Rationality and simple.(2) introduction passage concept, in network, different application can carry out communication without phase by similar communication modes Interference mutually.(3) communication node distributes unique mark automatically, and service logic only need to be concerned about that topic is without being concerned about data publisher and connecing Receipts person.(4) can automatically adjust network according to topic recipient's quantity during network communication and send mode, both data quickly can be sent out Go, network congestion can be avoided again.
Accompanying drawing explanation
By the detailed description non-limiting example made with reference to the following drawings of reading, the further feature of the present invention, Purpose and advantage will become more apparent upon:
Fig. 1 is the theory diagram of the present invention network theme ordering system.
Detailed description of the invention
Below in conjunction with specific embodiment, the present invention is described in detail.Following example will assist in the technology of this area Personnel are further appreciated by the present invention, but limit the present invention the most in any form.It should be pointed out that, the ordinary skill to this area For personnel, without departing from the inventive concept of the premise, it is also possible to make some deformation and improvement.These broadly fall into the present invention Protection domain.
As it is shown in figure 1, the present invention network theme ordering system includes with lower module:
Network communication module, present networks communication module is responsible for processing following affairs: initializes network communication environment, arranges logical News passage;Monitor network node to reach the standard grade and roll off the production line, and notify to control node;For Node registry theme, and subject information is notified Give and control node;Set up theme for node to connect;It is sent to all nodes subscribing to it, if ordered after being encrypted by subject data Readding node takes broadcast mode issuing subject to avoid network congestion more at most;Monitor subject data, after receiving theme, call theme Response method processes;
Controlling node module, this control node module is responsible for processing following affairs: initializes and controls node and set communication Passage, for controlling to fix identification code in node distributes this passage;Registration connects theme, in being used for notifying ordinary node current channel Node listing and topic list, in order to ordinary node is set up the relevant theme of service logic and is connected;Receive network communication module The ordinary node sent is reached the standard grade and rolls off the production line notice, and all ordinary nodes message being broadcast in passage;Monitor Node registry Theme, if connecting theme, is then connected it with the connection theme controlling node;If service logic related subject, will All nodes that topic list is broadcast in passage;
Ordinary node module, this ordinary node module is responsible for processing following affairs: initializes ordinary node and also sets communication Passage, uniquely identifies in automatically generating passage according to current IP with process ID;Subscribe to the connection theme controlling node, when other saves When rolling off the production line on Dian, ordinary node receive from control that node issues about the connection theme rolled off the production line on node, and from number of topics All of ordinary node and topic list in network is obtained according to middle parsing;The theme that registration service logic is relevant;Subscribing service is patrolled Collect relevant theme, and register theme processing method;By network communication module, set up being positioned on other node of subscription main Topic;By network communication module issuing subject data.
The present invention is as required to subject data encryption, checking, and each node is that peer node is independent of mutually, and often Individual node is only concerned theme, and remaining node is transparent to it, and issue theme out can be given all subscribers by speed delivery, Subject data comprises communications protocol, receives and all can decide whether that issuing subject is to reply publisher according to communications protocol.
Above the specific embodiment of the present invention is described.It is to be appreciated that the invention is not limited in above-mentioned Particular implementation, those skilled in the art can make various deformation or amendment within the scope of the claims, this not shadow Ring the flesh and blood of the present invention.

Claims (2)

1. a network theme ordering system, it is characterised in that include with lower module:
Network communication module, present networks communication module is responsible for processing following affairs: initializes network communication environment, arranges communication and lead to Road;Monitor network node to reach the standard grade and roll off the production line, and notify to control node;For Node registry theme, and subject information is notified to control Node processed;Set up theme for node to connect;It is sent to all nodes subscribing to it, if subscribing to joint after being encrypted by subject data Point takes broadcast mode issuing subject to avoid network congestion more at most;Monitor subject data, after receiving theme, call theme response Method processes;
Controlling node module, this control node module is responsible for processing following affairs: initializes and controls node and set communication channel, For controlling to fix identification code in node distributes this passage;Registration connects theme, the joint in notifying ordinary node current channel Point list and topic list, in order to ordinary node is set up the relevant theme of service logic and connected;Reception network communication module is sent Ordinary node reach the standard grade and roll off the production line notice, and all ordinary nodes that message is broadcast in passage;Monitor Node registry theme, If connection theme, then it is connected with the connection theme controlling node;If service logic related subject, theme is arranged All nodes that table is broadcast in passage;
Ordinary node module, this ordinary node module is responsible for processing following affairs: initializes ordinary node and also sets communication channel, Uniquely identify in automatically generating passage according to current IP with process ID;Subscribe to the connection theme controlling node, when on other node When rolling off the production line, ordinary node receive from control that node issues about the connection theme rolled off the production line on node, and from subject data Parsing obtains all of ordinary node and topic list in network;The theme that registration service logic is relevant;Subscribing service logic phase The theme closed, and register theme processing method;By network communication module, that sets up subscription is positioned at theme on other node;Borrow Help network communication module issuing subject data.
Network theme ordering system the most according to claim 1, it is characterised in that described network communication module, Controlling node module to be all connected with ordinary node module, described network communication module is connected with controlling node module.
CN201610712467.8A 2016-08-23 2016-08-23 Network-based theme ordering system Active CN106330744B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610712467.8A CN106330744B (en) 2016-08-23 2016-08-23 Network-based theme ordering system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610712467.8A CN106330744B (en) 2016-08-23 2016-08-23 Network-based theme ordering system

Publications (2)

Publication Number Publication Date
CN106330744A true CN106330744A (en) 2017-01-11
CN106330744B CN106330744B (en) 2019-08-16

Family

ID=57742493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610712467.8A Active CN106330744B (en) 2016-08-23 2016-08-23 Network-based theme ordering system

Country Status (1)

Country Link
CN (1) CN106330744B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361694A (en) * 2018-11-22 2019-02-19 北京未尔锐创科技有限公司 A kind of network communication method
CN115190164A (en) * 2022-06-24 2022-10-14 弥费实业(上海)有限公司 Network communication method, device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1908970A (en) * 2005-08-03 2007-02-07 北京航空航天大学 Distribution type information issuing/ ordering system
US20110296050A1 (en) * 2010-05-28 2011-12-01 Microsoft Corporation Realtime websites with publication and subscription
CN102761581A (en) * 2011-04-28 2012-10-31 国际商业机器公司 Dynamic subscription method and device of management information, as well as dissemination method and system
CN104378426A (en) * 2014-11-14 2015-02-25 中国电子科技集团公司第二十九研究所 Load balancing method for real-time information distribution system
CN104426895A (en) * 2013-09-09 2015-03-18 联想(北京)有限公司 Information processing method and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1908970A (en) * 2005-08-03 2007-02-07 北京航空航天大学 Distribution type information issuing/ ordering system
US20110296050A1 (en) * 2010-05-28 2011-12-01 Microsoft Corporation Realtime websites with publication and subscription
CN102761581A (en) * 2011-04-28 2012-10-31 国际商业机器公司 Dynamic subscription method and device of management information, as well as dissemination method and system
CN104426895A (en) * 2013-09-09 2015-03-18 联想(北京)有限公司 Information processing method and terminal equipment
CN104378426A (en) * 2014-11-14 2015-02-25 中国电子科技集团公司第二十九研究所 Load balancing method for real-time information distribution system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361694A (en) * 2018-11-22 2019-02-19 北京未尔锐创科技有限公司 A kind of network communication method
CN109361694B (en) * 2018-11-22 2021-11-30 北京未尔锐创科技有限公司 Network communication method
CN115190164A (en) * 2022-06-24 2022-10-14 弥费实业(上海)有限公司 Network communication method, device, computer equipment and storage medium
CN115190164B (en) * 2022-06-24 2023-11-03 弥费科技(上海)股份有限公司 Network communication method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN106330744B (en) 2019-08-16

Similar Documents

Publication Publication Date Title
CN106685971B (en) Client connects wheat live streaming treating method and apparatus
CN101291330B (en) Communications system
DE102009060268B4 (en) Social networking and announcements in a mobile device on a Local Personal Area Network
CN101867877B (en) Method, equipment and system for sending PUSH message
CN101636999B (en) Methods and apparatus for notifying clients in communication network
US8442062B2 (en) Group communication system using media server having distributed structure and method thereof
CN106850745A (en) A kind of real-time synchronization method and device
CN106210049B (en) Cluster communication method and system based on message queue
CN101656617A (en) Method for promoting advertisement, device and system thereof
CN103873472A (en) Method for automatically having access to network
CN106453231A (en) Signaling obtaining and transmission method and device
CN106330744A (en) Network-based topic subscription system
CN107124628B (en) Advertisement data publishing method and system
CN103812685B (en) Online statistics system and statistical method simultaneously
CN100386987C (en) Group broadcast data distributing method and data distributing device and terminal for realizing said method
WO2013163397A1 (en) Social media product reservation
CN101198036A (en) Method and equipment for transmitting video data
CN103139082B (en) The dynamic routing method and device of a kind of live video distribution
CN101527644A (en) Method for sending notification message and device thereof
CN106850760A (en) Geographical position acquisition methods and device
CN103200119A (en) Load sharing method and edge device in Ethernet virtualization interconnection site
CN109041038A (en) For controlling the method and system of electronic device and designated user's binding
CN101299673B (en) Amalgamation system of multimedia broadcast and instant message communication as well as implementing method thereof
WO2016075066A1 (en) Method for transmitting data between two subscribers
CN101610160A (en) A kind of control device and method of selecting user terminal to release advertising information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 201203 Shanghai City, Pudong New Area Chinese (Shanghai) free trade zone 498 GuoShouJing Road No. 14 building block 22301-985

Applicant after: Shanghai chuangkin Mdt InfoTech Ltd

Address before: Shanghai City, Pudong New Area Jing Road 201203 Shanghai Free Trade Zone No. 498 building 14 block 22301-985

Applicant before: Upper SeaBird scape computer system company limited

GR01 Patent grant
GR01 Patent grant