Data transmission method and device based on priority level as well as network equipment

A data transmission method and priority technology, which is applied in the field of data processing, can solve problems such as wasting system resources and high system resource overhead, and achieve the effects of reducing system overhead, improving overall system performance, and avoiding polling operations and maintenance management

Inactive Publication Date: 2011-04-20
RUIJIE NETWORKS CO LTD
View PDF3 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a priority-based data transmission method, device, and network equipment to so

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
  • Data transmission method and device based on priority level as well as network equipment
  • Data transmission method and device based on priority level as well as network equipment
  • Data transmission method and device based on priority level as well as network equipment

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0025] Example 1

[0026] The priority-based data transmission method provided by the first embodiment of the present invention, the process of which is as follows figure 1 As shown, the execution steps are as follows:

[0027] Step S11: Obtain the message to be sent.

[0028] The acquired packets to be sent may include packets of various priorities read from the upper-layer packet interface.

[0029] Step S12: Acquire the current queue length of the buffer queue for buffering the message to be sent.

[0030] The buffer queue is a first-in, first-out (First Input First Output, FIFO) queue.

[0031] In the present invention, in the transmission channel of the corresponding module for realizing data packet transmission, a buffer queue is set in each channel.

[0032] Step S13: Determine the threshold value interval in which the acquired current queue length is located.

[0033] Wherein, the threshold value interval of the buffer queue is preset. Specifically, the threshold ...

Example Embodiment

[0051] Embodiment 2

[0052] The priority-based data transmission method provided by the second embodiment of the present invention takes a driver layer that only includes packets with two priorities of protocol packets and data packets as an example to specifically describe the implementation process of the method of the present invention. Among them, the message sending processing flow of the driver layer is as follows image 3 shown, including the following steps:

[0053] Step S21: Obtain a message from the upper-layer message interface.

[0054] Obtaining packets from upper-layer packet interfaces includes obtaining packets from upper-layer packet interfaces such as the link layer.

[0055] For the driver layer, the to-be-sent message obtained from the upper-layer message interface includes: a data message or a protocol message. Among them, the protocol packet is a packet used to ensure that the protocol can work normally, and the data packet is a packet used to meet u...

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 data transmission method and device based on the priority level as well as network equipment. The method comprises: when a message to be sent is obtained, determining a threshold interval in which the current queue length of the buffer queue for caching messages to be sent is located; according to the determined threshold interval and the corresponding relationship between the threshold interval built in advance and the allowable priority level of the message allowed to enter the buffer queue, determining the allowable priority level of the message which is allowed to enter the buffer queue for caching messages to be sent; and according to the situation that whether the priority level of the obtained message belongs to the determined allowable priority level, determining whether the obtained message is added into the buffer queue. The data is guaranteed to transmit according to the priority level only,by one buffer queue and the set threshold interval, large system cost caused by polling a plurality of priority levels can be avoided, and system performance is improved.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a priority-based data transmission method, device and network equipment. Background technique [0002] Priority queue is another kind of queue different from FIFO or LIFO. When selecting elements to be processed, elements are obtained according to the priority given in advance, and the element with the highest priority is always selected for processing each time. For example, in the communication process, when sending packets between interfaces, protocol packets need to be sent in priority over data packets, and a priority queue can be used to ensure that protocol packets are sent first. [0003] Currently commonly used priority queues include Priority Queue (Preference Queue, PQ), Round Robin (RR) queue, Enhanced Round Robin (WRR) queue, Low Latency Queuing (LLQ) , Enhanced Fair Queuing (Weighted Fair Queuing, WFQ) in Congestion Management of Quality of Service ...

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/56H04L47/6275
Inventor 王刚
Owner RUIJIE NETWORKS 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