[go: up one dir, main page]

CN100461766C - A method and device for allocating resources for real-time streaming media services - Google Patents

A method and device for allocating resources for real-time streaming media services Download PDF

Info

Publication number
CN100461766C
CN100461766C CNB2006101038317A CN200610103831A CN100461766C CN 100461766 C CN100461766 C CN 100461766C CN B2006101038317 A CNB2006101038317 A CN B2006101038317A CN 200610103831 A CN200610103831 A CN 200610103831A CN 100461766 C CN100461766 C CN 100461766C
Authority
CN
China
Prior art keywords
streaming media
service
pdp context
real time
time flow
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CNB2006101038317A
Other languages
Chinese (zh)
Other versions
CN1909514A (en
Inventor
王新发
蒋铭
屈琴
陈锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2006101038317A priority Critical patent/CN100461766C/en
Publication of CN1909514A publication Critical patent/CN1909514A/en
Priority to PCT/CN2007/002327 priority patent/WO2008017249A1/en
Application granted granted Critical
Publication of CN100461766C publication Critical patent/CN100461766C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种为实时流媒体业务分配资源的方法,包括步骤:分组数据业务节点捕获用户终端发送的流媒体业务报文;通过解析所述流媒体业务报文判断有实时流媒体业务开始,发起数据包协议PDP上下文更新,为该实时流媒体业务预留资源;判断有实时流媒体业务结束,发起PDP上下文更新,收回为该实时流媒体业务预留的资源。本发明还提供一种为实时流媒体业务分配资源的装置,包括:用于捕获和解析用户终端发送的业务报文的检测/解析模块、用于对实时流媒体业务及其保证速率进行匹配判断的匹配判断模块,用于根据实时流媒体业务的保证速率为其预留相应资源的资源管理模块。采用本发明方法,可保障实时流媒体业务质量,提高网络资源利用率。

Figure 200610103831

The invention discloses a method for allocating resources for a real-time streaming media service, comprising steps: a packet data service node captures a streaming media service message sent by a user terminal; and judges that a real-time streaming media service starts by analyzing the streaming media service message , Initiate a packet protocol PDP context update to reserve resources for the real-time streaming service; determine that the real-time streaming service ends, initiate a PDP context update, and take back the resources reserved for the real-time streaming service. The present invention also provides a device for allocating resources for real-time streaming media services, including: a detection/parsing module for capturing and analyzing service messages sent by user terminals, and for matching and judging real-time streaming media services and their guaranteed rates The matching judging module is a resource management module for reserving corresponding resources for the real-time streaming media service according to the guaranteed rate. By adopting the method of the invention, the service quality of real-time streaming media can be guaranteed, and the utilization rate of network resources can be improved.

Figure 200610103831

Description

一种为实时流媒体业务分配资源的方法及装置 A method and device for allocating resources for real-time streaming media services

技术领域 technical field

本发明涉及通信领域,尤其涉及一种分配业务资源的方法及装置。The present invention relates to the communication field, in particular to a method and device for allocating service resources.

背景技术 Background technique

数据业务的飞速发展,尤其是实时类数据业务(如流媒体业务)的发展,给现有网络带来了很大的冲击。实时类数据业务数据量大,要求时延低,对于传统数据网络是个很大的考验。随着实时类数据业务的增长,对于现有网络提出了以下需求:网络能够将实时业务和非实时业务区分开来,即能够具备业务感知能力;能够对感知到的实时业务做差异化处理,即具备业务差异化处理能力。由此可见,业务感知能力是保障无线网络业务质量(Quality of Service,QoS)的前提。The rapid development of data services, especially the development of real-time data services (such as streaming media services), has brought a great impact on existing networks. Real-time data services have a large amount of data and require low latency, which is a big test for traditional data networks. With the growth of real-time data services, the following requirements are put forward for the existing network: the network can distinguish real-time services from non-real-time services, that is, it can have service awareness capabilities; it can perform differentiated processing on perceived real-time services, That is, it has the ability to handle business differentiation. It can be seen that the service awareness capability is the prerequisite for guaranteeing the Quality of Service (QoS) of the wireless network.

在通用移动通信系统(Universal Mobile Telecommunications System,UMTS)网络领域,对于数据业务的感知是3GPP协议标准的一个重要内容。参见图1,为现有3GPP R99协议标准提出的业务感知方案示意图。In the field of Universal Mobile Telecommunications System (UMTS) network, the perception of data services is an important content of 3GPP protocol standards. See Figure 1, which is a schematic diagram of the service awareness solution proposed by the existing 3GPP R99 protocol standard.

图1所示的通过业务感知为业务分配资源的过程中,网络侧设备(如网关GPRS支持节点GGSN)不具备业务感知能力,业务感知能力依赖于用户终端(User Equipment,UE)。然而,由于用户终端本身能力限制,用户终端在建立协议数据包(Protocol Data Packet,PDP)上下文请求中,所携带的服务质量(Quality of Service,QoS)参数与业务层的需求可能并不完全一致,也就是说、用户终端上报给UMTS网络的QoS参数并不完全可信,而网络侧(如无线接入网RAN/核心网CN/业务平台)又不具备业务感知能力,无法真实感知到用户面实际传送的业务属性(如Traffic class)。所以,在3GPP R99阶段,按照用户终端请求的QoS类别和参数来保证服务质量的方法,并不能完全满足实时业务需求。如果用户终端在PDP上下文建立请求中没有携带QoS参数,网络侧一般按缺省QoS参数或用户签约QoS参数来为业务预留资源。显然,缺省参数和用户签约QoS参数不一定与用户当前业务需求一致。In the process of allocating resources for services through service awareness shown in Figure 1, the network side equipment (such as the gateway GPRS support node GGSN) does not have the service awareness capability, and the service awareness ability depends on the user terminal (User Equipment, UE). However, due to the capability limitation of the user terminal itself, the quality of service (Quality of Service, QoS) parameter carried by the user terminal in the protocol data packet (Protocol Data Packet, PDP) context request may not be completely consistent with the requirements of the business layer. That is to say, the QoS parameters reported by the user terminal to the UMTS network are not completely credible, and the network side (such as the radio access network RAN/core network CN/service platform) does not have the service awareness capability, and cannot truly perceive the user The business attribute (such as Traffic class) actually transmitted by the plane. Therefore, in the 3GPP R99 stage, the method of guaranteeing the service quality according to the QoS category and parameters requested by the user terminal cannot fully meet the real-time service requirements. If the user terminal does not carry QoS parameters in the PDP context establishment request, the network side generally reserves resources for the service according to the default QoS parameters or user subscription QoS parameters. Obviously, the default parameters and the QoS parameters subscribed by the user are not necessarily consistent with the current service requirements of the user.

综上所述,在3GPP R99协议标准所提出的通过用户终端感知业务的方案具有如下缺点:To sum up, the scheme proposed in the 3GPP R99 protocol standard to perceive services through user terminals has the following disadvantages:

1、网络侧无法主动感知用户请求的实时流媒体业务,因此无法针对申请的流媒体业务动态分配和回收相应的资源。1. The network side cannot actively perceive the real-time streaming media service requested by the user, so it cannot dynamically allocate and reclaim corresponding resources for the requested streaming media service.

2、网络侧无法主动感知用户业务请求的业务属性信息,只能为所有用户业务都提供保证带宽才能提供流媒体业务,因而有可能造成资源浪费。2. The network side cannot actively perceive the service attribute information of user service requests, and can only provide streaming media services by providing guaranteed bandwidth for all user services, which may cause waste of resources.

3、业务质量请求的正确性依赖用户终端和用户终端应用做出正确的业务感知、QoS参数映射和业务申请,对用户终端和用户终端应用层过于依赖,因而可能因用户终端能力受限,导致上报信息不准确,造成实时业务的业务质量得不到保证。3. The correctness of the service quality request depends on the user terminal and the user terminal application to make correct service perception, QoS parameter mapping and service application, which is too dependent on the user terminal and the user terminal application layer, so it may be due to the limited capability of the user terminal, resulting in The reported information is inaccurate, causing the service quality of real-time services to not be guaranteed.

在3GPP R6协议标准中,提出了一种端到端的QoS架构体系。参见图2,为现有3GPP R6协议标准提出的一种业务感知方案示意图。In the 3GPP R6 protocol standard, an end-to-end QoS architecture system is proposed. Referring to Figure 2, it is a schematic diagram of a service awareness solution proposed by the existing 3GPP R6 protocol standard.

图2所示的通过业务感知为业务分配资源的过程中,UMTS网络具备业务感知能力,但同时要求用户终端和网络支持IP承载层与应用层的绑定机制。绑定机制将PDP上下文承载与QoS策略信息结合起来,绑定的信息包含令牌(Authorization Token,该令牌由策略控制功能分配)和IP媒体流标识(IP FlowIdentifier)。UMTS端到端QoS架构体系需要用户终端具备以下能力:支持SIP协议,支持二次激活能力,支持令牌机制等。In the process of allocating resources for services through service awareness shown in Figure 2, the UMTS network has the service awareness capability, but at the same time requires user terminals and the network to support the binding mechanism between the IP bearer layer and the application layer. The binding mechanism combines PDP context bearer and QoS policy information, and the binding information includes Authorization Token (the token is allocated by the policy control function) and IP media flow identifier (IP FlowIdentifier). The UMTS end-to-end QoS architecture system requires user terminals to have the following capabilities: support for the SIP protocol, support for reactivation capabilities, and support for token mechanisms.

3GPP R6协议标准中所提出的感知业务的方案中,由于现网中的用户终端的种类和应用软件众多,且用户终端的QoS能力不一致等问题,导致在当前的宽带码分多址接入系统(Wide-band Code Division Multiple Access,WCDMA)网络中端到端服务质量难以保证。另外,该方案既对用户终端有特殊要求,又对网络也要求能够同时支持标准Go接口和Gq接口,在短期内难以实施,因而影响流媒体业务的普及和推广。In the service-aware solution proposed in the 3GPP R6 protocol standard, due to the large number of types of user terminals and application software in the existing network, and the inconsistent QoS capabilities of user terminals, the current broadband code division multiple access system (Wide-band Code Division Multiple Access, WCDMA) network end-to-end service quality is difficult to guarantee. In addition, this solution not only has special requirements for user terminals, but also requires the network to be able to support standard Go interfaces and Gq interfaces at the same time, which is difficult to implement in a short period of time, thus affecting the popularization and promotion of streaming media services.

现有技术还提出了一种不依赖于终端能力,通过网络侧的业务服务器感知流媒体业务的方法。The prior art also proposes a method for perceiving streaming media services through a service server on the network side, independent of terminal capabilities.

参见图3,为现有技术提供的一种感知流媒体业务方案的示意图。业务服务器收到用户终端的业务请求后,向QoS策略决策功能(Policy DecisionFunction,PDF)发起业务质量请求,PDF向GGSN发起资源请求,GGSN发起PDP上下文刷新流程,更新网络侧及用户终端针对所请求的流媒体业务的QoS参数。Referring to FIG. 3 , it is a schematic diagram of a perceptual streaming media service solution provided by the prior art. After the service server receives the service request from the user terminal, it initiates a service quality request to the QoS Policy Decision Function (Policy Decision Function, PDF). QoS parameters of streaming media services.

通过以上流程可以看出,上述现有技术方案提供的功能效果和3GPP R6标准基本一致,且不受用户终端的能力限制,用户终端不需要支持SIP信令、二次激活或令牌机制,可实施性强。但本方案具有以下缺点:采用非标准协议,协议交互复杂,需要GGSN、PDF和流媒体服务器三个产品的配套支持,工程实施难度相对较大。It can be seen from the above process that the functional effect provided by the above existing technical solution is basically consistent with the 3GPP R6 standard, and is not limited by the capability of the user terminal. The user terminal does not need to support SIP signaling, secondary activation or token mechanism, and can Strong implementation. However, this solution has the following disadvantages: non-standard protocol is used, the protocol interaction is complicated, and the supporting support of GGSN, PDF and streaming media server is required, and the project implementation is relatively difficult.

发明内容 Contents of the invention

本发明提供一种为实时流媒体业务分配资源的方法,通过网络侧感知用户请求的实时流媒体业务,动态为用户请求的实时流媒体业务预留相应的资源和回收预留的资源,以实现在保证流媒体业务质量的同时,提高网络资源利用率。The present invention provides a method for allocating resources for real-time streaming media services. The real-time streaming media services requested by users are perceived by the network side, and corresponding resources are dynamically reserved for the real-time streaming media services requested by users and the reserved resources are recovered, so as to realize While ensuring the quality of streaming media services, the utilization rate of network resources is improved.

本发明另提供一种为实时流媒体业务分配资源的装置。The invention also provides a device for allocating resources for real-time streaming media services.

本发明方法包括步骤:The inventive method comprises steps:

分组数据业务节点捕获用户终端发送的流媒体业务报文;The packet data service node captures the streaming media service message sent by the user terminal;

通过解析所述流媒体业务报文判断有实时流媒体业务开始,发起数据包协议PDP上下文更新,为该实时流媒体业务预留资源;判断有实时流媒体业务结束,发起PDP上下文更新,收回为该实时流媒体业务预留的资源。Judging that real-time streaming service starts by analyzing the streaming service message, initiates packet protocol PDP context update, and reserves resources for this real-time streaming service; judges that real-time streaming service ends, initiates PDP context update, and takes back as Resources reserved by the real-time streaming media service.

所述分组数据业务节点捕获用户终端发送的流媒体业务报文,包括:The packet data service node captures the streaming media service message sent by the user terminal, including:

分组数据业务节点通过检测Gi接口捕获并解析用户终端发送的业务应用层报文;The packet data service node captures and parses the service application layer message sent by the user terminal by detecting the Gi interface;

通过将解析出的报文信息与预设的流媒体业务匹配信息相匹配,判断捕获到的报文是否为流媒体业务报文。By matching the parsed packet information with the preset streaming media service matching information, it is judged whether the captured packet is a streaming media service packet.

所述预设的流媒体业务匹配信息为流媒体节目源信息。The preset streaming media service matching information is streaming media program source information.

所述流媒体节目源信息为流媒体服务器控制播放流媒体节目的RTSP协议固定端口号、流媒体服务器IP地址,或流媒体节目源的统一资源定位器URL地址,或以上信息的任意组合。The source information of the streaming media program is the fixed port number of the RTSP protocol used by the streaming media server to control and play the streaming media program, the IP address of the streaming media server, or the URL address of the streaming media program source, or any combination of the above information.

根据本发明的上述方法,当分组数据业务节点解析出所述流媒体业务报文中包含设置或播放流媒体节目的命令时,判断有实时流媒体业务开始;当解析出所述流媒体业务报文中包含结束流媒体节目的命令时,判断有实时流媒体业务结束。According to the above method of the present invention, when the packet data service node parses out that the streaming media service message contains an order for setting or playing a streaming media program, it is judged that a real-time streaming media service starts; When the text contains a command to end the streaming media program, it is determined that the real-time streaming media service ends.

根据本发明的上述方法,分组数据业务节点收到流媒体业务报文并且判断有实时流媒体业务开始后,设置流媒体业务的速率,更新PDP上下文参数,为流媒体业务预留带宽。According to the above method of the present invention, after the packet data service node receives the streaming media service message and judges that there is a real-time streaming media service to start, the rate of the streaming media service is set, the PDP context parameter is updated, and the bandwidth is reserved for the streaming media service.

上述方法中,分组数据业务节点从所述流媒体业务报文中解析出速率信息,或根据预设的流媒体业务速率匹配信息获取与所述流媒体业务相匹配的速率,设置流媒体业务的速率。In the above method, the packet data service node parses the rate information from the streaming media service message, or obtains the rate matching the streaming media service according to the preset streaming media service rate matching information, and sets the rate of the streaming media service rate.

根据本发明的上述方法,当实时流媒体业务与其他业务并发且共用一个PDP上下文时,分组数据业务节点采用预设的算法为所述实时流媒体业务预留相应的资源。According to the above method of the present invention, when the real-time streaming service is concurrent with other services and shares a PDP context, the packet data service node uses a preset algorithm to reserve corresponding resources for the real-time streaming service.

上述方法中,当并发的所述其他业务为实时流媒体业务时,则所述预设的算法包括选取并发业务中最大的速率或第一个发起的业务的速率设置为并发的实时流媒体业务共同的速率;或将并发业务的速率进行叠加,将叠加后的速率设置为并发的实时流媒体业务共同的速率,更新PDP上下文中的业务质量QoS参数;In the above method, when the other concurrent services are real-time streaming services, the preset algorithm includes selecting the maximum rate among the concurrent services or the rate of the first initiated service as the concurrent real-time streaming services A common rate; or superimpose the rates of concurrent services, set the superimposed rate as the common rate of concurrent real-time streaming services, and update the service quality QoS parameters in the PDP context;

当并发的所述其他业务为非流媒体类型的实时业务时,则所述预设的算法包括选取并发业务中最大的速率设置为所述实时流媒体业务的速率;或将并发业务的速率进行叠加,将叠加后的速率设置为所述实时流媒体业务的速率,更新PDP上下文中的QoS参数;When the other concurrent services are real-time services of non-streaming media type, the preset algorithm includes selecting the maximum rate among the concurrent services to be set as the rate of the real-time streaming service; or increasing the rate of the concurrent services Superimposing, setting the superimposed rate as the rate of the real-time streaming service, updating the QoS parameters in the PDP context;

当并发的所述其他业务为非实时业务时,则选取实时流媒体业务的速率,更新PDP上下文中的QoS参数。When the other concurrent services are non-real-time services, the rate of real-time streaming media services is selected, and the QoS parameters in the PDP context are updated.

根据本发明的上述方法,当多个并发且共用一个PDP上下文的实时流媒体业务中的一个业务结束后,分组数据业务节点根据为多个并发的实时流媒体业务预留资源的方式收回预留的部分资源;According to the above method of the present invention, when one of the multiple concurrent real-time streaming media services sharing a PDP context ends, the packet data service node takes back the reserved resources according to the mode of reserving resources for multiple concurrent real-time streaming media services part of the resources;

当多个并发的实时流媒体业务都结束后,分组数据业务节点收回预留的所有资源。When multiple concurrent real-time streaming media services are finished, the packet data service node takes back all reserved resources.

上述方法中,若分组数据业务节点采用叠加速率的方式设置实时流媒体业务的速率,则当其中一个业务结束后,从当前叠加的速率中减去该业务的速率,更新PDP上下文中的QoS参数;In the above method, if the packet data service node sets the rate of the real-time streaming media service by superimposing the rate, then when one of the services ends, the rate of the service is subtracted from the current superimposed rate, and the QoS parameter in the PDP context is updated ;

若分组数据业务节点选取最高速率设置实时流媒体业务的速率,则当其中一个业务结束后,选取还未结束的流媒体业务中的最高速率,更新PDP上下文中的QoS参数。If the packet data service node selects the highest rate to set the rate of the real-time streaming service, then when one of the services ends, select the highest rate in the unfinished streaming service to update the QoS parameters in the PDP context.

根据本发明的上述方法,所述分组数据业务节点收回为所述实时流媒体业务预留的资源,通过以下步骤实现:According to the above method of the present invention, the packet data service node reclaims the resources reserved for the real-time streaming media service, which is realized by the following steps:

将PDP上下文中的QoS参数更新为系统默认值;或update the QoS parameters in the PDP context to the system default values; or

将PDP上下文中的QoS参数恢复为所述实时流媒体业务资源更新前的数值。Restore the QoS parameters in the PDP context to the values before the real-time streaming service resources are updated.

根据本发明的上述方法,分组数据业务节点判断有实时流媒体业务开始后,在设定时间内检测用户终端是否针对所述实时流媒体业务发起建立一个新的PDP上下文,若是,则抑止对承载所述实时流媒体业务的原PDP上下文进行更新;否则,发起对所述原PDP上下文的更新。According to the above method of the present invention, after the packet data service node judges that a real-time streaming service starts, it detects within a set time whether the user terminal initiates the establishment of a new PDP context for the real-time streaming service, and if so, prohibits the transmission of the real-time streaming service. The original PDP context of the real-time streaming media service is updated; otherwise, an update of the original PDP context is initiated.

根据本发明的上述方法,分组数据业务节点发起PDP上下文更新为实时流媒体业务预留资源后,又检测到用户终端针对所述实时流媒体业务发起建立一个新的PDP上下文时,收回其为该实时流媒体业务在原PDP上下文中预留的资源。According to the above method of the present invention, after the packet data service node initiates the PDP context update to reserve resources for the real-time streaming media service, and detects that the user terminal initiates the establishment of a new PDP context for the real-time streaming media service, it withdraws it for the real-time streaming media service. Resources reserved by the real-time streaming service in the original PDP context.

本发明提供的装置,包括:The device provided by the invention comprises:

检测/解析模块、匹配判断模块和资源管理模块;Detection/analysis module, matching judgment module and resource management module;

所述检测/解析模块检测用户终端发送的报文并解析,将解析出的报文信息发送到所述匹配判断模块;The detection/parsing module detects and parses the message sent by the user terminal, and sends the parsed message information to the matching judgment module;

所述匹配判断模块根据解析出的报文信息判断有流媒体业务开始时,向所述资源管理模块发送预留资源的指令;判断有实时流媒体业务结束时,向所述资源管理模块发送收回预留资源的指令;When the matching judging module judges that a streaming media service starts according to the parsed message information, it sends an instruction to reserve resources to the resource management module; Instructions to reserve resources;

所述资源管理模块根据指令发起相应的PDP上下文更新,为实时流媒体业务预留资源或收回预留的资源。The resource management module initiates a corresponding PDP context update according to the instruction, reserves resources for the real-time streaming service or withdraws the reserved resources.

根据本发明的上述装置,所述检测/解析模块检测Gi接口,捕获并解析用户终端发送的业务应用层报文。According to the above device of the present invention, the detection/parsing module detects the Gi interface, captures and parses the service application layer message sent by the user terminal.

根据本发明的上述装置,所述匹配判断模块包括业务匹配子模块、业务开始/结束判断子模块和速率匹配子模块;According to the above device of the present invention, the matching judging module includes a service matching submodule, a service start/end judging submodule and a rate matching submodule;

所述业务匹配子模块将解析出的报文信息与预设的流媒体业务匹配信息相匹配,判断捕获到的报文是否流媒体业务报文,若是,则启动所述业务开始/结束判断子模块和所述速率匹配子模块;The service matching submodule matches the parsed message information with the preset streaming media service matching information, and judges whether the captured message is a streaming media service message, and if so, starts the service start/end judging submodule module and the rate matching submodule;

所述业务开始/结束判断子模块判断报文信息中包含设置或播放流媒体节目的命令时,向所述资源管理模块发送预留资源的指令;判断报文信息中包含结束流媒体节目的命令时,向所述资源管理模块发送收回预留资源的指令;When the business start/end judging submodule judges that the message information contains an order for setting or playing a streaming media program, it sends an instruction to reserve resources to the resource management module; it judges that the message information contains an order for ending a streaming media program , sending an instruction to take back the reserved resources to the resource management module;

所述速率匹配子模块根据预设的流媒体业务速率匹配信息设置与实时流媒体业务相匹配的速率,或根据从流媒体业务报文中解析出的速率信息设置流媒体业务的速率,并将设置的速率信息发送到所述资源管理模块;The rate matching submodule sets the rate matching the real-time streaming media service according to the preset streaming media service rate matching information, or sets the rate of the streaming media service according to the rate information parsed from the streaming media service message, and The set rate information is sent to the resource management module;

所述资源管理模块收到资源预留指令或/和所述设置的速率信息后,根据设置的速率更新PDP上下文的QoS参数,为实时流媒体业务预留保证带宽;收到收回预留资源的指令后,将当前速率设置为系统默认的速率或流媒体业务开始前的速率,更新PDP上下文的参数,收回为实时流媒体业务预留的保证带宽。After the resource management module receives the resource reservation instruction or/and the set rate information, it updates the QoS parameters of the PDP context according to the set rate, and reserves the guaranteed bandwidth for the real-time streaming media service; After the instruction, set the current rate as the default rate of the system or the rate before the start of the streaming media service, update the parameters of the PDP context, and take back the guaranteed bandwidth reserved for the real-time streaming media service.

上述装置中,所述匹配判断模块还包括一并发判断/处理子模块;In the above device, the matching judging module further includes a concurrent judging/processing submodule;

所述并发判断/处理子模块判断实时流媒体业务与其他业务并发且共用一个PDP上下文时,根据预设的算法为流媒体业务设置速率,并将设置的速率信息发送到所述资源管理模块;When the concurrent judging/processing submodule judges that the real-time streaming media service is concurrent with other services and shares a PDP context, set a rate for the streaming media service according to a preset algorithm, and send the set rate information to the resource management module;

所述并发判断/处理子模块判断多个并发且共用一个PDP上下文的实时流媒体业务中的一个业务结束时,根据预设的算法为还未结束的流媒体业务设置速率,并将设置的速率信息发送到所述资源管理模块;When the concurrent judging/processing submodule judges that one of the multiple concurrent and shared real-time streaming media services of a PDP context ends, set the rate for the unfinished streaming media business according to a preset algorithm, and set the set rate sending information to the resource management module;

所述并发判断/处理子模块判断多个并发且共用一个PDP上下文的实时流媒体业务都结束后,将当前的速率设置为系统默认的速率或流媒体业务开始前的速率,并将设置的速率信息发送到所述资源管理模块;After described concurrent judgment/processing submodule judges that a plurality of concurrent and shared real-time streaming services of a PDP context all end, the current rate is set to the system default rate or the rate before the streaming service starts, and the set rate sending information to the resource management module;

所述资源管理模块根据设置的速率更新PDP上下文的QoS参数,发起PDP上下文更新。The resource management module updates the QoS parameters of the PDP context according to the set rate, and initiates the update of the PDP context.

上述装置中,所述匹配判断模块还包括PDP上下文检测/处理子模块;In the above device, the matching judging module further includes a PDP context detection/processing submodule;

所述PDP上下文检测/处理子模块检测到用户终端针对所述流媒体业务发起建立一个新PDP上下文时,向所述资源管理模块发送抑止资源预留的指令,抑止对承载所述流媒体业务的原PDP上下文发起更新;或When the PDP context detection/processing sub-module detects that the user terminal initiates establishment of a new PDP context for the streaming media service, it sends an instruction to suppress resource reservation to the resource management module, and suppresses the request for carrying the streaming media service. The original PDP context initiates an update; or

向所述资源管理模块发送资源回收指令,收回在承载所述流媒体业务的原PDP上下文中为该流媒体业务预留的资源。Sending a resource recovery instruction to the resource management module to recover the resources reserved for the streaming media service in the original PDP context bearing the streaming media service.

本发明的有益效果如下:The beneficial effects of the present invention are as follows:

(1)本发明通过由网络侧的分组数据业务节点检测并解析Gi接口的报文,判断用户终端是否发起实时流媒体相关的业务,并根据预先设置的静态匹配信息或动态解析报文中的速率信息,设置满足该流媒体业务质量的参数,通过发起的PDP上下文更新流程,为流媒体业务分配相应的资源。本发明提供的这种实时流媒体业务感知方法可以有效地提高数据业务效率,动态的对系统资源利用做调整,从而最大程度地减少空口资源的浪费,提高网络资源利用率,保障流媒体播放质量。(1) The present invention judges whether the user terminal initiates a service related to real-time streaming media by detecting and analyzing the message of the Gi interface by the packet data service node on the network side, and according to preset static matching information or dynamic analysis of the message in the message Rate information, set parameters that meet the quality of the streaming media service, and allocate corresponding resources for the streaming media service through the initiated PDP context update process. The real-time streaming media service perception method provided by the present invention can effectively improve the efficiency of data services and dynamically adjust the utilization of system resources, thereby minimizing the waste of air interface resources, improving the utilization rate of network resources, and ensuring the quality of streaming media playback .

(2)本发明针对实时流媒体业务与其他业务的多种并发情况提供了不同的解决方法,以保障其中的实时流媒体的业务质量,从而提高了系统的适应性。(2) The present invention provides different solutions for multiple concurrent situations of real-time streaming media services and other services, so as to ensure the service quality of real-time streaming media, thereby improving the adaptability of the system.

(3)本发明对于用户终端能力没有特殊需求,因而为流媒体业务的推广普及奠定了广泛的用户基础。(3) The present invention has no special requirements for user terminal capabilities, thus laying a broad user base for the promotion and popularization of streaming media services.

(4)本发明通过网络侧的分组数据业务节点对流媒体业务进行感知,不需要其他网元配合,对于流媒体服务器、QoS策略决策功能PDF等网元没有特殊需求,与现有技术相比降低了流媒体业务部署的工程实施难度和成本。(4) The present invention perceives the streaming media service through the packet data service node on the network side, without the cooperation of other network elements, and has no special requirements for network elements such as the streaming media server and the QoS policy decision-making function PDF, and compared with the prior art, it reduces The difficulty and cost of engineering implementation of streaming media service deployment are reduced.

附图说明 Description of drawings

图1为现有3GPP R99协议标准提出的业务感知方案示意图;Figure 1 is a schematic diagram of the service awareness solution proposed by the existing 3GPP R99 protocol standard;

图2为现有3GPP R6协议标准提出的业务感知方案示意图;Figure 2 is a schematic diagram of a service perception solution proposed by the existing 3GPP R6 protocol standard;

图3为现有技术提供的感知流媒体业务方案的示意图;FIG. 3 is a schematic diagram of a perceptual streaming media service solution provided by the prior art;

图4为本发明通过GGSN感知实时流媒体业务进行流媒体资源分配的流程示意图;Fig. 4 is the schematic flow chart of the present invention carries out streaming media resource allocation through GGSN perception real-time streaming service;

图5为本发明的为实时流媒体业务分配资源的装置的结构示意图。FIG. 5 is a schematic structural diagram of a device for allocating resources for a real-time streaming media service according to the present invention.

具体实施方式 Detailed ways

本发明的基本思想是:在无线通信系统中,当用户终端发起实时流媒体业务的请求时,分组数据业务节点根据配置的流媒体业务信息匹配规则捕获到用户进行流媒体业务开始的报文后,发起PDP上下文更新,为用户请求的实时流媒体业务预留相应的资源,以使实时流媒体业务的业务质量得到保障。当分组数据业务节点捕获到用户发起的流媒体业务结束的报文后,收回为实时流媒体业务预留的网络资源。The basic idea of the present invention is: in a wireless communication system, when a user terminal initiates a request for a real-time streaming media service, the packet data service node captures the message that the user starts the streaming media service according to the configured streaming media service information matching rules , initiate a PDP context update, and reserve corresponding resources for the real-time streaming media service requested by the user, so that the service quality of the real-time streaming media service is guaranteed. After the packet data service node captures the end message of the streaming media service initiated by the user, it takes back the network resources reserved for the real-time streaming media service.

本发明中,分组数据业务节点通过感知实时流媒体业务的开始与结束,以实现对实时流媒体业务进行资源预留及资源回收。分组数据业务节点感知实时流媒体业务,包括对以下几个方面的感知:In the present invention, the packet data service node realizes resource reservation and resource recovery for the real-time streaming media service by sensing the start and end of the real-time streaming media service. The packet data service node perceives the real-time streaming media service, including the perception of the following aspects:

实时流媒体业务类型感知;Real-time streaming media service type perception;

实时流媒体业务速率感知;Real-time streaming media service rate perception;

实时流媒体业务开始和结束感知;Real-time streaming service start and end perception;

实时流媒体业务二次激活的感知;Perception of secondary activation of real-time streaming media services;

实时流媒体业务并发执行的感知。Awareness of concurrent execution of real-time streaming services.

其中,实时流媒体业务类型和速率的感知,以及实时流媒体业务开始的感知主要用于网络侧发起PDP上下文更新,以便为流媒体业务预留资源;实时流媒体业务结束的感知主要用于网络侧发起PDP上下文更新以及时释放为流媒体业务预留的资源;实时流媒体并发业务的感知用于对多个流媒体线程间流媒体与其他业务间的QoS参数合并与叠加管理。实时流媒体二次激活的感知,主要用于针对具备流媒体感知功能的终端做特殊处理,如回收分配的资源Among them, the perception of the type and rate of the real-time streaming media service, and the perception of the start of the real-time streaming media service are mainly used for the network side to initiate the PDP context update to reserve resources for the streaming media service; the perception of the end of the real-time streaming media service is mainly used for the network The side initiates PDP context update to timely release the resources reserved for streaming media services; the perception of real-time streaming media concurrent services is used to combine and overlay management of QoS parameters between streaming media and other services among multiple streaming media threads. The perception of real-time streaming media secondary activation is mainly used for special processing for terminals with streaming media awareness functions, such as reclaiming allocated resources

为了实现对实时流媒体业务的感知,分组数据业务节点时刻检测流经Gi接口的用户终端发送的业务应用层报文,并对报文进行解析,根据解析出的信息实现上述几个方面的业务感知。针对上述几个方面的业务感知,本发明分别提供了具体实现方式。In order to realize the perception of the real-time streaming media service, the packet data service node detects the service application layer message sent by the user terminal flowing through the Gi interface at all times, analyzes the message, and realizes the above-mentioned services according to the analyzed information perception. Aiming at the service perception of the above several aspects, the present invention provides specific implementations respectively.

对于实时流媒体业务类型的感知,本发明提供了以下几种实现方法:For the perception of real-time streaming media service types, the present invention provides the following implementation methods:

方法1:通过解析出的实时流媒体协议(Real Time Streaming Protocol,RTSP)规定的固定端口号,判断该业务是否为流媒体业务。RTSP协议规定流媒体业务的固定IP端口号是554,并且RTSP协议与实际传输媒体流的实时传输协议(Realtime Transport Protocol,RTP)并发,因此,若解析出的固定端口号为554,则可以认定RTSP控制的业务为实时流媒体业务。Method 1: Determine whether the service is a streaming service by analyzing the fixed port number specified in the Real Time Streaming Protocol (RTSP). The RTSP protocol stipulates that the fixed IP port number of the streaming media service is 554, and the RTSP protocol is concurrent with the Realtime Transport Protocol (RTP) that actually transmits the media stream. Therefore, if the resolved fixed port number is 554, it can be determined The service controlled by RTSP is a real-time streaming service.

方法2:通过解析出的业务服务器IP地址判断该业务是否为流媒体业务。若解析出的业务服务器IP地址为流媒体服务器的IP地址,则判断该业务是实时流媒体业务。本方法适用于专用流媒体服务器的应用场景。Method 2: Determine whether the service is a streaming media service based on the resolved IP address of the service server. If the resolved IP address of the service server is the IP address of the streaming media server, it is determined that the service is a real-time streaming media service. This method is applicable to the application scenario of a dedicated streaming media server.

方法3:通过解析出的业务源的统一资源定位器(Uniform ResourceLocator,URL)地址判断该业务是否为流媒体业务。若解析出的业务源的URL地址为流媒体节目源的URL地址,则判断该业务为实时流媒体业务。Method 3: judge whether the service is a streaming media service through the resolved Uniform Resource Locator (Uniform Resource Locator, URL) address of the service source. If the parsed URL address of the service source is the URL address of the streaming media program source, it is determined that the service is a real-time streaming media service.

流媒体业务类型判断的三种方法可以任选其一或多种方法任意组合使用。One or more of the three methods for judging the streaming media service type can be selected and used in any combination.

上述三种方法都需要预先设置匹配规则,分组数据业务节点根据匹配规则判断业务类型。针对上述三种方法,匹配规则可以包含以下三种类型的信息:The above three methods all need to set matching rules in advance, and the packet data service node judges the service type according to the matching rules. For the above three methods, matching rules can contain the following three types of information:

流媒体服务器控制播放流媒体的RTSP协议固定IP端口号,一般为端口554;The streaming media server controls the fixed IP port number of the RTSP protocol for playing streaming media, usually port 554;

专用流媒体服务器的IP/掩码地址;The IP/mask address of the dedicated streaming server;

流媒体节目源的统一资源定位器URL地址。Uniform resource locator URL address of streaming media program source.

实时流媒体业务类型判断的三种方法可以任意组合使用,因此,匹配规则可以包含上述三种类型信息中的一种或多种。分组数据业务节点时刻检测并解析Gi接口的业务应用层报文,只要解析出的报文信息与匹配规则中列出的一项或多项内容匹配,则判断相关IP应用业务为实时流媒体业务。The three methods for judging the type of the real-time streaming media service can be used in any combination. Therefore, the matching rule can contain one or more of the above three types of information. The packet data service node detects and parses the service application layer message of the Gi interface at all times, as long as the parsed message information matches one or more contents listed in the matching rule, it is judged that the relevant IP application service is a real-time streaming service .

不同的实时流媒体业务的业务质量要求也可能不同。QoS参数中最重要的参数是保证速率,即节目源的码流速率。对于流媒体速率的感知,可以通过以下几种方法实现:The service quality requirements of different real-time streaming media services may also be different. The most important parameter in the QoS parameter is the guaranteed rate, that is, the stream rate of the program source. The perception of streaming media rate can be achieved through the following methods:

方法1、通过预先设置静态的流媒体业务速率匹配信息,实现为实时流媒体业务确定与其相匹配的保证速率。Method 1. By setting the static streaming media service rate matching information in advance, it is realized to determine the matching guaranteed rate for the real-time streaming media service.

如,对流媒体服务器IP地址设置相应的节目源码流速率,实现对该IP地址的流媒体服务器上播放的流媒体节目统一指定保证速率,该方法适用于流媒体服务器上的所有流媒体节目源码流速率一致的情况。表1给出了一个流媒体服务器IP地址与节目源码流速率的实例。For example, set the corresponding program source stream rate for the IP address of the streaming media server, so as to realize the uniform designation of the guaranteed rate for the streaming media programs played on the streaming media server with the IP address. This method is applicable to all streaming media program source streams on the streaming media server The case of consistent speed. Table 1 gives an example of the IP address of a streaming media server and the rate of program source stream.

表1:Table 1:

  流媒体服务器IP地址 节目源码流速率 129.108.27.15 100kbps 129.108.27.18 64kbps * 144kbps(缺省配置) .... Streaming server IP address Program source stream rate 129.108.27.15 100kbps 129.108.27.18 64kbps * 144kbps (default configuration) ....

又如,对URL地址设置相应的节目源码流速率,实现对该URL地址的流媒体节目指定保证速率。该方法适用于不同速率的节目源存放在一个流媒体服务器上,但是存放在不同路径下的情况。表2给出了一个URL地址与节目源码流速率的实例。For another example, set the corresponding program source stream rate for the URL address, so as to realize the specified guaranteed rate for the streaming media program at the URL address. This method is applicable to the situation that program sources of different rates are stored on a streaming media server but in different paths. Table 2 gives an example of URL address and program source stream rate.

表2:Table 2:

  URL地址 节目源码流速率 http://www.cctv.com/news 64kbps http://www.cctv.com/soccer 100kbps * 144kbps(缺省配置) .... URL address Program source stream rate http://www.cctv.com/news 64kbps http://www.cctv.com/soccer 100kbps * 144kbps (default configuration) ....

又如,缺省配置流媒体节目源速率,如144kbps。当解析出的流媒体服务器IP地址或流媒体节目源的URL地址没有被设置与其匹配的节目源码流速率,并且系统也不支持RTSP协议的SDP速率信息的解析,则可以通过静态配置的缺省保证速率,使这些流媒体业务设置默认的保证速率。As another example, the source rate of streaming media programs is configured by default, such as 144kbps. When the resolved IP address of the streaming media server or the URL address of the streaming media program source is not set to match the program source stream rate, and the system does not support the resolution of the SDP rate information of the RTSP protocol, the statically configured default Guaranteed rate, so that these streaming services set the default guaranteed rate.

方法2、通过RTSP协议解析报文中的SDP信息获取流媒体节目源的码流速率。Method 2: Analyze the SDP information in the message through the RTSP protocol to obtain the code stream rate of the streaming media program source.

流媒体节目源文件中包含有速率描述,速率描述信息包含在流媒体业务报文的会话描述协议(Session Descriptor Protocol,SDP)信息中,因此,通过对SDP的解析,就可以得知节目源码流速率。这是一种动态获取流媒体节目源码流速率的方法,通过本方法感知的相关媒体子流速率信息最为准确和全面,因此,本方法是最为可靠的速率感知方法。The streaming media program source file contains a rate description, and the rate description information is included in the Session Description Protocol (Session Descriptor Protocol, SDP) information of the streaming media service message. Therefore, by analyzing the SDP, the source code stream of the program can be known rate. This is a method for dynamically obtaining the source stream rate of streaming media programs. The rate information of related media sub-streams sensed by this method is the most accurate and comprehensive. Therefore, this method is the most reliable rate sensing method.

对于实时流媒体业务播放开始和结束的感知,除用于实时流媒体业务的资源预留与资源回收外,还可用于对需要按播放时间收费的流媒体业务进行计时。For the perception of the start and end of real-time streaming media service playback, in addition to resource reservation and resource recovery for real-time streaming media services, it can also be used to time streaming media services that need to be charged according to the playing time.

分组数据业务节点感知实时流媒体业务开始的方法,包括:The method for the packet data service node to sense the start of the real-time streaming service includes:

方法1、分组数据业务节点解析到RTSP协议的播放命令,如PLAY命令,或播放命令之前的其他RTSP命令,如SETUP或DESCRIBE命令,则可以将此刻作为流媒体开始时间。Method 1. The packet data service node parses the playback command of the RTSP protocol, such as the PLAY command, or other RTSP commands before the playback command, such as the SETUP or DESCRIBE command, then this moment can be used as the streaming media start time.

方法2、分组数据业务节点感知到流媒体业务类型后,如感知到URL地址、流媒体服务器IP地址或IP端口号等,则可以将此刻作为流媒体开始时间。Method 2. After the packet data service node perceives the streaming media service type, such as URL address, streaming media server IP address or IP port number, etc., it can use this moment as the streaming media start time.

分组数据业务节点感知实时流媒体业务结束的方法,包括:The method for the packet data service node to sense the end of the real-time streaming service includes:

方法1、分组数据业务节点解析到RTSP协议的结束命令,如TEARDOWN命令,则将此刻作为流媒体播放结束时间。Method 1. The packet data service node resolves to an end command of the RTSP protocol, such as a TEARDOWN command, and uses this moment as the end time of streaming media playback.

方法2、如果分组数据业务节点不支持RTSP层的协议解析,也可以粗略地将TCP连接释放时间确定为流媒体播放结束时间,因为RTSP承载在TCP连接之上,RTSP会话结束后TCP连接也会释放。Method 2. If the packet data service node does not support the protocol analysis of the RTSP layer, the release time of the TCP connection can also be roughly determined as the end time of streaming media playback, because RTSP is carried on top of the TCP connection, and the TCP connection will also be disconnected after the RTSP session ends. freed.

对于实时流媒体业务并发执行的感知,实现方法为:For the perception of concurrent execution of real-time streaming media services, the implementation method is as follows:

每个流媒体业务都有一个唯一的会话标识(SESSION ID),因此,当GGSN感知到在一个PDP上下文中有多个流媒体SESSION ID在同时播放时,则判断此时有多个实时流媒体业务并发。Each streaming media service has a unique session identifier (SESSION ID), therefore, when GGSN perceives that multiple streaming media SESSION IDs are playing simultaneously in a PDP context, it is judged that there are multiple real-time streaming media at this time Business concurrent.

下面以UMTS系统中的实时流媒体业务资源分配过程为例,对本发明通过感知实时流媒体业务进行资源分配的过程进行详细描述。Taking the resource allocation process of the real-time streaming media service in the UMTS system as an example, the process of resource allocation by sensing the real-time streaming media service in the present invention will be described in detail below.

参见图4,为本发明通过GGSN感知实时流媒体业务进行流媒体资源分配的流程示意图,具体步骤包括:Referring to Fig. 4, it is the flow diagram that the present invention carries out streaming media resource allocation through GGSN perception real-time streaming service, and specific steps include:

1、用户终端向GGSN发起激活流程,以通知GGSN该用户终端要发起业务请求,GGSN为用户终端分配PDP上下文,建立IP承载;1. The user terminal initiates an activation process to the GGSN to notify the GGSN that the user terminal will initiate a service request, and the GGSN allocates a PDP context for the user terminal and establishes an IP bearer;

2、用户终端通过RTSP协议,向流媒体服务器发起申请流程,针对选定或指定的流媒体节目申请使用,网络侧对用户的请求进行认证鉴权处理。2. The user terminal initiates an application process to the streaming media server through the RTSP protocol, applies for the use of the selected or specified streaming media program, and the network side performs authentication and authentication processing on the user's request.

3、用户终端通过RTSP协议向流媒体服务器发起播放请求。3. The user terminal initiates a playback request to the streaming media server through the RTSP protocol.

用户终端通过认证后,向流媒体服务器发起针对流媒体节目的播放请求,请求中携带流媒体服务器的IP地址,流媒体节目的URL地址,流媒体节目的SDP信息,播放命令等信息。该请求的数据报文流经Gi接口(即GGSN与外部共用数据网络PDN的接口)。After the user terminal passes the authentication, it initiates a playback request for the streaming media program to the streaming media server, and the request carries information such as the IP address of the streaming media server, the URL address of the streaming media program, the SDP information of the streaming media program, and the playback command. The requested data message flows through the Gi interface (that is, the interface between the GGSN and the external shared data network PDN).

4、GGSN感知到流媒体业务后更新PDP上下文,为流媒体业务预留资源。4. After sensing the streaming media service, the GGSN updates the PDP context and reserves resources for the streaming media service.

GGSN时刻检测流经Gi接口的业务应用层报文,当GGSN检测到Gi接口有用户终端发送的业务应用层报文时,对其进行解析,并根据预先设定的流媒体业务匹配规则进行匹配。当按照预先设定的匹配方法和匹配信息判断出该数据报文为实时流媒体业务的数据报文后,GGSN还要感知该流媒体节目的速率(既可通过预先设置的静态匹配信息确定流媒体节目源的码流速率,又可通过动态解析SDP信息获取节目源码流速率,如前所述)。一般来说,GGSN感知到实时流媒体业务类型和速率后,就会根据感知到的速率确定PDP上下文中的QoS更新参数,发起PDP上行文更新,为流媒体业务预留相应的保证带宽。The GGSN detects the service application layer packets flowing through the Gi interface at all times. When the GGSN detects that there are service application layer packets sent by the user terminal on the Gi interface, it parses them and performs matching according to the preset streaming media service matching rules. . After judging that the data packet is a data packet of a real-time streaming media service according to the preset matching method and matching information, the GGSN also needs to perceive the rate of the streaming media program (both the stream rate can be determined through the preset static matching information). The stream rate of the media program source can be obtained by dynamically analyzing the SDP information, as described above). Generally speaking, after the GGSN perceives the type and rate of real-time streaming media services, it will determine the QoS update parameters in the PDP context according to the perceived rate, initiate PDP upstream text updates, and reserve corresponding guaranteed bandwidth for streaming media services.

当感知的流媒体节目需要按时间计费时,GGSN还要感知该实时流媒体业务的播放开始与结束时间,以便准确计算播放时间。When the perceived streaming media program needs to be charged by time, the GGSN also needs to sense the playing start and end time of the real-time streaming media service, so as to accurately calculate the playing time.

当实时流媒体业务和其他非实时业务(如Interactive,Background业务)并发,且共用一个PDP上下文时,则GGSN将PDP上下文中的QoS参数更新为以保证实时流媒体业务质量所需的QoS参数,即:将Traffic Class参数取值为Streaming,将保证速率取值为实时流媒体业务的保证速率。When real-time streaming services and other non-real-time services (such as Interactive, Background services) are concurrent and share a PDP context, the GGSN updates the QoS parameters in the PDP context to the QoS parameters required to ensure the quality of real-time streaming services, That is: set the Traffic Class parameter to Streaming, and set the guaranteed rate to the guaranteed rate of the real-time streaming service.

当流媒体业务与非流媒体类型的实时业务,如会话类业务(Conversational)并发时,则GGSN将QoS参数中的Traffic class取值为Conversational,保证速率的取值可以采用不同算法获得,如:(1)取线程中最高的速率为保证速率;(2)将多个业务保证速率进行叠加,但要保证业务叠加后的速率不能超过用户签约的保证速率。When streaming media services are concurrent with non-streaming media real-time services, such as conversational services (Conversational), the GGSN sets the value of the Traffic class in the QoS parameter as Conversational, and the value of the guaranteed rate can be obtained using different algorithms, such as: (1) Take the highest rate in the thread as the guaranteed rate; (2) Superimpose the guaranteed rates of multiple services, but ensure that the rate after the superposition of services cannot exceed the guaranteed rate signed by the user.

当一个用户终端上多个实时流媒体业务线程并发且共用一个PDP上下文时,则GGSN将QoS参数中的Traffic class取值为Streaming,保证速率的取值可以采用不同算法获得,如:(1)取最先发起的流媒体线程的保证速率;(2)取线程中最高的保证速率;(3)将多个流媒体线程保证速率进行叠加,但要保证业务叠加后的速率不能超过用户签约的保证速率。When multiple real-time streaming service threads on a user terminal are concurrent and share a PDP context, the GGSN sets the Traffic class in the QoS parameter as Streaming, and the value of the guaranteed rate can be obtained by using different algorithms, such as: (1) Take the guaranteed rate of the streaming media thread initiated first; (2) take the highest guaranteed rate in the thread; (3) superimpose the guaranteed rates of multiple streaming media threads, but ensure that the rate after the business superposition cannot exceed the user's contracted rate Guaranteed speed.

在实时媒体业务进行中,若用户终端、SGSN或其它实体发起PDP上下文更新消息,则GGSN按照正常协议流程进行更新。此时,原有的实时流媒体业务对应的QoS参数可能会发生改变。During the real-time media service, if the user terminal, SGSN or other entity initiates a PDP context update message, the GGSN will update it according to the normal protocol flow. At this time, the QoS parameters corresponding to the original real-time streaming media service may change.

5、GGSN发起PDP上下文更新请求流程。5. The GGSN initiates a PDP context update request process.

GGSN向SGSN发起PDP上下文的更新请求,SGSN将更新后的PDP上下文经过层层传递发送到RAN,使RAN根据更新后的PDP上下文更新实时流媒体业务对应的QoS参数,为实时流媒体业务预留相应的保证带宽。The GGSN initiates a PDP context update request to the SGSN, and the SGSN sends the updated PDP context to the RAN through layer-by-layer transmission, so that the RAN updates the QoS parameters corresponding to the real-time streaming media service according to the updated PDP context, which is reserved for the real-time streaming media service corresponding guaranteed bandwidth.

流媒体节目按照为其预留保证带宽从流媒体服务器发送到用户终端。The streaming media program is sent from the streaming media server to the user terminal according to the guaranteed bandwidth reserved for it.

6、用户终端通过RTSP协议发起结束(TEARDOWN)请求,请求结束流媒体节目的播放。该请求消息中包含结束命令,该数据报文流经Gi接口。6. The user terminal initiates a TEARDOWN request through the RTSP protocol, requesting to end the playing of the streaming media program. The request message includes an end command, and the data message flows through the Gi interface.

7、GGSN感知实时流媒体业务结束后,更新PDP上行文内容,收回为流媒体业务预留的资源。7. After the GGSN perceives the end of the real-time streaming service, it updates the content of the PDP upstream text and takes back the resources reserved for the streaming service.

GGSN时刻检测流经Gi接口的业务应用层报文,当GGSN检测到Gi接口有用户终端发送的业务应用层报文时,对其进行解析,并根据预先设定的流媒体业务匹配规则进行信息匹配。当按照预先设定的匹配方法和匹配信息判断出该数据报文为实时流媒体业务的数据报文后,GGSN还要根据解析结果确定该数据报文中是否包含结束流媒体播放的RTSP协议命令。在判断该数据报文中包含RTSP协议的结束命令后,GGSN更新PDP上下文,将其更新为系统默认的QoS配置,或将其恢复为在流媒体业务执行前的QoS配置。恢复的QoS参数不能超过用户签约QoS参数。The GGSN detects the service application layer packets flowing through the Gi interface at all times. When the GGSN detects that there are service application layer packets sent by the user terminal on the Gi interface, it parses them and performs information processing according to the preset streaming media service matching rules. match. After judging that the data message is a real-time streaming media service data message according to the preset matching method and matching information, the GGSN will also determine whether the data message contains an RTSP protocol command to end streaming media playback according to the analysis result . After judging that the end command of the RTSP protocol is included in the data message, the GGSN updates the PDP context, and updates it to the default QoS configuration of the system, or restores it to the QoS configuration before the execution of the streaming media service. The recovered QoS parameters cannot exceed the user's subscribed QoS parameters.

对于按照时间计费的流媒体业务,在GGSN解析出结束命令后,还要停止计时器计时,以便获得该实时流媒体业务的执行时间,进行计费。For the streaming media service charged by time, after the GGSN parses the end command, the timer should be stopped so as to obtain the execution time of the real-time streaming media service for charging.

在有多个实时流媒体业务并发执行且共用一个PDP上下文的情况下,当其中的某个流媒体线程结束时,GGSN根据为这些流媒体业务预留资源过程中确定保证速率时所采用的算法采取相应的方式回收资源,如:When multiple real-time streaming media services are executed concurrently and share a PDP context, when one of the streaming media threads ends, the GGSN determines the guaranteed rate according to the algorithm used in the process of reserving resources for these streaming media services Reclaim resources in appropriate ways, such as:

(1)当GGSN将多个流媒体线程的速率叠加作为当前PDP上下文的保证速率时,此时,GGSN可收回部分占用的资源,如,收回该结束播放的流媒体线程所单独占用的资源,具体做法是将当前多个流媒体线程使用的保证速率减去该已结束的线程的速率,作为当前PDP上下文的保证速率。(1) When the GGSN superimposes the rate of multiple streaming media threads as the guaranteed rate of the current PDP context, at this time, the GGSN can reclaim some of the resources occupied, such as reclaiming the resources occupied by the streaming media thread that has finished playing, The specific method is to subtract the rate of the terminated thread from the guaranteed rate used by multiple current streaming media threads, and use it as the guaranteed rate of the current PDP context.

(2)当GGSN取多个流媒体线程中最高的速率作为当前PDP上下文的保证速率时,假设有N个流媒体线程共用当前PDP上下文,此时,GGSN在剩下的还未结束的N-1个线程中取一个最大的保证速率,作为当前PDP上下文的保证速率。(2) When GGSN takes the highest rate among multiple streaming media threads as the guaranteed rate of the current PDP context, assuming that there are N streaming media threads sharing the current PDP context, at this time, GGSN is in the remaining unfinished N- Take the maximum guaranteed rate in one thread as the guaranteed rate of the current PDP context.

(3)当GGSN取最先发起的流媒体线程的速率作为当前PDP上下文的保证速率时,此时,只要当前有流媒体线程还未结束播放,当前PDP上下文的速率可以保持不变。(3) When GGSN takes the rate of the streaming media thread initiated first as the guaranteed rate of the current PDP context, at this time, as long as there is currently a streaming media thread that has not finished playing, the rate of the current PDP context can remain unchanged.

当最后一个流媒体业务进程结束后,GGSN发起针对所有流媒体资源的回收流程。When the last streaming media service process ends, the GGSN initiates a recovery process for all streaming media resources.

8、GGSN发起PDP上下文更新请求流程。8. The GGSN initiates a PDP context update request process.

GGSN向SGSN发起PDP上下文的更新请求,SGSN将更新后的PDP上下文经过层层传递发送到RAN,使RAN根据更新后的PDP上下文更新对应的流媒体业务的QoS参数,将实时流媒体业务所占用的资源进行释放。The GGSN initiates a PDP context update request to the SGSN, and the SGSN sends the updated PDP context to the RAN through layer-by-layer transmission, so that the RAN updates the QoS parameters of the corresponding streaming media service according to the updated PDP context, and the real-time streaming media service occupies resources are released.

某些用户终端在启动实时流媒体业务时,能够自动触发PDP二次激活,生成一个新的PDP上下文(即第二个PDP上下文),以便专门用于流媒体节目的播放,而GGSN的感知与PDP上下文更新是针对第一个PDP上下文(即原PDP上下文)的,为了抑止GGSN针对第一个PDP上下文的无效更新,本发明提供了以下两种方法:When some user terminals start real-time streaming media services, they can automatically trigger the secondary activation of PDP to generate a new PDP context (ie, the second PDP context), so as to be used exclusively for playing streaming media programs, while the perception of GGSN and PDP context update is for the first PDP context (i.e. the original PDP context), in order to suppress the invalid update of the first PDP context by GGSN, the present invention provides the following two methods:

方法1、若GGSN在感知实时流媒体业务并为其发起PDP上下文更新后,又发现用户终端通过二次激活新建了一个PDP上下文以承载流媒体业务(通过对Gn接口,即SGSN与GGSN之间信令面的检测,判断用户终端是否通过二次激活新建PDP上下文),此时,GGSN向SGSN发起针对第一个PDP上下文的更新请求,更新QoS参数为流媒体感知前的参数,或系统设置的缺省QoS参数。Method 1. If the GGSN perceives the real-time streaming service and initiates a PDP context update for it, it finds that the user terminal has created a new PDP context to carry the streaming service through secondary activation (through the Gn interface, that is, between the SGSN and the GGSN. The detection on the signaling plane determines whether the user terminal creates a new PDP context through secondary activation), at this time, the GGSN initiates an update request for the first PDP context to the SGSN, and updates the QoS parameters to the parameters before streaming media perception, or system settings The default QoS parameters.

方法2、当GGSN感知到流媒体业务时,并不发起PDP上下文更新,而是开启定时器。在设定时间内,若GGSN收到用户终端主动发起的PDP二次激活(建立用户面的第二个PDP上下文),则抑止向SGSN发起针对第一个PDP上下文的更新请求,并停止定时器。定时器停止计时后,GGSN恢复正常工作若定时器超时,则表明用户终端没有发起PDP二次激活,此时,GGSN向SGSN发起PDP上下文更新请求以便为实时流媒体业务预留资源。Method 2: When the GGSN perceives the streaming media service, it does not initiate a PDP context update, but starts a timer. Within the set time, if the GGSN receives the second PDP activation initiated by the user terminal (establishing the second PDP context of the user plane), it will refrain from initiating an update request for the first PDP context to the SGSN and stop the timer . After the timer stops counting, the GGSN resumes normal work. If the timer expires, it indicates that the user terminal has not initiated PDP secondary activation. At this time, the GGSN initiates a PDP context update request to the SGSN to reserve resources for real-time streaming services.

上述流程除适用于UMTS网络外,还同样能够适用于通用分组无线业务(General Packet Radio Service,GPRS)网络和码分多址(Code Division MultipleAddressing,CDMA)网络,或其他可以承载流媒体业务的无线通信网络。在GPRS网络中,由GGSN对流媒体业务进行感知和资源分配,在CDMA网络中,由分组数据业务节点(Packet Data Service Node,PDSN)对流媒体业务进行感知资源分配。In addition to being applicable to UMTS networks, the above process can also be applied to General Packet Radio Service (GPRS) networks and Code Division Multiple Access (CDMA) networks, or other wireless networks that can carry streaming media services. Communications network. In the GPRS network, the GGSN senses and allocates resources for the streaming media service, and in the CDMA network, the Packet Data Service Node (PDSN) senses and allocates resources for the streaming media service.

基于上述方法,本发明还提供了一种为实时流媒体业务分配资源的装置,能够通过感知用户终端发起的实时流媒体业务,动态地为流媒体业务分配相应的资源。Based on the above method, the present invention also provides a device for allocating resources for real-time streaming media services, which can dynamically allocate corresponding resources for streaming media services by sensing the real-time streaming media services initiated by user terminals.

参见图5,为本发明的为实时流媒体业务分配资源的装置的结构示意图,该装置具体包括:检测/解析模块、匹配判断模块、资源管理模块。Referring to FIG. 5 , it is a schematic structural diagram of a device for allocating resources for a real-time streaming media service according to the present invention. The device specifically includes: a detection/analysis module, a matching judgment module, and a resource management module.

检测/解析模块实时检测并解析流经Gi接口的用户终端发送的业务应用层报文,并将解析出的报文信息发送到匹配判断模块。匹配判断模块根据解析出的报文信息判断有流媒体业务开始时,向资源管理模块发送预留资源的指令;判断有实时流媒体业务结束时,向资源管理模块发送收回预留资源的指令。资源管理模块根据指令发起相应的PDP上下文更新,为实时流媒体业务预留相应的资源或收回预留的资源。The detection/parsing module detects and analyzes the service application layer message sent by the user terminal flowing through the Gi interface in real time, and sends the parsed message information to the matching judgment module. When the matching judging module judges that a streaming media service starts according to the parsed message information, it sends an instruction to reserve resources to the resource management module; when it judges that a real-time streaming media service ends, it sends an instruction to take back reserved resources to the resource management module. The resource management module initiates a corresponding PDP context update according to the instruction, reserves corresponding resources for the real-time streaming service or withdraws the reserved resources.

匹配判断模块包括业务匹配子模块、业务开始/结束判断子模块和速率匹配子模块。The matching judging module includes a service matching submodule, a service start/end judging submodule and a rate matching submodule.

业务匹配子模块将解析出的报文信息与预设的静态流媒体业务匹配信息(如流媒体服务器IP地址或流媒体节目源URL地址)相匹配,判断捕获到的报文是否流媒体业务报文,若是,则启动业务开始/结束判断子模块和速率匹配子模块。The business matching sub-module matches the parsed message information with the preset static streaming media service matching information (such as streaming media server IP address or streaming media program source URL address), and judges whether the captured message is a streaming media service report or not. If so, start the service start/end judging submodule and the rate matching submodule.

业务开始/结束判断子模块判断报文信息中包含设置或播放流媒体节目的命令(如RTSP协议的PLAY命令、SETUP命令等)时,向资源管理模块发送预留资源的指令;判断报文信息中包含结束流媒体节目的命令(如RTSP协议的TEARDOWN命令)时,向资源管理模块发送收回预留资源的指令。When the business start/end judging submodule judges that the message information contains an order for setting or playing a streaming media program (such as the PLAY command of the RTSP protocol, the SETUP command, etc.), it sends an instruction to reserve resources to the resource management module; the message information is judged When the command (such as the TEARDOWN command of the RTSP protocol) to end the streaming media program is included in the command, an instruction to take back the reserved resource is sent to the resource management module.

速率匹配子模块根据预设的流媒体业务速率匹配信息(如流媒体服务器IP地址及与其对应的流媒体节目码流速率)获取相匹配的速率,并将其设置为该流媒体业务的保证速率;或将从报文信息(如报文中的SDP信息)中解析出的速率信息,设置为该流媒体业务的保证速率。速率匹配子模块将设置好的保证速率信息发送到资源管理模块。The rate matching sub-module obtains the matching rate according to the preset streaming media service rate matching information (such as the IP address of the streaming media server and the corresponding stream rate of the streaming media program), and sets it as the guaranteed rate of the streaming media service ; or set the rate information parsed from the message information (such as the SDP information in the message) as the guaranteed rate of the streaming media service. The rate matching sub-module sends the set guaranteed rate information to the resource management module.

资源管理模块收到资源预留指令或/和所述设置的保证速率信息后,根据该保证速率更新PDP上下文的QoS参数,为实时流媒体业务预留保证带宽;收到收回预留资源的指令后,将当前的保证速率设置为系统默认的速率或流媒体业务开始前的速率,更新PDP上下文的参数,收回为实时流媒体业务预留的保证带宽。After the resource management module receives the resource reservation instruction or/and the guaranteed rate information set, it updates the QoS parameters of the PDP context according to the guaranteed rate, and reserves the guaranteed bandwidth for the real-time streaming media service; receives an instruction to reclaim the reserved resources Finally, the current guaranteed rate is set to the system default rate or the rate before the streaming service starts, the parameters of the PDP context are updated, and the guaranteed bandwidth reserved for the real-time streaming service is withdrawn.

匹配判断模块还包括一个并发判断/处理子模块,其中预设有设置并发业务保证速率的算法。并发判断/处理子模块判断实时流媒体业务与其他业务并发且共用一个PDP上下文时,根据预设的算法为流媒体业务设置保证速率,并将设置的保证速率信息发送到资源管理模块。并发判断/处理子模块判断多个并发且共用一个PDP上下文的实时流媒体业务中的一个业务结束时,根据预设的算法为余下还没有结束的流媒体业务设置保证速率,更新当前的速率,并将更新后的速率信息发送到资源管理模块。并发判断/处理子模块判断多个并发且共用一个PDP上下文的实时流媒体业务都结束后,将当前的速率更新为系统默认的速率或流媒体业务开始前的速率,并将更新后的速率信息发送到所述资源管理模块。资源管理模块根据设置的保证速率更新PDP上下文的QoS参数,发起PDP上下文更新。The matching judging module also includes a concurrent judging/processing sub-module, in which an algorithm for setting the guaranteed rate of concurrent services is preset. When the concurrency judging/processing sub-module judges that the real-time streaming media service is concurrent with other services and shares a PDP context, it sets a guaranteed rate for the streaming media service according to a preset algorithm, and sends the set guaranteed rate information to the resource management module. When the concurrency judging/processing sub-module judges that one of the multiple concurrent real-time streaming services sharing a PDP context ends, set the guaranteed rate for the remaining unfinished streaming media services according to the preset algorithm, and update the current rate. And send the updated rate information to the resource management module. After the concurrency judging/processing sub-module judges that multiple concurrent real-time streaming services that share a PDP context are all over, the current rate is updated to the system default rate or the rate before the streaming service starts, and the updated rate information sent to the resource management module. The resource management module updates the QoS parameters of the PDP context according to the set guaranteed rate, and initiates the update of the PDP context.

匹配判断模块还包括一个PDP上下文检测/处理子模块。PDP上下文检测/处理子模块检测到用户终端通过二次激活建立承载流媒体业务的第二个用户面PDP上下文(即新的PDP上下文)时,向资源管理模块发送抑止资源预留的指令,抑止对承载流媒体业务的第一个用户面PDP上下文(即原PDP上下文)发起更新;或向资源管理模块发送资源回收指令,收回在承载流媒体业务的第一个用户面PDP上下文中为该流媒体业务预留的资源。The matching judgment module also includes a PDP context detection/processing sub-module. When the PDP context detection/processing sub-module detects that the user terminal establishes the second user plane PDP context (i.e. a new PDP context) carrying streaming media services through secondary activation, it sends an instruction to suppress resource reservation to the resource management module, and suppresses Initiate an update to the first user plane PDP context (i.e. the original PDP context) that bears the streaming media service; or send a resource recovery command to the resource management Resources reserved by the media business.

综上所述,本发明通过由网络侧的分组数据业务节点检测并解析Gi接口的报文,判断用户终端是否发起实时流媒体相关的业务,并根据预先设置的静态匹配信息或动态解析报文中的速率信息,确定满足该流媒体业务质量的参数,通过发起的PDP上下文更新流程,为流媒体业务分配相应的资源。本发明提供的这种实时流媒体业务感知方法可以动态的对系统资源利用进行调整,从而最大程度地减少空口资源的浪费,提高网络资源利用率,保障流媒体播放质量。本发明还针对实时流媒体业务与其他业务的多种并发情况提供了不同的解决方法,以保障其中的实时流媒体的播放质量,从而提高了系统的适应性。In summary, the present invention detects and parses the message of the Gi interface by the packet data service node on the network side, judges whether the user terminal initiates a real-time streaming media-related service, and analyzes the message according to the preset static matching information or dynamically Determine the parameters that meet the quality of the streaming media service, and allocate corresponding resources for the streaming media service through the initiated PDP context update process. The real-time streaming media service perception method provided by the present invention can dynamically adjust the utilization of system resources, thereby minimizing the waste of air interface resources, improving the utilization rate of network resources, and ensuring the quality of streaming media playback. The present invention also provides different solutions for multiple concurrent situations of real-time streaming media services and other services, so as to ensure the playback quality of real-time streaming media, thereby improving the adaptability of the system.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (19)

1. one kind is the method for real time flow medium traffic assignments resource, it is characterized in that, comprises step:
Group data service node is caught the streaming media service message that user terminal sends;
Judge that by resolving described streaming media service message the professional beginning of real time flow medium is arranged, initiate the data pack protocol PDP Context and upgrade, be the professional reserved resource of this real time flow medium; Judging has the real time flow medium service ending, initiates PDP Context and upgrades, and regains to be the professional reserved resource of this real time flow medium.
2. the method for claim 1 is characterized in that, described group data service node is caught the streaming media service message that user terminal sends, and comprising:
The service application layer message that user terminal sends is caught and resolved to group data service node by detecting the Gi interface;
Be complementary by message information that will parse and the streaming media service match information of presetting, judge whether the message that captures is the streaming media service message.
3. method as claimed in claim 2 is characterized in that, described default streaming media service match information is a flow-medium performance source information.
4. method as claimed in claim 3, it is characterized in that, described flow-medium performance source information is RTSP agreement stiff end slogan, the streaming media server IP address of streaming media server controls playing flow-medium performance, or the uniform resource locator URL address in flow-medium performance source, or the combination in any of above information.
5. the method for claim 1 is characterized in that, when group data service node parsed the order that comprises setting or playing stream media program in the described streaming media service message, judging had the professional beginning of real time flow medium; When comprising the order that finishes flow-medium performance in parsing described streaming media service message, judging has the real time flow medium service ending.
6. the method for claim 1, it is characterized in that, after group data service node receives that streaming media service message and judgement have the professional beginning of real time flow medium, the speed of streaming media service is set, upgrade the PDP Context parameter, be the streaming media service bandwidth reserved.
7. method as claimed in claim 6, it is characterized in that, group data service node parses rate information from described streaming media service message, or obtains the speed that is complementary with described streaming media service according to default streaming media service rate matching information, and the speed of streaming media service is set.
8. the method for claim 1 is characterized in that, when real time flow medium business and other service concurrences and a shared PDP Context, it is the corresponding resource of the professional reservation of described real time flow medium that group data service node adopts default algorithm.
9. method as claimed in claim 8, it is characterized in that, when concurrent described other business were the real time flow medium business, then described default algorithm comprised that the speed of the business of choosing speed maximum in the voice and packet data concurrent service or first initiation is set to the professional common speed of concurrent real time flow medium; Or the speed of voice and packet data concurrent service superposeed, the speed after the stack is set to the professional common speed of concurrent real time flow medium, upgrades the quality of service qos parameter in the PDP Context;
When concurrent described other business were the real time business of non-Streaming Media type, then described default algorithm comprises chose the speed that speed maximum in the voice and packet data concurrent service is set to described real time flow medium business; Or the speed of voice and packet data concurrent service superposeed, the speed after the stack is set to the speed of described real time flow medium business, upgrades the qos parameter in the PDP Context;
When concurrent described other business are non-real-time service, then choose the speed of real time flow medium business, upgrade the qos parameter in the PDP Context.
10. the method for claim 1, it is characterized in that, after a service ending in the real time flow medium business of a plurality of concurrent and shared PDP Contexts, group data service node is according to regaining the part resource of reservation for the mode of a plurality of concurrent professional reserved resources of real time flow medium;
After a plurality of concurrent real time flow medium business all finished, group data service node was regained all resources of reserving.
11. method as claimed in claim 10, it is characterized in that, if group data service node adopts the mode of stack speed that the speed of real time flow medium business is set, then after one of them service ending, from the speed of current stack, deduct this professional speed, upgrade the qos parameter in the PDP Context;
If group data service node is chosen the speed that flank speed is provided with the real time flow medium business, then after one of them service ending, choose the flank speed in the also unclosed streaming media service, upgrade the qos parameter in the PDP Context.
12. the method for claim 1 is characterized in that, described group data service node is regained and is the professional reserved resource of described real time flow medium, realizes by following steps:
Qos parameter in the PDP Context is updated to system default value; Or
Qos parameter in the PDP Context is reverted to described real time flow medium service resources upgrade preceding numerical value.
13. the method for claim 1, it is characterized in that, after the group data service node judgement has the professional beginning of real time flow medium, in setting-up time, detect user terminal and whether initiate to set up a new PDP Context at described real time flow medium business, if the former PDP Context of then restraining carrying described real time flow medium business upgrades; Otherwise, initiate renewal to described former PDP Context.
14. the method for claim 1, it is characterized in that, after group data service node initiation PDP Context is updated to the professional reserved resource of real time flow medium, when detecting user terminal again and initiating to set up a new PDP Context, regain it and be this real time flow medium business reserved resource in former PDP Context at described real time flow medium is professional.
15. one kind is the device of real time flow medium traffic assignments resource, it is characterized in that, also comprises detection/parsing module, matching judgment module and resource management module;
Described detection/parsing module detects message and the parsing that user terminal sends, and the message information that parses is sent to described matching judgment module;
When described matching judgment module has streaming media service to begin according to the message information judgement that parses, send the instruction of reserved resource to described resource management module; Judge when the real time flow medium service ending is arranged, send the instruction of regaining reserved resource to described resource management module;
Described resource management module is initiated corresponding PDP Context according to instruction and is upgraded, and is professional reserved resource of real time flow medium or withdrawal reserved resource.
16. device as claimed in claim 15 is characterized in that, described detection/parsing module detects the Gi interface, catches and resolve the service application layer message that user terminal sends.
17. device as claimed in claim 15 is characterized in that, described matching judgment module comprises professional matched sub-block, professional beginning/end judgement submodule and rate-matched submodule;
Described professional matched sub-block is complementary message information that parses and the streaming media service match information of presetting, judge whether streaming media service message of the message capture, if then start described professional beginning/end and judge submodule and described rate-matched submodule;
Described professional beginning/end is judged when submodule is judged the order that comprises setting or playing stream media program in the message information, to the instruction of described resource management module transmission reserved resource; Judge and send the instruction of regaining reserved resource to described resource management module when comprising the order that finishes flow-medium performance in the message information;
The speed that streaming media service rate matching information setting that described rate-matched submodule basis is default and real time flow medium business are complementary, or the speed of streaming media service is set, and the rate information that is provided with is sent to described resource management module according to the rate information that from the streaming media service message, parses;
Described resource management module is received the resource reservation instruction or/and behind the rate information of described setting, according to the qos parameter of the speed renewal PDP Context that is provided with, for the professional reservation of real time flow medium guarantees bandwidth; After receiving the instruction of regaining reserved resource, speed or streaming media service that present rate is set to system default begin preceding speed, upgrade the parameter of PDP Context, and regaining is the professional assurance bandwidth of reserving of real time flow medium.
18. device as claimed in claim 17 is characterized in that, described matching judgment module also comprises a concurrent judgement/processing sub;
When described concurrent judgement/processing sub is judged the real time flow medium business with other service concurrences and a shared PDP Context, be that streaming media service is provided with speed according to default algorithm, and the rate information that is provided with is sent to described resource management module;
When described concurrent judgement/processing sub is judged service ending in the real time flow medium business of a plurality of concurrent and shared PDP Contexts, according to default algorithm is that also unclosed streaming media service is provided with speed, and the rate information that is provided with is sent to described resource management module;
After described concurrent judgement/processing sub judges that an a plurality of concurrent and real time flow medium business shared PDP Context all finish, speed or streaming media service that current speed is set to system default begin preceding speed, and the rate information that is provided with is sent to described resource management module;
Described resource management module is initiated PDP Context and is upgraded according to the qos parameter of the speed renewal PDP Context that is provided with.
19. device as claimed in claim 17 is characterized in that, described matching judgment module also comprises PDP Context detection/processing sub;
Described PDP Context detection/processing sub detects user terminal when initiating to set up a new PDP Context at described streaming media service, send the instruction of restraining resource reservation to described resource management module, restrain the former PDP Context that carries described streaming media service is initiated to upgrade; Or
Send the resource recovery command to described resource management module, being retracted in the former PDP Context that carries described streaming media service is this streaming media service reserved resource.
CNB2006101038317A 2006-08-02 2006-08-02 A method and device for allocating resources for real-time streaming media services Active CN100461766C (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNB2006101038317A CN100461766C (en) 2006-08-02 2006-08-02 A method and device for allocating resources for real-time streaming media services
PCT/CN2007/002327 WO2008017249A1 (en) 2006-08-02 2007-08-02 A method and apparatus for streaming media service resource management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101038317A CN100461766C (en) 2006-08-02 2006-08-02 A method and device for allocating resources for real-time streaming media services

Publications (2)

Publication Number Publication Date
CN1909514A CN1909514A (en) 2007-02-07
CN100461766C true CN100461766C (en) 2009-02-11

Family

ID=37700508

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101038317A Active CN100461766C (en) 2006-08-02 2006-08-02 A method and device for allocating resources for real-time streaming media services

Country Status (2)

Country Link
CN (1) CN100461766C (en)
WO (1) WO2008017249A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100461766C (en) * 2006-08-02 2009-02-11 华为技术有限公司 A method and device for allocating resources for real-time streaming media services
CN101325780B (en) 2007-06-15 2010-07-07 华为技术有限公司 Method and system for implementing tactics control, entity for executing tactics and charging
CN101772010B (en) * 2008-12-30 2012-09-05 联芯科技有限公司 Abnormal processing method for terminal and network for packet switching service district refreshment
CN102904859B (en) * 2011-07-26 2017-08-08 中兴通讯股份有限公司 Ensure the method and system of streaming media service service quality
CN102523296B (en) * 2011-12-21 2014-11-05 华为技术有限公司 Method, device and system for optimizing wireless webpage browsing resources
US10649613B2 (en) 2012-06-07 2020-05-12 Wormhole Labs, Inc. Remote experience interfaces, systems and methods
US10489389B2 (en) 2012-06-07 2019-11-26 Wormhole Labs, Inc. Experience analytic objects, systems and methods
US10700944B2 (en) 2012-06-07 2020-06-30 Wormhole Labs, Inc. Sensor data aggregation system
CN104754554B (en) * 2013-12-27 2019-04-05 华为技术有限公司 A kind of methods, devices and systems obtaining the instruction of media business parameter
CN107154901B (en) * 2016-03-03 2021-07-06 中兴通讯股份有限公司 Data transmission control method and system, and data transmission method and device
CN114489572B (en) * 2020-11-13 2023-12-29 华为技术有限公司 Service demand adjustment method and related equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6058113A (en) * 1997-09-30 2000-05-02 Lucent Technologies, Inc. Method for enhancing resource reservation communication
US20040037269A1 (en) * 2000-11-14 2004-02-26 Niklas Lundin Network requested packet data protocol context activation
CN1685674A (en) * 2002-09-25 2005-10-19 诺基亚有限公司 Method, system and communication device for notifying and permitting QoS profile parameters in a network
CN1773927A (en) * 2004-11-08 2006-05-17 上海贝尔阿尔卡特股份有限公司 Dynamic radio resource scheduling method and device for streaming media service
EP1241911B1 (en) * 2001-03-14 2006-07-19 Nokia Corporation A method for selecting a quality of service in a wireless communication system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005002264A1 (en) * 2003-06-27 2005-01-06 Nokia Corporation Method and system for resource reservation in a wireless communication network
CN1330143C (en) * 2004-12-17 2007-08-01 中国科学院计算技术研究所 Method of composing broadband radio city local network for providing hierarchical serivce
CN100461766C (en) * 2006-08-02 2009-02-11 华为技术有限公司 A method and device for allocating resources for real-time streaming media services

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6058113A (en) * 1997-09-30 2000-05-02 Lucent Technologies, Inc. Method for enhancing resource reservation communication
US20040037269A1 (en) * 2000-11-14 2004-02-26 Niklas Lundin Network requested packet data protocol context activation
EP1241911B1 (en) * 2001-03-14 2006-07-19 Nokia Corporation A method for selecting a quality of service in a wireless communication system
CN1685674A (en) * 2002-09-25 2005-10-19 诺基亚有限公司 Method, system and communication device for notifying and permitting QoS profile parameters in a network
CN1773927A (en) * 2004-11-08 2006-05-17 上海贝尔阿尔卡特股份有限公司 Dynamic radio resource scheduling method and device for streaming media service

Also Published As

Publication number Publication date
WO2008017249A1 (en) 2008-02-14
CN1909514A (en) 2007-02-07

Similar Documents

Publication Publication Date Title
CN100461766C (en) A method and device for allocating resources for real-time streaming media services
US7746819B2 (en) Binding mechanism for quality of service management in a communication network
JP4838320B2 (en) Method and apparatus for specifying quality of service in data packet transmission
US8045515B2 (en) Systems, methods, and apparatus for quality of service processing
CN101325547B (en) Communication system, server, control apparatus and communication apparatus
RU2513711C2 (en) Service event trigger
US9686116B2 (en) Dynamic service information for the access network
JP2012507223A (en) Policy and accounting control method, server, and computer program
KR20090054528A (en) Service quality management method for users and system for performing the same
EP2164273A1 (en) Method, system and device of multicast resource control
CN103248451A (en) Service rate control method, system and device
CN106162758A (en) Method for processing business, PCRF and transaction processing system
WO2008083568A1 (en) A method, apparatus and system for allocating the wireless bandwidth
CN100337414C (en) Service quality consulting method for wideband CDMA system
CN100411362C (en) A Method of Controlling Quality of Service Request by Network
US10164781B2 (en) Method and apparatus for dynamic policy interworking between PCFR and NAT
WO2013159617A1 (en) Method, system and control network element for network congestion
WO2014179951A1 (en) Method and apparatus for improving service quality
WO2008096258A1 (en) A system and method for dynamic bearer allocation
RU2384001C2 (en) Deciding on distribution and providing resources for at least one data stream and at least one connection used
WO2016173364A1 (en) Method, system and apparatus for making policy rule
CN104284319B (en) A policy control method, device and system based on congestion control
JP2009105949A5 (en)
CN101567836A (en) Method and system for confirming loading priority
KR100879164B1 (en) Coupling Mechanism for Quality of Service Management in Communication Networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant