WO2016161582A1 - Quality of service measurement method and apparatus, and base station - Google Patents

Quality of service measurement method and apparatus, and base station Download PDF

Info

Publication number
WO2016161582A1
WO2016161582A1 PCT/CN2015/076104 CN2015076104W WO2016161582A1 WO 2016161582 A1 WO2016161582 A1 WO 2016161582A1 CN 2015076104 W CN2015076104 W CN 2015076104W WO 2016161582 A1 WO2016161582 A1 WO 2016161582A1
Authority
WO
WIPO (PCT)
Prior art keywords
parameter
value
service
qos
scheduled
Prior art date
Application number
PCT/CN2015/076104
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 华为技术有限公司
Priority to PCT/CN2015/076104 priority Critical patent/WO2016161582A1/en
Priority to CN201580078053.8A priority patent/CN107409065A/en
Publication of WO2016161582A1 publication Critical patent/WO2016161582A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/40Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using virtualisation of network functions or resources, e.g. SDN or NFV entities

Definitions

  • the present invention relates to the field of wireless communication technologies, and in particular, to a service quality measurement method and apparatus, and a base station.
  • the base station allocates radio resources to services through the QoS feature of the service, thereby improving the user experience.
  • the radio resource allocation process of the base station to the service is a process in which the base station implements the service QoS scheduling by using the QoS measurement method of the service, and in the scheduling process, it is very important to obtain the QoS metric value of the service through the QoS measurement algorithm of the service.
  • QoS metrics are performed based on rate parameters and delay parameters in the QoS characteristics, and finally, service resources are allocated.
  • an enhanced proportional fairness algorithm is used to implement QoS metrics.
  • the method is applicable to a traditional service type, such as a video stream service and a voice service.
  • the video stream service requires a higher rate of the service, and the voice service requires a higher real-time service, so
  • the existing method can realize wireless resource allocation to the above two types of services.
  • the mobile Internet has spawned some new services, such as mobile payment and WeChat.
  • An embodiment of the present invention provides a QoS method and apparatus, and a base station, which is used in a service scheduling process to solve a problem that a service cannot be timely and accurately allocated to a resource, and a service QoS characteristic requirement cannot be satisfied. Service failure issue.
  • a first aspect of the embodiments of the present invention provides a QoS measurement method, where a to-be-scheduled service is configured with at least one quality of service QoS parameter, and when the to-be-scheduled service is different, the different to-be-scheduled At least one of the weights corresponding to the scheduling service is different, and the method includes:
  • the method before calculating the QoS metric value of the to-be-scheduled service, the method further includes:
  • the QoS metric value is calculated by using a value corresponding to the service priority, a parameter value of the existing QoS parameter, and a weight corresponding to the existing QoS parameter.
  • the acquiring, by using the parameter value of the existing QoS parameter of the to-be-scheduled service includes:
  • the average packet loss rate and the packet loss rate threshold of the to-be-scheduled service, and the parameter value corresponding to the packet loss rate parameter is calculated according to the average packet loss rate and the packet loss rate threshold;
  • the existing QoS parameter includes a delay parameter
  • obtaining a delay of the to-be-scheduled service waiting for transmission and a time slot threshold of the to-be-scheduled service and calculating according to the delay and the delay threshold Obtaining a parameter value corresponding to the delay parameter
  • the existing QoS parameter includes a rate parameter
  • obtaining an instantaneous transmission rate of the to-be-scheduled service data packet, an average rate threshold of the to-be-scheduled service, and an actual transmission average rate of the to-be-scheduled service and according to Calculating, by the instantaneous transmission average rate, the average rate threshold, and the actual transmission average rate, a parameter value corresponding to the rate parameter;
  • the existing QoS parameter includes a delay jitter parameter
  • calculating, by the delay jitter threshold, a parameter value corresponding to the delay jitter parameter
  • the method further includes:
  • the weight corresponding to the existing QoS parameter the weight corresponding to the existing QoS parameter, the parameter value of the new QoS parameter, the weight corresponding to the new QoS parameter, and the service priority.
  • the QoS metric value corresponds to the QoS metric value.
  • the method further includes: when there are multiple to-be-scheduled services, the method further includes:
  • the service to be scheduled corresponding to the maximum scheduling value is preferentially scheduled.
  • the method includes: a sum of ownership values corresponding to the to-be-scheduled service is 1, and a requirement for the QoS parameter a positive correlation with a weight corresponding to the QoS parameter, where the required degree is used to represent a degree to which the QoS parameter is valued in the to-be-scheduled service, and the higher the required degree, the QoS parameter is in the The more attention is paid to the dispatching business.
  • a second aspect of the embodiments of the present invention provides a service quality metric apparatus, where a to-be-scheduled service is configured with at least one quality of service QoS parameter, and when the to-be-scheduled service is different, the weight of the different to-be-scheduled service is corresponding. At least one of the differences, the device includes:
  • An obtaining unit configured to obtain a parameter value of an existing QoS parameter of the to-be-scheduled service and a weight corresponding to the existing QoS parameter, where the existing QoS parameter has a one-to-one correspondence with the weight corresponding to the existing QoS parameter;
  • a calculating unit configured to calculate, by using the parameter value of the existing QoS parameter and the weight corresponding to the existing QoS parameter, the QoS metric of the to-be-scheduled service, the QoS metric
  • the value is a value used to measure the quality of service to be scheduled.
  • the acquiring unit is further configured to obtain, after the computing unit calculates the QoS metric value of the to-be-scheduled service, Business priority
  • the calculating unit is further configured to calculate, by using the value corresponding to the service priority acquired by the acquiring unit, a parameter value of the existing QoS parameter, and a weight corresponding to the existing QoS parameter, QoS metrics.
  • the acquiring unit is further configured to: when the existing QoS parameter includes a packet loss rate parameter, obtain an average packet loss rate of the to-be-scheduled service and a packet loss rate threshold of the to-be-scheduled service;
  • the calculating unit is further configured to calculate, according to the average packet loss rate and the packet loss rate threshold acquired by the acquiring unit, a parameter value corresponding to the packet loss rate parameter;
  • the acquiring unit is further configured to: when the existing QoS parameter includes a delay parameter, obtain a delay of waiting for the to-be-scheduled service to be transmitted, and a time slot threshold of the to-be-scheduled service;
  • the calculating unit is further configured to calculate, according to the time delay acquired by the acquiring unit and the delay threshold, a parameter value corresponding to the delay parameter;
  • the obtaining unit is further configured to: when the existing QoS parameter includes a rate parameter, Obtaining an instantaneous transmission rate of the to-be-scheduled service data packet, an average rate threshold of the to-be-scheduled service, and an actual transmission average rate of the to-be-scheduled service;
  • the calculating unit is further configured to calculate, according to the instantaneous transmission average rate, the average rate threshold, and the actual transmission average rate obtained by the acquiring unit, a parameter value corresponding to the rate parameter;
  • the acquiring unit is further configured to: when the existing QoS parameter includes a delay jitter parameter, obtain a delay jitter value of the to-be-scheduled service data packet transmission, and a delay jitter threshold of the to-be-scheduled service;
  • the calculating unit is further configured to calculate, by using the delay jitter value and the delay jitter threshold obtained by the acquiring unit, a parameter value corresponding to the delay jitter parameter.
  • the acquiring unit is further configured to: when a new QoS requirement exists in the to-be-scheduled service, obtain a parameter value corresponding to the new QoS parameter, and acquire a weight corresponding to the new QoS parameter;
  • the calculating unit is further configured to: use, according to the acquiring, the parameter value of the existing QoS parameter, the weight corresponding to the existing QoS parameter, the parameter value of the new QoS parameter, and the new The QoS parameter corresponding to the QoS parameter is calculated to obtain the QoS metric value;
  • the calculating unit is further configured to: according to the parameter value of the existing QoS parameter, the weight corresponding to the existing QoS parameter, the parameter value of the new QoS parameter, and the new QoS parameter.
  • the weight value and the value corresponding to the service priority are calculated to obtain the QoS metric value.
  • the device when there are multiple to-be-scheduled services, the device further includes:
  • the obtaining unit is configured to obtain a QoS metric corresponding to each to-be-scheduled service
  • the calculating unit is further configured to perform weighting calculation on the QoS metric value corresponding to each to-be-scheduled service and the corresponding scheduling algorithm value, respectively, to obtain a scheduling value of each of the to-be-scheduled services.
  • the scheduling algorithm value indicates a value obtained by the scheduling algorithm by using a scheduling algorithm, where the scheduling value is used to indicate an order in which the to-be-scheduled service is scheduled;
  • the scheduling unit is configured to preferentially schedule the to-be-scheduled service corresponding to the maximum scheduling value according to the scheduling value of each of the to-be-scheduled services obtained by the computing unit.
  • the first possible implementation manner of the second aspect, the second possible implementation manner of the second aspect, the third possible implementation manner of the second aspect, and the fourth possible implementation manner of the second aspect In any one or more implementation manners, in a fifth possible implementation manner of the second aspect, the sum of the ownership values corresponding to the to-be-scheduled service is 1, and the requirement for the QoS parameter and the QoS parameter The degree of importance in the to-be-scheduled service, the higher the demand degree, the more attention is paid to the QoS parameter in the to-be-scheduled service.
  • a third aspect of the present invention provides a base station, where a to-be-scheduled service is configured with at least one quality of service QoS parameter, and when the to-be-scheduled service is different, at least one of the weights of the different to-be-scheduled services is One difference is that the base station includes:
  • a memory for storing information including program instructions
  • a processor coupled to the memory, for controlling execution of the program instruction, specifically, acquiring parameter values of existing QoS parameters of the to-be-scheduled service and existing QoS
  • the weight corresponding to the parameter, the existing QoS parameter has a one-to-one correspondence with the weight corresponding to the existing QoS parameter;
  • the processor is further configured to: before calculating a QoS metric value of the to-be-scheduled service, obtain a service priority corresponding to the to-be-scheduled service; use a value corresponding to the service priority, and the existing QoS parameter The parameter value and the weight corresponding to the existing QoS parameter are calculated to obtain the QoS metric value.
  • the processor is further configured to: when the existing QoS parameter includes a packet loss rate parameter, obtain an average packet loss rate of the to-be-scheduled service and a packet loss rate threshold of the to-be-scheduled service, and according to the average The packet loss rate and the packet loss rate threshold are calculated to obtain parameter values corresponding to the packet loss rate parameter;
  • the existing QoS parameter includes a delay parameter
  • obtaining a delay of the to-be-scheduled service waiting for transmission and a time slot threshold of the to-be-scheduled service and calculating according to the delay and the delay threshold Obtaining a parameter value corresponding to the delay parameter
  • the existing QoS parameter includes a rate parameter
  • obtaining an instantaneous transmission rate of the to-be-scheduled service data packet, an average rate threshold of the to-be-scheduled service, and an actual transmission average rate of the to-be-scheduled service and according to Calculating, by the instantaneous transmission average rate, the average rate threshold, and the actual transmission average rate, a parameter value corresponding to the rate parameter;
  • the existing QoS parameter includes a delay jitter parameter
  • acquiring a delay jitter value of the to-be-scheduled service data packet transmission and delaying the time delay of the to-be-scheduled service And moving a threshold, and calculating a parameter value corresponding to the delay jitter parameter by using the delay jitter value and the delay jitter threshold.
  • the processor is further configured to: when a new QoS requirement exists in the to-be-scheduled service, obtain a parameter value corresponding to a new QoS parameter, and acquire a weight corresponding to the new QoS parameter;
  • the processor is further configured to: when there are multiple to-be-scheduled services, obtain a QoS metric corresponding to each to-be-scheduled service; and respectively perform QoS metrics corresponding to each to-be-scheduled service and corresponding
  • the scheduling algorithm value is weighted to obtain a scheduling value of each of the to-be-scheduled services, where the scheduling algorithm value represents a value obtained by the scheduling algorithm by using a scheduling algorithm, where the scheduling value is used to indicate that the to-be-scheduled service is Order of scheduling;
  • the service to be scheduled corresponding to the maximum scheduling value is preferentially scheduled.
  • the sum of the ownership values corresponding to the to-be-scheduled service is 1, and
  • the degree of demand of the QoS parameter is positively correlated with the weight corresponding to the QoS parameter, and the degree of demand is used to represent the degree to which the QoS parameter is valued in the to-be-scheduled service, and the higher the demand degree, the QoS The more important the parameters are in the to-be-scheduled service.
  • the embodiment of the invention provides a method and device for measuring quality of service, and a base station, after obtaining the parameter value of the existing QoS parameter of the to-be-scheduled service and the weight corresponding to the existing QoS parameter, the parameter value and the weight are adopted.
  • the value is used to calculate the QoS metric value of the service to be scheduled. Because the weights of different services are different, the service can be distinguished by the weight, so that a more accurate QoS metric value can be calculated.
  • the QoS metrics of the services are obtained in the same manner, so that it is difficult to perform service differentiation in the service scheduling process, and the service implementation fails.
  • the technical solution provided by the embodiment of the present invention can calculate a more accurate QoS scheduling value of the service, thereby accurately implementing service scheduling and improving the success rate of service implementation.
  • FIG. 1 is a flowchart of a method for measuring quality of service according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for measuring quality of service according to another embodiment of the present invention.
  • 2-1 is a schematic structural diagram of a base station for applying a method for measuring quality of service according to another embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a metric service quality apparatus according to another embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of another metric service quality apparatus according to another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a base station with a QoS function according to another embodiment of the present invention.
  • GSM Global System for Mobile Communications
  • CDMA Code Division Multiple Access
  • TDMA Time Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • FDMA Frequency Division Multiple Access
  • FDMA Frequency Division Multiple Addressing
  • OFDMA positive Orthogonal Frequency-Division Multiple Access
  • SC-FDMA single carrier FDMA
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • the user equipment may be a wireless terminal or a wired terminal, and the wireless terminal may be a device that provides voice and/or data connectivity to the user, a handheld device with wireless connectivity, or other processing device connected to the wireless modem.
  • the wireless terminal can communicate with one or more core networks via a radio access network (eg, RAN, Radio Access Network), which can be a mobile terminal, such as a mobile phone (or "cellular" phone) and with a mobile terminal
  • RAN Radio Access Network
  • the computers for example, can be portable, pocket-sized, handheld, computer-integrated or in-vehicle mobile devices that exchange language and/or data with the wireless access network.
  • a wireless terminal may also be called a system, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, an access point, or an access point.
  • Remote Terminal Access Terminal, User Terminal, User Agent, User Device, or User Equipment.
  • a base station (e.g., an access point) can be a device in an access network that communicates with wireless terminals over one or more sectors over an air interface.
  • the base station can be used to convert the received air frame to the IP packet as a router between the wireless terminal and the rest of the access network, wherein the remainder of the access network can include an Internet Protocol (IP) network.
  • IP Internet Protocol
  • the base station can also coordinate attribute management of the air interface.
  • the base station may be a base station (BTS, Base Transceiver Station) in GSM or CDMA, or may be a base station (NodeB) in WCDMA, or may be an evolved base in LTE.
  • the station NodeB or eNB or e-NodeB, evolutional Node B
  • the present invention is not limited.
  • system and “network” are used interchangeably herein.
  • the term “and/or” in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate that A exists separately, and both A and B exist, respectively. B these three situations.
  • the character "/" in this article generally indicates that the contextual object is an "or" relationship.
  • An embodiment of the present invention provides a QoS measurement method, which is applied to a multi-service QoS scenario in a wireless communication system, and determines a QoS of a service by acquiring parameter values corresponding to QoS parameters of the service and weights corresponding to the QoS parameters.
  • the metric value, at least one QoS parameter corresponding to different QoS parameters is different, so that different QoS metric values are determined according to the parameter value and the weight value, and then the service QoS metric value can be comprehensively and accurately differentiated according to the determined QoS metric value.
  • the base station can better perform service scheduling according to the obtained QoS metric value, and improve the success rate of service implementation.
  • the QoS metric value is a value corresponding to the QoS Metrics, which is a value used to measure the quality of service to be scheduled, and can represent an evaluation indicator of the service quality of the service to be scheduled.
  • An embodiment of the present invention provides a service quality measurement method, which is performed by a base station, as shown in FIG. 1, the method includes:
  • the existing QoS parameters include: a rate parameter, a delay parameter, a packet loss rate parameter, a delay jitter parameter, a false alarm rate parameter, etc.
  • the parameter value is passed through 3GPP (English full name: 3rd Generation Partnership Project) , Chinese full name: Third Generation Partnership Project) protocol or publicly researched new service characteristics to obtain the parameter values corresponding to each existing QoS parameter, and each QoS parameter corresponds to a right A value obtained by configuring the requirements for each existing QoS parameter.
  • the QoS metric value is obtained by calculating the parameter value of the existing QoS parameter and the weight value corresponding to the existing QoS parameter.
  • the calculation form includes: weighted product calculation, or product calculation, and the like.
  • the to-be-scheduled service includes two existing QoS parameters, and the corresponding parameter values are respectively represented by U1 and U2, and the weights corresponding to the two QoS parameters are respectively represented by w1 and w2, and corresponding
  • the QoS metric value of the service to be scheduled can also be calculated by weighted product of the parameter value and its corresponding weight, and the calculation method of the weighted product can be detailed by the following formula (0).
  • the above-mentioned operation of summing the product of the parameter value and the weight may be distinguished from the service to be scheduled, but compared with the product operation, the parameter value and
  • the convergence is fast, and it is sensitive to the change of the QoS metric value, and the service can be distinguished by more nuances. Therefore, the following embodiments will introduce the weighted product calculation of the parameter value and the weight in detail to obtain the QoS. The process of calculating the metrics.
  • the weighted product is calculated by using the parameter value and the weight, and the QoS metric value is obtained as an example.
  • the service to be scheduled is the service i
  • the QoS parameters of the service i include: a rate parameter, a delay parameter, and a packet loss rate parameter, and the corresponding parameter values respectively pass through:
  • the dr as the subscript indicates the rate
  • d1 indicates the delay
  • p1r indicates the packet loss rate
  • t indicates the time
  • the weights corresponding to the above three QoS parameters are respectively passed: It is shown that, in combination with the description of step 102 of the embodiment, the QoS metric value U i (t) of the service i can be obtained by the following formula (0).
  • the weights of all the QoS parameters of a service are 1 and, for example, in this embodiment:
  • the required degree of the QoS parameter is positively correlated with the weight corresponding to the QoS parameter, that is, when the to-be-scheduled service has a high demand for any one of the QoS characteristics, the weight corresponding to the QoS characteristic parameter The weight corresponding to the remaining QoS parameters is larger.
  • the QoS parameters involved in the voice service include: a delay parameter and a rate parameter, and the voice service has a higher real-time requirement for the service, and the weight corresponding to the delay parameter is greater than the weight corresponding to the rate parameter, and wherein,
  • the demand degree is used to characterize the extent to which the QoS parameters are valued in the service to be scheduled. The higher the demand degree, the more attention is paid to the QoS parameters in the service to be scheduled.
  • each to-be-scheduled service is configured with at least one QoS parameter, and the to-be-scheduled service is different, and at least one of the weights to be scheduled is different, for example, there are two to-be-scheduled services.
  • A, B where service A involves 3 weights, respectively: A1, A2, A3; Service B also involves three weights: B1, B2, B3, then each of the two groups The value of at least one of the numbers is different from the value in the other group. This makes it possible to differentiate the business by the difference in weights.
  • the QoS characteristics of the service include data rate, delay, packet error rate, packet loss rate, delay jitter, etc., and these characteristics can respectively pass the rate parameter.
  • the delay parameter, the error packet rate parameter, the packet loss rate parameter, the delay jitter parameter, and the like are represented, and different service characteristics are distinguished by describing the parameters.
  • the voice service in the real-time service requires a low transmission delay, which requires a high priority to reduce the scheduling delay when scheduling the service, and a low delay requirement for the video stream service in the non-real-time service.
  • the rate requirement is high, then allocate more bandwidth when scheduling the service to ensure the data rate.
  • the different proportions of the above various QoS parameters indicate different services, that is, the weights of these parameters can be used for service differentiation.
  • the weights of these parameters can be used for service differentiation.
  • the delay requirement is high, so the weight can be increased to ensure the priority scheduling right of the service.
  • the determination of these weights is based on the characteristics of the service, and can also be determined based on the simulation service. Once the business is determined, its weight is determined and does not change over time.
  • the QoS parameter included in the to-be-scheduled service may have one or several types, and correspondingly, the number of QoS parameters is equal.
  • the number of weights are multiplied or weighted product is calculated to obtain a QoS metric value of the service to be scheduled.
  • the embodiment of the present invention provides a QoS measurement method. After obtaining the parameter value of the existing QoS parameter of the current to-be-scheduled service and the weight corresponding to the existing QoS parameter, the parameter value and the weight are used to calculate the to-be-scheduled.
  • the QoS metric of the service can be differentiated by the weights because the weights of different services are different, so that more accurate QoS metrics can be calculated.
  • the QoS metrics of the services are obtained in the same manner, so that it is difficult to perform service differentiation in the service scheduling process, and the service implementation fails.
  • the technical solution provided by the embodiment of the present invention can calculate a more accurate QoS scheduling value of the service, thereby accurately implementing service scheduling and improving the success rate of service implementation.
  • the existing QoS parameters indicates that, of course, when there is a new QoS requirement for the to-be-scheduled service, new QoS parameters, parameter values corresponding to the new QoS parameters, and weights corresponding to the new QoS parameters appear correspondingly, and for the sake of simplicity,
  • the above three objects respectively pass: a new QoS parameter, a new parameter value, and a new weight description.
  • a simplified description of the adaptation of different objects is performed. If there is a coincident part, it does not mean that the meaning is included.
  • the parameter value is only a parameter value representing an existing QoS parameter
  • the new parameter value is only Indicates the parameter value corresponding to the new QoS parameter
  • the parameter value and the new parameter value are two independent objects, and there is no affiliation between them.
  • Another embodiment of the present invention provides a service quality measurement method. Based on the foregoing description of the embodiment shown in FIG. 1, a new method for calculating a QoS metric value is provided in this embodiment. In the process of obtaining the parameter value and the weight, the priority of the service to be scheduled is considered, as shown in FIG. 2, the method includes:
  • the step 202 corresponds to the step 102 described above, except that the QoS metric value obtained in the embodiment is multiplied by the QoS metric value obtained in the above step 102 and the value corresponding to the service priority. get.
  • the calculation method of the QoS metric value can be obtained by the following formula (0-1).
  • ⁇ i is a value corresponding to the priority of the service i, and the remaining parameters in the formula are the same as those in the above formula (0), and the description thereof will not be repeated here.
  • the service priority is mainly used to distinguish a large class of services, such as a real-time service and a non-real-time service.
  • the value corresponding to the service priority may be represented by a constant, and the value is different if the service is different.
  • the real-time service is generally set to a high priority to ensure that the real-time service should have a higher scheduling priority.
  • the value corresponding to the priority level can be set by each device manufacturer according to the result of the experiment. In the scheduling process of this embodiment, once the value is determined, the value is not adjusted to ensure the stability of the service scheduling.
  • the QoS metric value when the QoS metric value is calculated, the value corresponding to the service priority is added, and the QoS scheduling value of the to-be-scheduled service is more guaranteed.
  • both real-time services, voice services, and video call services assume that the values of the two service priorities are the same, but in the QoS parameters behind the respective services, the video call service must take into account the two QoS characteristics of delay and rate. Therefore, the calculated two service QoS metrics are different, and the order of the service adjustments is different.
  • the scheduling method is that the first arriving service is scheduled first.
  • the values corresponding to the respective priorities and the weights corresponding to the QoS parameters are the same, so that in the scheduling process, the pair cannot be The two services are better differentiated and scheduled.
  • Another embodiment of the present invention provides a QoS measurement method.
  • a parameter value is involved, and the QoS parameter includes at least: a rate parameter, a time The delay parameter, the packet loss rate parameter, the delay jitter parameter, the false alarm rate parameter, etc.
  • the method for obtaining the first four parameter values will be described in detail, and specifically includes:
  • the QoS parameter includes the packet loss rate parameter
  • the average packet loss rate of the service to be scheduled and the packet loss rate threshold of the to-be-scheduled service are obtained, and the average packet loss rate and packet loss are obtained according to the average packet loss rate.
  • the rate threshold is calculated, and the parameter value corresponding to the packet loss rate parameter is obtained.
  • the parameter value corresponding to the packet loss rate parameter can be calculated by the following formula (1):
  • i represents the type of service
  • t represents time.
  • avr_PLR i is the average packet loss rate
  • target_PLR i is the packet loss rate threshold of service i.
  • the average packet loss rate is obtained by continuously counting the traffic of the service i during the scheduling process
  • the packet loss rate threshold is a defined value of the value in the 3GPP protocol, and is not repeated here.
  • the QoS parameter includes the delay parameter
  • the delay of the to-be-scheduled service and the delay threshold of the to-be-scheduled service are obtained, and the parameter value corresponding to the delay parameter is obtained according to the delay and the delay threshold.
  • the parameter value corresponding to the packet loss rate parameter can be calculated by the following formula (2):
  • i represents the service to be scheduled, and t represents the time.
  • t represents the time.
  • delay i is the delay of the service data packet waiting for transmission
  • target_DL i is the delay threshold of the service.
  • the delay i can be obtained by detecting the data packet of the service i, and the value of the target_DL i is the same as the value of the service defined in the 3GPP.
  • the QoS parameter includes the rate parameter
  • i represents the service to be scheduled, and t represents the time.
  • r i (t) is the instantaneous transmission rate of the service i packet transmission
  • I the average rate threshold of service i
  • R i (t) is the average transmission rate of the service i packet.
  • R i (t) and r i (t) have the following relationship and are expressed as formula (4).
  • R i (t) (1- ⁇ )R i (t-1)+ ⁇ *r i (t)
  • is the weight of the updated average rate
  • the device manufacturer can set the value by simulation, the value range [0, 1]. Therefore, based on the average rate threshold of the service, a metric of the data rate parameter of the service can be determined, and the average rate threshold can be obtained by the 3GPP protocol.
  • the QoS parameter further includes a delay jitter parameter, and in the specific implementation process, the parameter value corresponding to the delay jitter parameter can be calculated by the following formula (5).
  • i represents the type of service to be scheduled, and t represents time.
  • jitter i is the delay jitter value of the service i packet transmission
  • target_jitter i is the delay jitter threshold of the service i.
  • the jitter i can be monitored in real time, and the target_jitter i can be obtained through the 3GPP protocol.
  • the base station configures a new QoS parameter for the new service or the new requirement, and assigns a corresponding weight to the new QoS parameter.
  • the specific value of this weight can be determined by performing demand simulation on the new QoS parameters. Then, according to the newly obtained parameter value and weight, a calculation method is used to calculate a new QoS scheduling value according to the implementation flow shown in FIG. 1 and FIG. 2 described above.
  • a method flow for how to perform service scheduling by combining parameter values of the new QoS parameter when a new QoS requirement occurs is provided, that is, the new parameter value is
  • the new weight is calculated, and the calculated value is directly multiplied with the calculation result of the existing parameter values and weights of the to-be-scheduled service, of course, the new parameter value and the new one.
  • the calculation method of the weight is the same as the method described in the foregoing step 102, and details are not described herein again.
  • the enhanced proportional fair algorithm is generally adopted, only the rate parameter and the delay parameter are considered, and one of the two parameters is in another Based on the parameters, for example, one parameter value is calculated by the logarithm or exponential form of another parameter value, so when new QoS parameter requirements appear, if you continue to use the above algorithm, you will not be able to get new Service QoS metrics for QoS requirements.
  • the QoS metric method provided by the embodiment of the present invention is easy to extend QoS parameters.
  • a method for measuring a quality of service is provided.
  • the method specifically describes, after obtaining a QoS metric value, how to perform service scheduling according to the metric value, and the scheduling method specifically includes Two aspects are mentioned.
  • the QoS metric corresponding to each to-be-scheduled service is obtained by using the above formula (0) or formula (0-1), and the QoS metric values are compared to obtain the maximum QoS.
  • the metric value is used to preferentially schedule the to-be-scheduled service corresponding to the maximum QoS metric value.
  • the obtained QoS metric value can be used as a weighting factor weighted scheduling algorithm to obtain a better QoS scheduling algorithm, so as to obtain a compromise between system performance and service QoS experience.
  • the maximum value weighted by the QoS metric scheduling algorithm is scheduled, and the to-be-scheduled service corresponding to the maximum value is preferentially scheduled.
  • the user scheduling algorithm is c i (t)
  • the QoS metric value is U i (t)
  • the maximum value obtained is: max i U i (t)*c i (t).
  • the scheduling algorithm value represents a value obtained by the scheduling algorithm by the scheduling algorithm, and the scheduling value is used to indicate the order in which the to-be-scheduled services are scheduled.
  • the weighting of the scheduling algorithm actually refers to weighting the specific values obtained by the scheduling algorithm, and in this embodiment, c i (t) is called Scheduling algorithm values.
  • c i (t) may be some high performance scheduling algorithms, such as a game theory based scheduling algorithm, based on total allocated resources and real-time environmental conditions of the user to achieve optimal system performance. . Therefore, in the scheduling algorithm, the c i (t) value of the user scheduling is determined according to the resource and user channel condition parameters, and then U i (t) weighting is performed to obtain a high performance scheduling algorithm that satisfies the service QoS characteristics.
  • Another embodiment of the present invention provides a service quality measurement method, by which a QoS metric value of a service to be scheduled can be obtained, and the QoS metric value is applied to a scheduling process of a service to be scheduled, in order to be able to
  • a QoS metric value of a service to be scheduled can be obtained, and the QoS metric value is applied to a scheduling process of a service to be scheduled, in order to be able to
  • the performance evaluation may be performed by performing scenario simulation.
  • the specific application scenario is described in Table 1 below.
  • Table 1 it is determined by the two list items that at least the scenario needs to be The parameters involved, as well as the values of each parameter. These parameters include: cellular layout, system bandwidth, station spacing, base station transmit power, number of user equipment per cell, path loss model, wireless channel, transmission mode, service type, simulation time, 10 parameters, and in Table 1
  • the corresponding numerical descriptions are given in the corresponding ones, and will not be repeated here. For details, refer to the description in Table 1 below. Combined with the description of Table 1, this example involves emulating a hybrid service model, namely video streaming service and video telephony service.
  • the delay requirement is high, and a certain rate is also required, and for the video user (corresponding to the video stream service), the transmission rate has high requirements, so the QoS for the video telephony service is determined.
  • Metric method The values are respectively [0.3, 0.7, 0], and for the high-definition video service QoS measurement method The values are [0.8, 0.2, 0] respectively.
  • the symbols of the weights are listed, and the meanings of the specific representatives are the same as those of the similar symbols in the above formula.
  • the prior art generally adopts an EPF (English full name: Enhanced Proportional Fair) algorithm to obtain a QoS scheduling value of a service.
  • EPF Evolution full name: Enhanced Proportional Fair
  • the EPF algorithm is widely used in existing products because it guarantees the characteristics of delay parameters and rate parameters in QoS characteristics.
  • delay i and target_DL i are still expressed as the delay and delay threshold of the service data packet waiting for transmission.
  • the delay threshold is small, and thus the priority variable c i is larger, more scheduling opportunities are obtained, and the QoS delay requirement can be satisfied.
  • this method only considers the QoS characteristics of rate and delay, and is not easy to expand.
  • the method fixes the weights of the QoS rate parameter and the delay parameter, and only adjusts the priority variable of the service scheduling. Therefore, the method cannot characterize new mobile Internet services and new QoS features, and fixes the weights of QoS parameters without obtaining better multiple QoS parameter optimization performance.
  • Equation 8 ⁇ i (t) is the packet generation rate based on the traffic i delay, and ⁇ i (t) is the update weight of the delay and the average rate to track the traffic packet production.
  • This scheduling algorithm must first simulate the business and model the mathematical expression, and then generate a QoS scheduling algorithm based on the expression for delay and rate characteristics.
  • the method strongly relates the business mathematical model, considering the rate parameter and the delay parameter. It is difficult to extend to other QoS feature parameters.
  • the weights of the rate and the delay are the same weights. Therefore, the weights cannot be adjusted to characterize the small characteristics of the service, and the service scheduling cannot be accurately implemented according to the QoS requirements.
  • the second aspect is scheduling.
  • the statistics on the delay in the process the second aspect is the statistics on the rate in the scheduling process. Specifically:
  • the packet loss rate is about 2.2%.
  • the packet loss rate is about 1.5%.
  • the real-time service video telephony has a higher delay requirement, so the scheduling priority is higher, the corresponding delay is smaller, the scheduling priority of the video streaming service is lower, and the delay is larger.
  • the delay of both services can meet the delay threshold.
  • the maximum delay of the real-time service video phone is 88 ms, and the maximum delay of the video stream service is 240 ms.
  • the delay and the data rate are effectively balanced.
  • the simulation results show that compared with the maximum delay threshold, the scheduling delay is less than the delay threshold of 90ms for video telephony services, and the scheduling delay is less than the threshold of 220ms for video streaming services. It also satisfies the requirements of QoS delay.
  • the delay of video telephony is slightly increased, while the delay of video streaming service is slightly reduced, the fluctuation of the instantaneous delay is smaller, and the performance is more balance.
  • the QoS metric algorithm proposed by the embodiment of the present invention schedules users so that the data rate can guarantee the average rate of the service, and the average rate of the video telephone users is 65 kbps, which ensures the average rate of the service is 64 kbps, and the average rate of the video stream users is 2.1. Mbps guarantees an average rate of 2Mbps for the service.
  • the PF algorithm good channel conditions and high instantaneous rate user scheduling are selected, while for the EPF algorithm, the delay service has a greater priority weight, so the data rate of the real-time service is basically unaffected, but for non-real time.
  • Video stream service scheduling priority is low, so can not choose good channel condition scheduling, so performance is reduced, the average rate is 1.89Mbps, the loss is about 13.7%, can not meet the average rate requirements, and the edge rate is 1.676Mbps, loss It is about 6.9%.
  • the QoS metric algorithm considers the QoS characteristics of the delay in addition to the rate parameter of the user, resulting in the incomplete best channel condition and the highest instantaneous rate being scheduled, comparing the PF algorithm, performance.
  • the delay is the most important QoS parameter to choose a large weight (0.7)
  • the rate is more important.
  • the parameters have large weights, while the delay has smaller requirements, but still has some impact (weight 0.2), so the data rate has a slight loss, only 4%.
  • the proposed method achieves a balance between QoS delay and rate to obtain more optimized performance.
  • the simulation examples given in Table 1 above are given, and three implementation methods are given.
  • the statistics include the video streaming service and the Video telephony service.
  • the comparison objects include the average user rate and the user edge rate.
  • the specific simulation method is the same as described in Table 1. The description is repeated, and the numerical values representing the statistical results are described above, and in Table 2, these statistical values or comparison values are only expressed in a more intuitive form.
  • the QoS metric method proposed in this embodiment characterizes the QoS characteristics of the service by changing the weights of the respective QoS parameters, thereby being in the scheduling. Optimized system performance based on the multi-QoS characteristics of the service.
  • the base station includes an application layer and media access control.
  • the application layer includes a service generation module, where the service generation module is used for the production service, and then the generated service is transmitted from the application layer to the media access control layer;
  • the media access control layer includes a scheduler, and the scheduler may include : QoS management module, resource allocation module, scheduling module.
  • the method for calculating the QoS metric value is implemented in the QoS management module, and the QoS metric value of the to-be-scheduled service is calculated by the resource allocation module, which is to be scheduled, in combination with the method flow described above in the embodiment shown in FIG. 1 and FIG.
  • the service performs resource allocation, and the to-be-scheduled service finally forms a scheduling queue in the scheduling module.
  • FIG. 2-1 is only related to the present invention.
  • the execution module of the example is described, and other modules are not shown.
  • the present invention provides a service quality metric device.
  • the to-be-scheduled service is configured with at least one QoS parameter.
  • the device includes: an acquisition unit 31 and a calculation unit 32.
  • the obtaining unit 31 is configured to obtain a parameter value of an existing QoS parameter of the to-be-scheduled service and a weight corresponding to the existing QoS parameter.
  • the existing QoS parameters have a one-to-one correspondence with the weights corresponding to the existing QoS parameters.
  • the calculating unit 32 is configured to calculate, by using the parameter value of the existing QoS parameter and the weight corresponding to the existing QoS parameter, the QoS metric value of the service to be scheduled.
  • the QoS metric value is a value used to measure the quality of the service to be scheduled.
  • the obtaining unit 31 is further configured to obtain a service priority corresponding to the service to be scheduled before the calculating unit 32 calculates the QoS metric value of the to-be-scheduled service.
  • the calculating unit 32 is further configured to calculate a QoS metric value by using a value, a parameter value, and a weight corresponding to the service priority acquired by the acquiring unit 31.
  • the device may obtain a parameter value, and an implementation form of the device function when acquiring four parameter values is proposed, which specifically includes:
  • the first type the obtaining unit 31 is further configured to: when an existing QoS parameter includes a packet loss rate parameter, obtain an average packet loss rate of the to-be-scheduled service and a packet loss rate threshold of the to-be-scheduled service.
  • the calculating unit 32 is further configured to calculate a parameter value corresponding to the packet loss rate parameter according to the average packet loss rate and the packet loss rate threshold acquired by the obtaining unit 31.
  • the second obtaining unit 31 is further configured to: when the existing QoS parameter includes a delay parameter, obtain a delay of waiting for the to-be-scheduled service and a time slot threshold of the to-be-scheduled service.
  • the calculating unit 32 is further configured to acquire the delay and the delay according to the obtaining unit 31.
  • the threshold is calculated to obtain the parameter value corresponding to the delay parameter.
  • the third, the obtaining unit 31 is further configured to: when the existing QoS parameter includes the rate parameter, obtain an instantaneous transmission rate of the service data packet to be scheduled, an average rate threshold of the service to be scheduled, and an actual transmission average rate of the service to be scheduled.
  • the calculating unit 32 is further configured to calculate a parameter value corresponding to the rate parameter according to the instantaneous transmission average rate, the average rate threshold, and the actual transmission average rate acquired by the obtaining unit 31.
  • the fourth, the obtaining unit 31 is further configured to: obtain the delay jitter value of the to-be-scheduled service data packet transmission, and the delay jitter threshold of the to-be-scheduled service when the existing QoS parameter includes the delay jitter parameter.
  • the calculating unit 32 is further configured to calculate a parameter value corresponding to the delay jitter parameter by using the delay jitter value and the delay jitter threshold acquired by the acquiring unit 31.
  • the acquiring unit 31 is further configured to: when a new QoS requirement exists in the current to-be-scheduled service, acquire a parameter value corresponding to the new QoS parameter, and obtain a new QoS parameter corresponding to the parameter. Weight.
  • the QoS metric value can be calculated by the calculation unit, and can be calculated by the following two methods.
  • the calculating unit 32 is further configured to calculate the QoS according to the parameter value of the existing QoS parameter acquired by the obtaining unit 31, the weight corresponding to the existing QoS parameter, the parameter value of the new QoS parameter, and the weight corresponding to the new QoS parameter. metric.
  • the calculating unit 32 is further configured to: according to the parameter value of the existing QoS parameter, the weight corresponding to the existing QoS parameter, the parameter value of the new QoS parameter, the weight corresponding to the new QoS parameter, and the value corresponding to the service priority. Calculate the QoS metric.
  • the apparatus further includes: a scheduling unit 33.
  • the obtaining unit 31 is configured to obtain a QoS metric corresponding to each service to be scheduled.
  • the calculating unit 32 is further configured to perform weighting calculation on the QoS metric value corresponding to each to-be-scheduled service acquired by the obtaining unit 31 and the corresponding scheduling algorithm value, respectively, to obtain a scheduling value of each to-be-scheduled service.
  • the scheduling algorithm value represents a value obtained by the scheduling algorithm by the scheduling algorithm, and the scheduling value is used to indicate the order in which the to-be-scheduled services are scheduled.
  • the scheduling unit 33 is configured to preferentially schedule the to-be-scheduled service corresponding to the maximum scheduling value according to the scheduling value of each of the to-be-scheduled services obtained by the computing unit 32.
  • the sum of ownership values corresponding to a service to be scheduled is 1, and the demand degree of the QoS parameter is positively correlated with the weight corresponding to the QoS parameter, where the sum of the weights is 1
  • the case refers to the ownership value corresponding to a service to be scheduled, and the demand degree is used to represent the degree to which the QoS parameter is valued in the service to be scheduled. The higher the demand degree, the more attention is paid to the QoS parameter in the service to be scheduled. .
  • FIG. 3 and FIG. 4 can be used to implement the method flow shown in FIG. 1 and FIG. 2 .
  • FIG. 3 and FIG. 4 can be used to implement the method flow shown in FIG. 1 and FIG. 2 .
  • FIG. 3 and FIG. 4 can be used to implement the method flow shown in FIG. 1 and FIG. 2 .
  • FIG. 3 and FIG. 4 can be used to implement the method flow shown in FIG. 1 and FIG. 2 .
  • only parts related to the embodiment of the present invention are shown, and the specific technology is shown.
  • the embodiment of the present invention provides a service quality metric device. After the acquiring unit obtains the parameter value of the QoS parameter of the to-be-scheduled service and the weight value corresponding to the existing QoS parameter, the calculating unit passes the parameter value and the weight value. The QoS metrics of the services to be scheduled are calculated. Because the weights of different services are different, services can be differentiated by weights, so that more accurate QoS scheduling values can be calculated. In the QoS measurement method of the prior art, the QoS metrics of the services are obtained in the same manner, so that it is difficult to perform service differentiation in the service scheduling process, and the service implementation fails. However, the technical solution provided by the embodiment of the present invention can calculate a more accurate QoS scheduling value of the service, thereby accurately implementing service scheduling and improving service implementation. power.
  • the base station includes a memory 51, a processor 52, a memory 51, and a processor 52 connected via a bus 53, and can perform data transmission with each other.
  • the memory 51 may be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM).
  • the memory 51 can store an operating system and other applications.
  • the program code for implementing the technical solution provided by the embodiment of the present invention is stored in the memory 51 and executed by the processor 52 when the technical solution provided by the embodiment of the present invention is implemented by software or firmware.
  • the processor 52 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for executing related programs.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • Bus 53 may include a path for communicating information between various components of the device (e.g., memory 51, processor 52).
  • FIG. 5 only shows the memory 51, the processor 52, and the bus 53, in a specific implementation process, those skilled in the art will appreciate that the device also includes other operations necessary for normal operation. Device. At the same time, those skilled in the art will appreciate that hardware devices that implement other functions may also be included, depending on the particular needs.
  • the memory 51 is configured to store information including program instructions.
  • the processor 52 is coupled to the memory 51 for controlling the execution of the program instruction, and is specifically configured to obtain a parameter value of an existing QoS parameter of the service to be scheduled and a weight corresponding to the existing QoS parameter, and pass the existing QoS parameter.
  • Parameter value and existing QoS parameter pair Calculate the QoS metric of the service to be scheduled based on the weight.
  • the existing QoS parameters have a one-to-one correspondence with the weights corresponding to the existing QoS parameters.
  • the processor 52 is further configured to: before calculating the QoS metric value of the to-be-scheduled service, obtain the service priority corresponding to the service to be scheduled; the value corresponding to the service priority, the parameter value of the existing QoS parameter, and the corresponding QoS parameter The value is calculated and the QoS metric is calculated.
  • the processor 52 is further configured to: when an existing QoS parameter includes a packet loss rate parameter, obtain an average packet loss rate of the to-be-scheduled service and a packet loss rate threshold of the to-be-scheduled service, and calculate the average packet loss rate and the packet loss rate threshold. The parameter value corresponding to the packet loss rate parameter is obtained.
  • the processor 52 is further configured to: when the existing QoS parameter includes a delay parameter, obtain a delay of the to-be-scheduled service and a time slot threshold of the to-be-scheduled service, and calculate a delay parameter according to the delay and the delay threshold. The parameter value.
  • the processor 52 is further configured to: when the existing QoS parameter includes the rate parameter, obtain an instantaneous transmission rate of the service data packet to be scheduled, an average rate threshold of the service to be scheduled, and an actual transmission average rate of the service to be scheduled, and according to the instantaneous transmission average The rate, the average rate threshold, and the actual transmission average rate are calculated to obtain parameter values corresponding to the rate parameter.
  • the processor 52 is further configured to: obtain a delay jitter value of the to-be-scheduled service data packet, a delay jitter threshold of the to-be-scheduled service, and use the delay jitter value and the delay when the existing QoS parameter includes the delay jitter parameter.
  • the jitter threshold is calculated to obtain the parameter value corresponding to the delay jitter parameter.
  • the processor 52 is further configured to acquire a parameter value corresponding to the new QoS parameter when acquiring a new QoS requirement of the current to-be-scheduled service, and acquire a corresponding right of the QoS parameter. value.
  • the processor 52 is further configured to calculate a QoS metric according to a parameter value of the existing QoS parameter, a weight corresponding to the existing QoS parameter, a parameter value of the new QoS parameter, and a weight corresponding to the new QoS parameter;
  • the QoS metric value is calculated according to the parameter value of the existing QoS parameter, the weight corresponding to the existing QoS parameter, the parameter value of the new QoS parameter, the weight corresponding to the new QoS parameter, and the value corresponding to the service priority.
  • the processor 52 is further configured to: when there are multiple to-be-scheduled services, obtain a QoS metric corresponding to each to-be-scheduled service; and perform a weighted calculation on the QoS metric corresponding to each to-be-scheduled service and the corresponding scheduling algorithm value, respectively.
  • the scheduling value of each to-be-scheduled service is obtained, and the to-be-scheduled service corresponding to the maximum scheduling value is preferentially scheduled.
  • the scheduling algorithm value represents a value obtained by the scheduling algorithm by the scheduling algorithm, and the scheduling value is used to indicate the order in which the to-be-scheduled services are scheduled.
  • the sum of the ownership values corresponding to the service to be scheduled is 1, and the demand degree of the QoS parameter is positively correlated with the weight corresponding to the QoS parameter, and the demand degree is used to characterize the degree to which the QoS parameter is valued in the service to be scheduled. The higher the demand, the more attention is paid to the QoS parameters in the services to be scheduled.
  • FIG. 5 the apparatus shown in FIG. 5 above is used to execute the method flow shown in FIG. 1 to FIG. 2, and is used to implement the apparatus shown in FIG. 3 and FIG.
  • the embodiment of the present invention provides a base station, after acquiring the parameter value corresponding to the existing QoS parameter of the to-be-scheduled service and the weight corresponding to the existing QoS parameter, calculating the QoS of the to-be-scheduled service by using the parameter value and the weight value.
  • the metric value because the weights of different services are different, can be differentiated by the weight, so that a more accurate QoS scheduling value can be calculated.
  • the QoS metrics of the services are obtained in the same manner, so that it is difficult to perform service differentiation in the service scheduling process, and the service implementation fails.
  • the technical solution provided by the embodiment of the present invention can calculate a more accurate QoS scheduling value of the service, thereby being accurate. Realize business scheduling and improve the success rate of business realization.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and is When the product is sold or used, it can be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Abstract

The present invention relates to the technical field of wireless communications. Disclosed are a quality of service measurement method and apparatus, and a base station, which are used to solve the problem of business service failure caused by the fact that a QoS characteristic requirement of a business cannot be met since resources cannot be allocated to the business in time. Specific embodiments provided by the present invention comprise: after parameter values corresponding to existing QoS parameters of a business to be scheduled and weights corresponding to the existing QoS parameters are acquired, calculating a QoS measurement value of the business to be scheduled via these parameter values and weights. Since different businesses have different weights, businesses can be distinguished by means of weights, such that more accurate QoS measurement values of the businesses can be calculated. The embodiments of the present invention are mainly applied to a business-based QoS parameter measurement flow.

Description

一种服务质量度量方法、装置及一种基站Method and device for measuring quality of service and a base station 技术领域Technical field
本发明涉及无线通信技术领域,尤其涉及一种服务质量度量方法、装置及一种基站。The present invention relates to the field of wireless communication technologies, and in particular, to a service quality measurement method and apparatus, and a base station.
背景技术Background technique
在当前的无线通信技术中,为了满足用户的业务体验,提出了业务的QoS(英文全称为:Quality of Service,中文全称为:服务质量)概念,用户需求可以通过QoS特性体现。目前基站通过业务的QoS特性为业务分配无线资源,从而提高用户的业务体验。而基站对业务的无线资源分配过程,也就是基站通过业务的QoS度量方法实现业务QoS调度的过程,而在该调度过程中,通过业务的QoS度量算法得到业务的QoS度量值非常重要。In the current wireless communication technology, in order to satisfy the user's service experience, the concept of QoS (English: Quality of Service, full name: quality of service) is proposed, and user requirements can be reflected by QoS characteristics. Currently, the base station allocates radio resources to services through the QoS feature of the service, thereby improving the user experience. The radio resource allocation process of the base station to the service is a process in which the base station implements the service QoS scheduling by using the QoS measurement method of the service, and in the scheduling process, it is very important to obtain the QoS metric value of the service through the QoS measurement algorithm of the service.
现有对业务的调度过程中,基于QoS特性中的速率参数和时延参数进行QoS度量,并最终实现业务资源的分配。比如采用增强型比例公平算法实现QoS度量。在具体实现过程中,这一方法适用于传统的业务类型,比如视频流业务、话音业务,其中,视频流业务对业务的速率要求较高,话音业务对业务的实时性要求较高,所以通过现有方法能够实现对上述两类业务的无线资源分配。但是,随着无线通信网络的发展,未来移动互联网衍生出了一些新型业务,如移动支付,微信等。这些新型业务在实现过程中有不同QoS需求,如移动支付业务,不仅需要保证业务的带宽即速率,同时也要求低的端到端时延和低的丢包率和误码率,此时,如果继续沿用上述QoS的度量方法,只能兼顾到QoS中的速率参数和时延参数特性,而对于这一新型业务的其它QoS特性需求将不能被满足,在后续的业务调度过程中,就会因为未及时准 确地分配到资源而导致业务失败。In the existing scheduling process for services, QoS metrics are performed based on rate parameters and delay parameters in the QoS characteristics, and finally, service resources are allocated. For example, an enhanced proportional fairness algorithm is used to implement QoS metrics. In a specific implementation process, the method is applicable to a traditional service type, such as a video stream service and a voice service. The video stream service requires a higher rate of the service, and the voice service requires a higher real-time service, so The existing method can realize wireless resource allocation to the above two types of services. However, with the development of wireless communication networks, the mobile Internet has spawned some new services, such as mobile payment and WeChat. These new services have different QoS requirements in the implementation process, such as mobile payment services, which not only need to guarantee the bandwidth of the service, ie, the rate, but also require low end-to-end delay and low packet loss rate and bit error rate. If the metric method of the above QoS is continued, only the rate parameter and the delay parameter characteristic in the QoS can be taken into consideration, and other QoS characteristic requirements for the new service cannot be satisfied, and in the subsequent service scheduling process, Because it is not timely Really assigned to resources and cause business to fail.
发明内容Summary of the invention
本发明的实施例提供一种服务质量度量方法、装置及一种基站,在业务调度过程中,用于解决不能为业务及时准确地分配到资源,而使业务QoS特性需求不能被满足而导致业务服务失败问题。An embodiment of the present invention provides a QoS method and apparatus, and a base station, which is used in a service scheduling process to solve a problem that a service cannot be timely and accurately allocated to a resource, and a service QoS characteristic requirement cannot be satisfied. Service failure issue.
为达到上述目的,本发明的实施例采用如下技术方案:In order to achieve the above object, embodiments of the present invention adopt the following technical solutions:
本发明实施例的第一方面,提供一种服务质量度量方法,在所述方法中,待调度业务设置有至少一种服务质量QoS参数,当所述待调度业务不同时,所述不同的待调度业务对应的权值中至少有一个不同,所述方法包括:A first aspect of the embodiments of the present invention provides a QoS measurement method, where a to-be-scheduled service is configured with at least one quality of service QoS parameter, and when the to-be-scheduled service is different, the different to-be-scheduled At least one of the weights corresponding to the scheduling service is different, and the method includes:
获取所述待调度业务的已有QoS参数的参数值和已有QoS参数对应的权值,已有QoS参数与所述已有QoS参数对应的权值一一对应;Obtaining a parameter value of the existing QoS parameter of the to-be-scheduled service and a weight corresponding to the existing QoS parameter, and the existing QoS parameter has a one-to-one correspondence with the weight corresponding to the existing QoS parameter;
通过所述已有QoS参数的参数值和所述已有QoS参数对应的权值,计算得到所述待调度业务的QoS度量值,所述QoS度量值为用于度量所述待调度业务服务质量的数值。Calculating, by using the parameter value of the existing QoS parameter and the weight corresponding to the existing QoS parameter, a QoS metric value of the to-be-scheduled service, where the QoS metric value is used to measure the service quality of the to-be-scheduled service The value.
结合第一方面,在第一方面的第一种可能实现方式中,在计算所述待调度业务的QoS度量值之前,所述方法还包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, before calculating the QoS metric value of the to-be-scheduled service, the method further includes:
获取所述待调度业务对应的业务优先级;Obtaining a service priority corresponding to the to-be-scheduled service;
通过所述业务优先级对应的数值、所述已有QoS参数的参数值和所述已有QoS参数对应的权值,计算得到所述QoS度量值。The QoS metric value is calculated by using a value corresponding to the service priority, a parameter value of the existing QoS parameter, and a weight corresponding to the existing QoS parameter.
结合第一方面或第一方面的第一种可能实现方式,在第一方面的第二种可能实现方式中,获取所述待调度业务的已有QoS参数的参数值,包括:With reference to the first aspect, or the first possible implementation manner of the first aspect, in a second possible implementation manner of the foregoing aspect, the acquiring, by using the parameter value of the existing QoS parameter of the to-be-scheduled service, includes:
当所述已有QoS参数包括丢包率参数时,获取所述待调度业 务的平均丢包率和所述待调度业务的丢包率门限,并根据所述平均丢包率和所述丢包率门限计算得到所述丢包率参数对应的参数值;Obtaining the to-be-scheduled industry when the existing QoS parameter includes a packet loss rate parameter The average packet loss rate and the packet loss rate threshold of the to-be-scheduled service, and the parameter value corresponding to the packet loss rate parameter is calculated according to the average packet loss rate and the packet loss rate threshold;
或者,当所述已有QoS参数包括时延参数时,获取所述待调度业务等待传输的时延和所述待调度业务的时隙门限,并根据所述时延和所述时延门限计算得到所述时延参数对应的参数值;Or, when the existing QoS parameter includes a delay parameter, obtaining a delay of the to-be-scheduled service waiting for transmission and a time slot threshold of the to-be-scheduled service, and calculating according to the delay and the delay threshold Obtaining a parameter value corresponding to the delay parameter;
或者,当所述已有QoS参数包括速率参数时,获取所述待调度业务数据包的瞬时传输速率、所述待调度业务的平均速率门限和所述待调度业务的实际传输平均速率,并根据所述瞬时传输平均速率、所述平均数率门限和所述实际传输平均速率计算得到所述速率参数对应的参数值;Or, when the existing QoS parameter includes a rate parameter, obtaining an instantaneous transmission rate of the to-be-scheduled service data packet, an average rate threshold of the to-be-scheduled service, and an actual transmission average rate of the to-be-scheduled service, and according to Calculating, by the instantaneous transmission average rate, the average rate threshold, and the actual transmission average rate, a parameter value corresponding to the rate parameter;
或者,当所述已有QoS参数包括时延抖动参数时,获取所述待调度业务数据包传输的时延抖动值、所述待调度业务的时延抖动门限,并通过所述时延抖动值和所述时延抖动门限计算得到所述时延抖动参数对应的参数值。Or, when the existing QoS parameter includes a delay jitter parameter, obtaining a delay jitter value of the to-be-scheduled service data packet, a delay jitter threshold of the to-be-scheduled service, and using the delay jitter value And calculating, by the delay jitter threshold, a parameter value corresponding to the delay jitter parameter.
结合第一方面、第一方面的第一种可能实现方式、第一方面的第二种可能实现方式中的任意一种或几种实现方式,在第一方面的第三种可能实现方式中,所述方法还包括:In combination with the first aspect, the first possible implementation of the first aspect, the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, The method further includes:
当所述待调度业务存在新的QoS需求时,获取新的QoS参数对应的参数值,并获取新的QoS参数对应的权值;When a new QoS requirement exists in the to-be-scheduled service, acquiring a parameter value corresponding to the new QoS parameter, and acquiring a weight corresponding to the new QoS parameter;
根据所述已有QoS参数的参数值、所述已有QoS参数对应的权值、所述新的QoS参数的参数值和所述新的QoS参数对应的权值计算得到所述QoS度量值;And calculating, according to the parameter value of the existing QoS parameter, the weight corresponding to the existing QoS parameter, the parameter value of the new QoS parameter, and the weight corresponding to the new QoS parameter, the QoS metric value;
或者,根据所述已有QoS参数的参数值、所述已有QoS参数对应的权值、所述新的QoS参数的参数值、所述新的QoS参数对应的权值和所述业务优先级对应的数值计算得到所述QoS度量 值。Or according to the parameter value of the existing QoS parameter, the weight corresponding to the existing QoS parameter, the parameter value of the new QoS parameter, the weight corresponding to the new QoS parameter, and the service priority. Corresponding numerical calculations to obtain the QoS metric value.
结合第一方面、第一方面的第一种可能实现方式、第一方面的第二种可能实现方式、第一方面的第三种可能实现方式中的任意一种或几种实现方式,在第一方面的第四种可能实现方式中,当存在多个所述待调度业务时,所述方法还包括:In combination with the first aspect, the first possible implementation of the first aspect, the second possible implementation of the first aspect, or any one or more of the third possible implementations of the first aspect, In a fourth possible implementation manner, the method further includes: when there are multiple to-be-scheduled services, the method further includes:
获取每个所述待调度业务对应的QoS度量值;Obtaining a QoS metric corresponding to each of the to-be-scheduled services;
分别将所述每个待调度业务对应的QoS度量值与相应的调度算法值进行加权计算,得到每个所述待调度业务的调度值,所述调度算法值表示所述待调度业务通过调度算法得到的数值,所述调度值用于表示所述待调度业务被调度的顺序;And performing a weighting calculation on the QoS metric value corresponding to each to-be-scheduled service and the corresponding scheduling algorithm value, respectively, to obtain a scheduling value of each to-be-scheduled service, where the scheduling algorithm value indicates that the to-be-scheduled service passes the scheduling algorithm The obtained value, the scheduling value is used to indicate an order in which the to-be-scheduled service is scheduled;
优先调度最大调度值对应的待调度业务。The service to be scheduled corresponding to the maximum scheduling value is preferentially scheduled.
结合第一方面、第一方面的第一种可能实现方式、第一方面的第二种可能实现方式、第一方面的第三种可能实现方式、第一方面的第四种可能实现方式中的任意一种或几种实现方式,在第一方面的第五种可能实现方式中,所述方法包括:所述待调度业务对应的所有权值之和为1,且对所述QoS参数的需求度与所述QoS参数对应的权值正相关,所述需求度用于表征所述QoS参数在所述待调度业务中受重视的程度,所述需求度越高,所述QoS参数在所述待调度业务中越受重视。With reference to the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, the third possible implementation manner of the first aspect, and the fourth possible implementation manner of the first aspect In any one or more implementation manners, in a fifth possible implementation manner of the first aspect, the method includes: a sum of ownership values corresponding to the to-be-scheduled service is 1, and a requirement for the QoS parameter a positive correlation with a weight corresponding to the QoS parameter, where the required degree is used to represent a degree to which the QoS parameter is valued in the to-be-scheduled service, and the higher the required degree, the QoS parameter is in the The more attention is paid to the dispatching business.
本发明实施例的第二方面,提供一种服务质量度量装置,待调度业务设置有至少一种服务质量QoS参数,当所述待调度业务不同时,所述不同的待调度业务对应的权值中至少有一个不同,所述装置包括:A second aspect of the embodiments of the present invention provides a service quality metric apparatus, where a to-be-scheduled service is configured with at least one quality of service QoS parameter, and when the to-be-scheduled service is different, the weight of the different to-be-scheduled service is corresponding. At least one of the differences, the device includes:
获取单元,用于获取所述待调度业务的已有QoS参数的参数值和已有QoS参数对应的权值,已有QoS参数与所述已有QoS参数对应的权值一一对应; An obtaining unit, configured to obtain a parameter value of an existing QoS parameter of the to-be-scheduled service and a weight corresponding to the existing QoS parameter, where the existing QoS parameter has a one-to-one correspondence with the weight corresponding to the existing QoS parameter;
计算单元,用于通过所述获取单元获取到的所述已有QoS参数的参数值和所述已有QoS参数对应的权值,计算得到所述待调度业务的QoS度量值,所述QoS度量值为用于度量所述待调度业务服务质量的数值。a calculating unit, configured to calculate, by using the parameter value of the existing QoS parameter and the weight corresponding to the existing QoS parameter, the QoS metric of the to-be-scheduled service, the QoS metric The value is a value used to measure the quality of service to be scheduled.
结合第二方面,在第二方面的第一种可能实现方式中,所述获取单元,还用于在所述计算单元计算所述待调度业务的QoS度量值之前,获取所述待调度业务对应的业务优先级;With reference to the second aspect, in a first possible implementation manner of the second aspect, the acquiring unit is further configured to obtain, after the computing unit calculates the QoS metric value of the to-be-scheduled service, Business priority
所述计算单元,还用于通过所述获取单元获取到的所述业务优先级对应的数值、所述已有QoS参数的参数值和所述已有QoS参数对应的权值,计算得到所述QoS度量值。The calculating unit is further configured to calculate, by using the value corresponding to the service priority acquired by the acquiring unit, a parameter value of the existing QoS parameter, and a weight corresponding to the existing QoS parameter, QoS metrics.
结合第二方面或第二方面的第一种可能实现方式,在第二方面的第二种可能实现方式中,With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect,
所述获取单元,还用于当所述已有QoS参数包括丢包率参数时,获取所述待调度业务的平均丢包率和所述待调度业务的丢包率门限;The acquiring unit is further configured to: when the existing QoS parameter includes a packet loss rate parameter, obtain an average packet loss rate of the to-be-scheduled service and a packet loss rate threshold of the to-be-scheduled service;
所述计算单元,还用于根据所述获取单元获取到的所述平均丢包率和所述丢包率门限计算得到所述丢包率参数对应的参数值;The calculating unit is further configured to calculate, according to the average packet loss rate and the packet loss rate threshold acquired by the acquiring unit, a parameter value corresponding to the packet loss rate parameter;
或者,or,
所述获取单元,还用于当所述已有QoS参数包括时延参数时,获取所述待调度业务等待传输的时延和所述待调度业务的时隙门限;The acquiring unit is further configured to: when the existing QoS parameter includes a delay parameter, obtain a delay of waiting for the to-be-scheduled service to be transmitted, and a time slot threshold of the to-be-scheduled service;
所述计算单元,还用于根据所述获取单元获取到的所述时延和所述时延门限计算得到所述时延参数对应的参数值;The calculating unit is further configured to calculate, according to the time delay acquired by the acquiring unit and the delay threshold, a parameter value corresponding to the delay parameter;
或者,or,
所述获取单元,还用于当所述已有QoS参数包括速率参数时, 获取所述待调度业务数据包的瞬时传输速率、所述待调度业务的平均速率门限和所述待调度业务的实际传输平均速率;The obtaining unit is further configured to: when the existing QoS parameter includes a rate parameter, Obtaining an instantaneous transmission rate of the to-be-scheduled service data packet, an average rate threshold of the to-be-scheduled service, and an actual transmission average rate of the to-be-scheduled service;
所述计算单元,还用于根据所述获取单元获取到的所述瞬时传输平均速率、所述平均数率门限和所述实际传输平均速率计算得到所述速率参数对应的参数值;The calculating unit is further configured to calculate, according to the instantaneous transmission average rate, the average rate threshold, and the actual transmission average rate obtained by the acquiring unit, a parameter value corresponding to the rate parameter;
或者,or,
所述获取单元,还用于当所述已有QoS参数包括时延抖动参数时,获取所述待调度业务数据包传输的时延抖动值、所述待调度业务的时延抖动门限;The acquiring unit is further configured to: when the existing QoS parameter includes a delay jitter parameter, obtain a delay jitter value of the to-be-scheduled service data packet transmission, and a delay jitter threshold of the to-be-scheduled service;
所述计算单元,还用于通过所述获取单元获取到的所述时延抖动值和所述时延抖动门限计算得到所述时延抖动参数对应的参数值。The calculating unit is further configured to calculate, by using the delay jitter value and the delay jitter threshold obtained by the acquiring unit, a parameter value corresponding to the delay jitter parameter.
结合第二方面、第二方面的第一种可能实现方式、第二方面的第二种可能实现方式中的任意一种或几种实现方式,在第二方面的第三种可能实现方式中,With reference to the second aspect, the first possible implementation manner of the second aspect, the second possible implementation manner of the second aspect, or the third possible implementation manner of the second aspect,
所述获取单元,还用于当所述待调度业务存在新的QoS需求时,获取新的QoS参数对应的参数值,并获取新的QoS参数对应的权值;The acquiring unit is further configured to: when a new QoS requirement exists in the to-be-scheduled service, obtain a parameter value corresponding to the new QoS parameter, and acquire a weight corresponding to the new QoS parameter;
所述计算单元,还用于根据所述获取单元获取到的所述已有QoS参数的参数值、所述已有QoS参数对应的权值、所述新的QoS参数的参数值和所述新的QoS参数对应的权值计算得到所述QoS度量值;The calculating unit is further configured to: use, according to the acquiring, the parameter value of the existing QoS parameter, the weight corresponding to the existing QoS parameter, the parameter value of the new QoS parameter, and the new The QoS parameter corresponding to the QoS parameter is calculated to obtain the QoS metric value;
或者,所述计算单元,还用于根据所述已有QoS参数的参数值、所述已有QoS参数对应的权值、所述新的QoS参数的参数值、所述新的QoS参数对应的权值和所述业务优先级对应的数值计算得到所述QoS度量值。 Or the calculating unit is further configured to: according to the parameter value of the existing QoS parameter, the weight corresponding to the existing QoS parameter, the parameter value of the new QoS parameter, and the new QoS parameter. The weight value and the value corresponding to the service priority are calculated to obtain the QoS metric value.
结合第二方面、第二方面的第一种可能实现方式、第二方面的第二种可能实现方式、第二方面的第三种可能实现方式中的任意一种或几种实现方式,在第二方面的第四种可能实现方式中,当存在多个所述待调度业务时,所述装置还包括:In combination with the second aspect, the first possible implementation of the second aspect, the second possible implementation of the second aspect, and any one or more of the third possible implementations of the second aspect, In a fourth possible implementation of the second aspect, when there are multiple to-be-scheduled services, the device further includes:
所述获取单元,用于获取每个所述待调度业务对应的QoS度量值;The obtaining unit is configured to obtain a QoS metric corresponding to each to-be-scheduled service;
所述计算单元,还用于分别将所述获取单元获取到的所述每个待调度业务对应的QoS度量值与相应的调度算法值进行加权计算,得到每个所述待调度业务的调度值,所述调度算法值表示所述待调度业务通过调度算法得到的数值,所述调度值用于表示所述待调度业务被调度的顺序;The calculating unit is further configured to perform weighting calculation on the QoS metric value corresponding to each to-be-scheduled service and the corresponding scheduling algorithm value, respectively, to obtain a scheduling value of each of the to-be-scheduled services. The scheduling algorithm value indicates a value obtained by the scheduling algorithm by using a scheduling algorithm, where the scheduling value is used to indicate an order in which the to-be-scheduled service is scheduled;
调度单元,用于根据所述计算单元得到的所述每个所述待调度业务的调度值,优先调度最大调度值对应的待调度业务。The scheduling unit is configured to preferentially schedule the to-be-scheduled service corresponding to the maximum scheduling value according to the scheduling value of each of the to-be-scheduled services obtained by the computing unit.
结合第二方面、第二方面的第一种可能实现方式、第二方面的第二种可能实现方式、第二方面的第三种可能实现方式、第二方面的第四种可能实现方式中的任意一种或几种实现方式,在第二方面的第五种可能实现方式中,所述待调度业务对应的所有权值之和为1,且对所述QoS参数的需求度与所述QoS参数在所述待调度业务中受重视的程度,所述需求度越高,所述QoS参数在所述待调度业务中越受重视。With reference to the second aspect, the first possible implementation manner of the second aspect, the second possible implementation manner of the second aspect, the third possible implementation manner of the second aspect, and the fourth possible implementation manner of the second aspect In any one or more implementation manners, in a fifth possible implementation manner of the second aspect, the sum of the ownership values corresponding to the to-be-scheduled service is 1, and the requirement for the QoS parameter and the QoS parameter The degree of importance in the to-be-scheduled service, the higher the demand degree, the more attention is paid to the QoS parameter in the to-be-scheduled service.
本发明实施例的第三方面,提供一种基站,待调度业务设置有至少一种服务质量QoS参数,当所述待调度业务不同时,所述不同的待调度业务对应的权值中至少有一个不同,所述基站包括:A third aspect of the present invention provides a base station, where a to-be-scheduled service is configured with at least one quality of service QoS parameter, and when the to-be-scheduled service is different, at least one of the weights of the different to-be-scheduled services is One difference is that the base station includes:
存储器,用于存储包括程序指令的信息;a memory for storing information including program instructions;
处理器,与所述存储器耦合,用于控制所述程序指令的执行,具体用于,获取所述待调度业务的已有QoS参数的参数值和已有QoS 参数对应的权值,已有QoS参数与所述已有QoS参数对应的权值一一对应;a processor, coupled to the memory, for controlling execution of the program instruction, specifically, acquiring parameter values of existing QoS parameters of the to-be-scheduled service and existing QoS The weight corresponding to the parameter, the existing QoS parameter has a one-to-one correspondence with the weight corresponding to the existing QoS parameter;
通过所述已有QoS参数的参数值和所述已有QoS参数对应的权值,计算得到所述待调度业务的QoS度量值,所述QoS度量值为用于度量所述待调度业务服务质量的数值。Calculating, by using the parameter value of the existing QoS parameter and the weight corresponding to the existing QoS parameter, a QoS metric value of the to-be-scheduled service, where the QoS metric value is used to measure the service quality of the to-be-scheduled service The value.
结合第三方面,在第三方面的第一种可能实现方式中,In conjunction with the third aspect, in a first possible implementation of the third aspect,
所述处理器,还用于在计算所述待调度业务的QoS度量值之前,获取所述待调度业务对应的业务优先级;通过所述业务优先级对应的数值、所述已有QoS参数的参数值和所述已有QoS参数对应的权值,计算得到所述QoS度量值。The processor is further configured to: before calculating a QoS metric value of the to-be-scheduled service, obtain a service priority corresponding to the to-be-scheduled service; use a value corresponding to the service priority, and the existing QoS parameter The parameter value and the weight corresponding to the existing QoS parameter are calculated to obtain the QoS metric value.
结合第三方面或第三方面的第一种可能实现方式,在第三方面的第二种可能实现方式中,With reference to the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect,
所述处理器,还用于当所述已有QoS参数包括丢包率参数时,获取所述待调度业务的平均丢包率和所述待调度业务的丢包率门限,并根据所述平均丢包率和所述丢包率门限计算得到所述丢包率参数对应的参数值;The processor is further configured to: when the existing QoS parameter includes a packet loss rate parameter, obtain an average packet loss rate of the to-be-scheduled service and a packet loss rate threshold of the to-be-scheduled service, and according to the average The packet loss rate and the packet loss rate threshold are calculated to obtain parameter values corresponding to the packet loss rate parameter;
或者,当所述已有QoS参数包括时延参数时,获取所述待调度业务等待传输的时延和所述待调度业务的时隙门限,并根据所述时延和所述时延门限计算得到所述时延参数对应的参数值;Or, when the existing QoS parameter includes a delay parameter, obtaining a delay of the to-be-scheduled service waiting for transmission and a time slot threshold of the to-be-scheduled service, and calculating according to the delay and the delay threshold Obtaining a parameter value corresponding to the delay parameter;
或者,当所述已有QoS参数包括速率参数时,获取所述待调度业务数据包的瞬时传输速率、所述待调度业务的平均速率门限和所述待调度业务的实际传输平均速率,并根据所述瞬时传输平均速率、所述平均数率门限和所述实际传输平均速率计算得到所述速率参数对应的参数值;Or, when the existing QoS parameter includes a rate parameter, obtaining an instantaneous transmission rate of the to-be-scheduled service data packet, an average rate threshold of the to-be-scheduled service, and an actual transmission average rate of the to-be-scheduled service, and according to Calculating, by the instantaneous transmission average rate, the average rate threshold, and the actual transmission average rate, a parameter value corresponding to the rate parameter;
或者,当所述已有QoS参数包括时延抖动参数时,获取所述待调度业务数据包传输的时延抖动值、所述待调度业务的时延抖 动门限,并通过所述时延抖动值和所述时延抖动门限计算得到所述时延抖动参数对应的参数值。Or, when the existing QoS parameter includes a delay jitter parameter, acquiring a delay jitter value of the to-be-scheduled service data packet transmission, and delaying the time delay of the to-be-scheduled service And moving a threshold, and calculating a parameter value corresponding to the delay jitter parameter by using the delay jitter value and the delay jitter threshold.
结合第三方面、第三方面的第一种可能实现方式、第三方面的第二种可能实现方式中的任意一种或几种实现方式,在第三方面的第三种可能实现方式中,With reference to the third aspect, the first possible implementation manner of the third aspect, the second possible implementation manner of the third aspect, or the third possible implementation manner of the third aspect,
所述处理器,还用于当所述待调度业务存在新的QoS需求时,获取新的QoS参数对应的参数值,并获取新的QoS参数对应的权值;The processor is further configured to: when a new QoS requirement exists in the to-be-scheduled service, obtain a parameter value corresponding to a new QoS parameter, and acquire a weight corresponding to the new QoS parameter;
根据所述已有QoS参数的参数值、所述已有QoS参数对应的权值、所述新的QoS参数的参数值和所述新的QoS参数对应的权值计算得到所述QoS度量值;还用于根据所述已有QoS参数的参数值、所述已有QoS参数对应的权值、所述新的QoS参数的参数值、所述新的QoS参数对应的权值和所述业务优先级对应的数值计算得到所述QoS度量值。And calculating, according to the parameter value of the existing QoS parameter, the weight corresponding to the existing QoS parameter, the parameter value of the new QoS parameter, and the weight corresponding to the new QoS parameter, the QoS metric value; And a parameter value according to the existing QoS parameter, a weight corresponding to the existing QoS parameter, a parameter value of the new QoS parameter, a weight corresponding to the new QoS parameter, and the service priority The value corresponding to the level is calculated to obtain the QoS metric value.
结合第三方面、第三方面的第一种可能实现方式、第三方面的第二种可能实现方式、第三方面的第三种可能实现方式中的任意一种或几种实现方式,在第三方面的第四种可能实现方式中,Combining the third aspect, the first possible implementation manner of the third aspect, the second possible implementation manner of the third aspect, and any one or more implementation manners of the third possible implementation manner of the third aspect, In the fourth possible implementation of the three aspects,
所述处理器,还用于当存在多个所述待调度业务时,获取每个所述待调度业务对应的QoS度量值;分别将所述每个待调度业务对应的QoS度量值与相应的调度算法值进行加权计算,得到每个所述待调度业务的调度值,所述调度算法值表示所述待调度业务通过调度算法得到的数值,所述调度值用于表示所述待调度业务被调度的顺序;The processor is further configured to: when there are multiple to-be-scheduled services, obtain a QoS metric corresponding to each to-be-scheduled service; and respectively perform QoS metrics corresponding to each to-be-scheduled service and corresponding The scheduling algorithm value is weighted to obtain a scheduling value of each of the to-be-scheduled services, where the scheduling algorithm value represents a value obtained by the scheduling algorithm by using a scheduling algorithm, where the scheduling value is used to indicate that the to-be-scheduled service is Order of scheduling;
优先调度最大调度值对应的待调度业务。The service to be scheduled corresponding to the maximum scheduling value is preferentially scheduled.
结合第三方面、第三方面的第一种可能实现方式、第三方面的第二种可能实现方式、第三方面的第三种可能实现方式、第三 方面的第四种可能实现方式中的任意一种或几种实现方式,在第三方面的第五种可能实现方式中,所述待调度业务对应的所有权值之和为1,且对所述QoS参数的需求度与所述QoS参数对应的权值正相关,所述需求度用于表征所述QoS参数在所述待调度业务中受重视的程度,所述需求度越高,所述QoS参数在所述待调度业务中越受重视。With reference to the third aspect, the first possible implementation manner of the third aspect, the second possible implementation manner of the third aspect, the third possible implementation manner of the third aspect, and the third In a fifth possible implementation manner of the third aspect, the sum of the ownership values corresponding to the to-be-scheduled service is 1, and The degree of demand of the QoS parameter is positively correlated with the weight corresponding to the QoS parameter, and the degree of demand is used to represent the degree to which the QoS parameter is valued in the to-be-scheduled service, and the higher the demand degree, the QoS The more important the parameters are in the to-be-scheduled service.
本发明实施例提供了一种服务质量度量方法、装置及一种基站,在获取到待调度业务的已有QoS参数的参数值和已有QoS参数对应的权值之后,通过这些参数值和权值来计算待调度业务的QoS度量值,由于不同业务的权值不同,能够通过权值进行业务区分,从而能够计算出业务更为准确的QoS度量值。而现有技术的QoS度量方法中,很大程度上得到的业务的QoS度量值相同,从而在业务调度过程中难以进行业务区分,从而导致业务实现失败。但是本发明实施例提供的技术方案,能够计算出业务更为准确的QoS调度值,从而准确地实现业务调度,提高业务实现的成功率。The embodiment of the invention provides a method and device for measuring quality of service, and a base station, after obtaining the parameter value of the existing QoS parameter of the to-be-scheduled service and the weight corresponding to the existing QoS parameter, the parameter value and the weight are adopted. The value is used to calculate the QoS metric value of the service to be scheduled. Because the weights of different services are different, the service can be distinguished by the weight, so that a more accurate QoS metric value can be calculated. In the QoS measurement method of the prior art, the QoS metrics of the services are obtained in the same manner, so that it is difficult to perform service differentiation in the service scheduling process, and the service implementation fails. However, the technical solution provided by the embodiment of the present invention can calculate a more accurate QoS scheduling value of the service, thereby accurately implementing service scheduling and improving the success rate of service implementation.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图1为本发明一实施例提供的一种度量服务质量的方法流程图;FIG. 1 is a flowchart of a method for measuring quality of service according to an embodiment of the present invention;
图2为本发明另一实施例提供的一种度量服务质量的方法流程图; 2 is a flowchart of a method for measuring quality of service according to another embodiment of the present invention;
图2-1为本发明另一实施例提供的一种应用度量服务质量的方法基站的结构组成示意图;2-1 is a schematic structural diagram of a base station for applying a method for measuring quality of service according to another embodiment of the present invention;
图3为本发明另一实施例提供的一种度量服务质量装置的结构组成示意图;3 is a schematic structural diagram of a metric service quality apparatus according to another embodiment of the present invention;
图4为本发明另一实施例提供的另一种度量服务质量装置的结构组成示意图;FIG. 4 is a schematic structural diagram of another metric service quality apparatus according to another embodiment of the present invention; FIG.
图5为本发明另一实施例提供的具有服务质量度量功能的基站结构组成示意图。FIG. 5 is a schematic structural diagram of a base station with a QoS function according to another embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本文中描述的各种技术可用于各种无线通信***,例如当前2G,3G通信***和下一代通信***,例如全球移动通信***(GSM,Global System for Mobile communications),码分多址(CDMA,Code Division Multiple Access)***,时分多址(TDMA,TimeDivision Multiple Access)***,宽带码分多址(WCDMA,Wideband Code Division Multiple Access Wireless),频分多址(FDMA,Frequency Division Multiple Addressing)***,正交频分多址(OFDMA,Orthogonal Frequency-Division Multiple Access)***,单载波FDMA(SC-FDMA)***,通用分组无线业务(GPRS,General Packet Radio Service)***,长期演进(LTE,Long Term Evolution)***,以及其他此类通信***。 The various techniques described herein can be used in various wireless communication systems, such as current 2G, 3G communication systems and next generation communication systems, such as Global System for Mobile Communications (GSM), Code Division Multiple Access (CDMA, Code Division Multiple Access system, Time Division Multiple Access (TDMA) system, Wideband Code Division Multiple Access (WCDMA), Frequency Division Multiple Access (FDMA), Frequency Division Multiple Addressing (FDMA) system, positive Orthogonal Frequency-Division Multiple Access (OFDMA) system, single carrier FDMA (SC-FDMA) system, General Packet Radio Service (GPRS) system, Long Term Evolution (LTE) Systems, and other such communication systems.
本文中结合终端和/或基站来描述各种方面。Various aspects are described herein in connection with a terminal and/or a base station.
用户设备,可以是无线终端也可以是有线终端,无线终端可以是指向用户提供语音和/或数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。无线终端可以经无线接入网(例如,RAN,Radio Access Network)与一个或多个核心网进行通信,无线终端可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。例如,个人通信业务(PCS,Personal Communication Service)电话、无绳电话、会话发起协议(SIP)话机、无线本地环路(WLL,Wireless Local Loop)站、个人数字助理(PDA,Personal Digital Assistant)等设备。无线终端也可以称为***、订户单元(Subscriber Unit)、订户站(Subscriber Station),移动站(Mobile Station)、移动台(Mobile)、远程站(Remote Station)、接入点(Access Point)、远程终端(Remote Terminal)、接入终端(Access Terminal)、用户终端(User Terminal)、用户代理(User Agent)、用户设备(User Device)、或用户装备(User Equipment)。The user equipment may be a wireless terminal or a wired terminal, and the wireless terminal may be a device that provides voice and/or data connectivity to the user, a handheld device with wireless connectivity, or other processing device connected to the wireless modem. The wireless terminal can communicate with one or more core networks via a radio access network (eg, RAN, Radio Access Network), which can be a mobile terminal, such as a mobile phone (or "cellular" phone) and with a mobile terminal The computers, for example, can be portable, pocket-sized, handheld, computer-integrated or in-vehicle mobile devices that exchange language and/or data with the wireless access network. For example, personal communication service (PCS, Personal Communication Service) telephone, cordless telephone, Session Initiation Protocol (SIP) telephone, Wireless Local Loop (WLL) station, Personal Digital Assistant (PDA, Personal Digital Assistant), etc. . A wireless terminal may also be called a system, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, an access point, or an access point. Remote Terminal, Access Terminal, User Terminal, User Agent, User Device, or User Equipment.
基站(例如,接入点)可以是接入网中在空中接口上通过一个或多个扇区与无线终端通信的设备。基站可用于将收到的空中帧与IP分组进行相互转换,作为无线终端与接入网的其余部分之间的路由器,其中接入网的其余部分可包括网际协议(IP)网络。基站还可协调对空中接口的属性管理。例如,基站可以是GSM或CDMA中的基站(BTS,Base Transceiver Station),也可以是WCDMA中的基站(NodeB),还可以是LTE中的演进型基 站(NodeB或eNB或e-NodeB,evolutional Node B),本发明并不限定。A base station (e.g., an access point) can be a device in an access network that communicates with wireless terminals over one or more sectors over an air interface. The base station can be used to convert the received air frame to the IP packet as a router between the wireless terminal and the rest of the access network, wherein the remainder of the access network can include an Internet Protocol (IP) network. The base station can also coordinate attribute management of the air interface. For example, the base station may be a base station (BTS, Base Transceiver Station) in GSM or CDMA, or may be a base station (NodeB) in WCDMA, or may be an evolved base in LTE. The station (NodeB or eNB or e-NodeB, evolutional Node B), the present invention is not limited.
另外,本文中术语“***”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。Additionally, the terms "system" and "network" are used interchangeably herein. The term "and/or" in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate that A exists separately, and both A and B exist, respectively. B these three situations. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
本发明一实施例提供了一种服务质量度量方法,应用于无线通信***多业务多QoS场景中,通过获取业务的QoS参数对应的参数值,以及这些QoS参数对应的权值来确定业务的QoS度量值,不同业务之间至少存在一个QoS参数对应的权值不同,从而根据参数值以及权值确定出不同的QoS度量值,进而根据确定出的QoS度量值能够全面、准确地进行业务区分,使基站能够根据得到的QoS度量值更好地完成业务调度,提高业务实现的成功率。An embodiment of the present invention provides a QoS measurement method, which is applied to a multi-service QoS scenario in a wireless communication system, and determines a QoS of a service by acquiring parameter values corresponding to QoS parameters of the service and weights corresponding to the QoS parameters. The metric value, at least one QoS parameter corresponding to different QoS parameters is different, so that different QoS metric values are determined according to the parameter value and the weight value, and then the service QoS metric value can be comprehensively and accurately differentiated according to the determined QoS metric value. The base station can better perform service scheduling according to the obtained QoS metric value, and improve the success rate of service implementation.
在本实施例中,QoS度量值为QoS Metrics(中文译文为:度量)对应的数值,为用于度量待调度业务服务质量的数值,能够表示待调度业务服务质量的评估指标。In this embodiment, the QoS metric value is a value corresponding to the QoS Metrics, which is a value used to measure the quality of service to be scheduled, and can represent an evaluation indicator of the service quality of the service to be scheduled.
本发明一实施例提供了一种服务质量度量方法,该方法通过基站执行,如图1所示,这一方法包括:An embodiment of the present invention provides a service quality measurement method, which is performed by a base station, as shown in FIG. 1, the method includes:
101、获取待调度业务的已有QoS参数的参数值和已有QoS参数对应的权值。101. Obtain a parameter value of an existing QoS parameter of the to-be-scheduled service and a weight corresponding to the existing QoS parameter.
在本实施例中,已有QoS参数包括:速率参数、时延参数、丢包率参数、时延抖动参数、误报率参数等,参数值为,通过3GPP(英文全称为:3rd Generation Partnership Project,中文全称为:第三代合作伙伴计划)协议或公开研究的新业务特性获取的各已有QoS参数对应的参数值,且每一个QoS参数对应一个权 值,该权值根据对各已有QoS参数的需求进行配置获得。In this embodiment, the existing QoS parameters include: a rate parameter, a delay parameter, a packet loss rate parameter, a delay jitter parameter, a false alarm rate parameter, etc., and the parameter value is passed through 3GPP (English full name: 3rd Generation Partnership Project) , Chinese full name: Third Generation Partnership Project) protocol or publicly researched new service characteristics to obtain the parameter values corresponding to each existing QoS parameter, and each QoS parameter corresponds to a right A value obtained by configuring the requirements for each existing QoS parameter.
102、通过已有QoS参数的参数值和已有QoS参数对应的权值,计算得到待调度业务的QoS度量值。102. Calculate a QoS metric value of the service to be scheduled by using a parameter value of the existing QoS parameter and a weight corresponding to the existing QoS parameter.
在本发明实施例的具体实现过程中,通过对已有QoS参数的参数值和已有QoS参数对应的权值进行计算,得到QoS度量值。其中,计算形式包括:加权积计算,或者乘积计算等。In the specific implementation process of the embodiment of the present invention, the QoS metric value is obtained by calculating the parameter value of the existing QoS parameter and the weight value corresponding to the existing QoS parameter. Among them, the calculation form includes: weighted product calculation, or product calculation, and the like.
值得说明的是,在包括本实施例在内的本发明实施例中,为了描述简便,通过“参数值”描述“已有QoS参数的参数值”,通过“权值”描述“已有QoS参数对应的权值”,这两组对象代表的含义分别相同,只是为了更为简洁的描述,以简化形式出现。It should be noted that, in the embodiment of the present invention including the present embodiment, for the sake of simplicity of description, "parameter value" describes "parameter value of existing QoS parameter", and "weight" describes "existing QoS parameter". The corresponding weights, the two groups of objects represent the same meaning, but for a more concise description, appear in a simplified form.
当通过乘积形式计算时,比如,待调度业务包括两种已有QoS参数,其对应的参数值分别通过U1和U2表示,这两种QoS参数对应的权值分别通过w1和w2表示,则相应的该待调度业务的QoS度量值U=w1×U1+w2×U2。当然该举例中,待调度业务的QoS度量值还可以通过参数值和其对应的权值进行加权积计算得到,而这一加权积的计算方法可以通过下述公式(0)详述。When calculating by the product form, for example, the to-be-scheduled service includes two existing QoS parameters, and the corresponding parameter values are respectively represented by U1 and U2, and the weights corresponding to the two QoS parameters are respectively represented by w1 and w2, and corresponding The QoS metric value of the to-be-scheduled service is U=w1×U1+w2×U2. Of course, in this example, the QoS metric value of the service to be scheduled can also be calculated by weighted product of the parameter value and its corresponding weight, and the calculation method of the weighted product can be detailed by the following formula (0).
此外,值得说明的是,相比于现有技术,上述提到的参数值与权值的乘积后并作和的运算虽然可以对待调度业务进行区分,但是,相较于乘积运算,参数值和权值进行加权积计算时,收敛要快,并且对QoS度量值的变化敏感,能够以更细微差别进行业务区分,所以下述实施例将详细介绍参数值和权值进行加权积计算以得到QoS度量值的计算流程。In addition, it is worth noting that, compared with the prior art, the above-mentioned operation of summing the product of the parameter value and the weight may be distinguished from the service to be scheduled, but compared with the product operation, the parameter value and When the weight is calculated by weighted product, the convergence is fast, and it is sensitive to the change of the QoS metric value, and the service can be distinguished by more nuances. Therefore, the following embodiments will introduce the weighted product calculation of the parameter value and the weight in detail to obtain the QoS. The process of calculating the metrics.
在本实施例中,以参数值与权值进行加权积计算,得到QoS度量值为例进行说明。比如,待调度业务为业务i,该业务i的QoS参数包括:速率参数、时延参数、丢包率参数,其各自对应的参数值分别通过:
Figure PCTCN2015076104-appb-000001
表示,其中,作为下 标的dr表示数率、d1表示时延、p1r表示丢包率,t表示时间,且上述三种QoS参数对应的权值分别通过:
Figure PCTCN2015076104-appb-000002
表示,结合本实施例步骤102的描述,则业务i的QoS度量值Ui(t)可以通过下述公式(0)获得。
In this embodiment, the weighted product is calculated by using the parameter value and the weight, and the QoS metric value is obtained as an example. For example, the service to be scheduled is the service i, and the QoS parameters of the service i include: a rate parameter, a delay parameter, and a packet loss rate parameter, and the corresponding parameter values respectively pass through:
Figure PCTCN2015076104-appb-000001
In the above, the dr as the subscript indicates the rate, d1 indicates the delay, p1r indicates the packet loss rate, and t indicates the time, and the weights corresponding to the above three QoS parameters are respectively passed:
Figure PCTCN2015076104-appb-000002
It is shown that, in combination with the description of step 102 of the embodiment, the QoS metric value U i (t) of the service i can be obtained by the following formula (0).
Figure PCTCN2015076104-appb-000003
Figure PCTCN2015076104-appb-000003
                                   ……公式(0)...form (0)
为了保证一个业务中的所有的QoS参数对应的权值指示一个业务,在本实施例中,一个业务的全部QoS参数对应的权值,和为1,比如在本实施例中即为:
Figure PCTCN2015076104-appb-000004
且在本发明提供的实施例中,QoS参数的需求度与QoS参数对应的权值正相关,即当待调度业务对任意一种QoS特性需求较高时,则该QoS特性参数对应的权值比其余QoS参数对应的权值大。比如,话音业务涉及的QoS参数包括:时延参数、速率参数,而话音业务对业务的实时性要求较高,则时延参数对应的权值要大于速率参数对应的权值,且其中的,需求度用于表征表征QoS参数在待调度业务中受重视的程度,需求度越高,QoS参数在待调度业务中越受重视。
To ensure that all the QoS parameters in a service indicate a service, in this embodiment, the weights of all the QoS parameters of a service are 1 and, for example, in this embodiment:
Figure PCTCN2015076104-appb-000004
In the embodiment provided by the present invention, the required degree of the QoS parameter is positively correlated with the weight corresponding to the QoS parameter, that is, when the to-be-scheduled service has a high demand for any one of the QoS characteristics, the weight corresponding to the QoS characteristic parameter The weight corresponding to the remaining QoS parameters is larger. For example, the QoS parameters involved in the voice service include: a delay parameter and a rate parameter, and the voice service has a higher real-time requirement for the service, and the weight corresponding to the delay parameter is greater than the weight corresponding to the rate parameter, and wherein, The demand degree is used to characterize the extent to which the QoS parameters are valued in the service to be scheduled. The higher the demand degree, the more attention is paid to the QoS parameters in the service to be scheduled.
值得说明的是,在本实施例中,每种待调度业务设置有至少一种QoS参数,并且待调度业务不同,待调度业务对应的权值中至少有一个不同,比如有两种待调度业务A、B,其中,业务A涉及3个权值,分别为:A1、A2、A3;业务B同样涉及三个权值分别为:B1、B2、B3,则其中这两组数中,每组中至少有一个数的数值与另一组中的数值不同。这样就能够通过权值的差别来进行业务区分。It is to be noted that, in this embodiment, each to-be-scheduled service is configured with at least one QoS parameter, and the to-be-scheduled service is different, and at least one of the weights to be scheduled is different, for example, there are two to-be-scheduled services. A, B, where service A involves 3 weights, respectively: A1, A2, A3; Service B also involves three weights: B1, B2, B3, then each of the two groups The value of at least one of the numbers is different from the value in the other group. This makes it possible to differentiate the business by the difference in weights.
在具体应用过程中,业务的QoS特性包括数据速率,时延,误包率,丢包率,时延抖动等,这些特性可以分别通过速率参数、 时延参数、误包率参数、丢包率参数、时延抖动参数等表示,通过对这些参数的描述来区分不同业务特性。如实时业务中的话音业务,则要求传输时延低,这就需要调度该业务时优先级高以减小调度时延;而又如非实时业务中的视频流业务,则对时延要求低,而对速率要求高,则调度该业务时分配更多的带宽,以保证数据速率。因此,上述的各项QoS参数的比重不同就表示不同的业务,也就是说,可以用这些参数的权值来进行业务区分。比如,话音业务中时延要求高,故可以加大权值,确保该业务的优先调度权。而这些权值的确定是基于业务的特性来确定,也可以根据仿真业务的来确定。一旦业务确定,其权值就确定,不会随时间变化而变化。In a specific application process, the QoS characteristics of the service include data rate, delay, packet error rate, packet loss rate, delay jitter, etc., and these characteristics can respectively pass the rate parameter, The delay parameter, the error packet rate parameter, the packet loss rate parameter, the delay jitter parameter, and the like are represented, and different service characteristics are distinguished by describing the parameters. For example, the voice service in the real-time service requires a low transmission delay, which requires a high priority to reduce the scheduling delay when scheduling the service, and a low delay requirement for the video stream service in the non-real-time service. And the rate requirement is high, then allocate more bandwidth when scheduling the service to ensure the data rate. Therefore, the different proportions of the above various QoS parameters indicate different services, that is, the weights of these parameters can be used for service differentiation. For example, in the voice service, the delay requirement is high, so the weight can be increased to ensure the priority scheduling right of the service. The determination of these weights is based on the characteristics of the service, and can also be determined based on the simulation service. Once the business is determined, its weight is determined and does not change over time.
值得说明的是,在本发明实施例中,在计算待调度业务的QoS度量值时,这一待调度业务包括的QoS参数可以有一种或者几种,相应的,有与QoS参数个数等同的权值个数。结合上述描述,这些参数值和权值进行乘积或者进行加权积计算得到待调度业务的QoS度量值。It should be noted that, in the embodiment of the present invention, when calculating the QoS metric value of the service to be scheduled, the QoS parameter included in the to-be-scheduled service may have one or several types, and correspondingly, the number of QoS parameters is equal. The number of weights. Combined with the above description, these parameter values and weights are multiplied or weighted product is calculated to obtain a QoS metric value of the service to be scheduled.
本发明实施例提供了一种服务质量度量方法,在获取到当前待调度业务的已有QoS参数的参数值和已有QoS参数对应的权值之后,通过这些参数值和权值来计算待调度业务的QoS度量值,由于不同业务的权值不同,能够通过权值进行业务区分,从而能够计算出业务更为准确的QoS度量值。而现有技术的QoS度量方法中,很大程度上得到的业务的QoS度量值相同,从而在业务调度过程中难以进行业务区分,从而导致业务实现失败。但是本发明实施例提供的技术方案,能够计算出业务更为准确的QoS调度值,从而准确地实现业务调度,提高业务实现的成功率。The embodiment of the present invention provides a QoS measurement method. After obtaining the parameter value of the existing QoS parameter of the current to-be-scheduled service and the weight corresponding to the existing QoS parameter, the parameter value and the weight are used to calculate the to-be-scheduled. The QoS metric of the service can be differentiated by the weights because the weights of different services are different, so that more accurate QoS metrics can be calculated. In the QoS measurement method of the prior art, the QoS metrics of the services are obtained in the same manner, so that it is difficult to perform service differentiation in the service scheduling process, and the service implementation fails. However, the technical solution provided by the embodiment of the present invention can calculate a more accurate QoS scheduling value of the service, thereby accurately implementing service scheduling and improving the success rate of service implementation.
值得说明的是,在本发明下述实施例中,“已有QoS参数” 通过“QoS参数”表示,当然在待调度业务存在新的QoS需求时,会相应出现新的QoS参数、新的QoS参数对应的参数值、新的QoS参数对应的权值,而为了简便描述,在本实施例中,上述三个对象分别通过:新的QoS参数、新的参数值、新的权值描述。结合上述步骤102中的描述,只是为不同的对象进行了适应的简化描述,如果有重合的部分,不代表包含意思,比如,参数值只是代表已有QoS参数的参数值,新的参数值只是表示新的QoS参数对应的参数值,而参数值和新的参数值是两个独立的对象,之间不存在从属关系。It should be noted that in the following embodiments of the present invention, "the existing QoS parameters" The "QoS parameter" indicates that, of course, when there is a new QoS requirement for the to-be-scheduled service, new QoS parameters, parameter values corresponding to the new QoS parameters, and weights corresponding to the new QoS parameters appear correspondingly, and for the sake of simplicity, In this embodiment, the above three objects respectively pass: a new QoS parameter, a new parameter value, and a new weight description. In combination with the description in the above step 102, only a simplified description of the adaptation of different objects is performed. If there is a coincident part, it does not mean that the meaning is included. For example, the parameter value is only a parameter value representing an existing QoS parameter, and the new parameter value is only Indicates the parameter value corresponding to the new QoS parameter, and the parameter value and the new parameter value are two independent objects, and there is no affiliation between them.
本发明另一实施例提供了一种服务质量度量方法,基于上述如图1所示实施例的描述,在本实施例中提供了一种新的计算QoS度量值的方法,在这一计算方法中,在获取参数值和权值时,同时考虑了待调度业务的优先级,如图2所示,这一方法包括:Another embodiment of the present invention provides a service quality measurement method. Based on the foregoing description of the embodiment shown in FIG. 1, a new method for calculating a QoS metric value is provided in this embodiment. In the process of obtaining the parameter value and the weight, the priority of the service to be scheduled is considered, as shown in FIG. 2, the method includes:
201、获取待调度业务对应的业务优先级。201. Obtain a service priority corresponding to the service to be scheduled.
202、通过业务优先级对应的数值、参数值和权值,计算得到QoS度量值。202. Calculate the QoS metric value by using a value corresponding to the service priority, a parameter value, and a weight.
值得说明的是,在本实施例中步骤202与上述的步骤102相对应,只是本实施例中得到的QoS度量值,由上述步骤102中得到的QoS度量值与业务优先级对应的数值作乘积得到。It should be noted that, in the embodiment, the step 202 corresponds to the step 102 described above, except that the QoS metric value obtained in the embodiment is multiplied by the QoS metric value obtained in the above step 102 and the value corresponding to the service priority. get.
具体的结合上述步骤102中给出的公式(0)的描述,综合业务优先级之后,QoS度量值的计算方法,可通过下述公式(0-1)得到。Specifically, in combination with the description of the formula (0) given in the above step 102, after the integrated service priority, the calculation method of the QoS metric value can be obtained by the following formula (0-1).
Figure PCTCN2015076104-appb-000005
Figure PCTCN2015076104-appb-000005
                           ……公式(0-1)...form (0-1)
在该公式(0-1)中,λi为业务i的优先级对应的数值,该公式中的其余参数,与上述公式(0)中的相关描述相同,在此 不再重复说明。In the formula (0-1), λ i is a value corresponding to the priority of the service i, and the remaining parameters in the formula are the same as those in the above formula (0), and the description thereof will not be repeated here.
结合上述描述,本发明实施例中,业务优先级主要用于区分大类的业务,如实时业务和非实时业务,业务优先级对应的数值可以通过一个常量表示,业务不同,这个值就不同。一般设定实时业务为高优先级,以确保实时业务应该有更高的调度优先级。该优先级对应的数值是可以由各设备厂商根据自己的实验结果来设置,且在本实施例调度过程中,该值一旦确定便不再调整,以保证业务调度的稳定性。With reference to the foregoing description, in the embodiment of the present invention, the service priority is mainly used to distinguish a large class of services, such as a real-time service and a non-real-time service. The value corresponding to the service priority may be represented by a constant, and the value is different if the service is different. The real-time service is generally set to a high priority to ensure that the real-time service should have a higher scheduling priority. The value corresponding to the priority level can be set by each device manufacturer according to the result of the experiment. In the scheduling process of this embodiment, once the value is determined, the value is not adjusted to ensure the stability of the service scheduling.
此外值得说明的是,在本实施例中,在计算QoS度量值时添加业务优先级对应的数值,更能保证待调度业务的QoS调度值不同。比如,都是实时业务,话音业务和视频通话业务,假设这两种业务优先级对应的数值相同,但各自业务后面的QoS参数中,视频通话业务要兼顾时延和速率两个QoS特性参数,所以计算出来的两个业务QoS度量值不同,进而业务调的度次序也就不同。当然,即使最后计算得到的QoS度量值结果相同,那么调度方法就是先到达的业务先调度。而在现有技术中,对于同是实时业务的话音业务和视频通话业务来说,其各自对应的优先级对应的数值和QoS参数对应的权值均相同,这样在调度过程中,就不能对该两种业务较好地进行区分调度。It should be noted that, in this embodiment, when the QoS metric value is calculated, the value corresponding to the service priority is added, and the QoS scheduling value of the to-be-scheduled service is more guaranteed. For example, both real-time services, voice services, and video call services assume that the values of the two service priorities are the same, but in the QoS parameters behind the respective services, the video call service must take into account the two QoS characteristics of delay and rate. Therefore, the calculated two service QoS metrics are different, and the order of the service adjustments is different. Of course, even if the last calculated QoS metric result is the same, the scheduling method is that the first arriving service is scheduled first. In the prior art, for the voice service and the video call service that are both real-time services, the values corresponding to the respective priorities and the weights corresponding to the QoS parameters are the same, so that in the scheduling process, the pair cannot be The two services are better differentiated and scheduled.
本发明另一实施例提供了一种服务质量度量方法,结合上述如图1或如2所示的实施例中,在计算QoS度量值时涉及到参数值,QoS参数至少包括:速率参数、时延参数、丢包率参数、时延抖动参数、误报率参数等,在这一实施例中将详细介绍前四个参数值的获取方法,具体包括:Another embodiment of the present invention provides a QoS measurement method. In combination with the foregoing embodiment shown in FIG. 1 or FIG. 2, when calculating a QoS metric value, a parameter value is involved, and the QoS parameter includes at least: a rate parameter, a time The delay parameter, the packet loss rate parameter, the delay jitter parameter, the false alarm rate parameter, etc., in this embodiment, the method for obtaining the first four parameter values will be described in detail, and specifically includes:
a、当QoS参数包括丢包率参数时,获取待调度业务的平均丢包率和待调度业务的丢包率门限,并根据该平均丢包率和丢包 率门限计算,得到丢包率参数对应的参数值。a. When the QoS parameter includes the packet loss rate parameter, the average packet loss rate of the service to be scheduled and the packet loss rate threshold of the to-be-scheduled service are obtained, and the average packet loss rate and packet loss are obtained according to the average packet loss rate. The rate threshold is calculated, and the parameter value corresponding to the packet loss rate parameter is obtained.
在具体实现过程中,可以通过下述公式(1)计算丢包率参数对应的参数值:In the specific implementation process, the parameter value corresponding to the packet loss rate parameter can be calculated by the following formula (1):
Figure PCTCN2015076104-appb-000006
Figure PCTCN2015076104-appb-000006
                              ......公式(1) ......Formula 1)
在该公式(1)中,i表示业务类型,t表示时间,
Figure PCTCN2015076104-appb-000007
表示业务i的丢包率参数值,avr_PLRi是平均丢包率,target_PLRi是业务i的丢包率门限。其中,平均丢包率是在调度过程中不断统计业务i传输情况获得的,而丢包率门限为3GPP协议中对该值的定义值,在此不再重复说明。
In the formula (1), i represents the type of service, and t represents time.
Figure PCTCN2015076104-appb-000007
Indicates the packet loss rate parameter value of service i, avr_PLR i is the average packet loss rate, and target_PLR i is the packet loss rate threshold of service i. The average packet loss rate is obtained by continuously counting the traffic of the service i during the scheduling process, and the packet loss rate threshold is a defined value of the value in the 3GPP protocol, and is not repeated here.
b、当QoS参数包括时延参数时,获取待调度业务等待传输的时延和待调度业务的时延门限,并根据该时延和时延门限计算,得到时延参数对应的参数值。When the QoS parameter includes the delay parameter, the delay of the to-be-scheduled service and the delay threshold of the to-be-scheduled service are obtained, and the parameter value corresponding to the delay parameter is obtained according to the delay and the delay threshold.
在具体实现过程中,可以通过下述公式(2)计算丢包率参数对应的参数值:In the specific implementation process, the parameter value corresponding to the packet loss rate parameter can be calculated by the following formula (2):
Figure PCTCN2015076104-appb-000008
Figure PCTCN2015076104-appb-000008
                         ......公式(2)...formula (2)
在该公式(2)中,i表示待调度业务,t表示时间,
Figure PCTCN2015076104-appb-000009
表示时延参数值,delayi是业务数据包等待传输的时延,target_DLi是业务的时延门限。其中,delayi可以通过对业务i的数据包实施检测得到,target_DLi的取值与3GPP中定义的该类业务的该取值相同。
In the formula (2), i represents the service to be scheduled, and t represents the time.
Figure PCTCN2015076104-appb-000009
Indicates the delay parameter value, delay i is the delay of the service data packet waiting for transmission, and target_DL i is the delay threshold of the service. The delay i can be obtained by detecting the data packet of the service i, and the value of the target_DL i is the same as the value of the service defined in the 3GPP.
c、当QoS参数包括速率参数时,获取待调度业务数据包的瞬时传输速率、待调度业务的平均速率门限和待调度业务的实际传输平均速率,并根据瞬时传输平均速率、平均数率门限和实际 传输平均速率计算,得到速率参数对应的参数值。c. When the QoS parameter includes the rate parameter, obtain the instantaneous transmission rate of the service data packet to be scheduled, the average rate threshold of the service to be scheduled, and the actual transmission average rate of the service to be scheduled, and according to the instantaneous transmission average rate, the average rate threshold, and Actual The average transmission rate is calculated, and the parameter value corresponding to the rate parameter is obtained.
Figure PCTCN2015076104-appb-000010
Figure PCTCN2015076104-appb-000010
                              ......公式(3)...formula (3)
在该公式(3)中,i表示待调度业务,t表示时间,
Figure PCTCN2015076104-appb-000011
表示业务i的速率参数值,ri(t)是业务i数据包传输的瞬时传输速率,
Figure PCTCN2015076104-appb-000012
是业务i的平均速率门限,Ri(t)是业务i数据包实际传输平均速率。且在本实施例中,Ri(t)与ri(t)存在如下关系,表示为公式(4)。
In the formula (3), i represents the service to be scheduled, and t represents the time.
Figure PCTCN2015076104-appb-000011
Representing the rate parameter value of service i, r i (t) is the instantaneous transmission rate of the service i packet transmission,
Figure PCTCN2015076104-appb-000012
Is the average rate threshold of service i, and R i (t) is the average transmission rate of the service i packet. In the present embodiment, R i (t) and r i (t) have the following relationship and are expressed as formula (4).
Ri(t)=(1-τ)Ri(t-1)+τ*ri(t)R i (t)=(1-τ)R i (t-1)+τ*r i (t)
                            ......公式(4)...formula (4)
其中,τ是更新平均速率的权值,设备制造商可以通过仿真来设定该值,取值范围[0,1]。因此,基于业务的平均速率门限,就能确定该业务的数据速率参数的度量方法,而这一平均速率门限可以通过3GPP协议得到。Where τ is the weight of the updated average rate, the device manufacturer can set the value by simulation, the value range [0, 1]. Therefore, based on the average rate threshold of the service, a metric of the data rate parameter of the service can be determined, and the average rate threshold can be obtained by the 3GPP protocol.
d、在具体的实现过程中,QoS参数还包括时延抖动参数,而在具体实现过程中,时延抖动参数对应的参数值可以通过下述公式(5)计算得到。d. In the specific implementation process, the QoS parameter further includes a delay jitter parameter, and in the specific implementation process, the parameter value corresponding to the delay jitter parameter can be calculated by the following formula (5).
Figure PCTCN2015076104-appb-000013
Figure PCTCN2015076104-appb-000013
                                   ......公式(5)...formula (5)
在该公式(5)中,i表示待调度业务类型,t表示时间,
Figure PCTCN2015076104-appb-000014
表示时延抖动参数值,jitteri是业务i数据包传输的时延抖动值,target_jitteri是业务i的时延抖动门限。且其中的jitteri可以实时监 测得到,target_jitteri可以通过3GPP协议得到。
In the formula (5), i represents the type of service to be scheduled, and t represents time.
Figure PCTCN2015076104-appb-000014
Indicates the delay jitter parameter value, jitter i is the delay jitter value of the service i packet transmission, and target_jitter i is the delay jitter threshold of the service i. And the jitter i can be monitored in real time, and the target_jitter i can be obtained through the 3GPP protocol.
值得说明的是,上述五个公式,只是列举了四种参数值的一种计算方法,且上述提出的参数值的计算方法较为简单,能够节约计算资源,但是为了实现更好的调度性能,上述参数值可以通过其余方法计算方法得到,现有技术中,任何可以获得数据速率参数,时延参数,和丢包率参数等参数值的计算方法均在本发明的保护范围之列。It is worth noting that the above five formulas only enumerate a calculation method of four parameter values, and the calculation method of the parameter values proposed above is relatively simple, which can save computational resources, but in order to achieve better scheduling performance, the above The parameter value can be obtained by the remaining method calculation methods. In the prior art, any calculation method for obtaining parameter values such as a data rate parameter, a delay parameter, and a packet loss rate parameter is included in the protection scope of the present invention.
此外,随着网络技术的发展,会不断产生新的业务,或者对已有业务产生新的QoS需求。当产生新业务时或者业务的新需求时,基站会为该新业务或者新需求配置新的QoS参数,并为新的QoS参数分配相应的权值。这一权值的具体取值,获取可以通过对新的QoS参数进行需求仿真来确定。进而根据该新得到的参数值和权值,结合或者根据上述如图1和图2所示的实现流程给出计算方法计算新的QoS调度值。In addition, with the development of network technology, new services will continue to be generated, or new QoS requirements will be generated for existing services. When a new service or a new requirement of the service is generated, the base station configures a new QoS parameter for the new service or the new requirement, and assigns a corresponding weight to the new QoS parameter. The specific value of this weight can be determined by performing demand simulation on the new QoS parameters. Then, according to the newly obtained parameter value and weight, a calculation method is used to calculate a new QoS scheduling value according to the implementation flow shown in FIG. 1 and FIG. 2 described above.
结合上述四种获取QoS参数对应的参数值的计算方法,在出现新的QoS需求时,同样可以根据上述类似方法得到一个针对给新的QoS需求对应的新的参数值的计算公式。In combination with the above four methods for calculating the parameter values corresponding to the QoS parameters, when a new QoS requirement occurs, a calculation formula for the new parameter value corresponding to the new QoS requirement can also be obtained according to the similar method described above.
值得说明的是,如果要描述具有相同QoS参数的新业务,则可调整权值的取值,进而通过不同的QoS参数权值来表征该业务。It is worth noting that if a new service with the same QoS parameter is to be described, the value of the weight can be adjusted, and then the service is characterized by different QoS parameter weights.
此外值得说明的是,在本实施例中,提供了在出现新的QoS需求时,如何结合这一新的QoS参数的参数值进行业务调度的方法流程,也就是将该新的参数值与该新的的权值进行计算,并将计算后得到的值,直接与该待调度业务已存在的参数值和权值的计算结果继续进行乘积运算,当然的这一新的参数值与该新的权值的计算方法与前述步骤102中描述的方法相同,在此不再赘述。而现有技术在业务调度过程中,计算业务的QoS度量值时,一般采用增强比例公平算法,只考虑了速率参数和时延参数,并且这两种参数中的一种参数是在另一个 参数的基础上得到的,比如,一种参数值是通过另一种参数值的对数或者指数形式计算得到,所以当出现了新的QoS参数需求,如果继续使用上述算法,将无法得到包括新的QoS需求的业务QoS度量值。而结合上述描述,本发明实施例提供的QoS度量方法易于扩展QoS参数。In addition, it should be noted that, in this embodiment, a method flow for how to perform service scheduling by combining parameter values of the new QoS parameter when a new QoS requirement occurs is provided, that is, the new parameter value is The new weight is calculated, and the calculated value is directly multiplied with the calculation result of the existing parameter values and weights of the to-be-scheduled service, of course, the new parameter value and the new one. The calculation method of the weight is the same as the method described in the foregoing step 102, and details are not described herein again. In the prior art, in the service scheduling process, when calculating the QoS metric value of the service, the enhanced proportional fair algorithm is generally adopted, only the rate parameter and the delay parameter are considered, and one of the two parameters is in another Based on the parameters, for example, one parameter value is calculated by the logarithm or exponential form of another parameter value, so when new QoS parameter requirements appear, if you continue to use the above algorithm, you will not be able to get new Service QoS metrics for QoS requirements. With the above description, the QoS metric method provided by the embodiment of the present invention is easy to extend QoS parameters.
在本发明的另一实施例中提供了一种服务质量度量方法,该方法具体阐述了,在得到QoS度量值之后,如何根据这一度量值进行业务调度的方法,这一调度方法具体包括下述两个方面。In another embodiment of the present invention, a method for measuring a quality of service is provided. The method specifically describes, after obtaining a QoS metric value, how to perform service scheduling according to the metric value, and the scheduling method specifically includes Two aspects are mentioned.
第一方面,当存在多个待调度业务时,通过上述公式(0)或者公式(0-1)得到每个所述待调度业务对应的QoS度量值,对QoS度量值进行比较,得到最大QoS度量值,则优先调度该最大QoS度量值对应的待调度业务。In the first aspect, when there are multiple to-be-scheduled services, the QoS metric corresponding to each to-be-scheduled service is obtained by using the above formula (0) or formula (0-1), and the QoS metric values are compared to obtain the maximum QoS. The metric value is used to preferentially schedule the to-be-scheduled service corresponding to the maximum QoS metric value.
第二方面,当存在多个待调度任务时,可以将上述获取到的QoS度量值作为加权因子加权调度算法来得到更优的QoS调度算法,以获取***性能和业务QoS体验的折中,优先调度QoS度量值调度算法加权后的最大数值,并优先调度该最大数值对应的待调度业务。比如,用户调度算法为ci(t),QoS度量值为Ui(t),获取的最大数值为:maxiUi(t)*ci(t)。In a second aspect, when there are multiple tasks to be scheduled, the obtained QoS metric value can be used as a weighting factor weighted scheduling algorithm to obtain a better QoS scheduling algorithm, so as to obtain a compromise between system performance and service QoS experience. The maximum value weighted by the QoS metric scheduling algorithm is scheduled, and the to-be-scheduled service corresponding to the maximum value is preferentially scheduled. For example, the user scheduling algorithm is c i (t), the QoS metric value is U i (t), and the maximum value obtained is: max i U i (t)*c i (t).
其中,调度算法值表示待调度业务通过调度算法得到的数值,调度值用于表示待调度业务被调度的顺序。The scheduling algorithm value represents a value obtained by the scheduling algorithm by the scheduling algorithm, and the scheduling value is used to indicate the order in which the to-be-scheduled services are scheduled.
值得说明的是,在上述第二方面中提到的,对调度算法作加权,实际是指对通过该调度算法得到的具体数值作加权,则在本实施例中,ci(t)称为调度算法值。如在上述第二方面中,ci(t)可以是一些的高性能调度算法,如基于博弈论的调度算法,基于总的分配资源和用户实时的环境条件进行调度以达到***最优的性能。因此在该调度算法中根据资源和用户信道条件参数确定了用户调度的ci(t)值,再通过Ui(t)加权,就获得满足业务QoS特性 的高性能调度算法。It should be noted that, in the second aspect mentioned above, the weighting of the scheduling algorithm actually refers to weighting the specific values obtained by the scheduling algorithm, and in this embodiment, c i (t) is called Scheduling algorithm values. As in the second aspect above, c i (t) may be some high performance scheduling algorithms, such as a game theory based scheduling algorithm, based on total allocated resources and real-time environmental conditions of the user to achieve optimal system performance. . Therefore, in the scheduling algorithm, the c i (t) value of the user scheduling is determined according to the resource and user channel condition parameters, and then U i (t) weighting is performed to obtain a high performance scheduling algorithm that satisfies the service QoS characteristics.
本发明另一实施例提供了一种服务质量度量方法,通过这一方法能够获取到待调度业务的QoS度量值,并将这一QoS度量值应用到对待调度业务的调度过程中,为了能够更为直观的介绍本发明给出的技术方案,本实施例以具体实例的形式进行说明,且结合了针对该实例的现有业务调度形式来对比说明本发明实施例的技术效果。Another embodiment of the present invention provides a service quality measurement method, by which a QoS metric value of a service to be scheduled can be obtained, and the QoS metric value is applied to a scheduling process of a service to be scheduled, in order to be able to In order to introduce the technical solution of the present invention in an intuitive manner, the present embodiment is described in the form of a specific example, and the technical effect of the embodiment of the present invention is compared with the existing service scheduling form for the example.
在本实施例的具体实现过程中,可以通过对场景仿真来进行性能评估,这一具体应用场景描述如下表1所示,在该表1中,通过两列表项确定了这一场景中至少需要涉及的参数,以及各参数的取值。这些参数包括:蜂窝布局、***带宽、站间距、基站发射功率、每个小区下的用户设备数、路径耗损模型、无线信道、传输模式、业务类型、仿真时间10项参数,且在该表1中给出了其对应的数值描述,在此不再一一重复,具体内容可参见下述表1中的描述。结合该表1的描述,本实例中涉及仿真混合业务模型,即视频流业务和视频电话业务。由于视频电话用户传输实时业务,故对时延要求较高,同时也要求一定的速率,而对于视频用户(对应视频流业务),对传输速率有较高的要求,所以确定对于视频电话业务QoS度量方法中
Figure PCTCN2015076104-appb-000015
分别取值为[0.3,0.7,0],而对于高清视频业务QoS度量方法中
Figure PCTCN2015076104-appb-000016
Figure PCTCN2015076104-appb-000017
分别取值为[0.8,0.2,0]。在本实例中,列举的是各权值的表示符号,其具体代表的意义,与上述公式中同类标示符号所表示的意义相同。
In the specific implementation process of the embodiment, the performance evaluation may be performed by performing scenario simulation. The specific application scenario is described in Table 1 below. In the table 1, it is determined by the two list items that at least the scenario needs to be The parameters involved, as well as the values of each parameter. These parameters include: cellular layout, system bandwidth, station spacing, base station transmit power, number of user equipment per cell, path loss model, wireless channel, transmission mode, service type, simulation time, 10 parameters, and in Table 1 The corresponding numerical descriptions are given in the corresponding ones, and will not be repeated here. For details, refer to the description in Table 1 below. Combined with the description of Table 1, this example involves emulating a hybrid service model, namely video streaming service and video telephony service. Since the video telephony user transmits the real-time service, the delay requirement is high, and a certain rate is also required, and for the video user (corresponding to the video stream service), the transmission rate has high requirements, so the QoS for the video telephony service is determined. Metric method
Figure PCTCN2015076104-appb-000015
The values are respectively [0.3, 0.7, 0], and for the high-definition video service QoS measurement method
Figure PCTCN2015076104-appb-000016
Figure PCTCN2015076104-appb-000017
The values are [0.8, 0.2, 0] respectively. In the present example, the symbols of the weights are listed, and the meanings of the specific representatives are the same as those of the similar symbols in the above formula.
表1Table 1
Figure PCTCN2015076104-appb-000019
Figure PCTCN2015076104-appb-000019
Figure PCTCN2015076104-appb-000020
Figure PCTCN2015076104-appb-000020
基于上述应用场景,现有技术一般采用EPF(英文全称为:Enhanced Proportional Fair,中文全称为:增强型比例公平)算法来获取业务的QoS调度值。EPF算法由于保证了QoS特性中时延参数和速率参数的特征而在现有产品中得到广泛的应用。Based on the above application scenarios, the prior art generally adopts an EPF (English full name: Enhanced Proportional Fair) algorithm to obtain a QoS scheduling value of a service. The EPF algorithm is widely used in existing products because it guarantees the characteristics of delay parameters and rate parameters in QoS characteristics.
目前采用的,EPF基本算法为:Currently used, the basic EPF algorithm is:
Figure PCTCN2015076104-appb-000021
Figure PCTCN2015076104-appb-000021
                  ......公式(6)...Formula (6)
在该公式(6)中,
Figure PCTCN2015076104-appb-000022
表示比例公平(英文全称为:Proportional Fair,英文简称为:PF)调度算法,这里ri(t)是业务i数据包传输的瞬时速率,Ri(t)是业务i数据包实际统计出的传输平均速率,且这两者之间的关系如上述公式(4)所示。ci是业务优先级变量,通过下述公式(7)表示。
In the formula (6),
Figure PCTCN2015076104-appb-000022
The proportional fair (English full name: Proportional Fair, English abbreviation: PF) scheduling algorithm, where r i (t) is the instantaneous rate of packet transmission of service i, and R i (t) is the actual statistics of the packet of service i. The average rate of transmission is transmitted, and the relationship between the two is as shown in the above formula (4). c i is a business priority variable and is expressed by the following formula (7).
Figure PCTCN2015076104-appb-000023
Figure PCTCN2015076104-appb-000023
                     ......公式(7)...Formula (7)
在该公式(7)中,delayi和target_DLi仍然表示为业务数据包 等待传输的时延和时延门限。In the formula (7), delay i and target_DL i are still expressed as the delay and delay threshold of the service data packet waiting for transmission.
结合对上述公式(7)的描述,对于实时业务,时延门限小,因而优先级变量ci更大,获得更多的调度机会,QoS时延要求也就能得到满足。但是该方法只考虑了速率和时延的QoS特性,不易于扩展。同时该方法固定了QoS速率参数和时延参数的权值,只调整业务调度的优先级变量。因此该方法不能表征移动互联网新业务和新QoS特征,且固定了QoS参数的权值而不能获得更好的多个QoS参数优化性能。Combined with the description of the above formula (7), for the real-time service, the delay threshold is small, and thus the priority variable c i is larger, more scheduling opportunities are obtained, and the QoS delay requirement can be satisfied. However, this method only considers the QoS characteristics of rate and delay, and is not easy to expand. At the same time, the method fixes the weights of the QoS rate parameter and the delay parameter, and only adjusts the priority variable of the service scheduling. Therefore, the method cannot characterize new mobile Internet services and new QoS features, and fixes the weights of QoS parameters without obtaining better multiple QoS parameter optimization performance.
现有技术中,对于考虑了平均速率和时延门限的EPF调度算法,其表达式为:In the prior art, for an EPF scheduling algorithm that considers an average rate and a delay threshold, the expression is:
Figure PCTCN2015076104-appb-000024
Figure PCTCN2015076104-appb-000024
                   ......公式(8)...Formula (8)
在该公式8中,αi(t)是基于业务i时延的包生成速率,βi(t)是时延和平均速率的更新权值,以跟踪业务数据包生产。In Equation 8, α i (t) is the packet generation rate based on the traffic i delay, and β i (t) is the update weight of the delay and the average rate to track the traffic packet production.
这种调度算法必须先模拟业务而建模数学表达式,然后基于该表达式生成时延和速率特征的QoS调度算法,但该方法强相关业务数学模型,考虑了速率参数和时延参数,很难扩展到其他的QoS特性参数。同时,速率和时延的权值采用相同的权值,故不能通过调整权值来表征业务的微小特性,不能按照QoS需求准确实现业务调度。This scheduling algorithm must first simulate the business and model the mathematical expression, and then generate a QoS scheduling algorithm based on the expression for delay and rate characteristics. However, the method strongly relates the business mathematical model, considering the rate parameter and the delay parameter. It is difficult to extend to other QoS feature parameters. At the same time, the weights of the rate and the delay are the same weights. Therefore, the weights cannot be adjusted to characterize the small characteristics of the service, and the service scheduling cannot be accurately implemented according to the QoS requirements.
在介绍完上述三种度量算法之后,现结合上述表1所示的具体实例,通过这三种方法进行仿真,得到的仿真结果具体为,且分为两个方面进行介绍,第二方面为调度过程中时延方面的统计,第二方面为调度过程中速率方面的统计。具体为:After introducing the above three measurement algorithms, the simulation results obtained by the three methods are combined with the specific examples shown in Table 1 above, and the obtained simulation results are specifically described in two aspects. The second aspect is scheduling. The statistics on the delay in the process, the second aspect is the statistics on the rate in the scheduling process. Specifically:
第一、时延方面:First, the delay:
PF算法中,调度信道条件好和瞬时速率高的用户以保证用户的吞吐量,而忽略了业务的其他QoS特性,如时延特性,所以使用户调 度时延大于业务的最大时延门限而造成数据丢包,尤其是对于实时业务,如视频电话,可以看出丢包率约为2.2%。对于非实时的视频流业务也造成一定的丢包,大约在1.5%。In the PF algorithm, users with good channel conditions and high instantaneous rate are guaranteed to ensure the throughput of the user, while ignoring other QoS characteristics of the service, such as delay characteristics, so that the user adjusts The data delay is greater than the maximum delay threshold of the service, which causes data loss. Especially for real-time services, such as video telephony, the packet loss rate is about 2.2%. For non-real-time video streaming services, it also caused a certain amount of packet loss, about 1.5%.
EPF算法中,由于实时业务视频电话有更高的时延要求,因此调度的优先级更高,相应的时延较小,视频流业务的调度优先级较低,时延较大。但由于增加了时延因子,故两种业务的时延都能满足时延门限的要求,实时业务视频电话的最大时延是88ms,视频流业务的最大时延是240ms。In the EPF algorithm, the real-time service video telephony has a higher delay requirement, so the scheduling priority is higher, the corresponding delay is smaller, the scheduling priority of the video streaming service is lower, and the delay is larger. However, due to the increase of the delay factor, the delay of both services can meet the delay threshold. The maximum delay of the real-time service video phone is 88 ms, and the maximum delay of the video stream service is 240 ms.
采用本发明提出的多QoS度量算法,由于采用不同的权值来度量两个QoS参数,故有效地平衡时延和数据速率。仿真结果看出,比较PF调度,由于受到最大时延门限的约束,对于视频电话业务,调度时延小于时延门限90ms的要求,而对于视频流业务,调度时延也小于门限220ms的要求,同样满足QoS时延的要求。但由于在加权因子中也考虑了时延和速率的影响,比较改进的PF算法,视频电话的时延稍微增加,而视频流业务的时延稍微减小,即时延的波动更小,性能更加平衡。With the multi-QoS metric algorithm proposed by the present invention, since different QoS parameters are measured by using different weights, the delay and the data rate are effectively balanced. The simulation results show that compared with the maximum delay threshold, the scheduling delay is less than the delay threshold of 90ms for video telephony services, and the scheduling delay is less than the threshold of 220ms for video streaming services. It also satisfies the requirements of QoS delay. However, due to the influence of delay and rate in the weighting factor, compared with the improved PF algorithm, the delay of video telephony is slightly increased, while the delay of video streaming service is slightly reduced, the fluctuation of the instantaneous delay is smaller, and the performance is more balance.
第二、速率方面:Second, the rate aspect:
通过本发明实施例提出的QoS度量算法来调度用户,使其数据速率能够保证业务的平均速率,视频电话用户平均速率65kbps,保证了业务的平均速率64kbps需求,而视频流用户的平均速率为2.1Mbps,保证了业务的平均速率2Mbps需求。在PF算法中,选择好的信道条件和高瞬时速率的用户调度,而对于EPF算法,时延业务有更大的优先级权值,故实时业务的数据速率基本不受影响,但对于非实时视频流业务,调度的优先级低,因此不能选择好的信道条件调度,故性能降低,平均速率为1.89Mbps,损失约为13.7%,不能满足平均速率的要求,而边缘速率为1.676Mbps,损失约为6.9%。 The QoS metric algorithm proposed by the embodiment of the present invention schedules users so that the data rate can guarantee the average rate of the service, and the average rate of the video telephone users is 65 kbps, which ensures the average rate of the service is 64 kbps, and the average rate of the video stream users is 2.1. Mbps guarantees an average rate of 2Mbps for the service. In the PF algorithm, good channel conditions and high instantaneous rate user scheduling are selected, while for the EPF algorithm, the delay service has a greater priority weight, so the data rate of the real-time service is basically unaffected, but for non-real time. Video stream service, scheduling priority is low, so can not choose good channel condition scheduling, so performance is reduced, the average rate is 1.89Mbps, the loss is about 13.7%, can not meet the average rate requirements, and the edge rate is 1.676Mbps, loss It is about 6.9%.
结合上述描述,通过本发明提供的QoS度量算法,除了考虑用户的速率参数外,还考虑时延的QoS特性,导致不完全是最好信道条件和最高的瞬时速率被调度,比较PF算法,性能同样有一定的损失,但对于实时视频电话业务,由于时延是最重要的QoS参数选择大的权值(0.7),所以数据速率基本没有损失,而对于非实时视频流业务,速率是更重要的参数有大的权值,而时延有更小的要求,但仍有一定影响(权值为0.2),所以数据速率有轻微的损失,仅为4%。比较EPF算法,由于非实时业务调度算法中,时延的权值仅为0.2,更大的权值应用在速率QoS特性上,故平均速率性能增加约为11.2%,边缘速率性能增益约为4.7%。可以看出,提出的方法取得QoS时延和速率的平衡,获得更优化的性能。In combination with the above description, the QoS metric algorithm provided by the present invention considers the QoS characteristics of the delay in addition to the rate parameter of the user, resulting in the incomplete best channel condition and the highest instantaneous rate being scheduled, comparing the PF algorithm, performance. There is also a certain loss, but for real-time video telephony services, since the delay is the most important QoS parameter to choose a large weight (0.7), there is basically no loss of data rate, and for non-real-time video streaming services, the rate is more important. The parameters have large weights, while the delay has smaller requirements, but still has some impact (weight 0.2), so the data rate has a slight loss, only 4%. Compared with the EPF algorithm, since the weight of the delay is only 0.2 in the non-real-time service scheduling algorithm, and the larger weight is applied to the rate QoS characteristic, the average rate performance is increased by about 11.2%, and the edge rate performance gain is about 4.7. %. It can be seen that the proposed method achieves a balance between QoS delay and rate to obtain more optimized performance.
此外,为了能够更为直观的了解PF算法、EPF算法、本发明实施例提出的度量算法这三种度量算法的实现效果,现结合上述表1给出的仿真实例,给出三种实现方法的关于速率统计的比较。如下表2所示,统计的内容包括涉及Video streaming业务、Video telephony业务两种业务,比较的对象包括用户平均速率和用户边缘速率,而具体的仿真方法与表1中描述相同,在此不再重复说明,而表示统计结果的数值在上述已描述,在该表2中只是以更为直观的形式将这些统计值或比较值表示出来。In addition, in order to more intuitively understand the implementation effects of the three measurement algorithms of the PF algorithm, the EPF algorithm, and the measurement algorithm proposed by the embodiment of the present invention, the simulation examples given in Table 1 above are given, and three implementation methods are given. A comparison of rate statistics. As shown in Table 2 below, the statistics include the video streaming service and the Video telephony service. The comparison objects include the average user rate and the user edge rate. The specific simulation method is the same as described in Table 1. The description is repeated, and the numerical values representing the statistical results are described above, and in Table 2, these statistical values or comparison values are only expressed in a more intuitive form.
表2Table 2
Figure PCTCN2015076104-appb-000025
Figure PCTCN2015076104-appb-000025
Figure PCTCN2015076104-appb-000026
Figure PCTCN2015076104-appb-000026
结合上述三种度量调度算法的说明,以及针对同一具体实例的仿真结果,不难看出,本实施例提出的QoS度量方法通过改变各个QoS参数的权值来表征业务的QoS特性,从而在调度中满足业务的多QoS特性基础上获得优化的***性能。Combining the descriptions of the above three metric scheduling algorithms and the simulation results for the same specific example, it is not difficult to see that the QoS metric method proposed in this embodiment characterizes the QoS characteristics of the service by changing the weights of the respective QoS parameters, thereby being in the scheduling. Optimized system performance based on the multi-QoS characteristics of the service.
值得说明的是,结合上述对服务质量度量方法的描述,在实际应用过程中,该上述方法可以应用于无线***中的基站,如图2-1所示,基站包括应用层、媒体接入控制层。且应用层包括业务生成模块,这一业务生成模块用于生产业务,而后生产出的业务从应用层传输到媒体接入控制层;媒体接入控制层包括调度器,这一调度器中可以包括:QoS管理模块、资源分配模块、调度模块。结合上述如图1和如图2所示实施例描述的方法流程,QoS度量值的计算方法在QoS管理模块中完成,进而由资源分配模块结合计算得到待调度业务的QoS度量值,为待调度业务进行资源分配,待调度业务最终在调度模块形成调度队列。当然,该基站中还包括其它模块,该图2-1只是就涉及本发明实 施例的执行模块进行了介绍,其它模块并未示出。It should be noted that, in combination with the foregoing description of the QoS measurement method, in the actual application process, the foregoing method can be applied to a base station in a wireless system, as shown in FIG. 2-1, the base station includes an application layer and media access control. Floor. And the application layer includes a service generation module, where the service generation module is used for the production service, and then the generated service is transmitted from the application layer to the media access control layer; the media access control layer includes a scheduler, and the scheduler may include : QoS management module, resource allocation module, scheduling module. The method for calculating the QoS metric value is implemented in the QoS management module, and the QoS metric value of the to-be-scheduled service is calculated by the resource allocation module, which is to be scheduled, in combination with the method flow described above in the embodiment shown in FIG. 1 and FIG. The service performs resource allocation, and the to-be-scheduled service finally forms a scheduling queue in the scheduling module. Of course, other modules are included in the base station, and FIG. 2-1 is only related to the present invention. The execution module of the example is described, and other modules are not shown.
本发明另一实施例提供了一种服务质量度量装置,在本实施例中,待调度业务设置有至少一种QoS参数,当待调度业务不同时,不同的待调度业务对应的权值中至少有一个不同,如图3所示,该装置包括:获取单元31、计算单元32。Another embodiment of the present invention provides a service quality metric device. In this embodiment, the to-be-scheduled service is configured with at least one QoS parameter. When the services to be scheduled are different, at least the weights of the different services to be scheduled are at least There is a difference, as shown in FIG. 3, the device includes: an acquisition unit 31 and a calculation unit 32.
获取单元31,用于获取待调度业务的已有QoS参数的参数值和已有QoS参数对应的权值。The obtaining unit 31 is configured to obtain a parameter value of an existing QoS parameter of the to-be-scheduled service and a weight corresponding to the existing QoS parameter.
其中,已有QoS参数与已有QoS参数对应的权值一一对应。The existing QoS parameters have a one-to-one correspondence with the weights corresponding to the existing QoS parameters.
计算单元32,用于通过获取单元31获取到的已有QoS参数的参数值和已有QoS参数对应的权值,计算得到待调度业务的QoS度量值。The calculating unit 32 is configured to calculate, by using the parameter value of the existing QoS parameter and the weight corresponding to the existing QoS parameter, the QoS metric value of the service to be scheduled.
其中,QoS度量值为用于度量待调度业务服务质量的数值。The QoS metric value is a value used to measure the quality of the service to be scheduled.
在本发明实施提供的装置应用的另一实施例中,In another embodiment of the apparatus application provided by the implementation of the present invention,
获取单元31,还用于在计算单元32计算待调度业务的QoS度量值之前,获取待调度业务对应的业务优先级。The obtaining unit 31 is further configured to obtain a service priority corresponding to the service to be scheduled before the calculating unit 32 calculates the QoS metric value of the to-be-scheduled service.
计算单元32,还用于通过获取单元31获取到的业务优先级对应的数值、参数值和权值,计算得到QoS度量值。The calculating unit 32 is further configured to calculate a QoS metric value by using a value, a parameter value, and a weight corresponding to the service priority acquired by the acquiring unit 31.
在本发明实施例的另一中实现方式中,该装置可以获取到参数值,对此提出了获取4种参数值时,装置功能的实现形式,具体包括:In another implementation manner of the embodiment of the present invention, the device may obtain a parameter value, and an implementation form of the device function when acquiring four parameter values is proposed, which specifically includes:
第一种,获取单元31,还用于当已有QoS参数包括丢包率参数时,获取待调度业务的平均丢包率和待调度业务的丢包率门限。The first type, the obtaining unit 31 is further configured to: when an existing QoS parameter includes a packet loss rate parameter, obtain an average packet loss rate of the to-be-scheduled service and a packet loss rate threshold of the to-be-scheduled service.
计算单元32,还用于根据获取单元31获取到的平均丢包率和丢包率门限计算得到丢包率参数对应的参数值。The calculating unit 32 is further configured to calculate a parameter value corresponding to the packet loss rate parameter according to the average packet loss rate and the packet loss rate threshold acquired by the obtaining unit 31.
第二种,获取单元31,还用于当已有QoS参数包括时延参数时,获取待调度业务等待传输的时延和待调度业务的时隙门限。The second obtaining unit 31 is further configured to: when the existing QoS parameter includes a delay parameter, obtain a delay of waiting for the to-be-scheduled service and a time slot threshold of the to-be-scheduled service.
计算单元32,还用于根据获取单元31获取到的时延和时延 门限计算得到时延参数对应的参数值。The calculating unit 32 is further configured to acquire the delay and the delay according to the obtaining unit 31. The threshold is calculated to obtain the parameter value corresponding to the delay parameter.
第三种,获取单元31,还用于当已有QoS参数包括速率参数时,获取待调度业务数据包的瞬时传输速率、待调度业务的平均速率门限和待调度业务的实际传输平均速率。The third, the obtaining unit 31 is further configured to: when the existing QoS parameter includes the rate parameter, obtain an instantaneous transmission rate of the service data packet to be scheduled, an average rate threshold of the service to be scheduled, and an actual transmission average rate of the service to be scheduled.
计算单元32,还用于根据获取单元31获取到的瞬时传输平均速率、平均数率门限和实际传输平均速率计算得到速率参数对应的参数值。The calculating unit 32 is further configured to calculate a parameter value corresponding to the rate parameter according to the instantaneous transmission average rate, the average rate threshold, and the actual transmission average rate acquired by the obtaining unit 31.
第四种,获取单元31,还用于当已有QoS参数包括时延抖动参数时,获取待调度业务数据包传输的时延抖动值、待调度业务的时延抖动门限。The fourth, the obtaining unit 31 is further configured to: obtain the delay jitter value of the to-be-scheduled service data packet transmission, and the delay jitter threshold of the to-be-scheduled service when the existing QoS parameter includes the delay jitter parameter.
计算单元32,还用于通过获取单元31获取到的时延抖动值和时延抖动门限计算得到时延抖动参数对应的参数值。The calculating unit 32 is further configured to calculate a parameter value corresponding to the delay jitter parameter by using the delay jitter value and the delay jitter threshold acquired by the acquiring unit 31.
在本发明实施例的另一种实现方式中,获取单元31,还用于当当前待调度业务存在新的QoS需求时,获取新的QoS参数对应的参数值,并获取新的QoS参数对应的权值。In another implementation manner of the embodiment of the present invention, the acquiring unit 31 is further configured to: when a new QoS requirement exists in the current to-be-scheduled service, acquire a parameter value corresponding to the new QoS parameter, and obtain a new QoS parameter corresponding to the parameter. Weight.
在获取到新的QoS需求对应的参数值和新的QoS参数对应的权值之后,可以通过计算单元计算得到QoS度量值,且具体可以通过下述两种途径计算。After obtaining the parameter value corresponding to the new QoS requirement and the weight corresponding to the new QoS parameter, the QoS metric value can be calculated by the calculation unit, and can be calculated by the following two methods.
计算单元32,还用于根据获取单元31获取到的已有QoS参数的参数值、已有QoS参数对应的权值、新的QoS参数的参数值和新的QoS参数对应的权值计算得到QoS度量值。The calculating unit 32 is further configured to calculate the QoS according to the parameter value of the existing QoS parameter acquired by the obtaining unit 31, the weight corresponding to the existing QoS parameter, the parameter value of the new QoS parameter, and the weight corresponding to the new QoS parameter. metric.
或者,计算单元32,还用于根据已有QoS参数的参数值、已有QoS参数对应的权值,新的QoS参数的参数值、新的QoS参数对应的权值和业务优先级对应的数值计算得到QoS度量值。Alternatively, the calculating unit 32 is further configured to: according to the parameter value of the existing QoS parameter, the weight corresponding to the existing QoS parameter, the parameter value of the new QoS parameter, the weight corresponding to the new QoS parameter, and the value corresponding to the service priority. Calculate the QoS metric.
在本发明实施例,还提供了一种服务质量度量装置的构成形式,如图4所示,该装置还包括:调度单元33。 In the embodiment of the present invention, a form of the service quality measurement apparatus is further provided. As shown in FIG. 4, the apparatus further includes: a scheduling unit 33.
获取单元31,用于获取每个待调度业务对应的QoS度量值。The obtaining unit 31 is configured to obtain a QoS metric corresponding to each service to be scheduled.
计算单元32,还用于分别将获取单元31获取到的每个待调度业务对应的QoS度量值与相应的调度算法值进行加权计算,得到每个待调度业务的调度值。The calculating unit 32 is further configured to perform weighting calculation on the QoS metric value corresponding to each to-be-scheduled service acquired by the obtaining unit 31 and the corresponding scheduling algorithm value, respectively, to obtain a scheduling value of each to-be-scheduled service.
其中,调度算法值表示待调度业务通过调度算法得到的数值,调度值用于表示待调度业务被调度的顺序。The scheduling algorithm value represents a value obtained by the scheduling algorithm by the scheduling algorithm, and the scheduling value is used to indicate the order in which the to-be-scheduled services are scheduled.
调度单元33,用于根据计算单元32得到的每个所述待调度业务的调度值,优先调度最大调度值对应的待调度业务。The scheduling unit 33 is configured to preferentially schedule the to-be-scheduled service corresponding to the maximum scheduling value according to the scheduling value of each of the to-be-scheduled services obtained by the computing unit 32.
值得说明的是,在本实施例中,一种待调度业务对应的所有权值之和为1,且对QoS参数的需求度与QoS参数对应的权值正相关,这里的权值之和为1的情况,指的是一种待调度业务对应的所有权值,且其中的需求度用于表征QoS参数在待调度业务中受重视的程度,需求度越高,QoS参数在待调度业务中越受重视。It should be noted that, in this embodiment, the sum of ownership values corresponding to a service to be scheduled is 1, and the demand degree of the QoS parameter is positively correlated with the weight corresponding to the QoS parameter, where the sum of the weights is 1 The case refers to the ownership value corresponding to a service to be scheduled, and the demand degree is used to represent the degree to which the QoS parameter is valued in the service to be scheduled. The higher the demand degree, the more attention is paid to the QoS parameter in the service to be scheduled. .
此外值得说明的是,上述图3、图4所示的装置,可用于实现图1、图2所示的方法流程,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照图1、图2所示的本发明各实施例的相关内容描述。In addition, it should be noted that the foregoing apparatus shown in FIG. 3 and FIG. 4 can be used to implement the method flow shown in FIG. 1 and FIG. 2 . For convenience of description, only parts related to the embodiment of the present invention are shown, and the specific technology is shown. For details not disclosed, please refer to the related content description of the embodiments of the present invention shown in FIG. 1 and FIG. 2.
本发明实施例提供了一种服务质量度量装置,在获取单元获取到待调度业务已有QoS参数的参数值和已有QoS参数对应的权值之后,由计算单元通过这些参数值和权值来计算待调度业务的QoS度量值,由于不同业务的权值不同,能够通过权值进行业务区分,从而能够计算出业务更为准确的QoS调度值。而现有技术的QoS度量方法中,很大程度上得到的业务的QoS度量值相同,从而在业务调度过程中难以进行业务区分,从而导致业务实现失败。但是本发明实施例提供的技术方案,能够计算出业务更为准确的QoS调度值,从而准确地实现业务调度,提高业务实现的成 功率。The embodiment of the present invention provides a service quality metric device. After the acquiring unit obtains the parameter value of the QoS parameter of the to-be-scheduled service and the weight value corresponding to the existing QoS parameter, the calculating unit passes the parameter value and the weight value. The QoS metrics of the services to be scheduled are calculated. Because the weights of different services are different, services can be differentiated by weights, so that more accurate QoS scheduling values can be calculated. In the QoS measurement method of the prior art, the QoS metrics of the services are obtained in the same manner, so that it is difficult to perform service differentiation in the service scheduling process, and the service implementation fails. However, the technical solution provided by the embodiment of the present invention can calculate a more accurate QoS scheduling value of the service, thereby accurately implementing service scheduling and improving service implementation. power.
本发明另一实施例提供了一种基站,在本实施例中,待调度业务设置有至少一种服务质量QoS参数,当待调度业务不同时,不同的待调度业务对应的权值中至少有一个不同,如图5所示,该基站包括:存储器51、处理器52,存储器51、处理器52通过总线53连接,可相互进行数据传输。Another embodiment of the present invention provides a base station. In this embodiment, the to-be-scheduled service is configured with at least one quality of service QoS parameter. When the services to be scheduled are different, at least one of the weights of the different services to be scheduled is corresponding. One difference is as shown in FIG. 5. The base station includes a memory 51, a processor 52, a memory 51, and a processor 52 connected via a bus 53, and can perform data transmission with each other.
存储器51可以是只读存储器(Read Only Memory,ROM),静态存储设备,动态存储设备或者随机存取存储器(Random Access Memory,RAM)。存储器51可以存储操作***和其他应用程序。在通过软件或者固件来实现本发明实施例提供的技术方案时,用于实现本发明实施例提供的技术方案的程序代码保存在存储器51中,并由处理器52来执行。The memory 51 may be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 51 can store an operating system and other applications. The program code for implementing the technical solution provided by the embodiment of the present invention is stored in the memory 51 and executed by the processor 52 when the technical solution provided by the embodiment of the present invention is implemented by software or firmware.
处理器52可以采用通用的中央处理器(Central Processing Unit,CPU),微处理器,应用专用集成电路(Application Specific Integrated Circuit,ASIC),或者一个或多个集成电路,用于执行相关程序,以实现本发明实施例所提供的技术方案。The processor 52 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for executing related programs. The technical solution provided by the embodiment of the present invention is implemented.
总线53可包括一通路,在装置各个部件(例如存储器51、处理器52)之间传送信息。 Bus 53 may include a path for communicating information between various components of the device (e.g., memory 51, processor 52).
应注意,尽管图5所示的硬件仅仅示出了存储器51、处理器52以及总线53,但是在具体实现过程中,本领域的技术人员应当明白,该设备还包含实现正常运行所必须的其他器件。同时,根据具体需要,本领域的技术人员应当明白,还可包含实现其他功能的硬件器件。It should be noted that although the hardware shown in FIG. 5 only shows the memory 51, the processor 52, and the bus 53, in a specific implementation process, those skilled in the art will appreciate that the device also includes other operations necessary for normal operation. Device. At the same time, those skilled in the art will appreciate that hardware devices that implement other functions may also be included, depending on the particular needs.
存储器51,用于存储包括程序指令的信息。The memory 51 is configured to store information including program instructions.
处理器52,与存储器51耦合,用于控制所述程序指令的执行,具体用于,获取待调度业务的已有QoS参数的参数值和已有QoS参数对应的权值,通过已有QoS参数的参数值和已有QoS参数对 应的权值,计算得到待调度业务的QoS度量值。The processor 52 is coupled to the memory 51 for controlling the execution of the program instruction, and is specifically configured to obtain a parameter value of an existing QoS parameter of the service to be scheduled and a weight corresponding to the existing QoS parameter, and pass the existing QoS parameter. Parameter value and existing QoS parameter pair Calculate the QoS metric of the service to be scheduled based on the weight.
其中,已有QoS参数与已有QoS参数对应的权值一一对应。The existing QoS parameters have a one-to-one correspondence with the weights corresponding to the existing QoS parameters.
处理器52,还用于计算待调度业务的QoS度量值之前,获取待调度业务对应的业务优先级;通过业务优先级对应的数值、已有QoS参数的参数值和已有QoS参数对应的权值,计算得到QoS度量值。The processor 52 is further configured to: before calculating the QoS metric value of the to-be-scheduled service, obtain the service priority corresponding to the service to be scheduled; the value corresponding to the service priority, the parameter value of the existing QoS parameter, and the corresponding QoS parameter The value is calculated and the QoS metric is calculated.
处理器52,还用于当已有QoS参数包括丢包率参数时,获取待调度业务的平均丢包率和待调度业务的丢包率门限,并根据平均丢包率和丢包率门限计算得到丢包率参数对应的参数值。The processor 52 is further configured to: when an existing QoS parameter includes a packet loss rate parameter, obtain an average packet loss rate of the to-be-scheduled service and a packet loss rate threshold of the to-be-scheduled service, and calculate the average packet loss rate and the packet loss rate threshold. The parameter value corresponding to the packet loss rate parameter is obtained.
或者,or,
处理器52,还用于当已有QoS参数包括时延参数时,获取待调度业务等待传输的时延和待调度业务的时隙门限,并根据时延和时延门限计算得到时延参数对应的参数值。The processor 52 is further configured to: when the existing QoS parameter includes a delay parameter, obtain a delay of the to-be-scheduled service and a time slot threshold of the to-be-scheduled service, and calculate a delay parameter according to the delay and the delay threshold. The parameter value.
或者,or,
处理器52,还用于当已有QoS参数包括速率参数时,获取待调度业务数据包的瞬时传输速率、待调度业务的平均速率门限和待调度业务的实际传输平均速率,并根据瞬时传输平均速率、平均数率门限和实际传输平均速率计算得到速率参数对应的参数值。The processor 52 is further configured to: when the existing QoS parameter includes the rate parameter, obtain an instantaneous transmission rate of the service data packet to be scheduled, an average rate threshold of the service to be scheduled, and an actual transmission average rate of the service to be scheduled, and according to the instantaneous transmission average The rate, the average rate threshold, and the actual transmission average rate are calculated to obtain parameter values corresponding to the rate parameter.
或者,or,
处理器52,还用于当已有QoS参数包括时延抖动参数时,获取待调度业务数据包传输的时延抖动值、待调度业务的时延抖动门限,并通过时延抖动值和时延抖动门限计算得到时延抖动参数对应的参数值。The processor 52 is further configured to: obtain a delay jitter value of the to-be-scheduled service data packet, a delay jitter threshold of the to-be-scheduled service, and use the delay jitter value and the delay when the existing QoS parameter includes the delay jitter parameter. The jitter threshold is calculated to obtain the parameter value corresponding to the delay jitter parameter.
处理器52,还用于在当前待调度业务存在新的QoS需求时,获取新的QoS参数对应的参数值,并获取新的QoS参数对应的权 值。The processor 52 is further configured to acquire a parameter value corresponding to the new QoS parameter when acquiring a new QoS requirement of the current to-be-scheduled service, and acquire a corresponding right of the QoS parameter. value.
处理器52,还用于根据已有QoS参数的参数值、已有QoS参数对应的权值、新的QoS参数的参数值和新的QoS参数对应的权值计算得到QoS度量值;还用于根据已有QoS参数的参数值、已有QoS参数对应的权值、新的QoS参数的参数值、新的QoS参数对应的权值和业务优先级对应的数值计算得到QoS度量值。The processor 52 is further configured to calculate a QoS metric according to a parameter value of the existing QoS parameter, a weight corresponding to the existing QoS parameter, a parameter value of the new QoS parameter, and a weight corresponding to the new QoS parameter; The QoS metric value is calculated according to the parameter value of the existing QoS parameter, the weight corresponding to the existing QoS parameter, the parameter value of the new QoS parameter, the weight corresponding to the new QoS parameter, and the value corresponding to the service priority.
处理器52,还用于当存在多个待调度业务时,获取每个待调度业务对应的QoS度量值;分别将每个待调度业务对应的QoS度量值与相应的调度算法值进行加权计算,得到每个待调度业务的调度值,优先调度最大调度值对应的待调度业务。The processor 52 is further configured to: when there are multiple to-be-scheduled services, obtain a QoS metric corresponding to each to-be-scheduled service; and perform a weighted calculation on the QoS metric corresponding to each to-be-scheduled service and the corresponding scheduling algorithm value, respectively. The scheduling value of each to-be-scheduled service is obtained, and the to-be-scheduled service corresponding to the maximum scheduling value is preferentially scheduled.
其中,调度算法值表示待调度业务通过调度算法得到的数值,调度值用于表示待调度业务被调度的顺序。The scheduling algorithm value represents a value obtained by the scheduling algorithm by the scheduling algorithm, and the scheduling value is used to indicate the order in which the to-be-scheduled services are scheduled.
值得说明的是,待调度业务对应的所有权值之和为1,且对QoS参数的需求度与QoS参数对应的权值正相关,需求度用于表征QoS参数在待调度业务中受重视的程度,需求度越高,QoS参数在待调度业务中越受重视。It is worth noting that the sum of the ownership values corresponding to the service to be scheduled is 1, and the demand degree of the QoS parameter is positively correlated with the weight corresponding to the QoS parameter, and the demand degree is used to characterize the degree to which the QoS parameter is valued in the service to be scheduled. The higher the demand, the more attention is paid to the QoS parameters in the services to be scheduled.
此外值得说明的是,上述图5所示的设备,用于执行图1至图2所示的方法流程,且用于实现上述如图3和图4所示的装置。It should be noted that the apparatus shown in FIG. 5 above is used to execute the method flow shown in FIG. 1 to FIG. 2, and is used to implement the apparatus shown in FIG. 3 and FIG.
本发明实施例提供了一种基站,在获取到待调度业务的已有QoS参数对应的参数值和已有QoS参数对应的权值之后,通过这些参数值和权值来计算待调度业务的QoS度量值,由于不同业务的权值不同,能够通过权值进行业务区分,从而能够计算出业务更为准确的QoS调度值。而现有技术的QoS度量方法中,很大程度上得到的业务的QoS度量值相同,从而在业务调度过程中难以进行业务区分,从而导致业务实现失败。但是本发明实施例提供的技术方案,能够计算出业务更为准确的QoS调度值,从而准确 地实现业务调度,提高业务实现的成功率。The embodiment of the present invention provides a base station, after acquiring the parameter value corresponding to the existing QoS parameter of the to-be-scheduled service and the weight corresponding to the existing QoS parameter, calculating the QoS of the to-be-scheduled service by using the parameter value and the weight value. The metric value, because the weights of different services are different, can be differentiated by the weight, so that a more accurate QoS scheduling value can be calculated. In the QoS measurement method of the prior art, the QoS metrics of the services are obtained in the same manner, so that it is difficult to perform service differentiation in the service scheduling process, and the service implementation fails. However, the technical solution provided by the embodiment of the present invention can calculate a more accurate QoS scheduling value of the service, thereby being accurate. Realize business scheduling and improve the success rate of business realization.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的***,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above functional modules is illustrated. In practical applications, the above functions can be allocated according to needs. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the system, the device and the unit described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的***,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独 立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit is implemented in the form of a software functional unit and is When the product is sold or used, it can be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims (18)

  1. 一种服务质量度量方法,其特征在于,待调度业务设置有至少一种服务质量QoS参数,当所述待调度业务不同时,所述不同的待调度业务对应的权值中至少有一个不同,所述方法包括:A service quality measurement method, wherein the to-be-scheduled service is configured with at least one quality of service QoS parameter, and when the to-be-scheduled service is different, at least one of the weights of the different to-be-scheduled services is different. The method includes:
    获取所述待调度业务的已有QoS参数的参数值和已有QoS参数对应的权值,已有QoS参数与所述已有QoS参数对应的权值一一对应;Obtaining a parameter value of the existing QoS parameter of the to-be-scheduled service and a weight corresponding to the existing QoS parameter, and the existing QoS parameter has a one-to-one correspondence with the weight corresponding to the existing QoS parameter;
    通过所述已有QoS参数的参数值和所述已有QoS参数对应的权值,计算得到所述待调度业务的QoS度量值,所述QoS度量值为用于度量所述待调度业务服务质量的数值。Calculating, by using the parameter value of the existing QoS parameter and the weight corresponding to the existing QoS parameter, a QoS metric value of the to-be-scheduled service, where the QoS metric value is used to measure the service quality of the to-be-scheduled service The value.
  2. 根据权利要求1所述的方法,其特征在于,在计算所述待调度业务的QoS度量值之前,所述方法还包括:The method according to claim 1, wherein before calculating the QoS metric value of the to-be-scheduled service, the method further includes:
    获取所述待调度业务对应的业务优先级;Obtaining a service priority corresponding to the to-be-scheduled service;
    通过所述业务优先级对应的数值、所述已有QoS参数的参数值和所述已有QoS参数对应的权值,计算得到所述QoS度量值。The QoS metric value is calculated by using a value corresponding to the service priority, a parameter value of the existing QoS parameter, and a weight corresponding to the existing QoS parameter.
  3. 根据权利要求1或2所述的方法,其特征在于,获取所述待调度业务的已有QoS参数的参数值,包括:The method according to claim 1 or 2, wherein the obtaining the parameter value of the existing QoS parameter of the to-be-scheduled service comprises:
    当所述已有QoS参数包括丢包率参数时,获取所述待调度业务的平均丢包率和所述待调度业务的丢包率门限,并根据所述平均丢包率和所述丢包率门限计算得到所述丢包率参数对应的参数值;When the existing QoS parameter includes a packet loss rate parameter, the average packet loss rate of the to-be-scheduled service and the packet loss rate threshold of the to-be-scheduled service are obtained, and according to the average packet loss rate and the packet loss Rate threshold calculation to obtain a parameter value corresponding to the packet loss rate parameter;
    或者,当所述已有QoS参数包括时延参数时,获取所述待调度业务等待传输的时延和所述待调度业务的时隙门限,并根据所述时延和所述时延门限计算得到所述时延参数对应的参数值;Or, when the existing QoS parameter includes a delay parameter, obtaining a delay of the to-be-scheduled service waiting for transmission and a time slot threshold of the to-be-scheduled service, and calculating according to the delay and the delay threshold Obtaining a parameter value corresponding to the delay parameter;
    或者,当所述已有QoS参数包括速率参数时,获取所述待调度业务数据包的瞬时传输速率、所述待调度业务的平均速率门限 和所述待调度业务的实际传输平均速率,并根据所述瞬时传输平均速率、所述平均数率门限和所述实际传输平均速率计算得到所述速率参数对应的参数值;Or, when the existing QoS parameter includes a rate parameter, acquiring an instantaneous transmission rate of the to-be-scheduled service data packet, and an average rate threshold of the to-be-scheduled service a parameter value corresponding to the rate parameter, and an actual transmission average rate of the to-be-scheduled service, and calculating, according to the instantaneous transmission average rate, the average rate threshold, and the actual transmission average rate;
    或者,当所述已有QoS参数包括时延抖动参数时,获取所述待调度业务数据包传输的时延抖动值、所述待调度业务的时延抖动门限,并通过所述时延抖动值和所述时延抖动门限计算得到所述时延抖动参数对应的参数值。Or, when the existing QoS parameter includes a delay jitter parameter, obtaining a delay jitter value of the to-be-scheduled service data packet, a delay jitter threshold of the to-be-scheduled service, and using the delay jitter value And calculating, by the delay jitter threshold, a parameter value corresponding to the delay jitter parameter.
  4. 根据权利要求1-3任意一项所述的方法,其特征在于,所述方法还包括:The method of any of claims 1-3, wherein the method further comprises:
    当所述待调度业务存在新的QoS需求时,获取新的QoS参数对应的参数值,并获取新的QoS参数对应的权值;When a new QoS requirement exists in the to-be-scheduled service, acquiring a parameter value corresponding to the new QoS parameter, and acquiring a weight corresponding to the new QoS parameter;
    根据所述已有QoS参数的参数值、所述已有QoS参数对应的权值、所述新的QoS参数的参数值和所述新的QoS参数对应的权值计算得到所述QoS度量值;And calculating, according to the parameter value of the existing QoS parameter, the weight corresponding to the existing QoS parameter, the parameter value of the new QoS parameter, and the weight corresponding to the new QoS parameter, the QoS metric value;
    或者,根据所述已有QoS参数的参数值、所述已有QoS参数对应的权值、所述新的QoS参数的参数值、所述新的QoS参数对应的权值和所述业务优先级对应的数值计算得到所述QoS度量值。Or according to the parameter value of the existing QoS parameter, the weight corresponding to the existing QoS parameter, the parameter value of the new QoS parameter, the weight corresponding to the new QoS parameter, and the service priority. The corresponding value is calculated to obtain the QoS metric value.
  5. 根据权利要求1-4任意一项所述的方法,其特征在于,当存在多个所述待调度业务时,所述方法还包括:The method according to any one of claims 1-4, wherein when there are a plurality of the to-be-scheduled services, the method further includes:
    获取每个所述待调度业务对应的QoS度量值;Obtaining a QoS metric corresponding to each of the to-be-scheduled services;
    分别将所述每个待调度业务对应的QoS度量值与相应的调度算法值进行加权计算,得到每个所述待调度业务的调度值,所述调度算法值表示所述待调度业务通过调度算法得到的数值,所述调度值用于表示所述待调度业务被调度的顺序;And performing a weighting calculation on the QoS metric value corresponding to each to-be-scheduled service and the corresponding scheduling algorithm value, respectively, to obtain a scheduling value of each to-be-scheduled service, where the scheduling algorithm value indicates that the to-be-scheduled service passes the scheduling algorithm The obtained value, the scheduling value is used to indicate an order in which the to-be-scheduled service is scheduled;
    优先调度最大调度值对应的待调度业务。 The service to be scheduled corresponding to the maximum scheduling value is preferentially scheduled.
  6. 根据权利要求1-5任意一项所述的方法,其特征在于,A method according to any one of claims 1 to 5, characterized in that
    所述待调度业务对应的所有权值之和为1,且对所述QoS参数的需求度与所述QoS参数对应的权值正相关,所述需求度用于表征所述QoS参数在所述待调度业务中受重视的程度,所述需求度越高,所述QoS参数在所述待调度业务中越受重视。The sum of the ownership values corresponding to the to-be-scheduled service is 1, and the required degree of the QoS parameter is positively correlated with the weight corresponding to the QoS parameter, and the required degree is used to represent the QoS parameter in the waiting The degree of attention in the scheduling service, the higher the demand degree, the more attention is paid to the QoS parameters in the to-be-scheduled service.
  7. 一种服务质量度量装置,其特征在于,待调度业务设置有至少一种服务质量QoS参数,当所述待调度业务不同时,所述不同的待调度业务对应的权值中至少有一个不同,所述装置包括:A service quality metric device, wherein the to-be-scheduled service is configured with at least one quality of service QoS parameter, and when the to-be-scheduled service is different, at least one of the weights corresponding to the different to-be-scheduled services is different. The device includes:
    获取单元,用于获取所述待调度业务的已有QoS参数的参数值和已有QoS参数对应的权值,已有QoS参数与所述已有QoS参数对应的权值一一对应;An obtaining unit, configured to obtain a parameter value of an existing QoS parameter of the to-be-scheduled service and a weight corresponding to the existing QoS parameter, where the existing QoS parameter has a one-to-one correspondence with the weight corresponding to the existing QoS parameter;
    计算单元,用于通过所述获取单元获取到的所述已有QoS参数的参数值和所述已有QoS参数对应的权值,计算得到所述待调度业务的QoS度量值,所述QoS度量值为用于度量所述待调度业务服务质量的数值。a calculating unit, configured to calculate, by using the parameter value of the existing QoS parameter and the weight corresponding to the existing QoS parameter, the QoS metric of the to-be-scheduled service, the QoS metric The value is a value used to measure the quality of service to be scheduled.
  8. 根据权利要求7所述的装置,其特征在于,The device of claim 7 wherein:
    所述获取单元,还用于在所述计算单元计算所述待调度业务的QoS度量值之前,获取所述待调度业务对应的业务优先级;The obtaining unit is further configured to acquire a service priority corresponding to the to-be-scheduled service before the calculating unit calculates the QoS metric value of the to-be-scheduled service;
    所述计算单元,还用于通过所述获取单元获取到的所述业务优先级对应的数值、所述已有QoS参数的参数值和所述已有QoS参数对应的权值,计算得到所述QoS度量值。The calculating unit is further configured to calculate, by using the value corresponding to the service priority acquired by the acquiring unit, a parameter value of the existing QoS parameter, and a weight corresponding to the existing QoS parameter, QoS metrics.
  9. 根据权利要求7或8所述的装置,其特征在于,还包括:The device according to claim 7 or 8, further comprising:
    所述获取单元,还用于当所述已有QoS参数包括丢包率参数时,获取所述待调度业务的平均丢包率和所述待调度业务的丢包率门限;The acquiring unit is further configured to: when the existing QoS parameter includes a packet loss rate parameter, obtain an average packet loss rate of the to-be-scheduled service and a packet loss rate threshold of the to-be-scheduled service;
    所述计算单元,还用于根据所述获取单元获取到的所述平均 丢包率和所述丢包率门限计算得到所述丢包率参数对应的参数值;The calculating unit is further configured to use the average acquired according to the acquiring unit The packet loss rate and the packet loss rate threshold are calculated to obtain parameter values corresponding to the packet loss rate parameter;
    或者,or,
    所述获取单元,还用于当所述已有QoS参数包括时延参数时,获取所述待调度业务等待传输的时延和所述待调度业务的时隙门限;The acquiring unit is further configured to: when the existing QoS parameter includes a delay parameter, obtain a delay of waiting for the to-be-scheduled service to be transmitted, and a time slot threshold of the to-be-scheduled service;
    所述计算单元,还用于根据所述获取单元获取到的所述时延和所述时延门限计算得到所述时延参数对应的参数值;The calculating unit is further configured to calculate, according to the time delay acquired by the acquiring unit and the delay threshold, a parameter value corresponding to the delay parameter;
    或者,or,
    所述获取单元,还用于当所述已有QoS参数包括速率参数时,获取所述待调度业务数据包的瞬时传输速率、所述待调度业务的平均速率门限和所述待调度业务的实际传输平均速率;The acquiring unit is further configured to: when the existing QoS parameter includes a rate parameter, acquire an instantaneous transmission rate of the to-be-scheduled service data packet, an average rate threshold of the to-be-scheduled service, and an actual Average transmission rate;
    所述计算单元,还用于根据所述获取单元获取到的所述瞬时传输平均速率、所述平均数率门限和所述实际传输平均速率计算得到所述速率参数对应的参数值;The calculating unit is further configured to calculate, according to the instantaneous transmission average rate, the average rate threshold, and the actual transmission average rate obtained by the acquiring unit, a parameter value corresponding to the rate parameter;
    或者,or,
    所述获取单元,还用于当所述已有QoS参数包括时延抖动参数时,获取所述待调度业务数据包传输的时延抖动值、所述待调度业务的时延抖动门限;The acquiring unit is further configured to: when the existing QoS parameter includes a delay jitter parameter, obtain a delay jitter value of the to-be-scheduled service data packet transmission, and a delay jitter threshold of the to-be-scheduled service;
    所述计算单元,还用于通过所述获取单元获取到的所述时延抖动值和所述时延抖动门限计算得到所述时延抖动参数对应的参数值。The calculating unit is further configured to calculate, by using the delay jitter value and the delay jitter threshold obtained by the acquiring unit, a parameter value corresponding to the delay jitter parameter.
  10. 根据权利要求7-9任意一种所述的装置,其特征在于,Device according to any one of claims 7-9, characterized in that
    所述获取单元,还用于当所述待调度业务存在新的QoS需求时,获取新的QoS参数对应的参数值,并获取新的QoS参数对应的权值; The acquiring unit is further configured to: when a new QoS requirement exists in the to-be-scheduled service, obtain a parameter value corresponding to the new QoS parameter, and acquire a weight corresponding to the new QoS parameter;
    所述计算单元,还用于根据所述获取单元获取到的所述已有QoS参数的参数值、所述已有QoS参数对应的权值、所述新的QoS参数的参数值和所述新的QoS参数对应的权值计算得到所述QoS度量值;The calculating unit is further configured to: use, according to the acquiring, the parameter value of the existing QoS parameter, the weight corresponding to the existing QoS parameter, the parameter value of the new QoS parameter, and the new The QoS parameter corresponding to the QoS parameter is calculated to obtain the QoS metric value;
    或者,所述计算单元,还用于根据所述已有QoS参数的参数值、所述已有QoS参数对应的权值、所述新的QoS参数的参数值、所述新的QoS参数对应的权值和所述业务优先级对应的数值计算得到所述QoS度量值。Or the calculating unit is further configured to: according to the parameter value of the existing QoS parameter, the weight corresponding to the existing QoS parameter, the parameter value of the new QoS parameter, and the new QoS parameter. The weight value and the value corresponding to the service priority are calculated to obtain the QoS metric value.
  11. 根据所述权利要求7-10任意一种所述的装置,其特征在于,当存在多个所述待调度业务时,所述装置还包括:The device according to any one of claims 7 to 10, wherein when there are a plurality of the to-be-scheduled services, the device further includes:
    所述获取单元,用于获取每个所述待调度业务对应的QoS度量值;The obtaining unit is configured to obtain a QoS metric corresponding to each to-be-scheduled service;
    所述计算单元,还用于分别将所述获取单元获取到的所述每个待调度业务对应的QoS度量值与相应的调度算法值进行加权计算,得到每个所述待调度业务的调度值,所述调度算法值表示所述待调度业务通过调度算法得到的数值,所述调度值用于表示所述待调度业务被调度的顺序;The calculating unit is further configured to perform weighting calculation on the QoS metric value corresponding to each to-be-scheduled service and the corresponding scheduling algorithm value, respectively, to obtain a scheduling value of each of the to-be-scheduled services. The scheduling algorithm value indicates a value obtained by the scheduling algorithm by using a scheduling algorithm, where the scheduling value is used to indicate an order in which the to-be-scheduled service is scheduled;
    调度单元,用于根据所述计算单元得到的所述每个所述待调度业务的调度值,优先调度最大调度值对应的待调度业务。The scheduling unit is configured to preferentially schedule the to-be-scheduled service corresponding to the maximum scheduling value according to the scheduling value of each of the to-be-scheduled services obtained by the computing unit.
  12. 根据权利要求7-11任意一种所述的装置,其特征在于,A device according to any one of claims 7-11, characterized in that
    所述待调度业务对应的所有权值之和为1,且对所述QoS参数的需求度与所述QoS参数在所述待调度业务中受重视的程度,所述需求度越高,所述QoS参数在所述待调度业务中越受重视。The sum of the ownership values corresponding to the to-be-scheduled service is 1, and the degree of demand for the QoS parameter and the degree to which the QoS parameter is valued in the to-be-scheduled service, the higher the demand degree, the QoS The more important the parameters are in the to-be-scheduled service.
  13. 一种基站,其特征在于,待调度业务设置有至少一种服务质量QoS参数,当所述待调度业务不同时,所述不同的待调度业务对应的权值中至少有一个不同,所述基站包括: A base station, wherein the to-be-scheduled service is configured with at least one quality of service QoS parameter, and when the to-be-scheduled service is different, at least one of the weights corresponding to the different to-be-scheduled services is different, the base station Includes:
    存储器,用于存储包括程序指令的信息;a memory for storing information including program instructions;
    处理器,与所述存储器耦合,用于控制所述程序指令的执行,具体用于,获取所述待调度业务的已有QoS参数的参数值和已有QoS参数对应的权值,已有QoS参数与所述已有QoS参数对应的权值一一对应;a processor, coupled to the memory, for controlling execution of the program instruction, specifically, acquiring a parameter value of an existing QoS parameter of the to-be-scheduled service and a weight corresponding to an existing QoS parameter, and having an existing QoS The parameter has a one-to-one correspondence with the weight corresponding to the existing QoS parameter;
    通过所述已有QoS参数的参数值和所述已有QoS参数对应的权值,计算得到所述待调度业务的QoS度量值,所述QoS度量值为用于度量所述待调度业务服务质量的数值。Calculating, by using the parameter value of the existing QoS parameter and the weight corresponding to the existing QoS parameter, a QoS metric value of the to-be-scheduled service, where the QoS metric value is used to measure the service quality of the to-be-scheduled service The value.
  14. 根据权利要求13所述的基站,其特征在于,The base station according to claim 13, wherein
    所述处理器,还用于在计算所述待调度业务的QoS度量值之前,获取所述待调度业务对应的业务优先级;通过所述业务优先级对应的数值、所述已有QoS参数的参数值和所述已有QoS参数对应的权值,计算得到所述QoS度量值。The processor is further configured to: before calculating a QoS metric value of the to-be-scheduled service, obtain a service priority corresponding to the to-be-scheduled service; use a value corresponding to the service priority, and the existing QoS parameter The parameter value and the weight corresponding to the existing QoS parameter are calculated to obtain the QoS metric value.
  15. 根据权利要求13或14所述的基站,其特征在于,A base station according to claim 13 or 14, wherein
    所述处理器,还用于当所述已有QoS参数包括丢包率参数时,获取所述待调度业务的平均丢包率和所述待调度业务的丢包率门限,并根据所述平均丢包率和所述丢包率门限计算得到所述丢包率参数对应的参数值;The processor is further configured to: when the existing QoS parameter includes a packet loss rate parameter, obtain an average packet loss rate of the to-be-scheduled service and a packet loss rate threshold of the to-be-scheduled service, and according to the average The packet loss rate and the packet loss rate threshold are calculated to obtain parameter values corresponding to the packet loss rate parameter;
    或者,当所述已有QoS参数包括时延参数时,获取所述待调度业务等待传输的时延和所述待调度业务的时隙门限,并根据所述时延和所述时延门限计算得到所述时延参数对应的参数值;Or, when the existing QoS parameter includes a delay parameter, obtaining a delay of the to-be-scheduled service waiting for transmission and a time slot threshold of the to-be-scheduled service, and calculating according to the delay and the delay threshold Obtaining a parameter value corresponding to the delay parameter;
    或者,当所述已有QoS参数包括速率参数时,获取所述待调度业务数据包的瞬时传输速率、所述待调度业务的平均速率门限和所述待调度业务的实际传输平均速率,并根据所述瞬时传输平均速率、所述平均数率门限和所述实际传输平均速率计算得到所述速率参数对应的参数值; Or, when the existing QoS parameter includes a rate parameter, obtaining an instantaneous transmission rate of the to-be-scheduled service data packet, an average rate threshold of the to-be-scheduled service, and an actual transmission average rate of the to-be-scheduled service, and according to Calculating, by the instantaneous transmission average rate, the average rate threshold, and the actual transmission average rate, a parameter value corresponding to the rate parameter;
    或者,当所述已有QoS参数包括时延抖动参数时,获取所述待调度业务数据包传输的时延抖动值、所述待调度业务的时延抖动门限,并通过所述时延抖动值和所述时延抖动门限计算得到所述时延抖动参数对应的参数值。Or, when the existing QoS parameter includes a delay jitter parameter, obtaining a delay jitter value of the to-be-scheduled service data packet, a delay jitter threshold of the to-be-scheduled service, and using the delay jitter value And calculating, by the delay jitter threshold, a parameter value corresponding to the delay jitter parameter.
  16. 根据权利要求13-15任意一种所述的基站,其特征在于,A base station according to any one of claims 13-15, characterized in that
    所述处理器,还用于当所述待调度业务存在新的QoS需求时,获取新的QoS参数对应的参数值,并获取新的QoS参数对应的权值;The processor is further configured to: when a new QoS requirement exists in the to-be-scheduled service, obtain a parameter value corresponding to a new QoS parameter, and acquire a weight corresponding to the new QoS parameter;
    根据所述已有QoS参数的参数值、所述已有QoS参数对应的权值、所述新的QoS参数的参数值和所述新的QoS参数对应的权值计算得到所述QoS度量值;还用于根据所述已有QoS参数的参数值、所述已有QoS参数对应的权值、所述新的QoS参数的参数值、所述新的QoS参数对应的权值和所述业务优先级对应的数值计算得到所述QoS度量值。And calculating, according to the parameter value of the existing QoS parameter, the weight corresponding to the existing QoS parameter, the parameter value of the new QoS parameter, and the weight corresponding to the new QoS parameter, the QoS metric value; And a parameter value according to the existing QoS parameter, a weight corresponding to the existing QoS parameter, a parameter value of the new QoS parameter, a weight corresponding to the new QoS parameter, and the service priority The value corresponding to the level is calculated to obtain the QoS metric value.
  17. 根据权利要求13-16任意一种所述的基站,其特征在于,A base station according to any one of claims 13-16, characterized in that
    所述处理器,还用于当存在多个所述待调度业务时,获取每个所述待调度业务对应的QoS度量值;分别将所述每个待调度业务对应的QoS度量值与相应的调度算法值进行加权计算,得到每个所述待调度业务的调度值,所述调度算法值表示所述待调度业务通过调度算法得到的数值,所述调度值用于表示所述待调度业务被调度的顺序;The processor is further configured to: when there are multiple to-be-scheduled services, obtain a QoS metric corresponding to each to-be-scheduled service; and respectively perform QoS metrics corresponding to each to-be-scheduled service and corresponding The scheduling algorithm value is weighted to obtain a scheduling value of each of the to-be-scheduled services, where the scheduling algorithm value represents a value obtained by the scheduling algorithm by using a scheduling algorithm, where the scheduling value is used to indicate that the to-be-scheduled service is Order of scheduling;
    优先调度最大调度值对应的待调度业务。The service to be scheduled corresponding to the maximum scheduling value is preferentially scheduled.
  18. 根据权利要求13-17任意一种所述的基站,其特征在于,A base station according to any one of claims 13-17, characterized in that
    所述待调度业务对应的所有权值之和为1,且对所述QoS参数的需求度与所述QoS参数对应的权值正相关,所述需求度用于表征所述QoS参数在所述待调度业务中受重视的程度,所述需求 度越高,所述QoS参数在所述待调度业务中越受重视。 The sum of the ownership values corresponding to the to-be-scheduled service is 1, and the required degree of the QoS parameter is positively correlated with the weight corresponding to the QoS parameter, and the required degree is used to represent the QoS parameter in the waiting The extent to which the dispatching business is valued, the demand The higher the degree, the more attention is paid to the QoS parameters in the to-be-scheduled service.
PCT/CN2015/076104 2015-04-08 2015-04-08 Quality of service measurement method and apparatus, and base station WO2016161582A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2015/076104 WO2016161582A1 (en) 2015-04-08 2015-04-08 Quality of service measurement method and apparatus, and base station
CN201580078053.8A CN107409065A (en) 2015-04-08 2015-04-08 A kind of quality of service measures method, apparatus and a kind of base station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/076104 WO2016161582A1 (en) 2015-04-08 2015-04-08 Quality of service measurement method and apparatus, and base station

Publications (1)

Publication Number Publication Date
WO2016161582A1 true WO2016161582A1 (en) 2016-10-13

Family

ID=57071693

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/076104 WO2016161582A1 (en) 2015-04-08 2015-04-08 Quality of service measurement method and apparatus, and base station

Country Status (2)

Country Link
CN (1) CN107409065A (en)
WO (1) WO2016161582A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114885028A (en) * 2022-05-25 2022-08-09 国网北京市电力公司 Service scheduling method, device and computer readable storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115426673A (en) * 2019-02-14 2022-12-02 华为技术有限公司 Time delay measuring method, network equipment and terminal equipment
CN111865705A (en) * 2019-04-24 2020-10-30 普天信息技术有限公司 Scheduling performance evaluation method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330709A (en) * 2008-06-12 2008-12-24 ***通信集团设计院有限公司 Method and device for determining data business service quality
CN101516093A (en) * 2009-01-23 2009-08-26 北京邮电大学 Method and device for judging comprehensive priority of mobile communication system
US20100177709A1 (en) * 2009-01-09 2010-07-15 Qualcomm Incorporated Methods and systems for uplink scheduling using weighted qos parameters
CN101951663A (en) * 2010-08-26 2011-01-19 湘潭大学 User-based multi-access network selection method being used under wireless heterogeneous network environment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442446B (en) * 2013-08-01 2016-08-10 奥维通信股份有限公司 Dynamic and semi-static combined scheduling method in a kind of LTE system
CN104378220A (en) * 2013-08-14 2015-02-25 中兴通讯股份有限公司 Method, device, user terminal and network server for evaluating user experience quality

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330709A (en) * 2008-06-12 2008-12-24 ***通信集团设计院有限公司 Method and device for determining data business service quality
US20100177709A1 (en) * 2009-01-09 2010-07-15 Qualcomm Incorporated Methods and systems for uplink scheduling using weighted qos parameters
CN101516093A (en) * 2009-01-23 2009-08-26 北京邮电大学 Method and device for judging comprehensive priority of mobile communication system
CN101951663A (en) * 2010-08-26 2011-01-19 湘潭大学 User-based multi-access network selection method being used under wireless heterogeneous network environment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114885028A (en) * 2022-05-25 2022-08-09 国网北京市电力公司 Service scheduling method, device and computer readable storage medium
CN114885028B (en) * 2022-05-25 2024-01-23 国网北京市电力公司 Service scheduling method, device and computer readable storage medium

Also Published As

Publication number Publication date
CN107409065A (en) 2017-11-28

Similar Documents

Publication Publication Date Title
US20170366467A1 (en) Data traffic control
Høiland-Jørgensen et al. Ending the Anomaly: Achieving Low Latency and Airtime Fairness in {WiFi}
US9572135B2 (en) Airtime-based packet scheduling for wireless networks
WO2020207229A1 (en) Data transmission method and related apparatus
EP3410641A1 (en) Network-traffic control method and network device thereof
US20150124601A1 (en) Method and apparatus for network traffic offloading
US9736859B2 (en) Method and apparatus for providing voice service in wireless local area network
KR20130023263A (en) Techniques for initiating communication in a wireless network
WO2020125539A1 (en) Node device selecting method and related device thereof
US11563539B2 (en) Agile transport for background traffic in cellular networks
CN110972150B (en) Network capacity expansion method and device, electronic equipment and computer storage medium
US20190313267A1 (en) Visualization of personalized quality of experience regarding mobile network
RU2010136702A (en) METHODS AND DEVICE FOR INTERNAL USE QUALITY SERVICE PLANNING OF THE RISING COMMUNICATION LINE
WO2018132975A1 (en) Video data processing method and device
US11736954B2 (en) Capacity planning method and apparatus
WO2016161582A1 (en) Quality of service measurement method and apparatus, and base station
US20240007406A1 (en) Transmission control method and apparatus
Ghorbanzadeh et al. Implementing an optimal rate allocation tuned to the user quality of experience
Kumar et al. A delay-optimal packet scheduler for M2M uplink
TW202224477A (en) A device and a method for scheduling data transmission
Zaharia et al. Machine learning-based traffic offloading in fog networks
CN105141404B (en) Wireless resource allocation methods based on QoE in a kind of lte-a system
Tang et al. A MPTCP scheduler combined with congestion control for short flow delivery in signal transmission
Yuan et al. iVoIP: an intelligent bandwidth management scheme for VoIP in WLANs
WO2016206472A1 (en) Mac traffic scheduling method and apparatus, base station, and computer-readable storage medium

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: 15888139

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: 15888139

Country of ref document: EP

Kind code of ref document: A1