Downlink flow, uplink flow and bidirectional flow limit method and device

A traffic limitation and flow control technology, applied in the computer field, can solve problems such as inability to limit downstream traffic, increase operation and maintenance costs, and complex network architecture, and achieve the effects of easy setting and management, enhanced flexibility, and precise flow limitation

Active Publication Date: 2018-02-06
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF4 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (1) The QoS interface of OpenvSwitch can only limit the upstream traffic of the Docker container, but not the downstream traffic
[0006] (2) Combining Docker containers with OpenvSwitch will increase operation and maintenance costs, and the network architecture is complex

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
  • Downlink flow, uplink flow and bidirectional flow limit method and device
  • Downlink flow, uplink flow and bidirectional flow limit method and device
  • Downlink flow, uplink flow and bidirectional flow limit method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0048] The TC of the Linux system is a framework that restricts access but not access. The traffic restriction method of the embodiment of the present invention utilizes a virtual network card pair (Virtual Ethernet Pair, referred to as veth-pair) to connect the physical machine and the virtual device. One of the virtual network cards, netxb, is inside the virtual device a...

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 further provides a downlink flow, uplink flow and bidirectional flow limit method and device and relates to the technical field of a computer. The method comprises steps that a virtual network interface card pair is created, a first virtual network interface card of the virtual network interface card pair is sent to an internal portion of virtual equipment, and an IP address of the virtual equipment is configured on the first virtual network interface card; first flow control rules are set on the second virtual network interface card; when a data packet from the external networkis received by the virtual network interface cards, the data packet is forwarded to the corresponding second virtual network interface card according to a destination address of the data packet and the IP address of the virtual equipment; the data packet is transmitted to the first virtual network interface card corresponding to the second virtual network interface card according to first flow control rules. The method is advantaged in that a physical machine and the virtual equipment are communicated through utilizing the virtual network interface cards, the outlet flow of the virtual networkinterface cards on the physical machine is limited through setting the first flow control rules, so the inlet flow of the virtual network interface cards of the virtual equipment is limited, and downlink flow limit is realized.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for restricting downstream traffic, upstream traffic, and bidirectional traffic. Background technique [0002] The traffic controller TC (Traffic Control) in the Linux operating system is used for the traffic control of the Linux kernel, mainly by establishing a queue at the output port to realize the traffic control. TC restricts egress traffic very well, but restricts ingress traffic is not satisfactory. [0003] In a Docker cluster, developers package their application and its dependencies into a portable container and distribute it to a Linux machine. In order to prevent the influx of excessive traffic, causing the network bandwidth to be occupied by individual users, it is necessary to limit the uplink and downlink bandwidth of the container created by the user according to the specific situation of the user. At present, the method for limiting the upstream tra...

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/801H04L12/863
CPCH04L47/10H04L47/18H04L47/50
Inventor 沈娟刘海锋
Owner BEIJING JINGDONG SHANGKE INFORMATION 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