Speed limiting method and system for data transmission, equipment and computer readable storage medium

A data transmission and data technology, applied in the field of data transmission, can solve the problems of affecting business functions, occupying broadband resources, occupying broadband resources, etc., and achieves the effects of high time precision, flexible control of data transmission rate, and resource saving

Inactive Publication Date: 2019-03-29
SF TECH
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In many existing data transmission solutions, many of them do not have a speed limit mechanism, which often leads to excessive speed, occupying the broadband resources of the entire computer room, and affecting normal business functions.
For example, in the process of collecting logs by flume, there is no limit on the speed of collecting logs, which often causes flume to occupy unlimited broadband resources, resulting in the unavailability of normal business

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
  • Speed limiting method and system for data transmission, equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] This embodiment provides a speed limiting method for data transmission, including the following steps:

[0035] S1. Obtain the usage rate of the network card. Further, the usage rate of the network card is acquired regularly at preset time intervals.

[0036] Specifically: the usage rate of the network card is obtained regularly every second.

[0037] S2. Generate a speed limit value for data transmission according to the usage rate of the network card.

[0038] Further, the speed limit value is regularly updated at preset time intervals.

[0039] Specifically:

[0040] Define a speed limit size in the data sender, which represents the default speed that needs to be limited per second. The usage rate of the network card is obtained regularly every second, and the speed limit is dynamically updated, so that the usage rate of the network card is within a reasonable range.

[0041] S3. Count the total number of bytes of the transmitted data within the time interval. I...

Embodiment 2

[0065] The features of this embodiment that are the same as those of Embodiment 1 will not be described in detail. The features of this embodiment that are different from Embodiment 1 are:

[0066] In the speed limiting method of data transmission in this embodiment, the thread sleeps for a preset duration of 80 ms.

Embodiment 3

[0068] The features of this embodiment that are the same as those of Embodiment 1 will not be described in detail. The features of this embodiment that are different from Embodiment 1 are:

[0069] The speed limiting method for data transmission in this embodiment makes the thread sleep for a preset duration of 120ms.

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 speed limiting method and system for data transmission, equipment and a computer readable storage medium. The speed limiting method for data transmission comprises the following steps of acquiring a network card usage rate; generating a speed limit value of data transmission according to the network card usage rate; and counting the total number of bytes of data transmitted in a time interval, if the counted total number of bytes is not larger than the speed limit value, transmitting data to be transmitted, otherwise stopping transmission. According to the speed limiting method and system for data transmission, the equipment and the computer readable storage medium, a problem that broadband resources are occupied due to the fact that the broadband resources are used in an unlimited manner in a data transmission process is effectively solved, the speed limit value of data transmission is dynamically updated according to the network card usage rate, and the data transmission rate is controlled flexibly. Speed limit control is carried out by comparing the counted total number of bytes of the transmission data and the speed limit value, so that the time precision is high, and the ms level can be achieved.

Description

technical field [0001] The invention belongs to data transmission, and in particular relates to a data transmission rate limiting method, system, device, and computer-readable storage medium. Background technique [0002] Many of the existing data transmission solutions do not have a speed limit mechanism, which often leads to excessive speed, occupying the broadband resources of the entire computer room, and affecting normal business functions. For example, in the process of collecting logs by Flume, there is no limit on the speed of collecting logs, which often causes Flume to occupy unlimited broadband resources, resulting in the unavailability of normal services. Contents of the invention [0003] In order to solve the above technical problems, the object of the present invention is to provide a speed limiting method, system, device, and computer-readable storage medium for data transmission. [0004] According to one aspect of the present invention, a speed limiting ...

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/26
CPCH04L43/08H04L43/0894H04L43/16
Inventor 陈军蔡适择陈敏陈东沂
Owner SF TECH
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