WO2012167645A1 - Network data transmission method and device based on qos time division policy - Google Patents

Network data transmission method and device based on qos time division policy Download PDF

Info

Publication number
WO2012167645A1
WO2012167645A1 PCT/CN2012/072750 CN2012072750W WO2012167645A1 WO 2012167645 A1 WO2012167645 A1 WO 2012167645A1 CN 2012072750 W CN2012072750 W CN 2012072750W WO 2012167645 A1 WO2012167645 A1 WO 2012167645A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
qos
sharing policy
policy package
package
Prior art date
Application number
PCT/CN2012/072750
Other languages
French (fr)
Chinese (zh)
Inventor
张一麟
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012167645A1 publication Critical patent/WO2012167645A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks

Definitions

  • the present invention relates to network communication technologies, and more particularly to a network data transmission method and apparatus based on QOS (Quality of Service) time-sharing strategy.
  • QOS Quality of Service
  • Q0S is a technical concept that provides better network service quality. In short, it is used to solve the problem of balancing the traffic usage of various services based on insufficient network resources. If bandwidth resources are sufficient, Q0S There is no value. Q0S is designed to provide different quality of service for different applications, such as providing dedicated bandwidth, reducing packet loss rate, and reducing packet transmission delay and delay jitter. From the point of view of the purpose and role of Q0S, it can be said that QOS is a collection of strategies and means. It is a set of strategic measures to control traffic congestion. Since it is a traffic congestion phenomenon, the causes, extents, and specific phenomena of traffic congestion at different times in different periods must be different.
  • the cause, degree, and specific performance of communication data are not constant, and will dynamically change with various factors such as network conditions, number of users online, and changes in different application services.
  • the traditional Q0S adopts a "package" configuration, which is basically time-independent, with a fixed set of configurations around the clock. Except that the network switch has a default Q0S configuration scheme during the initialization phase, only the network management personnel will make some configuration changes according to the situation. Obviously, this Q0S configuration strategy is not sufficiently automated and too rigid. On the other hand, with the continuous advancement of Q0S technology, the demand of Q0S will definitely expand, and it will inevitably need to cope with more complex space-time scenarios.
  • the patents on "Q0S" in the prior art are all improved in the specific function point expansion, combination and performance optimization of Q0S, and there is no change strategy specifically for time characteristics.
  • an effective solution has not been proposed yet.
  • the present invention provides a network data transmission method and apparatus based on a QOS time-sharing strategy to at least solve the problem of degradation of network data transmission quality caused by adopting a fixed QOS policy in different spatio-temporal scenarios in the prior art. problem.
  • a network data transmission method based on a QOS time-sharing policy including: configuring a QOS time-sharing policy package for different time periods; using QOS corresponding to the time period on different time periods
  • the time-sharing policy package transmits network data.
  • the step of transmitting the network data by using the QOS time-sharing policy packet corresponding to the time period on different time periods includes: detecting whether there is currently a QOS time-sharing in use when the time period corresponding to the QOS time-sharing policy package to be used arrives Policy package; if present, perform mutual exclusion and dependency checking on the QOS time-sharing policy package to be used and the QOS time-sharing policy package in use; if the QOS time-sharing policy package to be used and the QOS time-sharing strategy in use
  • the packets are mutually exclusive or dependent, and the QOS time-sharing policy package to be used according to the scheduling rule for eliminating mutual exclusion or dependency and the QOS time-sharing policy package being used are scheduled to transmit network data.
  • the step of scheduling the time-sharing policy packet to transmit network data includes: de-enabling the function point forming the mutual exclusion in the QOS time-sharing policy package being used; and transmitting the network data by using the QOS time-sharing policy package to be used. .
  • the step of scheduling the policy packet to transmit the network data includes: comparing the expiration time of the function point forming the dependency in the QOS time-sharing policy package to be used with the function point forming the dependency in the QOS time-sharing policy package being used Expiration time; if the expiration time of the function-dependent function point in the QOS time-sharing policy package being used is earlier than the expiration time of the function-dependent function point in the QOS time-sharing policy package to be used, Extending the expiration time of the dependency-forming function point in the QOS time-sharing policy package being used to the expiration time of the dependency-forming function point in the QOS time-sharing policy package to be used; using the QOS score to be used
  • the time policy package transmits network data.
  • the step of extending the expiration time of the dependency-forming function point in the QOS time-sharing policy package in use to the expiration time of the dependency-forming function point in the QOS time-sharing policy package to be used includes: The function points forming the dependency in the used QOS time-sharing policy package are copied into the QOS time-sharing policy package to be used.
  • the step of transmitting the network data by using the QOS time-sharing policy packet corresponding to the time period on different time periods further includes: if it is checked that the time period corresponding to the QOS time-sharing policy package to be used does not exist, the use is in use.
  • the QOS time-sharing policy package uses the QOS time-sharing policy package to be used to transmit network data.
  • a network data transmission apparatus based on a QOS time-sharing policy comprising: a configuration unit configured to configure a QOS time-sharing policy package for different time periods; and a processing unit configured to be different in The QOS time-sharing policy packet corresponding to the time period is used to transmit network data on the time period.
  • the processing unit includes: a detecting module, configured to detect whether there is currently a QOS time-sharing policy package in use when the time period corresponding to the QOS time-sharing policy package to be used arrives; and the checking module is set to detect that the current existence is in use
  • the QOS time-sharing policy package, the QOS time-sharing policy package to be used and the QOS time-sharing policy package being used for mutual exclusion and dependency checking
  • the scheduling module set to the QOS time-sharing policy package to be used and When the used QOS time-sharing policy packages are mutually exclusive or dependent, the QOS time-sharing policy package to be used according to the scheduling rule for eliminating mutual exclusion or dependency and the QOS time-sharing policy package being used are performed.
  • Schedule to transfer network data configured to detect whether there is currently a QOS time-sharing policy package in use when the time period corresponding to the QOS time-sharing policy package to be used arrives; and the checking module is set to detect that the current existence is in use
  • the scheduling module includes: a mutual exclusion scheduling sub-module, configured to be in a QOS time-sharing policy package in use when the QOS time-sharing policy package to be used and the QOS time-sharing policy package in use are mutually exclusive.
  • the function points that form mutual exclusion are used to enable the operation, and the network data is transmitted using the QOS time-sharing policy package to be used;
  • the dependency scheduling sub-module is set to the QOS time-sharing policy package to be used and the QOS being used.
  • Expiration time if the expiration time of the function-dependent function point in the QOS time-sharing policy package being used is earlier than the expiration time of the function-dependent function point in the QOS time-sharing policy package to be used, Extending the expiration time of the dependency-forming function point in the QOS time-sharing policy package being used to the expiration time of the dependency-forming function point in the QOS time-sharing policy package to be used;
  • the dependency scheduling sub-module includes: a configuration sub-module configured to extend the expiration time of the function-dependent function point in the QOS time-sharing policy package in use to the formation dependency in the QOS time-sharing policy package to be used During the expiration of the function point, the function-dependent function points in the QOS time-sharing policy package being used are copied to the QOS time-sharing policy package to be used.
  • the QOS time-sharing policy package is configured for different time periods, so that the network data corresponding to the QOS time-sharing policy packet corresponding to the time period can be transmitted in different time periods, which solves the difference in the prior art due to different The problem of degraded network data transmission quality caused by a fixed QOS strategy in a spatiotemporal scenario, and thus the effect of ensuring high data transmission quality in different spatiotemporal scenarios.
  • FIG. 1 is a flowchart of a network data transmission method based on a QOS time-sharing policy according to an embodiment of the present invention
  • FIG. 2 is a structural diagram of a policy package according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of operation of a time-sharing policy package in a sequential mode according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of operation of a time-sharing policy package in a sequential mode according to an embodiment of the present invention
  • FIG. 6 is a flowchart of policy scheduling according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of a network data transmission apparatus based on a QOS time-sharing policy according to an embodiment of the present invention.
  • 1 is a flowchart of a network data transmission method based on a QOS time-sharing policy, which includes steps S102 to S104: Step S102: configuring a QOS time-sharing strategy for different time periods according to an embodiment of the present invention.
  • Packet S104 The network data is transmitted by using the QOS time-sharing policy packet corresponding to the time period on different time periods.
  • the QOS time-sharing policy package is configured for different time periods, so that the network data can be transmitted by using the QOS time-sharing policy packet corresponding to the time period in different time periods, which solves the difference in the prior art.
  • the problem of the quality of the network data transmission caused by a fixed QOS policy is reduced, thereby achieving the effect of ensuring high data transmission quality in different time and space scenarios.
  • the QOS time-sharing configuration policy forms a Q0S time-sharing policy package by using a time period (interval) as a unit. As shown in FIG.
  • the Q0S time-sharing policy package of the present invention is composed of various function points of the Q0S, and the policy package is It does not have to contain all the function points, and at the same time allows the function points contained in the strategy package to have intersections and no intersections.
  • the customization rules of the above Q0S time-sharing policy package can be referred to as follows: 1) Each policy package is an unordered combination of multiple function point configurations of Q0S;
  • the Q0S function point configuration covered by the policy package does not need to completely cover all Q0S functions, that is, it is only a subset of all Q0S function points;
  • Two different policy packages may have an intersection of function point configurations. When two policy packets with intersections are switched, the scheduling rules are followed, as shown in Figure 6; 4) If there are no functional intersections between the two scheduling packets, Allowing XOR relationships to coexist;
  • the policy package After the policy package is developed, it can be enabled at any time, or it can be closed at any time to make it invalid but retain the strategy.
  • the time period unit corresponding to the QOS time-sharing policy package can be accurate to the year, month, date, and time division; the time period flow has a sequence of time series, and can also have periodicity. Therefore, in this embodiment, three time modes can be set:
  • Loop mode (day cycle, month cycle, year cycle): Each cycle mode cyclically schedules valid policy packages for the current date/current month/current year, and the same policy package can participate in different loops. As shown in Figure 5, the time-sharing strategy in the loop mode performs time loops according to the daily/monthly/yearly periodicity, and each loop executes the policy package on the time loop line in turn. Almost every policy package can participate in three cycle cycles.
  • time period of a policy package is 2011.4.20 15 : 30 to 2011.4.25 17: 00
  • its time period is an absolute time period, but it It can still be added to the daily loop, and its effective time period in this loop is intercepted as 15: 30 to 17: 00; similarly, it can also be added to the monthly loop, and the effective time period is intercepted as 20 days. : 30 to 25, 17: 00.
  • Single mode It can be set to specify a policy package to execute all the way. This mode is the traditional Q0S mode and is a static fixed strategy. As shown in Figure 3, the time-sharing strategy in the single mode is actually the traditional Q0S static configuration. A series of function points (which can be used as a policy package) are valid on the time axis. There is no self-scheduling, no multiple policy packages. participate.
  • Sequential mode The policy package is executed in strict chronological order.
  • the policy package participating in this time mode must have a strict start date of the year, month and day.
  • the time-sharing strategy in the sequential mode performs the forward scheduling in strict accordance with the time axis in one direction.
  • the policy package 1 time period first arrives at execution. After the policy package 1 period is exhausted, The system empty policy is carried out for a period of time, and then the policy package 2 time period arrives. When the policy package 2 time period has not ended, the policy package 3 arrives.
  • Policy package 2 and policy package 3 do mutual exclusion and dependency checking, and are processed according to the scheduling rules. Policy Pack 2 and Policy Pack 3 complete their own time periods in turn, after which there is no policy package, and the system QOS configuration is restored.
  • the QOS time-sharing policy switches or introduces a new policy according to the time period, it must involve the scheduling between the policy packets. If it is a policy package that is not related to each other and affects the function points, there is no statement of scheduling. It can be executed at the time. On the contrary, some functional points contained in different policy packages may have mutual exclusion and dependence. Therefore, a scheduling rule needs to be formulated to solve.
  • the present invention provides a preferred step of transmitting network data using a QOS time-sharing policy packet corresponding to the time period on different time periods, including: when a time period corresponding to the QOS time-sharing policy package to be used arrives, Detect whether there is currently a QOS time-sharing policy package in use; if yes, perform a mutual exclusion and dependency check on the QOS time-sharing policy package to be used and the QOS time-sharing policy package to be used; if the QOS time-sharing to be used.
  • the policy package and the QOS time-sharing policy package in use are mutually exclusive or dependent, and the QOS time-sharing policy package to be used according to the scheduling rule for eliminating mutual exclusion or dependency and the QOS score being used.
  • the time policy package is scheduled to transmit network data.
  • the scheduling rules are used to eliminate the mutual exclusion or dependency between the policy packets, and the QOS time-sharing policies on the overlapping time periods are avoided.
  • the step of transmitting network data by using the QOS time-sharing policy packet corresponding to the time period on different time periods further includes: if it is checked that there is no QOS score being used when the time period corresponding to the QOS time-sharing policy package to be used arrives.
  • the time policy package uses the QOS time-sharing policy package to be used to transmit network data.
  • the foregoing scheduling rule may include:
  • Scheduling mutual exclusion that is, two function points in two policy packages (one policy package A existing on the current timeline and the other policy package B that needs to start execution at the current time point) have It is not a black and white conflict relationship. If in the case of traditional QOS, this function point in B cannot be executed, this will result in incomplete implementation of policy package B.
  • the scheduling module checks the mutual exclusion conflict, it closes the function point of the policy package A and confirms that the action takes effect, and then starts to execute the entire policy package 8. This scheduling rule can be considered as a principle of compliance with the latter.
  • the QOS time-sharing policy package to be used and the QOS time-sharing policy package in use are mutually exclusive, the QOS time-sharing policy to be used according to the scheduling rule for eliminating mutual exclusion is used.
  • the steps for the package and the QOS time-sharing policy package being used to schedule the transmission of network data include:
  • the function points forming the mutual exclusion in the QOS time-sharing policy package are de-enabled; the network data is transmitted using the QOS time-sharing policy package to be used.
  • the scheduling rules are used to eliminate the mutual exclusion between the policy packets, and the QOS time-sharing policies on the overlapping time periods are avoided.
  • Scheduling dependencies that is, two function points in the two policy packages (one policy package A already existing on the current timeline, and the other is the policy package B that needs to be executed at the current time point) have a dependency relationship, A The function point in is an effective premise of the function point in B. If A expires and the B policy package is still in execution, then this feature point in B will also be invalid.
  • the step of scheduling the policy packet to transmit the network data includes: comparing the expiration time of the function point forming the dependency in the QOS time-sharing policy package to be used with the function point forming the dependency in the QOS time-sharing policy package being used Expiration time; if the expiration time of the function-dependent function point in the QOS time-sharing policy package being used is earlier than the expiration time of the function-dependent function point in the QOS time-sharing policy package to be used, Extending the expiration time of the dependency-forming function point in the QOS time-sharing policy package being used to the expiration time of the dependency-forming function point in
  • the scheduling rules are used to eliminate the dependency between the policy packets, and the QOS time-sharing policies on the overlapping time periods are avoided.
  • the step of extending the expiration time of the dependency-forming function point in the QOS time-sharing policy package in use to the expiration time of the dependency-forming function point in the QOS time-sharing policy package to be used includes: The function points forming the dependency in the used QOS time-sharing policy package are copied into the QOS time-sharing policy package to be used.
  • the expiration time of the function point is rapidly extended by the method of copying, the operation flow is simplified, and the scheduling efficiency is improved.
  • the policy package customization process should try to avoid mutual exclusion and dependence. If you have to have such a function point, try to put the two function points into the same policy package to solve the dependency. The two functional points that are mutually exclusive are placed in the policy package with no intersection in the time interval.
  • the scheduling module maintains a functional point relationship table that needs to be mutually exclusive or dependent for the policy package to check during scheduling.
  • the present invention introduces a time-sharing scheduling scheme of the QOS configuration policy, and the QOS configuration strategy becomes a time dimension.
  • QOS can better cope with regular network condition changes (that is, QOS application scenario changes) in different time periods.
  • the QOS configuration strategy has an automated nature. Due to the key strategies of dynamically switching QOS responses in different time periods, the network quality services enjoyed by users in different time periods are different, and the commitment to further conform to the user's usage habits also makes QOS resources more reasonable in the current time period. The focus of the service object, thereby indirectly improving the efficiency optimization and resource optimization of QOS.
  • the present invention introduces a method for automatically scheduling the QOS policy switching, such as As shown in FIG. 6, the flow of the scheduling processing method for the time-sharing policy includes the following steps S602 to S624: Step S602: The device system is in an operating state, and a policy package may be in execution at this time. Step S604: determining whether the new policy packet time point has arrived; if yes, proceeding to step S606; otherwise, proceeding to step S602. Step S606: The new policy packet time point arrives, and the scheduling check is started.
  • Step S608 It is determined whether a policy package is being executed in the system at this time. If not, the new policy package is directly executed, and the process returns to step S602; if yes, the process goes to step S610 to start the mutual exclusion relationship check.
  • Step S610 Start a mutual exclusion relationship check.
  • Step S612 Determine whether there is a mutual exclusion relationship between all the policy packages in execution and the function points in the current new policy package. If not, the process proceeds to S616; if yes, the process proceeds to S614.
  • Step S614 According to the mutual exclusion rule, the mutual exclusion function point in the old policy package is disabled.
  • Step S616 Dependency check.
  • Step S618 Determine whether there is a dependency relationship between all the policy packages in execution and the function points in the current new policy package. If not, the new policy package is directly executed, and the process returns to step S602; if yes, the process proceeds to step S620.
  • Step S620 Check the dependent function point expiration time point.
  • Step S622 Compare the expiration time of the dependent function point (that is, the expiration time of the package) and the expiration time of the new policy package. If it is later than the new policy package, the new policy package is directly executed, and the process returns to step S602; if it expires earlier than the new policy package (new policy function point), the process proceeds to step S624.
  • FIG. 7 is a schematic structural diagram of a network data transmission apparatus based on a QOS time-sharing policy according to an embodiment of the present invention. As shown in FIG. 7, the method includes: a configuration unit 702, configured to configure QOS time-sharing for different time periods. Strategy The processing unit 704 is connected to the configuration unit 702, and is configured to transmit network data by using the QOS time-sharing policy packet corresponding to the time period on different time periods.
  • the QOS time-sharing policy package is configured for different time periods, so that the network data can be transmitted by using the QOS time-sharing policy packet corresponding to the time period in different time periods, which solves the difference in the prior art.
  • the problem of the quality of the network data transmission caused by a fixed QOS policy is reduced, thereby achieving the effect of ensuring high data transmission quality in different time and space scenarios.
  • the QOS time-sharing configuration policy forms a QOS time-sharing policy package by using a time period (interval), as shown in FIG. 2,
  • the invented QOS time-sharing strategy package consists of various functional points of QOS.
  • the policy package does not necessarily have to contain all the function points, and at the same time allows the function points contained in the policy package to have intersections and no intersections.
  • the customization rules of the above QOS time-sharing policy package can be referred to as follows:
  • Each policy package is an unordered combination of QOS multiple function point configurations
  • the QOS function point configuration covered by the policy package does not need to completely cover all QOS functions, that is, it is only a subset of the QOS function points; 3) Two different policy packages can have the intersection of function point configurations, when two have When the intersection of the policy package is switched, the scheduling rules are followed, as shown in Figure 6.
  • the policy package After the policy package is developed, it can be enabled at any time, or it can be closed at any time to make it invalid but retain the strategy.
  • the time period unit corresponding to the QOS time-sharing policy package can be accurate to the year, month, date, and time division; the time period flow has a sequence of time series, and can also have periodicity. Therefore, in this embodiment, three time modes can be set:
  • Loop mode (day cycle, month cycle, year cycle): Each cycle mode cyclically schedules valid policy packages for the current date/current month/current year, and the same policy package can participate in different loops. As shown in FIG. 5, the time-sharing strategy in the loop mode performs time loops according to the periodicity of the day/month/year, and each cycle sequentially executes the policy package on the time loop. Almost every policy package can participate in three cycle cycles.
  • Sequential mode The policy package is executed in strict chronological order.
  • the policy package participating in this time mode must have a strict start date of the year, month and day.
  • the time-sharing strategy in the sequential mode performs the forward scheduling in strict accordance with the time axis in one direction.
  • the policy package 1 time period first arrives at execution. After the policy package 1 time period is exhausted, the system empty policy is carried out for a period of time, and then the policy package 2 time period is reached. When the policy package 2 time period has not ended, the policy package 3 arrives.
  • Policy package 2 and policy package 3 do mutual exclusion and dependency checking, and are processed according to the scheduling rules. Policy Pack 2 and Policy Pack 3 complete their own time periods in turn, after which there is no policy package, and the system QOS configuration is restored.
  • the QOS time-sharing policy switches or introduces a new policy according to the time period, it must involve the scheduling between the policy packets. If it is a policy package that is not related to each other and affects the function points, there is no statement of scheduling. It can be executed at the time. On the contrary, some functional points contained in different policy packages may have mutual exclusion and dependence. Therefore, a scheduling rule needs to be formulated to solve this problem.
  • the present embodiment provides a preferred processing unit 704, which includes: a detecting module 7041, configured to detect whether there is currently a QOS score being used when a time period corresponding to the QOS time-sharing policy package to be used arrives The time policy package; the checking module 7042 is coupled to the detecting module 7041, and configured to perform mutual use of the QOS time-sharing policy package to be used and the QOS time-sharing policy package in use when detecting that the currently existing QOS time-sharing policy package exists.
  • a detecting module 7041 configured to detect whether there is currently a QOS score being used when a time period corresponding to the QOS time-sharing policy package to be used arrives The time policy package
  • the checking module 7042 is coupled to the detecting module 7041, and configured to perform mutual use of the QOS time-sharing policy package to be used and the QOS time-sharing policy package in use when detecting that the currently existing QOS time-sharing policy package exists.
  • a scheduling module 7043 coupled with the checking module 7042, configured to set a mutual exclusion or dependency between the QOS time-sharing policy package to be used and the QOS time-sharing policy package to be used, according to A scheduling rule for eliminating mutual exclusion or dependency is scheduled to use the QOS time-sharing policy package and the QOS time-sharing policy package being used to transmit network data.
  • the scheduling rules are used to eliminate the mutual exclusion or dependency between the policy packets, and the QOS time-sharing policies on the overlapping time periods are avoided.
  • the foregoing scheduling rule may include:
  • Scheduling mutual exclusion that is, two function points in two policy packages (one policy package A existing on the current timeline and the other policy package B that needs to start execution at the current time point) have It is not a black and white conflict relationship. If in the case of traditional QOS, this function point in B cannot be executed, this will result in incomplete implementation of policy package B.
  • the scheduling module checks the mutual exclusion conflict, it first closes the function point of the policy package A and confirms that the action takes effect, and then starts to execute the entire policy package 8. This scheduling rule can be considered as a principle of compliance with the latter.
  • Scheduling dependencies that is, two function points in the two policy packages (one policy package A already existing on the current timeline, and the other is the policy package B that needs to be executed at the current time point) have a dependency relationship, A
  • the function point in is an effective premise of the function point in B. If A expires and the B policy package is still in execution, then this feature point in B will also be invalid.
  • the scheduling module detects this situation and needs to automatically extend the pre-requisite function point in the original A policy to the end of the B policy.
  • the policy package customization process should try to avoid mutual exclusion and dependence. If you have to have such a function point, try to put the two function points into the same policy package to solve the dependency. The two functional points that are mutually exclusive are placed in the policy package with no intersection in the time interval.
  • the scheduling module maintains a functional point relationship table that needs to be mutually exclusive or dependent for the policy package to check during scheduling.
  • the present invention provides a preferred scheduling module 7043, including: a mutual exclusion scheduling sub-module, configured to be between a QOS time-sharing policy package to be used and a QOS time-sharing policy package in use When there is mutual exclusion, the function node forming the mutual exclusion in the QOS time-sharing policy package being used is de-enabled, and the network data is transmitted using the QOS time-sharing policy package to be used; the dependency scheduling sub-module, When the QOS time-sharing policy package to be used and the QOS time-sharing policy package in use are dependent on each other, the expiration time of the function-dependent function point in the QOS time-sharing policy package to be used is compared with The expiration time of the function-dependent function point in the QOS time-sharing policy package being used; if the expiration time of the function-dependent function point in the QOS time-sharing policy
  • Expiration time point of the function package is formed dependent; QOS sharing policy using packet data transmission network to be used.
  • the scheduling rules are used to eliminate the mutual exclusion or dependency between the policy packets, and the QOS time-sharing policies on the overlapping time periods are avoided.
  • the dependency scheduling sub-module includes: a configuration sub-module configured to extend the expiration time of the function-dependent function point in the QOS time-sharing policy package in use to the formation dependency in the QOS time-sharing policy package to be used During the expiration of the function point, the function-dependent function points in the QOS time-sharing policy package being used are copied to the QOS time-sharing policy package to be used.
  • the expiration time of the function point is rapidly extended by the method of copying, the operation flow is simplified, and the scheduling efficiency is improved.
  • the present invention introduces a time-sharing scheduling scheme of the QOS configuration policy, and the QOS configuration strategy becomes a time dimension.
  • QOS can better cope with regular network condition changes (that is, QOS application scenario changes) in different time periods.
  • the QOS configuration strategy has an automated nature. Due to the key strategies for dynamically switching QOS responses at different time periods, the network quality services that users enjoying in different time periods have different priorities.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.

Abstract

Disclosed are a network data transmission method and device based on a QOS time division policy. The method comprises: configuring QOS time division policy packets for different periods of time; and transmitting network data in the different periods of time by using the QOS time division policy packets corresponding to the different periods of time. The present invention solves the problem in the prior art that network data transmission quality is decreased since a fixed QOS policy is used in different time and space scenarios, thereby achieving the effect of ensuring high data transmission quality in different time and space scenarios.

Description

基于 QOS分时策略的网络数据传输方法和装置 技术领域 本发明涉及网络通信技术, 更具体的说, 是一种基于 QOS (Quality of Service, 服 务质量) 分时策略的网络数据传输方法和装置。 背景技术  TECHNICAL FIELD The present invention relates to network communication technologies, and more particularly to a network data transmission method and apparatus based on QOS (Quality of Service) time-sharing strategy. Background technique
Q0S是一种提供更好网络服务质量的技术概念, 简单来说它是用来解决基于网络 资源不够的情况下, 怎么去平衡各种服务流量占用的矛盾, 如果带宽资源足够的情况 下, Q0S是没有价值的。 Q0S旨在针对各种应用的不同需求, 为其提供不同的服务质 量, 如提供专用带宽、 减少报文丢失率、 降低报文传送时延及时延抖动等。 从 Q0S的目的和作用来看, 可以说 Q0S是一系列策略和手段的集合, 它是一套 像治理交通拥堵现象的策略手段。 既然是交通拥堵现象, 那么不同时期不同时段的交 通拥堵原因、 程度、 具体现象肯定是不一样。 同理, 在网络通信过程中, 通信数据的 拥塞原因、 程度、 具体表现也不是恒定的, 是会随着网络状况、 用户在线数量和不同 应用服务变化等多种因素而动态变化的。 传统 Q0S采用的是"一揽子式"的配置方式, 基本上是不分时段的, 全天候采用固 定的一套配置。除了在网络交换机在初始化阶段有默认的 Q0S配置方案外, 只有网元 管理人员会根据情况人为的做一些配置修改。很明显这种 Q0S配置策略不够自动化智 能化, 也过于死板。 另一方面, 随着 Q0S技术的不断进步, Q0S的需求肯定会不断 扩展, 到时候会必然需要应付更多的复杂时空场景。 而场景越多, 越难靠一个静态的 固定的策略来完美应对。 现有技术中关于" Q0S"的专利都是在 Q0S具体功能点扩展、组合以及性能优化上 做改进, 没有专门针对时间特性的变化型策略。 针对现有技术中由于在不同的时空场景下采用一个固定的 Q0S 策略而导致的网 络数据传输质量下降的问题, 目前尚未提出有效的解决方案。 发明内容 本发明提供了一种基于 Q0S分时策略的网络数据传输方法和装置,以至少解决现 有技术中由于在不同的时空场景下采用一个固定的 QOS 策略而导致的网络数据传输 质量下降的问题。 根据本发明的一个方面,提供了一种基于 QOS分时策略的网络数据传输方法,其 包括: 为不同的时间段配置 QOS分时策略包; 在不同的时间段上使用该时间段对应的 QOS分时策略包传输网络数据。 在不同的时间段上使用该时间段对应的 QOS 分时策略包传输网络数据的步骤包 括: 在待使用的 QOS分时策略包对应的时间段到达时,检测当前是否存在正在使用的 QOS分时策略包; 若存在, 则对待使用的 QOS分时策略包以及正在使用的 QOS分时 策略包进行互斥性和依赖性检查; 若待使用的 QOS分时策略包以及正在使用的 QOS 分时策略包相互之间存在互斥性或依赖性, 则根据用于消除互斥性或依赖性的调度规 则对待使用的 QOS分时策略包以及正在使用的 QOS分时策略包进行调度以传输网络 数据。 若待使用的 QOS分时策略包以及正在使用的 QOS分时策略包相互之间存在互斥 性, 则根据用于消除互斥性的调度规则对待使用的 QOS 分时策略包以及正在使用的 QOS分时策略包进行调度以传输网络数据的步骤包括: 对正在使用的 QOS分时策略 包中的形成互斥性的功能点进行去使能操作;使用待使用的 QOS分时策略包传输网络 数据。 若待使用的 QOS分时策略包以及正在使用的 QOS分时策略包相互之间存在依赖 性, 则根据用于消除依赖性的调度规则对待使用的 QOS 分时策略包以及正在使用的 QOS分时策略包进行调度以传输网络数据的步骤包括: 比较待使用的 QOS分时策略 包中的形成依赖性的功能点的到期时间与正在使用的 QOS 分时策略包中的形成依赖 性的功能点的到期时间;若正在使用的 QOS分时策略包中的形成依赖性的功能点的到 期时间早于待使用的 QOS分时策略包中的形成依赖性的功能点的到期时间,则将正在 使用的 QOS分时策略包中的形成依赖性的功能点的到期时间延长至待使用的 QOS分 时策略包中的形成依赖性的功能点的到期时间;使用待使用的 QOS分时策略包传输网 络数据。 在将正在使用的 QOS 分时策略包中的形成依赖性的功能点的到期时间延长至待 使用的 QOS分时策略包中的形成依赖性的功能点的到期时间的步骤包括:将正在使用 的 QOS分时策略包中的形成依赖性的功能点复制到待使用的 QOS分时策略包中。 在不同的时间段上使用该时间段对应的 QOS 分时策略包传输网络数据的步骤还 包括: 若检查出在待使用的 QOS 分时策略包对应的时间段到达时不存在正在使用的Q0S is a technical concept that provides better network service quality. In short, it is used to solve the problem of balancing the traffic usage of various services based on insufficient network resources. If bandwidth resources are sufficient, Q0S There is no value. Q0S is designed to provide different quality of service for different applications, such as providing dedicated bandwidth, reducing packet loss rate, and reducing packet transmission delay and delay jitter. From the point of view of the purpose and role of Q0S, it can be said that QOS is a collection of strategies and means. It is a set of strategic measures to control traffic congestion. Since it is a traffic congestion phenomenon, the causes, extents, and specific phenomena of traffic congestion at different times in different periods must be different. Similarly, in the process of network communication, the cause, degree, and specific performance of communication data are not constant, and will dynamically change with various factors such as network conditions, number of users online, and changes in different application services. The traditional Q0S adopts a "package" configuration, which is basically time-independent, with a fixed set of configurations around the clock. Except that the network switch has a default Q0S configuration scheme during the initialization phase, only the network management personnel will make some configuration changes according to the situation. Obviously, this Q0S configuration strategy is not sufficiently automated and too rigid. On the other hand, with the continuous advancement of Q0S technology, the demand of Q0S will definitely expand, and it will inevitably need to cope with more complex space-time scenarios. The more scenes, the harder it is to respond to a static, fixed strategy. The patents on "Q0S" in the prior art are all improved in the specific function point expansion, combination and performance optimization of Q0S, and there is no change strategy specifically for time characteristics. In view of the problem of the degradation of network data transmission quality caused by adopting a fixed QOS strategy in different spatiotemporal scenarios in the prior art, an effective solution has not been proposed yet. SUMMARY OF THE INVENTION The present invention provides a network data transmission method and apparatus based on a QOS time-sharing strategy to at least solve the problem of degradation of network data transmission quality caused by adopting a fixed QOS policy in different spatio-temporal scenarios in the prior art. problem. According to an aspect of the present invention, a network data transmission method based on a QOS time-sharing policy is provided, including: configuring a QOS time-sharing policy package for different time periods; using QOS corresponding to the time period on different time periods The time-sharing policy package transmits network data. The step of transmitting the network data by using the QOS time-sharing policy packet corresponding to the time period on different time periods includes: detecting whether there is currently a QOS time-sharing in use when the time period corresponding to the QOS time-sharing policy package to be used arrives Policy package; if present, perform mutual exclusion and dependency checking on the QOS time-sharing policy package to be used and the QOS time-sharing policy package in use; if the QOS time-sharing policy package to be used and the QOS time-sharing strategy in use The packets are mutually exclusive or dependent, and the QOS time-sharing policy package to be used according to the scheduling rule for eliminating mutual exclusion or dependency and the QOS time-sharing policy package being used are scheduled to transmit network data. If the QOS time-sharing policy package to be used and the QOS time-sharing policy package in use are mutually exclusive, the QOS time-sharing policy package to be used according to the scheduling rule for eliminating mutual exclusion and the QOS being used The step of scheduling the time-sharing policy packet to transmit network data includes: de-enabling the function point forming the mutual exclusion in the QOS time-sharing policy package being used; and transmitting the network data by using the QOS time-sharing policy package to be used. . If there is a dependency between the QOS time-sharing policy package to be used and the QOS time-sharing policy package in use, the QOS time-sharing policy package to be used according to the scheduling rule for eliminating the dependency and the QOS time-sharing being used The step of scheduling the policy packet to transmit the network data includes: comparing the expiration time of the function point forming the dependency in the QOS time-sharing policy package to be used with the function point forming the dependency in the QOS time-sharing policy package being used Expiration time; if the expiration time of the function-dependent function point in the QOS time-sharing policy package being used is earlier than the expiration time of the function-dependent function point in the QOS time-sharing policy package to be used, Extending the expiration time of the dependency-forming function point in the QOS time-sharing policy package being used to the expiration time of the dependency-forming function point in the QOS time-sharing policy package to be used; using the QOS score to be used The time policy package transmits network data. The step of extending the expiration time of the dependency-forming function point in the QOS time-sharing policy package in use to the expiration time of the dependency-forming function point in the QOS time-sharing policy package to be used includes: The function points forming the dependency in the used QOS time-sharing policy package are copied into the QOS time-sharing policy package to be used. The step of transmitting the network data by using the QOS time-sharing policy packet corresponding to the time period on different time periods further includes: if it is checked that the time period corresponding to the QOS time-sharing policy package to be used does not exist, the use is in use.
QOS分时策略包, 则使用待使用的 QOS分时策略包传输网络数据。 根据本发明的另一方面,提供了一种基于 QOS分时策略的网络数据传输装置,包 括: 配置单元, 设置为为不同的时间段配置 QOS分时策略包; 处理单元, 设置为在不 同的时间段上使用该时间段对应的 QOS分时策略包传输网络数据。 处理单元包括: 检测模块, 设置为在待使用的 QOS分时策略包对应的时间段到达 时, 检测当前是否存在正在使用的 QOS分时策略包; 检查模块, 设置为在检测出当前 存在正在使用的 QOS 分时策略包时, 对待使用的 QOS 分时策略包以及正在使用的 QOS分时策略包进行互斥性和依赖性检查; 调度模块, 设置为在待使用的 QOS分时 策略包以及正在使用的 QOS分时策略包相互之间存在互斥性或依赖性时,根据用于消 除互斥性或依赖性的调度规则对待使用的 QOS分时策略包以及正在使用的 QOS分时 策略包进行调度以传输网络数据。 调度模块包括: 互斥性调度子模块, 设置为在待使用的 QOS分时策略包以及正在 使用的 QOS分时策略包相互之间存在互斥性时, 对正在使用的 QOS分时策略包中的 形成互斥性的功能点进行去使能操作, 并使用待使用的 QOS 分时策略包传输网络数 据; 依赖性调度子模块, 设置为在待使用的 QOS分时策略包以及正在使用的 QOS分 时策略包相互之间存在依赖性时,比较待使用的 QOS分时策略包中的形成依赖性的功 能点的到期时间与正在使用的 QOS分时策略包中的形成依赖性的功能点的到期时间; 若正在使用的 QOS 分时策略包中的形成依赖性的功能点的到期时间早于待使用的 QOS分时策略包中的形成依赖性的功能点的到期时间, 则将正在使用的 QOS分时策 略包中的形成依赖性的功能点的到期时间延长至待使用的 QOS 分时策略包中的形成 依赖性的功能点的到期时间; 使用待使用的 QOS分时策略包传输网络数据。 依赖性调度子模块包括: 配置子模块, 设置为在将正在使用的 QOS分时策略包中 的形成依赖性的功能点的到期时间延长至待使用的 QOS 分时策略包中的形成依赖性 的功能点的到期时间的过程中,将正在使用的 QOS分时策略包中的形成依赖性的功能 点复制到待使用的 QOS分时策略包中。 在本发明中, 为不同的时间段配置 QOS分时策略包,这样可以在不同的时间段上 使用该时间段对应的 QOS分时策略包传输网络数据,解决了现有技术中由于在不同的 时空场景下采用一个固定的 QOS策略而导致的网络数据传输质量下降的问题,进而达 到了在不同的时空场景下均能保证高数据传输质量的效果。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的基于 QOS分时策略的网络数据传输方法的流程图; 图 2是根据本发明实施例的策略包的构成图; 图 3是根据本发明实施例的分时策略包在单体模式(传统 QOS )下的运行示意图; 图 4是根据本发明实施例的分时策略包在顺序模式下的运行示意图; 图 5是根据本发明实施例的分时策略包在循环模式下的运行示意图; 图 6是根据本发明实施例的策略调度的流程图; 以及 图 7是根据本发明实施例的基于 QOS分时策略的网络数据传输装置的结构示意 图。 具体实施方式 实施例 1 图 1是根据本发明实施例的基于 QOS分时策略的网络数据传输方法的流程图,其 包括步骤 S102至步骤 S104: 步骤 S102: 为不同的时间段配置 QOS分时策略包; 步骤 S104: 在不同的时间段上使用该时间段对应的 QOS分时策略包传输网络数 据。 在本实施例中, 为不同的时间段配置 QOS分时策略包,这样可以在不同的时间段 上使用该时间段对应的 QOS分时策略包传输网络数据,解决了现有技术中由于在不同 的时空场景下采用一个固定的 QOS策略而导致的网络数据传输质量下降的问题,进而 达到了在不同的时空场景下均能保证高数据传输质量的效果。 优选的, QOS分时配置策略以时间段 (区间) 为一个单位, 形成一个 Q0S分时 策略包, 如图 2所示, 本发明的 Q0S分时策略包由 Q0S各种功能点构成, 策略包不 一定必须含有全部功能点, 同时允许策略包所含的功能点有交集和没有交集。 上述 Q0S分时策略包的定制规则可以参考如下: 1 ) 每一个策略包是 Q0S多个功能点配置的无序组合; The QOS time-sharing policy package uses the QOS time-sharing policy package to be used to transmit network data. According to another aspect of the present invention, a network data transmission apparatus based on a QOS time-sharing policy is provided, comprising: a configuration unit configured to configure a QOS time-sharing policy package for different time periods; and a processing unit configured to be different in The QOS time-sharing policy packet corresponding to the time period is used to transmit network data on the time period. The processing unit includes: a detecting module, configured to detect whether there is currently a QOS time-sharing policy package in use when the time period corresponding to the QOS time-sharing policy package to be used arrives; and the checking module is set to detect that the current existence is in use The QOS time-sharing policy package, the QOS time-sharing policy package to be used and the QOS time-sharing policy package being used for mutual exclusion and dependency checking; the scheduling module, set to the QOS time-sharing policy package to be used and When the used QOS time-sharing policy packages are mutually exclusive or dependent, the QOS time-sharing policy package to be used according to the scheduling rule for eliminating mutual exclusion or dependency and the QOS time-sharing policy package being used are performed. Schedule to transfer network data. The scheduling module includes: a mutual exclusion scheduling sub-module, configured to be in a QOS time-sharing policy package in use when the QOS time-sharing policy package to be used and the QOS time-sharing policy package in use are mutually exclusive. The function points that form mutual exclusion are used to enable the operation, and the network data is transmitted using the QOS time-sharing policy package to be used; the dependency scheduling sub-module is set to the QOS time-sharing policy package to be used and the QOS being used. When there is a dependency between the time-sharing policy packages, the expiration time of the function-dependent function point in the QOS time-sharing policy package to be used and the function-dependent function point in the QOS time-sharing policy package being used are compared. Expiration time; if the expiration time of the function-dependent function point in the QOS time-sharing policy package being used is earlier than the expiration time of the function-dependent function point in the QOS time-sharing policy package to be used, Extending the expiration time of the dependency-forming function point in the QOS time-sharing policy package being used to the expiration time of the dependency-forming function point in the QOS time-sharing policy package to be used; The QOS packet transmission network data-sharing policy. The dependency scheduling sub-module includes: a configuration sub-module configured to extend the expiration time of the function-dependent function point in the QOS time-sharing policy package in use to the formation dependency in the QOS time-sharing policy package to be used During the expiration of the function point, the function-dependent function points in the QOS time-sharing policy package being used are copied to the QOS time-sharing policy package to be used. In the present invention, the QOS time-sharing policy package is configured for different time periods, so that the network data corresponding to the QOS time-sharing policy packet corresponding to the time period can be transmitted in different time periods, which solves the difference in the prior art due to different The problem of degraded network data transmission quality caused by a fixed QOS strategy in a spatiotemporal scenario, and thus the effect of ensuring high data transmission quality in different spatiotemporal scenarios. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a flowchart of a network data transmission method based on a QOS time-sharing policy according to an embodiment of the present invention; FIG. 2 is a structural diagram of a policy package according to an embodiment of the present invention; FIG. 4 is a schematic diagram of operation of a time-sharing policy package in a sequential mode according to an embodiment of the present invention; FIG. 5 is a schematic diagram of operation of a time-sharing policy package in a sequential mode according to an embodiment of the present invention; FIG. 6 is a flowchart of policy scheduling according to an embodiment of the present invention; and FIG. 7 is a schematic structural diagram of a network data transmission apparatus based on a QOS time-sharing policy according to an embodiment of the present invention. 1 is a flowchart of a network data transmission method based on a QOS time-sharing policy, which includes steps S102 to S104: Step S102: configuring a QOS time-sharing strategy for different time periods according to an embodiment of the present invention. Packet S104: The network data is transmitted by using the QOS time-sharing policy packet corresponding to the time period on different time periods. In this embodiment, the QOS time-sharing policy package is configured for different time periods, so that the network data can be transmitted by using the QOS time-sharing policy packet corresponding to the time period in different time periods, which solves the difference in the prior art. In the space-time scenario, the problem of the quality of the network data transmission caused by a fixed QOS policy is reduced, thereby achieving the effect of ensuring high data transmission quality in different time and space scenarios. Preferably, the QOS time-sharing configuration policy forms a Q0S time-sharing policy package by using a time period (interval) as a unit. As shown in FIG. 2, the Q0S time-sharing policy package of the present invention is composed of various function points of the Q0S, and the policy package is It does not have to contain all the function points, and at the same time allows the function points contained in the strategy package to have intersections and no intersections. The customization rules of the above Q0S time-sharing policy package can be referred to as follows: 1) Each policy package is an unordered combination of multiple function point configurations of Q0S;
2) 策略包所涵盖的 Q0S功能点配置无需完全覆盖全部 Q0S功能, 也即是只是 Q0S全体功能点的子集; 2) The Q0S function point configuration covered by the policy package does not need to completely cover all Q0S functions, that is, it is only a subset of all Q0S function points;
3 )两个不同的策略包可以有功能点配置的交集, 当两个有交集的策略包进行切换 的时候, 遵循调度规则, 如图 6所示; 4) 两个调度包如果无功能交集, 则允许异或关系并存; 3) Two different policy packages may have an intersection of function point configurations. When two policy packets with intersections are switched, the scheduling rules are followed, as shown in Figure 6; 4) If there are no functional intersections between the two scheduling packets, Allowing XOR relationships to coexist;
5 ) 策略包制定后, 可随时使能, 也可以随时关闭使其失效但保留策略方案。 5) After the policy package is developed, it can be enabled at any time, or it can be closed at any time to make it invalid but retain the strategy.
QOS分时策略包对应的时间段单位可精确到年月、 日期、 时分; 时间段流动具有 先后时序, 也可以具有周期性, 因此, 在本实施例中, 可以设定三种时间模式: The time period unit corresponding to the QOS time-sharing policy package can be accurate to the year, month, date, and time division; the time period flow has a sequence of time series, and can also have periodicity. Therefore, in this embodiment, three time modes can be set:
1 )循环模式 (日循环、 月循环、 年循环): 每种循环模式循环调度当前日期 /当前 月份 /当前年份内的有效策略包, 同一个策略包可参与到不同循环内。 如图 5所示, 在 循环模式下的分时策略,根据按日 /按月 /按年的周期性进行时间循环,每次循环会依次 执行时间环线上的策略包。几乎每一种策略包均可参与到三种周期循环里, 如果一个 策略包的时间段是 2011.4.20 15 : 30 to 2011.4.25 17: 00, 它的时间段是一个绝对时间 段, 但它依然可以加入到按日循环里, 那它在这个循环里的有效时间段就截取为 15 : 30 to 17: 00; 同样,它也可以加入到按月循环里,有效时间段截取为 20日 15 : 30 to 25 日 17: 00。 1) Loop mode (day cycle, month cycle, year cycle): Each cycle mode cyclically schedules valid policy packages for the current date/current month/current year, and the same policy package can participate in different loops. As shown in Figure 5, the time-sharing strategy in the loop mode performs time loops according to the daily/monthly/yearly periodicity, and each loop executes the policy package on the time loop line in turn. Almost every policy package can participate in three cycle cycles. If the time period of a policy package is 2011.4.20 15 : 30 to 2011.4.25 17: 00, its time period is an absolute time period, but it It can still be added to the daily loop, and its effective time period in this loop is intercepted as 15: 30 to 17: 00; similarly, it can also be added to the monthly loop, and the effective time period is intercepted as 20 days. : 30 to 25, 17: 00.
2)单体模式: 可设定指定一个策略包全程执行。这种模式即是传统的 Q0S模式, 是一种静态固定的策略。 如图 3所示, 在单体模式下的分时策略其实就是传统的 Q0S 静态配置, 一系列功能点 (可作为一个策略包) 在时间轴线上全程有效, 无自调度, 无多个策略包参与。 2) Single mode: It can be set to specify a policy package to execute all the way. This mode is the traditional Q0S mode and is a static fixed strategy. As shown in Figure 3, the time-sharing strategy in the single mode is actually the traditional Q0S static configuration. A series of function points (which can be used as a policy package) are valid on the time axis. There is no self-scheduling, no multiple policy packages. participate.
3 )顺序模式: 策略包按照严格的时间顺序执行, 参与到这种时间模式的策略包必 须有严格的年月日起始时间点。 如图 4所示, 在顺序模式下的分时策略, 严格按照时 间轴单方向进行前进调度。 策略包 1时间段首先到达执行。 策略包 1时间段用完后, 系统空策略进行了一段时间, 然后策略包 2时间段到达。 在策略包 2时间段还未结束 的时候, 策略包 3到达。 策略包 2和策略包 3做互斥以及依赖性检查, 按照调度规则 进行处理。 策略包 2和策略包 3 依次完成自己的时间段, 其后无策略包, 系统 QOS 配置恢复空。 QOS分时策略在根据时间段切换或者引入新策略的时候, 必然涉及到策略包之间 的调度, 如果是功能点之间互不相干和影响的策略包, 则不存在调度的说法, 直接到 时执行即可。 相反, 有的不同策略包内含有的功能点有可能有互斥性和依赖性两种关 系, 因此需要制定一种调度规则来解决。 本发明提供了一种优选的在不同的时间段上使用该时间段对应的 QOS 分时策略 包传输网络数据的步骤, 其包括: 在待使用的 QOS分时策略包对应的时间段到达时, 检测当前是否存在正在使用的 QOS分时策略包; 若存在, 则对待使用的 QOS分时策 略包以及正在使用的 QOS分时策略包进行互斥性和依赖性检查; 若待使用的 QOS分 时策略包以及正在使用的 QOS分时策略包相互之间存在互斥性或依赖性,则根据用于 消除互斥性或依赖性的调度规则对待使用的 QOS分时策略包以及正在使用的 QOS分 时策略包进行调度以传输网络数据。 在本实施例中, 使用调度规则来消除策略包相互 之间存在的互斥性或依赖性, 避免了相互重叠的时间段上的 QOS分时策略出现冲突。 在不同的时间段上使用该时间段对应的 QOS 分时策略包传输网络数据的步骤还 包括: 若检查出在待使用的 QOS 分时策略包对应的时间段到达时不存在正在使用的 QOS分时策略包, 则使用待使用的 QOS分时策略包传输网络数据。 具体而言, 上述的调度规则可以包括: 3) Sequential mode: The policy package is executed in strict chronological order. The policy package participating in this time mode must have a strict start date of the year, month and day. As shown in Fig. 4, the time-sharing strategy in the sequential mode performs the forward scheduling in strict accordance with the time axis in one direction. The policy package 1 time period first arrives at execution. After the policy package 1 period is exhausted, The system empty policy is carried out for a period of time, and then the policy package 2 time period arrives. When the policy package 2 time period has not ended, the policy package 3 arrives. Policy package 2 and policy package 3 do mutual exclusion and dependency checking, and are processed according to the scheduling rules. Policy Pack 2 and Policy Pack 3 complete their own time periods in turn, after which there is no policy package, and the system QOS configuration is restored. When the QOS time-sharing policy switches or introduces a new policy according to the time period, it must involve the scheduling between the policy packets. If it is a policy package that is not related to each other and affects the function points, there is no statement of scheduling. It can be executed at the time. On the contrary, some functional points contained in different policy packages may have mutual exclusion and dependence. Therefore, a scheduling rule needs to be formulated to solve. The present invention provides a preferred step of transmitting network data using a QOS time-sharing policy packet corresponding to the time period on different time periods, including: when a time period corresponding to the QOS time-sharing policy package to be used arrives, Detect whether there is currently a QOS time-sharing policy package in use; if yes, perform a mutual exclusion and dependency check on the QOS time-sharing policy package to be used and the QOS time-sharing policy package to be used; if the QOS time-sharing to be used The policy package and the QOS time-sharing policy package in use are mutually exclusive or dependent, and the QOS time-sharing policy package to be used according to the scheduling rule for eliminating mutual exclusion or dependency and the QOS score being used. The time policy package is scheduled to transmit network data. In this embodiment, the scheduling rules are used to eliminate the mutual exclusion or dependency between the policy packets, and the QOS time-sharing policies on the overlapping time periods are avoided. The step of transmitting network data by using the QOS time-sharing policy packet corresponding to the time period on different time periods further includes: if it is checked that there is no QOS score being used when the time period corresponding to the QOS time-sharing policy package to be used arrives The time policy package uses the QOS time-sharing policy package to be used to transmit network data. Specifically, the foregoing scheduling rule may include:
1 )调度互斥性, 即两个策略包内 (一个在当前时间线上已存在的策略包 A, 另一 个是当前时间点需要开始执行的策略包 B ) 的两个功能点具有非此即彼非黑即白的冲 突关系, 如果在传统 QOS情况下, B中的这个功能点无法执行, 这样会导致策略包 B 执行不全。 需要调度模块检查到互斥性冲突后先关闭上策略包 A的该功能点并确认动 作生效后, 才开始执行整个策略包8。 该调度规则可以视为遵从后入为主的原则。 在这种情况下, 若待使用的 QOS分时策略包以及正在使用的 QOS分时策略包相 互之间存在互斥性,则根据用于消除互斥性的调度规则对待使用的 QOS分时策略包以 及正在使用的 QOS 分时策略包进行调度以传输网络数据的步骤包括: 对正在使用的1) Scheduling mutual exclusion, that is, two function points in two policy packages (one policy package A existing on the current timeline and the other policy package B that needs to start execution at the current time point) have It is not a black and white conflict relationship. If in the case of traditional QOS, this function point in B cannot be executed, this will result in incomplete implementation of policy package B. After the scheduling module checks the mutual exclusion conflict, it closes the function point of the policy package A and confirms that the action takes effect, and then starts to execute the entire policy package 8. This scheduling rule can be considered as a principle of compliance with the latter. In this case, if the QOS time-sharing policy package to be used and the QOS time-sharing policy package in use are mutually exclusive, the QOS time-sharing policy to be used according to the scheduling rule for eliminating mutual exclusion is used. The steps for the package and the QOS time-sharing policy package being used to schedule the transmission of network data include:
QOS分时策略包中的形成互斥性的功能点进行去使能操作; 使用待使用的 QOS分时 策略包传输网络数据。 在本实施例中, 使用调度规则来消除策略包相互之间存在的互 斥性, 避免了相互重叠的时间段上的 QOS分时策略出现冲突。 2)调度依赖性, 即两个策略包内 (一个在当前时间线上已存在的策略包 A, 另一 个是当前时间点需要开始执行的策略包 B ) 的两个功能点具有依赖关系, A中的功能 点是 B中功能点的有效前提。 如果 A到期, 而 B策略包仍在执行期间, 则 B中的这 个功能点也会失效。 调度模块检测到这种情况, 需要自动延长原 A策略中的前提功能 点, 延长至 B策略生效结束, 遵从服务到底原则。 若待使用的 QOS分时策略包以及正在使用的 QOS分时策略包相互之间存在依赖 性, 则根据用于消除依赖性的调度规则对待使用的 QOS 分时策略包以及正在使用的 QOS分时策略包进行调度以传输网络数据的步骤包括: 比较待使用的 QOS分时策略 包中的形成依赖性的功能点的到期时间与正在使用的 QOS 分时策略包中的形成依赖 性的功能点的到期时间;若正在使用的 QOS分时策略包中的形成依赖性的功能点的到 期时间早于待使用的 QOS分时策略包中的形成依赖性的功能点的到期时间,则将正在 使用的 QOS分时策略包中的形成依赖性的功能点的到期时间延长至待使用的 QOS分 时策略包中的形成依赖性的功能点的到期时间;使用待使用的 QOS分时策略包传输网 络数据。 在本实施例中, 使用调度规则来消除策略包相互之间存在的依赖性, 避免了 相互重叠的时间段上的 QOS分时策略出现冲突。 在将正在使用的 QOS 分时策略包中的形成依赖性的功能点的到期时间延长至待 使用的 QOS分时策略包中的形成依赖性的功能点的到期时间的步骤包括:将正在使用 的 QOS分时策略包中的形成依赖性的功能点复制到待使用的 QOS分时策略包中。 在 本实施例中,通过复制的方式实现了功能点的到期时间的快速延长, 简化了操作流程, 提高了调度效率。 The function points forming the mutual exclusion in the QOS time-sharing policy package are de-enabled; the network data is transmitted using the QOS time-sharing policy package to be used. In this embodiment, the scheduling rules are used to eliminate the mutual exclusion between the policy packets, and the QOS time-sharing policies on the overlapping time periods are avoided. 2) Scheduling dependencies, that is, two function points in the two policy packages (one policy package A already existing on the current timeline, and the other is the policy package B that needs to be executed at the current time point) have a dependency relationship, A The function point in is an effective premise of the function point in B. If A expires and the B policy package is still in execution, then this feature point in B will also be invalid. When the scheduling module detects this situation, it needs to automatically extend the premise function point in the original A policy, and extend it to the end of the B policy, and follow the principle of service. If there is a dependency between the QOS time-sharing policy package to be used and the QOS time-sharing policy package in use, the QOS time-sharing policy package to be used according to the scheduling rule for eliminating the dependency and the QOS time-sharing being used The step of scheduling the policy packet to transmit the network data includes: comparing the expiration time of the function point forming the dependency in the QOS time-sharing policy package to be used with the function point forming the dependency in the QOS time-sharing policy package being used Expiration time; if the expiration time of the function-dependent function point in the QOS time-sharing policy package being used is earlier than the expiration time of the function-dependent function point in the QOS time-sharing policy package to be used, Extending the expiration time of the dependency-forming function point in the QOS time-sharing policy package being used to the expiration time of the dependency-forming function point in the QOS time-sharing policy package to be used; using the QOS score to be used The time policy package transmits network data. In this embodiment, the scheduling rules are used to eliminate the dependency between the policy packets, and the QOS time-sharing policies on the overlapping time periods are avoided. The step of extending the expiration time of the dependency-forming function point in the QOS time-sharing policy package in use to the expiration time of the dependency-forming function point in the QOS time-sharing policy package to be used includes: The function points forming the dependency in the used QOS time-sharing policy package are copied into the QOS time-sharing policy package to be used. In this embodiment, the expiration time of the function point is rapidly extended by the method of copying, the operation flow is simplified, and the scheduling efficiency is improved.
3 )策略包的定制过程中应尽力避免互斥性和依赖性,其中如果不得不有这样的功 能点, 尽量将两种功能点放到同一个策略包内来解决依赖性。 将互斥的两个功能点放 到时间区间无交集的策略包内。 3) The policy package customization process should try to avoid mutual exclusion and dependence. If you have to have such a function point, try to put the two function points into the same policy package to solve the dependency. The two functional points that are mutually exclusive are placed in the policy package with no intersection in the time interval.
4) 调度模块维护需要互斥或依赖的功能点关系表, 以供调度时策略包做检查。 与现有技术相比较, 本发明引入了 QOS配置策略的分时调度方案, QOS配置策 略变得具有时间维度。 QOS 能够更好的应对不同时间周期内有规律的网络状况变化 (即 QOS应用场景变化)。 QOS配置策略有了自动化的性质。 由于在不同时段动态的 切换 QOS响应的重点策略,使得不同时段的用户享受到的网络质量服务侧重点各不相 同,致力于进一步符合用户的使用习惯, 也使得 QOS资源更合理的倾向于当前时段的 重点服务对象, 从而间接的提高了 QOS的效率优化和资源优化。 由于分时性策略必然涉及到策略的定时自动切换, QOS众多功能点在切换时的相 互影响需要有一个调度方法来解决, 为此,本发明引入了 QOS策略切换自动调度的一 种方法, 如图 6所示, 对于分时策略的调度处理方法流程包括如下步骤 S602至步骤 S624: 步骤 S602: 设备系统处于运行状态, 此时可能有策略包正在执行中。 步骤 S604: 判断新策略包时间点是否到达; 若到达, 则转至步骤 S606; 否则, 转至步骤 S602。 步骤 S606: 新的策略包时间点到达, 开始调度检查。 步骤 S608: 判断此时系统中是否有策略包正在执行。 如果没有, 则直接执行新策 略包, 并回到步骤 S602; 如果有, 则转至步骤 S610, 开始互斥关系检查。 步骤 S610: 开始互斥关系检查。 步骤 S612: 判断执行中的所有策略包和当前新策略包内功能点是否存在互斥关 系。 如果没有, 则继续步骤到 S616; 如果有, 则继续步骤到 S614。 步骤 S614: 根据互斥规则, 去使能旧策略包中的互斥功能点。 步骤 S616: 依赖关系检查。 步骤 S618 : 判断执行中的所有策略包和当前新策略包内功能点是否存在依赖关 系。 如果没有, 则直接执行新策略包, 并回到步骤 S602; 如果有, 则进入步骤 S620。 步骤 S620: 检查依赖功能点到期时间点。 步骤 S622: 比较所依赖的功能点的到期时间 (即所在包的到期时间)与新策略包 的到期时间。 如果比新策略包晚, 则直接执行新策略包, 并回到步骤 S602; 如果比新 策略包 (新策略功能点) 先到期, 则进入步骤 S624。 步骤 S624: 将依赖功能点的到期时间单独延长至新策略包到期时间, 具体方式可 将所依赖功能点临时复制一份到新策略包内。然而,执行新策略包,并回到步骤 S602。 实施例 2 图 7是根据本发明实施例的基于 QOS分时策略的网络数据传输装置的结构示意 图, 如图 7所示, 其包括: 配置单元 702, 设置为为不同的时间段配置 QOS分时策略 包; 处理单元 704, 与配置单元 702连接, 设置为在不同的时间段上使用该时间段对 应的 QOS分时策略包传输网络数据。 在本实施例中, 为不同的时间段配置 QOS分时策略包,这样可以在不同的时间段 上使用该时间段对应的 QOS分时策略包传输网络数据,解决了现有技术中由于在不同 的时空场景下采用一个固定的 QOS策略而导致的网络数据传输质量下降的问题,进而 达到了在不同的时空场景下均能保证高数据传输质量的效果。 优选的, 在配置单元 702为不同的时间段配置 QOS分时策略包时, QOS分时配 置策略以时间段(区间)为一个单位, 形成一个 QOS分时策略包, 如图 2所示, 本发 明的 QOS分时策略包由 QOS各种功能点构成, 策略包不一定必须含有全部功能点, 同时允许策略包所含的功能点有交集和没有交集。 上述 QOS分时策略包的定制规则可以参考如下: 4) The scheduling module maintains a functional point relationship table that needs to be mutually exclusive or dependent for the policy package to check during scheduling. Compared with the prior art, the present invention introduces a time-sharing scheduling scheme of the QOS configuration policy, and the QOS configuration strategy becomes a time dimension. QOS can better cope with regular network condition changes (that is, QOS application scenario changes) in different time periods. The QOS configuration strategy has an automated nature. Due to the key strategies of dynamically switching QOS responses in different time periods, the network quality services enjoyed by users in different time periods are different, and the commitment to further conform to the user's usage habits also makes QOS resources more reasonable in the current time period. The focus of the service object, thereby indirectly improving the efficiency optimization and resource optimization of QOS. Since the time-sharing strategy necessarily involves the automatic switching of the timing of the policy, the mutual influence of the QOS function points in the switching needs to have a scheduling method to solve. To this end, the present invention introduces a method for automatically scheduling the QOS policy switching, such as As shown in FIG. 6, the flow of the scheduling processing method for the time-sharing policy includes the following steps S602 to S624: Step S602: The device system is in an operating state, and a policy package may be in execution at this time. Step S604: determining whether the new policy packet time point has arrived; if yes, proceeding to step S606; otherwise, proceeding to step S602. Step S606: The new policy packet time point arrives, and the scheduling check is started. Step S608: It is determined whether a policy package is being executed in the system at this time. If not, the new policy package is directly executed, and the process returns to step S602; if yes, the process goes to step S610 to start the mutual exclusion relationship check. Step S610: Start a mutual exclusion relationship check. Step S612: Determine whether there is a mutual exclusion relationship between all the policy packages in execution and the function points in the current new policy package. If not, the process proceeds to S616; if yes, the process proceeds to S614. Step S614: According to the mutual exclusion rule, the mutual exclusion function point in the old policy package is disabled. Step S616: Dependency check. Step S618: Determine whether there is a dependency relationship between all the policy packages in execution and the function points in the current new policy package. If not, the new policy package is directly executed, and the process returns to step S602; if yes, the process proceeds to step S620. Step S620: Check the dependent function point expiration time point. Step S622: Compare the expiration time of the dependent function point (that is, the expiration time of the package) and the expiration time of the new policy package. If it is later than the new policy package, the new policy package is directly executed, and the process returns to step S602; if it expires earlier than the new policy package (new policy function point), the process proceeds to step S624. Step S624: The expiration time of the dependent function point is separately extended to the new policy package expiration time, and the specific function point may be temporarily copied into the new policy package. However, the new policy package is executed and returns to step S602. Embodiment 2 FIG. 7 is a schematic structural diagram of a network data transmission apparatus based on a QOS time-sharing policy according to an embodiment of the present invention. As shown in FIG. 7, the method includes: a configuration unit 702, configured to configure QOS time-sharing for different time periods. Strategy The processing unit 704 is connected to the configuration unit 702, and is configured to transmit network data by using the QOS time-sharing policy packet corresponding to the time period on different time periods. In this embodiment, the QOS time-sharing policy package is configured for different time periods, so that the network data can be transmitted by using the QOS time-sharing policy packet corresponding to the time period in different time periods, which solves the difference in the prior art. In the space-time scenario, the problem of the quality of the network data transmission caused by a fixed QOS policy is reduced, thereby achieving the effect of ensuring high data transmission quality in different time and space scenarios. Preferably, when the configuration unit 702 configures the QOS time-sharing policy package for different time periods, the QOS time-sharing configuration policy forms a QOS time-sharing policy package by using a time period (interval), as shown in FIG. 2, The invented QOS time-sharing strategy package consists of various functional points of QOS. The policy package does not necessarily have to contain all the function points, and at the same time allows the function points contained in the policy package to have intersections and no intersections. The customization rules of the above QOS time-sharing policy package can be referred to as follows:
1 ) 每一个策略包是 QOS多个功能点配置的无序组合; 1) Each policy package is an unordered combination of QOS multiple function point configurations;
2) 策略包所涵盖的 QOS功能点配置无需完全覆盖全部 QOS功能, 也即是只是 QOS全体功能点的子集; 3 )两个不同的策略包可以有功能点配置的交集, 当两个有交集的策略包进行切换 的时候, 遵循调度规则, 如图 6所示; 2) The QOS function point configuration covered by the policy package does not need to completely cover all QOS functions, that is, it is only a subset of the QOS function points; 3) Two different policy packages can have the intersection of function point configurations, when two have When the intersection of the policy package is switched, the scheduling rules are followed, as shown in Figure 6.
4) 两个调度包如果无功能交集, 则允许异或关系并存; 4) If there are no functional intersections between the two dispatching packages, the XOR relationship is allowed to coexist;
5 ) 策略包制定后, 可随时使能, 也可以随时关闭使其失效但保留策略方案。 5) After the policy package is developed, it can be enabled at any time, or it can be closed at any time to make it invalid but retain the strategy.
QOS分时策略包对应的时间段单位可精确到年月、 日期、 时分; 时间段流动具有 先后时序, 也可以具有周期性, 因此, 在本实施例中, 可以设定三种时间模式: The time period unit corresponding to the QOS time-sharing policy package can be accurate to the year, month, date, and time division; the time period flow has a sequence of time series, and can also have periodicity. Therefore, in this embodiment, three time modes can be set:
1 )循环模式 (日循环、 月循环、 年循环): 每种循环模式循环调度当前日期 /当前 月份 /当前年份内的有效策略包, 同一个策略包可参与到不同循环内。 如图 5所示, 在 循环模式下的分时策略,根据按日 /按月 /按年的周期性进行时间循环,每次循环会依次 执行时间环线上的策略包。几乎每一种策略包均可参与到三种周期循环里, 如果一个 策略包的时间段是 2011.4.20 15 : 30 to 2011.4.25 17: 00, 它的时间段是一个绝对时间 段, 但它依然可以加入到按日循环里, 那它在这个循环里的有效时间段就截取为 15 : 30 to 17: 00; 同样,它也可以加入到按月循环里,有效时间段截取为 20日 15 : 30 to 25 日 17: 00。 2)单体模式: 可设定指定一个策略包全程执行。这种模式即是传统的 QOS模式, 是一种静态固定的策略。 如图 3所示, 在单体模式下的分时策略其实就是传统的 QOS 静态配置, 一系列功能点 (可作为一个策略包) 在时间轴线上全程有效, 无自调度, 无多个策略包参与。 3 )顺序模式: 策略包按照严格的时间顺序执行, 参与到这种时间模式的策略包必 须有严格的年月日起始时间点。 如图 4所示, 在顺序模式下的分时策略, 严格按照时 间轴单方向进行前进调度。 策略包 1时间段首先到达执行。 策略包 1时间段用完后, 系统空策略进行了一段时间, 然后策略包 2时间段到达。 在策略包 2时间段还未结束 的时候, 策略包 3到达。 策略包 2和策略包 3做互斥以及依赖性检查, 按照调度规则 进行处理。 策略包 2和策略包 3 依次完成自己的时间段, 其后无策略包, 系统 QOS 配置恢复空。 1) Loop mode (day cycle, month cycle, year cycle): Each cycle mode cyclically schedules valid policy packages for the current date/current month/current year, and the same policy package can participate in different loops. As shown in FIG. 5, the time-sharing strategy in the loop mode performs time loops according to the periodicity of the day/month/year, and each cycle sequentially executes the policy package on the time loop. Almost every policy package can participate in three cycle cycles. If the time period of a policy package is 2011.4.20 15 : 30 to 2011.4.25 17: 00, its time period is an absolute time period, but it It can still be added to the daily loop, and its effective time period in this loop is intercepted as 15: 30 to 17: 00; similarly, it can also be added to the monthly loop, and the effective time period is intercepted as 20 days. : 30 to 25, 17: 00. 2) Single mode: It can be set to specify a policy package to execute all the way. This mode is the traditional QOS mode and is a static fixed strategy. As shown in Figure 3, the time-sharing strategy in the single mode is actually the traditional QOS static configuration. A series of function points (can be used as a policy package) are valid on the time axis. There is no self-scheduling, no multiple policy packages. participate. 3) Sequential mode: The policy package is executed in strict chronological order. The policy package participating in this time mode must have a strict start date of the year, month and day. As shown in Fig. 4, the time-sharing strategy in the sequential mode performs the forward scheduling in strict accordance with the time axis in one direction. The policy package 1 time period first arrives at execution. After the policy package 1 time period is exhausted, the system empty policy is carried out for a period of time, and then the policy package 2 time period is reached. When the policy package 2 time period has not ended, the policy package 3 arrives. Policy package 2 and policy package 3 do mutual exclusion and dependency checking, and are processed according to the scheduling rules. Policy Pack 2 and Policy Pack 3 complete their own time periods in turn, after which there is no policy package, and the system QOS configuration is restored.
QOS分时策略在根据时间段切换或者引入新策略的时候, 必然涉及到策略包之间 的调度, 如果是功能点之间互不相干和影响的策略包, 则不存在调度的说法, 直接到 时执行即可。 相反, 有的不同策略包内含有的功能点有可能有互斥性和依赖性两种关 系, 因此需要制定一种调度规则来解决。 为此, 本实施例提供了一种优选的处理单元 704, 其包括: 检测模块 7041, 设置 为在待使用的 QOS 分时策略包对应的时间段到达时, 检测当前是否存在正在使用的 QOS分时策略包; 检查模块 7042, 与检测模块 7041耦合, 设置为在检测出当前存在 正在使用的 QOS分时策略包时, 对待使用的 QOS分时策略包以及正在使用的 QOS 分时策略包进行互斥性和依赖性检查; 调度模块 7043, 与检查模块 7042耦合, 设置 为在待使用的 QOS分时策略包以及正在使用的 QOS分时策略包相互之间存在互斥性 或依赖性时,根据用于消除互斥性或依赖性的调度规则对待使用的 QOS分时策略包以 及正在使用的 QOS分时策略包进行调度以传输网络数据。在本实施例中, 使用调度规 则来消除策略包相互之间存在的互斥性或依赖性, 避免了相互重叠的时间段上的 QOS 分时策略出现冲突。 具体而言, 上述的调度规则可以包括: When the QOS time-sharing policy switches or introduces a new policy according to the time period, it must involve the scheduling between the policy packets. If it is a policy package that is not related to each other and affects the function points, there is no statement of scheduling. It can be executed at the time. On the contrary, some functional points contained in different policy packages may have mutual exclusion and dependence. Therefore, a scheduling rule needs to be formulated to solve this problem. To this end, the present embodiment provides a preferred processing unit 704, which includes: a detecting module 7041, configured to detect whether there is currently a QOS score being used when a time period corresponding to the QOS time-sharing policy package to be used arrives The time policy package; the checking module 7042 is coupled to the detecting module 7041, and configured to perform mutual use of the QOS time-sharing policy package to be used and the QOS time-sharing policy package in use when detecting that the currently existing QOS time-sharing policy package exists. a repellency and dependency check; a scheduling module 7043, coupled with the checking module 7042, configured to set a mutual exclusion or dependency between the QOS time-sharing policy package to be used and the QOS time-sharing policy package to be used, according to A scheduling rule for eliminating mutual exclusion or dependency is scheduled to use the QOS time-sharing policy package and the QOS time-sharing policy package being used to transmit network data. In this embodiment, the scheduling rules are used to eliminate the mutual exclusion or dependency between the policy packets, and the QOS time-sharing policies on the overlapping time periods are avoided. Specifically, the foregoing scheduling rule may include:
1 )调度互斥性, 即两个策略包内 (一个在当前时间线上已存在的策略包 A, 另一 个是当前时间点需要开始执行的策略包 B ) 的两个功能点具有非此即彼非黑即白的冲 突关系, 如果在传统 QOS情况下, B中的这个功能点无法执行, 这样会导致策略包 B 执行不全。 需要调度模块检查到互斥性冲突后先关闭上策略包 A的该功能点并确认动 作生效后, 才开始执行整个策略包8。 该调度规则可以视为遵从后入为主的原则。 2)调度依赖性, 即两个策略包内 (一个在当前时间线上已存在的策略包 A, 另一 个是当前时间点需要开始执行的策略包 B ) 的两个功能点具有依赖关系, A中的功能 点是 B中功能点的有效前提。 如果 A到期, 而 B策略包仍在执行期间, 则 B中的这 个功能点也会失效。 调度模块检测到这种情况, 需要自动延长原 A策略中的前提功能 点, 延长至 B策略生效结束。 遵从服务到底原则。 1) Scheduling mutual exclusion, that is, two function points in two policy packages (one policy package A existing on the current timeline and the other policy package B that needs to start execution at the current time point) have It is not a black and white conflict relationship. If in the case of traditional QOS, this function point in B cannot be executed, this will result in incomplete implementation of policy package B. After the scheduling module checks the mutual exclusion conflict, it first closes the function point of the policy package A and confirms that the action takes effect, and then starts to execute the entire policy package 8. This scheduling rule can be considered as a principle of compliance with the latter. 2) Scheduling dependencies, that is, two function points in the two policy packages (one policy package A already existing on the current timeline, and the other is the policy package B that needs to be executed at the current time point) have a dependency relationship, A The function point in is an effective premise of the function point in B. If A expires and the B policy package is still in execution, then this feature point in B will also be invalid. The scheduling module detects this situation and needs to automatically extend the pre-requisite function point in the original A policy to the end of the B policy. Follow the principle of service.
3 )策略包的定制过程中应尽力避免互斥性和依赖性,其中如果不得不有这样的功 能点, 尽量将两种功能点放到同一个策略包内来解决依赖性。 将互斥的两个功能点放 到时间区间无交集的策略包内。 3) The policy package customization process should try to avoid mutual exclusion and dependence. If you have to have such a function point, try to put the two function points into the same policy package to solve the dependency. The two functional points that are mutually exclusive are placed in the policy package with no intersection in the time interval.
4) 调度模块维护需要互斥或依赖的功能点关系表, 以供调度时策略包做检查。 根据上述调度原则, 本发明提供了一种优选的调度模块 7043, 其包括: 互斥性调 度子模块, 设置为在待使用的 QOS分时策略包以及正在使用的 QOS分时策略包相互 之间存在互斥性时,对正在使用的 QOS分时策略包中的形成互斥性的功能点进行去使 能操作, 并使用待使用的 QOS分时策略包传输网络数据; 依赖性调度子模块, 设置为 在待使用的 QOS分时策略包以及正在使用的 QOS分时策略包相互之间存在依赖性时, 比较待使用的 QOS 分时策略包中的形成依赖性的功能点的到期时间与正在使用的 QOS分时策略包中的形成依赖性的功能点的到期时间; 若正在使用的 QOS分时策略 包中的形成依赖性的功能点的到期时间早于待使用的 QOS 分时策略包中的形成依赖 性的功能点的到期时间,则将正在使用的 QOS分时策略包中的形成依赖性的功能点的 到期时间延长至待使用的 QOS分时策略包中的形成依赖性的功能点的到期时间;使用 待使用的 QOS分时策略包传输网络数据。在本实施例中, 使用调度规则来消除策略包 相互之间存在的互斥性或依赖性,避免了相互重叠的时间段上的 QOS分时策略出现冲 突。 依赖性调度子模块包括: 配置子模块, 设置为在将正在使用的 QOS分时策略包中 的形成依赖性的功能点的到期时间延长至待使用的 QOS 分时策略包中的形成依赖性 的功能点的到期时间的过程中,将正在使用的 QOS分时策略包中的形成依赖性的功能 点复制到待使用的 QOS分时策略包中。在本实施例中,通过复制的方式实现了功能点 的到期时间的快速延长, 简化了操作流程, 提高了调度效率。 与现有技术相比较, 本发明引入了 QOS配置策略的分时调度方案, QOS配置策 略变得具有时间维度。 QOS 能够更好的应对不同时间周期内有规律的网络状况变化 (即 QOS应用场景变化)。 QOS配置策略有了自动化的性质。 由于在不同时段动态的 切换 QOS响应的重点策略,使得不同时段的用户享受到的网络质量服务侧重点各不相 同,致力于进一步符合用户的使用习惯, 也使得 Q0S资源更合理的倾向于当前时段的 重点服务对象, 从而间接的提高了 QOS的效率优化和资源优化。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 4) The scheduling module maintains a functional point relationship table that needs to be mutually exclusive or dependent for the policy package to check during scheduling. According to the foregoing scheduling principle, the present invention provides a preferred scheduling module 7043, including: a mutual exclusion scheduling sub-module, configured to be between a QOS time-sharing policy package to be used and a QOS time-sharing policy package in use When there is mutual exclusion, the function node forming the mutual exclusion in the QOS time-sharing policy package being used is de-enabled, and the network data is transmitted using the QOS time-sharing policy package to be used; the dependency scheduling sub-module, When the QOS time-sharing policy package to be used and the QOS time-sharing policy package in use are dependent on each other, the expiration time of the function-dependent function point in the QOS time-sharing policy package to be used is compared with The expiration time of the function-dependent function point in the QOS time-sharing policy package being used; if the expiration time of the function-dependent function point in the QOS time-sharing policy package being used is earlier than the QOS time-sharing to be used The expiration time of the function point forming the dependency in the policy package extends the expiration time of the function-dependent function point in the QOS time-sharing policy package being used to the QOS time-sharing policy to be used. Expiration time point of the function package is formed dependent; QOS sharing policy using packet data transmission network to be used. In this embodiment, the scheduling rules are used to eliminate the mutual exclusion or dependency between the policy packets, and the QOS time-sharing policies on the overlapping time periods are avoided. The dependency scheduling sub-module includes: a configuration sub-module configured to extend the expiration time of the function-dependent function point in the QOS time-sharing policy package in use to the formation dependency in the QOS time-sharing policy package to be used During the expiration of the function point, the function-dependent function points in the QOS time-sharing policy package being used are copied to the QOS time-sharing policy package to be used. In this embodiment, the expiration time of the function point is rapidly extended by the method of copying, the operation flow is simplified, and the scheduling efficiency is improved. Compared with the prior art, the present invention introduces a time-sharing scheduling scheme of the QOS configuration policy, and the QOS configuration strategy becomes a time dimension. QOS can better cope with regular network condition changes (that is, QOS application scenario changes) in different time periods. The QOS configuration strategy has an automated nature. Due to the key strategies for dynamically switching QOS responses at different time periods, the network quality services that users enjoying in different time periods have different priorities. In the same way, it is committed to further conform to the user's usage habits, and also makes the Q0S resources more reasonable and tends to focus on the service objects of the current time period, thereby indirectly improving the efficiency optimization and resource optimization of QOS. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种基于服务质量 QOS分时策略的网络数据传输方法, 包括: 1. A network data transmission method based on quality of service QOS time-sharing strategy, comprising:
为不同的时间段配置 QOS分时策略包;  Configure the QOS time-sharing policy package for different time periods;
在所述不同的时间段上使用该时间段对应的所述 QOS 分时策略包传输网 络数据。  The network data is transmitted using the QOS time-sharing policy packet corresponding to the time period on the different time periods.
2. 根据权利要求 1所述的方法, 其中, 在所述不同的时间段上使用该时间段对应 的所述 QOS分时策略包传输网络数据的步骤包括: 2. The method according to claim 1, wherein the step of transmitting network data using the QOS time-sharing policy packet corresponding to the time period on the different time period comprises:
在待使用的所述 QOS分时策略包对应的时间段到达时,检测当前是否存在 正在使用的所述 QOS分时策略包;  When the time period corresponding to the QOS time-sharing policy package to be used arrives, it is detected whether there is currently the QOS time-sharing policy package being used;
若存在, 则对待使用的所述 QOS分时策略包以及正在使用的所述 QOS分 时策略包进行互斥性和依赖性检查;  If so, the QOS time-sharing policy package to be used and the QOS time-sharing policy package being used are mutually exclusive and dependent;
若待使用的所述 QOS分时策略包以及正在使用的所述 QOS分时策略包相 互之间存在互斥性或依赖性, 则根据用于消除互斥性或依赖性的调度规则对待 使用的所述 QOS分时策略包以及正在使用的所述 QOS分时策略包进行调度以 传输网络数据。  If the QOS time-sharing policy package to be used and the QOS time-sharing policy package in use are mutually exclusive or dependent, and are to be used according to a scheduling rule for eliminating mutual exclusion or dependency The QOS time-sharing policy package and the QOS time-sharing policy package being used are scheduled to transmit network data.
3. 根据权利要求 2所述的方法,其中,若待使用的所述 QOS分时策略包以及正在 使用的所述 QOS分时策略包相互之间存在互斥性,则根据用于消除互斥性的调 度规则对待使用的所述 QOS分时策略包以及正在使用的所述 QOS分时策略包 进行调度以传输网络数据的步骤包括: 3. The method according to claim 2, wherein if the QOS time-sharing policy package to be used and the QOS time-sharing policy package in use are mutually exclusive, according to the mutual exclusion The step of scheduling, by the sexual scheduling rule, the QOS time-sharing policy package to be used and the QOS time-sharing policy package being used to transmit network data includes:
对正在使用的所述 QOS 分时策略包中的形成互斥性的功能点进行去使能 操作;  De-enable the function point forming the mutual exclusion in the QOS time-sharing policy package being used;
使用待使用的所述 QOS分时策略包传输网络数据。  The network data is transmitted using the QOS time-sharing policy package to be used.
4. 根据权利要求 2所述的方法,其中,若待使用的所述 QOS分时策略包以及正在 使用的所述 QOS分时策略包相互之间存在依赖性,则根据用于消除依赖性的调 度规则对待使用的所述 QOS分时策略包以及正在使用的所述 QOS分时策略包 进行调度以传输网络数据的步骤包括: 4. The method according to claim 2, wherein if there is a dependency between the QOS time-sharing policy package to be used and the QOS time-sharing policy package being used, according to the method for eliminating the dependency The step of scheduling, by the scheduling rule, the QOS time-sharing policy package to be used and the QOS time-sharing policy package being used to transmit network data includes:
比较待使用的所述 QOS 分时策略包中的形成依赖性的功能点的到期时间 与正在使用的所述 QOS分时策略包中的形成依赖性的功能点的到期时间; 若正在使用的所述 QOS 分时策略包中的形成依赖性的功能点的到期时间 早于待使用的所述 QOS分时策略包中的形成依赖性的功能点的到期时间,则将 正在使用的所述 QOS 分时策略包中的形成依赖性的功能点的到期时间延长至 待使用的所述 QOS分时策略包中的形成依赖性的功能点的到期时间; Comparing an expiration time of a function-dependent function point in the QOS time-sharing policy package to be used with an expiration time of a function-dependent function point in the QOS time-sharing policy package being used; If the expiration time of the function-forming function point in the QOS time-sharing policy package being used is earlier than the expiration time of the function-dependent function point in the QOS time-sharing policy package to be used, The expiration time of the function-forming function point in the QOS time-sharing policy package being used is extended to the expiration time of the function-dependent function point in the QOS time-sharing policy package to be used;
使用待使用的所述 QOS分时策略包传输网络数据。  The network data is transmitted using the QOS time-sharing policy package to be used.
5. 根据权利要求 4所述的方法,其中,在将正在使用的所述 QOS分时策略包中的 形成依赖性的功能点的到期时间延长至待使用的所述 QOS 分时策略包中的形 成依赖性的功能点的到期时间的步骤包括: 5. The method according to claim 4, wherein an expiration time of a function point forming a dependency in the QOS time-sharing policy package being used is extended to the QOS time-sharing policy package to be used The steps to form the expiration time of the dependent function point include:
将正在使用的所述 QOS 分时策略包中的形成依赖性的功能点复制到待使 用的所述 QOS分时策略包中。  The dependency-forming function points in the QOS time-sharing policy package being used are copied into the QOS time-sharing policy package to be used.
6. 根据权利要求 2所述的方法, 其中, 在所述不同的时间段上使用该时间段对应 的所述 QOS分时策略包传输网络数据的步骤还包括: The method according to claim 2, wherein the step of transmitting network data by using the QOS time-sharing policy packet corresponding to the time period on the different time period further comprises:
若检查出在待使用的所述 QOS 分时策略包对应的时间段到达时不存在正 在使用的所述 QOS分时策略包, 则使用待使用的所述 QOS分时策略包传输网 络数据。  If it is checked that there is no QOS time-sharing policy package in use when the time period corresponding to the QOS time-sharing policy package to be used arrives, the network data is transmitted using the QOS time-sharing policy package to be used.
7. 一种基于服务质量 QOS分时策略的网络数据传输装置, 包括: 7. A network data transmission device based on a quality of service QOS time-sharing strategy, comprising:
配置单元, 设置为为不同的时间段配置 QOS分时策略包;  a configuration unit, configured to configure a QOS time-sharing policy package for different time periods;
处理单元, 设置为在所述不同的时间段上使用该时间段对应的所述 QOS 分时策略包传输网络数据。  And the processing unit is configured to transmit the network data by using the QOS time-sharing policy packet corresponding to the time period on the different time period.
8. 根据权利要求 7所述的装置, 其中, 所述处理单元包括: The device according to claim 7, wherein the processing unit comprises:
检测模块, 设置为在待使用的所述 QOS分时策略包对应的时间段到达时, 检测当前是否存在正在使用的所述 QOS分时策略包;  a detecting module, configured to detect whether the currently used QOS time-sharing policy package exists when a time period corresponding to the QOS time-sharing policy package to be used arrives;
检查模块, 设置为在检测出当前存在正在使用的所述 QOS分时策略包时, 对待使用的所述 QOS分时策略包以及正在使用的所述 QOS分时策略包进行互 斥性和依赖性检查;  a checking module, configured to perform mutual exclusion and dependency on the QOS time-sharing policy package to be used and the QOS time-sharing policy package in use when detecting that the QOS time-sharing policy package currently in use is present an examination;
调度模块, 设置为在待使用的所述 QOS 分时策略包以及正在使用的所述 QOS分时策略包相互之间存在互斥性或依赖性时,根据用于消除互斥性或依赖 性的调度规则对待使用的所述 QOS分时策略包以及正在使用的所述 QOS分时 策略包进行调度以传输网络数据。 根据权利要求 8所述的装置, 其中, 所述调度模块包括: 互斥性调度子模块,设置为在待使用的所述 QOS分时策略包以及正在使用 的所述 QOS分时策略包相互之间存在互斥性时, 对正在使用的所述 QOS分时 策略包中的形成互斥性的功能点进行去使能操作, 并使用待使用的所述 QOS 分时策略包传输网络数据; a scheduling module, configured to remove mutual exclusion or dependency when the QOS time-sharing policy package to be used and the QOS time-sharing policy package in use are mutually exclusive or dependent The QOS time-sharing policy package to be used by the scheduling rule and the QOS time-sharing policy package being used are scheduled to transmit network data. The apparatus according to claim 8, wherein the scheduling module comprises: a mutual exclusion scheduling sub-module, configured to: the QOS time-sharing policy package to be used and the QOS time-sharing policy package in use When there is mutual exclusion, the function node forming the mutual exclusion in the QOS time-sharing policy package being used is de-enabled, and the network data is transmitted by using the QOS time-sharing policy package to be used;
依赖性调度子模块,设置为在待使用的所述 QOS分时策略包以及正在使用 的所述 QOS分时策略包相互之间存在依赖性时, 比较待使用的所述 QOS分时 策略包中的形成依赖性的功能点的到期时间与正在使用的所述 QOS 分时策略 包中的形成依赖性的功能点的到期时间;若正在使用的所述 QOS分时策略包中 的形成依赖性的功能点的到期时间早于待使用的所述 QOS 分时策略包中的形 成依赖性的功能点的到期时间,则将正在使用的所述 QOS分时策略包中的形成 依赖性的功能点的到期时间延长至待使用的所述 QOS 分时策略包中的形成依 赖性的功能点的到期时间; 使用待使用的所述 QOS分时策略包传输网络数据。 根据权利要求 9所述的装置, 其中, 所述依赖性调度子模块包括:  a dependency scheduling sub-module, configured to compare the QOS time-sharing policy package to be used when there is a dependency between the QOS time-sharing policy package to be used and the QOS time-sharing policy package in use The expiration time of the function point forming the dependency and the expiration time of the function point forming the dependency in the QOS time-sharing policy package being used; if the formation of the QOS time-sharing policy package is being used The expiration time of the sexual function point is earlier than the expiration time of the function-dependent function point in the QOS time-sharing policy package to be used, then the formation dependency in the QOS time-sharing policy package that is being used The expiration time of the function point is extended to the expiration time of the function-dependent function point in the QOS time-sharing policy package to be used; the network data is transmitted using the QOS time-sharing policy package to be used. The apparatus according to claim 9, wherein the dependency scheduling submodule comprises:
配置子模块,设置为在将正在使用的所述 QOS分时策略包中的形成依赖性 的功能点的到期时间延长至待使用的所述 QOS 分时策略包中的形成依赖性的 功能点的到期时间的过程中,将正在使用的所述 QOS分时策略包中的形成依赖 性的功能点复制到待使用的所述 QOS分时策略包中。  a configuration submodule configured to extend an expiration time of a dependency-forming function point in the QOS time-sharing policy package to be used to a function-forming function point in the QOS time-sharing policy package to be used During the expiration time, the dependency-forming function points in the QOS time-sharing policy package being used are copied into the QOS time-sharing policy package to be used.
PCT/CN2012/072750 2011-06-10 2012-03-21 Network data transmission method and device based on qos time division policy WO2012167645A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110155396.3 2011-06-10
CN201110155396.3A CN102202063B (en) 2011-06-10 2011-06-10 Quality of service (QOS)-time-sharing-strategy-based network data transmission method and device

Publications (1)

Publication Number Publication Date
WO2012167645A1 true WO2012167645A1 (en) 2012-12-13

Family

ID=44662458

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/072750 WO2012167645A1 (en) 2011-06-10 2012-03-21 Network data transmission method and device based on qos time division policy

Country Status (2)

Country Link
CN (1) CN102202063B (en)
WO (1) WO2012167645A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102202063B (en) * 2011-06-10 2017-03-22 中兴通讯股份有限公司 Quality of service (QOS)-time-sharing-strategy-based network data transmission method and device
CN102413040A (en) * 2011-11-04 2012-04-11 中兴通讯股份有限公司 Execution method of hierarchical quality of service (HQoS) strategy and apparatus thereof
CN115718865A (en) * 2021-08-23 2023-02-28 中兴通讯股份有限公司 Policy management method, device and computer-readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815965A (en) * 2006-02-22 2006-08-09 北京邮电大学 Service quality charging method of internet business based on service grade protcol
US20090034467A1 (en) * 2007-07-31 2009-02-05 Beceem Communications, Inc. Allocation of periodically distributed frames of wireless communication
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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815965A (en) * 2006-02-22 2006-08-09 北京邮电大学 Service quality charging method of internet business based on service grade protcol
US20090034467A1 (en) * 2007-07-31 2009-02-05 Beceem Communications, Inc. Allocation of periodically distributed frames of wireless communication
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

Also Published As

Publication number Publication date
CN102202063A (en) 2011-09-28
CN102202063B (en) 2017-03-22

Similar Documents

Publication Publication Date Title
Meng et al. Online deadline-aware task dispatching and scheduling in edge computing
Chen et al. Optimizing coflow completion times with utility max-min fairness
Cardellini et al. Optimal operator deployment and replication for elastic distributed data stream processing
CN111030835B (en) Task scheduling model of TTFC network and message scheduling table generation method
US8554456B2 (en) Intelligent traffic control mesh
Carvajal et al. Evaluation of communication architectures for switched real-time ethernet
WO2012167645A1 (en) Network data transmission method and device based on qos time division policy
Aljoby et al. On SDN-enabled online and dynamic bandwidth allocation for stream analytics
US10531382B2 (en) Offloading MAC/link layer functions
Bellavista et al. GAMESH: a grid architecture for scalable monitoring and enhanced dependable job scheduling
Li et al. Co-Scheduler: A coflow-aware data-parallel job scheduler in hybrid electrical/optical datacenter networks
Marinoni et al. Real-time analysis and design of a dual protocol support for Bluetooth LE devices
WO2016000244A1 (en) Service elastic method and device in cloud computing
Armani et al. A cost-effective workload allocation strategy for Cloud-Native Edge Services
Ruaro et al. Self-adaptive qos management of computation and communication resources in many-core socs
Torfs et al. TDMA on commercial of-the-shelf hardware: Fact and fiction revealed
Pagano et al. Simulating real-time aspects of wireless sensor networks
Tirkawi et al. Adaptive tasks balancing in wireless sensor networks
Kostrzewa et al. Flexible TDM-based resource management in on-chip networks
Nguyen et al. iDSRT: Integrated dynamic soft real-time architecture for critical infrastructure data delivery over wlan
Meyer et al. Low latency packet processing in software routers
Spina et al. Reliable distributed consensus for low-power multi-hop networks
CN103427941A (en) Method and device for sending data packet and terminal device
US11922161B2 (en) Scheduling a pausable automated process in a computer network
WO2011131065A1 (en) Network management system and data collection method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12796846

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12796846

Country of ref document: EP

Kind code of ref document: A1