Message processing method and device

A message processing and message technology, applied in the field of communication, can solve problems such as inability to ensure reliability, insufficient reliability, and inability to adapt to needs well, and achieve the effect of optimal configuration, ensuring message reliability, and optimizing system overhead.

Active Publication Date: 2017-05-10
DATANG MOBILE COMM EQUIP CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Among them, the persistent message is a reliable transmission mode, which can ensure that the message will not be discarded or lost when the provider is closed, failed or abnormal, and the corresponding message will be cached; however, there is a waste of resources in the persistent construction method. In the case of a specific situation that does not require caching or can tolerate the loss of some messages, this mode shows the defects of waste of resources and low efficiency; the non-persistent construction method cannot guarantee the reliability of the message. In case of inactivity or abnormal situations, the immediately held messages will be discarded, so the reliability cannot be guaranteed, but the resource consumption is small and the efficiency is relatively high
[0004] In view of the above two situations, in the prior art, when processing messages, either all messages are persistently processed, or all messages are non-persistently processed, resulting in failure to meet needs well, resulting in Waste of resources or lead to insufficient reliability

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 processing method and device
  • Message processing method and device
  • Message processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] As described in the background, the present invention proposes a message processing method, such as figure 1 shown, including the following steps:

[0036] Step 101, obtaining the message to be sent;

[0037] Specifically, the message to be sent may be a JIM (Java Message Service, Java Message Service) message, or other messages of course.

[0038] Step 102: Perform reliability assessment on each message to be sent, and set an identifier for each message to be sent according to the reliability assessment result, generate a corresponding relationship including the identifier and the reliability assessment result, and generate a message based on the corresponding relationship resource;

[0039] Specifically, for each message to be sent in the system, reliability evaluation will be performed to evaluate the reliability required by each message to be sent, that is, whether a persistent evaluation is required. When the reliability evaluation is necessary When persisting, ...

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 processing method and device. The method comprises the steps of obtaining to-be-sent messages; performing reliability assessment on the to-be-sent messages, setting identifiers for the to-be-sent messages according to reliability assessment results, generating corresponding relationships containing the identifiers and the reliability assessment results, and generating resource files based on the corresponding relationships; when the messages need to be sent, performing matching with the messages based on the resource files, and judging whether persistent processing needs to be performed or not; if a judgment result is that the persistent processing does not need to be performed, performing non-persistent processing on the messages; and executing corresponding operations according to matching results. Therefore, whether the messages are subjected to the persistent processing or not can be determined as needed, and two aspects of weighing system overhead and ensuring message reliability are optimized to achieve optimal configuration.

Description

technical field [0001] The embodiment of the present application relates to the technical field of communications, and in particular to a message processing method. The embodiment of the present application also relates to a message processing device. Background technique [0002] Currently, there are two message construction methods. The first method is to construct the message persistently, and the second method is to construct the message non-persistently. [0003] Among them, the persistent message is a reliable transmission mode, which can ensure that the message will not be discarded or lost when the provider is closed, failed or abnormal, and the corresponding message will be cached; however, there is a waste of resources in the persistent construction method. In the case of a specific situation that does not require caching or can tolerate the loss of some messages, this mode shows the defects of waste of resources and low efficiency; the non-persistent construction...

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/06
CPCG06F3/0656
Inventor 李斌师敏华
Owner DATANG MOBILE COMM EQUIP 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