Supercharge Your Innovation With Domain-Expert AI Agents!

Management method of message and device thereof

A technology of a message message and a management method is applied in the field of message message management methods and devices to achieve the effect of improving reliability

Inactive Publication Date: 2013-08-07
ZTE CORP
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the main purpose of the present invention is to provide a message message management method and device, which can solve the problem that the newly received message message covers the continuous message that the receiver's business process still needs to access in the message cache queue

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
  • Management method of message and device thereof
  • Management method of message and device thereof
  • Management method of message and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] Embodiment 1 The implementation process of the message message management method is as follows: figure 2 shown, including the following steps:

[0030] Step 201: pre-set the message buffer queue, and pre-set the value of the message status field;

[0031] Here, different states of the message message can be identified by setting different message state field values ​​for the message state field, for example: setting the message state field value to 1 indicates that the message message is in the keep-alive state, that is, the message message is The persistent message that the business process still needs to access cannot overwrite the persistent message, and the memory occupied by the persistent message cannot be used as free memory; setting the value of the message status field to 0 indicates that the message message is in a non-keep-alive state, that is, the current time The memory occupied by the message message can be used as free memory, and the message message ca...

Embodiment 2

[0040] The implementation process of the message management method in Embodiment 2 is as follows: image 3 shown, including the following steps:

[0041] Step 301: pre-setting the message buffer queue, and pre-setting the value of the message status field and the threshold value of the keep-alive time of the message message;

[0042] Here, the specific methods for setting the value of the message status field include:

[0043] Set the value of the message status field to 1, indicating that the message message is in the keep-alive state, that is, the message message is a persistent message that the business process still needs to access, and the message message cannot be overwritten, and the memory occupied by the persistent message cannot is treated as free memory.

[0044] Setting the value of the message status field to 0 indicates that the message message is in a non-keep-alive state, that is, the memory occupied by the message message at the current time can be used as 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 discloses a management method of message, comprising the following steps: saving the received message to spare memory of pre-set message cache queue, and arranging message status field for the message, giving the preset message status field value for marking the non-keep-alive status to the message status field; the business process of the receiver is dispatched, if the business process needs accessing to the message after the withdrawal of the dispatch, the message is changed from non-keep-alive status to keep-alive status, until the business process of the receiver does not need accessing to the message any more, the message is changed from keep-alive status to non-keep-alive status. The invention also discloses a management device of the message, comprising a setting module, a receiving module, a service interface module, and a status control module. The adoption of the method and the device provided by the invention can solve the problem that the newly received message covers the lasting message to which the business process of the receiver needs to access in the message cache queue.

Description

technical field [0001] The invention relates to message management technology, in particular to a message message management method and device. Background technique [0002] In a multi-process system, message sending is a commonly used inter-process communication method. For some of the message packets, the receiver business process needs to access them in multiple scheduling cycles. Therefore, these message packets need to be saved until the business process no longer needs to access the message. Here, the time required to save these message messages is called the keep-alive time, these message messages are called persistent messages, and the message messages that the receiver process does not need to access again after one scheduling are called non-persistent messages. [0003] At present, the storage of message packets is realized by setting a message buffer queue in the memory. The specific storage process is as figure 1 As shown, after the receiver process receives t...

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 Patents(China)
IPC IPC(8): H04L1/18H04L29/06
Inventor 刘福财白晓春
Owner ZTE CORP
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More