Method and device for processing message
A message processing and message technology, applied in the field of communication, can solve problems such as packet loss, increased transmission delay, and decreased transmission quality, and achieve the effect of improving communication quality and transmission delay
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com