Flow control method and apparatus

A flow control and parameter technology, applied in the field of data transmission, can solve the problems of insufficient system resources, chain reaction, socket congestion, etc., and achieve the effect of ensuring operating efficiency, reasonable peak rate, and ensuring stability

Active Publication Date: 2007-05-23
HUAWEI TECH CO LTD
View PDF1 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The method of dynamic network traffic adjustment often only considers rate control, ignoring the balance of system resources. While increasing network traffic, an excessively high rate consumes too much resources for system processing, resulting in unstable system operation and affecting other business processing
There may also be a chain reaction caused by insufficient system resources: application layer data processing failure, socket (socket) buffer transmission congestion, etc.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Flow control method and apparatus
  • Flow control method and apparatus
  • Flow control method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] Embodiment 1, a flow control method, the flow chart is shown in Figure 1, including steps:

[0037] Step a1, acquiring the occupancy rate of the central processing unit (CPU: Central Processing Unit) of the system.

[0038] The system performance data is the software and hardware parameters of the system operating equipment. What this embodiment uses is the occupancy rate of the system CPU, and can also be data that can reflect the system operation status such as the memory occupancy rate. The equipment is different, and the obtained software and hardware parameters It can also be different, for example, it can also be specific system performance data of certain devices, and the specific obtained parameters do not constitute a limitation to the present invention.

[0039] Step a2, check whether the CPU usage exceeds the corresponding preset range, if yes, turn to step a3; if not, turn to step a4.

[0040] Step a3, reduce the peak rate of data packet sending, and turn t...

Embodiment 2

[0044] Embodiment 2, a flow control method, the flow chart is shown in Figure 2, including steps:

[0045] Step b1, obtaining the CPU usage rate and the actual rate of sending data packets.

[0046] The actual rate at which data packets are sent is an average rate at which data packets are actually sent according to statistics within a preset time period.

[0047]In this embodiment, the network performance data is the actual rate at which data packets are sent. The network performance data may also include parameters such as congestion rate and / or packet loss rate that are helpful for judging the status of data packet transmission.

[0048] Step b2, check whether the CPU usage exceeds the corresponding preset range, if yes, turn to step b4; if not, turn to step b3.

[0049] Step b3, check whether the actual speed is outside the corresponding preset range, if yes, go to step b5; if not, go to step b6.

[0050] Step b4, reduce the peak rate of data packet sending, and turn to...

Embodiment 3

[0056] Embodiment 3, a flow control method, the flow chart is shown in Figure 3, including steps:

[0057] Step s1, acquiring system performance data and network performance data collected within a preset time period.

[0058] In this embodiment, data statistics are performed every second, and the statistical data include the average CPU usage rate, congestion rate, packet loss rate and actual rate of data packet transmission of this transmission task.

[0059] In this embodiment, every 10 milliseconds is used as a unit time for sending data, and the rate value is represented by the number of data packets sent per unit time. It can be understood that the definition of the unit of the rate value is not limited to this method, and may also be the number of bits, bytes or symbols of data sent per unit time.

[0060] The actual rate is the average number of data packets sent per unit time (10 milliseconds) within a 1s statistical period.

[0061] Step s2, check whether the acqui...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a method for controlling flux, and relative device, wherein it comprises that: obtaining flux control parameter as system property data; comparing control parameter with preset range; controlling the sending speed of data pack via the compared result. The invention can reduce resource consumption and improve operation stability, to balance the processing ability and network bandwidth.

Description

technical field [0001] The invention relates to the technical field of data transmission, in particular to a flow control method and device. Background technique [0002] In a communication system with high real-time and reliability requirements, to meet the reliability of transmission, it is necessary to control the flow of different services. [0003] In the existing technical solutions, a flow control method is to fix the transmission rate, such as the leaky bucket control method. The leaky bucket is equivalent to a buffer, which can convert bursty traffic into smooth traffic, ensuring that the user's traffic complies with the user's regulations when establishing a connection. When the queue is full, the packet is discarded, and the queue sends packets to the network at a specified rate. [0004] Using this method can ensure the reliability of the system, but the disadvantage is also obvious, that is, when the business volume changes, the resources cannot be used reason...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/56H04L12/00H04L47/20
CPCY02B60/31Y02D30/50
Inventor 魏末平陈文军
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products