CN103888372A - Traffic shaping method and data processing equipment - Google Patents

Traffic shaping method and data processing equipment Download PDF

Info

Publication number
CN103888372A
CN103888372A CN201210560438.6A CN201210560438A CN103888372A CN 103888372 A CN103888372 A CN 103888372A CN 201210560438 A CN201210560438 A CN 201210560438A CN 103888372 A CN103888372 A CN 103888372A
Authority
CN
China
Prior art keywords
message
data
offset
data descriptor
descriptor
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.)
Granted
Application number
CN201210560438.6A
Other languages
Chinese (zh)
Other versions
CN103888372B (en
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210560438.6A priority Critical patent/CN103888372B/en
Publication of CN103888372A publication Critical patent/CN103888372A/en
Application granted granted Critical
Publication of CN103888372B publication Critical patent/CN103888372B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The invention provides a traffic shaping method and data processing equipment. The method is characterized by generating a compensation value, wherein the compensation value is not more than the alteration value of byte of a message in the process of first overhead processing; and after compensating message length value in a data descriptor of message data based on the compensation value, carrying out traffic shaping scheduling so as to enable the message length in the data descriptor corresponding to the message data to be same with the actual sent length of the message. Therefore, the precision of traffic shaping is improved, the probability that the message is discarded in receiving equipment is reduced, and the utilization rate of link bandwidth can be further improved.

Description

A kind of flow shaping method and data processing equipment
Technical field
The present invention relates to communication technical field, relate in particular to a kind of flow shaping method and data processing equipment.
Background technology
In existing network, conventionally utilize flow shape technique, a certain connection to a certain network irregular or the burst flow that does not meet predetermined amount of flow characteristic limit outflow, active accommodation goes out to port flow output speed, message is outwards sent with more uniform speed, be beneficial to the bandwidth match between network upstream and downstream module or equipment, avoid unnecessary packet loss and congested.
Traffic shaping adopts buffer queue and token bucket mode to realize conventionally, too fast when message transmitting spped rate, is cached in buffer queue not meeting the message of discharge characteristic, reduces abandoning of the message that caused by burst flow.In the time that token bucket has enough tokens, more outwards send uniformly these messages that are buffered, therefore traffic shaping may increase delay.
Please refer to Fig. 1, in existing message process of transmitting, as device A sends message to equipment B, in order to reduce the loss of the message being caused by device A burst flow, can carry out traffic shaping processing to message in the outlet of device A, to the message of excess flow shaping discharge characteristic, will be in device A buffer memory, in the time can continuing to send next group message, then from buffer queue, take out message and send.The message that mails to like this equipment B will all meet the flow regulation of equipment B, thereby reduces message abandoning in equipment B.On the contrary, if do not do traffic shaping processing in the outlet of device A, all messages that exceed equipment B discharge characteristic will be abandoned by equipment B.
But in actual applications, device A sending direction carries out general traffic shaping to the message that sends to equipment B, often, in order to improve packaging efficiency and link bandwidth utilization rate, in device A inside, header compressed or add, and encapsulated message again.If the message length in flow shaping dispatching queue is originally L, after before transmission, header being compressed or adding, message length becomes L-X or L+X(X is message length changing value).Message length while causing the message that forwards on physical link and device A to carry out traffic shaping can be inconsistent, thereby reduce the precision of traffic shaping, if in the time sending, actual message length increases, and likely in the time that equipment B receives, exceeds its flow and stipulates and be dropped; And in the time that device A sends, its actual message length reduces, can reduce physical link bandwidth usage efficiency.So how effectively improving the precision of traffic shaping is to need the problem of solution badly.
Summary of the invention
The main technical problem to be solved in the present invention is, a kind of flow shaping method and data processing equipment are provided, and avoided causing because of traffic shaping the problem that packet loss and link bandwidth utilization rate are low.
For solving the problems of the technologies described above, the technical solution used in the present invention is as follows:
A kind of flow shaping method is provided, comprises the following steps:
Data processing equipment receives message;
Described message is carried out to the first overhead processing, obtain message data;
Generate offset; Described offset is not more than the change value of described message byte in the first overhead processing process;
Obtain the data descriptor that described message data is corresponding, described data descriptor comprises: the message length value of described message data; And revise described message length value according to described offset;
Described data descriptor after revising is joined in flow shaping dispatching queue;
When described data descriptor is dispatched successfully, while entering transmission state, read described data descriptor, and recover the message length value of revising according to described offset;
According to the described data descriptor after recovering, read corresponding message data, and described message data is carried out to the second overhead processing;
Send newly-generated message.
Further, described offset is the change value of described message byte in the first overhead processing process.
Further, the mode of described generation offset is specially: the change value that directly records byte in the first overhead processing process of described message in the time receiving; Or according to the type of described data processing equipment, calculate described change value.
Further, described the first overhead processing comprises the following steps: add subport Vlan, peel off message lead code and frame period, peel off FCS.
Further, described the second overhead processing comprises the following steps: add message lead code and frame period, add FCS, elevator port Vlan.
Further, if described message byte number in the first overhead processing increases, described offset is for just, and the absolute value of described offset equals the absolute value of described message byte number increase numerical value; If described message byte number in the first overhead processing reduces, described offset is for negative, and the absolute value of described offset equals the absolute value of described message byte number minimizing numerical value.
Further, when described offset is timing, the modification of message length value in the data descriptor of described message is comprised the following steps:
Obtain the data descriptor that described message data is corresponding, the message length value recording is deducted to the absolute value of described offset in described data descriptor; Described data descriptor after revising is joined in flow shaping dispatching queue; When described data descriptor is dispatched successfully, while entering transmission state, read described data descriptor, the message length value recording in described data descriptor is added to the absolute value of the above offset;
When described offset is when negative, the modification of the data descriptor to described message comprises following step:
Obtain the data descriptor that described message data is corresponding, the message length value recording is added to the absolute value of the above offset in described data descriptor; Described data descriptor after revising is joined in flow shaping dispatching queue; When described data descriptor is dispatched successfully, while entering transmission state, read described data descriptor, the message length value recording in described data descriptor is deducted to the absolute value of described offset.
Further, before reading described data descriptor, further comprising the steps of:
Described data processing equipment is processed described message data, sets up the data descriptor corresponding with described message data.
Further, by revise after described data descriptor join flow shaping dispatching queue in before, further comprising the steps of: by traffic shaping compensate enable to be mapped in described data descriptor with offset.
The present invention also provides a kind of data processing equipment, comprising: receiver module, generation module, the first adjusting module, the second adjusting module and sending module;
Described receiver module is used for receiving message, and described message is carried out to the first overhead processing, obtains message data;
Described generation module is used for generating offset; Described offset is not more than the change value of described message byte in the first overhead processing process;
The first adjusting module is used for obtaining the data descriptor that described message data is corresponding, and revises described message length value according to described offset, and the described data descriptor after revising is joined in flow shaping dispatching queue;
Described the second adjusting module, for dispatching successfully when described data descriptor, while entering transmission state, reads described data descriptor, and recovers the message length value of revising according to described offset;
Described sending module, for according to the described data descriptor after recovering, reads corresponding message data, it is carried out to the second overhead processing, and the message of finishing dealing with is sent.
Further, the offset that described generation module generates is the change value of described message byte in the first overhead processing process.
Further, described generation module comprises collecting unit or computing unit; Described collecting unit is for directly gathering the change value of described message in the first overhead processing process byte; Described computing unit, for according to the type of described data processing equipment, calculates described change value.
Further, described receiver module also, for described message is carried out to the first overhead processing, comprising: add subport Vlan, peel off message lead code and frame period, peel off FCS.
Further, described sending module also, for described message is carried out to the second overhead processing, comprising: add message lead code and frame period, add FCS, elevator port Vlan.
Further, described generation module also comprises: judging unit;
Described judging unit is used for judging that described message is to increase or reduce at the first overhead processing process byte number, if increase, remember that described offset is for just, if reduce, remember that described offset is for negative, and the absolute value of described offset equals the absolute value of described message byte number variation numerical value.
Further, described the first adjusting module also comprises: the first positive justification unit and the first negative justification unit; Described the second adjusting module also comprises: the second positive justification unit and the second negative justification unit;
Described the first positive justification unit, for being timing when described offset, obtains the data descriptor that described message data is corresponding, the message length value recording is deducted to the absolute value of described offset in described data descriptor; Described data descriptor after revising is joined in flow shaping dispatching queue;
Described the second positive justification unit, for being timing when described offset, reads described data descriptor, the message length value recording is added to the absolute value of the above offset in described data descriptor;
Described the first negative justification unit for when described offset for bear time, obtain the data descriptor that described message data is corresponding, the message length value recording in described data descriptor is added to the absolute value of the above offset; Described data descriptor after revising is joined in flow shaping dispatching queue;
Described the second negative justification unit for when described offset for bear time, read described data descriptor, the message length value recording in described data descriptor is deducted to the absolute value of described offset.
Further, described data processing equipment also comprises: processing module; Described processing module is for described message data is processed, and the foundation data descriptor corresponding with described message data.
Further, described the first adjusting module is also for enabling traffic shaping compensation to be mapped to described data descriptor with offset.
The invention has the beneficial effects as follows: a kind of flow shaping method and data processing equipment are provided, by generating an offset, this offset is not more than the change value of message byte in the first overhead processing process, and according to this offset, message length value in the data descriptor of message data is compensated to laggard inbound traffics shaping scheduling, make the message length value in the corresponding data descriptor of message data identical with the length of the last actual transmission of message.Thereby improve the precision of traffic shaping, reduced the probability that message is dropped on receiving equipment, also can further improve link bandwidth utilization rate.
Further, in the present invention, offset has positive and negative dividing, when offset is timing, message length value is realized and just being compensated, make the message length value in data descriptor in flow shaping dispatching identical with the message length of actual transmission, thereby improved link bandwidth utilization rate; When offset is when negative, message length value is realized to negative compensation, make the message length value in data descriptor in flow shaping dispatching identical with the actual message length sending, thereby made to improve the precision of traffic shaping, reduced the probability that message is dropped on receiving equipment.
Accompanying drawing explanation
Fig. 1 is traffic shaping process schematic diagram in this prior art;
Fig. 2 is data processing equipment structural representation in one embodiment of the invention;
Fig. 3 is flow shaping method flow chart in one embodiment of the invention.
Embodiment
General idea of the present invention is: by before the data descriptor of message is put into scheduling queue, according to offset, message length value is wherein made an amendment, the message length value of message in queue equated with the actual message length sending.The size of the actual transmission of message and the flow of receiving device regulation are matched, thereby reduce probability and raising link bandwidth utilization rate that message is dropped.In the application, need to set an offset, as long as this offset is not more than the byte change value of message message length in the first overhead processing in theory, just can realize technical scheme of the present invention, but preferably, realizing the best scheme of effect is, offset equals the byte change value of message message length in the first overhead processing, can make compensation maximize, and effectively avoids traffic shaping and causes packet loss and the low problem of link bandwidth utilization rate.After generating offset, after being compensated, the message length value in data descriptor corresponding to message data puts in scheduling queue.And after dispatching successfully, while entering transmission state, the message length value in data descriptor is recovered, carry out sending after the second overhead processing.For making technical solution of the present invention and advantage clearer, by reference to the accompanying drawings the present invention is described in further detail below by embodiment.
Please refer to Fig. 2, a kind of data processing equipment is provided in this application, it comprises: receiver module, generation module, the first adjusting module, the second adjusting module and sending module.Wherein, receiver module is used for receiving message; Generation module is used for generating offset; Described offset is not more than the change value of message byte in the first overhead processing process; But in the present embodiment, set forth for convenient, adopt preferably offset value mode of one in the application, offset equals the mode of this message change value of byte in the first overhead processing process to describe this programme.The first adjusting module is used for obtaining the data descriptor that message data is corresponding, and revises message length value wherein according to offset, then the described data descriptor after revising is joined in flow shaping dispatching queue; The second adjusting module, for dispatching successfully when data descriptor, while entering transmission state, reads this data descriptor, and recovers the message length value of revising according to offset; Sending module, for according to the data descriptor after recovering, reads corresponding message data, it is carried out to the second overhead processing, and the message of finishing dealing with is sent.In the present embodiment, data processing equipment can also comprise further: processing module; This processing module place will be used for message data to process, and the foundation data descriptor corresponding with described message data.
In the present embodiment, generation module can further comprise collecting unit or computing unit; Wherein, collecting unit is used for directly gathering the change value of message in the first overhead processing process byte, and sets it as offset; Computing unit is mainly used in the type according to described data processing equipment, calculates described change value.Both obtain offset according to different obtain manners.Generation module in the present embodiment also can further comprise: judging unit; This judging unit is mainly used in judging that message byte number in the first overhead processing process is to increase or reduce, if increase, remember that described offset is for just, if reduce, remember that described offset is for negative, and the absolute value of offset equals the absolute value of described message byte number variation numerical value.
The first adjusting module in the present embodiment can also comprise: the first positive justification unit and the first negative justification unit; The second adjusting module can also comprise: the second positive justification unit and the second negative justification unit.Wherein, the first positive justification unit and the second positive justification unit are timing for working as offset, message length value in data descriptor is adjusted, and the first negative justification unit and the second negative justification unit for when offset for bear time, the message length value in data descriptor is adjusted.
Please refer to Fig. 3, in order to make the flow shaping method explanation in the application more clear, below in conjunction with the concrete effect of data processing equipment in the application, the flow shaping method in the application is elaborated.
Flow shaping method in the application comprises the following steps:
Step 302: data processing equipment receives message, and message is carried out to the first overhead processing, obtains message data; Enter step 304.
In this step, receive the message from each physical port by the receiver module in data processing equipment, and in order to carry out follow-up processing procedure to message, receiver module is after receiving message, also need it to carry out the first overhead processing, and the first overhead processing comprises: add subport Vlan(Virtual Local Area Network, VLAN), peel off message lead code and frame period, peel off FCS(Flash Communication Server, frame check sequence), and according to the difference of each data processing equipment and message, carry out after overhead processing at message, the changing value of byte is also different.
Step 304: obtain offset; Enter step 306.
In this step, the change of being obtained message message length byte in the first overhead processing by generation module is worth, this value is offset, and the acquisition methods of this value can be: the collecting unit in generation module directly gathers receiver module and message carried out to the change value of byte in message the first overhead processing process, and sets it as offset; Or by computing unit mainly according to the type of described data processing equipment and message, by calculating the offset of this message.In the present embodiment, the value mode of offset is not limited to identical with message change value, in theory as long as it is less than message length change value and can realizes the scheme in the application, in the application, to be worth situation about equating with message length change be only preferably execution mode of one to offset.
Step 306: obtain the data descriptor that message data is corresponding, and revise message length value wherein according to described offset; Enter step 308.
Before this step, can also comprise the following steps: message data is processed, and the foundation data descriptor corresponding with message data.At receiver module, message is carried out, after overhead processing, by processing module, it being carried out to Business Processing, and the foundation data descriptor corresponding with message data.Data descriptor comprises the message length value of message data.
Before this step, further comprising the steps of: to judge the positive and negative of offset.This process is completed by the judging unit of generation module, if message byte number in the first overhead processing process increases, judging unit judge that offset is for just, and the absolute value of offset equals the absolute value of described byte number increase numerical value; If message byte number in the first overhead processing reduces, judge that offset is negative, the absolute value of offset equals the absolute value of described byte number minimizing numerical value.
In this step, if judge module judges that offset is for just, the data descriptor of this message data is transferred in the first positive justification unit in the first adjusting module, and message length value is wherein deducted to the absolute value of offset.If judge module judges that offset is for negative, the data descriptor of this message is transferred in the first negative justification unit in the first adjusting module, and message length value is wherein added to the absolute value of offset.
In addition, after completing this step, further comprising the steps of: traffic shaping compensation is enabled to be mapped in described data descriptor with offset.In order to make subsequent module process accordingly message fast, traffic shaping compensation need to be enabled to be mapped to data descriptor with offset, so that subsequent module operates message data.
Step 308: the data descriptor after revising is joined in flow shaping dispatching queue; Enter step 310.
Step 310: data descriptor is dispatched successfully, while entering transmission state, reads described data descriptor, and recovers the message length value of revising according to described offset; Enter step 312.
In this step, if offset for just, the second positive justification unit reads data descriptor, adds the message length value recording in data descriptor the absolute value of the above offset.If offset is for negative, the second negative justification unit reads this data descriptor, the message length value recording is deducted to the absolute value of described offset in data descriptor.Although actual message data length is now not identical with the message length value in flow shaping dispatching, before sending, message data also needs message to carry out the second overhead processing.So message length when processing procedure now can guarantee through the message length after the second overhead processing with flow shaping dispatching is identical, reduces the loss ratio of message and the utilance of bandwidth with this.
Step 312: according to the data descriptor after recovering, read corresponding message data, and message data is carried out to the second overhead processing; Enter step 314.
In this step, message data is carried out to the anti-operation of the first overhead processing, message data is added to message lead code and frame period, add FCS, elevator port Vlan.So that message can normally send.
Step 314: send newly-generated message.
Below with PTN(Packet Transport Network, Packet Transport Network) equipment is example, the idiographic flow of traffic shaping processing in the application is described, this equipment is made up of 1 master control power board (abbreviation mainboard) and 4 service processing boards, its mainboard adopts the WP3 chip of PMC company, ether service processing board (abbreviation line card) is responsible for subport Vlan and is added and delete, and transparent transmission processing.Here before message data being joined the team, be called receive direction, go out team and be called sending direction, specific implementation method step is as follows:
Receive direction:
Step 401: line card 1 receives message, adds 4 byte subport Vlan; Mainboard receives MAC and peels off 20 byte lead code and frame periods, and mainboard traffic classification is peeled off 4 byte FCS, obtains message data;
Step 402: the plate type that changes and obtain according to message length in step 401, calculated flow rate shaping offset, offset=4 – 20-4=-20 byte;
Step 403: message data, through the processing of mainboard WP3 chip, obtains final output data description symbol, and the compensation mark of step 402 and offset are write to this data descriptor;
Step 404: obtain data descriptor (BD, Buffer Descriptor), according to the configuration in step 403, message length value in BD is added to 20 bytes, traffic shaping compensation is enabled to be mapped in BD with offset, after upgrading, content is written back in BD again;
Step 405: by the BD flow shaping dispatching queue of joining the team after upgrading in step 404;
Sending direction:
Step 406: when scheduler traffic shaping, according to traffic shaping parameter and the algorithm of queue configuration, the BD in read step 404 goes out team, then enables and offset according to the traffic shaping compensation of the mapping in BD, and the message length value in BD is deducted to 20 bytes;
Step 407: the message length value after upgrading according to BD in step 406, read the memory block that message data is pointed to from BD, sends to out to port;
Step 408: mainboard sends MAC and adds 20 byte lead code and frame periods, adds 4 byte FCS;
Step 409: message sends to physical circuit after line card 2 is peeled off 4 byte subport Vlan;
Above content is in conjunction with concrete execution mode further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (18)

1. a flow shaping method, is characterized in that, comprises the following steps:
Data processing equipment receives message;
Described message is carried out to the first overhead processing, obtain message data;
Generate offset; Described offset is not more than the change value of described message byte in the first overhead processing process;
Obtain the data descriptor that described message data is corresponding, described data descriptor comprises: the message length value of described message data; And revise described message length value according to described offset;
Described data descriptor after revising is joined in flow shaping dispatching queue;
When described data descriptor scheduling queue success, while entering transmission state, read described data descriptor, and recover the message length value of revising according to described offset;
According to the described data descriptor after recovering, read corresponding message data, and described message data is carried out to the second overhead processing;
Send newly-generated message.
2. flow shaping method as claimed in claim 1, is characterized in that, described offset is the change value of described message byte in the first overhead processing process.
3. flow shaping method as claimed in claim 2, is characterized in that, the mode of described generation offset is specially: the change value that directly records byte in the first overhead processing process of described message in the time receiving; Or according to the type of described data processing equipment, calculate described change value.
4. flow shaping method as claimed in claim 1, is characterized in that, described the first overhead processing comprises the following steps: add subport Vlan; Peel off message lead code and frame period; Peel off FCS.
5. flow shaping method as claimed in claim 1, is characterized in that, described the second overhead processing comprises the following steps: add message lead code and frame period; Add FCS; Elevator port Vlan.
6. flow shaping method as claimed in claim 2, is characterized in that, if described message byte number in the first overhead processing increases, described offset is for just, and the absolute value of described offset equals the absolute value of described message byte number increase numerical value; If described message byte number in the first overhead processing reduces, described offset is for negative, and the absolute value of described offset equals the absolute value of described message byte number minimizing numerical value.
7. flow shaping method as claimed in claim 6, is characterized in that, when described offset is timing, the modification of message length value in the data descriptor of described message is comprised the following steps:
Obtain the data descriptor that described message data is corresponding, the message length value recording is deducted to the absolute value of described offset in described data descriptor; Described data descriptor after revising is joined in flow shaping dispatching queue; When described data descriptor scheduling queue success, while entering transmission state, read described data descriptor, the message length value recording in described data descriptor is added to the absolute value of the above offset;
When described offset is when negative, the modification of the data descriptor to described message comprises following step:
Obtain the data descriptor that described message data is corresponding, the message length value recording is added to the absolute value of the above offset in described data descriptor; Described data descriptor after revising is joined in flow shaping dispatching queue; When described data descriptor scheduling queue success, while entering transmission state, read described data descriptor, the message length value recording in described data descriptor is deducted to the absolute value of described offset.
8. the flow shaping method as described in any one in claim 1-7, is characterized in that, before reading described data descriptor, further comprising the steps of:
Described data processing equipment is processed described message data, sets up the data descriptor corresponding with described message data.
9. the flow shaping method as described in any one in claim 1-7, it is characterized in that, before in the described data descriptor after revising is joined to flow shaping dispatching queue, further comprising the steps of: traffic shaping compensation is enabled to be mapped in described data descriptor with offset.
10. a data processing equipment, is characterized in that, comprising: receiver module, generation module, the first adjusting module, the second adjusting module and sending module;
Described receiver module is used for receiving message, and described message is carried out to the first overhead processing, obtains message data;
Described generation module is used for generating offset; Described offset is not more than the change value of described message byte in the first overhead processing process;
The first adjusting module is used for obtaining the data descriptor that described message data is corresponding, and revises described message length value according to described offset, and the described data descriptor after revising is joined in flow shaping dispatching queue;
Described the second adjusting module, for when described data descriptor scheduling queue success, while entering transmission state, reads described data descriptor, and recovers the message length value of revising according to described offset;
Described sending module, for according to the described data descriptor after recovering, reads corresponding message data, it is carried out to the second overhead processing, and the message of finishing dealing with is sent.
11. data processing equipments as claimed in claim 10, is characterized in that, the offset that described generation module generates is the change value of described message byte in the first overhead processing process.
12. data processing equipments as claimed in claim 11, is characterized in that, described generation module comprises collecting unit or computing unit; Described collecting unit is for directly gathering the change value of described message in the first overhead processing process byte; Described computing unit, for according to the type of described data processing equipment, calculates described change value.
13. data processing equipments as claimed in claim 10, is characterized in that, described receiver module also, for described message is carried out to the first overhead processing, comprising: add subport Vlan; Peel off message lead code and frame period; Peel off FCS.
14. data processing equipments as claimed in claim 10, is characterized in that, described sending module also, for described message is carried out to the second overhead processing, comprising: add message lead code and frame period; Add FCS; Elevator port Vlan.
15. data processing equipments as claimed in claim 11, is characterized in that, described generation module also comprises: judging unit;
Described judging unit is used for judging that described message is to increase or reduce at the first overhead processing process byte number, if increase, remember that described offset is for just, if reduce, remember that described offset is for negative, and the absolute value of described offset equals the absolute value of described message byte number variation numerical value.
16. data processing equipments as claimed in claim 15, is characterized in that, described the first adjusting module also comprises: the first positive justification unit and the first negative justification unit; Described the second adjusting module also comprises: the second positive justification unit and the second negative justification unit;
Described the first positive justification unit, for being timing when described offset, obtains the data descriptor that described message data is corresponding, the message length value recording is deducted to the absolute value of described offset in described data descriptor; Described data descriptor after revising is joined in flow shaping dispatching queue;
Described the second positive justification unit, for being timing when described offset, reads described data descriptor, the message length value recording is added to the absolute value of the above offset in described data descriptor;
Described the first negative justification unit for when described offset for bear time, obtain the data descriptor that described message data is corresponding, the message length value recording in described data descriptor is added to the absolute value of the above offset; Described data descriptor after revising is joined in flow shaping dispatching queue;
Described the second negative justification unit for when described offset for bear time, read described data descriptor, the message length value recording in described data descriptor is deducted to the absolute value of described offset.
17. data processing equipments as described in any one in claim 10-16, is characterized in that, also comprise: processing module; Described processing module is for described message data is processed, and the foundation data descriptor corresponding with described message data.
18. data processing equipments as described in any one in claim 10-16, is characterized in that, described the first adjusting module is also for enabling traffic shaping compensation to be mapped to described data descriptor with offset.
CN201210560438.6A 2012-12-21 2012-12-21 Traffic shaping method and data processing equipment Expired - Fee Related CN103888372B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210560438.6A CN103888372B (en) 2012-12-21 2012-12-21 Traffic shaping method and data processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210560438.6A CN103888372B (en) 2012-12-21 2012-12-21 Traffic shaping method and data processing equipment

Publications (2)

Publication Number Publication Date
CN103888372A true CN103888372A (en) 2014-06-25
CN103888372B CN103888372B (en) 2017-05-17

Family

ID=50957096

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210560438.6A Expired - Fee Related CN103888372B (en) 2012-12-21 2012-12-21 Traffic shaping method and data processing equipment

Country Status (1)

Country Link
CN (1) CN103888372B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107113246A (en) * 2015-02-13 2017-08-29 三菱电机株式会社 Method and its device and computer program product for the traffic shaping of data frame in network
CN111510394A (en) * 2019-01-31 2020-08-07 华为技术有限公司 Message scheduling method, related equipment and computer storage medium
CN113746854A (en) * 2021-09-09 2021-12-03 苏州盛科通信股份有限公司 QoS management method, message transmission method and message transmission device
CN115314446A (en) * 2022-07-22 2022-11-08 武汉烽火技术服务有限公司 Message bandwidth compensation method, device and equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594692A (en) * 2012-02-23 2012-07-18 中兴通讯股份有限公司 Traffic shaping method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594692A (en) * 2012-02-23 2012-07-18 中兴通讯股份有限公司 Traffic shaping method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘元峰: "基于漏桶理论及令牌桶算法的网络流量整形策略的研究与实现", 《中国优秀硕士学位论文全文数据库》 *
时公涛: "基于IP网络服务质量的研究与实现", 《微电子学与计算机》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107113246A (en) * 2015-02-13 2017-08-29 三菱电机株式会社 Method and its device and computer program product for the traffic shaping of data frame in network
CN111510394A (en) * 2019-01-31 2020-08-07 华为技术有限公司 Message scheduling method, related equipment and computer storage medium
CN111510394B (en) * 2019-01-31 2022-04-12 华为技术有限公司 Message scheduling method, related equipment and computer storage medium
US11689465B2 (en) 2019-01-31 2023-06-27 Huawei Technologies Co., Ltd. Packet scheduling method, related device, and computer storage medium
CN113746854A (en) * 2021-09-09 2021-12-03 苏州盛科通信股份有限公司 QoS management method, message transmission method and message transmission device
CN113746854B (en) * 2021-09-09 2023-06-06 苏州盛科通信股份有限公司 QoS management method, message transmission method and message transmission device
CN115314446A (en) * 2022-07-22 2022-11-08 武汉烽火技术服务有限公司 Message bandwidth compensation method, device and equipment

Also Published As

Publication number Publication date
CN103888372B (en) 2017-05-17

Similar Documents

Publication Publication Date Title
WO2021103928A1 (en) Data transmission method and apparatus, terminal device and storage medium
CN106411773B (en) Flow shaping method in transmission of video based on token bucket and system
CN101772151B (en) Device and method for recovering clock signal of time division multiplex output
CN103888372A (en) Traffic shaping method and data processing equipment
CN104104616A (en) Method, device and system for data scheduling and exchange
WO2021103640A1 (en) Data transmission method and apparatus, terminal device, and storage medium
CN106358239A (en) Data transmission method, transmitting equipment and receiving equipment
CN101719850B (en) Device and method for carrying out statistics on Ethernet packet loss rate as well as message switching device
CN102780621B (en) A kind of upstream data packet transmission method, device and the network equipment
CN110868359A (en) Network congestion control method
CN102802200A (en) Data message sending method and equipment
CN102299861B (en) A kind of message flux control method
CN103684647B (en) Time delay removing method that PTP packet is changed between Ethernet and E1 agreement and device
CN101631074B (en) Multilink message sending method, device and network equipment
EP2472756A1 (en) Method and system for aligning each dispatching service in optical transfer networks
CN101141351B (en) Method of settling frame loss of frequency offset
CN110750486A (en) RDMA data stream control method, system, electronic device and readable storage medium
CN102739531A (en) Traffic shaping method and traffic shaping equipment
CN101789843A (en) Method for implementing multi-line E1 binding and network bridge
US10079769B1 (en) Methods and apparatus for implementing dynamic rate controllers using linked list of rate programs
CN108768810A (en) A kind of transient state big data high-efficiency transmission method based on FC
CN103873384B (en) Control device and method for SAR (segment and regenerate) receiving queue cache in OTN (optical transform network) packet switching system
CN112165434A (en) Method and system for transparent transmission of CBR signal in packet switching system
CN105656804A (en) Message processing method and device
CN101296189A (en) Distributed stream processing network appliance and packet transmission method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170517

Termination date: 20191221

CF01 Termination of patent right due to non-payment of annual fee