CN104301185A - Message sending rate detection method and device - Google Patents

Message sending rate detection method and device Download PDF

Info

Publication number
CN104301185A
CN104301185A CN201410616915.5A CN201410616915A CN104301185A CN 104301185 A CN104301185 A CN 104301185A CN 201410616915 A CN201410616915 A CN 201410616915A CN 104301185 A CN104301185 A CN 104301185A
Authority
CN
China
Prior art keywords
virtual queue
message
queue length
length counting
counting
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
CN201410616915.5A
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.)
Centec Networks Suzhou Co Ltd
Original Assignee
Centec Networks Suzhou 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 Centec Networks Suzhou Co Ltd filed Critical Centec Networks Suzhou Co Ltd
Priority to CN201410616915.5A priority Critical patent/CN104301185A/en
Publication of CN104301185A publication Critical patent/CN104301185A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a message sending rate detection method and device. The method includes the steps that a bypass virtual queue is set for a message to be sent; when the message is forwarded, the message is made to additionally simulate the queuing behavior in the virtual queue, and the virtual queue length count of the message is recorded; the virtual queue length count is compared with a virtual queue excess threshold; if the virtual queue length count is larger than the virtual queue excess threshold, it is determined that when the message is forwarded, a message output port is in an excess sending state. According to the message sending rate detection method and device, the bypass virtual queue is set for the message to be sent, before the message is forwarded, whether the excess sending state occurs in a sending port of a message channel or not is predicted in advance on the dependence of the bypass virtual queue, the forward time delay in the actual network is lowered to the forward time delay under the non-blocking condition of an exchanger, the network operation state is accurately monitored, and the increasingly high safety requirement and the refinement of monitoring in the network are met.

Description

Message transmitting spped rate detection method and device
Technical field
The present invention relates to network communication field, particularly relate to a kind of message transmitting spped rate detection method and device.
Background technology
When deployment data-center applications, the response time of application not only depends on the overall calculation ability of cluster, also the data forwarding latency of cluster network is depended on, Forwarding Delay is a very important network performance parameter, therefore, the data forwarding latency how promoting data center is the focus that current industry compares attention.
There is corresponding demand in data center to its network: due to the real time information often of short data stream, therefore carries out low time delay to short data stream, to bursty traffic height tolerance, and long data stream high bandwidth utilization.Under usual condition, most of data-center applications is all towards there being stateful connection, transmission control protocol (Data Center TCP, the DCTCP) technology adopted with speed control from transmit mechanism more.But, transmission control protocol causes the high time delay of the short-and-medium data flow of data center network, its reason is, the consumption of transmission control protocol to switch spatial cache is excessive, the buffer memory of switch that caused long data stream to fill up, short data stream is forced to wait in line, owing to waiting in line the surge that result in propagation delay time.
Accordingly, in order to solve the problem, the transmission control protocol of data center make use of emerging ecn (explicit congestion notification) (ECN) function in switch, it control strategy with data source is combined, thus ensure that the data of switch spatial cache occupy rate all the time lower than certain threshold value, as long as such short data stream is just queued up namely by switch substantially in this threshold value, ensure that the throughput of long data stream is higher, does not namely have too much abandoning simultaneously.
Further, for above-mentioned data center transmission control protocol, its realization mechanism is after some data messages queue to certain queue length, triggers ecn (explicit congestion notification), and then adjusts transmission rate by the control strategy of data source, therefore.Message still has queuing behavior, cannot realize ultralow Forwarding Delay.
Summary of the invention
The object of the present invention is to provide a kind of message transmitting spped rate detection method and device, the method, device can reduce message repeating process repeating time delay.
One of for achieving the above object, the message transmitting spped rate detection method of an embodiment of the present invention, described method comprises: for message to be sent arranges the virtual queue of a bypass;
Message repeating time, described message is simulated queuing behavior extraly in described virtual queue, and record described message virtual queue length counting;
Described virtual queue length counting and virtual queue excess threshold value are compared;
If described virtual queue length counting is greater than virtual queue excess threshold value, when judging described message repeating, described message outbound port is in excess and sends state.
As a further improvement on the present invention, described " message repeating time, described message is simulated queuing behavior extraly in described virtual queue; " specifically comprise:
Obtain the former virtual queue length counting of message source mouth, when message plan forwards, send the length counting of message according to plan, and former virtual queue length count update current virtual queue length counting;
Current described virtual queue length counting after renewal=former virtual queue length counting+plan the length counting that E-Packets.
As a further improvement on the present invention, described method also comprises: arrange scan cycle, virtual queue length counting described in timing scan, and reduces volume according to the single sweep operation pre-set, and changes described virtual queue length counting;
After each scan period, the described virtual queue length counting=former virtual queue length counting-described single sweep operation after renewal reduces volume;
If the virtual queue length after reducing is counted as negative, be then directly set to zero;
The described single sweep operation volume of reducing is the length counting that in default each scan period, message source mouth sends message.
As a further improvement on the present invention, described method also comprises:
According to virtual bandwidth assessment speed, and in the virtual queue scanning frequency calculating single scan period, the single sweep operation of virtual queue length reduces volume;
The described single sweep operation volume of reducing=virtual bandwidth assessment speed/virtual queue scanning frequency.
As a further improvement on the present invention, after " when judging described message repeating, described message outbound port is in excess and sends state ", described method also comprises:
Excess is sent state information and be sent to external treatment center.
One of for achieving the above object, the message transmitting spped rate checkout gear of an embodiment of the present invention, described device comprises: for message to be sent arranges the virtual queue of a bypass;
Arrange in described virtual queue:
Export resource counting module, message repeating time, described message is simulated queuing behavior extraly in described virtual queue, and record described message virtual queue length counting;
Flow monitoring module, compares described virtual queue length counting and virtual queue excess threshold value;
If described virtual queue length counting is greater than virtual queue excess threshold value, when judging described message repeating, described message outbound port is in excess and sends state.
As a further improvement on the present invention, described Export resource counting module also for:
Obtain the former virtual queue length counting of message source mouth, when message plan forwards, send the length counting of message according to plan, and former virtual queue length count update current virtual queue length counting;
Current described virtual queue length counting after renewal=former virtual queue length counting+plan the length counting that E-Packets.
As a further improvement on the present invention, described Export resource counting module also for: arrange scan cycle, described in timing scan, virtual queue length counting, and reduces volume according to the single sweep operation pre-set, and changes described virtual queue length counting;
After each scan period, the described virtual queue length counting=former virtual queue length counting-described single sweep operation after renewal reduces volume;
If the virtual queue length after reducing is counted as negative, be then directly set to zero;
The described single sweep operation volume of reducing is the length counting that in default each scan period, message source mouth sends message.
As a further improvement on the present invention, described Export resource counting module specifically for:
According to virtual bandwidth assessment speed, and in the virtual queue scanning frequency calculating single scan period, the single sweep operation of virtual queue length reduces volume;
The described single sweep operation volume of reducing=virtual bandwidth assessment speed/virtual queue scanning frequency.
As a further improvement on the present invention, also arrange in described tunnel:
Excess sends state reporting module, for after the described message outbound port of judgement is in excess transmission state, excess is sent state information and is sent to external treatment center.
Compared with prior art, the invention has the beneficial effects as follows: message transmitting spped rate detection method of the present invention and device, by arranging the virtual queue of bypass for message to be sent, and before message repeating, by the virtual queue of bypass, whether the transmit port estimating message passage in advance there will be excess sends state, Forwarding Delay in real network is reduced to the Forwarding Delay under the clog-free condition of switch, accurately monitoring network operation conditions, meet becoming more meticulous of the security requirement that day by day improves in network and monitoring.
Accompanying drawing explanation
Fig. 1 is the flow chart of message transmitting spped rate detection method in an embodiment of the present invention;
Fig. 2 is the module map of message transmitting spped rate checkout gear in an embodiment of the present invention.
Embodiment
Describe the present invention below with reference to embodiment shown in the drawings.But these execution modes do not limit the present invention, the structure that those of ordinary skill in the art makes according to these execution modes, method or conversion functionally are all included in protection scope of the present invention.
As shown in Figure 1, in one embodiment of the present invention, described message transmitting spped rate detection method, comprising:
For message to be sent arranges the virtual queue of a bypass.
In message repeating process, need rank in message passage, etc. to be forwarded, the application distinguishes the virtual queue of message channel setting one bypass, when message plan forwards, in the virtual queue of bypass, first carry out simulation queue up, judge the traffic forwarding state of message source mouth with this, below will describe in detail.
In an embodiment of the present invention, when message plan forwards from some outbound ports, message simulates repeating process in the virtual queue of described bypass.Concrete, message repeating time, described message is simulated queuing behavior extraly in described virtual queue, and records the virtual queue length counting of described message.
In present embodiment, can a virtual queue length counter be set in the virtual queue of bypass, for recording and upgrade the length variations of virtual queue.
Described virtual queue length counting can be the counting of message amount and/or the counting of message length.
When message plan forwards, the message that plan forwards sends at the inbound port of the virtual queue of bypass and produces request, and the roughly same time increases request to the outbound port initiation counting of the virtual queue of bypass, the described virtual queue length counting increase made.
In present embodiment, obtain the former virtual queue length counting of message source mouth, when message plan forwards, send the length counting of message according to plan, and former virtual queue length count update current virtual queue length counting; Current described virtual queue length counting after renewal=former virtual queue length counting+plan the length counting that E-Packets.
Further, scan cycle is set, virtual queue length counting described in timing scan, and reduces volume according to the single sweep operation pre-set, change described virtual queue length counting; After each scan period, the described virtual queue length counting=former virtual queue length counting-described single sweep operation after renewal reduces volume; If the virtual queue length after reducing is counted as negative, be then directly set to zero.
The described single sweep operation volume of reducing is the length counting that in default each scan period, message source mouth sends message.
In present embodiment, the scanner of a rated frequency can be set in the virtual queue of described bypass, according to virtual queue length counter described in designated period timing scan, after each scan period, reduce volume according to the single sweep operation pre-set, change described virtual queue length counting.
Further, according to virtual bandwidth assessment speed, and in the virtual queue scanning frequency calculating single scan period, the single sweep operation of virtual queue length reduces volume; The described single sweep operation volume of reducing=virtual bandwidth assessment speed/virtual queue scanning frequency.
In this example, enumerate an embodiment and elaborate.
Such as: assuming that the virtual bandwidth assessment speed of the virtual queue of bypass is 900Mbps, virtual queue scanning frequency is 4MHz, so, in the virtual queue of bypass, need the data volume by 900,000,000Kbit each second, namely 112,500,000 byte per second, and then, after each scanning, virtual queue length count ratio former virtual queue product degree counting minimizing 28.125 bytes of the virtual queue of described bypass.
In this example, during in order to make message repeating, the Forwarding Delay of message is minimum clog-free time delay, usually the bandwidth evaluation speed of the virtual bandwidth of the virtual queue of bypass assessment speed a little less than message passage is arranged, such as: described virtual bandwidth assessment speed is set to 90% of message bandwidth chahnel assessment speed.
S2, described virtual queue length counting and virtual queue excess threshold value to be compared; If described virtual queue length counting is greater than virtual queue excess threshold value, when judging described message repeating, described message outbound port is in excess and sends state.
Described excess threshold value, produces for judging whether a corresponding message amount counting and/or the message length counting that excess sends state for what preset in data switching exchane.
After each scan period, after message forwards from message source mouth,, message virtual queue length counting reduces thereupon, until when the virtual queue length counting of message is less than described excess threshold value, during the message repeating of decision plan, described message source mouth will be in normal discharge state, meanwhile, and the current state of the message notifying message source mouth that selectable plan of giving forwards, this current state comprises two kinds, and message source mouth is in normal forwarding state or sends state for excess.
In this example, message is when planning to send, and the queue length that E-Packets according to schedule increases the virtual queue length counting of the virtual queue of bypass; Meanwhile, arrange scan cycle, virtual queue length counting described in timing scan, and reduce volume according to the single sweep operation pre-set, successively decrease the virtual queue length counting upgrading described bypass.
So, assuming that current message transmit port is in normal transmission state.
If the transmission rate of message plan is less than 900Mbps, after each scan period, the virtual queue length counting of bypass reduces, the virtual queue length counting of described bypass will be less than excess all the time and send state excess threshold value, judge that described message passage is in normal discharge state by the virtual queue length counting of described bypass.Further, if after the whole messages in the virtual queue of bypass complete forwarding, also do not have next message to send, the virtual queue length counting of so described bypass will be kept to negative value, and is forced to be set to zero.
If the speed that message plan sends equals 900Mbps, after each scan period, if have message repeating in the virtual queue of described bypass always, the virtual queue length counting of bypass remains unchanged, the virtual queue length counting of described bypass will be less than described excess threshold value all the time, judge that described message passage is in normal discharge state by the virtual queue length counting of described bypass.Further, if after the whole messages in the virtual queue of bypass complete forwarding, next message is not also had to send, so, the virtual queue length counting of described bypass will reduce gradually, and finally can be kept to null value, certainly, because the scan period is asynchronous with message plan transmitting time point, the virtual queue length of bypass counting also may for leveling off to the positive number of null value.
If the speed that message plan sends is greater than 900Mbps, after each scan period, if before the message in the virtual queue of bypass completes forwarding, continue have new message to enter the virtual queue of described bypass, so, bypass virtual queue length counting will be always on the occasion of, and increasing along with message, described virtual queue length counting can increase gradually, when described virtual queue length counting is greater than described excess threshold value, when judging described message repeating, described message source mouth will be in excess and send state.
Further, if estimate described message source mouth will be in excess transmission state, excess can be sent state information and be sent to external treatment center.
In the present embodiment, described excess sends state information and can comprise: produce excess and send the transmit port information of state, produce the time information etc. of excess transmission state.
After described external treatment receive centre sends state information to excess; Because the flow in data center network is nearly all TCP flow amount, and the terminal equipment of these TCP flow amounts of all initiations all supports the protocol stack of DCTCP, therefore once there is excess to send status early warning, the TCP session of its correspondence reduces transmission data volume by regulations speed, thus the consumption reduced sending bandwidth, so for a link, provide network optimization scheme.
Further, transmitted by analog message in the virtual queue of bypass, and the bandwidth evaluation speed of the virtual bandwidth of the virtual queue of bypass assessment speed a little less than message passage is arranged, when being estimated message passage when message sends by the virtual queue length counting in the virtual queue of bypass and being in excess transmission state, transmission control protocol has just lowered transmission rate in advance when the bandwidth cost in the cycle of transmission has just been greater than transmission outlet link bandwidth, " slow turn-on " mechanism avoiding transmission control protocol causes link bandwidth to be occupied full, avoid the queuing started truly, so, eliminate the Forwarding Delay of queuing up and bringing, now, the Forwarding Delay of message only contains clog-free time delay part, and no longer include queuing part, the shake of its Forwarding Delay is also almost eliminated.
Shown in composition graphs 2, in the first execution mode of the present invention, described message transmitting spped rate checkout gear comprises: for message to be sent arranges the virtual queue of a bypass; Arrange in described virtual queue: Export resource counting module 100, flow monitoring module 200, excess send state reporting module 300.
Export resource counting module 100 for message repeating time, described message is simulated queuing behavior extraly in described virtual queue, and record described message virtual queue length counting.
In present embodiment, can a virtual queue length counter be set in Export resource counting module 100, for recording and upgrade the length variations of virtual queue.
Described virtual queue length counting can be the counting of message amount and/or the counting of message length.
Export resource counting module 100 for, when message plan forwards, the message that plan forwards sends at the inbound port of the virtual queue of bypass and produces request, and the roughly same time increases request to the outbound port initiation counting of the virtual queue of bypass, the described virtual queue length counting increase made.
In present embodiment, Export resource counting module 100 obtains the former virtual queue length counting of message source mouth, when message plan forwards, send the length counting of message according to plan, and former virtual queue length count update current virtual queue length counting; Current described virtual queue length counting after renewal=former virtual queue length counting+plan the length counting that E-Packets.
Further, Export resource counting module 100 arranges scan cycle, virtual queue length counting described in timing scan, and reduces volume according to the single sweep operation pre-set, and changes described virtual queue length counting; After each scan period, the described virtual queue length counting=former virtual queue length counting-described single sweep operation after renewal reduces volume; If the virtual queue length after reducing is counted as negative, be then directly set to zero.The described single sweep operation volume of reducing is the length counting that in default each scan period, message source mouth sends message.
In present embodiment, the scanner of a rated frequency can be set in Export resource counting module 100, according to virtual queue length counter described in designated period timing scan, after each scan period, reduce volume according to the single sweep operation pre-set, change described virtual queue length counting.
Further, Export resource counting module 100 is according to virtual bandwidth assessment speed, and in the virtual queue scanning frequency calculating single scan period, the single sweep operation of virtual queue length reduces volume; The described single sweep operation volume of reducing=virtual bandwidth assessment speed/virtual queue scanning frequency.
In this example, enumerate an embodiment and elaborate.
Such as: assuming that the virtual bandwidth assessment speed of the virtual queue of bypass is 900Mbps, virtual queue scanning frequency is 4MHz, so, in the virtual queue of bypass, need the data volume by 900,000,000Kbit each second, namely 112,500,000 byte per second, and then, after each scanning, virtual queue length count ratio former virtual queue product degree counting minimizing 28.125 bytes of the virtual queue of described bypass.
In this example, during in order to make message repeating, the Forwarding Delay of message is minimum clog-free time delay, usually the bandwidth evaluation speed of the virtual bandwidth of the virtual queue of bypass assessment speed a little less than message passage is arranged, such as: described virtual bandwidth assessment speed is set to 90% of message bandwidth chahnel assessment speed.
Flow monitoring module 200 is for comparing described virtual queue length counting and virtual queue excess threshold value; If described virtual queue length counting is greater than virtual queue excess threshold value, when judging described message repeating, described message outbound port is in excess and sends state.
Described excess threshold value, produces for judging whether a corresponding message amount counting and/or the message length counting that excess sends state for what preset in data switching exchane.
After each scan period, after message forwards from message source mouth,, message virtual queue length counting reduces thereupon, until when the virtual queue length counting of message is less than described excess threshold value, during the message repeating of decision plan, described message source mouth will be in normal discharge state, meanwhile, and the current state of the message notifying message source mouth that selectable plan of giving forwards, this current state comprises two kinds, and message source mouth is in normal forwarding state or sends state for excess.
In this example, message is when planning to send, and the queue length that E-Packets according to schedule increases the virtual queue length counting of the virtual queue of bypass; Meanwhile, arrange scan cycle, virtual queue length counting described in timing scan, and reduce volume according to the single sweep operation pre-set, successively decrease the virtual queue length counting upgrading described bypass.
So, assuming that current message transmit port is in normal transmission state.
If the transmission rate of message plan is less than 900Mbps, after each scan period, the virtual queue length counting of bypass reduces, the virtual queue length counting of described bypass will be less than excess all the time and send state excess threshold value, judge that described message passage is in normal discharge state by the virtual queue length counting of described bypass.Further, if after the whole messages in the virtual queue of bypass complete forwarding, also do not have next message to send, the virtual queue length counting of so described bypass will be kept to negative value, and is forced to be set to zero.
If the speed that message plan sends equals 900Mbps, after each scan period, if have message repeating in the virtual queue of described bypass always, the virtual queue length counting of bypass remains unchanged, the virtual queue length counting of described bypass will be less than described excess threshold value all the time, judge that described message passage is in normal discharge state by the virtual queue length counting of described bypass.Further, if after the whole messages in the virtual queue of bypass complete forwarding, next message is not also had to send, so, the virtual queue length counting of described bypass will reduce gradually, and finally can be kept to null value, certainly, because the scan period is asynchronous with message plan transmitting time point, the virtual queue length of bypass counting also may for leveling off to the positive number of null value.
If the speed that message plan sends is greater than 900Mbps, after each scan period, if before the message in the virtual queue of bypass completes forwarding, continue have new message to enter the virtual queue of described bypass, so, bypass virtual queue length counting will be always on the occasion of, and increasing along with message, described virtual queue length counting can increase gradually, when described virtual queue length counting is greater than described excess threshold value, when judging described message repeating, described message source mouth will be in excess and send state.
Further, if estimate described message source mouth will be in excess transmission state, excess can be sent state information by excess transmission state reporting module 300 and be sent to external treatment center.
In the present embodiment, described excess sends state information and can comprise: produce excess and send the transmit port information of state, produce the time information etc. of excess transmission state.
After described external treatment receive centre sends state information to excess; Because the flow in data center network is nearly all TCP flow amount, and the terminal equipment of these TCP flow amounts of all initiations all supports the protocol stack of DCTCP, therefore once there is excess to send status early warning, the TCP session of its correspondence reduces transmission data volume by regulations speed, thus the consumption reduced sending bandwidth, so for a link, provide network optimization scheme.
Further, transmitted by analog message in the virtual queue of bypass, and the bandwidth evaluation speed of the virtual bandwidth of the virtual queue of bypass assessment speed a little less than message passage is arranged, when when flow monitoring module 200 estimates message transmission by the virtual queue length counting in the virtual queue of bypass, message passage is in excess transmission state, transmission control protocol has just lowered transmission rate in advance when the bandwidth cost in the cycle of transmission has just been greater than transmission outlet link bandwidth, " slow turn-on " mechanism avoiding transmission control protocol causes link bandwidth to be occupied full, avoid the queuing started truly, so, eliminate the Forwarding Delay of queuing up and bringing, now, the Forwarding Delay of message only contains clog-free time delay part, and no longer include queuing part, the shake of its Forwarding Delay is also almost eliminated.
In sum, message transmitting spped rate detection method of the present invention and device, by arranging the virtual queue of bypass for message to be sent, and before message repeating, by the virtual queue of bypass, whether the transmit port estimating message passage in advance there will be excess sends state, the Forwarding Delay in real network is reduced to the Forwarding Delay under the clog-free condition of switch, accurately monitoring network operation conditions, meet becoming more meticulous of the security requirement that day by day improves in network and monitoring.
For convenience of description, various module is divided into describe respectively with function when describing above device.Certainly, the function of each module can be realized in same or multiple software and/or hardware when implementing the application.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add required general hardware platform by software and realizes.Based on such understanding, the technical scheme of the application can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be kept to be preserved in medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, Information Push Server, or the network equipment etc.) perform the method described in some part of each execution mode of the application or execution mode.
Device embodiments described above is only schematic, the wherein said module illustrated as separating component can or may not be physically separates, parts as module display can be or may not be physical module, namely can be positioned at a place, or also can be distributed on multiple mixed-media network modules mixed-media.Some or all of module wherein can be selected according to the actual needs to realize the object of present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
The application can be used in numerous general or special purpose computing system environment or configuration.Such as: personal computer, Information Push Server computer, handheld device or portable set, laptop device, multi-processing module system, system, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, the distributed computing environment (DCE) comprising above any system or equipment etc. based on micro treatment module.
The application can describe in the general context of computer executable instructions, such as program module.Usually, program module comprises the routine, program, object, assembly, data structure etc. that perform particular task or realize particular abstract data type.Also can put into practice the application in a distributed computing environment, in these distributed computing environment (DCE), be executed the task by the remote processing devices be connected by communication network.In a distributed computing environment, program module can be arranged in the local and remote computer preservation medium comprising preservation equipment.
Be to be understood that, although this specification is described according to execution mode, but not each execution mode only comprises an independently technical scheme, this narrating mode of specification is only for clarity sake, those skilled in the art should by specification integrally, technical scheme in each execution mode also through appropriately combined, can form other execution modes that it will be appreciated by those skilled in the art that.
A series of detailed description listed is above only illustrating for feasibility execution mode of the present invention; they are also not used to limit the scope of the invention, all do not depart from the skill of the present invention equivalent implementations done of spirit or change all should be included within protection scope of the present invention.

Claims (10)

1. a message transmitting spped rate detection method, is characterized in that, described method comprises:
For message to be sent arranges the virtual queue of a bypass;
Message repeating time, described message is simulated queuing behavior extraly in described virtual queue, and record described message virtual queue length counting;
Described virtual queue length counting and virtual queue excess threshold value are compared;
If described virtual queue length counting is greater than virtual queue excess threshold value, when judging described message repeating, described message outbound port is in excess and sends state.
2. message transmitting spped rate detection method according to claim 1, is characterized in that, described " message repeating time, described message is simulated queuing behavior extraly in described virtual queue; " specifically comprise:
Obtain the former virtual queue length counting of message source mouth, when message plan forwards, send the length counting of message according to plan, and former virtual queue length count update current virtual queue length counting;
Current described virtual queue length counting after renewal=former virtual queue length counting+plan the length counting that E-Packets.
3. message transmitting spped rate detection method according to claim 1, it is characterized in that, described method also comprises: arrange scan cycle, virtual queue length counting described in timing scan, and reduce volume according to the single sweep operation pre-set, change described virtual queue length counting;
After each scan period, the described virtual queue length counting=former virtual queue length counting-described single sweep operation after renewal reduces volume;
If the virtual queue length after reducing is counted as negative, be then directly set to zero;
The described single sweep operation volume of reducing is the length counting that in default each scan period, message source mouth sends message.
4. message transmitting spped rate detection method according to claim 3, is characterized in that, described method also comprises:
According to virtual bandwidth assessment speed, and in the virtual queue scanning frequency calculating single scan period, the single sweep operation of virtual queue length reduces volume;
The described single sweep operation volume of reducing=virtual bandwidth assessment speed/virtual queue scanning frequency.
5. message transmitting spped rate detection method according to claim 1, is characterized in that, after " when judging described message repeating, described message outbound port is in excess and sends state ", described method also comprises:
Excess is sent state information and be sent to external treatment center.
6. a message transmitting spped rate checkout gear, is characterized in that, described device comprises: for message to be sent arranges the virtual queue of a bypass;
Arrange in described virtual queue:
Export resource counting module, message repeating time, described message is simulated queuing behavior extraly in described virtual queue, and record described message virtual queue length counting;
Flow monitoring module, compares described virtual queue length counting and virtual queue excess threshold value;
If described virtual queue length counting is greater than virtual queue excess threshold value, when judging described message repeating, described message outbound port is in excess and sends state.
7. message transmitting spped rate checkout gear according to claim 6, is characterized in that, described Export resource counting module also for:
Obtain the former virtual queue length counting of message source mouth, when message plan forwards, send the length counting of message according to plan, and former virtual queue length count update current virtual queue length counting;
Current described virtual queue length counting after renewal=former virtual queue length counting+plan the length counting that E-Packets.
8. message transmitting spped rate checkout gear according to claim 6, is characterized in that,
Described Export resource counting module also for: arrange scan cycle, described in timing scan, virtual queue length counting, and reduces volume according to the single sweep operation pre-set, and changes described virtual queue length counting;
After each scan period, the described virtual queue length counting=former virtual queue length counting-described single sweep operation after renewal reduces volume;
If the virtual queue length after reducing is counted as negative, be then directly set to zero;
The described single sweep operation volume of reducing is the length counting that in default each scan period, message source mouth sends message.
9. message transmitting spped rate checkout gear according to claim 8, is characterized in that, described Export resource counting module specifically for:
According to virtual bandwidth assessment speed, and in the virtual queue scanning frequency calculating single scan period, the single sweep operation of virtual queue length reduces volume;
The described single sweep operation volume of reducing=virtual bandwidth assessment speed/virtual queue scanning frequency.
10. message transmitting spped rate checkout gear according to claim 6, is characterized in that, also arranges in described tunnel:
Excess sends state reporting module, for after the described message outbound port of judgement is in excess transmission state, excess is sent state information and is sent to external treatment center.
CN201410616915.5A 2014-11-06 2014-11-06 Message sending rate detection method and device Pending CN104301185A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410616915.5A CN104301185A (en) 2014-11-06 2014-11-06 Message sending rate detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410616915.5A CN104301185A (en) 2014-11-06 2014-11-06 Message sending rate detection method and device

Publications (1)

Publication Number Publication Date
CN104301185A true CN104301185A (en) 2015-01-21

Family

ID=52320763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410616915.5A Pending CN104301185A (en) 2014-11-06 2014-11-06 Message sending rate detection method and device

Country Status (1)

Country Link
CN (1) CN104301185A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210785A (en) * 2016-08-12 2016-12-07 浙江宇视科技有限公司 Media streaming networks self adaptation is unidirectionally controlled method and system
CN106713176A (en) * 2016-12-12 2017-05-24 全球能源互联网研究院 Service rate control method of controlling plane time synchronization queue and apparatus thereof
CN110708253A (en) * 2018-07-09 2020-01-17 华为技术有限公司 Message control method, flow table updating method and node equipment
CN115499374A (en) * 2022-11-08 2022-12-20 腾讯科技(深圳)有限公司 Parameter adjusting method and related device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050047338A1 (en) * 2003-08-25 2005-03-03 Andiamo Systems, Inc., A Delaware Corporation Scalable approach to large scale queuing through dynamic resource allocation
US20090063698A1 (en) * 2007-09-04 2009-03-05 Aspera, Inc. Method and system for aggregate bandwith control
CN103346925A (en) * 2013-06-17 2013-10-09 盛科网络(苏州)有限公司 Message channel burst flow detection method and device based on ASIC

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050047338A1 (en) * 2003-08-25 2005-03-03 Andiamo Systems, Inc., A Delaware Corporation Scalable approach to large scale queuing through dynamic resource allocation
CN1826768A (en) * 2003-08-25 2006-08-30 思科技术公司 A scalable approach to large scale queuing through dynamic resource allocation
US20090063698A1 (en) * 2007-09-04 2009-03-05 Aspera, Inc. Method and system for aggregate bandwith control
CN101803304A (en) * 2007-09-04 2010-08-11 奥斯佩拉股份公司 Method and system for aggregate bandwidth control
CN103346925A (en) * 2013-06-17 2013-10-09 盛科网络(苏州)有限公司 Message channel burst flow detection method and device based on ASIC

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210785A (en) * 2016-08-12 2016-12-07 浙江宇视科技有限公司 Media streaming networks self adaptation is unidirectionally controlled method and system
CN106210785B (en) * 2016-08-12 2019-12-13 浙江宇视科技有限公司 Self-adaptive unidirectional control method and system for media stream network
CN106713176A (en) * 2016-12-12 2017-05-24 全球能源互联网研究院 Service rate control method of controlling plane time synchronization queue and apparatus thereof
CN106713176B (en) * 2016-12-12 2020-04-17 全球能源互联网研究院有限公司 Service rate control method and device for control plane time synchronization queue
CN110708253A (en) * 2018-07-09 2020-01-17 华为技术有限公司 Message control method, flow table updating method and node equipment
US11516145B2 (en) 2018-07-09 2022-11-29 Huawei Technologies Co., Ltd. Packet control method, flow table update method, and node device
CN115499374A (en) * 2022-11-08 2022-12-20 腾讯科技(深圳)有限公司 Parameter adjusting method and related device

Similar Documents

Publication Publication Date Title
US11166330B2 (en) Data-stream allocation method for link aggregation and related devices
US9621471B2 (en) Framework for early congestion notification and recovery in a virtualized environment
US9503347B2 (en) Techniques associated with server transaction latency information
US9794184B2 (en) Reducing network congestion by preferentially dropping packets sent by high-bandwidth sources
EP3852323A1 (en) Congestion control method, and network apparatus
CN104378308A (en) Method and device for detecting message sending rate
CN104301185A (en) Message sending rate detection method and device
CN110417650A (en) Multilink data distribution method, device and electronic equipment
US20140112128A1 (en) Oversubscription buffer management
EP4195760A1 (en) Roce network congestion control method and related apparatus
CN103997465A (en) Method and device for generating CNM
CN112039722B (en) MQTT protocol simulation method and simulation equipment
CN109962859A (en) A kind of method for dispatching message and equipment
EP4020892A1 (en) Network parameter configuration method and apparatus
CN112491736B (en) Congestion control method and device, electronic equipment and storage medium
CN104283741B (en) The method and device of the accurate big stream aging of detection
CN103346925A (en) Message channel burst flow detection method and device based on ASIC
CN107315700B (en) Interrupt processing method and related device
CN106209676A (en) The data processing method of cloud host computer systems based on many equipment and device
CN105574292B (en) A method of realizing that any bandwidth of multichannel is given out a contract for a project based on dynamic array
CN112367708B (en) Network resource allocation method and device
CN109089281A (en) A kind of cluster communication method, terminal device and storage medium
CN111385219B (en) Method for realizing high-performance high-precision software TCP speed limit by hardware interrupt
CN102523161A (en) Flow control method and system of cross-Ethernet switched network cloud
CN100493041C (en) Adaptive variable time slice packet retransmitting dispatching method based on routing exchanger

Legal Events

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

Application publication date: 20150121

RJ01 Rejection of invention patent application after publication