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

Method and device for processing message

A message processing and message technology, applied in the field of communications, can solve problems such as increased transmission delay, packet loss, and increased link transmission delay, and achieve the effect of improving transmission delay and communication quality

Inactive Publication Date: 2011-04-27
HUAWEI TECH CO LTD
View PDF0 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the broadband of the TDM network logic channel will change due to the change of the number of bound time slots. The broadband network (such as ADSL (Asymmetric Digital Subscriber Loop, Asymetric Digital Subscriber Loop) / ADSL2+ / G. Digital Subscriber Line, Single-pair High-speed Digital Subscriber Line) / Microwave link and other networks) The bandwidth of the link in the network will change due to changes in environmental factors such as weather conditions, interference signals, and distances. In the preset buffer capacity When the link bandwidth is too large, if the link load is heavy, that is, when the bandwidth becomes larger, the transmission delay of the link will increase; when the preset buffer capacity is too small relative to the link bandwidth , if the link may not be able to adapt to the packet jitter of the IP network, it may easily cause packet loss
The increase of transmission delay and packet loss both lead to the decline of transmission quality

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 and device for processing message
  • Method and device for processing message
  • Method and device for processing message

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] image 3 The flow chart of the message processing method provided by Embodiment 1 of the present invention includes the following steps:

[0036] Step 201, receiving a message, storing the message in a cache unit, and determining a cache queue corresponding to the message;

[0037] Specifically, the classifier may receive the message from the communication link and classify the message; after receiving the message, the queue that the message should enter can be determined according to parameters such as the category or priority of the message;

[0038] Step 202, judging whether the sum of the length of the message and the actual queue length of the cache queue is less than or equal to the queue configuration length in the cache queue;

[0039] Step 203, if yes, adding the message to the cache queue by updating the content of the cache item message pointer in the cache queue cache table to the initial storage address of the message in the cache unit; Updating the cache...

Embodiment 2

[0063] Embodiment 2 of the present invention provides a message processing method, which is used to reduce packet loss and transmission delay during transmission and improve link transmission quality by changing the queue configuration length according to the link bandwidth.

[0064] see Figure 4 , is a flow chart of the message processing method provided in Embodiment 2 of the present invention, and the flow of the method can be passed Figure 5 The following units are shown, including: a control unit 401 , a queue index unit 402 , a cache table unit 403 and a cache unit 404 . A link may correspond to one or more queues, and each queue may be implemented by a queue index unit 402 , a cache table unit 403 and a cache unit 404 . The queue index unit 402 is used to store related information of the queue, such as the queue entry index, the queue exit index, the actual length of the queue, and the configured length of the queue. The in-queue index is used to indicate the cache ...

Embodiment 3

[0122] Figure 12 It is a schematic structural diagram of a message processing device provided by Embodiment 3 of the present invention, which specifically includes: a message receiving module 10 , a queue determination module 20 , a buffer control module 30 , a message buffer module 40 and a queue length configuration module 50 .

[0123] Wherein, the message receiving module 10 is configured to receive messages;

[0124] The message cache module is configured to cache the message to a cache unit;

[0125] The queue determination module is configured to determine the cache queue corresponding to the message;

[0126] The cache control module is used to determine whether the sum of the length of the message and the actual length of the queue in the cache queue is less than or equal to the configured length of the queue in the cache queue, and if so, by updating the cache queue in the cache queue The cache item message pointer content of the message is the initial storage add...

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 embodiment of the invention relates to a method and a device for processing message, wherein the method comprises: receiving the message and storing the message into a buffer memory unit; determining a buffer memory queue corresponding to the message; judging whether the sum of the length of the message and the actual queue length of the buffer memory queue is less than or equal to the queue allocation length in the buffer memory queue; if so, adding the message to the buffer memory queue by updating the content of a buffer memory item message pointer in the buffer memory list of the buffer memory queue as the starting memory address of the buffer memory unit containing the message; and updating the buffer memory item index and the queue enqueueing index in the buffer memory list to establish the new index for the message; and updating the actual length of the queue length into the actual length after the message is memorized. The embodiment of the invention provides a method for dynamically adjusting the buffer memory bandwidth of the queue, in the method, the massage is stored in the buffer memory of the queue by judging sum of the length of the massage and the actual lengthof the buffer memory of the queue as well as the configurated length of the queue in the buffer memory of the queue; and the buffer memory of the queue is changed according to the change of the chainwidth so as to improve the problems of the transmission delay because of overlarge buffer memory space and the shaking packet loss because of over-small buffer memory space of the queue and enhance the communication quality.

Description

technical field [0001] Embodiments of the present invention relate to communication technologies, and in particular to a message processing method and device. Background technique [0002] Due to the simple and practical design idea of ​​IP technology and rich and colorful applications, the all-IP (ALL IP) networking mode has become the evolution trend of the current network. However, in the current network environment, in order to make full use of the existing access line resources, there is a demand for compatible interconnection between the existing access network and the IP network. [0003] Networks based on transmission modes such as time division multiplexing and time division multiplexer (Time Division Multiplex and Multiplexer; hereinafter referred to as: TDM) technology and microwave technology need to be interconnected with the IP network through network element devices. Taking the network based on TDM technology as an example, the TDM network mainly uses the TDM...

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): H04L12/56H04L12/26H04L5/22H04L12/721
Inventor 苏德现
Owner HUAWEI 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