CN102025638A - Data transmission method and device based on priority level as well as network equipment - Google Patents

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

Info

Publication number
CN102025638A
CN102025638A CN2010105992255A CN201010599225A CN102025638A CN 102025638 A CN102025638 A CN 102025638A CN 2010105992255 A CN2010105992255 A CN 2010105992255A CN 201010599225 A CN201010599225 A CN 201010599225A CN 102025638 A CN102025638 A CN 102025638A
Authority
CN
China
Prior art keywords
message
priority
buffer queue
threshold value
queue
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010105992255A
Other languages
Chinese (zh)
Inventor
王刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ruijie Networks Co Ltd
Fujian Star Net Communication Co Ltd
Original Assignee
Fujian Star Net Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN2010105992255A priority Critical patent/CN102025638A/en
Publication of CN102025638A publication Critical patent/CN102025638A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

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

Data transmission method, device and the network equipment based on priority
Technical field
The present invention relates to technical field of data processing, refer to a kind of data transmission method, device and the network equipment especially based on priority.
Background technology
Priority query is the another kind of formation that is different from first in first out or last-in, last-out, when selecting pending element, obtains element according to the priority of giving in advance, and each element of always selecting to have limit priority is handled.Such as in communication process, when sending message between the interface, protocol massages need then can use priority query than the preferential transmission of data message, and the guarantee agreement message is preferentially sent.
There is (the Preference Queue of priority query in priority query commonly used at present, PQ), poll (RoundRobin, RR) formation, the poll of strengthening is transmitted (Weighted Round Robin, WRR) formation, Low Latency Queueing (Low Latency Queuing, LLQ), quality services (Quality of Service, QoS) the reinforcement Fair Queue in the congestion management (Weighted Fair Queuing, WFQ), class-based WFQ (Class-Based Weighted Fair Queuing, CBWFQ) etc.These priority queries are applicable to the network congestion and the data forwarding problem of management of the complexity that runs in the upper-layer service data processing.
But, safeguard a plurality of priority queries, when sending data, then need a plurality of priority queries are carried out polling operation, realize that message sends according to priority, this has increased system resource overhead, especially at some specific application scenarios, this overhead may cause packet sending and receiving speed to be affected.For example: adopt this mode can well realize that message sends according to priority for upper-layer service, what then more be concerned about for Drive Layer should be that the message how fast upper strata to be handed down is forwarded to physical circuit fast and gets on, phase is recently said for the requirement of priority then lower, and its requirement to transmission speed is then higher.And the processing mode of multipriority queue poll transmission message of the prior art can not well address this problem.
Summary of the invention
The embodiment of the invention provides a kind of data transmission method based on priority, device and the network equipment, exists the multipriority queue poll to cause system resource overhead big in order to solve in the prior art, the problem of waste system resource.
A kind of data transmission method based on priority comprises:
When getting access to message to be sent, be identified for the threshold value interval at current queue length place of the buffer queue of buffer memory message to be sent;
According to the threshold value interval of determining, and the corresponding relation of the interval permission priority with the message that allows to enter buffer queue of the threshold value of setting up in advance, determine to allow to enter the permission priority of message of the described buffer queue of buffer memory message to be sent;
Whether belong to definite described permission priority according to the priority of messages of obtaining, determine whether that the message that will obtain adds described buffer queue.
A kind of data transmission device based on priority comprises:
Acquisition module is used to obtain message to be sent;
Judge module when being used for described acquisition module and getting access to message to be sent, is identified for the threshold value interval at current queue length place of the buffer queue of buffer memory message to be sent;
Determination module, be used for according to the threshold value interval of determining, and the corresponding relation of the interval permission priority with the message that allows to enter buffer queue of the threshold value of setting up in advance, determine to allow to enter the permission priority of message of the described buffer queue of buffer memory message to be sent;
The module of joining the team is used for whether belonging to definite described permission priority according to the priority of messages of obtaining, and determines whether that the message that will obtain adds described buffer queue.
A kind of network equipment comprises the above-mentioned data transmission device based on priority.
Beneficial effect of the present invention is as follows:
The data transmission method based on priority that the embodiment of the invention provides, device and the network equipment when getting access to message to be sent, according to the threshold value interval at the queue length place of buffer queue, determine to allow to enter the permission priority of the message of buffer queue; Whether belong to described permission priority according to the priority of messages of obtaining, determine whether that the message that will obtain adds buffer queue.Cushion message to be sent by a buffer queue, thereby avoided a plurality of priority queries of poll in the multipriority message process of transmitting and safeguarded that the overhead that a plurality of formation caused is big, influence the problem of systematic function; Simultaneously, by the threshold value interval of setting, definite priority of messages that can enter buffer queue, thus ensured that message transmits according to priority separately, ensured that the message of high priority can preferentially be sent out.Thereby polling operation and maintenance management realizing avoiding when message according to priority sends a plurality of formations greatly reduce the overhead that sends in the message process, have improved overall system performance.
Description of drawings
Fig. 1 is based on the flow chart of the data transmission method of priority in the embodiment of the invention one;
Fig. 2 is provided with schematic diagram for buffer queue threshold value interval in the embodiment of the invention one;
Fig. 3 is the message transmission flow schematic diagram of Drive Layer in the embodiment of the invention two;
Fig. 4 is based on the flow chart of the data transmission method of priority in the embodiment of the invention two;
Fig. 5 is provided with schematic diagram for Drive Layer buffer queue threshold value interval in the embodiment of the invention two;
Fig. 6 is based on the structural representation of the data transmission device of priority in the embodiment of the invention.
Embodiment
The big problem of overhead that is caused at a plurality of priority queries poll in the prior art, a kind of data transmission method that the embodiment of the invention provides based on priority, under the situation of only keeping a buffer queue, the message that guarantees high priority as much as possible is by priority treatment.Be elaborated below by specific embodiment:
Embodiment one
The data transmission method that the embodiment of the invention one provides, its flow process based on priority as shown in Figure 1, execution in step is as follows:
Step S11: obtain message to be sent.
The message to be sent that obtains can comprise the message of each priority that reads from the upper strata message interface.
Step S12: the current queue length of obtaining the buffer queue that is used for buffer memory message to be sent.
Wherein, buffer queue is first-in first-out (First Input First Output, FIFO) formation.
Among the present invention, in the sendaisle of realizing the respective modules that packet sends, a buffer queue is set in each passage.
Step S13: the threshold value interval of judging the current queue length place that obtains.
Wherein, the threshold value interval of buffer queue is predefined, and the priority of messages quantity that concrete basis sets in advance is determined and threshold value is set, realizes setting different threshold value intervals.
For example: the predetermined threshold value have M1, M2 ..., Mn etc.Thereby formed 0-M1, M1-M2 ..., M (n-1)-some threshold values intervals such as Mn.
Step S14: according to the threshold value interval of determining, and the corresponding relation of the interval permission priority with the message that allows to enter buffer queue of the threshold value of setting up in advance, determine to allow to enter the permission priority of message of the buffer queue of buffer memory message to be sent.
When setting the thresholding interval, set the interval corresponding priority of messages that allows to enter buffer queue of each thresholding, promptly set up the corresponding relation of the interval permission priority with the message that allows to enter buffer queue of threshold value.
Wherein the thresholding interval is determined according to priority of messages quantity to be sent, for example: when priority of messages to be sent has two, can set two threshold values: high priority threshold value and low priority threshold value, i.e. three thresholding intervals: the 3rd thresholding interval that is lower than the first thresholding interval of low priority threshold value, the second thresholding interval between high priority threshold value and low priority threshold value and is higher than the high priority threshold value.The interval corresponding permission priority of first thresholding is high priority and low priority, and the interval corresponding permission priority of second thresholding is high priority, and the interval corresponding permission priority of the 3rd thresholding is empty, forbids that promptly all messages enter buffer queue.
When priority of messages to be sent was many, the threshold value of corresponding setting was also many, thereby the thresholding interval that is provided with is also many.For example: priority of messages comprises: L1, L2 ..., Lm etc., the threshold value of relative set comprise M1, M2 ..., M (n-1), Mn.Be illustrated in figure 2 as the interval schematic diagram that is provided with of buffer queue thresholding.When queue length is positioned at thresholding interval 0-M1, allow the message of all priority to enter buffer queue; When queue length is positioned at thresholding interval M1-M2, allow the message of other priority except that lowest priority L1 to enter buffer queue; ..., when queue length is positioned at the interval M (n-1) of thresholding-Mn, only allow the message of limit priority Lm to enter buffer queue, when queue length is positioned at greater than the thresholding of Mn when interval, do not allow the message of any priority to enter buffer queue.
Wherein the quantity in thresholding interval is with reference to the quantity setting of priority, and the quantity in the thresholding interval of operated by rotary motion is not more than the quantity of priority, and promptly said n is not more than m.
When n=m, at n n+1 thresholding interval of energy that threshold value marked off, when queue length when preceding n thresholding is interval, the interval priority quantity that allows of each thresholding is with respect to previous thresholding interval few 1, when queue length when n+1 thresholding is interval, forbid that all messages enter buffer queue.
As n during less than m, at n n+1 thresholding interval of energy that threshold value marked off, can be provided with when queue length when preceding n thresholding is interval, the interval priority quantity that allows of each thresholding is lacked at least one with respect to previous thresholding is interval, when queue length when n+1 thresholding is interval, forbid that all messages enter buffer queue.
Step S15: judge whether the priority of messages of obtaining belongs to the permission priority of determining.
If, execution in step S15; Otherwise execution in step S16.
Determine allow to enter the priority of buffer queue after, judge that the priority of messages get access to whether in the scope that allows priority, determines whether allowing message to enter buffer queue.
Step S16: the message that obtains is added buffer queue.
When the priority of messages that gets access to is in the scope of permission priority, allow message to enter buffer queue.When in buffer queue, joining message, message is joined the tail of the queue of buffer queue.
When the message in the needs transmission buffer queue, obtain message from the head that cushions formation and send.
Step S17: abandon the data message that obtains.
When the priority of messages that gets access to is in the scope of permission priority, do not allow message to enter buffer queue, then abandon the message that gets access to.
Above-mentioned steps S15-step S17 has realized whether belonging to the permission priority of determining according to the priority of the data message that obtains,, determine whether that the data message that will obtain adds buffer queue.
Embodiment two
The data transmission method based on priority that the embodiment of the invention two provides is an example with the Drive Layer of the message that only comprises protocol massages and two priority of data message, specifies the implementation procedure of the inventive method.Wherein, the message of Drive Layer sends handling process as shown in Figure 3, comprises the steps:
Step S21: obtain message from the upper strata message interface.
Obtaining message from the message interface on upper strata comprises from upper strata message interfaces such as link layers and obtains message.
At Drive Layer, the message to be sent that gets access to from the upper strata message interface comprises: data message or protocol massages.Wherein, protocol massages is to be used for the message that guarantee agreement can operate as normal, and data message is the message that is used for satisfying the customer service demand.Under the busy situation of system, it is processed that protocol massages must have precedence over data message, could the guarantee agreement operate as normal.
Step S22: message is added in the buffer queue of driving passage of Drive Layer.
In each driving passage of Drive Layer, a buffer queue is set, the buffer queue that is provided with is as the above-mentioned embodiment one described fifo queue that comprises priority query's characteristic, to guarantee that in the driving aspect, the protocol massages of the higher priority that interface need be handled is by priority treatment.That is to say that for the driving aspect, all messages generally have only two priority.And because the message of Drive Layer is not very high to the requirement of priority generally, and it is higher to the requirement of transmission speed and efficient, therefore the more suitable embodiment of the invention one provide with the message transmitting party formula in packet buffer to the to be sent buffer queue, it can guarantee can effectively screen the high message of priority at every turn, make that the message of high priority can be by priority treatment, improved the speed and the efficient that send simultaneously, and implementation is simple.
At this moment, the priority threshold setting of buffer queue as shown in Figure 4.Comprise a high priority thresholding and a low priority thresholding.The corresponding relation of the interval permission priority with the message that allows to enter buffer queue of the threshold value of setting up in advance is: when queue length during less than predefined low priority threshold value, the message priority that allows to enter buffer queue is high priority and low priority; When queue length during greater than the low priority threshold value and less than predefined high priority thresholding, the message priority that allows to enter buffer queue is a high priority; When queue length during, forbid that message enters buffer queue greater than predefined high priority threshold value.
At present, the ply-yarn drill of channelizing often has a plurality of logic interfacings at a physics mouth, E1 ply-yarn drill for example, and one road E1 physics mouth can comprise maximum 31 CE1 logic interfacings.In the process that realizes a message transmission, often belong to the shared same function of giving out a contract for a project of all logic interfaces of same physics mouth, promptly all passages of poll in the function of giving out a contract for a project send then together.When sending data, the driving aspect is obtained message from the upper strata, hangs in each buffer queue that drives passage.
Step S23: the hardware transmission interface obtains message to be sent from driving passage.
When needs send message on physical circuit, obtain data from the buffer queue of each passage again and articulate toward hardware, be responsible for sending to physical circuit by hardware and get on.
Step S24: hardware sends from driving the message that passage obtains.
Hardware sends to physical circuit after passage obtains message from driving.
Adopt an above-mentioned buffer queue to realize that message sends in Drive Layer, give simple priority threshold value to general fifo queue, rapidly and efficiently message is sent to physical circuit or from physical circuit received signal and pass to the upper strata message interface simultaneously fast, may satisfy some in particular cases, such as when interface can't service quality service (Qos) function, guarantee that the high priority message preferentially obtains handling.
When Drive Layer realizes transfer of data based on priority, message is added the buffer queue that drives in the passage sends, the specific implementation flow process of this method as shown in Figure 5, execution in step is as follows:
Step S31: obtain message from the upper strata message interface.
With reference to step S21, repeat no more herein.
Generally can realize obtaining message by the hardware module of giving out a contract for a project from high-level interface.
Step S32: whether the upper strata transmission interface has message to need to send.
If, execution in step S33; Otherwise, return and continue execution in step S31.
Step S33: whether the current queue length of buffer queue is greater than the high priority threshold value of setting.
If, execution in step S39; Otherwise, execution in step S34.
Step S34: whether the current queue length of buffer queue is less than the low priority threshold value of setting.
If, execution in step S37; Otherwise, execution in step S35.
Step S35: the permission priority of determining to allow to enter the buffer queue message is high priority.
The corresponding relation of the permission priority of and the message that allow enter buffer queue interval according to the threshold value of setting up in advance, when current queue length during greater than the low priority threshold value and less than predefined high priority thresholding, the threshold value interval at current queue length place is greater than the low priority threshold value and less than the thresholding of predefined high priority thresholding when interval, and the message priority of determining to allow to enter buffer queue is a high priority.
At Drive Layer, the message of high priority is a protocol massages, and therefore, the message that allows to enter buffer queue is a protocol massages.
Step S36: what judgement was obtained is protocol massages or data message.
If protocol massages execution in step S38; If data message execution in step S39.
Be in order to judge whether the priority of messages of obtaining belongs to the permission priority of determining that allows to enter buffer queue herein.
Step S37: the permission priority of determining to allow to enter the buffer queue message is high priority and low priority.
The corresponding relation of the permission priority of and the message that allow enter buffer queue interval according to the threshold value of setting up in advance, when current queue length during less than predefined low priority threshold value, and threshold value interval at current queue length place be when being thresholding interval less than predefined low priority threshold value, and the message priority of determining to allow to enter buffer queue is high priority and low priority.
At Drive Layer, then be that protocol massages and data message all allow to enter buffer queue.
Step S38: the message that obtains is added buffer queue.
When the message priority of determining to allow to enter buffer queue is high priority and low priority, with the message that gets access to, can be data message or protocol massages, add in the buffer queue.Therefore need not judge whether the priority of messages obtained belong to the permission priority that allows enter buffer queue determined owing to allow the message of all priority to enter this moment again.
When the message priority of determining to allow to enter buffer queue is high priority,, the protocol massages of the high priority that gets access to is added in the buffer queue according to the judgement of step S36.
When message is added buffer queue,, be about to message and join tail of the queue from the tail of the queue satchel of formation.After adding a message in the buffer queue, queue length adds 1.When take out a message transmission from the buffering formation after, queue length subtracts 1.
Step S39: abandon the message that obtains.
The corresponding relation of the permission priority of and the message that allow enter buffer queue interval according to the threshold value of setting up in advance, when queue length during greater than predefined high priority threshold value, be that the threshold value at current queue length place is interval for when interval, forbidding that message enters buffer queue greater than the thresholding of predefined high priority threshold value.Therefore be judged as when being at step S33, abandon the message that obtains.
When queue length during greater than the low priority threshold value and less than predefined high priority thresholding, only allow the message of high priority to enter buffer queue, be that the data message of low priority then abandons therefore if step S36 determines what obtain.
The method of the foregoing description two.When the driving aspect when the upper strata message interface obtains message and joins the team, add the message that obtains to the tail of the queue of buffer queue, comprise data message and protocol massages; When queue length reaches the low priority threshold value, only the protocol massages that obtains is added the tail of the queue of buffer queue; When queue length reaches the high priority threshold value, no longer join message, and abandon unnecessary message to buffer queue.Because the time interval unit of two protocol massages appearance according to the characteristic of hardware transmission message, can set out the priority threshold value of buffer queue in level second easily generally speaking, and guarantees can not abandon protocol massages as far as possible.
The data transmission method that provides according to the embodiment of the invention based on priority, can make up a kind of data transmission device based on priority, this device can be arranged in any network equipment with data-transformation facility, the structure of this device comprises as shown in Figure 6: acquisition module 10, judge module 20, determination module 30 and the module 40 of joining the team.
Acquisition module 10 is used to obtain message to be sent.
Judge module 20 when being used for acquisition module 10 and getting access to message to be sent, is identified for the threshold value interval at current queue length place of the buffer queue of buffer memory message to be sent.
Determination module 30, be used for according to the threshold value interval of determining, and the corresponding relation of the interval permission priority with the message that allows to enter buffer queue of the threshold value of setting up in advance, determine to allow to enter the permission priority of message of the described buffer queue of buffer memory message to be sent.
The module 40 of joining the team is used for whether belonging to the permission priority that determination module 30 is determined according to the priority of messages of obtaining, and determines whether that the message that will obtain adds described buffer queue.
Preferably, above-mentioned data transmission device based on priority also comprises: sending module 50.
The above-mentioned module of joining the team, the message that specifically is used for getting access to joins the tail of the queue of buffer queue; Sending module 50 is used for obtaining message from the head of buffering formation and sends.
Preferably, above-mentioned data transmission device based on priority also comprises: update module 60 is used for joining message or after sending module 50 obtains message the formation from buffering and send, upgrading the queue length of buffer queue to buffer queue when the module 40 of joining the team.
The said apparatus that the embodiment of the invention provides is arranged on applicable to buffer queue in the driving passage of Drive Layer, and each drives the situation that a buffer queue is set in the passage.At this moment, above-mentioned acquisition module 10 specifically is used for: obtain data message to be sent or protocol massages from the upper strata message interface.
The situation of having only two priority at Drive Layer, above-mentioned determination module 30, specifically be used for according to the threshold value interval of determining, and the corresponding relation of the interval permission priority with the message that allows to enter buffer queue of the threshold value of setting up in advance, when threshold value interval of determining was thresholding interval less than predefined low priority threshold value, the permission priority of determining to allow to enter the message of buffer queue was high priority and low priority; When threshold value interval of determining is during greater than described low priority threshold value and less than the thresholding interval of predefined high priority thresholding, the permission priority of determining to allow to enter the message of buffer queue is high priority; When threshold value interval of determining is thresholding interval greater than predefined high priority threshold value, forbid that message enters buffer queue.
Accordingly, the above-mentioned module 40 of joining the team specifically is used for: when the permission priority of determining is high priority and low priority, will gets access to protocol massages or data message and add in the buffer queue; When the permission priority of determining is high priority, if what get access to is that protocol massages then adds in the buffer queue, if what get access to is that data message in the message then abandons.
Data transmission method and device based on priority that the embodiment of the invention provides, it is less to be particularly useful for high priority message number, the situation that low priority message number is more.
Data transmission method and device that the embodiment of the invention provides based on priority, only come buffer memory message to be sent by a buffer queue, the message of a plurality of priority is merged in this buffer queue, threshold value interval according to queue length and setting, restriction adds the priority of messages of buffer queue, it is simple, efficient that this method realizes, and effectively avoided a plurality of priority queries of poll in the multipriority message process of transmitting and safeguarded that the overhead that a plurality of formation caused is big, influenced the problem of systematic function.
Simultaneously, by the threshold value interval of setting, definite priority of messages that can enter buffer queue, thus ensured that message transmits according to priority separately, ensured that the message of high priority can preferentially be sent out.Especially the message at Drive Layer sends, even when not disposing upper-layer service, not safeguarding a plurality of formations, also can realize the message of priority treatment high priority, guarantee that in system communication is unimpeded when busy, greatly reduce the overhead that sends in the message process, improved overall system performance.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (10)

1. the data transmission method based on priority is characterized in that, comprising:
When getting access to message to be sent, be identified for the threshold value interval at current queue length place of the buffer queue of buffer memory message to be sent;
According to the threshold value interval of determining, and the corresponding relation of the interval permission priority with the message that allows to enter buffer queue of the threshold value of setting up in advance, determine to allow to enter the permission priority of message of the described buffer queue of buffer memory message to be sent;
Whether belong to definite described permission priority according to the priority of messages of obtaining, determine whether that the message that will obtain adds described buffer queue.
2. the method for claim 1 is characterized in that, described buffer queue is arranged in the driving passage of Drive Layer, and each drives in the passage buffer queue is set.
3. method as claimed in claim 2 is characterized in that, obtains message to be sent, specifically comprises: obtain data message to be sent or protocol massages from the upper strata message interface.
4. method as claimed in claim 3, it is characterized in that, according to the threshold value interval of determining, and the corresponding relation of the interval permission priority with the message that allows to enter buffer queue of the threshold value of setting up in advance, determine to allow to enter the permission priority of message of the described buffer queue of buffer memory message to be sent, comprising:
According to the threshold value interval of determining, and the corresponding relation of the interval permission priority with the message that allows to enter buffer queue of the threshold value of setting up in advance, when threshold value interval of determining was thresholding interval less than predefined low priority threshold value, the permission priority of determining to allow to enter the message of buffer queue was high priority and low priority; When threshold value interval of determining is during greater than described low priority threshold value and less than the thresholding interval of predefined high priority thresholding, the permission priority of determining to allow to enter the message of buffer queue is high priority; When threshold value interval of determining is thresholding interval greater than predefined high priority threshold value, forbid that message enters buffer queue;
Whether the priority of messages that described basis is obtained belongs to definite described permission priority, determines whether that the message that will obtain adds described buffer queue, specifically comprises:
When the permission priority of determining is high priority and low priority, the message of getting is added in the described buffer queue;
When the permission priority of determining is high priority, if what get access to is that protocol massages then adds in the described buffer queue, and if what get access to is that data message then abandons.
5. as the arbitrary described method of claim 1-4, it is characterized in that described buffer queue is a fifo queue, when in described buffer queue, joining message, message is joined the tail of the queue of described buffer queue; When from described buffer queue, obtaining message and send, obtain message from the head of described buffer queue and send.
6. method as claimed in claim 5 is characterized in that, also comprises:
After in described buffer queue, joining message or from described buffer queue, obtaining the message transmission, upgrade the queue length of described buffer queue.
7. the data transmission device based on priority is characterized in that, comprising:
Acquisition module is used to obtain message to be sent;
Judge module when being used for described acquisition module and getting access to message to be sent, is identified for the threshold value interval at current queue length place of the buffer queue of buffer memory message to be sent;
Determination module, be used for according to the threshold value interval of determining, and the corresponding relation of the interval permission priority with the message that allows to enter buffer queue of the threshold value of setting up in advance, determine to allow to enter the permission priority of message of the described buffer queue of buffer memory message to be sent;
The module of joining the team is used for whether belonging to definite described permission priority according to the priority of messages of obtaining, and determines whether that the message that will obtain adds described buffer queue.
8. device as claimed in claim 7 is characterized in that, also comprises: sending module;
The described module of joining the team, the message that specifically is used for getting access to joins the tail of the queue of described buffer queue;
Described sending module is used for obtaining message from the head of described buffer queue and sends.
9. device as claimed in claim 8 is characterized in that, also comprises:
Update module is used for upgrading the queue length of described buffer queue after joining message to described buffer queue or obtaining message send from described buffer queue.
10. a network equipment is characterized in that, comprises arbitrary described data transmission device based on priority as claim 7-9.
CN2010105992255A 2010-12-21 2010-12-21 Data transmission method and device based on priority level as well as network equipment Pending CN102025638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105992255A CN102025638A (en) 2010-12-21 2010-12-21 Data transmission method and device based on priority level as well as network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105992255A CN102025638A (en) 2010-12-21 2010-12-21 Data transmission method and device based on priority level as well as network equipment

Publications (1)

Publication Number Publication Date
CN102025638A true CN102025638A (en) 2011-04-20

Family

ID=43866511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105992255A Pending CN102025638A (en) 2010-12-21 2010-12-21 Data transmission method and device based on priority level as well as network equipment

Country Status (1)

Country Link
CN (1) CN102025638A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594691A (en) * 2012-02-23 2012-07-18 中兴通讯股份有限公司 Method and device for processing message
WO2012171460A1 (en) * 2011-06-17 2012-12-20 中兴通讯股份有限公司 Method and device for packet transmission
CN103036794A (en) * 2011-10-10 2013-04-10 华为技术有限公司 Learning method, device and system of message
CN103731238B (en) * 2013-12-11 2017-04-05 福建星网锐捷网络有限公司 Data transmission method for uplink and device
CN107005461A (en) * 2014-12-08 2017-08-01 华为技术有限公司 A kind of data transmission method and equipment
WO2017206587A1 (en) * 2016-05-30 2017-12-07 中兴通讯股份有限公司 Method and device for scheduling priority queue
CN108055556A (en) * 2017-11-16 2018-05-18 北京达佳互联信息技术有限公司 Data processing method and device
CN108306717A (en) * 2018-01-30 2018-07-20 平安科技(深圳)有限公司 Data transmission method, server and storage medium
WO2018171115A1 (en) * 2017-03-21 2018-09-27 中兴通讯股份有限公司 Quality of service assurance method for fragment and field-programmable gate array
CN109067595A (en) * 2018-09-20 2018-12-21 迈普通信技术股份有限公司 The method of configuration message priority
CN109327403A (en) * 2018-12-04 2019-02-12 锐捷网络股份有限公司 A kind of flow control method, device, the network equipment and storage medium
CN110493145A (en) * 2019-08-01 2019-11-22 新华三大数据技术有限公司 A kind of caching method and device
CN110764709A (en) * 2019-10-28 2020-02-07 锐捷网络股份有限公司 Message processing method and device
CN111385269A (en) * 2018-12-29 2020-07-07 广州市百果园网络科技有限公司 Data transmission method and device
CN113114589A (en) * 2021-04-28 2021-07-13 北京中宏立达信创科技有限公司 Cross-network data secure transmission system and method
CN113162871A (en) * 2021-04-22 2021-07-23 成都华微电子科技有限公司 Data transmission method, data transmission circuit and artificial intelligence chip
CN113923169A (en) * 2021-10-11 2022-01-11 浙江大华技术股份有限公司 Message filtering method and device, storage medium and electronic device
CN117857475A (en) * 2024-03-08 2024-04-09 中车南京浦镇车辆有限公司 Data transmission scheduling method and system for Ethernet train control network

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030165147A1 (en) * 2000-09-18 2003-09-04 Nec Corporation Memory-write decision circuit capable of simultaneously processing multiple items of data, and ATM switch having said circuit
CN101616097A (en) * 2009-07-31 2009-12-30 中兴通讯股份有限公司 A kind of management method of output port queue of network processor and system
CN101800699A (en) * 2010-02-09 2010-08-11 上海华为技术有限公司 Method and device for dropping packets

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030165147A1 (en) * 2000-09-18 2003-09-04 Nec Corporation Memory-write decision circuit capable of simultaneously processing multiple items of data, and ATM switch having said circuit
CN101616097A (en) * 2009-07-31 2009-12-30 中兴通讯股份有限公司 A kind of management method of output port queue of network processor and system
CN101800699A (en) * 2010-02-09 2010-08-11 上海华为技术有限公司 Method and device for dropping packets

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012171460A1 (en) * 2011-06-17 2012-12-20 中兴通讯股份有限公司 Method and device for packet transmission
CN103036794A (en) * 2011-10-10 2013-04-10 华为技术有限公司 Learning method, device and system of message
CN102594691A (en) * 2012-02-23 2012-07-18 中兴通讯股份有限公司 Method and device for processing message
CN102594691B (en) * 2012-02-23 2019-02-15 中兴通讯股份有限公司 A kind of method and device handling message
CN103731238B (en) * 2013-12-11 2017-04-05 福建星网锐捷网络有限公司 Data transmission method for uplink and device
CN107005461B (en) * 2014-12-08 2020-08-14 华为技术有限公司 Data transmission method and equipment
CN107005461A (en) * 2014-12-08 2017-08-01 华为技术有限公司 A kind of data transmission method and equipment
US10348635B2 (en) 2014-12-08 2019-07-09 Huawei Technologies Co., Ltd. Data transmission method and device
WO2017206587A1 (en) * 2016-05-30 2017-12-07 中兴通讯股份有限公司 Method and device for scheduling priority queue
WO2018171115A1 (en) * 2017-03-21 2018-09-27 中兴通讯股份有限公司 Quality of service assurance method for fragment and field-programmable gate array
CN108055556A (en) * 2017-11-16 2018-05-18 北京达佳互联信息技术有限公司 Data processing method and device
US11218780B2 (en) * 2017-11-16 2022-01-04 Beijing Dajia Internet Information Technology Co., Ltd. Data processing Method and device
CN108055556B (en) * 2017-11-16 2019-09-03 北京达佳互联信息技术有限公司 Data processing method and device
WO2019096122A1 (en) * 2017-11-16 2019-05-23 北京达佳互联信息技术有限公司 Data processing method and device
CN108306717A (en) * 2018-01-30 2018-07-20 平安科技(深圳)有限公司 Data transmission method, server and storage medium
CN108306717B (en) * 2018-01-30 2019-03-15 平安科技(深圳)有限公司 Data transmission method, server and storage medium
CN109067595B (en) * 2018-09-20 2022-04-01 迈普通信技术股份有限公司 Method for configuring message priority
CN109067595A (en) * 2018-09-20 2018-12-21 迈普通信技术股份有限公司 The method of configuration message priority
CN109327403A (en) * 2018-12-04 2019-02-12 锐捷网络股份有限公司 A kind of flow control method, device, the network equipment and storage medium
CN111385269A (en) * 2018-12-29 2020-07-07 广州市百果园网络科技有限公司 Data transmission method and device
CN110493145A (en) * 2019-08-01 2019-11-22 新华三大数据技术有限公司 A kind of caching method and device
CN110493145B (en) * 2019-08-01 2022-06-24 新华三大数据技术有限公司 Caching method and device
CN110764709A (en) * 2019-10-28 2020-02-07 锐捷网络股份有限公司 Message processing method and device
CN110764709B (en) * 2019-10-28 2022-11-11 锐捷网络股份有限公司 Message processing method and device
CN113162871A (en) * 2021-04-22 2021-07-23 成都华微电子科技有限公司 Data transmission method, data transmission circuit and artificial intelligence chip
CN113114589A (en) * 2021-04-28 2021-07-13 北京中宏立达信创科技有限公司 Cross-network data secure transmission system and method
CN113923169A (en) * 2021-10-11 2022-01-11 浙江大华技术股份有限公司 Message filtering method and device, storage medium and electronic device
CN117857475A (en) * 2024-03-08 2024-04-09 中车南京浦镇车辆有限公司 Data transmission scheduling method and system for Ethernet train control network
CN117857475B (en) * 2024-03-08 2024-05-14 中车南京浦镇车辆有限公司 Data transmission scheduling method and system for Ethernet train control network

Similar Documents

Publication Publication Date Title
CN102025638A (en) Data transmission method and device based on priority level as well as network equipment
TWI510030B (en) System and method for performing packet queuing on a client device using packet service classifications
CN100477633C (en) Method for improving service quality in wireless network
CN105191216B (en) The system and method for Buffer Status Report for multithread polymerization
US6879561B1 (en) Method and system for wireless packet scheduling with per packet QoS support and link adaptation
KR101011441B1 (en) Method and apparatus for performing buffer status reporting
CN100407698C (en) Data transmission method for wireless link control layer
CN102347901A (en) Memory management for high speed media access control
CN101572672A (en) Method and apparatus for priority based flow control in an Ethernet architecture
EP2051459A1 (en) A backpressure method, system and node of the multistage switch network and the intermediate stage switch node
CN104301066A (en) Data packet transmission method and device
CN101127686A (en) A network data processing method and device
CN102348292B (en) Data transmission method and device based on MAC (media access control) sublayer and RLC (radio link control) sublayer
CN102811176B (en) A kind of data flow control method and device
CN103841041A (en) Multi-stream business concurrent transmission control method and device
US8139491B2 (en) Communication method, node, and control program
CN107734695A (en) A kind of up single shot approach of terminal, 5G newly eat dishes without rice or wine base station and LTE base station
CN104717041A (en) Method and device for transmitting data
KR20090094760A (en) Method and apparatus for performing buffer status reporting
CN101682916A (en) Method for sending rlc pdu and allocating radio resource in mobile communications system and rlc entity of mobile communications
US20080192633A1 (en) Apparatus and method for controlling data flow in communication system
CN102685816A (en) User plane configuration parameter processing method and device
CN102333026A (en) Message forwarding method and device
CN106507495A (en) Uplink authorization processing method and relevant device
CN107959639A (en) A kind of method and device for business processing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110420