CN110177054A - A kind of port queue dispatching method, device, network controller and storage medium - Google Patents
A kind of port queue dispatching method, device, network controller and storage medium Download PDFInfo
- Publication number
- CN110177054A CN110177054A CN201910429713.2A CN201910429713A CN110177054A CN 110177054 A CN110177054 A CN 110177054A CN 201910429713 A CN201910429713 A CN 201910429713A CN 110177054 A CN110177054 A CN 110177054A
- Authority
- CN
- China
- Prior art keywords
- queue
- service message
- port
- port queue
- business stream
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/16—Threshold monitoring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/52—Queue scheduling by attributing bandwidth to queues
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the present disclosure provides a kind of port queue dispatching method, device, network controller and storage medium, network controller obtains the business stream information for each service message that first port queue is carried, according to the business stream information of each service message, determine the queue configured transmission of first port queue, judge whether queue configured transmission is more than preset threshold, if being more than, then according to preset schedule strategy, each service message that first port queue is carried is dispatched to transmission quality more preferably second port queue.Queue configured transmission embodies the transmission situation of the service message on port queue, if queue configured transmission is more than preset threshold, then illustrate that first port queue is not enough to carry each service message that need to currently carry, each service message integrated scheduling that then first port queue is carried is to transmission quality more preferably second port queue, the flow scheduling based on port queue is realized, the efficiency of flow scheduling is improved.
Description
Technical field
This disclosure relates to network technique field, more particularly to a kind of port queue dispatching method, device, network controller
And storage medium.
Background technique
With the continuous development of network technology, user is higher and higher for the quality of service requirement of network, in order to guarantee net
Network is capable of providing stable service quality, and according to the difference of type of service, it is different that each service message is shared routing device
Port queue is transmitted.
When business changes, current port queue may be not enough to bearer service message, need to port queue
The service message of upper carrying carries out flow scheduling.Currently, flow scheduling technology is mainly based upon the flow scheduling skill of service message
Art needs to transmit other port queues that are dispatched to of service message one by one, should need constantly to record in the process, more new biography
The information of the port queue of defeated each service message, heavy workload, the low efficiency of flow scheduling.
Summary of the invention
The embodiment of the present disclosure is designed to provide a kind of port queue dispatching method, device, network controller and storage
Medium, to improve the efficiency of flow scheduling.Specific technical solution is as follows:
In a first aspect, the embodiment of the present disclosure provides a kind of port queue dispatching method, it is applied to network controller, it is described
Method includes:
Obtain the business stream information for each service message that first port queue is carried;
According to the business stream information of each service message, the queue configured transmission of the first port queue is determined;
Judge whether the queue configured transmission is more than preset threshold;
If being more than, according to preset schedule strategy, each service message that the first port queue is carried is dispatched to
Second port queue, the second port queue are better than institute for transmission quality on the routing device under network controller control
State the port queue of first port queue.
Second aspect, the embodiment of the present disclosure provide a kind of port queue dispatching device, are applied to network controller, described
Device includes:
Module is obtained, for obtaining the business stream information for each service message that first port queue is carried;
Determining module determines the team of the first port queue for the business stream information according to each service message
Column configured transmission;
Judgment module, for judging whether the queue configured transmission is more than preset threshold;
Scheduler module, if it is more than preset threshold that the judging result for the judgment module, which is the queue configured transmission,
Then according to preset schedule strategy, each service message that the first port queue is carried is dispatched to second port queue, institute
Stating second port queue is transmission quality on the routing device under network controller control better than the first port queue
Port queue.
The third aspect, the embodiment of the present disclosure provide a kind of network controller, including pocessor and storage media, wherein
The storage medium, for storing computer program;
The processor when for executing the computer program stored on the storage medium, realizes that the disclosure is implemented
Port queue dispatching method provided by example first aspect.
Fourth aspect, the embodiment of the present disclosure provide a kind of storage medium, computer journey are stored in the storage medium
Sequence realizes port queue dispatching party provided by the embodiment of the present disclosure first aspect when computer program is executed by processor
Method.
A kind of port queue dispatching method, device, network controller and the storage medium that the embodiment of the present disclosure provides obtain
The business stream information for each service message that first port queue is carried determines according to the business stream information of each service message
The queue configured transmission of Single port queue judges whether queue configured transmission is more than preset threshold, if being more than, according to default tune
Degree strategy, each service message that first port queue is carried is dispatched to second port queue, wherein second port queue is
Transmission quality is better than the port queue of first port queue on routing device under network controller control.By obtaining first end
The business stream information for each service message that mouth queue is carried, can determine the queue configured transmission of first port queue, into
And the service message transmission situation of first port queue is obtained, if queue configured transmission is more than preset threshold, illustrate first
Port queue is not enough to carry each service message that need to currently carry, then each service message carried first port queue is whole
It is dispatched to transmission quality more preferably second port queue, the flow scheduling based on port queue is realized, improves flow scheduling
Efficiency.
Detailed description of the invention
In order to illustrate more clearly of the embodiment of the present disclosure or technical solution in the prior art, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Disclosed some embodiments for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the flow diagram of the port queue dispatching method of the embodiment of the present disclosure;
Fig. 2 is the network transmission schematic diagram of the embodiment of the present disclosure;
Fig. 3 is the network transmission schematic diagram after the port queue scheduling of the embodiment of the present disclosure;
Fig. 4 is the structural schematic diagram of the port queue dispatching device of the embodiment of the present disclosure;
Fig. 5 is the structural schematic diagram of the network controller of the embodiment of the present disclosure.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present disclosure, the technical solution in the embodiment of the present disclosure is carried out clear, complete
Site preparation description, it is clear that described embodiment is only disclosure a part of the embodiment, instead of all the embodiments.It is based on
Embodiment in the disclosure, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment belongs to the range of disclosure protection.
In order to improve the efficiency of flow scheduling, the embodiment of the present disclosure provides a kind of port queue dispatching method, device, net
Network controller and storage medium.In the following, port queue dispatching method provided by the embodiment of the present disclosure is introduced first.
The executing subject of port queue dispatching method provided by the embodiment of the present disclosure can be network controller, such as
SDN (Software Defined Network, software defined network) controller realizes port provided by the embodiment of the present disclosure
The mode of array dispatching method can be at least one in the software, hardware circuit and logic circuit being set in executing subject
Kind.
As shown in Figure 1, a kind of port queue dispatching method provided by the embodiment of the present disclosure, may include steps of:
S101 obtains the business stream information for each service message that first port queue is carried.
First port queue is the port queue of any routing device in network, and network controller needs to monitor in real time each road
By the port queue of equipment, since the business variation of port queue can be embodied directly in each service message of port queue carrying
Business stream information on, therefore, network controller needs to get each service message that port queue carries from port queue
Business stream information.Specifically, network controller can periodically obtain each service message that first port queue is carried
Business stream information.Service traffics information refers to the related data of generated Business Stream when service message transmits in port queue
Information, such as service traffics size, packet loss, time delay etc..
When building network, it is necessary first to carry out configurations to network, configuration process can be artificial configuration, can also be with
It is that configuration strategy is stored in advance on network controller, is network controlled device and carries out network configuration.Network configuration mainly includes IP
The planning of (Internet Protocol, Internet protocol) address, routing intercommunication configuration, network management configuration etc..Complete network
After configuration, it can be controlled by the network device and carry out service message transmission setting, specifically, the step of service message transmission setting can
To include:
The first step, the type of service, the corresponding source device information of each service message and purpose for obtaining each service message are set
Standby information.
Second step is grouped each service message according to the type of service of each service message, and determines that carrying is every respectively
The link information of operator's link of each service message in a grouping.
Third step, for any grouping, according to the source device information and purpose equipment information of service message each in the grouping
And the link information of operator's link, establish the corresponding tunnel of the grouping.
Network is completed to need to define the transmission strategy of service message, network-control by network controller with postponing
Device is grouped each service message according to the type of service of each service message, can be same or similar by type of service
Service message is divided into same group, and carries operator's link of each service message and end in the grouping for each grouping distribution
Mouth queue, for example, the service message (such as voice, production service message) high for importance, bandwidth requirement is low, can distribute
Operator's link of high quality is carried, and distribute corresponding port queue carry out QoS (Quality of Service,
Service quality) it ensures;The service message (such as office service message) low for importance, bandwidth requirement is high, can be with distribution chain
Quality relatively poor operator's link in road is carried, and is distributed corresponding port queue and carried out QoS guarantee.
In current network in equipment room message transmissions mode, common transmission technology is tunneling technique, uses tunnel
The service message of transmitting can be the service message of different agreement.Tunnel protocol Reseals the service message of other agreements so
It is sent afterwards by tunnel.New heading provides tunnel forwarding information, will pass through the packed load data of network transmitting.Needle
To any grouping, network controller is according to the source device information and purpose equipment information of service message each in the grouping and operator
The link information of link can establish the corresponding tunnel of the grouping, wherein source device information is the source device of service message access
Facility information, purpose equipment information be service message purpose equipment to be reached facility information.Establish the process in tunnel
Practical is exactly the process of path planning, is believed according to the link information of operator's link of distribution and source device information, purpose equipment
Breath can use the calculating that the strategies such as shortest path planning, optimal transmission paths planning carry out tunnel path, and a grouping
A tunnel is corresponded to, the service message in the same grouping can be transmitted by the same tunnel.
In a specific implementation of the embodiment of the present disclosure, since current flow scheduling is real mainly in single domain
Existing, therefore, the routing device that need to be scheduled is deployed in the same AS (Autonomous System, autonomous system) domain
In, network controller is SDN controller, is formed by network range by SDN controller management routing device and is known as SDN management
Domain.Every routing device disposes 2 sets of Loopback (loopback) interfaces, a set of Loopback interface in basic network deployment base
For establishing tunnel, for another set of Loopback interface for establishing Label Forwarding Information Base, the foundation of two sets of Loopback interfaces can
Guarantee that transmission path is not in loop.Tunneling technique can use SR (Segment Routing, section routing) tunneling technique,
Each routing device is set and supports SR characteristic, the tunnel established includes SR default tunnel and scheduling tunnel, wherein SR default
The priority of tunneling traffic message is lower, and the priority for dispatching tunneling traffic message is higher, realizes the same queue
In, the balanced transmission of service with different priority levels message.
S102 determines the queue configured transmission of first port queue according to the business stream information of each service message.
In getting first port queue after the business stream information of each service message, business stream information is first port team
The related data information that the defeated service message of biographies generates can determine first end according to the business stream information of each service message
The queue configured transmission of mouth queue.Queue configured transmission refer to port queue in transmission services message, it is related to transmission performance
Property parameters, such as queue bandwidth usage, queue transmission quality etc..
Optionally, business stream information may include Business Stream bandwidth value, and queue configured transmission may include that queue bandwidth accounts for
With rate.
Correspondingly, port queue dispatching method provided by the embodiment of the present disclosure can also be performed before executing S102:
Obtain the preset bandwidth value of pre-assigned first port queue.
S102 can be specifically achieved by the steps of: according to the Business Stream bandwidth value of each service message, calculate each business
The sum of Business Stream bandwidth value of message;Ratio of the sum of the Business Stream bandwidth value with preset bandwidth value is calculated, determines first port team
The queue bandwidth usage of column.
Business Stream bandwidth value refers to the data volume of the service message transmitted in certain time, and Business Stream bandwidth value is as port
The master data information of each service message of queue is able to reflect the case where occupying port queue bandwidth.Business Stream bandwidth value
Accumulated value is bigger, and the bandwidth for occupying port queue is bigger, if exceeding certain value, can make port queue that can not carry industry
Business message.For a port queue, corresponding preset bandwidth value has been allocated in advance according to actual needs, then can accumulate each industry
The sum of the Business Stream bandwidth value of business message, and the ratio of the sum of Business Stream bandwidth value with preset bandwidth value is calculated, which is
The bandwidth usage of first port queue.
Optionally, business stream information may include packet loss and/or time delay, and queue configured transmission may include queue transmission
Quality.
Correspondingly, S101 can be specifically achieved by the steps of: utilizing Network Quality Analysis technology, count first port
The packet loss and/or time delay for each service message that queue is carried.
S102 can be specifically achieved by the steps of: according to packet loss and/or time delay, determine the team of first port queue
Biographies transmission quality.
Network Quality Analysis technology is a kind of technology for being detected, being analyzed to network communication quality, utilizes network quality
Analytical technology can count the relevant Business Stream letter of the network communication qualities such as packet loss, time delay, the network jitter of service message
Breath.A kind of common Network Quality Analysis technology is NQA (Network Quality Analyzer, Network Quality Analysis) skill
Art, NQA technology analyze network performance or service quality, provide network communication quality correlation by sending test packet
Business stream information.
The packet loss that obtains each service message and/or when delay, the more high then queue transmission quality of packet loss is poorer, together
Reason, the more big then queue transmission quality of time delay is poorer, correspondingly, can be set such as it is excellent, good, in, the queue of class difference transmission
Quality, and corresponding threshold value is set, it can be based on packet loss and/or time delay, determine the queue transmission of first port queue
Quality.Above-mentioned queue transmission quality is merely illustrative, and not as the restriction of queue transmission quality setting, queue transmission quality is also
It can be set to numerical value, numerical value is smaller, indicates that queue transmission quality is more excellent, and the numerical value the big, indicates that queue transmission quality is poorer.
In the another embodiment of the embodiment of the present disclosure, the Business Stream bandwidth of each service message can be got simultaneously
Value and packet loss, time delay, while queue bandwidth usage and queue transmission quality are calculated, when queue bandwidth usage is super
When crossing bandwidth usage threshold value or queue transmission quality more than quality threshold, then queue scheduling is carried out.
The network controller of the embodiment of the present disclosure can also provide an operation management interface, provide to user and bandwidth is presented
The Business Streams information visuallization such as occupancy, packet loss, time delay interface, user can intuitively see the business report of port queue
Text transmission situation.
S103 judges whether queue configured transmission is more than preset threshold.
After obtaining queue configured transmission, queue configured transmission can be compared with preset threshold, for example, if team
Column configured transmission is queue bandwidth usage, and corresponding preset threshold is bandwidth usage threshold value, can be by queue bandwidth occupancy
Rate and bandwidth usage threshold value are compared, if queue bandwidth usage is less than bandwidth usage threshold value, illustrate first end
Mouth queue can also carry each service message, if queue bandwidth usage is greater than bandwidth usage threshold value, illustrate first end
Mouth queue can not carry each service message.For another example if queue configured transmission is queue transmission quality, corresponding preset threshold
For quality threshold, queue transmission quality and quality threshold can be compared, if queue transmission quality is less than quality threshold,
Then illustrate that first port queue can also carry each service message, if queue transmission quality is greater than quality threshold, illustrates the
Single port queue can not carry each service message.
S104, if queue configured transmission is more than that preset threshold is held first port queue according to preset schedule strategy
Each service message carried is dispatched to second port queue, wherein second port queue is that the routing under network controller control is set
Standby upper transmission quality is better than the port queue of first port queue.
If queue configured transmission is more than preset threshold, illustrates that first port queue can not carry each service message, then need
Flow scheduling is carried out, can be dispatched to according to preset schedule strategy, each service message that first port queue is carried
Two-port netwerk queue.The transmission quality of second port queue is better than first port queue.Preset schedule strategy is to select other
Which port queue as second port queue, carry each service message that first port queue scheduling comes, each business report
The scheduling process of text, can be each service message for directly being carried first port queue integrally from first port queue tune
Spend second port queue.
There is connection relationship, different routing devices forms different between each routing device of network controller controller
Operator's route, second port queue can be on the affiliated routing device of first port queue transmission quality more preferably a port
Queue is also possible on the routing device of another operator's link transmission quality a port more preferably than first port queue
Queue.Transmission quality can be determined by parameters such as the bandwidth value of port queue, transmission rate, time delays.
Optionally, first port queue is the port queue of first operator's chain road routing device, second port queue
For the port queue of second operator's chain road routing device, second port queue is corresponding with first port queue.
In some industries, the business of user is carried by multi-operator link, and user is in actual purchase operator
It is had differences when wide area network link bandwidth, the operator that network construction is mature, link signal is stable, link-quality is high is bought
Low bandwidth link, the operator relatively poor for New-deployed Network, link-quality buy more high-bandwidth link, and by own service
Message is carried on different operators chain road according to importance degree respectively.If the end of first operator's chain road routing device
The queue configured transmission of mouth queue is more than preset threshold, and first operator's link bandwidth deficiency causes to continue through the first operator
This partial service message of link is not able to satisfy user's actual need, needs the port of first operator's chain road routing device
Each service message of queue is dispatched to the port queue of second operator's chain road, due to requiring for same type of business report
Text needs to provide identical QoS and ensures, therefore the port queue of routing device has corresponding relationship on different operators chain road,
And the transmission quality of second port queue is better than first port queue.
As shown in Fig. 2, client 210 accesses the certain business of server 220, the under normal circumstances service message of these business
It is carried on operator's link 230, and QoS guarantee, 250 pairs of SDN controller routings is carried out by the queue 1 of routing device 240
Equipment is managed, when SDN controller 250 by Business Stream acquisition of information, queue configured transmission calculate etc., detect that routing is set
The queue configured transmission of standby 240 queue 1 is more than preset threshold (queue bandwidth usage is more than preset threshold), then executes queue
It dispatches, the network transmission schematic diagram after queue scheduling is as shown in Figure 3.
These service messages are carried on operator's link 260, and carry out QoS guarantor by the queue 1 of routing device 270
Barrier, guarantees the normal access of business.
Using the embodiment of the present disclosure, the business stream information for each service message that first port queue is carried is obtained, according to
The business stream information of each service message determines the queue configured transmission of first port queue, judges whether queue configured transmission surpasses
Preset threshold is crossed, if being more than, according to preset schedule strategy, each service message that first port queue is carried is dispatched to
Two-port netwerk queue, wherein second port queue is that transmission quality is better than first end on the lower routing device of network controller control
The port queue of mouth queue.By obtaining the business stream information for each service message that first port queue is carried, can determine
The queue configured transmission of first port queue out, and then the service message for obtaining first port queue transmits situation, if queue
Configured transmission is more than preset threshold, then illustrates that first port queue is not enough to carry each service message that need to currently carry, then will
Each service message integrated scheduling of first port queue carrying is realized to transmission quality more preferably second port queue based on end
The flow scheduling of mouth queue, improves the efficiency of flow scheduling.
Corresponding to above method embodiment, the embodiment of the present disclosure provides a kind of port queue dispatching device, is applied to net
Network controller, as shown in figure 4, the port queue dispatching device may include:
Module 410 is obtained, for obtaining the business stream information for each service message that first port queue is carried;
Determining module 420 determines the first port queue for the business stream information according to each service message
Queue configured transmission;
Judgment module 430, for judging whether the queue configured transmission is more than preset threshold;
Scheduler module 440, if it is more than default threshold that the judging result for the judgment module, which is the queue configured transmission,
Value, then according to preset schedule strategy, be dispatched to second port queue for each service message that the first port queue is carried,
The second port queue is better than the first port team for transmission quality on the routing device under network controller control
The port queue of column.
Optionally, the first port queue can be the port queue of first operator's chain road routing device;It is described
Second port queue can be the port queue of second operator's chain road routing device, the second port queue and described the
Single port queue is corresponding.
Optionally, the acquisition module 410 can be also used for obtaining the type of service of each service message, described each
The corresponding source device information of service message and purpose equipment information;
Described device can also include:
Grouping module is grouped each service message for the type of service according to each service message, and
Determine the link information for carrying operator's link of each service message in each grouping respectively;
Module is established in tunnel, for being directed to any grouping, is believed according to the source device of each service message in any grouping
The link information of breath and purpose equipment information and operator's link establishes the corresponding tunnel of any grouping.
Optionally, the business stream information may include Business Stream bandwidth value;The queue configured transmission may include team
Column bandwidth usage;
The acquisition module 410 can be also used for the preset bandwidth value for obtaining the pre-assigned first port queue;
The determining module 420, specifically can be used for:
According to the Business Stream bandwidth value of each service message, calculate each service message Business Stream bandwidth value it
With;
Ratio of the sum of the described Business Stream bandwidth value with the preset bandwidth value is calculated, determines the first port queue
Queue bandwidth usage.
Optionally, the business stream information may include packet loss and/or time delay;The queue configured transmission may include
Queue transmission quality;
The acquisition module 410, specifically can be used for:
Using Network Quality Analysis technology, count each service message that first port queue is carried packet loss and/or
Time delay;
The determining module 420, specifically can be used for:
According to the packet loss and/or the time delay, the queue transmission quality of the first port queue is determined.
Using the embodiment of the present disclosure, the business stream information for each service message that first port queue is carried is obtained, according to
The business stream information of each service message determines the queue configured transmission of first port queue, judges whether queue configured transmission surpasses
Preset threshold is crossed, if being more than, according to preset schedule strategy, each service message that first port queue is carried is dispatched to
Two-port netwerk queue, wherein second port queue is that transmission quality is better than first end on the lower routing device of network controller control
The port queue of mouth queue.By obtaining the business stream information for each service message that first port queue is carried, can determine
The queue configured transmission of first port queue out, and then the service message for obtaining first port queue transmits situation, if queue
Configured transmission is more than preset threshold, then illustrates that first port queue is not enough to carry each service message that need to currently carry, then will
Each service message integrated scheduling of first port queue carrying is realized to transmission quality more preferably second port queue based on end
The flow scheduling of mouth queue, improves the efficiency of flow scheduling.
The embodiment of the present disclosure additionally provides a kind of network controller, as shown in figure 5, including processor 501 and storage medium
502, wherein
The storage medium 502, for storing computer program;
The processor 501 realizes this public affairs when for executing the computer program stored on the storage medium 502
Open port queue dispatching method provided by embodiment.
Above-mentioned storage medium may include RAM (Random Access Memory, random access memory), also can wrap
Include NVM (Non-volatile Memory, nonvolatile memory), for example, at least a magnetic disk storage.Optionally, it stores
Medium can also be that at least one is located remotely from the storage device of above-mentioned processor.
Above-mentioned processor can be general processor, including CPU (Central Processing Unit, central processing
Device), NP (Network Processor, network processing unit) etc.;Can also be DSP (Digital Signal Processing,
Digital signal processor), ASIC (Application Specific Integrated Circuit, specific integrated circuit),
FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic device are divided
Vertical door or transistor logic, discrete hardware components.
In the present embodiment, above-mentioned processor passes through operation meter by reading the computer program stored in storage medium
Calculation machine program, can be realized: the business stream information for each service message that first port queue is carried be obtained, according to each business report
The business stream information of text, determines the queue configured transmission of first port queue, judges whether queue configured transmission is more than default threshold
Value, if being more than, according to preset schedule strategy, each service message that first port queue is carried is dispatched to second port team
Column, wherein second port queue is that transmission quality is better than first port queue on the lower routing device of network controller control
Port queue.By obtaining the business stream information for each service message that first port queue is carried, first end can be determined
The queue configured transmission of mouth queue, and then the service message for obtaining first port queue transmits situation, if queue configured transmission
More than preset threshold, then illustrate that first port queue is not enough to carry each service message that need to currently carry, then by first port
Each service message integrated scheduling of queue carrying is realized to transmission quality more preferably second port queue based on port queue
Flow scheduling improves the efficiency of flow scheduling.
In addition, the embodiment of the present disclosure additionally provides a kind of storage medium, it is stored with computer program in the storage medium,
Port queue dispatching method provided by the embodiment of the present disclosure is realized when the computer program is executed by processor.
In the present embodiment, storage medium is stored with executes the scheduling of port queue provided by the embodiment of the present disclosure at runtime
The computer program of method, therefore can be realized: the business stream information for each service message that first port queue is carried is obtained,
According to the business stream information of each service message, the queue configured transmission of first port queue is determined, judge that queue configured transmission is
No is more than preset threshold, if being more than, according to preset schedule strategy, each service message that first port queue is carried is dispatched
To second port queue, wherein second port queue is that transmission quality is better than the on the lower routing device of network controller control
The port queue of Single port queue.The business stream information of each service message carried by obtaining first port queue, can be with
Determine the queue configured transmission of first port queue, and then the service message for obtaining first port queue transmits situation, if
Queue configured transmission is more than preset threshold, then illustrates that first port queue is not enough to carry each service message that need to currently carry,
Each service message integrated scheduling that then first port queue is carried realizes base to transmission quality more preferably second port queue
In the flow scheduling of port queue, the efficiency of flow scheduling is improved.
For network controller and storage medium embodiment, method content as involved in it is substantially similar to
Embodiment of the method above-mentioned, so being described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device,
For network controller and storage medium embodiment, since it is substantially similar to the method embodiment, so the comparison of description is simple
Single, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely the preferred embodiments of the disclosure, are not intended to limit the protection scope of the disclosure.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principle of the disclosure, are all contained in the protection scope of the disclosure
It is interior.
Claims (12)
1. a kind of port queue dispatching method, which is characterized in that be applied to network controller, which comprises
Obtain the business stream information for each service message that first port queue is carried;
According to the business stream information of each service message, the queue configured transmission of the first port queue is determined;
Judge whether the queue configured transmission is more than preset threshold;
If being more than, according to preset schedule strategy, each service message that the first port queue is carried is dispatched to second
Port queue, the second port queue are that transmission quality is better than described the on the lower routing device of network controller control
The port queue of Single port queue.
2. the method according to claim 1, wherein the first port queue is first operator's chain road road
By the port queue of equipment;The second port queue is the port queue of second operator's chain road routing device, described the
Two-port netwerk queue is corresponding with the first port queue.
3. the method according to claim 1, wherein the method also includes:
Obtain the type of service, the corresponding source device information of each service message and purpose equipment letter of each service message
Breath;
According to the type of service of each service message, each service message is grouped, and determines that carrying is each respectively
The link information of operator's link of each service message in grouping;
For any grouping, according to the source device information and purpose equipment information and operation of each service message in any grouping
The link information of quotient's link establishes the corresponding tunnel of any grouping.
4. the method according to claim 1, wherein the Business Stream information includes Business Stream bandwidth value;It is described
Queue configured transmission includes queue bandwidth usage;
In the business stream information according to each service message, determine the first port queue queue configured transmission it
Before, the method also includes:
Obtain the preset bandwidth value of the pre-assigned first port queue;
The business stream information according to each service message determines the queue configured transmission of the first port queue, packet
It includes:
According to the Business Stream bandwidth value of each service message, the sum of the Business Stream bandwidth value of each service message is calculated;
Ratio of the sum of the described Business Stream bandwidth value with the preset bandwidth value is calculated, determines the queue of the first port queue
Bandwidth usage.
5. the method according to claim 1, wherein the Business Stream information includes packet loss and/or time delay;Institute
Stating queue configured transmission includes queue transmission quality;
The business stream information for obtaining each service message that first port queue is carried, comprising:
Using Network Quality Analysis technology, the packet loss and/or time delay of each service message that first port queue is carried are counted;
The business stream information according to each service message determines the queue configured transmission of the first port queue, packet
It includes:
According to the packet loss and/or the time delay, the queue transmission quality of the first port queue is determined.
6. a kind of port queue dispatching device, which is characterized in that be applied to network controller, described device includes:
Module is obtained, for obtaining the business stream information for each service message that first port queue is carried;
Determining module determines that the queue of the first port queue passes for the business stream information according to each service message
Defeated parameter;
Judgment module, for judging whether the queue configured transmission is more than preset threshold;
Scheduler module is pressed if it is more than preset threshold that the judging result for the judgment module, which is the queue configured transmission,
According to preset schedule strategy, each service message that the first port queue is carried is dispatched to second port queue, described
Two-port netwerk queue is better than the end of the first port queue for transmission quality on the routing device under network controller control
Mouth queue.
7. device according to claim 6, which is characterized in that the first port queue is first operator's chain road road
By the port queue of equipment;The second port queue is the port queue of second operator's chain road routing device, described the
Two-port netwerk queue is corresponding with the first port queue.
8. device according to claim 6, which is characterized in that the acquisition module is also used to obtain each business report
The type of service of text, the corresponding source device information of each service message and purpose equipment information;
Described device further include:
Grouping module is grouped each service message for the service feature according to each service message, and determines
For carrying the link information of operator's link of each service message in each grouping;
Module is established in tunnel, for being directed to any grouping, according to the source device information of each service message in any grouping and
The link information of purpose equipment information and operator's link establishes the corresponding tunnel of any grouping.
9. device according to claim 6, which is characterized in that the Business Stream information includes Business Stream bandwidth value;It is described
Queue configured transmission includes queue bandwidth usage;
The acquisition module is also used to obtain the preset bandwidth value of the pre-assigned first port queue;
The determining module, is specifically used for:
According to the Business Stream bandwidth value of each service message, the sum of the Business Stream bandwidth value of each service message is calculated;
Ratio of the sum of the described Business Stream bandwidth value with the preset bandwidth value is calculated, determines the queue of the first port queue
Bandwidth usage.
10. device according to claim 6, which is characterized in that the Business Stream information includes packet loss and/or time delay;
The queue configured transmission includes queue transmission quality;
The acquisition module, is specifically used for: utilizing Network Quality Analysis technology, each business that statistics first port queue is carried
The packet loss and/or time delay of message;
The determining module, is specifically used for: according to the packet loss and/or the time delay, determining the first port queue
Queue transmission quality.
11. a kind of network controller, which is characterized in that including pocessor and storage media, wherein
The storage medium, for storing computer program;
The processor when for executing the computer program stored on the storage medium, realizes that claim 1-5 is any
Method described in.
12. a kind of storage medium, which is characterized in that be stored with computer program, the computer program in the storage medium
Claim 1-5 described in any item methods are realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910429713.2A CN110177054B (en) | 2019-05-22 | 2019-05-22 | Port queue scheduling method, device, network controller and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910429713.2A CN110177054B (en) | 2019-05-22 | 2019-05-22 | Port queue scheduling method, device, network controller and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110177054A true CN110177054A (en) | 2019-08-27 |
CN110177054B CN110177054B (en) | 2022-08-19 |
Family
ID=67691847
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910429713.2A Active CN110177054B (en) | 2019-05-22 | 2019-05-22 | Port queue scheduling method, device, network controller and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110177054B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110891002A (en) * | 2019-11-21 | 2020-03-17 | 中盈优创资讯科技有限公司 | Outlet server flow monitoring method and device |
CN112153393A (en) * | 2020-10-08 | 2020-12-29 | 刘风华 | Audio and video processing method based on weak network environment and artificial intelligence service center |
CN113765796A (en) * | 2021-10-21 | 2021-12-07 | 迈普通信技术股份有限公司 | Flow forwarding control method and device |
CN114039917A (en) * | 2021-11-26 | 2022-02-11 | 中国电信集团系统集成有限责任公司 | Network traffic scheduling comprehensive judgment method and system |
CN114338470A (en) * | 2021-12-21 | 2022-04-12 | 中电信数智科技有限公司 | Port network traffic scheduling judgment method and system |
CN114500605A (en) * | 2022-02-18 | 2022-05-13 | 百斯特(广州)信息技术有限公司 | Industrial Internet of things data transmission method based on 5G and intelligent gateway |
CN115348219A (en) * | 2022-08-11 | 2022-11-15 | 中国工商银行股份有限公司 | Network quality of service queue setting method, device, equipment, medium and product |
WO2023065848A1 (en) * | 2021-10-18 | 2023-04-27 | 华为云计算技术有限公司 | Service scheduling method and apparatus, device and computer readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101616096A (en) * | 2009-07-31 | 2009-12-30 | 中兴通讯股份有限公司 | Array dispatching method and device |
CN102368741A (en) * | 2011-12-05 | 2012-03-07 | 盛科网络(苏州)有限公司 | Method supporting hierarchical queue scheduling and flow shaping and apparatus thereof |
US20140321476A1 (en) * | 2013-04-26 | 2014-10-30 | Mediatek Inc. | Packet output controller and method for dequeuing multiple packets from one scheduled output queue and/or using over-scheduling to schedule output queues |
US20150058485A1 (en) * | 2012-04-12 | 2015-02-26 | Zte Corporation | Flow scheduling device and method |
WO2016011894A1 (en) * | 2014-07-25 | 2016-01-28 | 华为技术有限公司 | Message processing method and apparatus |
CN107454015A (en) * | 2017-08-03 | 2017-12-08 | 山东省计算中心(国家超级计算济南中心) | A kind of QoS control method and system based on OF DiffServ models |
CN108809857A (en) * | 2018-05-23 | 2018-11-13 | 中国石油大学(华东) | A method of the traffic monitoring based on SDN and service quality securing strategy |
-
2019
- 2019-05-22 CN CN201910429713.2A patent/CN110177054B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101616096A (en) * | 2009-07-31 | 2009-12-30 | 中兴通讯股份有限公司 | Array dispatching method and device |
CN102368741A (en) * | 2011-12-05 | 2012-03-07 | 盛科网络(苏州)有限公司 | Method supporting hierarchical queue scheduling and flow shaping and apparatus thereof |
US20150058485A1 (en) * | 2012-04-12 | 2015-02-26 | Zte Corporation | Flow scheduling device and method |
US20140321476A1 (en) * | 2013-04-26 | 2014-10-30 | Mediatek Inc. | Packet output controller and method for dequeuing multiple packets from one scheduled output queue and/or using over-scheduling to schedule output queues |
WO2016011894A1 (en) * | 2014-07-25 | 2016-01-28 | 华为技术有限公司 | Message processing method and apparatus |
CN107454015A (en) * | 2017-08-03 | 2017-12-08 | 山东省计算中心(国家超级计算济南中心) | A kind of QoS control method and system based on OF DiffServ models |
CN108809857A (en) * | 2018-05-23 | 2018-11-13 | 中国石油大学(华东) | A method of the traffic monitoring based on SDN and service quality securing strategy |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110891002A (en) * | 2019-11-21 | 2020-03-17 | 中盈优创资讯科技有限公司 | Outlet server flow monitoring method and device |
CN112153393A (en) * | 2020-10-08 | 2020-12-29 | 刘风华 | Audio and video processing method based on weak network environment and artificial intelligence service center |
CN112153393B (en) * | 2020-10-08 | 2021-08-17 | 南京硅基智能科技有限公司 | Audio and video processing method based on weak network environment and artificial intelligence service center |
WO2023065848A1 (en) * | 2021-10-18 | 2023-04-27 | 华为云计算技术有限公司 | Service scheduling method and apparatus, device and computer readable storage medium |
CN113765796A (en) * | 2021-10-21 | 2021-12-07 | 迈普通信技术股份有限公司 | Flow forwarding control method and device |
CN113765796B (en) * | 2021-10-21 | 2023-12-19 | 迈普通信技术股份有限公司 | Flow forwarding control method and device |
CN114039917A (en) * | 2021-11-26 | 2022-02-11 | 中国电信集团系统集成有限责任公司 | Network traffic scheduling comprehensive judgment method and system |
WO2023092769A1 (en) * | 2021-11-26 | 2023-06-01 | 中电信数智科技有限公司 | Comprehensive determination method and system for network traffic scheduling |
CN114338470A (en) * | 2021-12-21 | 2022-04-12 | 中电信数智科技有限公司 | Port network traffic scheduling judgment method and system |
CN114500605A (en) * | 2022-02-18 | 2022-05-13 | 百斯特(广州)信息技术有限公司 | Industrial Internet of things data transmission method based on 5G and intelligent gateway |
CN115348219A (en) * | 2022-08-11 | 2022-11-15 | 中国工商银行股份有限公司 | Network quality of service queue setting method, device, equipment, medium and product |
Also Published As
Publication number | Publication date |
---|---|
CN110177054B (en) | 2022-08-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110177054A (en) | A kind of port queue dispatching method, device, network controller and storage medium | |
CN106375214B (en) | A kind of Tiered routing determining method of path and device based on SDN | |
US7774440B1 (en) | Method and system for enhancing performance of a physical network under real-time control using simulation of a reference model | |
US7376087B2 (en) | Method and apparatus for monitoring and displaying routing metrics of a network | |
CN108512760A (en) | The method for routing of QoS of survice is ensured based on SDN | |
US20180227209A1 (en) | Software defined network controller, service function chaining system and trace tracking method | |
CN110493145A (en) | A kind of caching method and device | |
CN101194469A (en) | Selection of routing paths based upon path quality of a wireless mesh network | |
CN103416022B (en) | Throughput testing approach and system in service in distribution router/exchange board structure | |
WO2011144041A2 (en) | Method for detecting quality of service, management and control server, monitoring probe and system thereof | |
CN104283807B (en) | A kind of traffic engineering tunnel method for building up and device | |
CN115632939A (en) | Automatic network selection and routing method for achieving multi-target achievement of computational power network | |
CN109617806A (en) | A kind of data traffic dispatching method and device | |
US20220247651A1 (en) | System and method for network and computation performance probing for edge computing | |
WO2018014883A1 (en) | Strategy sending and receiving method, device and controller | |
CN102325060A (en) | Link bandwidth test method and router | |
CN105099936A (en) | Network resource configuration method and apparatus as well as network system | |
Chuah | A scalable framework for IP-network resource provisioning through aggregation and hierarchical control | |
CN108494625A (en) | A kind of analysis system on network performance evaluation | |
CN107360473A (en) | A kind of DASH systems of the flow scheduling of the congestion aware based on SDN | |
AU2006324005B2 (en) | Remotely control method and device for congesting in a packet mode a flow of links in a telecommunication network | |
CN116112423A (en) | Path determination method, device and equipment | |
Wang et al. | SD-WAN: Edge Cloud Network Acceleration at Australia Hybrid Data Center | |
CN106487680A (en) | For setting up method, system and the path computing device of private access | |
Gde et al. | Design of service abstraction model for enhancing network provision in future network |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230615 Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd. Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466 Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd. |
|
TR01 | Transfer of patent right |