Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for processing Diameter protocol message

A message and protocol technology, applied in the field of communication, can solve the problems of not solving the generation and destruction of AVP, can not effectively shorten the message processing time, etc., to achieve the effect of reduced consumption and convenient management

Active Publication Date: 2010-10-27
SHENZHEN TIANYUAN DIC INFORMATION TECH CO LTD
View PDF2 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the memory pool only solves the performance of message new and delete, but does not solve the problem of generating and destroying all AVPs in the message. The measured results of using the memory pool also have the same performance, so the message processing time cannot be effectively shortened.

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
  • Method for processing Diameter protocol message
  • Method for processing Diameter protocol message
  • Method for processing Diameter protocol message

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] Only by simplifying the management of the message structure and reducing the consumption of system resources (CPU and memory) by the generation and destruction of message objects can the message processing time be fundamentally reduced. How to do it? The present invention adopts the mode of intelligently memorizing messages, and achieves repeated utilization of messages through the intelligent memory function of messages. Once constructed and used multiple times, it avoids message construction and destruction during each business process (this is similar to the principle of one prepare and multiple executes of a database).

[0059] Therefore, in a preferred implementation of the present invention, a memory class (CMemoryElem) and a modification operation stack (statck) for message structure modification are added to restore the memory and message structure for message structure modification.

[0060] Such as figure 1 As shown, it is a design class diagram of int...

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 relates to a method for processing Diameter protocol message, which comprises the following steps: step 1, obtaining a Diameter message template prestored in a memory according to ID of a Diameter message and using the structure of the Diameter message template as an initial state of constructing the structure of a Diameter message object; step 2, adding or deleting AVP objects in the structure of the Diameter message object according to a practical message structure so as to modify the structure of the Diameter message object; step 3, recording each operation on the structure of the Diameter message in the step 2 by a stack; and step 4, restoring the structure of the Diameter message object to the initial state according to the record in the stack after the message is used.The method for processing the Diameter protocol message, which is provided by the invention, is convenient for managing the message and can reduce the consumption of system resources.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method for processing Diameter protocol messages. Background technique [0002] The Diameter protocol is adopted by the AAA working group of the IETF as the next-generation AAA protocol standard. Diameter (diameter means that the Diameter protocol is an upgraded version of the RADIUS protocol) protocol includes basic protocol, NAS (Network Access Service) protocol, EAP (Extensible Authentication) protocol, MIP (Mobile IP) protocol, CMS (Cipher Message Syntax ) agreement, etc. The Diameter protocol supports mobile IP, NAS requests, and mobile agent authentication, authorization, and accounting. The implementation of the protocol is similar to RADIUS, and it is also implemented by AVP (Attribute Value Pair). However, it specifies error handling, The failover mechanism adopts TCP protocol, supports distributed billing, overcomes many shortcomings of RADIUS, and is the most...

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): G06F9/44H04W88/18
Inventor 汪东升梁林志周发军杨海蒋述庭
Owner SHENZHEN TIANYUAN DIC INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products