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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com