Message middleware based message management method and apparatus

A technology for message middleware and message management, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of slow reading and writing disk speed of applications, low efficiency of sending and receiving messages, etc., and achieve the effect of improving efficiency

Inactive Publication Date: 2015-11-18
INSPUR SOFTWARE CO LTD
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When the message queue is set on the disk, whether any file on the disk or the corresponding database is set on the disk as the message queue, the data written to the disk, that is, the messages received by the message queue, are not easily lost. However, the application The speed of reading and writing the disk is slow, and the efficiency of sending and receiving messages is very low

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 based message management method and apparatus
  • Message middleware based message management method and apparatus
  • Message middleware based message management method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work belong to the protection of the present invention. scope.

[0031] Such as figure 1 As shown, the embodiment of the present invention provides a message management method based on message middleware, and the method may include the following steps:

[0032] S0: set the first message queue file in the computer disk, the first message queue file corresponds to the message queue of the message middleware; map the f...

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 provides a message middleware based message management method and apparatus. The method comprises: S0: setting a first message queue file in a computer disk, wherein the first message queue file corresponds to a message queue of message middleware; mapping the first message queue file to a computer memory to generate a second message queue file in the computer memory; S1: utilizing the second message queue file in the computer memory to receive a message sent by an application program and send the message to the application program; and S2: synchronizing each message received and sent by the second message queue file in the computer memory to the first message queue file in the computer disk. Through the technical scheme of the invention, the message integrity can be ensured and the message receiving and sending efficiency of the message middleware is improved.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a message management method and device based on message middleware. Background technique [0002] Message middleware is a tool that supports and guarantees synchronous / asynchronous message sending and receiving between distributed applications. Message middleware receives and stores messages sent by applications corresponding to message senders through message queues. Messages stored in message queues can be It is read by the application program corresponding to the receiving end. The message queue is usually set in the computer disk, and the sending and receiving messages of the message queue correspond to the read and write operations of the application program on the disk. [0003] When the message queue is set on the disk, whether any file on the disk or the corresponding database is set on the disk as the message queue, the data written to the disk, that is, the message...

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 & Authority Applications(China)
IPC IPC(8): G06F3/06G06F17/30
Inventor 李朝铭张晖
Owner INSPUR SOFTWARE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products