A message data processing method, apparatus, device and readable storage medium
A technology of message data and processing methods, applied in the direction of electronic digital data processing, special data processing applications, multi-programming devices, etc., can solve performance bottlenecks, difficulty in improving data sharing performance of different information systems, slowness and other problems, and achieve faster reading Effects of writing speed, improving data sharing performance, and simplifying the persistence process
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] Please refer to figure 1 , figure 1 It is a flowchart of a method for processing message data in an embodiment of the present invention, and the method includes the following steps:
[0059] S101. The distributed message queue system receives message data published by a message producer.
[0060] In this embodiment, in order to ensure that the message data can be persisted in the non-volatile memory. Before the distributed message queuing system receives the message data submitted by the message producer, the system hardware configuration can also be detected to determine whether the non-volatile memory is configured; if so, the non-volatile memory is set to the application direct access mode. That is to add non-volatile memory hardware to the server where the Broker of the distributed message queuing system is located; the non-volatile memory used in the system is PMM (Persistent Memory Module), which can directly use the DIMM interface technology, by setting it to m...
Embodiment 2
[0090] Corresponding to the above method embodiments, the embodiments of the present invention further provide a message data processing apparatus, and the message data processing apparatus described below and the message data processing method described above may refer to each other correspondingly.
[0091] see Figure 7 As shown, the device includes the following modules:
[0092] The data acquisition module 101 is used for the distributed message queuing system to receive the message data released by the message producer;
[0093] The data storage module 102 is configured to use the storage interface of the non-volatile memory to persistently store the message data in the non-volatile memory;
[0094] The data search module 103 is configured to search for target message data matching the consumption request from the non-volatile memory when receiving the consumption request sent by the message consumer;
[0095] The data sending module 104 is configured to use the socket...
Embodiment 3
[0107] Corresponding to the above method embodiments, the embodiments of the present invention further provide a message data processing device, and a message data processing device described below and a message data processing method described above may refer to each other correspondingly.
[0108] see Figure 8 As shown, the message data processing device includes:
[0109] a memory D1 for storing computer programs;
[0110] The processor D2 is configured to implement the steps of the message data processing method of the above method embodiments when executing the computer program.
[0111] For details, please refer to Figure 9 , a schematic diagram of a specific structure of a message data processing device provided in this embodiment, the message data processing device may have relatively large differences due to different configurations or performance, and may include one or more processors (central processing units, CPUs) ) 322 (eg, one or more processors) and memor...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com