CN102413040A - Execution method of hierarchical quality of service (HQoS) strategy and apparatus thereof - Google Patents

Execution method of hierarchical quality of service (HQoS) strategy and apparatus thereof Download PDF

Info

Publication number
CN102413040A
CN102413040A CN2011103476745A CN201110347674A CN102413040A CN 102413040 A CN102413040 A CN 102413040A CN 2011103476745 A CN2011103476745 A CN 2011103476745A CN 201110347674 A CN201110347674 A CN 201110347674A CN 102413040 A CN102413040 A CN 102413040A
Authority
CN
China
Prior art keywords
strategy
timesharing
effective time
timesharing strategy
section
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.)
Pending
Application number
CN2011103476745A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2011103476745A priority Critical patent/CN102413040A/en
Publication of CN102413040A publication Critical patent/CN102413040A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an execution method of a hierarchical quality of service (HQoS) strategy and an apparatus thereof. The method comprises the following steps: according to a present time, detecting whether a time sharing strategy bound by a specified port is in an effect time period or not; if so, executing the time sharing strategy at the specified port; if not, executing a default strategy bound by the specified port at the specified port. According to the method and the apparatus, a problem that only one HQoS strategy is allowed to be configured at a single direction of a same physical port, so modifying the strategy is inconvenient is solved, the method and the apparatus are more suitable for change of a network, and application and maintenance of HQoS technology are more convenient.

Description

The manner of execution of multilevel service quality strategy and device
Technical field
The present invention relates to the communications field, in particular to the manner of execution and the device of a kind of multilevel service quality (Hierarchical Quality of Service is called for short HQoS) strategy.
Background technology
At traditional procotol (Internet Protocol; Abbreviation IP) in the network; All messages are all treated by nondistinctive being equal to, and all adopt the strategy of FIFO (First In First Out is called for short FIFO) to handle to all messages; It do one's best (Best-Effort) message is delivered to the destination, but performances such as the reliability that message is transmitted, propagation delay can't provide any assurance.
Along with new continuous appearance of using on the IP network; Service quality to IP network has also proposed new requirement, for example, and ip voice (Voice over IP; Be called for short VoIP) etc. real time business just high requirement has been proposed the transmission delay of message; If it is oversize that message transmits time-delay, will be user institute unacceptable (comparatively speaking, E-Mail and ftp business are to time delay and insensitive).Business such as voice, video and data in order to support to have different demands for services require network can distinguish different communication, and then corresponding service are provided for it.
Service quality (Quality of Service is called for short QoS) is intended to the different demands to various application, for it provides different service quality, for example, dedicated bandwidth is provided, reduces the message dropping rate, reduces message transfer delay and time delay shake etc.
Along with the single port capacity becomes big; Inserting the user increases; Traditional QoS has run into new problem in application: traditional traffic management is based on that port bandwidth dispatches, and the result who produces like this is exactly more insensitive to the user, relatively more responsive to the grade of service; Be suitable for network side, but relatively be not suitable for inserting side.
Fig. 1 is the HQoS typical application sketch map according to prior art; As shown in Figure 1; HQoS carries out unified management to multi-user, multiple business, multiple flow, and graded dispatching can be formulated different service guarantees strategies by the different business to different user on the equipment of convergence-level; This strategy is a with different levels tree structure, and therefore orderliness is clear in logic and realization.HQoS can guarantee for advanced level user provides the service quality that becomes more meticulous, can practice thrift network operation maintenance cost on the whole again.
Under the overall background that current network merges; The existing network flow is not only relevant with user and COS; Also have very big relevance with the time, for example working day with day off audio frequency, video and business datum flow obviously be different, and then service quality is existed different requirement.Existing HQoS technology only allows related strategy at the single direction of same physical port, and once configuration, tactful fixing, it obviously is unpractical often revising configuration, to using and safeguarding and caused very big inconvenience.
Only allow to dispose a strategy to the single direction at same physical port in the correlation technique, revise the inconvenient problem of strategy, do not propose effective solution at present as yet.
Summary of the invention
Only allow to dispose a strategy to single direction, revise the inconvenient problem of strategy, the invention provides a kind of manner of execution and device of HQoS strategy, to address the above problem at least at same physical port.
According to an aspect of the present invention, a kind of manner of execution of HQoS strategy is provided, has comprised: whether the timesharing strategy that detects the designated port binding according to the current time is in section effective time; If carry out this timesharing strategy at this designated port; If, do not carry out the default policy that this designated port is bound at this designated port.
Whether preferably, detect timesharing strategy that designated port binds according to the current time and be in before section effective time, this method also comprises: be that above-mentioned designated port is bound at least one timesharing strategy, section effective time of this timesharing strategy is set; Timesharing strategy after being provided with is recorded in the database.
Preferably, section effective time that the timesharing strategy is set comprises: judge Set For Current the timesharing strategy effective time section with database in section effective time of the timesharing strategy that writes down whether conflict; If section effective time of the timesharing strategy of Set For Current is revised in prompting.
Preferably; Whether be in effective time section comprise: corresponding section effective time of each timesharing strategy that detects designated port in the database according to the current time according to the current time if detecting timesharing strategy that designated port binds; If the current time is not in each timesharing strategy corresponding effective time in the section, the result who then confirms to detect is not for.
Preferably, bind at least one timesharing strategy for designated port, section effective time that the timesharing strategy is set comprises: bind at least one multistage timesharing strategy for designated port, section effective time of every grade of timesharing strategy in the multistage timesharing strategy is set step by step; Wherein, the effective time that section effective time of next stage timesharing strategy is contained in upper level timesharing strategy in each multistage timesharing strategy is in the section, and section effective time of same other each timesharing strategy of level is not overlapping.
Preferably; Section effective time that every grade of timesharing strategy in the multistage timesharing strategy is set step by step comprises: if Duan Wei effective time of the timesharing strategy of Set For Current is contained in the effective time of its upper level timesharing strategy in the section, section effective time of the timesharing strategy of Set For Current is revised in prompting; Perhaps, if section effective time of other timesharing strategy in the same rank of Duan Yuqi effective time of the timesharing strategy of Set For Current is overlapping, section effective time of the timesharing strategy of Set For Current is revised in prompting.
According to a further aspect in the invention, a kind of final controlling element of HQoS strategy is provided, has comprised: detection module is used for whether being in section effective time according to the timesharing strategy that current time detection designated port is bound; First Executive Module is used in the testing result of detection module carrying out the timesharing strategy at designated port when being; Second Executive Module is used in the testing result of detection module carrying out the default policy that designated port is bound at designated port for not the time.
Preferably, device also comprises: module is set, is used to designated port and binds at least one timesharing strategy, and section effective time of timesharing strategy is set; Logging modle is used for the timesharing strategy after being provided with is recorded in database.
Preferably, module is set comprises: judging unit, be used for judging Set For Current the timesharing strategy effective time the timesharing strategy that section writes down with database section effective time whether conflict; Tip element is used in the judged result of judging unit when being, section effective time of the timesharing strategy of Set For Current is revised in prompting.
Preferably, module is set also comprises: bind the unit, be used to designated port and bind at least one multistage timesharing strategy; The unit is set, is used for being provided with step by step section effective time of every grade of timesharing strategy of multistage timesharing strategy; Wherein, the effective time that section effective time of next stage timesharing strategy is contained in upper level timesharing strategy in each multistage timesharing strategy is in the section, and section effective time of same other each timesharing strategy of level is not overlapping.
Through the present invention; Section effective time that is employed in the timesharing strategy is carried out this timesharing strategy; Carry out the mode of the default policy be bound to this port in the other times section, can carry out different strategies, solve single direction at same physical port and only allow to dispose a strategy and make the inconvenient problem of strategy of revising in same port different time section; And the mode of this execution dynamic strategy can be more suitable for the situation of change of network, makes the HQoS The Application of Technology convenient with maintenance.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the HQoS typical application sketch map according to correlation technique;
Fig. 2 is the flow chart according to the manner of execution of the HQoS strategy of the embodiment of the invention;
Fig. 3 is the policy configurations sketch map according to the tree structure HQoS traffic classification of the embodiment of the invention;
Fig. 4 is the structured flowchart according to the final controlling element of the HQoS strategy of the embodiment of the invention;
Fig. 5 is the structured flowchart according to the final controlling element of the preferred HQoS strategy of the embodiment of the invention;
Fig. 6 is the structured flowchart according to the final controlling element of another preferred HQoS strategy of the embodiment of the invention;
Fig. 7 is the structured flowchart of the final controlling element of a preferred HQoS strategy again according to the embodiment of the invention;
Fig. 8 is according to the configuration of the HQoS strategy of the embodiment of the invention three and the detailed process sketch map of method for using.
Embodiment
Hereinafter will and combine embodiment to specify the present invention with reference to accompanying drawing.Need to prove that under the situation of not conflicting, embodiment and the characteristic among the embodiment among the application can make up each other.
Present embodiment describes with the example that is implemented as tactful on the single port among the HQoS based on the HQoS technology.
Fig. 2 is that as shown in Figure 2, this method can may further comprise the steps (step S202-step S206) according to the flow chart of the manner of execution of the HQoS strategy of the embodiment of the invention:
Step S202, whether the timesharing strategy that detects the designated port binding according to the current time is in section effective time, if, execution in step S204, otherwise execution in step S206;
Step S204 carries out the timesharing strategy at above-mentioned designated port;
Step S206 carries out the default policy that this designated port is bound at above-mentioned designated port.
Present embodiment passes through said method; At this timesharing strategy of the section execution effective time of timesharing strategy; Carry out the default policy that is bound to this port in the other times section, make above-mentioned port to carry out different strategies in the different time section, the single direction that has solved at same physical port only allows to dispose the feasible inconvenient problem of strategy of revising of a strategy; And the mode of this execution dynamic strategy can be more suitable for the situation of change of network, makes the HQoS The Application of Technology convenient with maintenance.
In order to satisfy HQoS, can before the step S202 of said method,, and section effective time of timesharing strategy be set for above-mentioned designated port is bound at least one timesharing strategy in the demands of different of different time sections for the service quality of single port; Timesharing strategy after being provided with is recorded in the database.For example, for a certain timesharing strategy, the port numbers that can bind according to the timesharing strategy and direction, strategy numbering, effective time, the order of section, tactful content was inserted in the database table.By this method, can more than one timesharing strategy be set, thereby can guarantee, can also practice thrift network operation maintenance cost more for the user provides the service quality that more becomes more meticulous for a direction of a port.
When using the manner of execution of above-mentioned strategy; Exist two or more Different Strategies to be in the term of validity in the identical moment; Thereby the problem that clashes, can also the effective time that the timesharing strategy is set judge during section Set For Current the timesharing strategy effective time section with above-mentioned database in section effective time of the timesharing strategy that writes down whether conflict; If section effective time of the timesharing strategy of Set For Current is revised in prompting; Certainly, if there is not conflict, then direct timesharing strategy with Set For Current is recorded in this database.
For example; In effective time that the timesharing strategy is set during section; If section effective time of the timesharing strategy that writes down in the time period of discovery Set For Current and the database has lap; The beginning or end of perhaps finding the time period of Set For Current is included in the effective time of the timesharing strategy that writes down in the database in the section, and then section effective time of the timesharing strategy of Set For Current is revised in prompting.The implementation method of this prompting has a variety of, for example, can be shown to the personnel of setting through the dialog box form, also can personnel be set with the prompting of alarm prompt sound and reset section effective time.
Through said method, can, the timesharing strategy avoid existing two or more Different Strategies to be in the problem that clashes when the term of validity makes above-mentioned port in strategy execution when being set in the identical moment, make that present technique reliability when practical application is stronger.
When above-mentioned designated port is provided with more than one timesharing strategy; Do not clash in order to ensure the time of implementation of default policy and section effective time of above-mentioned more than one timesharing strategy; Promptly there is not common section effective time of Different Strategies; Can detect corresponding section effective time of each timesharing strategy of designated port in the database according to the current time; If the current time is not in each timesharing strategy corresponding effective time in the section, the result who then confirms to detect is not for, thereby carries out the default policy that this designated port is bound.Through this method, the situation of having avoided the time of implementation section of default policy and more than one timesharing strategy on the same port to clash has improved the reliability of present technique.And this mode also can be through carrying out the service quality that default policy ensures network side.
Consider that HQoS carries out unified management for multi-user, multiple business, multiple flow, the demand of graded dispatching can also be bound at least one multistage timesharing strategy for designated port.Fig. 3 is the policy configurations sketch map according to the tree structure HQoS traffic classification of the embodiment of the invention.In the present embodiment, HQoS is applied in the network of number of different types: common IP network, QINQ (also claiming Stack VLAN or Double VLAN) network and VPN (Virtual Private Network is called for short VPN).Altogether level Four scheduling of HQoS, according to the difference of network type, traffic classification is according to difference, for example: Level1 is a service priority, possibly mate CoS or the IP_PRECEDENCE in the IP heading among the vlan; Level2 is matching access control list (Access Control List is called for short ACL) or user vlan (cvlan) or virtual channel identification (Visual Channel ID is called for short VC_ID); Level3 coupling vlan information (when multilayer vlan is the outer vlan of operator, i.e. svlan) or Tunnel Identifier (TUNNEL_ID); The designated port of strategy is put in the Level4 assignment.
As shown in Figure 3, in effective time that the timesharing strategy is set during section, section effective time of every grade of timesharing strategy in the multistage timesharing strategy can be set step by step; Wherein, the effective time that section effective time of next stage timesharing strategy is contained in upper level timesharing strategy in each multistage timesharing strategy is in the section, and section effective time of same other each timesharing strategy of level is not overlapping.
For example, for the substrategy of the Level2 among Fig. 3, Level3 is exactly the timesharing strategy of its upper level, and the substrategy of Level1 is exactly the timesharing strategy of its next stage.Can dispose all kinds of QoS service strategies for Level1 to Level3; For example: traffic shaping, Weighted Fair Queuing (Weighted Fair Queuing is called for short WFQ) scheduling; Strict priority scheduling; Priority modification, Weighted random detect (Weighted Random Early Detection, be called for short WRED) etc. in advance.Wherein the strategy of Level1 depends on the Level2 strategy as 1 straton strategy; The Level2 strategy depends on certain Level3 strategy, have only the Level3 strategy can with the port binding that is positioned at Level4, port is the root of strategy.
Through the above-mentioned method that multistage timesharing strategy is set, can further improve the degree that becomes more meticulous of the service quality of HQoS, improved user experience, also can further practice thrift network operation maintenance cost simultaneously.For example; In the timesharing strategy 1 of Level3, being provided with provides the flow of business datum bigger working day; The flow of audio frequency, video is less, and be set 9 of morning in the timesharing strategy 1 of Level2, and extremely evening, 6 business datum flows were bigger, and the flow of audio frequency, video is less; The business datum flow that be set 2 pm to 5 of evenings in the timesharing strategy 11 of Level1 is bigger, and the flow of audio frequency, video is less.Through this set, can limited utilization rate of network resource be maximized as much as possible.
When above-mentioned designated port is provided with multistage timesharing strategy; Section effective time in order to ensure different timesharing strategies is different; Can be when multistage timesharing strategy be provided with step by step; Adopt following manner: if Duan Wei effective time of the timesharing strategy of Set For Current is contained in the effective time of its upper level timesharing strategy in the section, section effective time of the timesharing strategy of Set For Current is revised in prompting; Perhaps, if section effective time of other timesharing strategy in the same rank of Duan Yuqi effective time of the timesharing strategy of Set For Current is overlapping, section effective time of the timesharing strategy of Set For Current is revised in prompting.Through said method, the situation of having avoided the time of implementation section of the multistage timesharing strategy on the same port to clash has improved the reliability of present technique.
Certainly, according to actual needs, can consider only to dispose a default policy, come into force automatically after this default policy configuration is accomplished for some port.
Based on said method, present embodiment also provides a kind of final controlling element of HQoS strategy, and this device can be arranged on the server of service access side.Fig. 4 is that as shown in Figure 4, this device can comprise according to the structured flowchart of the final controlling element of the HQoS strategy of the embodiment of the invention: detection module 42, first Executive Module 44 and second Executive Module 46 describe in the face of this structure down.
Detection module 42 is used for whether being in section effective time according to the timesharing strategy that current time detection designated port is bound;
First Executive Module 44 links to each other with detection module 42, is used in the testing result of detection module carrying out the timesharing strategy at designated port when being;
Second Executive Module 46 links to each other with detection module 42, is used in the testing result of detection module carrying out the default policy that designated port is bound at designated port for not the time.
Present embodiment passes through said apparatus; The section execution is bound to the timesharing strategy of port in effective time; Carry out the default policy that is bound to this port in the other times section, make above-mentioned port to carry out different strategies in the different time section, the single direction that has solved at same physical port only allows to dispose the feasible inconvenient problem of strategy of revising of a strategy; And the mode of this execution dynamic strategy can be more suitable for the situation of change of network, makes the HQoS The Application of Technology convenient with maintenance.
Fig. 5 is that as shown in Figure 5, said apparatus can also comprise according to the structured flowchart of the final controlling element of the preferred HQoS strategy of the embodiment of the invention:
Module 52 is set, is used to designated port and binds at least one timesharing strategy, and section effective time of timesharing strategy is set;
Logging modle 54 and is provided with module 52 and links to each other, and is used for the timesharing strategy after being provided with is recorded in database.
Based on this, logging modle 54 links to each other with above-mentioned detection module 42, and detection module 42 detects through the timesharing strategy that writes down in the above-mentioned database.
Fig. 6 is that as shown in Figure 6, the above-mentioned module 52 that is provided with can comprise according to the structured flowchart of the final controlling element of another preferred HQoS strategy of the embodiment of the invention:
Judging unit 522, be used for judging Set For Current the timesharing strategy effective time the timesharing strategy that section writes down with database section effective time whether conflict;
Tip element 524 links to each other with judging unit 522, is used in the judged result of judging unit when being, section effective time of the timesharing strategy of Set For Current is revised in prompting.
Above-mentioned detection module 42 can also comprise: detecting unit; Be used for detecting corresponding section effective time of each timesharing strategy of database designated port according to the current time; The result confirms the unit; Be not in corresponding section effective time of each timesharing strategy if be used for this detection to the current time, the result who then confirms to detect is for denying; In this case, will trigger above-mentioned second Executive Module 46 and carry out default policy.
Fig. 7 is the structured flowchart of the final controlling element of a preferred HQoS strategy again according to the embodiment of the invention, and as shown in Figure 7, module 52 is set can also be comprised:
Bind unit 526, be used to designated port and bind at least one multistage timesharing strategy;
Unit 528 is set, links to each other, be used for being provided with step by step section effective time of every grade of timesharing strategy of multistage timesharing strategy with binding unit 526; Wherein, the effective time that section effective time of next stage timesharing strategy is contained in upper level timesharing strategy in each multistage timesharing strategy is in the section, and section effective time of same other each timesharing strategy of level is not overlapping.
The above-mentioned unit 528 that is provided with can comprise: first Tip element, if be used for section effective time that Duan Wei effective time of the timesharing strategy of Set For Current is contained in its upper level timesharing strategy, section effective time of the timesharing strategy of Set For Current is revised in prompting; Perhaps, second Tip element, if it is overlapping to be used for section effective time of other timesharing strategy of the same rank of Duan Yuqi effective time of timesharing strategy of Set For Current, section effective time of the timesharing strategy of Set For Current is revised in prompting.
Said apparatus is through being provided with a plurality of timesharing strategies; And each tactful section effective time is not overlapping; Make above-mentioned port carry out different strategies in the different time section, the single direction that is implemented in same physical port disposes a plurality of strategies, and these strategies can come into force through system time automatically; Do not need the keeper to start, make the HQoS The Application of Technology convenient with maintenance.
Describe below in conjunction with preferred embodiment, following preferred embodiment has combined the foregoing description and preferred implementation.
Embodiment one
Present embodiment is that example describes so that a plurality of timesharing strategies to be set at designated port.Based on this, present embodiment provides a kind of manner of execution of strategy, is used for realizing HQoS in the how tactful timesharing of designated port configuration, and this method may further comprise the steps:
S1 according to the needs of network environment, disposes each timesharing strategy and default policy, each time period of planning implementation strategy;
S2 is bundled in designated port with the timesharing strategy, and with time period (for example, can be above-mentioned section effective time) association; (for example, section effective time of different timesharing strategies has overlapping situation) provides prompting when there is conflict the time period of different timesharing strategies, reconfigures the time period of not conflicting;
S3 is bundled in port with default policy;
S4, during moment in system time is certain time period, current timesharing strategy comes into force.When system time did not belong to any one above-mentioned timesharing strategy time corresponding section, then default policy came into force.
Same as the previously described embodiments; The above-mentioned strategy that is bundled in port of present embodiment also can be to comprise multi-level strategy (being above-mentioned multistage strategy); For example, strategy (Level4) has comprised the substrategy of each layer of HQoS (Level1-Level3), and substrategy also can be related with the time period; The time period of substrategy this moment should belong to its upper level strategy in entry-into-force time time period, could guarantee that like this this substrategy is applied.The time period that conflict or substrategy and upper level strategy is arranged when the time period between substrategy do not satisfy by the time period of upper level strategy comprise concern the time, point out, so that reconfigure.
Present embodiment also provides a kind of equipment of realizing said method, and this equipment comprises with lower module:
Configuration module (realizing the above-mentioned function that module 52 is set); Be used to accomplish the configuration of various strategies, substrategy and time period; And port binding operation; And when handling the different timesharing strategy of same port binding, the judgement and the echo (being the prompt facility that carries out under the situation of above-mentioned conflict) of time period conflict;
DBM (realizing the function of above-mentioned logging modle 54) is used to preserve configuration module success information configured;
Time supervision module (realizing the function of above-mentioned detection module 42) is used for when the time period begins and finish, providing a trigger event, triggers corresponding strategy in the reading database, issues driver module;
Driver module (realizing the function of above-mentioned first Executive Module 44 and second Executive Module 46) is used for the policy distribution hardware that comes into force (being the traffic management module);
The traffic management module is used to realize the control scheduling to flow, realizes current HQOS strategy.
The executive mode of above-mentioned strategy scheduling can realize how tactful timesharing HQoS, makes that designated port can related a plurality of strategies, thereby can select the current strategy that comes into force of this port according to the time period; And support the configuration substrategy of timesharing in the strategy, thereby strengthen the flexibility that HQOS uses, satisfy more complicated existing network demand.
Embodiment two
Present embodiment is that example describes the foregoing description and preferred implementation with the multistage strategy that tree structure is set at designated port.
As shown in Figure 3, HQOS has been applied in the network of number of different types.Can combine Fig. 1 and Fig. 3 to describe, the voice among Fig. 1, video and data traffic identify with priority, and this is at Level1, can dispose the for example WFQ scheduling of strategy of Level1, and the scheduling ratio of voice, video and data traffic is set; Be provided with different shaping values for each internal layer vlan at Level2 (the inner vlan among Fig. 1), the difference of the data based priority that internal layer vlan is identical is dispatched according to the strategy of level1; At Level3 (the outer vlan among Fig. 1) data flow has been carried out the shaping speed limit again, finally be applied to designated port, designated port can carry out further speed limit etc.A packet finds one's own QOS parameter through multistage coupling.
Embodiment three
The Inbound that present embodiment is bound the A port with the timesharing strategy that this one deck of Level3 among the embodiment two is set is that example describes, and based on this, present embodiment provides a kind of configuration and method for using of HQoS strategy, and this method realizes based on the equipment among the embodiment one.Fig. 8 is according to the configuration of the HQoS strategy of the embodiment of the invention three and the detailed process sketch map of method for using.Can be tactful in describing above " strategy " among Fig. 8 all refers to the Level3 of port binding, and do not represent lower floor's substrategy.This method may further comprise the steps:
Step S801 plans each time period according to the actual requirements through configuration module, disposes a plurality of HQoS strategies and default policy, gets into step S802 for the HQoS strategy, gets into step S805 for default policy.
Step S802, respectively each strategy is bound with port A assigned direction and correlation time section, get into step S803.
Step S803 if do not conflict with the tactful time period that port has been bound, then gets into step S806; If conflict is arranged, then get into step S804.
Step S804, prompt time has conflict, and the modification time section reconfigures, and gets into step S803 then.
Step S805 binds default policy and port A Inbound, gets into step S806.
Step S806 is saved in database with strategy after the configuration successful, gets into step S807.
For example; Strategy 1 bundling port A Inbound; Section time1 correlation time (9:00am-10:00am of every day), this is the first strategy of bundling port, the tactful time that gets into step S803 is judged; The time period of not conflicting with it, then the configuration of " tactful 1+time1+ port A Inbound " can successfully write database; Again with tactful 2 bundling port A Inbound; Section time2 correlation time (9:30am-11:00am of every day); When carrying out the judgement of step S803, find this moment to have and conflict, then can point out the modification time section with " the tactful 1+time1+ port A Inbound " that disposed tactful time.Revise time2 (10:00am-11:00am of every day), passed through the time conflict monitoring, the configuration of " tactful 2+time2+ port A Inbound " is write database, by that analogy.
Step S807, the time supervision module is monitored, and detects whether to arrive the related time period of timesharing strategy, if then get into step S808; If, do not get into step S810.
Step S808, the time supervision module is monitored, and detects whether to have arrived the timesharing strategy starting point of related time period, if then get into step S811; Otherwise get into step S809.
Step S809, the time supervision module is monitored, and detects whether to have arrived the timesharing strategy end point of related time period, if then get into step S812; Otherwise continue to detect, again execution in step S809.
Step S810, current system time through driver module sending flow rate administration module, get into step S813 with the HQoS default policy not in each related time period.
Step S811, current system time can mate the time period related in the timesharing strategy, and corresponding timesharing strategy through driver module sending flow rate administration module, is got into step S813.
Step S812, system time arrives certain time period end point, time supervision module trigger event; The command driven module is deleted overdue HQoS timesharing strategy; Again according to the result of determination of time module, issue other timesharing strategy or default policy then, promptly get into step S807.
Step S813, in the time of after system time is in certain time period starting point, before the end point, time supervision module trigger event, update strategy, the flow of port A assigned direction carry out service quality according to the current HQoS of coming into force strategy and guarantee.
Generally speaking, step S801-S805 realizes through configuration module.Step S806 depends on DBM, and the judgement time-dependent of step S807-S809 is in the time supervision module; Step S810-812 realizes that at driver module step S813 has described through the traffic management module and finally realized the service quality assurance by the current HQOS of coming into force strategy.
Example then: current system time is 9:30am when supposing the configuration completion, and the time supervision module was found in the time period of time1, then at port A Inbound distributing policy 1.Arrive 10:00am when the time, this is the crash time of time1 and time2, and the time supervision module triggers upgrades the incident that drives, and command driven issues efficient strategy 2 with the deletion that is provided with of overdue tactful 1 pair of traffic management module.Arrive 11:00am when the time, promptly during the end point of time2, the time supervision module triggers upgrades the incident that drives, and command driven is deleted from hardware overdue tactful 2.If do not dispose other timesharing strategies, then issue default policy and come into force.Time continues forward, as the 9:00am that arrives second day, has arrived the entry-into-force time of strategy 1, by that analogy.
Come into force similarly with a plurality of tactful timesharing, present embodiment can also be supported such realization: the substrategy support under strategy is related with the time period.Can be with reference to figure 3.This n of " level1 substrategy 1_1 "-" level1 substrategy 1_n " 1 straton strategy all can depend on level2 substrategy 1, and this n 1 straton strategy timesharing comes into force.Level1 substrategy 1_1 section correlation time timeL2_1, level1 substrategy 1_2 section correlation time timeL2_2 ... Level1 substrategy 1_n section correlation time timeL2_n.Need judge timeL2_1 during configuration; TimeL2_2 ... TimeL2_n does not overlap and these times should be contained in the time period t imeL2 that level2 substrategy 1 comes into force; Its upper level strategy should not conflicted and belong to the time period that is substrategy in entry-into-force time time period, could guarantee that like this this substrategy is applied.Need dispose a level1 acquiescence substrategy 1 at last, in the time that does not have the timesharing strategy, default policy comes into force.In like manner, also can comprise the level2 substrategy of a plurality of timesharing in level3 strategy, port can be bound the level3 strategy of a plurality of timesharing.
Configuration and method for using and equipment through above-mentioned strategy; The a plurality of HQoS strategies of port binding have been realized; The design that many tactful timesharing come into force is also supported the timesharing of substrategy under the strategy, has solved HQoS one port and can only bind a strategy; The demand of different period Different Strategies be can't tackle in the existing network, underaction and drawback easily used and safeguard.
From above description; Can find out; The present invention is employed in section effective time of timesharing strategy and carries out this timesharing strategy; Carry out the mode of the default policy be bound to this port in the other times section, make that designated port can related a plurality of strategies, thereby can select the current strategy that comes into force of this port according to the time period; And support the configuration substrategy of timesharing in the strategy, thereby strengthen the flexibility that HQoS uses, satisfy more complicated existing network demand.
Obviously, it is apparent to those skilled in the art that above-mentioned each module of the present invention or each step can realize with the general calculation device; They can concentrate on the single calculation element; Perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element; Thereby; Can they be stored in the storage device and carry out, and in some cases, can carry out step shown or that describe with the order that is different from here by calculation element; Perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the manner of execution of multilevel service quality HQoS strategy is characterized in that comprising:
Whether the timesharing strategy that detects the designated port binding according to the current time is in section effective time;
If carry out said timesharing strategy at said designated port;
If, do not carry out the default policy that said designated port is bound at said designated port.
2. whether method according to claim 1 is characterized in that, detect timesharing strategy that designated port binds according to the current time and be in before section effective time, and said method also comprises:
Bind at least one timesharing strategy for said designated port, section effective time of said timesharing strategy is set;
Said timesharing strategy after being provided with is recorded in the database.
3. method according to claim 2 is characterized in that, section effective time that said timesharing strategy is set comprises:
Judge Set For Current said timesharing strategy effective time section with said database in section effective time of the timesharing strategy that writes down whether conflict;
If section effective time of the timesharing strategy of said Set For Current is revised in prompting.
4. method according to claim 2 is characterized in that, detects timesharing strategy that designated port binds according to the current time and whether is in the effective time section and comprises:
Detect corresponding section effective time of each timesharing strategy of designated port described in the said database according to the current time, if the said current time is not in said each timesharing strategy corresponding effective time in the section, the result who then confirms to detect is not for.
5. method according to claim 2 is characterized in that, binds at least one timesharing strategy for said designated port, and section effective time that said timesharing strategy is set comprises:
Bind at least one multistage timesharing strategy for said designated port, section effective time of every grade of timesharing strategy in the said multistage timesharing strategy is set step by step; Wherein, the effective time that section effective time of next stage timesharing strategy is contained in upper level timesharing strategy in each said multistage timesharing strategy is in the section, and section effective time of same other each timesharing strategy of level is not overlapping.
6. method according to claim 5 is characterized in that, section effective time that every grade of timesharing strategy in the said multistage timesharing strategy is set step by step comprises:
If Duan Wei effective time of the timesharing strategy of Set For Current is contained in the effective time of its upper level timesharing strategy in the section, section effective time of the timesharing strategy of said Set For Current is revised in prompting;
Perhaps, if section effective time of other timesharing strategy in the same rank of Duan Yuqi effective time of the timesharing strategy of Set For Current is overlapping, section effective time of the timesharing strategy of said Set For Current is revised in prompting.
7. the final controlling element of multilevel service quality HQoS strategy is characterized in that comprising:
Detection module is used for whether being in section effective time according to the timesharing strategy that current time detection designated port is bound;
First Executive Module is used in the testing result of said detection module carrying out said timesharing strategy at said designated port when being;
Second Executive Module is used in the testing result of said detection module carrying out the default policy that said designated port is bound at said designated port for not the time.
8. device according to claim 7 is characterized in that, said device also comprises:
Module is set, is used to said designated port and binds at least one timesharing strategy, and section effective time of said timesharing strategy is set;
Logging modle is used for the said timesharing strategy after being provided with is recorded in database.
9. device according to claim 8 is characterized in that, the said module that is provided with comprises:
Judging unit, be used for judging Set For Current said timesharing strategy effective time the timesharing strategy that section writes down with said database section effective time whether conflict;
Tip element is used in the judged result of said judging unit when being, section effective time of the timesharing strategy of said Set For Current is revised in prompting.
10. device according to claim 8 is characterized in that, the said module that is provided with also comprises:
Bind the unit, be used to said designated port and bind at least one multistage timesharing strategy;
The unit is set, is used for being provided with step by step section effective time of every grade of timesharing strategy of said multistage timesharing strategy; Wherein, the effective time that section effective time of next stage timesharing strategy is contained in upper level timesharing strategy in each said multistage timesharing strategy is in the section, and section effective time of same other each timesharing strategy of level is not overlapping.
CN2011103476745A 2011-11-04 2011-11-04 Execution method of hierarchical quality of service (HQoS) strategy and apparatus thereof Pending CN102413040A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103476745A CN102413040A (en) 2011-11-04 2011-11-04 Execution method of hierarchical quality of service (HQoS) strategy and apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103476745A CN102413040A (en) 2011-11-04 2011-11-04 Execution method of hierarchical quality of service (HQoS) strategy and apparatus thereof

Publications (1)

Publication Number Publication Date
CN102413040A true CN102413040A (en) 2012-04-11

Family

ID=45914899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103476745A Pending CN102413040A (en) 2011-11-04 2011-11-04 Execution method of hierarchical quality of service (HQoS) strategy and apparatus thereof

Country Status (1)

Country Link
CN (1) CN102413040A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200124A (en) * 2013-03-07 2013-07-10 北京华为数字技术有限公司 Service strategy adjustment method and service strategy adjustment device
CN103236897A (en) * 2013-04-10 2013-08-07 河北工程大学 RWA (Routing and Wavelength Assignment) method on basis of two-dimensional QoS (Quality of Service) specification configuration
CN103701639A (en) * 2013-12-17 2014-04-02 上海斐讯数据通信技术有限公司 ACL (Access Control List) collocation method and system
CN104427557A (en) * 2013-08-27 2015-03-18 中国电信股份有限公司 Method for controlling QoS (Quality of Service) policy conflict, device and system
CN108512696A (en) * 2018-03-13 2018-09-07 烽火通信科技股份有限公司 A kind of method of flexible switching Flow Policy

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050262228A1 (en) * 2002-07-17 2005-11-24 Alcatel Method, computer software products, client terminal, network element and network for efficient use of network resources by just-in-time modulation of quality of service based on service usage and user behavior
CN101436987A (en) * 2008-10-06 2009-05-20 中兴通讯股份有限公司 Method and apparatus for scheduling and configuring QoS service
CN101478475A (en) * 2008-11-21 2009-07-08 中兴通讯股份有限公司 Method for implementing HQoS technique in T-MPLS network
CN101795233A (en) * 2010-03-10 2010-08-04 杭州华三通信技术有限公司 Method and equipment for controlling quality of service (QoS)
CN101997779A (en) * 2010-11-22 2011-03-30 华为技术有限公司 Method and device for controlling service quality
CN102202063A (en) * 2011-06-10 2011-09-28 中兴通讯股份有限公司 Quality of service (QOS)-time-sharing-strategy-based network data transmission method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050262228A1 (en) * 2002-07-17 2005-11-24 Alcatel Method, computer software products, client terminal, network element and network for efficient use of network resources by just-in-time modulation of quality of service based on service usage and user behavior
CN101436987A (en) * 2008-10-06 2009-05-20 中兴通讯股份有限公司 Method and apparatus for scheduling and configuring QoS service
CN101478475A (en) * 2008-11-21 2009-07-08 中兴通讯股份有限公司 Method for implementing HQoS technique in T-MPLS network
CN101795233A (en) * 2010-03-10 2010-08-04 杭州华三通信技术有限公司 Method and equipment for controlling quality of service (QoS)
CN101997779A (en) * 2010-11-22 2011-03-30 华为技术有限公司 Method and device for controlling service quality
CN102202063A (en) * 2011-06-10 2011-09-28 中兴通讯股份有限公司 Quality of service (QOS)-time-sharing-strategy-based network data transmission method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200124A (en) * 2013-03-07 2013-07-10 北京华为数字技术有限公司 Service strategy adjustment method and service strategy adjustment device
CN103200124B (en) * 2013-03-07 2016-12-28 北京华为数字技术有限公司 The method of adjustment of a kind of business game and device
CN103236897A (en) * 2013-04-10 2013-08-07 河北工程大学 RWA (Routing and Wavelength Assignment) method on basis of two-dimensional QoS (Quality of Service) specification configuration
CN104427557A (en) * 2013-08-27 2015-03-18 中国电信股份有限公司 Method for controlling QoS (Quality of Service) policy conflict, device and system
CN104427557B (en) * 2013-08-27 2018-05-15 中国电信股份有限公司 For controlling the method, apparatus and system of qos policy conflict
CN103701639A (en) * 2013-12-17 2014-04-02 上海斐讯数据通信技术有限公司 ACL (Access Control List) collocation method and system
CN103701639B (en) * 2013-12-17 2018-09-28 上海斐讯数据通信技术有限公司 A kind of ACL configuration methods and system
CN108512696A (en) * 2018-03-13 2018-09-07 烽火通信科技股份有限公司 A kind of method of flexible switching Flow Policy
CN108512696B (en) * 2018-03-13 2021-08-31 烽火通信科技股份有限公司 Method for flexibly switching current conversion strategy

Similar Documents

Publication Publication Date Title
Gavrilut et al. Fault-tolerant topology and routing synthesis for IEEE time-sensitive networking
CN103444141B (en) Grouping scheduling method and equipment
CN101228737B (en) Hierarchical qos behavioral model
CN102884763B (en) Cross-data-center virtual machine migration method, service control gateway and system
CN102413040A (en) Execution method of hierarchical quality of service (HQoS) strategy and apparatus thereof
CN104079492B (en) The methods, devices and systems that flow table is configured in a kind of OpenFlow networks
CN103001891B (en) Method for promoting integral service quality of local area network
CN1946061B (en) Method and device for fast processing message
CN112822037B (en) Flow arrangement method and system for security resource pool
CN106161275A (en) Prediction for service quality exports packet classification
CN1422473B (en) Method for defining and controlling the overall behavior of a network processor device
CN101945046A (en) Method and system for configuring mapping of qualify of service of virtual private LAN service network
CN105939240A (en) Load balancing method and device
CN103152251A (en) Method and device for processing message
Gebremichael et al. Deadlock prevention in the Æthereal protocol
Qing et al. Hybrid virtual network embedding with K-core decomposition and time-oriented priority
CN102404213A (en) Method and system for cache management of message
CN105141526B (en) The method and device of virtual network communication
CN110995608A (en) Method, device and system for multi-link load balancing
CN102546423A (en) Method and device for queue scheduling and network device
CN104717096B (en) A kind of event-handling method and device
CN101977154A (en) Intelligent flow security processing control method and device
CN116962139A (en) Virtual-real combination processing system, method, device, processor and storage medium for intelligent calling of external physical equipment by cloud platform target range
KR20210074067A (en) Method for managing access control list based on vehicle ethernet and apparatus using the same
CN108040018B (en) Fine-grained network flow scheduling method and system under network function virtualization

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120411