[go: up one dir, main page]

CN118796515B - Application and message queue high-availability connection service system, method, device and medium - Google Patents

Application and message queue high-availability connection service system, method, device and medium Download PDF

Info

Publication number
CN118796515B
CN118796515B CN202411262276.7A CN202411262276A CN118796515B CN 118796515 B CN118796515 B CN 118796515B CN 202411262276 A CN202411262276 A CN 202411262276A CN 118796515 B CN118796515 B CN 118796515B
Authority
CN
China
Prior art keywords
application
queue
message
messages
local
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202411262276.7A
Other languages
Chinese (zh)
Other versions
CN118796515A (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.)
Jiangxi Yumin Bank Co ltd
Original Assignee
Jiangxi Yumin Bank 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 Jiangxi Yumin Bank Co ltd filed Critical Jiangxi Yumin Bank Co ltd
Priority to CN202411262276.7A priority Critical patent/CN118796515B/en
Publication of CN118796515A publication Critical patent/CN118796515A/en
Application granted granted Critical
Publication of CN118796515B publication Critical patent/CN118796515B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services

Landscapes

  • Engineering & Computer Science (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)
  • Telephonic Communication Services (AREA)

Abstract

本公开涉及应用间的消息传递领域,具体为一种应用与消息队列高可用连接服务系统、方法、设备和介质,系统包括:包括:应用A、应用A的消息队列、应用C和应用C的消息队列,应用A的消息队列包括第一本地队列和第一远程队列,应用C的消息队列包括第二本地队列和第二远程队列;其中,第一本地队列用于向应用A发送消息,第一远程队列用于接收应用A的消息并将所述消息传递到应用C消息队列的第二本地队列;还包括应用B以及应用B的消息队列;应用B的消息队列也包括第三本地队列和第三远程队列;第一本地队列中的消息能够直接传递给应用B进行消费,第三本地队列中的消息也能够直接传递给应用A进行消费。显著提高系统稳定性和消息传递时效性。

The present disclosure relates to the field of message transmission between applications, and specifically to a high-availability connection service system, method, device and medium between an application and a message queue. The system includes: application A, a message queue of application A, application C and a message queue of application C, wherein the message queue of application A includes a first local queue and a first remote queue, and the message queue of application C includes a second local queue and a second remote queue; wherein the first local queue is used to send messages to application A, and the first remote queue is used to receive messages from application A and transmit the messages to the second local queue of the message queue of application C; application B and a message queue of application B are also included; the message queue of application B also includes a third local queue and a third remote queue; messages in the first local queue can be directly transmitted to application B for consumption, and messages in the third local queue can also be directly transmitted to application A for consumption. The system stability and message transmission timeliness are significantly improved.

Description

Application and message queue high availability connection service system, method, apparatus and medium
Technical Field
The present disclosure relates to the field of inter-application messaging, and in particular, to a system, method, apparatus, and medium for high availability connection services for applications and message queues.
Background
The high availability scheme of the Message Queue (MQ) of the current system mainly focuses on a reconnection mechanism between middleware components, and the reconnection mechanism fails to cover connection and recovery between an application and the Message Queue (MQ), so that a key defect is that once the Message Queue (MQ) connection fails, starting and running of the application cannot be normally performed, for example, when the application connects two Message Queues (MQ), one Message Queue (MQ) hangs due to the strong coupling relationship, and the application can start failure. The efficiency of message delivery is susceptible to single point failures, which in turn affect overall system reliability, for example, when Message Queue (MQ) channels or applications do not respond in time, resulting in current our Message Queue (MQ) message stacking. In addition, existing systems lack an effective probing mechanism that cannot determine the availability of Message Queue (MQ) channels in time, which directly affects the accuracy and reliability of message delivery.
Disclosure of Invention
Based on the above-mentioned problems in the background art, the present disclosure provides a system, a method, a device and a medium for high-availability connection service between an application and a message queue, which can significantly improve system stability and message transmission timeliness. In order to solve the technical problems, the present disclosure provides the following technical solutions:
As an aspect of the embodiments of the present disclosure, there is provided an application and message queue high availability connection service system for enabling communication among a plurality of applications, including an application a, an application a message queue, an application C, and an application C message queue, the application a message queue including a first local queue and a first remote queue, the application C message queue including a second local queue and a second remote queue;
The system comprises a first local queue, a second local queue, a first remote queue, a first local queue, a second local queue, a first remote queue and a second local queue, wherein the first local queue is used for sending a message to an application A, the first remote queue is used for receiving the message of the application A and transmitting the message to an application C message queue;
the message queue of the application B comprises a third local queue and a third remote queue;
The information in the first local queue can be directly transmitted to the application B for consumption, and the information in the third local queue can also be directly transmitted to the application A for consumption.
Optionally, the application a or the application B can also transmit the message to the second local queue through the third remote queue and then to the application C for consumption;
The system also comprises an application D and a message queue of the application D, wherein the message queue of the application D comprises a fourth local queue and a fourth remote queue;
the information in the second local queue can be directly transmitted to the application D for consumption, and the information in the fourth local queue can also be directly transmitted to the application C for consumption.
Optionally, application B can also pass the message through the first remote queue to the second local queue and then to application C for consumption.
Optionally, the application C can transmit the message to the first local queue or the third local queue through the fourth remote queue, and then transmit the message to the application a or the application B for consumption.
Optionally, the application D can also transmit the message to the first local queue or the third local queue through the fourth remote queue, and then transmit the message to the application a or the application B for consumption.
As another aspect of the embodiments of the present disclosure, the method for implementing communication between a plurality of applications by using the high available connection service method for an application and a message queue, includes the following steps:
acquiring available lines, wherein the available lines are transmission lines which are marked as available for the transmission flow of the detection message periodically;
transmitting a message according to the available lines;
judging whether the message is successfully sent or not, if not, marking that the available line is unavailable and giving a short message alarm.
Optionally, the probing message sending process includes:
starting a thread daemon of a transmission line;
starting timing detection of fixed time;
acquiring a transmission line to be detected;
transmitting a detection message to a transmission line to be detected;
judging whether the detection message is successfully transmitted, if so, updating the transmission line into an available line, modifying a success time stamp, waiting for starting the next detection, and if not, marking that the detected transmission line is unavailable, closing the message queue connection of the transmission line, and after waiting for a fixed time, re-creating the detection flow of the next detection.
Optionally, acquiring the transmission line to be detected includes:
And obtaining the lower index value of the last transmission line, and then obtaining the next transmission line by adding one to the lower index value.
As another aspect of the embodiments of the present disclosure, there is provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the application and message queue high availability connection service method when executing the computer program.
As another aspect of the disclosed embodiments, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor, implements the steps of the application and message queue high availability connectivity service method.
Compared with the prior art, the method and the device realize direct and redundant communication links between each application and each Message Queue (MQ) through complex cross interconnection between a plurality of application programs (Apps) and a plurality of Message Queues (MQs), solve the problem that the Message Queues (MQ) are only used as connection points, simultaneously eliminate possible disconnection risks between the Message Queues (MQ) and the application, ensure that data transmission and processing capacity between the application and the Message Queues (MQ) can be seamlessly connected even when single-point faults occur, thereby remarkably improving the robustness and fault tolerance capacity of the whole system, strengthening the stability of the system, and ensuring that service continuity is not influenced by single fault points.
Drawings
FIG. 1 is a diagram of an application and message queue high availability connectivity service system framework in an embodiment of the present disclosure;
FIG. 2 is a flow chart of a message transmission in embodiment 2 of the present disclosure;
fig. 3 is a flowchart of a probe message in embodiment 2 of the present disclosure.
Detailed Description
Various exemplary embodiments, features and aspects of the disclosure will be described in detail below with reference to the drawings. In the drawings, like reference numbers indicate identical or functionally similar elements. Although various aspects of the embodiments are illustrated in the accompanying drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, numerous specific details are set forth in the following detailed description in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some embodiments, methods, means, elements and circuits well known to those skilled in the art have not been described in detail in order to not obscure the present disclosure.
It will be appreciated that the above-mentioned method embodiments of the present disclosure may be combined with each other to form a combined embodiment without departing from the principle logic, and are limited to the description of the present disclosure.
Example 1
The embodiment of the disclosure further provides a high-availability connection service system for application and message queues, which is used for communication among a plurality of applications, as shown in fig. 1, and comprises an application A and an application C, wherein the message queue of the application A comprises a first local queue and a first remote queue, and the message queue of the application C comprises a second local queue and a second remote queue;
The system comprises a first local queue, a second local queue, a first remote queue, a first local queue, a second local queue, a first remote queue and a second local queue, wherein the first local queue is used for sending a message to an application A, the first remote queue is used for receiving the message of the application A and transmitting the message to an application C message queue;
the message queue of the application B also comprises a third local queue and a third remote queue;
the information in the first local queue can be directly transmitted to the application B for consumption, and the information in the third local queue can also be directly transmitted to the application A for consumption;
the message queue of the application D also comprises a fourth local queue and a fourth remote queue;
the information in the second local queue can be directly transmitted to the application D for consumption, and the information in the fourth local queue can also be directly transmitted to the application C for consumption.
Based on the configuration of the high-availability connection service system for the application and the message queues in the embodiment of the disclosure, because no tight dependency relationship exists between the application and the message queues, even if a problem occurs in a certain message queue, the application cannot be restarted or the system fails, a direct and redundant communication link between each application and each Message Queue (MQ) is realized, the problem that the Message Queues (MQ) are only used as connection points is solved, meanwhile, the possible disconnection risk between the Message Queues (MQ) and the application is eliminated, and the seamless connection of data transmission and processing capacity between the application and the Message Queues (MQ) is ensured even when a single-point fault occurs.
In order to realize loose coupling of the system, the application needs to contain response identification, node information of a receiver and a sender, and a Message Queue (MQ) is responsible for managing IP addresses, port numbers, names of multiparty queue managers, setting of local queues and remote queues, configuration of a sending channel and the like.
As a preferred embodiment, application a or application B is also able to pass messages through the third remote queue to the second local queue and then to application C for consumption.
As a preferred embodiment, application B is also able to pass messages through the first remote queue to the second local queue and then to application C for consumption.
As a preferred embodiment, application C is able to pass messages through the fourth remote queue to either the first local queue or the third local queue and then to application a or application B for consumption.
As a preferred embodiment, application D is also able to pass messages through the fourth remote queue to the first local queue or the third local queue and then to application a or application B for consumption.
The implementation mode realizes loose coupling through complex cross interconnection between a plurality of application programs (Apps) and a plurality of Message Queues (MQs), and remarkably improves the robustness and fault tolerance of the whole system. By implementing such an architecture, the stability of the system is enhanced.
Example 2
The embodiment of the present disclosure also provides a method for implementing communication between a plurality of applications by using the high available connection service system for application and message queue in embodiment 1, as shown in fig. 2, including the following steps:
acquiring available lines, wherein the available lines are transmission lines which are marked as available for the transmission flow of the detection message periodically;
transmitting a message according to the available lines;
judging whether the message is successfully sent or not, if not, marking that the available line is unavailable and giving a short message alarm.
The method comprises the steps of judging the health condition of an available line again, sending the available line according to the current line, if the available line is unavailable, circularly selecting the next available line, sending the transaction according to the remote queues corresponding to the available line and the remote queues of different types, wherein the transaction belongs to real-time or batch type services. If all queues are not available, triggering a short message alarm related person, and throwing out an abnormality to indicate that the message transmission fails. Wherein the health condition is determined by sending a probe message, and expecting a probe response within 1-3 seconds, otherwise, the available line is determined to be unavailable.
As a preferred embodiment, the probe message sending process, as shown in fig. 3, includes:
starting a thread daemon of a transmission line, judging whether the thread daemon is notified of interruption, if not, continuing the next step, and if so, ending the flow of the detection message;
and starting timing detection of fixed time, wherein the fixed time is generally set to about 8-15 seconds, preferably 10 seconds, and proper timing detection time can be selected according to the software and hardware resources of the system.
Acquiring a transmission line to be detected;
transmitting a detection message to a transmission line to be detected;
Judging whether the detection message is successfully transmitted, if so, updating the transmission line into an available line, modifying a success time stamp, waiting for starting the next detection, if so, marking the unavailable transmission line of the detection in a cache, alarming by a short message, closing the message queue connection of the transmission line, and after waiting for fixed time, re-creating the detection flow of the next round. The method for judging the failure of sending the detection message is that the detection message is not received after overtime.
The mechanism of the probe message is a periodic detection mechanism, which can fully check the availability of all channels. By timely identifying and solving the channel availability problem, the process effectively avoids message sending failure caused by the fact that channel state change is not timely perceived. This active monitoring strategy significantly improves the usability and stability of the system.
In the process of transmitting the probe message, whether there is a problem of response timeout can be determined by measuring the time of receiving the response. If there are several response messages, it is not necessary to make them correspond to specific detection messages one by one, and it is enough to prove that the channel is in normal working state as long as the response is received.
The composition of the probe message includes key information, a message originating server name, a queue manager name, and a send channel name. Accordingly, the response message also contains these information to ensure that the correspondence is clear. When any server receives the probe response message, it will update the timestamp and status of the received message according to the configuration of the transmitted message.
As a preferred embodiment, acquiring a transmission line to be detected includes:
And obtaining the lower index value of the last transmission line, and then obtaining the next transmission line by adding one to the lower index value. Wherein the transmission line is defined for the advance mark.
The message sending flow is a circulation traversing mechanism, so that the channels selected each time are ensured to be different, and the flow is distributed to all channels which normally run in an equalizing way. This strategy not only ensures the availability of the selected channels, but also significantly improves the stability of messaging.
Example 3
The disclosed embodiments also provide an electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, which when executed implements the application and message queue high availability connectivity service method of embodiment 2.
The electronic device in the embodiment of the present disclosure is only an example, and may be used to implement the functions of a host computer or the functions of a light curtain controller, and should not impose any limitation on the functions and the scope of use of the embodiment of the present disclosure.
The electronic device may be in the form of a general purpose computing device, which may be a server device, for example. Components of the electronic device may include, but are not limited to, at least one processor, at least one memory, a bus connecting the different system components, including the memory and the processor.
The buses include a data bus, an address bus, and a control bus.
The memory may include volatile memory such as Random Access Memory (RAM) and/or cache memory, and may further include Read Only Memory (ROM).
The memory may also include program means having a set (at least one) of program modules including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The processor executes various functional applications and data processing by running computer programs stored in the memory.
The electronic device may also communicate with one or more external devices (e.g., keyboard, pointing device, etc.). Such communication may be through an input/output (I/O) interface. And, the electronic device may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through a network adapter. The network adapter communicates with other modules of the electronic device via a bus. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with the electronic device, including, but not limited to, microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, data backup storage systems, and the like.
It should be noted that although several units/modules or sub-units/modules of an electronic device are mentioned in the above detailed description, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more units/modules described above may be embodied in one unit/module in accordance with embodiments of the present application. Conversely, the features and functions of one unit/module described above may be further divided into ones that are embodied by a plurality of units/modules.
Example 4
The present disclosure provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the application and message queue high availability connection service method in embodiment 2 described above.
More specifically, a readable storage medium may include, but is not limited to, a portable disk, hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible embodiment, the disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps of implementing the application and message queue high availability connectivity service method described in example 2, when said program product is run on the terminal device.
Wherein the program code for carrying out the present disclosure may be written in any combination of one or more programming languages, which program code may execute entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device, partly on the remote device or entirely on the remote device.
While the invention has been described with respect to the preferred embodiments, it will be apparent to those skilled in the art that various changes and substitutions can be made herein without departing from the scope of the invention. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims (10)

1.应用与消息队列高可用连接服务系统,用于实现多个应用间的通信,其特征在于,包括:应用A、应用A的消息队列、应用C和应用C的消息队列,应用A的消息队列包括第一本地队列和第一远程队列,应用C的消息队列包括第二本地队列和第二远程队列;1. A high-availability connection service system for applications and message queues, used to implement communication between multiple applications, characterized in that it includes: application A, a message queue of application A, application C, and a message queue of application C, wherein the message queue of application A includes a first local queue and a first remote queue, and the message queue of application C includes a second local queue and a second remote queue; 其中,第一本地队列用于向应用A发送消息,第一远程队列用于接收应用A的消息并将所述消息传递到应用C消息队列的第二本地队列;第二本地队列用于接收应用A第一远程队列传递过来的消息,并将所述消息传递至应用C进行消费;而第二远程队列用于接收应用C发送来的消息,并将所述消息传递给第一本地队列,第一本地队列将所述消息传递至应用A进行消费;The first local queue is used to send messages to application A, the first remote queue is used to receive messages from application A and pass the messages to the second local queue of the message queue of application C; the second local queue is used to receive messages passed from the first remote queue of application A and pass the messages to application C for consumption; and the second remote queue is used to receive messages sent by application C and pass the messages to the first local queue, and the first local queue passes the messages to application A for consumption; 还包括应用B以及应用B的消息队列;应用B的消息队列包括第三本地队列和第三远程队列;Also included is application B and a message queue of application B; the message queue of application B includes a third local queue and a third remote queue; 其中,第一本地队列中的消息能够直接传递给应用B进行消费,第三本地队列中的消息也能够直接传递给应用A进行消费;Among them, the messages in the first local queue can be directly delivered to application B for consumption, and the messages in the third local queue can also be directly delivered to application A for consumption; 还包括应用D以及应用D的消息队列;应用D的消息队列包括第四本地队列和第四远程队列;Also included is an application D and a message queue of the application D; the message queue of the application D includes a fourth local queue and a fourth remote queue; 其中,第二本地队列中的消息能够直接传递给应用D进行消费,第四本地队列中的消息也能够直接传递给应用C进行消费。Among them, the messages in the second local queue can be directly delivered to application D for consumption, and the messages in the fourth local queue can also be directly delivered to application C for consumption. 2.如权利要求1所述的应用与消息队列高可用连接服务系统,其特征在于,应用A或应用B也能够通过第三远程队列传递消息给第二本地队列进而再传递给应用C进行消费。2. The application and message queue high-availability connection service system as described in claim 1 is characterized in that application A or application B can also pass messages to the second local queue through the third remote queue and then pass them to application C for consumption. 3.如权利要求1所述的应用与消息队列高可用连接服务系统,其特征在于,应用B也能够通过第一远程队列传递消息给第二本地队列进而再传递给应用C进行消费。3. The application and message queue high-availability connection service system as described in claim 1 is characterized in that application B can also pass messages to the second local queue through the first remote queue and then pass them to application C for consumption. 4.如权利要求1所述的应用与消息队列高可用连接服务系统,其特征在于,应用C能够通过第四远程队列传递消息给第一本地队列或第三本地队列进而再传递给应用A或者应用B进行消费。4. The application and message queue high-availability connection service system as described in claim 1 is characterized in that application C can pass messages to the first local queue or the third local queue through the fourth remote queue and then pass them to application A or application B for consumption. 5.如权利要求1或4所述的应用与消息队列高可用连接服务系统,其特征在于,应用D也能够通过第四远程队列传递消息给第一本地队列或第三本地队列进而再传递给应用A或者应用B进行消费。5. The application and message queue high-availability connection service system as described in claim 1 or 4 is characterized in that application D can also pass messages to the first local queue or the third local queue through the fourth remote queue and then pass them to application A or application B for consumption. 6.应用与消息队列高可用连接服务方法,用于实现多个应用间的通信,其特征在于,使用如权利要求1-5任一项所述的应用与消息队列高可用连接服务系统,包括如下步骤:6. A high-availability connection service method for applications and message queues, for realizing communication between multiple applications, characterized in that the high-availability connection service system for applications and message queues as described in any one of claims 1 to 5 is used, comprising the following steps: 获取可用线路,其中,可用线路为探测消息发送流程定期标记为可用的发送线路;Obtaining an available line, wherein the available line is a sending line that is periodically marked as available by a detection message sending process; 根据可用线路发送消息;Send messages based on available lines; 判断所述消息是否发送成功;如果消息未发送成功则标记该可用线路不可用并短信告警。Determine whether the message is sent successfully; if the message is not sent successfully, mark the available line as unavailable and send a text message alarm. 7.如权利要求6所述的应用与消息队列高可用连接服务方法,其特征在于,探测消息发送流程,包括:7. The application and message queue high-availability connection service method according to claim 6, characterized in that the detection message sending process includes: 开启发送线路的线程守护任务;Start the thread daemon task of the sending line; 开启固定时间的定时探测;Start fixed-time timing detection; 获取需要探测的发送线路;Get the sending line that needs to be detected; 向需要探测的发送线路发送探测消息;Send a detection message to the sending line that needs to be detected; 判断探测消息是否发送成功,如果探测消息发送成功则将该发送线路更新为可用线路,并修改成功时间戳,并等待开启下一轮探测;如果探测消息发送失败,则标记探测的发送线路不可用,并关闭该发送线路的消息队列连接,等待固定时间后重新创建下一轮的探测流程。Determine whether the detection message is sent successfully. If the detection message is sent successfully, update the sending line to an available line, modify the success timestamp, and wait for the next round of detection to start; if the detection message fails to be sent, mark the detection sending line as unavailable, close the message queue connection of the sending line, wait for a fixed time, and recreate the next round of detection process. 8.如权利要求7所述的应用与消息队列高可用连接服务方法,其特征在于,获取需要探测的发送线路包括:8. The application and message queue high-availability connection service method according to claim 7, wherein obtaining the sending line to be detected comprises: 获取上一次发送线路的下标值,然后通过下标值加一的方式获得下一条发送线路。Get the index value of the last sent line, and then get the next sent line by adding one to the index value. 9.一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求6至8任一项所述的应用与消息队列高可用连接服务方法。9. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the application and message queue high-availability connection service method as described in any one of claims 6 to 8 when executing the computer program. 10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述程序被处理器执行时实现权利要求6至8任一项所述的应用与消息队列高可用连接服务方法的步骤。10. A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the program implements the steps of the application and message queue high-availability connection service method according to any one of claims 6 to 8.
CN202411262276.7A 2024-09-10 2024-09-10 Application and message queue high-availability connection service system, method, device and medium Active CN118796515B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411262276.7A CN118796515B (en) 2024-09-10 2024-09-10 Application and message queue high-availability connection service system, method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411262276.7A CN118796515B (en) 2024-09-10 2024-09-10 Application and message queue high-availability connection service system, method, device and medium

Publications (2)

Publication Number Publication Date
CN118796515A CN118796515A (en) 2024-10-18
CN118796515B true CN118796515B (en) 2025-01-21

Family

ID=93020055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411262276.7A Active CN118796515B (en) 2024-09-10 2024-09-10 Application and message queue high-availability connection service system, method, device and medium

Country Status (1)

Country Link
CN (1) CN118796515B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109684108A (en) * 2018-12-26 2019-04-26 江苏满运软件科技有限公司 Implementation method, system, storage medium and the electronic equipment of message queue
CN112015563A (en) * 2020-09-02 2020-12-01 中国平安财产保险股份有限公司 Message queue switching method and device, electronic equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7853956B2 (en) * 2005-04-29 2010-12-14 International Business Machines Corporation Message system and method
GB2516852A (en) * 2013-08-01 2015-02-11 Ibm Consuming ordered streams of messages in a message oriented middleware
CN113626211A (en) * 2021-06-29 2021-11-09 欧电云信息科技(江苏)有限公司 Switching method and switching system of message queue, electronic equipment and storage medium
CN113791918A (en) * 2021-08-16 2021-12-14 携程科技(上海)有限公司 Batch message queue checking method, electronic device and medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109684108A (en) * 2018-12-26 2019-04-26 江苏满运软件科技有限公司 Implementation method, system, storage medium and the electronic equipment of message queue
CN112015563A (en) * 2020-09-02 2020-12-01 中国平安财产保险股份有限公司 Message queue switching method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN118796515A (en) 2024-10-18

Similar Documents

Publication Publication Date Title
US8910172B2 (en) Application resource switchover systems and methods
CN103201724B (en) Providing application high availability in highly-available virtual machine environments
JP5872731B2 (en) Computer implemented method, non-transitory computer readable medium and computer system for communicating detection of link failure to each of a plurality of nodes of a cluster
US5784617A (en) Resource-capability-based method and system for handling service processor requests
WO2021008031A1 (en) Processing method for implementing monitoring intellectualization on the basis of micro-services, and electronic device
US8266474B2 (en) Fast cluster failure detection
US20130227359A1 (en) Managing failover in clustered systems
CN103338118B (en) A kind of communication network method of attachment and device
US20070168201A1 (en) Formula for automatic prioritization of the business impact based on a failure on a service in a loosely coupled application
US7774638B1 (en) Uncorrectable data error containment systems and methods
CN109542781B (en) Blockchain consensus algorithm testing method, device, computing device and storage medium
CN108512753B (en) A method and device for message transmission in a cluster file system
JPH086910A (en) Cluster computer system
CN108769199A (en) A kind of distributed file storage system host node management method and device
CN111314443A (en) Node processing method, device and device and medium based on distributed storage system
CN104618466A (en) System for balancing load and controlling overload based on message transfer and control method of system
CN118796515B (en) Application and message queue high-availability connection service system, method, device and medium
JP6134720B2 (en) Connection method
US7475076B1 (en) Method and apparatus for providing remote alert reporting for managed resources
JPH06325008A (en) Computer system with reset function
US11947431B1 (en) Replication data facility failure detection and failover automation
CN114513398A (en) Network equipment alarm processing method, device, equipment and storage medium
CN111984376B (en) Protocol processing method, device, equipment and computer readable storage medium
US8799926B1 (en) Active node detection in a failover computing environment
CN108920164A (en) The management method and device of host in cloud computing system

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