Notification information processing method and apparatus

A notification message and processing method technology, applied in the field of notification message processing methods and devices, can solve the problems of difficulty in ensuring consistent order of processing notification messages and low resource utilization, and achieve the effect of improving system resource utilization

Inactive Publication Date: 2017-02-22
ZTE CORP
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main technical problem to be solved by the present invention is to provide a notification message processing method and device to solve the problem that it is difficult to ensure that the order of

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
  • Notification information processing method and apparatus
  • Notification information processing method and apparatus
  • Notification information processing method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] This embodiment utilizes the characteristics of each notification message, and uses the sequence-preserving queue pair to store the corresponding notification messages in sequence according to the preset rules (that is, according to the time sequence of receiving the notification messages), so as to ensure that the subsequent operations of each protection sequence The processing order of the notification messages is consistent with the order in which the notification messages are received to ensure the accuracy of the business logic and the normal operation of the business. It should be understood that the preset rules in this embodiment can be flexibly set according to specific message types and / or application scenarios; for example, for SNMP (Simple Network Management Protocol, Simple Network Management Protocol) TRAP messages, when an alarm occurs During a storm, a large number of alarm notification information from multiple devices will be reported. At this time, eac...

Embodiment 2

[0047] This embodiment provides a notification message processing device, please refer to image 3 shown, including:

[0048] The protection queue module 1 is used to store the notification messages in order according to the preset rules (that is, according to the time sequence of receiving the notification messages) and store them in the order-preserving queues to ensure that subsequent notifications in each protection sequence The processing order of the message processing is consistent with the order in which the notification messages are received to ensure the accuracy of the business logic, thereby ensuring the normal operation of the business; it should be understood that the preset rules in this embodiment can be based on specific message types and / or application scenarios for flexible setting;

[0049] The monitoring thread module 2 is used to monitor whether new notification messages are stored in each order-preserving queue;

[0050] The thread selection module 3 is ...

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 notification information processing method and apparatus. The method comprises: firstly, utilizing an order preserving queue to save corresponding notification information in order based on a preset rule so as to ensure that the processing order to process the notification information in all order preserving queues is consistent with the order to receive the notification information; and then, monitoring whether there exists new notification information in the order preserving queues and when new notification information is monitored in a certain order preserving queue, selecting from a thread pool a work thread module whose current working state is an idle state; and utilizing the work thread module to process the new notification information saved in the order preserving queue. The use of a thread pool enables multiplexing of the work threads in the thread pool so that with threads fewer than the order preserving queue data, all notification information can be processed effectively, therefore, raising the utilization efficiency of system resources.

Description

technical field [0001] The present invention relates to the communication field, in particular to a notification message processing method and device. Background technique [0002] In a distributed environment, each process needs to exchange its own information through the network and coordinate related processing. In order to improve the efficiency of message processing, multi-threaded methods are used to process message notifications on current multi-core hosts, but in multi-threaded In the process of processing notification messages, it is necessary to ensure that the order in which threads process notification messages is consistent with the order in which notification messages are received, otherwise business logic problems will occur; It is difficult to guarantee the above requirements and the notification message processing takes up many threads, and the utilization rate of system resources is low. [0003] Therefore, how to ensure the above requirements and occupy a...

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
IPC IPC(8): H04L12/58H04L29/08G06F9/46G06F9/50
CPCH04L51/224H04L51/216
Inventor 胡锐
Owner ZTE CORP
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