CN109639795A - A kind of service management and device based on AcitveMQ message queue - Google Patents

A kind of service management and device based on AcitveMQ message queue Download PDF

Info

Publication number
CN109639795A
CN109639795A CN201811511351.3A CN201811511351A CN109639795A CN 109639795 A CN109639795 A CN 109639795A CN 201811511351 A CN201811511351 A CN 201811511351A CN 109639795 A CN109639795 A CN 109639795A
Authority
CN
China
Prior art keywords
service
business
process server
communication channel
message queue
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
CN201811511351.3A
Other languages
Chinese (zh)
Other versions
CN109639795B (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.)
Guangdong Eshore Technology Co Ltd
Original Assignee
Guangdong Eshore 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 Guangdong Eshore Technology Co Ltd filed Critical Guangdong Eshore Technology Co Ltd
Priority to CN201811511351.3A priority Critical patent/CN109639795B/en
Publication of CN109639795A publication Critical patent/CN109639795A/en
Application granted granted Critical
Publication of CN109639795B publication Critical patent/CN109639795B/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/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • H04L67/145Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention provides a kind of service management and device based on AcitveMQ message queue, the method includes service interaction process, the service interaction process includes that two-way provisional communication channel is established between initiation of services person and Service Process Server;By the two-way provisional communication channel, command interaction is carried out in initiation of services person and Service Process Server;When detecting that provisional communication channel is not used within the preset time, provisional communication channel is deleted, and discharges corresponding system resource.The beneficial effects of the present invention are: initiation of services person and Service Process Server pass through two-way provisional communication channel progress command interaction;Guarantee business is two-way in real time, and safe and reliable interaction extends the management control ability to service, is not used within the preset time when detecting two-way occasional passage, in time deletes two-way occasional passage, discharge corresponding system resource.

Description

A kind of service management and device based on AcitveMQ message queue
Technical field
The present invention relates to a kind of service management and devices, refer in particular to a kind of clothes based on AcitveMQ message queue Management method of being engaged in and device.
Background technique
Currently, many large scale systems in order to support a large number of users to access, are all based on the architecture design of distributed system, And certain services in system are likely to be based on different operating system, especially in business application system field, always It can be in face of communication, the integrated and integration between different systems.Therefore it is this it is distributed use, calling between service and logical Letter becomes more and more important, and Message Queuing Middleware just more highlights its value in architecture design.
Message Queuing Middleware is component important in distributed system, mainly solves application coupling, and asynchronous message is handled, Flow cuts the problems such as cutting edge of a knife or a sword.Based on message queue, it can be achieved that high-performance, High Availabitity, scalable and final consistency framework, it is big The indispensable middleware of type distributed system.
Message Queuing Middleware one of of the ActiveMQ as open source, has been widely used in every field.It is It is most widely used at present, and the open source data/address bus middleware of powerful, especially in a distributed system, for system it Between message is reliably transmitted;And ActiveMQ provides a variety of programming language development kits, lower under various facility environments can transport Row, so ActiveMQ possesses very big advantage, a variety of when needing in different language platform next part integral application system The application program of different programming languages can send or receive message by ActiveMQ message-oriented middleware, by ActiveMQ I Can also realize the distributed management of whole system, can the easily service in expansion system as needed, can also be with The load balancing of realization system.
The most common messaging mode is defined inside ActiveMQ message queue mainly publish/subscribe, point-to-point two Kind.Typically for identical queue name, the taking turn mode that ActiveMQ has only done conventional formula goes to realize load balance process, Therefore, ActiveMQ is relatively suitble to request-response, in the unrelated application system of service condition.
However, ActiveMQ is more the reliable distribution that only considered message at present, does not account for and repeatedly hand in real time Mutual business need, so current ActiveMQ is mostly for the relevant message forwarding of non-state;But actual environment, still There is substantial portion of business to need permanent and interact in real time, and the processor of business need to know business when It needs to be moved to end.
For those after business unlatching, business (such as state correlation real time business, the business kept in touch when needing long Initiator needs the processor for carrying out various controls or business to business to need repeatedly subsequent, repeatedly real-time informing industry Relevant information of business initiator etc.), ActiveMQ can not also preferably support the requirement of such business at present.
Therefore, for needing through the permanent real-time business of starting/stopping, and in business procession, it is also desirable to Both sides transmit the business of information and state in real time, and ActiveMQ can't be supported well at present, it is necessary to carry out usage transformation.
Summary of the invention
The technical problems to be solved by the present invention are: providing a kind of service management that can guarantee the two-way real-time, interactive of business Method and device.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention are as follows: one kind is based on AcitveMQ message queue Service management, including service interaction process, the service interaction process includes step,
S11, two-way provisional communication channel is established between initiation of services person and Service Process Server;
S12, pass through the two-way provisional communication channel, carry out order friendship in initiation of services person and Service Process Server Mutually;
S13, when detecting that provisional communication channel is not used within the preset time, provisional communication channel is deleted It removes, and discharges corresponding system resource.
Further, described that two-way provisional communication channel, tool are established between initiation of services person and Service Process Server Body includes,
By formula Q=G+L, the message queue that message queue name is respectively Q1 and Q2 is generated, wherein Q is message queue name, G For machine name or user name or configuration name, L is random string;
Provisional communication channel is established between the message queue Q1 and Q2.
Further, the service management based on AcitveMQ message queue further includes load balancing process, The load balancing process includes step,
S21, the resource situation for obtaining Service Process Server;
S22, the resource situation according to Service Process Server, judge whether the resource of Service Process Server is able to satisfy industry Business process demand;
If the resource of S23, Service Process Server meets business processing demand, traffic assignments are given in the way of taking turn Corresponding Service Process Server processing.
Further, the service management based on AcitveMQ message queue further includes business recovery process, The business recovery process includes step,
S31, in process of service execution, timing detect business execute it is whether abnormal;
S32, when the business that detects executes abnormal, the heartbeat detected between initiation of services person and Service Process Server disappears Whether breath is overtime;
If S33, the heartbeat message for detecting initiation of services between person and Service Process Server have not timed out, business is carried out Recovery processing.
Further, the service management based on AcitveMQ message queue further includes business timeout treatment Process, the business timeout treatment process includes step,
S41, in process of service execution, the heartbeat that timing detects between initiation of services person and Service Process Server disappears Breath;
S42, when can't detect heartbeat message within the preset time, by initiation of services person and Service Process Server it Between provisional communication channel delete, and discharge corresponding system resource.
In order to solve the above-mentioned technical problem, another technical solution used in the present invention are as follows: one kind is disappeared based on AcitveMQ The service managing apparatus of queue is ceased, including service interaction module, the service interaction module are used for,
Two-way provisional communication channel is established between initiation of services person and Service Process Server;
By the two-way provisional communication channel, command interaction is carried out in initiation of services person and Service Process Server;
When detecting that provisional communication channel is not used within the preset time, provisional communication channel is deleted, and Discharge corresponding system resource.
Further, described that two-way provisional communication channel, tool are established between initiation of services person and Service Process Server Body includes,
By formula Q=G+L, the message queue that message queue name is respectively Q1 and Q2 is generated, wherein Q is message queue name, G For machine name or user name or configuration name, L is random string;
Provisional communication channel is established between the message queue Q1 and Q2.
Further, the service managing apparatus based on AcitveMQ message queue, further includes load balancing module, The load balancing module is used for,
Obtain the resource situation of Service Process Server;
According to the resource situation of Service Process Server, judge whether the resource of Service Process Server is able to satisfy at business Reason demand;
If the resource of Service Process Server meets business processing demand, by traffic assignments to corresponding in the way of taking turn Service Process Server processing.
Further, the service managing apparatus based on AcitveMQ message queue further includes business recovery module, The business recovery module is used for,
In process of service execution, whether timing detects business execution abnormal;
When the business that detects executes exception, the heartbeat message detected between initiation of services person and Service Process Server is No time-out;
If the heartbeat message for detecting initiation of services between person and Service Process Server has not timed out, business recovery is carried out Processing.
Further, the service managing apparatus based on AcitveMQ message queue further includes business timeout treatment Module, the business timeout treatment module are used for,
In process of service execution, timing detects the heartbeat message between initiation of services person and Service Process Server;
It, will be between initiation of services person and Service Process Server when can't detect heartbeat message within the preset time Provisional communication channel is deleted, and discharges corresponding system resource.
The technical program, introduces two-way provisional communication channel, and initiation of services person passes through two-way with Service Process Server Provisional communication channel carries out command interaction;Guarantee business is two-way in real time, and safe and reliable interaction extends the management control to service Ability processed is not used within the preset time when detecting two-way occasional passage, is in time deleted two-way occasional passage, discharges phase The system resource answered.
Detailed description of the invention
Specific structure of the invention is described in detail with reference to the accompanying drawing.
Fig. 1 is the service interaction flow chart of a specific embodiment of the invention;
Fig. 2 is the load balancing flow chart one of a specific embodiment of the invention;
Fig. 3 is the business recovery flow chart one of a specific embodiment of the invention;
Fig. 4 is the business timeout treatment flow chart of a specific embodiment of the invention;
Fig. 5 is the device block diagram of a specific embodiment of the invention;
Fig. 6 is the networking structure figure of a specific embodiment of the invention;
Fig. 7 is the service interaction timing diagram of a specific embodiment of the invention;
Fig. 8 is the load balancing flowchart 2 of a specific embodiment of the invention;
Fig. 9 is the business recovery flowchart 2 of a specific embodiment of the invention;
Figure 10 is initiation of services person's heartbeat process flow diagram of a specific embodiment of the invention;
Figure 11 is business processing person's heartbeat process flow diagram of a specific embodiment of the invention.
Specific embodiment
In order to describe the technical content, the structural feature, the achieved object and the effect of this invention in detail, below in conjunction with embodiment And attached drawing is cooperated to be explained in detail.
Embodiment one
Refering to fig. 1, a kind of service management based on AcitveMQ message queue, including service interaction process, it is described Service interaction process includes step,
S11, two-way provisional communication channel is established between initiation of services person and Service Process Server;
S12, pass through the two-way provisional communication channel, carry out order friendship in initiation of services person and Service Process Server Mutually;
S13, when detecting that provisional communication channel is not used within the preset time, provisional communication channel is deleted It removes, and discharges corresponding system resource.
Further, described that two-way provisional communication channel, tool are established between initiation of services person and Service Process Server Body includes,
By formula Q=G+L, the message queue that message queue name is respectively Q1 and Q2 is generated, wherein Q is message queue name, G For machine name or user name or configuration name, L is random string;
Provisional communication channel is established between the message queue Q1 and Q2.
Refering to Fig. 6, in networking structure figure, the person that includes initiation of services, Service Process Server, ActiveMQ server, Database and corresponding router;
Refering to Fig. 7, in the present embodiment, initiation of services person is to the entitled Q1's and Q2 of ActiveMQ server registration message queue Message queue, is the machine name of business processing person or Service Process Server by G, which is uniquely, further more, L is random Character string, and it is unique, therefore, the message queue name of generation is also unique, guarantee initiation of services person and business processing clothes Being engaged in can One-to-one communication in real time between device;Initiation of services person subscribes to message queue Q2 to ActiveMQ server, and handles Message from message queue Q2;Initiation of services person sends initiation of services life to ActiveMQ server by long message queue Q It enables, the start command includes Q1 and Q2;After ActiveMQ server receives message, one is selected to disappear in the way of taking turn Processing server is ceased, and forwards message to it;After message processing server receives message, explains and arrive to obtain Q1 and Q2, and Relevant service parameter;Message processing server starts business according to relevant service parameter, and sends initiation of services knot to Q2 Fruit message;Initiation of services person's timing sends heartbeat message to Q1, indicates that this business also needs to continue, Service Process Server receives It after heartbeat message, while needing to reply a heartbeat message to Q2, indicates business also in lasting progress;When business needs are moved to end When, initiation of services person by Q1 to Service Process Server send end message, Service Process Server after receiving the message, Related service stopping processing being carried out, Q1 queue, and Resource recovery is nullified to ActiveMQ server, is then opened by Q2 to business Dynamic person, which sends, stops results messages;Initiation of services person nullifies Q2 queue after business stopping, to ActiveMQ server, goes forward side by side Row resource reclaim.Two-way provisional communication channel is introduced, initiation of services person and Service Process Server pass through two-way provisional communication Channel carries out command interaction;, guaranteeing that business is two-way in real time, safe and reliable interaction extends the management control ability to service, It is not used within the preset time when detecting two-way occasional passage, is in time deleted two-way occasional passage, discharge corresponding system System resource.
Embodiment two
Referring to Fig.2, in one embodiment, the service management based on AcitveMQ message queue, also Including load balancing process, the load balancing process includes step,
S21, the resource situation for obtaining Service Process Server;
S22, the resource situation according to Service Process Server, judge whether the resource of Service Process Server is able to satisfy industry Business process demand;
If the resource of S23, Service Process Server meets business processing demand, traffic assignments are given in the way of taking turn Corresponding Service Process Server processing.
Refering to Fig. 8, in the present embodiment, initiation of services person obtains the surplus resources situation of Service Process Server, judges industry Whether business processing server has surplus resources, if so, then to AcitveMQ server registration consumer queue name Q;When there is new industry When business needs to be implemented, resource needed for the surplus resources and execution business of initiation of services person acquisition Service Process Server;Business opens Person is moved according to the surplus resources of Service Process Server, judges whether the surplus resources of Service Process Server meet execution business Required resource, if satisfied, then to the AcitveMQ entitled Q of server registration consumer queue, if not satisfied, then being taken to ActiveMQ Be engaged in device cancellation consumer queue name Q.When Service Process Server memory (residue) > memory (demand) and CPU (residue) > CPU (demand) and when GPU (residue) > GPU (demand), just thinks that the surplus resources of Service Process Server are capable of handling accordingly Business goes to dynamically distribute corresponding business to be treated to Service Process Server according to the resource status of server, thus Realize load balancing.
Embodiment three
Refering to Fig. 3, in one embodiment, the service management based on AcitveMQ message queue, also Including business recovery process, the business recovery process includes step,
S31, in process of service execution, timing detect business execute it is whether abnormal;
S32, when the business that detects executes abnormal, the heartbeat detected between initiation of services person and Service Process Server disappears Whether breath is overtime;
If S33, the heartbeat message for detecting initiation of services between person and Service Process Server have not timed out, business is carried out Recovery processing.
Refering to Fig. 9, in the present embodiment, the process of initiation of services person restarts;Initiation of services person is to data base querying institute Responsible business, by service inquiry to relevant both sides' provisional communication channel queue name Q1 and Q2;Initiation of services person to ActiveMQ server subscription queue name Q2;Initiation of services person sends heartbeat message and receive to Q1 comes from Q2 queue from processing Message, so that Service Process Server is continued with business.
Example IV
Refering to Fig. 4, in one embodiment, the service management based on AcitveMQ message queue, also Including business timeout treatment process, the business timeout treatment process includes step,
S41, in process of service execution, the heartbeat that timing detects between initiation of services person and Service Process Server disappears Breath;
S42, when can't detect heartbeat message within the preset time, by initiation of services person and Service Process Server it Between provisional communication channel delete, and discharge corresponding system resource.
Refering to fig. 10, in the present embodiment, initiation of services person presses formula Q=G+L, generates queue name Q1 and Q2, and start industry Business;Timing sends heartbeat packet in Q2 communication channel from the message of processing server, packet to processor by Q1 communication channel Heartbeat message is included, record last time receives time system t1 when message;Timing acquisition system time t2 calculates t=t2- t1;The value of t is judged, if it exceeds preset threshold values, then it is assumed that business has timed, out;If being not yet more than preset threshold values, Then timing acquisition system time t2 calculates t=t2-t1;When business time-out, the subscription of Q2 is nullified to ActiveMQ server;Sentence Whether disconnected business, which needs, continues to execute, and if desired executes, then from the business is newly executed, if business does not need to execute, flows Journey terminates;
Refering to fig. 11, when Service Process Server receives the initiation of services order from ActiveMQ, explains and arrive Q1 and Q2, And start business processing flow by parameter;To ActiveMQ server registration message queue name Q1, receive and process from Q1's Message, and record the system time t1 that last time receives message on Q1;Timing sends heartbeat to initiator by Q2 and disappears Breath;Timing acquisition system time t2, and calculate t=t2-t1;The value of t is judged, if it exceeds preset threshold values, then it is assumed that business It has timed, out;If being not yet more than preset threshold values;If business is overtime, ordering for Q1 is nullified to ActiveMQ server It reads.
Embodiment five
Refering to fig. 1, Fig. 5, a kind of service managing apparatus based on AcitveMQ message queue, including, service interaction module, The service interaction module is used for,
Two-way provisional communication channel is established between initiation of services person and Service Process Server;
By the two-way provisional communication channel, command interaction is carried out in initiation of services person and Service Process Server;
When detecting that provisional communication channel is not used within the preset time, provisional communication channel is deleted, and Discharge corresponding system resource.
Further, described that two-way provisional communication channel, tool are established between initiation of services person and Service Process Server Body includes,
By formula Q=G+L, the message queue that message queue name is respectively Q1 and Q2 is generated, wherein Q is message queue name, G For machine name or user name or configuration name, L is random string;
Provisional communication channel is established between the message queue Q1 and Q2.
Embodiment six
Referring to Fig.2, Fig. 5, in one embodiment, the service management dress based on AcitveMQ message queue It sets, further includes load balancing module, the load balancing module is used for,
Obtain the resource situation of Service Process Server;
According to the resource situation of Service Process Server, judge whether the resource of Service Process Server is able to satisfy at business Reason demand;
If the resource of Service Process Server meets business processing demand, by traffic assignments to corresponding in the way of taking turn Service Process Server processing.
Embodiment seven
Refering to Fig. 3, Fig. 5, in one embodiment, the service management dress based on AcitveMQ message queue It sets, further includes business recovery module, the business recovery module is used for,
In process of service execution, whether timing detects business execution abnormal;
When the business that detects executes exception, the heartbeat message detected between initiation of services person and Service Process Server is No time-out;
If the heartbeat message for detecting initiation of services between person and Service Process Server has not timed out, business recovery is carried out Processing.
Embodiment eight
Refering to Fig. 4, Fig. 5, in one embodiment, the service management dress based on AcitveMQ message queue It sets, further includes business timeout treatment module, the business timeout treatment module is used for,
In process of service execution, timing detects the heartbeat message between initiation of services person and Service Process Server;
It, will be between initiation of services person and Service Process Server when can't detect heartbeat message within the preset time Provisional communication channel is deleted, and discharges corresponding system resource.
The embodiment of apparatus of the present invention includes the full content of embodiment of the method, has technology identical with embodiment of the method Effect, therefore no longer this is repeated.
Herein first, second ... only represents the differentiation of its title, not representing their significance level and position has what It is different.
Herein, up, down, left, right, before and after only represents its relative position without indicating its absolute position.The foregoing is merely The embodiment of the present invention is not intended to limit the scope of the invention, all to utilize description of the invention and accompanying drawing content institute The equivalent structure or equivalent flow shift of work is applied directly or indirectly in other relevant technical fields, and is similarly included in In scope of patent protection of the invention.

Claims (10)

1. a kind of service management based on AcitveMQ message queue, it is characterised in that: described including service interaction process Service interaction process includes step,
S11, two-way provisional communication channel is established between initiation of services person and Service Process Server;
S12, pass through the two-way provisional communication channel, carry out command interaction in initiation of services person and Service Process Server;
S13, when detecting that provisional communication channel is not used within the preset time, provisional communication channel is deleted, and Discharge corresponding system resource.
2. the service management as described in claim 1 based on AcitveMQ message queue, it is characterised in that: described in industry Two-way provisional communication channel is established between business initiator and Service Process Server, is specifically included,
By formula Q=G+L, the message queue that message queue name is respectively Q1 and Q2 is generated, wherein Q is message queue name, and G is machine Device name or user name or configuration name, L is random string;
Provisional communication channel is established between the message queue Q1 and Q2.
3. the service management as described in claim 1 based on AcitveMQ message queue, it is characterised in that: further include bearing Balanced process is carried, the load balancing process includes step,
S21, the resource situation for obtaining Service Process Server;
S22, the resource situation according to Service Process Server, judge whether the resource of Service Process Server is able to satisfy at business Reason demand;
If the resource of S23, Service Process Server meets business processing demand, by traffic assignments to corresponding in the way of taking turn Service Process Server processing.
4. the service management as described in claim 1 based on AcitveMQ message queue, it is characterised in that: further include industry Business restores process, and the business recovery process includes step,
S31, in process of service execution, timing detect business execute it is whether abnormal;
S32, when the business that detects executes abnormal, the heartbeat message detected between initiation of services person and Service Process Server is No time-out;
If S33, the heartbeat message for detecting initiation of services between person and Service Process Server have not timed out, business recovery is carried out Processing.
5. the service management as described in claim 1 based on AcitveMQ message queue, it is characterised in that: further include industry Business timeout treatment process, the business timeout treatment process includes step,
S41, the heartbeat message in process of service execution, between timing detection initiation of services person and Service Process Server;
S42, when can't detect heartbeat message within the preset time, will be between initiation of services person and Service Process Server Provisional communication channel is deleted, and discharges corresponding system resource.
6. a kind of service managing apparatus based on AcitveMQ message queue, it is characterised in that: described including service interaction module Service interaction module is used for,
Two-way provisional communication channel is established between initiation of services person and Service Process Server;
By the two-way provisional communication channel, command interaction is carried out in initiation of services person and Service Process Server;
When detecting that provisional communication channel is not used within the preset time, provisional communication channel is deleted, and discharges Corresponding system resource.
7. the service managing apparatus as claimed in claim 6 based on AcitveMQ message queue, it is characterised in that: described in industry Two-way provisional communication channel is established between business initiator and Service Process Server, is specifically included,
By formula Q=G+L, the message queue that message queue name is respectively Q1 and Q2 is generated, wherein Q is message queue name, and G is machine Device name or user name or configuration name, L is random string;
Provisional communication channel is established between the message queue Q1 and Q2.
8. the service managing apparatus as claimed in claim 6 based on AcitveMQ message queue, it is characterised in that: further include bearing Balance module is carried, the load balancing module is used for,
Obtain the resource situation of Service Process Server;
According to the resource situation of Service Process Server, judge whether the resource of Service Process Server is able to satisfy business processing and needs It asks;
If the resource of Service Process Server meets business processing demand, traffic assignments are given to corresponding industry in the way of taking turn Business processing server processing.
9. the service managing apparatus as claimed in claim 6 based on AcitveMQ message queue, it is characterised in that: further include industry Business recovery module, the business recovery module are used for,
In process of service execution, whether timing detects business execution abnormal;
When the business that detects executes exception, whether the heartbeat message detected between initiation of services person and Service Process Server surpasses When;
If the heartbeat message for detecting initiation of services between person and Service Process Server has not timed out, carry out at business recovery Reason.
10. the service managing apparatus as claimed in claim 6 based on AcitveMQ message queue, it is characterised in that: further include Business timeout treatment module, the business timeout treatment module are used for,
In process of service execution, timing detects the heartbeat message between initiation of services person and Service Process Server;
It, will be interim between initiation of services person and Service Process Server when can't detect heartbeat message within the preset time Communication channel is deleted, and discharges corresponding system resource.
CN201811511351.3A 2018-12-11 2018-12-11 Service management method and device based on AcitveMQ message queue Active CN109639795B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811511351.3A CN109639795B (en) 2018-12-11 2018-12-11 Service management method and device based on AcitveMQ message queue

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811511351.3A CN109639795B (en) 2018-12-11 2018-12-11 Service management method and device based on AcitveMQ message queue

Publications (2)

Publication Number Publication Date
CN109639795A true CN109639795A (en) 2019-04-16
CN109639795B CN109639795B (en) 2021-12-24

Family

ID=66072777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811511351.3A Active CN109639795B (en) 2018-12-11 2018-12-11 Service management method and device based on AcitveMQ message queue

Country Status (1)

Country Link
CN (1) CN109639795B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586171A (en) * 2020-05-07 2020-08-25 广州虎牙信息科技有限公司 Server operation method and device, electronic equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599982A (en) * 2008-06-06 2009-12-09 广东宇天信通通信科技有限公司 Cellphone information browsing apparatus, system and implementation method
CN102006309A (en) * 2010-12-16 2011-04-06 新余钢铁集团有限公司 Method for performing real-time communication between manufacturing execution system (MES) and process control system (PCS) and middleware
CN102035880A (en) * 2010-11-02 2011-04-27 中兴通讯股份有限公司 Method and device for maintaining connection
CN102880475A (en) * 2012-10-23 2013-01-16 上海普元信息技术股份有限公司 Real-time event handling system and method based on cloud computing in computer software system
CN103701720A (en) * 2014-01-13 2014-04-02 中国银行股份有限公司 Communication method with Socket server and online transaction management system
CN104253739A (en) * 2013-06-28 2014-12-31 中国移动通信集团公司 Implementing method, system and device of always online services
CN105282245A (en) * 2015-09-29 2016-01-27 努比亚技术有限公司 Server-crossing message pushing system and method
CN105959151A (en) * 2016-06-22 2016-09-21 中国工商银行股份有限公司 High availability stream processing system and method
CN106603598A (en) * 2015-10-15 2017-04-26 阿里巴巴集团控股有限公司 Method for processing service request and apparatus thereof
CN107046481A (en) * 2017-04-18 2017-08-15 国网福建省电力有限公司 A kind of information system integrated network management system comprehensive analysis platform
CN108459915A (en) * 2018-01-31 2018-08-28 中电福富信息科技有限公司 A kind of TCP channel suitable for high concurrent scene manages system and method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599982A (en) * 2008-06-06 2009-12-09 广东宇天信通通信科技有限公司 Cellphone information browsing apparatus, system and implementation method
CN102035880A (en) * 2010-11-02 2011-04-27 中兴通讯股份有限公司 Method and device for maintaining connection
CN102006309A (en) * 2010-12-16 2011-04-06 新余钢铁集团有限公司 Method for performing real-time communication between manufacturing execution system (MES) and process control system (PCS) and middleware
CN102880475A (en) * 2012-10-23 2013-01-16 上海普元信息技术股份有限公司 Real-time event handling system and method based on cloud computing in computer software system
CN104253739A (en) * 2013-06-28 2014-12-31 中国移动通信集团公司 Implementing method, system and device of always online services
CN103701720A (en) * 2014-01-13 2014-04-02 中国银行股份有限公司 Communication method with Socket server and online transaction management system
CN105282245A (en) * 2015-09-29 2016-01-27 努比亚技术有限公司 Server-crossing message pushing system and method
CN106603598A (en) * 2015-10-15 2017-04-26 阿里巴巴集团控股有限公司 Method for processing service request and apparatus thereof
CN105959151A (en) * 2016-06-22 2016-09-21 中国工商银行股份有限公司 High availability stream processing system and method
CN107046481A (en) * 2017-04-18 2017-08-15 国网福建省电力有限公司 A kind of information system integrated network management system comprehensive analysis platform
CN108459915A (en) * 2018-01-31 2018-08-28 中电福富信息科技有限公司 A kind of TCP channel suitable for high concurrent scene manages system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586171A (en) * 2020-05-07 2020-08-25 广州虎牙信息科技有限公司 Server operation method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109639795B (en) 2021-12-24

Similar Documents

Publication Publication Date Title
US8806507B1 (en) Dynamic provisioning of message groups
CN103051534B (en) A kind of message processing method and device
KR101682045B1 (en) Information display method and user terminal for instant communication tool
CN104980450B (en) A kind of message delivery method and system and message processing device
CN103297395B (en) The implementation method of a kind of Internet service, system and device
WO2009074079A1 (en) An instant communication method and apparatus
CN104796327B (en) Message receival method and device, method for message transmission and system
KR20110079511A (en) Tag cloud buddy list for messaging contacts
CN101009649A (en) Queue management in a network processor
CN104052667A (en) Packet processing method and device
Kouzapas et al. On asynchronous session semantics
WO2015089935A1 (en) Operation and maintenance management method and device
EP3507948A1 (en) Time shifted communications in networked messaging systems
CN109639795A (en) A kind of service management and device based on AcitveMQ message queue
US20080098070A1 (en) System for adding new recipients to e-mail thread
CN110781009A (en) Method and device for real-time communication of browser page
CN107025131B (en) Task scheduling method and device
CN106131141A (en) A kind of distributed type assemblies load balancing parallel dispatch system and method
CN104702519B (en) The method, apparatus and system of flow unloading
CN110247971A (en) Reduce the method and its system of message-oriented middleware connection quantity
CN105243002A (en) Message middleware monitoring method and system
CN102368766A (en) Instant messaging tool login method and system thereof
EP3185611A1 (en) Method, terminal and system for acquiring mail
CN113949651B (en) Network transmission method, device, equipment and storage medium
US8892746B2 (en) Asynchronous invocation mechanism in session initiation protocol (SIP) server clusters

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