CN107124456A - XMPP server internal memory message transferring system and its middle shifting method based on distributed memory queue - Google Patents

XMPP server internal memory message transferring system and its middle shifting method based on distributed memory queue Download PDF

Info

Publication number
CN107124456A
CN107124456A CN201710285606.8A CN201710285606A CN107124456A CN 107124456 A CN107124456 A CN 107124456A CN 201710285606 A CN201710285606 A CN 201710285606A CN 107124456 A CN107124456 A CN 107124456A
Authority
CN
China
Prior art keywords
memory queue
memory
data
queue
message
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
CN201710285606.8A
Other languages
Chinese (zh)
Other versions
CN107124456B (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.)
HEFEI CITY CLOUD DATA CENTER Co Ltd
Original Assignee
HEFEI CITY CLOUD DATA CENTER 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 HEFEI CITY CLOUD DATA CENTER Co Ltd filed Critical HEFEI CITY CLOUD DATA CENTER Co Ltd
Priority to CN201710285606.8A priority Critical patent/CN107124456B/en
Publication of CN107124456A publication Critical patent/CN107124456A/en
Application granted granted Critical
Publication of CN107124456B publication Critical patent/CN107124456B/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/55Push-based network services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/2895Intermediate processing functionally located close to the data provider application, e.g. reverse proxies
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention relates to the XMPP server internal memory message transferring system based on distributed memory queue and its middle shifting method, solve to communicate between XMPP server compared with prior art and the defect of clogged with messages occur in high-throughput, high concurrent scene.The present invention comprises the following steps:Configure memory queue;Registrar client;Memory queue preserves message;Message distribution.The present invention can meet system business development need by flexibly configuring the effective use of memory queue and XMPP server self EMS memory, the problem of solving high-throughput, high concurrent between XMPP server.

Description

XMPP server internal memory message transferring system and its transfer based on distributed memory queue Method
Technical field
The present invention relates to XMPP server technical field, in the XMPP server specifically based on distributed memory queue Deposit message transferring system and its middle shifting method.
Background technology
Internet Engineering Task group (IETF) is by Jabber core XML stream agreement with XMPP name, formal row Real-time Communication for Power and Presence technologies for accreditation.And XMPP technical specification has been defined within RFC 3920 and RFC 3921. Any IM suppliers can realize with Google Talk in the case where following XMPP, and be connected.First Jabber (present XMPP) Technology is that Jeremie Miller were developed in 1998, quite stable;Hundreds of developer is XMPP technology Effort.There are ten hundreds of XMPP servers to operate on the internet of today, and there are millions of people to use XMPP Instant messaging software.The framework and Email of XMPP networks are very alike, and XMPP core protocol communication modes are first to create one Individual stream, XMPP transmit XML data stream with TCP, without center master server.
XMPP is a kind of agreement of the subset X ML based on standard generalized markup language, and it is inherited in XML environment flexibly It is expansionary.Therefore, the application based on XMPP has superpower scalability.XMPP after extension can be by sending The information of extension is set up such as content delivering system and the service based on address to handle the demand of user, and on XMPP top Etc. application program.Moreover, XMPP contains the software protocol for server end, make it to be conversed with another, this makes Developer is obtained to be easier to set up client applications or prepare system addition function to one.
Anyone can run the XMPP server of oneself, personal and tissue is controlled their real-time communication body Test.The server of any XMPP can be independently of public XMPP networks (such as in Intranet), and use The secure safety of the technologies such as SASL and TL, has been built in core XMPP technical specifications.
The power of XML NameSpaces can make the function that anyone builds customization on the basis of core protocol, in order to tie up Permeability is held, common extension there are XMPP standard foundations.XMPP is except that can be used in the application program of real-time Communication for Power, moreover it is possible to be used in Network management, content are submitted the article, collaborative tools, file-sharing, game, remote system monitoring etc..
But, with the presence of the data traffic of the server of usually more than 70% XMPP and nearly 60% weighed Multiple forwarding, causes XMPP server data payload too heavy, is communicated between XMPP server and delay just occurs, or even loss of data Phenomenon.With the growth of business, the data of the instantaneous processing of XMPP server can be more and more, it is assumed that sometime it is instantaneous simultaneously Hair amount is 100W bar communication datas, and every communication data is that 16 bytes are calculated, then needs to consume the byte of server 16000000 Disposal ability, this can all bring great load for server or the network bandwidth.
The epoch of big data have been stepped into now, as the simple, fast and efficient distribution such as Memcache, Redis is based on Quickly development and the application of the cache tools of internal memory, enables to be significantly reduced database access number of times, so as to improve access Handling capacity and service response speed.Memcache is a set of distributed cache systems, by LiveJournal Brad Fitzpatrick is developed, but at present by many websites using to lift the access speed of website, particularly with some are large-scale, Need the accelerating website access lifting effect for frequently accessing database very notable.This is a set of open-source software, with BSD License authorizes issue.Similar cache instrument they topmost feature be exactly:One is that it is based on the efficient of internal memory Hash class cache way, two be to have used lru algorithm to carry out data validity interval control, and this 2 points just can be good at meeting me To big data interact application.Systematic function can effectively be improved, server communication time-delay is reduced, for saving project warp There is practical significance in terms of the development of cost of helping and business.
The problem of high-throughput, high concurrent generally occurs in communication between server.And traditional technology can not have The demand of the satisfaction of effect in this respect.
Therefore, under the business form of cloud computing, how by cache tools of the distribution based on internal memory and XMPP server Effective technology combination is carried out, realizes that the internal memory transfer technology of XMPP server has become the technical problem for being badly in need of solving.
The content of the invention
The invention aims to solve to communicate in high-throughput, high concurrent between XMPP server in the prior art Occur in scape the defect of clogged with messages there is provided a kind of XMPP server internal memory message transferring system based on distributed memory queue and Wherein shifting method solves the above problems.
To achieve these goals, technical scheme is as follows:
A kind of XMPP server internal memory message transferring system based on distributed memory queue, including it is registration management module, interior Deposit queue management device, scheduler and distribution policy storehouse, registration management module be used to carrying out the internal memory of XMPP server configuration and XMPP server client is registered, and the XMPP server client data of registration is stored in data/address bus;Memory queue Manager is used to obtain the data of data bus transmission and waits calling for scheduler;Calculated for storage distribution in distribution policy storehouse Method;Distribution algorithms of the scheduler in distribution policy storehouse are from memory queue manager called data, the distribution for carrying out message Turn.
Described memory queue manager includes queue management device and several memory queues, the output end of queue management device It is connected with the input of several memory queues.
The output end of the data/address bus is connected with the input of registration management module and the input of scheduler respectively, note The output end of volume management module is connected with the input of memory queue manager, the output end and scheduler of memory queue manager Input be connected, the output end in distribution policy storehouse is connected with the input of scheduler.
Described distribution policy database includes round robin algorithm, weighted round robin, Smallest connection and figures method, weighting minimum Method, destination address Hash hashing algorithm, source address Hash hashing algorithm and random algorithm are figured in connection.
The middle shifting method of XMPP server internal memory message transferring system based on distributed memory queue, comprises the following steps:
Memory queue is configured, interface, phase needed for input memory queue manager are configured into memory queue manager administration ID, IP, CPU, internal memory, the precedence information answered, carry out health examination to memory queue after registration, configuration interface output is distributed Internal memory list;
Registrar client, client access system, using publish/subscribe Schema Registration subscriber to data/address bus System in, the data/address bus record corresponding information of client, the data-interface of access returns to client by data/address bus;
Memory queue preserves message, and the interface data that client is returned according to data/address bus communicates information to memory queue Manager, memory queue manager distributes information between memory queue;
Message distribution, scheduler preserves message distribution to data/address bus according to the distribution policy set in distribution policy storehouse Client, delete and be stored in data in memory queue, in internal memory queue management device persistent message.
Described configuration memory queue comprises the following steps:
Interface is configured into memory queue manager, corresponding information is inputted in the configuration page:It is ID, IP, CPU, internal memory, excellent First level, preserves information into the local data base of queue management device, forms several memory queues;
The access of memory queue, memory queue manager carries out health examination to the memory queue of access.
Described memory queue preserves message and comprised the following steps:
The interface data that client is returned according to data/address bus communicates information to memory queue manager, the data of transmission Including data message, checking information, wherein data transfer uses XML format;
After memory queue manager receive information, it is stored in successively in memory queue by queue management device, memory queue Information is preserved using two from three redundancy structure, calling for scheduler is waited.
Described message distribution comprises the following steps:
Scheduler sets up the initiation of distribution work;
Scheduler obtains chartered client-side information at data/address bus;
Scheduler obtains distribution algorithms from distribution policy storehouse, distributes away information from the memory queue chosen;
In local perdurable data, local data base of the Backup Data to memory queue manager;
The message for being distributed in and having distributed away in memory queue is deleted according to user profile in memory queue manager.
Described memory queue manager carries out health examination to the memory queue of access and comprised the following steps:
A HTTP health examination is created, interval time is 5 seconds, and number of attempt is 3 times;
Whether memory queue manager obtains a page from memory queue, check content of pages comprising the character specified String;
If comprising specified character string, the communication service of memory queue is normal, if not including or obtaining Less than the page, it is believed that the communication service of memory queue is abnormal;
Memory queue checked abnormal client that the memory queue communication service is normal when discovery, then every 5 seconds The memory queue is re-flagged to be normal.
Beneficial effect
The XMPP server internal memory message transferring system and its middle shifting method based on distributed memory queue of the present invention, with showing There is technology to compare the effective use by flexibly configuration memory queue and XMPP server self EMS memory, system industry can be met It is engaged in development need, the problem of solving high-throughput, high concurrent between XMPP server.The present invention according to optimal outbound algorithm, It can ensure that message is most fast and reach server client, blocking, delay situation are not produced, and the memory queue for passing through two from three takes Business device design, substantially reduces the possibility for occurring safety problem.
Brief description of the drawings
Fig. 1 is structure connection figure of the invention;
Fig. 2 is method precedence diagram of the invention;
Wherein, 1- registration managements module, 2- memory queues manager, 3- schedulers, 4- distribution policies storehouse, 5- data are total Line, 21- queue management devices, 22- memory queues.
Embodiment
To make to have a better understanding and awareness to architectural feature of the invention and the effect reached, to preferably Embodiment and accompanying drawing coordinate detailed description, are described as follows:
As shown in figure 1, the XMPP server internal memory message transferring system of the present invention based on distributed memory queue, bag Include registration management module 1, memory queue manager 2, scheduler 3 and distribution policy storehouse 4.Wherein, memory queue manager 2 includes Queue management device 21 and several memory queues 22, the output end of queue management device 21 and the input of several memory queues 22 It is connected.
The output end of data/address bus 5 is connected with the input of registration management module 1 and the input of scheduler 3 respectively, note The output end of volume management module 1 is connected with the input of memory queue manager 2, the output end and tune of memory queue manager 2 The input for spending device 3 is connected, and the output end in distribution policy storehouse 4 is connected with the input of scheduler 3.
Registration management module 1 is used to be configured and registered XMPP server client to the internal memory of XMPP server, and The XMPP server client data of registration is stored in data/address bus 5;Memory queue manager 2 is used to obtain data/address bus The data of 5 transmission simultaneously wait calling for scheduler 3;Distribution policy storehouse 4 is used for storage distribution algorithm;Scheduler 3 is according to distribution plan Distribution algorithms slightly in storehouse 4 carry out the distribution transfer of message from the called data of memory queue manager 2.
Wherein, in distribution policy database, the round robin algorithm that is stored with, weighted round robin, Smallest connection are figured method, added Power Smallest connection figures method, destination address Hash hashing algorithm, source address Hash hashing algorithm and random algorithm, can be with maximum limit Degree provides the service efficiency of memory queue manager 2.
As shown in Fig. 2 the middle shifting method of the XMPP server internal memory message transferring system based on distributed memory queue, including Following steps:
The first step, configures memory queue.Into the management configuration interface of memory queue manager 2, input memory queue management The relevant information such as corresponding ID, IP, CPU, internal memory, priority needed for device 2, health examination is carried out after registration to memory queue 22, Configure interface output distributed memory list.It is comprised the following steps that:
(1) enter memory queue manager 2 and configure interface, corresponding information is inputted in the configuration page:It is ID, IP, CPU, interior Deposit, priority (1-5 numeral bigger priority level higher).Memory queue manager 2 is called for convenience, and IP is Intranet IP Location, preserves information into the local data base of queue management device 21, herein for memory queue data persistence, database can be with For any relevant database such as Mysql, Sql server, Oracle.The quantity of queue management device 21 can be according to reality Demand is added, deleted, and this is also one of features of the present invention, can be according to the need of handling capacity between multiple XMPP servers Will, carry out flexible configuration.
Information is preserved into the local data base of queue management device 21, several memory queues 22 are formed, in XMPP services Enter the transfer of row information in the internal memory of device, directly handled using memory techniques, so as to improve response speed and efficiency.
(2) access of memory queue 22, the memory queue 22 of 2 pairs of accesses of memory queue manager carries out health examination.Its In, health examination is the two of the features of the present invention, and the reliability of memory queue 22, and health inspection are improved by health examination The interval time looked into and number of attempt will be set according to comprehensive condition, and principle is both will not to produce influence to business, again will not Larger burden is caused to load-balancing device.
Memory queue manager carries out health examination to the memory queue of access and comprised the following steps:
A, one HTTP health examination of establishment, interval time is 5 seconds, and number of attempt is 3 times;
B, memory queue manager 2 obtain a page from memory queue 22, check whether content of pages includes what is specified Character string;
If C, comprising specified character string, the communication service of memory queue 22 is normal, if do not include or Obtain less than the page, it is believed that the communication service of memory queue 22 is abnormal;
D, memory queue 22 were checked abnormal client every 5 seconds, when the discovery communication service of memory queue 22 Normally, then the memory queue 22 is re-flagged to be normal.
Now, configuration interface list is checked, the running status of each current memory queue 22 can be shown in real time:Configuration information The information such as (ID numberings, Intranet IP, CPU, internal memory, priority), CUP temperature, hard disk temperature, memory usage.Configuration information can To be directly obtained from local data base, and the running status of memory queue manager 2 can be from installed in each memory queue The API Calls of the monitoring class software of manager 2.
Second step, registrar client.Client access system, using publish/subscribe (Pub/Sub) Schema Registration Subscriber is into the system of data/address bus 5, the record client-side information of data/address bus 5 (ip, Mac address, user profile), and data are total The data-interface of access is returned to client by line 5.
Wherein return to server client transmission data and use XML data format such as:
<Message fom='datacenter'to='number'type='reg'xml:Lang='en'><tag> </tag><subject>welcome</subject></message>, from is that to is sent to destination from data/address bus Server client, type is registration type, and tag is the certification mark returned, can be used when sending message, subject is Remark information.
3rd step, memory queue 22 preserves message.The interface data that client is returned according to data/address bus 5 is by information transmission To memory queue manager 2, memory queue manager 2 distributes information between memory queue 22.It is comprised the following steps that:
(1) interface data that client is returned according to data/address bus 5 communicates information to memory queue manager 2, transmission Data include data message, checking information and (register, refuse not at data/address bus if detecting the server client Exhausted receive information.).Wherein data transfer uses XML format, and it is as follows that the definition of XML scripts sends data format:
<Message from='my'to='all'type='chat'xml:Lang='en'><auth></auth>< subject>I implore you!</subject></message>,
From is the information from server client, and to, to be sent to destination, can be whole or specified Several server clients, type is type of message, be divided into it is common, urgent, important, auth be server client checking Information, subject is the specifying information content sent.
(2) after the receive information of memory queue manager 2, memory queue 22 will be stored in successively by queue management device 21 In, memory queue 22 preserves information using two from three redundancy structure, waits calling for scheduler 3.Wherein, two from three redundancy structure For the three of the features of the present invention, due to the common demands to system reliability and security, the Redundancy Design of this subsystem is taken Two from three redundancy structure, the reliability and security of system are improved by hardware redundancy, information is stored in multiple internal memories In queue 22.The memory queue 22 now used is at UP states.All memory queues 22 of 2 pairs of memory queue manager are sent out Go out request signal, most fast satisfactory to both parties memory queue 22 is responded as client data information storage machine using providing.
4th step, message distribution.Scheduler 3 is according to the distribution policy set in distribution policy storehouse 4 by message distribution to number The client preserved according to bus 5, deletes the data being stored in memory queue 22, in the persistent message of internal memory queue management device 2. It is comprised the following steps that:
(1) scheduler 3 sets up the initiation of distribution work.
(2) scheduler 3 obtains chartered client-side information at data/address bus 5.
(3) scheduler 3 obtains distribution algorithms from distribution policy storehouse 4, distributes by information from the memory queue 22 chosen Go, message distribution is given subscriber's (server client) by publish/subscribe (Pub/Sub) pattern.
(4) in local perdurable data, local data base of the Backup Data to memory queue manager 2.
(5) deleted according to user profile in memory queue manager 2 and be distributed in what is distributed away in memory queue 22 Message, clears up space in time, and memory headroom is utilized to greatest extent.
The present invention can effectively high-throughput, high concurrent between settlement server, the problem of easily extend, by flexibly matching somebody with somebody The need for putting the system business development that memory queue can meet future, according to optimal outbound algorithm, it is ensured that message is most Fast reaches server client, situations such as blocking, be delayed without generation, and system employs the memory queue service of two from three Device module, this software redundancy structure can substantially reduce the possibility for occurring safety problem.
General principle, principal character and the advantages of the present invention of the present invention has been shown and described above.The technology of the industry Personnel are it should be appreciated that the present invention is not limited to the above embodiments, and that described in above-described embodiment and specification is the present invention Principle, various changes and modifications of the present invention are possible without departing from the spirit and scope of the present invention, these change and Improve the scope for both falling within claimed invention
It is interior.The protection domain of application claims is defined by appended claims and its equivalent.

Claims (9)

1. a kind of XMPP server internal memory message transferring system based on distributed memory queue, it is characterised in that:Including registration pipe Manage module (1), memory queue manager (2), scheduler (3) and distribution policy storehouse (4), registration management module (1) for pair The internal memory of XMPP server is configured and registered XMPP server client, and by the XMPP server client data of registration It is stored in data/address bus (5);Memory queue manager (2) is used to obtain the data of data/address bus (5) transmission and waits scheduling Device (3) are called;Distribution policy storehouse (4) is used for storage distribution algorithm;Distribution of the scheduler (3) in distribution policy storehouse (4) Algorithm carries out the distribution transfer of message from memory queue manager (2) called data.
2. the XMPP server internal memory message transferring system according to claim 1 based on distributed memory queue, its feature It is:Described memory queue manager (2) includes queue management device (21) and several memory queues (22), queue management device (21) output end is connected with the input of several memory queues (22).
3. the XMPP server internal memory message transferring system according to claim 1 based on distributed memory queue, its feature It is:The input and the input of scheduler (3) of the output end of the data/address bus (5) respectively with registration management module (1) It is connected, the output end of registration management module (1) is connected with the input of memory queue manager (2), memory queue manager (2) Output end be connected with the input of scheduler (3), the output end of distribution policy storehouse (4) is connected with the input of scheduler (3).
4. the XMPP server internal memory message transferring system according to claim 1 based on distributed memory queue, its feature It is:Described distribution policy database includes round robin algorithm, weighted round robin, Smallest connection and figures method, weighting minimum even Connect the method for figuring, destination address Hash hashing algorithm, source address Hash hashing algorithm and random algorithm.
5. the transfer side of the XMPP server internal memory message transferring system according to claim 2 based on distributed memory queue Method, it is characterised in that comprise the following steps:
51) memory queue is configured, into memory queue manager (2) management configuration interface, memory queue manager (2) institute is inputted Corresponding ID, IP, CPU, internal memory, precedence information are needed, health examination is carried out after registration to memory queue (22), configuration interface is defeated Go out distributed memory list;
52) registrar client, client access system, using publish/subscribe Schema Registration subscriber to data/address bus (5) in system, data/address bus (5) the record corresponding information of client, data/address bus (5) returns to the data-interface of access Client;
53) memory queue (22) preserves message, in the interface data that client is returned according to data/address bus (5) is communicated information to Queue management device (2) is deposited, memory queue manager (2) distributes information between memory queue (22);
54) message distribution, scheduler (3) is total to data by message distribution according to the distribution policy set in distribution policy storehouse (4) The client that line (5) is preserved, deletes the data being stored in memory queue (22), persistence disappears in internal memory queue management device (2) Breath.
6. the transfer side of the XMPP server internal memory message transferring system according to claim 5 based on distributed memory queue Method, it is characterised in that described configuration memory queue comprises the following steps:
61) enter memory queue manager (2) configuration interface, corresponding information is inputted in the configuration page:ID, IP, CPU, internal memory, Priority, preserves information into the local data base of queue management device (21), forms several memory queues (22);
62) access of memory queue (22), memory queue manager (2) carries out health examination to the memory queue (22) of access.
7. the transfer side of the XMPP server internal memory message transferring system according to claim 5 based on distributed memory queue Method, it is characterised in that described memory queue preserves message and comprised the following steps:
71) interface data that client is returned according to data/address bus (5) communicates information to memory queue manager (2), transmission Data include data message, checking information, wherein data transfer uses XML format;
72) after memory queue manager (2) receive information, memory queue (22) is stored in by queue management device (21) successively In, memory queue (22) preserves information using two from three redundancy structure, waits calling for scheduler (3).
8. the transfer side of the XMPP server internal memory message transferring system according to claim 5 based on distributed memory queue Method, it is characterised in that described message distribution comprises the following steps:
81) scheduler (3) sets up the initiation of distribution work;
82) scheduler (3) obtains chartered client-side information from data/address bus (5);
83) scheduler (3) obtains distribution algorithms from distribution policy storehouse (4), distributes information from the memory queue (22) chosen Go out;
84) in local perdurable data, local data base of the Backup Data to memory queue manager (2);
85) deleted according to user profile in memory queue manager (2) and be distributed in what is distributed away in memory queue (22) Message.
9. the transfer side of the XMPP server internal memory message transferring system according to claim 6 based on distributed memory queue Method, it is characterised in that described memory queue manager carries out health examination to the memory queue of access and comprised the following steps:
91) a HTTP health examination is created, interval time is 5 seconds, and number of attempt is 3 times;
92) memory queue manager (2) obtains a page from memory queue (22), checks whether content of pages includes what is specified Character string;
If 93) comprising specified character string, the communication service of memory queue (22) is normal, if not including or obtaining Take less than the page, it is believed that the communication service of memory queue (22) is abnormal;
94) memory queue (22) was checked abnormal client every 5 seconds, when discovery memory queue (22) communication service Normally, then the memory queue (22) is re-flagged to be normal.
CN201710285606.8A 2017-04-27 2017-04-27 XMPP server memory message transferring system and its middle shifting method based on distributed memory queue Active CN107124456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710285606.8A CN107124456B (en) 2017-04-27 2017-04-27 XMPP server memory message transferring system and its middle shifting method based on distributed memory queue

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710285606.8A CN107124456B (en) 2017-04-27 2017-04-27 XMPP server memory message transferring system and its middle shifting method based on distributed memory queue

Publications (2)

Publication Number Publication Date
CN107124456A true CN107124456A (en) 2017-09-01
CN107124456B CN107124456B (en) 2019-11-05

Family

ID=59725957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710285606.8A Active CN107124456B (en) 2017-04-27 2017-04-27 XMPP server memory message transferring system and its middle shifting method based on distributed memory queue

Country Status (1)

Country Link
CN (1) CN107124456B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111224968A (en) * 2019-12-31 2020-06-02 北京同舟医联网络科技有限公司 Secure communication method for randomly selecting transfer server

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024014A (en) * 2012-12-03 2013-04-03 北京京东世纪贸易有限公司 Method and system for distributing and processing mass data passing through message queues
CN105868014A (en) * 2016-04-08 2016-08-17 京信通信技术(广州)有限公司 Memory optimization queuing method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024014A (en) * 2012-12-03 2013-04-03 北京京东世纪贸易有限公司 Method and system for distributing and processing mass data passing through message queues
CN105868014A (en) * 2016-04-08 2016-08-17 京信通信技术(广州)有限公司 Memory optimization queuing method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐晶等: ""消息中间件综述"", 《计算机工程》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111224968A (en) * 2019-12-31 2020-06-02 北京同舟医联网络科技有限公司 Secure communication method for randomly selecting transfer server
CN111224968B (en) * 2019-12-31 2022-01-04 北京安盛联合科技有限公司 Secure communication method for randomly selecting transfer server

Also Published As

Publication number Publication date
CN107124456B (en) 2019-11-05

Similar Documents

Publication Publication Date Title
JP5898980B2 (en) Method, system, and storage medium for managing multiple queues of non-persistent messages in a network environment
US9578081B2 (en) System and method for providing an actively invalidated client-side network resource cache
US9762538B2 (en) Flow ownership assignment in a distributed processor system
CN110351246A (en) Server cluster system Socket management method and device
US9467422B2 (en) Event aggregation in a distributed processor system
EP1320229A2 (en) Method and device for messaging
US20160164836A1 (en) Security device implementing network flow prediction
JP2004519113A (en) Distributed network management system and method
US9172765B2 (en) Polling-based secure network message notification system and method with performance enhancing features
Vargaftik et al. LSQ: Load balancing in large-scale heterogeneous systems with multiple dispatchers
AU2014215935A1 (en) A system and method for managing message queues in a peer-to-peer communication network
EP2594049B1 (en) Sip-based call session server and message-routing method
Diwan et al. A framework for modeling and verifying IoT communication protocols
CN107689878A (en) TCP length connection SiteServer LBSs based on name scheduling
Wang et al. CDLB: a cross-domain load balancing mechanism for software defined networks in cloud data centre
Tucic et al. Networking layer for unifying distributed smart home entities
CN105245621B (en) Enterprise message supplying system and information push method based on MQTT
CN107124456A (en) XMPP server internal memory message transferring system and its middle shifting method based on distributed memory queue
US9374328B1 (en) Selective messaging using online presence information
Zhai et al. An improved DDS publish/subscribe automatic discovery algorithm
CN108076111A (en) A kind of system and method for distributing data in big data platform
Paul et al. Improving Fault Tolerance and Tackling Broker Failure in MQTT through Blockchain
Wu et al. A novel interoperable model of distributed UDDI
Tarkoma et al. Client mobility in rendezvous-notify
US20100070471A1 (en) Transactional application events

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: XMPP server memory message transfer system based on distributed memory queue and its transfer method

Effective date of registration: 20220324

Granted publication date: 20191105

Pledgee: China Construction Bank Corporation Hefei Shushan sub branch

Pledgor: HEFEI CITY CLOUD DATA CENTER Co.,Ltd.

Registration number: Y2022980003149

PE01 Entry into force of the registration of the contract for pledge of patent right