CN109995672A - Virtual home gateway bandwidth dispatch control method and system based on DPDK - Google Patents

Virtual home gateway bandwidth dispatch control method and system based on DPDK Download PDF

Info

Publication number
CN109995672A
CN109995672A CN201910223210.XA CN201910223210A CN109995672A CN 109995672 A CN109995672 A CN 109995672A CN 201910223210 A CN201910223210 A CN 201910223210A CN 109995672 A CN109995672 A CN 109995672A
Authority
CN
China
Prior art keywords
dpdk
household equipment
downlink
speed limit
node
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.)
Granted
Application number
CN201910223210.XA
Other languages
Chinese (zh)
Other versions
CN109995672B (en
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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201910223210.XA priority Critical patent/CN109995672B/en
Publication of CN109995672A publication Critical patent/CN109995672A/en
Application granted granted Critical
Publication of CN109995672B publication Critical patent/CN109995672B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/215Flow control; Congestion control using token-bucket
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • H04L47/2433Allocation of priorities to traffic types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2441Traffic characterised by specific attributes, e.g. priority or QoS relying on flow classification, e.g. using integrated services [IntServ]

Abstract

The invention discloses a kind of virtual home gateway bandwidth dispatch control method and system based on DPDK, it is related to device bandwidth control field, this method includes creation DPDK interface, mapping is established between family and the subport node of DPDK interface, and mapping is established between household equipment and the pipeline node of DPDK interface;Subport node is set, speed limit is carried out with the uplink and downlink to family;Pipeline node is set, speed limit is carried out with the uplink and downlink to household equipment;The uplink and downlink priority of household equipment is scheduled based on the setting of DPDK interface flow classification node.The present invention can effectively realize the bandwidth speed limiting and priority scheduling of family, household equipment.

Description

Virtual home gateway bandwidth dispatch control method and system based on DPDK
Technical field
The present invention relates to device bandwidth control fields, and in particular to a kind of virtual home gateway bandwidth scheduling based on DPDK Control method and system.
Background technique
With the development in market and technology, more and more network infrastructures start to based on universal computing platform or mould The framework direction of block computing platform is merged, to support and provide the Network Element Function of multiplicity, general purpose I ntel DPDK (Intel Data Plane Development Kit, Intel data plane development kit), based on Intel x86 framework Traditional processing application and control function not only may be implemented in processor module, can also realize intelligent and efficient packet processing, IP forwarding performance is substantially improved.
QoS (Quality of Service), i.e. service quality, for network service, service quality include transmission bandwidth, Transfer delay, data packetloss rate etc..It in a network can be by guaranteeing the bandwidth of transmission, the time delay for reducing transmission, reducing data Packet loss and reduce the measures such as delay variation to improve service quality.And Internet resources are always limited, simply by the presence of robbing The case where taking Internet resources by force just will appear the requirement of service quality, therefore, network manager need according to various businesses the characteristics of Internet resources are reasonably planned and distributed, so that Internet resources be made efficiently to be utilized.
QoS in current DPDK is a kind of model by different level, includes port (port), subport (subport), pipe (pipeline), traffic class (traffic classes) and five layers of node of queue (queue), as shown in Figure 1, the first of hierarchical structure Layer is Ethernet TX port 1/10/40GbE, and subsequent stratum level is defined as subport, pipeline, traffic classes and queue, often A subport represents one group of predefined user, and one user of each pipeline representative, each traffic classes be have it is specific Loss Rate, delay and jitter require the expression of the different flow type of (such as voice, video or data transmission).Each queue Carrying belongs to the data packet of same type of one or more connections of same user.DPDK primary specification of a model Subport represents user group, and pipe represents single user, does not illustrate to the correspondence of equipment, causes how family and family to be arranged The QoS service of front yard equipment does not implement.
Summary of the invention
In view of the deficiencies in the prior art, the purpose of the present invention is to provide a kind of virtual home net based on DPDK Bandwidth scheduling control method and system are closed, can effectively realize the bandwidth speed limiting and priority scheduling of family, household equipment.
To achieve the above objectives, a kind of virtual home gateway bandwidth dispatch control method based on DPDK of the present invention includes:
DPDK interface is created, mapping, household equipment and DPDK interface are established between family and the subport node of DPDK interface Pipeline node between establish mapping;
Subport node is set, speed limit is carried out with the uplink and downlink to family;
Pipeline node is set, speed limit is carried out with the uplink and downlink to household equipment;
The uplink and downlink priority of household equipment is scheduled based on the setting of DPDK interface flow classification node.
Based on the above technical solution, the creation DPDK interface, specific steps include:
The configuration file for modifying DPDK opens the qos feature of DPDK;
Distribute the core cpu for handling QoS business;
Creation DPDK interface simultaneously enables, while configuring IP address to it.
Based on the above technical solution, the setting subport node carries out speed limit, tool with the uplink and downlink to family Body step includes: that the token bucket rate of DPDK interface subport node is arranged with the uplink and downlink progress speed limit to family.
Based on the above technical solution,
The setting pipeline node limit the downlink of household equipment in speed limit with the uplink and downlink to household equipment Speed, specific steps include:
Search offset of the downlink destination IP in downlink destination IP field original message;
It is extracted using mask and deviates corresponding value, which is profile template bound in pipeline node;
The downlink speed limit to household equipment is completed by the speed limit to profile template;
The setting pipeline node limit the uplink of household equipment in speed limit with the uplink and downlink to household equipment Speed, specific steps include:
The accurate matching of the household equipment target MAC (Media Access Control) address of classify is set, the target MAC (Media Access Control) address word of message will be hit Section is mapped to characteristic value pipe template;
IP address or MAC Address based on household equipment are made classify in virtual gateway LAN side and are accurately matched, and accurate It is mapped with being established afterwards with pipe template;
The DPDK outgoing interface that pipe template is passed to virtual gateway WAN side, by pipe template to the upper of household equipment Row carries out speed limit.
Based on the above technical solution, described to be arranged based on DPDK interface flow classification node to the upper of household equipment Downlink priority is scheduled, and specific steps include:
IP address or MAC Address based on household equipment are made classify in virtual gateway LAN side and are accurately matched;
By the IP address or the traffic classes characteristic value that is mapped in pipe template of MAC Address after accurate matching and pass to The DPDK outgoing interface of virtual gateway WAN side;
The traffic classes information for generating DPDK carries out the tune of household equipment upstream priority according to traffic classes priority Degree;
Offset based on household equipment downlink destination IP in downlink destination IP field original message;
It is extracted using mask and deviates corresponding value, which is page table entries;
By the traffic classes of the setting page table entries value different with queue, the tune of household equipment downlink priority is realized Degree.
A kind of virtual home gateway bandwidth Dispatching Control System based on DPDK provided by the invention, comprising:
Creation module is used to create DPDK interface, and mapping, family are established between family and the subport node of DPDK interface Mapping is established between equipment and the pipeline node of DPDK interface;
First speed limit setup module is used to be arranged subport node with the uplink and downlink to family and carries out speed limit;
Second speed limit setup module is used to be arranged pipeline node with the uplink and downlink to household equipment and carries out speed limit;
Setup module is dispatched, is used to that the row major up and down to household equipment to be arranged based on DPDK interface flow classification node Grade is scheduled.
Based on the above technical solution, the creation module creates DPDK interface, and detailed process includes:
The configuration file for modifying DPDK opens the qos feature of DPDK;
Distribute the core cpu for handling QoS business;
Creation DPDK interface simultaneously enables, while configuring IP address to it.
Based on the above technical solution, the first speed limit setup module setting subport node is to the upper of family Downlink carries out speed limit, and specific steps include: that the token bucket rate of DPDK interface subport node is arranged with the uplink and downlink to family Carry out speed limit.
Based on the above technical solution, the second speed limit setup module setting pipeline node is to household equipment Uplink and downlink carries out in speed limit, carries out speed limit to the downlink of household equipment, specific steps include:
Search offset of the downlink destination IP in downlink destination IP field original message;
It is extracted using mask and deviates corresponding value, which is profile template bound in pipeline node;
The downlink speed limit to household equipment is completed by the speed limit to profile template;
The second speed limit setup module setting pipeline node is carried out in speed limit with the uplink and downlink to household equipment, to family The uplink of equipment carries out speed limit, and specific steps include:
The accurate matching of the household equipment target MAC (Media Access Control) address of classify is set, the target MAC (Media Access Control) address word of message will be hit Section is mapped to characteristic value pipe template;
IP address or MAC Address based on household equipment are made classify in virtual gateway LAN side and are accurately matched, and accurate It is mapped with being established afterwards with pipe template;
The DPDK outgoing interface that pipe template is passed to virtual gateway WAN side, by pipe template to the upper of household equipment Row carries out speed limit.
Based on the above technical solution, the scheduling setup module is based on the setting pair of DPDK interface flow classification node The uplink and downlink priority of household equipment is scheduled, and specific steps include:
IP address or MAC Address based on household equipment are made classify in virtual gateway LAN side and are accurately matched;
By the IP address or the traffic classes characteristic value that is mapped in pipe template of MAC Address after accurate matching and pass to The DPDK outgoing interface of virtual gateway WAN side;
The traffic classes information for generating DPDK carries out the tune of household equipment upstream priority according to traffic classes priority Degree;
Offset based on household equipment downlink destination IP in downlink destination IP field original message;
It is extracted using mask and deviates corresponding value, which is page table entries;
By the traffic classes of the setting page table entries value different with queue, the tune of household equipment downlink priority is realized Degree.
Compared with the prior art, the advantages of the present invention are as follows: by establishing reflecting between DPDK node and family, household equipment Relationship is penetrated, so that the traffic classes of different node be arranged to reach the bandwidth speed limiting and priority tune of realizing family, household equipment The purpose of degree improves the convenience and efficiency of management, greatly promotion user experience.
Detailed description of the invention
Fig. 1 is the hierarchical model of DPDK interface;
Fig. 2 is a kind of process of the virtual home gateway bandwidth dispatch control method based on DPDK in the embodiment of the present invention Figure;
Fig. 3 is DPDK interface QoS system architecture diagram.
Specific embodiment
Invention is further described in detail with reference to the accompanying drawings and embodiments.Those skilled in the art Ying Ming White, the embodiment of the present invention can provide as method, system or computer program product.Therefore, complete hardware can be used in the present invention The form of embodiment, complete software embodiment or embodiment combining software and hardware aspects.Moreover, the present invention can be used One or more wherein includes that (including but not limited to disk is deposited for the computer-usable storage medium of computer usable program code Reservoir, CD-ROM, optical memory etc.) on the form of computer program product implemented.
The embodiment of the present invention provides a kind of virtual home gateway bandwidth dispatch control method based on DPDK, passes through foundation Mapping relations between DPDK node and family, household equipment, thus the traffic classes of different node are set reach realize family, The bandwidth speed limiting of household equipment and the purpose of priority scheduling.The embodiment of the present invention has also correspondingly provided a kind of based on DPDK's Virtual home gateway bandwidth Dispatching Control System.
It is shown in Figure 2, a kind of virtual home gateway bandwidth scheduling controlling based on DPDK provided in an embodiment of the present invention One embodiment of method includes:
S1: creation DPDK interface establishes mapping between family and the subport node of DPDK interface, household equipment connects with DPDK Mapping is established between the pipeline node of mouth.
In the embodiment of the present invention, the port (Port) of DPDK is exactly actual physical interface, under a port only one Subport can just correspond to one family, and a subport includes 4096 pipelines (pipe), and such pipeline can be right Answer household equipment.Therefore use the model of 1:1, only one family in a virtual gateway, and subport also only one, so It is easier to establish mapping relations between virtual gateway and subport.
It is shown in Figure 3, in the embodiment of the present invention, first established in the side Lan of virtual gateway and the side Wan respective Namespace (NameSpace) then creates peer port (peer port) inside netns (network name space), will An interface outside netns is connected by bridge mode with DPDK interface, and DPDK Lan side interface is in Wan side interface Different segment, centre are converted by NAT (Network Address Translation, network address translation).
S2: setting subport node carries out speed limit with the uplink and downlink to family.
In the embodiment of the present invention, subport node is set with the uplink and downlink to family and carries out speed limit, specific steps include: to set It sets the token bucket rate of DPDK interface subport node and speed limit is carried out with the uplink and downlink to family.
S3: setting pipeline node carries out speed limit with the uplink and downlink to household equipment;
S4: the uplink and downlink priority of household equipment is scheduled based on the setting of DPDK interface flow classification node.
The virtual home gateway bandwidth dispatch control method based on DPDK of the embodiment of the present invention, by establishing DPDK node Mapping relations between family, household equipment, so that the traffic classes of different node be arranged to reach and realize family, household equipment Bandwidth speed limiting and priority scheduling purpose, improve the convenience and efficiency of management, greatly promotion user experience.
Optionally, on the basis of virtual home gateway bandwidth dispatch control method embodiment above-mentioned based on DPDK, this A kind of first alternative embodiment of virtual home gateway bandwidth dispatch control method based on DPDK that inventive embodiments provide In, DPDK interface is created, specific steps include:
S101: the configuration file for modifying DPDK opens the qos feature of DPDK;
S102: the core cpu for handling QoS business is distributed;
S103: creation DPDK interface simultaneously enables, while configuring IP address to it.Interface flush under server is arrived Inside DPDK, it is seen that be exactly DPDK interface.
Optionally, on the basis of virtual home gateway bandwidth dispatch control method embodiment above-mentioned based on DPDK, this A kind of second alternative embodiment of virtual home gateway bandwidth dispatch control method based on DPDK that inventive embodiments provide In, pipeline node is set and is carried out in speed limit with the uplink and downlink to household equipment, speed limit is carried out to the downlink of household equipment, it is specific to walk Suddenly include:
S311: offset of the downlink destination IP in downlink destination IP field original message is searched;
S312: being extracted using mask and deviate corresponding value, which is profile template bound in pipeline node;
S313: the downlink speed limit to household equipment is completed by the speed limit to profile template.
Pipeline node is arranged to carry out in speed limit with the uplink and downlink to household equipment, speed limit is carried out to the uplink of household equipment, Specific steps include:
S321: being arranged the accurate matching of the household equipment target MAC (Media Access Control) address of classify, will hit the purpose MAC of message Address field is mapped to characteristic value pipe template;Classify is a kind of algorithm that DPDK is provided.
S322: IP address or MAC Address based on household equipment are made classify in virtual gateway LAN side and are accurately matched, It establishes and maps with pipe template after accurate matching;
S323: pipe template is passed to the DPDK outgoing interface of virtual gateway WAN side, by pipe template to household equipment Uplink carry out speed limit.
Optionally, second alternative embodiment of virtual home gateway bandwidth dispatch control method above-mentioned based on DPDK On the basis of, a kind of third of the virtual home gateway bandwidth dispatch control method based on DPDK provided in an embodiment of the present invention is a can It selects in embodiment, the uplink and downlink priority of household equipment is scheduled based on the setting of DPDK interface flow classification node, specifically Step includes:
S401: IP address or MAC Address based on household equipment are made classify in virtual gateway LAN side and are accurately matched;
S402: the IP address after accurately matching or MAC Address are mapped to the traffic classes characteristic value in pipe template simultaneously Pass to the DPDK outgoing interface of virtual gateway WAN side;
S403: generating the traffic classes information of DPDK, carries out household equipment upstream priority according to traffic classes priority Scheduling;
S404: based on offset of the household equipment downlink destination IP in downlink destination IP field original message;
S405: being extracted using mask and deviate corresponding value, which is page table entries;
S406: by the traffic classes of the setting page table entries value different with queue, household equipment downlink priority is realized Scheduling.
A kind of one embodiment of virtual home gateway bandwidth Dispatching Control System based on DPDK provided by the invention includes:
Creation module is used to create DPDK interface, and mapping, family are established between family and the subport node of DPDK interface Mapping is established between equipment and the pipeline node of DPDK interface;
First speed limit setup module is used to be arranged subport node with the uplink and downlink to family and carries out speed limit;
Second speed limit setup module is used to be arranged pipeline node with the uplink and downlink to household equipment and carries out speed limit;
Setup module is dispatched, is used to that the row major up and down to household equipment to be arranged based on DPDK interface flow classification node Grade is scheduled.
Creation module creates DPDK interface, and detailed process includes:
The configuration file for modifying DPDK opens the qos feature of DPDK;
Distribute the core cpu for handling QoS business;
Creation DPDK interface simultaneously enables, while configuring IP address to it.
First speed limit setup module is arranged subport node and carries out speed limit with the uplink and downlink to family, and specific steps include: The token bucket rate of DPDK interface subport node is set, speed limit is carried out with the uplink and downlink to family.
Optionally, on the basis of virtual home gateway bandwidth Dispatching Control System embodiment above-mentioned based on DPDK, this A kind of first alternative embodiment of virtual home gateway bandwidth Dispatching Control System based on DPDK that inventive embodiments provide In,
The second speed limit setup module setting pipeline node is carried out in speed limit with the uplink and downlink to household equipment, to family The downlink of equipment carries out speed limit, and specific steps include:
Search offset of the downlink destination IP in downlink destination IP field original message;
It is extracted using mask and deviates corresponding value, which is profile template bound in pipeline node;
The downlink speed limit to household equipment is completed by the speed limit to profile template;
The second speed limit setup module setting pipeline node is carried out in speed limit with the uplink and downlink to household equipment, to family The uplink of equipment carries out speed limit, and specific steps include:
The accurate matching of the household equipment target MAC (Media Access Control) address of classify is set, the target MAC (Media Access Control) address word of message will be hit Section is mapped to characteristic value pipe template;
IP address or MAC Address based on household equipment are made classify in virtual gateway LAN side and are accurately matched, and accurate It is mapped with being established afterwards with pipe template;
The DPDK outgoing interface that pipe template is passed to virtual gateway WAN side, by pipe template to the upper of household equipment Row carries out speed limit.
The uplink and downlink priority to household equipment is arranged based on DPDK interface flow classification node for the scheduling setup module It is scheduled, specific steps include:
IP address or MAC Address based on household equipment are made classify in virtual gateway LAN side and are accurately matched;
By the IP address or the traffic classes characteristic value that is mapped in pipe template of MAC Address after accurate matching and pass to The DPDK outgoing interface of virtual gateway WAN side;
The traffic classes information for generating DPDK carries out the tune of household equipment upstream priority according to traffic classes priority Degree;
Offset based on household equipment downlink destination IP in downlink destination IP field original message;
It is extracted using mask and deviates corresponding value, which is page table entries;
By the traffic classes of the setting page table entries value different with queue, the tune of household equipment downlink priority is realized Degree.
The present invention be referring to according to the method for the embodiment of the present invention, the flow chart of equipment (system) and computer program product And/or block diagram describes.It should be understood that each process in flowchart and/or the block diagram can be realized by computer program instructions And/or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer programs to refer to Enable the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to generate One machine so that by the instruction that the processor of computer or other programmable data processing devices executes generate for realizing The device for the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as protection of the invention Within the scope of.The content being not described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.

Claims (10)

1. a kind of virtual home gateway bandwidth dispatch control method based on DPDK, which comprises the following steps:
DPDK interface is created, mapping, the pipe of household equipment and DPDK interface are established between family and the subport node of DPDK interface Mapping is established between road node;
Subport node is set, speed limit is carried out with the uplink and downlink to family;
Pipeline node is set, speed limit is carried out with the uplink and downlink to household equipment;
The uplink and downlink priority of household equipment is scheduled based on the setting of DPDK interface flow classification node.
2. a kind of virtual home gateway bandwidth dispatch control method based on DPDK as described in claim 1, which is characterized in that The creation DPDK interface, specific steps include:
The configuration file for modifying DPDK opens the qos feature of DPDK;
Distribute the core cpu for handling QoS business;
Creation DPDK interface simultaneously enables, while configuring IP address to it.
3. a kind of virtual home gateway bandwidth dispatch control method based on DPDK as described in claim 1, which is characterized in that The setting subport node carries out speed limit with the uplink and downlink to family, and specific steps include: setting DPDK interface subport knot The token bucket rate of point carries out speed limit with the uplink and downlink to family.
4. a kind of virtual home gateway bandwidth dispatch control method based on DPDK as described in claim 1, which is characterized in that
The setting pipeline node is carried out in speed limit with the uplink and downlink to household equipment, carries out speed limit to the downlink of household equipment, Specific steps include:
Search offset of the downlink destination IP in downlink destination IP field original message;
It is extracted using mask and deviates corresponding value, which is profile template bound in pipeline node;
The downlink speed limit to household equipment is completed by the speed limit to profile template;
The setting pipeline node is carried out in speed limit with the uplink and downlink to household equipment, carries out speed limit to the uplink of household equipment, Specific steps include:
The accurate matching of the household equipment target MAC (Media Access Control) address of classify is set, the target MAC (Media Access Control) address field for hitting message is reflected Penetrate into characteristic value pipe template;
IP address or MAC Address based on household equipment are made classify in virtual gateway LAN side and are accurately matched, after accurate matching It establishes and maps with pipe template;
The DPDK outgoing interface that pipe template is passed to virtual gateway WAN side, the upper traveling by pipe template to household equipment Row speed limit.
5. a kind of virtual home gateway bandwidth dispatch control method based on DPDK as claimed in claim 4, which is characterized in that It is described that the uplink and downlink priority of household equipment is scheduled based on the setting of DPDK interface flow classification node, specific steps packet It includes:
IP address or MAC Address based on household equipment are made classify in virtual gateway LAN side and are accurately matched;
By the IP address or the traffic classes characteristic value that is mapped in pipe template of MAC Address after accurate matching and pass to virtual The DPDK outgoing interface of gateway WAN side;
The traffic classes information for generating DPDK carries out the scheduling of household equipment upstream priority according to traffic classes priority;
Offset based on household equipment downlink destination IP in downlink destination IP field original message;
It is extracted using mask and deviates corresponding value, which is page table entries;
By the traffic classes of the setting page table entries value different with queue, the scheduling of household equipment downlink priority is realized.
6. a kind of virtual home gateway bandwidth Dispatching Control System based on DPDK characterized by comprising
Creation module is used to create DPDK interface, and mapping, household equipment are established between family and the subport node of DPDK interface Mapping is established between the pipeline node of DPDK interface;
First speed limit setup module is used to be arranged subport node with the uplink and downlink to family and carries out speed limit;
Second speed limit setup module is used to be arranged pipeline node with the uplink and downlink to household equipment and carries out speed limit;
Setup module is dispatched, is used to be arranged based on DPDK interface flow classification node preferentially grading to the uplink and downlink of household equipment Row scheduling.
7. a kind of virtual home gateway bandwidth Dispatching Control System based on DPDK as claimed in claim 6, which is characterized in that The creation module creates DPDK interface, and detailed process includes:
The configuration file for modifying DPDK opens the qos feature of DPDK;
Distribute the core cpu for handling QoS business;
Creation DPDK interface simultaneously enables, while configuring IP address to it.
8. a kind of virtual home gateway bandwidth Dispatching Control System based on DPDK as claimed in claim 6, which is characterized in that The first speed limit setup module setting subport node carries out speed limit with the uplink and downlink to family, and specific steps include: setting The token bucket rate of DPDK interface subport node carries out speed limit with the uplink and downlink to family.
9. a kind of virtual home gateway bandwidth Dispatching Control System based on DPDK as claimed in claim 6, which is characterized in that The second speed limit setup module setting pipeline node is carried out in speed limit with the uplink and downlink to household equipment, under household equipment Row carries out speed limit, and specific steps include:
Search offset of the downlink destination IP in downlink destination IP field original message;
It is extracted using mask and deviates corresponding value, which is profile template bound in pipeline node;
The downlink speed limit to household equipment is completed by the speed limit to profile template;
The second speed limit setup module setting pipeline node is carried out in speed limit with the uplink and downlink to household equipment, to household equipment Uplink carry out speed limit, specific steps include:
The accurate matching of the household equipment target MAC (Media Access Control) address of classify is set, the target MAC (Media Access Control) address field for hitting message is reflected Penetrate into characteristic value pipe template;
IP address or MAC Address based on household equipment are made classify in virtual gateway LAN side and are accurately matched, after accurate matching It establishes and maps with pipe template;
The DPDK outgoing interface that pipe template is passed to virtual gateway WAN side, the upper traveling by pipe template to household equipment Row speed limit.
10. a kind of virtual home gateway bandwidth Dispatching Control System based on DPDK as claimed in claim 9, feature exist In the scheduling setup module adjusts the uplink and downlink priority of household equipment based on the setting of DPDK interface flow classification node Degree, specific steps include:
IP address or MAC Address based on household equipment are made classify in virtual gateway LAN side and are accurately matched;
By the IP address or the traffic classes characteristic value that is mapped in pipe template of MAC Address after accurate matching and pass to virtual The DPDK outgoing interface of gateway WAN side;
The traffic classes information for generating DPDK carries out the scheduling of household equipment upstream priority according to traffic classes priority;
Offset based on household equipment downlink destination IP in downlink destination IP field original message;
It is extracted using mask and deviates corresponding value, which is page table entries;
By the traffic classes of the setting page table entries value different with queue, the scheduling of household equipment downlink priority is realized.
CN201910223210.XA 2019-03-22 2019-03-22 DPDK-based virtual home gateway bandwidth scheduling control method and system Active CN109995672B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910223210.XA CN109995672B (en) 2019-03-22 2019-03-22 DPDK-based virtual home gateway bandwidth scheduling control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910223210.XA CN109995672B (en) 2019-03-22 2019-03-22 DPDK-based virtual home gateway bandwidth scheduling control method and system

Publications (2)

Publication Number Publication Date
CN109995672A true CN109995672A (en) 2019-07-09
CN109995672B CN109995672B (en) 2022-03-25

Family

ID=67130962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910223210.XA Active CN109995672B (en) 2019-03-22 2019-03-22 DPDK-based virtual home gateway bandwidth scheduling control method and system

Country Status (1)

Country Link
CN (1) CN109995672B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113434287A (en) * 2021-06-03 2021-09-24 中国联合网络通信集团有限公司 Task data transmission method, system, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539440A (en) * 2013-07-09 2015-04-22 英特尔公司 Traffic management with ingress control
US20180083866A1 (en) * 2016-09-20 2018-03-22 Sameh Gobriel Efficient qos support for software packet processing on general purpose servers
US20180213440A1 (en) * 2017-01-25 2018-07-26 Affirmed Networks, Inc. Load balancing of wireless subscriber packet processing over multiple packet processing cores on a virtual machine platform
CN108632110A (en) * 2018-03-23 2018-10-09 广州网测科技有限公司 Equipment performance test method, system, computer equipment and storage medium
CN108768873A (en) * 2018-05-29 2018-11-06 腾讯科技(深圳)有限公司 A kind of flow control methods and relevant device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539440A (en) * 2013-07-09 2015-04-22 英特尔公司 Traffic management with ingress control
US20170149678A1 (en) * 2013-07-09 2017-05-25 Intel Corporation Method and system for traffic metering to limit a received packet rate
US20180083866A1 (en) * 2016-09-20 2018-03-22 Sameh Gobriel Efficient qos support for software packet processing on general purpose servers
US20180213440A1 (en) * 2017-01-25 2018-07-26 Affirmed Networks, Inc. Load balancing of wireless subscriber packet processing over multiple packet processing cores on a virtual machine platform
CN108632110A (en) * 2018-03-23 2018-10-09 广州网测科技有限公司 Equipment performance test method, system, computer equipment and storage medium
CN108768873A (en) * 2018-05-29 2018-11-06 腾讯科技(深圳)有限公司 A kind of flow control methods and relevant device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113434287A (en) * 2021-06-03 2021-09-24 中国联合网络通信集团有限公司 Task data transmission method, system, electronic device and storage medium

Also Published As

Publication number Publication date
CN109995672B (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN104717137B (en) Manage the method and system of the data flow in overlay network
CN104618244B (en) A kind of SDN and the method and system of traditional IP intercommunication
CN107819662B (en) A kind of service function chain real-time migration method calculating network applied to cloud and mist
CN108809857A (en) A method of the traffic monitoring based on SDN and service quality securing strategy
WO2018205325A1 (en) Method and system for use in constructing content delivery network platform on heterogeneous resources
CN109644143A (en) Method and apparatus for network slice
CN104717098B (en) A kind of data processing method and device
CN104503826B (en) The virtual machine mapping method and device of a kind of cloud computation data center
Garay et al. Service description in the NFV revolution: Trends, challenges and a way forward
CN104184663B (en) Communication means and device based on software defined network and integrated identification network
CN110087250B (en) Network slice arranging scheme and method based on multi-objective joint optimization model
KR20170066583A (en) Software-defined network-based method and system for implementing content distribution network
CN108718246B (en) Resource scheduling method and system oriented to network function virtualization
CN106850444A (en) Logic L3 route
CN108540559B (en) SDN controller supporting IPSec VPN load balancing
CN106302221B (en) Traffic scheduling method and system based on end office's cloud
CN111049747B (en) Intelligent virtual network path planning method for large-scale container cluster
CN102571946B (en) Realization method of protocol identification and control system based on P2P (peer-to-peer network)
CN109818867A (en) A kind of configuration method and device
CN106161102A (en) A kind of IP RAN network optimization emulation mode and system
CN110061881A (en) A kind of energy consumption perception virtual network mapping algorithm based on Internet of Things
CN103281211A (en) Large-scale network node grouping management system and management method
CN103905312B (en) IPv6/IPv4 protocol translations gateway and data message processing method
CN103236944A (en) QoS (quality of service) integrated management system based on OpenFlow network
CN109995672A (en) Virtual home gateway bandwidth dispatch control method and system based on DPDK

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant