CN105072181A - Message data distribution system and method based on notice dispatching center - Google Patents

Message data distribution system and method based on notice dispatching center Download PDF

Info

Publication number
CN105072181A
CN105072181A CN201510483872.2A CN201510483872A CN105072181A CN 105072181 A CN105072181 A CN 105072181A CN 201510483872 A CN201510483872 A CN 201510483872A CN 105072181 A CN105072181 A CN 105072181A
Authority
CN
China
Prior art keywords
notice
message data
data
control centre
buffer storage
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
CN201510483872.2A
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.)
Beijing Si Tech Information Technology Co Ltd
Original Assignee
Beijing Si Tech Information Technology 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 Beijing Si Tech Information Technology Co Ltd filed Critical Beijing Si Tech Information Technology Co Ltd
Priority to CN201510483872.2A priority Critical patent/CN105072181A/en
Publication of CN105072181A publication Critical patent/CN105072181A/en
Pending legal-status Critical Current

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
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The invention discloses a message data distribution system and method based on a notice dispatching center. The system comprises a plurality of notice initiating units, a plurality of data caches corresponding to each notice initiating unit, a notice dispatching center and notice receiving units corresponding to each notice initiating unit; each notice initiating unit is accessed to the corresponding data cache, and writes the message data need to be noticed into the data cache; the notice dispatching center scans the message data in each data cache regularly, and distributes the scanned message data need to be noticed to the corresponding notice receiving unit; the notice receiving unit receives the message data distributed by the notice dispatching center, and feeds back the receiving state. By adopting the system provided by the invention, each notice initiating unit in a cluster can be accessed into the notice dispatching center uniformly, and the notice dispatching center dispatches and manages each notice initiating unit uniformly, therefore the tasks of message data notification or data synchronization can be realized.

Description

A kind of message data dissemination system based on notice control centre and method thereof
Technical field
The present invention relates to message informing distribution technology field, be specifically related to a kind of message data dissemination system based on notice control centre and method thereof.
Background technology
In a distributed system, the notice of being carried out data syn-chronization between system unit or message data by internal network is often needed; Many system units also can pass through the Internet, and externally system sends message data.In similar message communicating process, if run into network problem or performance bottleneck, just likely cause communication abnormality, failed result.
Being caused the problem of notifications instability by various uncertainty, is the Universal Problems under an intersystem communications scene.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of message data dissemination system based on notice control centre and method thereof, can realize United Dispatching and the unified management of message data.
The technical scheme that the present invention solves the problems of the technologies described above is as follows:
On the one hand, the invention provides a kind of message data dissemination system based on notice control centre, described system comprises multiple notice and initiates unit, notifies to initiate multiple data buffer storages corresponding to unit with each, notify control centre and notify to initiate multiple notice receiving elements corresponding to unit with each;
Described in each, notice initiates unit, for accessing corresponding data buffer storage, and will the message data of notice be needed to write this data buffer storage;
Described notice control centre comprises:
Data scanning module, for needing the message data notified in each data buffer storage of interval scan to schedule;
Data dissemination module, for being distributed to corresponding notice receiving element by the described message data of notice that needs scanned;
Notify described in each that receiving element comprises:
Data reception module, by the message data for receiving the distribution of described notice control centre;
Accepting state feedback module, for feeding back the accepting state of its receipt message data to described notice control centre.
On the other hand, the invention provides a kind of message data distribution method based on notice control centre, described method comprises:
S1, each notice initiate data buffer storage corresponding to unit access, and the data buffer storage that will the message data write of notice needed corresponding;
S2, notice control centre need the message data that notifies to schedule in each data buffer storage of interval scan and the message data of scanning are distributed to corresponding notice receiving element;
S3, each notice receiving element receive the message data of described notice control centre distribution, and feed back the accepting state of its receipt message data to notice control centre.
A kind of message data dissemination system based on notice control centre provided by the invention and method thereof, each notice initiates data buffer storage corresponding to unit access, and will need in the message data write data buffer storage of notice, the message data notified is needed in notice control centre each data buffer storage of timing scan, and message data is distributed to corresponding notice receiving element, notify the message data that receiving element reception notification control centre distributes and feedback reception state, the present invention adopts data buffer storage as access medium, ensure that the stability that message data is distributed; Each notice is initiated unit and is notified that receiving element is all by notifying that control centre comes United Dispatching and unified management, achieves the unified distribution of message data; Feed back its accepting state (namely whether receipt message data are successful) to notice control centre after notice receiving element receives the message data of notice control centre distribution, the state of message data communication can be understood in real time.
Accompanying drawing explanation
Fig. 1 is a kind of message data dissemination system schematic diagram based on notice control centre of the embodiment of the present invention one;
Fig. 2 is a kind of message data distribution method flow chart based on notice control centre of the embodiment of the present invention two;
Fig. 3 is the mutual schematic diagram in the embodiment of the present invention two between various piece;
Fig. 4 notifies control centre's course of work schematic diagram in the embodiment of the present invention two.
Embodiment
Be described principle of the present invention and feature below in conjunction with accompanying drawing, example, only for explaining the present invention, is not intended to limit scope of the present invention.
Embodiment one, a kind of message data dissemination system based on notice control centre.Below in conjunction with Fig. 1, the system diagram that the present embodiment provides is described in detail.
See Fig. 1, the system that the present embodiment provides comprises multiple notice and initiates unit 10, notify to initiate data buffer storage corresponding to unit 10 20 with each, one notifies control centre 30 and notifies to initiate notice receiving element 40 corresponding to unit 10 with each, wherein, each data buffer storage 20 comprises notify status update module 201 and data interlock module 202, notice control centre 30 comprises data scanning module 301, data filtering module 302, Data dissemination module 303 and data re-transmitting module 304, each notice receiving element 40 comprises data reception module 401 and accepting state feedback module 402.
Each notice is initiated unit 10 and is accessed corresponding data buffer storage 20, and by data buffer storage 20 corresponding for the message data write of needs notice.
The message data notified is needed in data scanning module 201 data buffer storage 20 that interval scan is corresponding to schedule in notice control centre 20.
The message data that data filtering module 202 is mainly used in the needs notice according to extendible filter condition, data scan module 301 being scanned to acquisition is filtered, to filter out the message data meeting notification condition.
The filter result that notify status update module 201 in data buffer storage 20 is mainly used in data filtering module 202 upgrades the notify status of message data in data buffer storage 20 for needs notice.
Data interlock module 202 is mainly used in being the message data locking needing notice by notify status in data buffer storage 20, to avoid notifying that control centre 30 is to these message data multiple scannings next time.
In notice control centre 30, Data dissemination module 303 is mainly used in the message data meeting notification condition after data filtering module 302 being filtered and is distributed to corresponding notice receiving element 40.
Data reception module 401 in notice receiving element 40 is mainly used in the message data that in reception notification control centre 30, Data dissemination module 303 is distributed.
Accepting state feedback module 402 is mainly used in the accepting state feeding back its receipt message data to notice control centre 30.
Data re-transmitting module 304 in notice control centre 30 is mainly used in, when the accepting state that the accepting state feedback module 402 in notice receiving element 40 feeds back is status of fail and the number of times that this message data has sent does not reach pre-determined number, retransmitting this message data to the notice receiving element 40 of correspondence.
Embodiment two, a kind of message data distribution method based on notice control centre.Below in conjunction with Fig. 2-Fig. 4, the method that the present embodiment provides is described in detail.
Data buffer storage corresponding to unit access is initiated see Fig. 2, S1, each notice, and the data buffer storage that will the message data write of notice needed corresponding.
Concrete, multiple notice initiates unit can form a notice initiation cluster, the present embodiment is that notice each notice initiated in cluster initiates cell location data buffer storage (can be high-speed cache or database), and the present embodiment uses non-relational database mongodb as data buffer storage.Each notice initiates data buffer storage corresponding to unit access, and according to the unified data model (also can be understood as unified data format) preset by needing in the data buffer storage of message data write correspondence of notice, so that subsequent notification control centre can identify the message data in the data buffer storage of scanning.Wherein, unified data model is by notifying that control centre presets, and such as, the data model that the present embodiment notice control centre presets is see as shown in table 1 below:
Table 1
S2, notice control centre need the message data that notifies to schedule in each data buffer storage of interval scan and the message data of scanning are distributed to corresponding notice receiving element.
Concrete, when each notice initiation unit writes the message data of needs notice in the data buffer storage of correspondence and these need the message data of notice to reach predetermined transmitting time, see Fig. 4, the message data in each data buffer storage is scanned in notice control centre, and filters the message data that scanning obtains further.Concrete scanning and filter process are: notice control centre distributes a scanning poll pond for each data buffer storage, are used for managing the scanning thread of each access data buffer memory of correspondence.Interval to schedule, notice control centre will start one and scan thread scan in poll pond corresponding with data buffer storage, scan the data buffer storage that thread accesses correspondence, scan the message data in data buffer storage; Then thread is scanned according to extendible filter condition, such as, message data is judged whether in effective transmitting time according to the time field of message data, or whether other field of message data is effective, filter out the data without the need to notice in the message data of the needs notice in the data buffer storage of scanning acquisition, to filter out the message data meeting notification condition.
According to notice control centre to the filter result of the message data of scanning, the notify status meeting the message data of notification condition in the data buffer storage of correspondence is updated to needs notify status, and these be in and need the message data of notify status to lock, in order to avoid notify that control centre is to these message data multiple scannings next time.
Subsequently, notify that the message data meeting notification condition of scanning is distributed to corresponding notice receiving element according to the time preset by control centre.Concrete distribution procedure is: for each scanning poll pond configures a corresponding notice thread, notice control centre notifies with each to initiate the adaptive corresponding interface of notice receiving element corresponding to unit, notifies thread by corresponding interface to notice receiving element dispatch messages data.Notify in the present embodiment that control centre can also for notifying the communication transport protocols that the interface configuration of receiving element is corresponding, namely different notice receiving element interfaces can support different communication transport protocols, such as, modal communication transport protocols HTTP (HypertextTransferProtocol, HTML (Hypertext Markup Language)).In addition, notice control centre can be identical to the time (this transmitting time is initiated unit by the notice of correspondence and preset) of multiple notice receiving element notification message data, also can be different, and such as, possible part-time is identical, and part-time is different.When notify control centre to multiple notice receiving element send time of message data identical time (notice control centre is simultaneously to multiple notice receiving element dispatch messages data), the present embodiment will adopt multiple notice thread concurrent fashion to send corresponding message data to multiple notice receiving element.
The message data of S3, each notice receiving element reception notification control centre distribution, and feed back its accepting state to notice control centre.
Concrete, after notice control centre has distributed corresponding message data to multiple notice receiving element, the message data of notice receiving element reception notification control centre distribution, and the accepting state feeding back its receipt message data to notice control centre.If the message data success of notice receiving element reception notification control centre distribution, then notify that receiving element is to notice control centre feedback reception success status, now, the notify status of the message data of this in data buffer storage is updated to notice success status by notice control centre, no longer need to notify this message data after representing, generate the log file (log file comprises the time etc. of this message data, notify status and each notice) of this message data simultaneously; If the message data failure of notice receiving element reception notification control centre distribution, then notify that receiving element is to notice control centre feedback reception status of fail, now, this message data transmission times is added 1 by notice control centre, and judge this message data transmission times whether reach pre-determined number, if reach pre-determined number, then the notify status of the message data of this in data buffer storage is updated to the state of proving an abortion, generates log file and the warning file of this message data simultaneously; If do not reach pre-determined number, then the notify status of the message data of this in data buffer storage is updated to and needs notify status, wait for next sweep time, by notice control centre, scanning is carried out to this information data and be also again distributed to corresponding notice receiving element.In addition, each data buffer storage can the message data of timing to write be cleared up, be specially: when the notify status of the message data in data buffer storage is notice success status, and notify that the successful time is not within the scheduled time, then these message datas are cleared up from data buffer storage, to discharge data buffer storage space.
A kind of message data dissemination system based on notice control centre provided by the invention and method, each notice initiates data buffer storage corresponding to unit access, and will need in the message data write data buffer storage of notice, the message data notified is needed in notice control centre each data buffer storage of timing scan, and message data is distributed to corresponding notice receiving element, notify the message data that receiving element reception notification control centre distributes and feedback reception state, the present invention adopts data buffer storage as access medium, ensure that the stability that message data is distributed; Each notice is initiated unit and is notified that receiving element is all by notifying that control centre comes United Dispatching and unified management, achieves the unified distribution of message data; Feed back its accepting state (namely whether receipt message data are successful) to notice control centre after notice receiving element receives the message data of notice control centre distribution, the state of message data communication can be understood in real time; Notice control centre is in the process of the message data corresponding to each notice receiving element distribution, have employed the retransmission mechanism of message data, avoid the message data caused because of accidental abnormal conditions and send failed situation, improve the stability of whole system figure; In addition, the accepting state that each notice receiving element receives corresponding message data is carried out record by notice control centre, and upgrade the notify status of message data corresponding in data buffer storage, avoid the problems such as the mistake of message data in data buffer storage is sent out, repeating transmission, and record is carried out to the communication process of whole message data, to facilitate follow-up use of checking; Message data timing in data buffer storage is cleared up, to discharge data buffer storage space.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the message data dissemination system based on notice control centre, it is characterized in that, described system comprises multiple notice and initiates unit, notifies to initiate multiple data buffer storages corresponding to unit with each, notify control centre and notify to initiate multiple notice receiving elements corresponding to unit with each;
Described in each, notice initiates unit, for accessing corresponding data buffer storage, and will the message data of notice be needed to write this data buffer storage;
Described notice control centre comprises:
Data scanning module, for needing the message data notified in each data buffer storage of interval scan to schedule;
Data dissemination module, for being distributed to corresponding notice receiving element by the described message data of notice that needs scanned;
Notify described in each that receiving element comprises:
Data reception module, for receiving the message data of described notice control centre distribution;
Accepting state feedback module, for feeding back the accepting state of its receipt message data to described notice control centre.
2., as claimed in claim 1 based on the message data dissemination system of notice control centre, it is characterized in that, described notice control centre also comprises:
Data filtering module, for filtering to filter out to the message data obtained from the scanning of each data buffer storage the message data meeting notification condition according to extendible filter condition.
3., as claimed in claim 2 based on the message data dissemination system of notice control centre, it is characterized in that, described data buffer storage also comprises:
Notify status update module, for upgrading the notify status of message data in corresponding data buffer memory according to the filter result of data filtering module;
Locking module, needs the message data of notify status to lock for being in by notify status.
4. as claimed in claim 2 based on the message data dissemination system of notice control centre, it is characterized in that, described Data dissemination module, for the described notice receiving element needing the message data of notice to be distributed to correspondence scanned specifically is comprised:
The described message data meeting notification condition after data filtering modular filtration is distributed to corresponding notice receiving element.
5., as claimed in claim 1 based on the message data dissemination system of notice control centre, it is characterized in that, described notice control centre also comprises:
Message data retransmit module, for when send to the notice receiving element of correspondence message data failure and this message data transmission times does not reach pre-determined number time, this message data is resend to the notice receiving element of correspondence.
6., based on a message data distribution method for notice control centre, it is characterized in that, described method comprises:
S1, each notice initiate data buffer storage corresponding to unit access, and the data buffer storage that will the message data write of notice needed corresponding;
S2, notice control centre need the message data that notifies to schedule in each data buffer storage of interval scan and the message data of scanning are distributed to corresponding notice receiving element;
S3, each notice receiving element receive the message data of described notice control centre distribution, and feed back the accepting state of its receipt message data to notice control centre.
7., as claimed in claim 6 based on the message data distribution method of notice control centre, it is characterized in that, described method also comprises:
Notice control centre filters to filter out to the message data in each data buffer storage of scanning the message data meeting notification condition according to extendible filter condition.
8., as claimed in claim 7 based on the message data distribution method of notice control centre, it is characterized in that, described method also comprises:
Upgrade the notify status of message data in corresponding data buffer memory according to the filter result of notice control centre, and notify status is in needs the message data of notify status to lock.
9. as claimed in claim 7 based on the message data distribution method of notice control centre, it is characterized in that, in described step S2, notify that the message data of scanning is distributed to corresponding notice receiving element and specifically comprises by control centre:
The described message data meeting notification condition after filtering is distributed to corresponding notice receiving element.
10., as claimed in claim 6 based on the message data distribution method of notice control centre, it is characterized in that, described method also comprises:
According to the accepting state of the described message data of reception of each notice receiving element feedback, whether successfully judge that corresponding notice receiving element receives this message data;
If receive successfully, then upgrade the notify status of this message data in data buffer storage for notice success status;
If take defeat and this message data transmission times do not reach pre-determined number, then the notify status of this message data upgraded in data buffer storage is needs notify status;
If take defeat and this message data transmission times reach pre-determined number, the notify status of the message data of this in data buffer storage is updated to notice status of fail.
CN201510483872.2A 2015-08-07 2015-08-07 Message data distribution system and method based on notice dispatching center Pending CN105072181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510483872.2A CN105072181A (en) 2015-08-07 2015-08-07 Message data distribution system and method based on notice dispatching center

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510483872.2A CN105072181A (en) 2015-08-07 2015-08-07 Message data distribution system and method based on notice dispatching center

Publications (1)

Publication Number Publication Date
CN105072181A true CN105072181A (en) 2015-11-18

Family

ID=54501460

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510483872.2A Pending CN105072181A (en) 2015-08-07 2015-08-07 Message data distribution system and method based on notice dispatching center

Country Status (1)

Country Link
CN (1) CN105072181A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101677301A (en) * 2008-09-16 2010-03-24 联想(北京)有限公司 Intermediate server for instant messaging and instant messaging realizing method thereof
CN102137346A (en) * 2010-09-17 2011-07-27 华为软件技术有限公司 Method for processing multimedia messaging service (MMS) as well as related equipment and system
CN102143444A (en) * 2010-09-02 2011-08-03 华为技术有限公司 Method, relevant equipment and system for pushing service delivery platform message
CN103024014A (en) * 2012-12-03 2013-04-03 北京京东世纪贸易有限公司 Method and system for distributing and processing mass data passing through message queues
CN103856392A (en) * 2013-06-26 2014-06-11 携程计算机技术(上海)有限公司 Message push method, outgoing server using message push method and outgoing server system
CN104023072A (en) * 2014-06-13 2014-09-03 中国民航信息网络股份有限公司 Device and method for pushing data
CN104506416A (en) * 2014-12-17 2015-04-08 东软集团股份有限公司 Method, device and system for implementing stable message forwarding

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101677301A (en) * 2008-09-16 2010-03-24 联想(北京)有限公司 Intermediate server for instant messaging and instant messaging realizing method thereof
CN102143444A (en) * 2010-09-02 2011-08-03 华为技术有限公司 Method, relevant equipment and system for pushing service delivery platform message
CN102137346A (en) * 2010-09-17 2011-07-27 华为软件技术有限公司 Method for processing multimedia messaging service (MMS) as well as related equipment and system
CN103024014A (en) * 2012-12-03 2013-04-03 北京京东世纪贸易有限公司 Method and system for distributing and processing mass data passing through message queues
CN103856392A (en) * 2013-06-26 2014-06-11 携程计算机技术(上海)有限公司 Message push method, outgoing server using message push method and outgoing server system
CN104023072A (en) * 2014-06-13 2014-09-03 中国民航信息网络股份有限公司 Device and method for pushing data
CN104506416A (en) * 2014-12-17 2015-04-08 东软集团股份有限公司 Method, device and system for implementing stable message forwarding

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
左万历,周长林: "《计算机操作系统教程 第2版》", 31 July 2004 *

Similar Documents

Publication Publication Date Title
US10764369B2 (en) Data storage method and server applicable to distributed server cluster
CN103166933A (en) System and method for data safe exchange
CN102740160A (en) Method and apparatus for recording failures of television software
JP2009531879A (en) Method and system for message retransmission and method and system for intersystem message delivery
CN102075344B (en) Work order distributing method and alarm information filtering device in communication network
CN102377685A (en) Subscription message sending system and subscription message sending method
CN104639429A (en) Message notification method and device of cloud platform
US20120023065A1 (en) System and method for managing data on an occasionally connected mobile device
CN101938374A (en) System performance monitoring and alarming method and system
CN104468059A (en) Reliable data transmission method based on Beidou satellite
CN103297477B (en) A kind of data acquisition reporting system and data processing method and proxy server
CN101729284A (en) Equipment end initiative based method for realizing link polling in management system
CN105471654B (en) A kind of configuration data automatic loading method based on FC network
CN101340319A (en) Method and device for network management alarm
CN105072181A (en) Message data distribution system and method based on notice dispatching center
CN106210053A (en) A kind of electrical power system wide-area information management method
CN105812492A (en) Data synchronizing method and system
CN102412983A (en) Reporting method for equipment alarm
CN112751743B (en) Message sending exception processing method, message sending device and electronic equipment
CN102055811A (en) Method and system for writing equipment ID
CN101631353A (en) Method and device for managing status packet data unit
CN105513300A (en) Information alarm transmission system for mobile communication
CN103684825A (en) Multi-system communication system and maintenance method for same
CN103678614A (en) Information processing method for unlocking industry security administration
CN112671587A (en) Alarm method for failure of equipment issuing configuration

Legal Events

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

Application publication date: 20151118