Message middleware receiver abnormity processing method, server and storage medium

A message middleware and exception handling technology, applied in the field of Internet finance, can solve the problems of application message loss, affecting the sender's processing speed, etc.

Active Publication Date: 2019-05-03
深圳证券交易所
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If you choose to discard the message, the application message will be lost, which is not suitable for highly reliable application scenarios such as stock trading systems
For non-critical slow receivers, may spread upwards affecting the processing speed of the sender

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Message middleware receiver abnormity processing method, server and storage medium
  • Message middleware receiver abnormity processing method, server and storage medium
  • Message middleware receiver abnormity processing method, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0048] Such as figure 1 As shown, the server of the present invention includes: a processor 1001 , such as a CPU, a user interface 1002 , a memory 1003 , and a communication bus 1004 . Wherein, the communication bus 1004 is used to realize connection and communication between these components. The user interface 1002 may include a display screen (Display) and an input unit. The memory 1003 can be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. Optionally, the memory 1003 may also be a storage device independent of the foregoing processor 1001 .

[0049] Those skilled in the art can understand that, figure 1 The server structure shown in the server does not constitute a limitation to the server, and may include more or less components than those shown in the illustration, o...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a message middleware receiver exception handling method, which comprises the following steps that: after a sender sends a message to a network, the message is put into a firstshared memory, and under the action of a first asynchronous persistence component, the message is written into a disk; after receiving the message from the network, the receiver puts the message intoa second shared memory and writes the message into a disk under the action of a second asynchronous persistence component; when it is detected that a non-key slow receiver exists in the receivers, reading a message from a predetermined disk of the receiver and submitting the message to an application for processing; and when it is detected that the receiver has a fault, caching the message sent bythe sender, and stopping sending the message to the network. The invention also discloses a server and a computer readable storage medium. Under the condition that the ultra-low time delay requirement of the high-speed message middleware can be met, local faults can be avoided, and a slow receiver cannot affect the whole distributed system.

Description

technical field [0001] The present invention relates to the technical field of Internet finance, and in particular to a receiver exception handling method of message middleware, a server and a computer-readable storage medium. Background technique [0002] Message middleware uses an efficient and reliable message delivery mechanism for platform-independent message exchange, and is an important basic system for communication between application components in a distributed environment. Traditional message middleware usually has a central message server (Broker, referred to as proxy node), the message sender and receiver are connected to this proxy node, and rely on the proxy node for message distribution and fault isolation, rather than direct communication with each other . When the receiver fails, the proxy node of the message middleware will continue to receive and store messages; when the receiver recovers from the failure, the receiver can continue to receive breakpoint ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & AuthorityApplications(China)
IPC IPC(8): G06F9/54
Inventor陈子文李玉龙陈滨邓硕灵彭世雄俞瑾郭未
Owner深圳证券交易所