WO2008017249A1 - A method and apparatus for streaming media service resource management - Google Patents

A method and apparatus for streaming media service resource management Download PDF

Info

Publication number
WO2008017249A1
WO2008017249A1 PCT/CN2007/002327 CN2007002327W WO2008017249A1 WO 2008017249 A1 WO2008017249 A1 WO 2008017249A1 CN 2007002327 W CN2007002327 W CN 2007002327W WO 2008017249 A1 WO2008017249 A1 WO 2008017249A1
Authority
WO
WIPO (PCT)
Prior art keywords
streaming media
media service
real
service
rate
Prior art date
Application number
PCT/CN2007/002327
Other languages
French (fr)
Chinese (zh)
Inventor
Xinfa Wang
Ming Jiang
Qin Qu
Feng Chen
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.
Publication of WO2008017249A1 publication Critical patent/WO2008017249A1/en

Links

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

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and an apparatus for managing streaming media service resources. Background technique
  • the rapid development of data services has brought a big 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.
  • the network can distinguish between real-time services and non-real-time services, that is, it can have service-aware capabilities; it can differentiate the perceived real-time services. That is, it has the ability to differentiate its business. It can be seen that the service awareness capability is the prerequisite for guaranteeing the quality of service (QoS) of the wireless network.
  • QoS quality of service
  • the network side device (such as the gateway GPRS support node GGSN) does not have the service sensing capability, and the service sensing capability depends on the user equipment (UE).
  • the quality of service (QoS) parameters carried by the user terminal in the context of establishing a protocol data packet (PDP) context request may not be completely consistent with the requirements of the service layer. That is, the QoS parameters reported by the user terminal to the UMTS network are not completely trusted, and the network side (such as the radio access network RAN/core network CN/service platform) does not have the service sensing capability, and cannot truly perceive the user.
  • service attribute e.g.
  • the network side generally reserves resources for the service according to the default QoS parameter or the user subscription QoS parameter.
  • the default parameters and user-signed QoS parameters are not necessarily consistent with the current service requirements of the user.
  • the network side cannot actively perceive the real-time streaming media service requested by the user. Therefore, the corresponding resources cannot be dynamically allocated and reclaimed for the applied streaming media service.
  • the network side cannot actively perceive the service attribute information of the user service request, and can only provide guaranteed bandwidth for all user services to provide streaming media ik services, thus potentially causing waste of resources. Sensing, QoS parameter mapping, and service application are too dependent on the application layer of the user terminal and the user terminal. Therefore, the capability of the user terminal is limited, resulting in inaccurate information, resulting in unguaranteed service quality of real-time services.
  • FIG. 2 a schematic diagram of a service awareness scheme proposed by the existing 3GPP R6 protocol standard.
  • the UMTS network In the process of allocating resources for services through service awareness, the UMTS network has the capability of service awareness, but at the same time requires the user terminal and the network to support the binding mechanism between the IP bearer layer and the application layer.
  • the binding mechanism combines the PDP context bearer with the QoS policy information.
  • the bound information includes a token (Authentication Token, which is assigned by the policy control function) and an IP Flow Identifier.
  • the UMTS end-to-end QoS architecture requires the user terminal to have the following capabilities: support for the SIP protocol, support for secondary activation, and support for token mechanisms.
  • the current wideband code division multiple access system is (Wide-band Code Division Multiple Access, WCDMA) End-to-end quality of service in the network is difficult to guarantee.
  • WCDMA Wide-band Code Division Multiple Access
  • the solution has special requirements for the user terminal, and the network also needs to support the standard Go interface and the Gq interface at the same time, which is difficult to implement in a short period of time, thus affecting the popularization and promotion of the streaming media service.
  • the prior art also proposes a method for perceiving a streaming media service through a service server on the network side, independent of the terminal capability.
  • a schematic diagram of a perceptual streaming media service solution provided by the prior art is provided.
  • the service server After receiving the service request from the user terminal, the service server initiates a service quality request to the QoS policy decision function (PDF), and the PDF initiates a resource request to the GGSN, and the GGSN initiates a PDP context refresh process to update the network side and the user terminal.
  • PDF QoS policy decision function
  • the network side needs supporting support of three products of the GGSN, the PDF, and the streaming media server.
  • the process is relatively complicated. Summary of the invention
  • the embodiment of the invention discloses a method and a device for managing a streaming media service resource, and the process of the network side sensing the streaming media service request of the user terminal and performing resource management.
  • the PDP context update of the data packet protocol is initiated, and resources are reserved for the real-time streaming media service;
  • the PDP context update reclaims resources reserved for the real-time streaming media service.
  • the detecting module is configured to obtain a streaming media service packet sent by the user terminal;
  • the determining module is configured to parse the streaming media service packet, and when it is determined that the streaming media service starts, send an instruction for reserving resources to the resource management module, and when it is determined that the real-time streaming media service ends, The resource management module sends an instruction to reclaim the reserved resource;
  • the resource management module is configured to initiate a PDP context update according to the instruction of the reserved resource, reserve a resource for the real-time streaming media service, or initiate a PDP context update according to the instruction for reclaiming the reserved resource, and reclaim the The resources reserved for real-time streaming media services.
  • the method for managing the streaming media service resource disclosed in the embodiment of the present invention includes the following steps: acquiring a streaming media service packet sent by the user terminal;
  • Another device for managing streaming media service resources includes a detecting module, a determining module, and a resource management module;
  • a detecting module configured to obtain a streaming media service packet sent by the user terminal
  • a judging module configured to parse the streaming media service packet, and determine, according to the parsed the streaming media service packet, a request type of the real-time streaming media service by the user terminal;
  • a resource management module configured to perform corresponding resource management on the real-time streaming media service according to the type of the request.
  • the foregoing embodiment of the present invention obtains a streaming media service packet of the user terminal, and determines whether the user terminal initiates a real-time streaming media-related service by analyzing the packet, and initiates a corresponding
  • the PDP context update process performs corresponding resource management, which simplifies the process of the network side sensing the streaming media service of the user terminal compared with the streaming media service of the network side that requires multiple entities to perceive the user terminal in the prior art, and further simplifies the flow according to the network side.
  • the process of resource management by the perceived streaming media service is simplified.
  • FIG. 1 is a schematic diagram of a service sensing scheme proposed by an existing 3GPP R99 protocol standard
  • FIG. 2 is a schematic diagram of a service sensing scheme proposed by the existing 3GPP R6 protocol standard
  • FIG. 3 is a schematic diagram of a perceptual streaming media service solution provided by the prior art
  • FIG. 4 is a schematic flowchart of performing streaming media resource allocation by using a GGSN to sense real-time streaming media services according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of an apparatus for managing streaming media service resources according to an embodiment of the present invention. detailed description
  • the packet data service node when the user terminal initiates When requesting the streaming media service, the packet data service node captures the packet starting from the streaming media service according to the configured matching rule of the streaming media service information, initiates a PDP context update, and reserves a corresponding real-time streaming media service requested by the user. Resources to ensure the quality of the business of real-time streaming services. After the packet data service node captures the packet of the end of the streaming media service initiated by the user, the network resource reserved for the real-time streaming media service is reclaimed.
  • the packet data service node senses the start and end of the real-time streaming media service to implement resource reservation and resource recovery for the real-time streaming media service.
  • the packet data service node senses real-time streaming media services, including the perception of the following aspects:
  • the sensing of the type and rate of the real-time streaming media service, and the sensing of the start of the real-time streaming media service are mainly used to initiate the PDP context update on the network side, so as to reserve resources for the streaming media service; the sensing of the end of the real-time streaming media service is mainly used for the network.
  • the side initiates a PDP context update to release the resources reserved for the streaming media service in a timely manner; the real-time streaming media concurrent service perception is used for merging and superimposing QoS parameters between multiple streaming media threads, between streaming media and other services.
  • the real-time streaming media secondary activation is mainly used for special processing for terminals with streaming media awareness, such as recycling allocated resources.
  • the packet data service node detects the data packet of the packet data network (PDN network) interface flowing through the packet data service node, such as detecting the service application sent by the user terminal flowing through the Gi interface.
  • the layer packet is parsed, and the packet is parsed, and the service perception of the above aspects is implemented according to the parsed information.
  • the embodiments of the present invention respectively provide specific implementation manners.
  • Method 1 Determine whether the service is a streaming media service by using a fixed port number specified by a Real Time Streaming Protocol (RTSP).
  • RTSP Real Time Streaming Protocol
  • the RTSP protocol specifies that the fixed IP port number of the streaming media service is 554, and the RTSP protocol is concurrent with the Real Time Transport Protocol (RTP) of the actual transport media stream. Therefore, if the fixed port number parsed is 554, it can be determined.
  • the RTSP controlled service is a real-time streaming media service.
  • Method 2 Determine whether the service is a streaming media service by using the parsed service server IP address. If the IP address of the service server is the IP address of the streaming server, it is determined that the service is a real-time streaming service. This method is applicable to an application scenario of a dedicated streaming server.
  • Method 3 Determine whether the service is a streaming media service by using a Uniform Resource Locator (URL) address of the parsed service source. If the URL address of the parsed service source is the URL address of the streaming media program source, the service is determined to be a real-time streaming media service.
  • URL Uniform Resource Locator
  • the three methods for determining the type of streaming media service may be arbitrarily combined using one or more of the methods.
  • the matching rule can contain the following three types of information:
  • the streaming media server controls the fixed IP port number of the RTSP protocol for playing streaming media, which is generally a port.
  • IP/mask address of the dedicated streaming server
  • the Uniform Resource Locator URL address of the streaming media source is the Uniform Resource Locator URL address of the streaming media source.
  • the matching rule can include one or more of the above three types of information.
  • the packet data service node detects and parses the service house message of the Gi interface at any time, and determines that the related IP application service is a real-time streaming media service, as long as the parsed message information matches one or more items listed in the matching rule. .
  • the quality of service requirements for different real-time streaming services may also vary.
  • the most important parameter in the QoS parameters is the guaranteed rate, which is the code stream rate of the program source.
  • the perception of streaming rate can be achieved by the following methods: Method 1, by setting a static streaming media service rate matching information in advance, to determine a guaranteed rate for matching the real-time streaming media service.
  • the method is applicable to all streaming media program source streams on the streaming server.
  • the rate is consistent.
  • Table 1 shows an example of a streaming server IP address and program source stream rate.
  • the corresponding program source stream rate is set for the URL address, and the guaranteed rate of the streaming program for the URL address is specified.
  • the method is applicable to a program source with different rates stored on a streaming media server, but stored in different paths.
  • Table 2 gives an example of a URL address and program source stream rate.
  • the default streaming media source rate such as 144 kbps.
  • the parsed streaming server IP address or the URL address of the streaming media source 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 static configuration default may be adopted. Guaranteed rate, these default settings are guaranteed for these streaming services.
  • Method 2 Parsing the SDP information in the packet by the RTSP protocol to obtain the code of the streaming media program source 3 ⁇ 4 rate.
  • the streaming media source file includes a rate description, and the rate description information is included in the Session Descriptor Protocol (SDP) information of the streaming media service packet. Therefore, by analyzing the SDP, the program source stream can be learned. rate.
  • SDP Session Descriptor Protocol
  • This method is a method for dynamically obtaining the streaming rate of the streaming media program.
  • the related media sub-stream rate information perceived by the method is the most accurate and comprehensive. Therefore, the method is the most reliable rate sensing method.
  • a method for a packet data service node to sense the start of a real-time streaming media service including:
  • the packet data service node resolves to the RTSP protocol play command, such as the PLAY command, or other RTSP commands before the play command, such as the SETUP or DESCRIBE command, which can be used as the streaming start time.
  • the RTSP protocol play command such as the PLAY command
  • other RTSP commands before the play command such as the SETUP or DESCRIBE command, which can be used as the streaming start time.
  • Method 2 After the packet data service node perceives the type of the streaming media service, if the URL address, the IP address of the streaming media server, or the IP port number is perceived, the moment can be used as the streaming media start time.
  • a method for a packet data service node to sense the end of a real-time streaming service includes:
  • the packet data service node resolves to the end command of the RTSP protocol, such as the TEARDOWN command, and this moment is used as the streaming media end time.
  • the TCP connection release time may also be roughly determined as the streaming media playback end time, because the RTSP is carried over the TCP connection, and the TCP connection is also completed after the RTSP session ends. freed.
  • the implementation method is:
  • Each streaming service has a unique session identifier (SESSION ID). Therefore, when the GGSN detects that multiple streaming SESSION IDs are playing simultaneously in a PDP context, it is determined that there are multiple real-time streaming media at this time. Business concurrency.
  • the following takes the real-time streaming media service resource allocation process in the UMTS system as an example. The process of resource allocation by the streaming media service is described in detail.
  • FIG. 4 is a schematic flowchart of a streaming media resource allocation by using a GGSN to perceive a real-time streaming media service according to an embodiment of the present invention, where specific steps include:
  • the user terminal initiates an activation process to the GGSN to notify the GGSN that the user terminal is to initiate a service request, and the GGSN allocates a PDP context to the user terminal to establish an IP bearer.
  • the user terminal initiates an application process to the streaming media server through the RTSP protocol, and applies for the selected or specified streaming media program, and the network side performs authentication and authentication processing on the user's request.
  • the user terminal initiates a play request to the streaming media server through the RTSP protocol.
  • the user terminal After the user terminal passes the authentication, the user initiates a play request for the streaming program to the streaming server, and the request carries the IP address of the streaming server, the URL address of the streaming program, the SDP information of the streaming program, and the play command.
  • the requested data message flows through the Gi interface (ie, the interface between the GGSN and the external shared data network PDN).
  • the GGSN After the GGSN senses the streaming media service, it updates the PDP context and reserves resources for the streaming media service.
  • the GGSN detects the service application layer packet flowing through the Gi interface. When the GGSN detects that the Gi interface has the service application layer packet sent by the user terminal, it analyzes the packet and performs matching according to the preset streaming media service matching rule. . After determining that the data packet is a data packet of the real-time streaming media service according to the preset matching method and the matching information, the GGSN also needs to perceive the rate of the streaming media program (either through the preset static matching information). The code stream rate of the streaming media program source is determined, and the program source stream rate can be obtained by dynamically parsing the SDP information, as described above.
  • the GGSN determines the QoS update parameters in the PDP context according to the perceived rate, initiates a PDP context update, and reserves a corresponding guaranteed bandwidth for the streaming media service.
  • the GGSN When the perceived streaming program needs to be charged by time, the GGSN also needs to perceive the start and end time of the real-time streaming media service in order to accurately calculate the playing time.
  • the GGSN updates the QoS parameters in the PDP context to the QoS parameters required to ensure the quality of the real-time streaming media service.
  • the GGS takes the value of the Traffic class in the QoS parameter as Conversational, and the value of the guaranteed rate can be used.
  • Different algorithms obtain, for example: (1) take the highest rate in the thread as the guaranteed rate; (2) superimpose the multiple service guaranteed rates, but ensure that the rate after the service is superimposed cannot exceed the guaranteed rate of the user subscription.
  • the GGSN takes the value of the Traffic class in the QoS parameter as Streaming, and ensures that the value of the rate can be obtained by using different algorithms, such as: (1) Take the guaranteed rate of the first initiated streaming media thread; (2) take the highest guaranteed rate in the thread; (3) superimpose the guaranteed rate of multiple streaming media threads, but ensure that the rate after the service is superimposed cannot exceed the subscription rate of the user. Guaranteed rate.
  • each PDP context allocates resources according to the QoS parameters of the respective bearer services.
  • the GGSN performs the update according to the normal protocol procedure.
  • the QoS parameters corresponding to the original real-time streaming media service may change.
  • the GGSN initiates a PDP context update request procedure.
  • the GGSN initiates a PDP context update request to the SGSN, and the SGSN sends the updated PDP context to the RAN through layer-layer delivery, so that the RAN updates the QoS parameters corresponding to the real-time streaming media service according to the updated PDP context, and reserves the QoS parameters corresponding to the real-time streaming media service. Corresponding guaranteed bandwidth.
  • the streaming program is transmitted from the streaming server to the user terminal in accordance with the guaranteed bandwidth reserved for it.
  • the user terminal initiates a TEARDOWN request through the RTSP protocol, requesting to end the playback of the streaming media program.
  • the request message includes an end command, and the data message flows through the Gi interface.
  • the GGSN After the GGSN senses the real-time streaming media service, it updates the PDP uplink content and reclaims the resources reserved for the streaming media service.
  • the GGSN detects the service application layer 4 that flows through the Gi interface.
  • the GGSN analyzes the packet and according to the preset The streaming media service matching rule performs information matching.
  • the GGSN further determines, according to the parsing result, whether the data packet includes the RTSP protocol command for ending streaming media playback. .
  • the GGSN updates the PDP context, updates it to the system default QoS configuration, or restores it to the QoS configuration before the streaming media service is executed.
  • the recovered QoS parameters cannot exceed the user's subscription QoS parameters, which can be decided by the SGSN.
  • the timer is also stopped to obtain the execution time of the real-time streaming media service, and the charging is performed.
  • the algorithm used by the GGSN to determine the guaranteed rate according to the process of reserving resources for these streaming media services Recycle resources in a corresponding way such as:
  • the GGSN can reclaim part of the occupied resources, for example, reclaiming the resources occupied by the streaming media thread that ends the playing. Specifically, the guaranteed rate used by the current plurality of streaming media threads is subtracted from the rate of the terminated thread as the guaranteed rate of the current PDP context.
  • the GGSN takes the highest rate among the multiple streaming media threads as the guaranteed rate of the current PDP context, it is assumed that there are N streaming media threads sharing the current PDP context. At this time, the GGSN is in the remaining unfinished N- The maximum guaranteed rate of one thread is taken as the guaranteed rate of the current PDP context.
  • the current PDP context rate may remain unchanged as long as the current streaming media thread has not finished playing.
  • the GGSN After the last streaming service process ends, the GGSN initiates a recycling process for all streaming media resources.
  • the GGSN initiates a PDP context update request procedure.
  • the GGSN initiates an update request for the PDP context to the SGSN, and the SGSN transmits the updated PDP context to the RAN through layer layer delivery, so that the RAN updates the corresponding PDP context according to the update.
  • the QoS parameters of the streaming media service release the resources occupied by the real-time streaming media service.
  • some user terminals can automatically trigger the PDP secondary activation to generate a new PDP context (ie, the second PDP context:), so as to be dedicated to the playback of the streaming program, and the GGSN is perceived.
  • the PDP context update is for the first PDP context (ie, the original PDP context).
  • the embodiment of the present invention provides the following two methods:
  • Method 1 if the GGSN is aware of the real-time streaming media service and initiates a PDP context update for it, it is found that the user terminal newly creates a PDP context to carry the streaming media service through secondary activation (via the Gn interface, ie, between the SGSN and the GGSN)
  • the detection of the signaling plane determines whether the user terminal establishes a new PDP context by secondary activation.
  • the GGSN initiates an update request for the first PDP context to the SGSN, and updates the QoS parameter to a parameter before streaming media sensing, or system setting. Default QoS parameters.
  • the GGSN When the GGSN senses the streaming media service, it does not initiate a PDP context update, but starts a timer. During the set time, if the GGSN receives the PDP secondary activation initiated by the user terminal (establishing the second PDP context of the user plane), it suppresses the initiation of the update request for the first PDP context to the SGSN, and stops the timer. . After the timer stops counting, the GGSN resumes normal operation. If the timer expires, it indicates that the user terminal does not initiate PDP secondary activation. At this time, the GGSN initiates a PDP context update request to the SGSN to reserve resources for the real-time streaming media service.
  • the above process can also be applied to a General Packet Radio Service (GPRS) network and a Code Division Multiple Addressing (CDMA) network, or other devices capable of carrying streaming media services.
  • Wireless communication network In the GPRS network, the GGSN is aware of the streaming media service and allocates resources. In the CDMA network, the packet data service node (PDSN) allocates the perceived resource to the streaming media service.
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Addressing
  • FIG. 5 is a schematic structural diagram of an apparatus for managing a streaming media service resource according to an embodiment of the present invention, where the apparatus specifically includes: a detection module, a determination module, and a resource management module.
  • the detection module detects and parses the service application layer packet sent by the user terminal that flows through the PDN interface (such as the Gi interface) in real time, and matches the parsed packet information with the preset static streaming media service (such as a streaming media server). The address or the source address of the streaming media program is matched. If the match is matched, the captured packet is a streaming media service packet.
  • the PDN interface such as the Gi interface
  • the preset static streaming media service such as a streaming media server
  • the judging module is configured to parse the captured streaming media service packet, and when it is determined that the real-time streaming media service starts (the user terminal requests to start the streaming media service), sends an instruction for reserving the resource to the resource management module; When the service ends (the user terminal requests to end the real-time streaming media service), the resource management module sends an instruction for reclaiming the reserved resource;
  • the resource management module initiates a PDP context update according to the instruction of the reserved resource, and reserves a corresponding resource for the real-time streaming media service; initiates a PDP context update according to the instruction for reclaiming the reserved resource, and reclaims the resource reserved for the real media service.
  • the arbitration block includes a service status determination sub-module and a rate matching sub-module.
  • the resource management module sends an instruction for reserving resources; and determining that the message information includes
  • the command of the streaming program such as the TEARDOWN command of the RTSP protocol
  • an instruction to reclaim the reserved resource is sent to the resource management module.
  • the rate matching sub-module obtains a matching rate according to the preset streaming media service rate matching information (such as the streaming media server IP address and the corresponding streaming program stream rate), and sets the rate to the guaranteed rate of the streaming media service. Or set the rate information parsed from the packet information (such as the SDP information in the packet) to the guaranteed rate of the streaming service.
  • the rate matching sub-module sends the set guaranteed rate information to the resource management module.
  • the resource management module After receiving the resource reservation instruction or/and the set guaranteed rate information, the resource management module updates the PDP context: QoS parameter according to the guaranteed rate, and reserves a guaranteed bandwidth for the real-time streaming media service; After the resource is commanded, 'set the current guaranteed rate to the default rate of the system or the rate before the streaming media service starts, update the parameters of the PDP context, and reclaim the real-time streaming media service. Guaranteed bandwidth left.
  • the judging module further includes a concurrent processing sub-module, wherein an algorithm for setting a concurrent service guarantee rate is pre-set.
  • the concurrent processing sub-module determines that the real-time streaming media service is concurrent with other services and shares one
  • the guaranteed rate is set for the streaming service according to the concurrent service type and the preset guaranteed rate algorithm, and the set guaranteed rate information is sent to the resource management module.
  • the algorithm sets the guaranteed rate for the remaining streaming media service according to the preset guaranteed rate algorithm, and updates the current rate. And send the updated rate information to the resource management module.
  • the current rate is updated to the default rate of the system or the rate before the streaming media service starts, and the updated rate information is 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 a PDP context update.
  • the judging module also includes a PDP context detection sub-module.
  • the PDP context detection sub-module detects that the user terminal establishes a second user plane PDP context (ie, a new PDP context) that carries the streaming media service by using the secondary activation, and sends an instruction to suppress the resource reservation to the resource management module, and suppresses the bearer.
  • the first user plane PDP context (ie, the original PDP context) of the streaming media service initiates an update; or sends a resource recovery instruction to the resource management module to reclaim the streaming media service in the first user plane PDP context of the bearer streaming media service. Reserved resources.
  • the foregoing embodiment of the present invention detects, by the packet data service node on the network side, the packet of the Gi interface, determines whether the user terminal initiates a real-time streaming media-related service, and according to the preset static matching information. Or dynamically parsing the rate information in the packet, determining a parameter that satisfies the quality of the streaming media service, and allocating corresponding resources for the streaming media service by using the initiated PDP context update process.
  • the real-time streaming media service sensing method provided by the embodiment of the present invention simplifies the process of the network side sensing the streaming media service of the user terminal, and dynamically adjusts the system resource utilization, thereby minimizing the waste of the air interface resource and improving Network resource utilization, guarantee the quality of streaming media playback.
  • the embodiments of the present invention provide 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 High system adaptability.

Landscapes

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

Abstract

A method for streaming media service resource management, includes: getting the streaming media service message sent by the user terminal; when determining the realtime streaming media service is starting by resolving said streaming media service message, initiating the PDP context update, and reserving the resource for said streaming media service; when determining the realtime streaming media service is ending by resolving said streaming media service message, initiating the PDP context update, and releasing the resource for said streaming media service. An apparatus for streaming media service resource management, includes: a detection unit for getting the streaming media service message sent by the user terminal; a determination unit for resolving said streaming media service message, determining whether the streaming media service is starting or ending, and sending corresponding resource management command; a resource management unit for reserving the resource for said realtime streaming media service or releasing the reserved resource for said realtime streaming media service according to the resource management command. Using the method, it may ensure the realtime streaming media service quality and improve the utility of the network resource.

Description

一种流媒体业务资源管理的方法及装置 技术领域  Method and device for managing streaming media service resources
本发明涉及通信领域, 尤其涉及一种流媒体业务资源管理的方法及装置。 背景技术  The present invention relates to the field of communications, and in particular, to a method and an apparatus for managing streaming media 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 big 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 proposed for existing networks: The network can distinguish between real-time services and non-real-time services, that is, it can have service-aware capabilities; it can differentiate the perceived real-time services. That is, it has the ability to differentiate its business. 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) networks, the perception of data services is an important part of the 3GPP protocol standard. See Figure 1 for a schematic diagram of the service-aware scheme 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 )0所以,在 3GPP R99 阶 段, 按照用户终端请求的 QoS类别和参数来保证服务盾量的方法, 并不能完 全满足实时业务需求。 如果用户终端在 PDP上下文建立请求中没有携带 QoS 参数, 网络侧一般按缺省 QoS参数或用户签约 QoS参数来为业务预留资源。 蛊然, 缺省参数和用户签约 QoS参数不一定与用户当前业务需求一致。 In the process of allocating resources for the service by the service, the network side device (such as the gateway GPRS support node GGSN) does not have the service sensing capability, and the service sensing capability depends on the user equipment (UE). However, due to the limitation of the user terminal itself, the quality of service (QoS) parameters carried by the user terminal in the context of establishing a protocol data packet (PDP) context request may not be completely consistent with the requirements of the service layer. That is, the QoS parameters reported by the user terminal to the UMTS network are not completely trusted, and the network side (such as the radio access network RAN/core network CN/service platform) does not have the service sensing capability, and cannot truly perceive the user. service attribute (e.g. traffic class) actually transmitted plane 0 Therefore, in 3GPP R99 phase, and according to the QoS class of the user terminal to request the service assurance method shield amount, does not fully meet the needs of real-time services. If the user terminal does not carry the QoS parameter in the PDP context establishment request, the network side generally reserves resources for the service according to the default QoS parameter or the user subscription QoS parameter. The default parameters and user-signed QoS parameters are not necessarily consistent with the current service requirements of the user.
综上所述, 在 3GPP R99 协议标准所提出的通过用户终端感知业务的方 案具有如下缺点:  In summary, the scheme for sensing services through user terminals proposed in the 3GPP R99 protocol standard has the following disadvantages:
1、 网络侧无法主动感知用户请求的实时流媒体业务, 因此无法针对申请 的流媒体业务动态分配和回收相应的资源。  1. The network side cannot actively perceive the real-time streaming media service requested by the user. Therefore, the corresponding resources cannot be dynamically allocated and reclaimed for the applied streaming media service.
1、 网络侧无法主动感知用户业务请求的业务属性信息, 只能为所有用户 业务都提供保证带宽才能提供流媒体 ik务, 因而有可能造成资源浪费。 感知、 QoS 参数映射和业务申请, 对用户终端和用户终端应用层过于依赖, 因而可能因用户终端能力受限, 导致上 信息不准确, 造成实时业务的业务 质量得不到保证。  1. The network side cannot actively perceive the service attribute information of the user service request, and can only provide guaranteed bandwidth for all user services to provide streaming media ik services, thus potentially causing waste of resources. Sensing, QoS parameter mapping, and service application are too dependent on the application layer of the user terminal and the user terminal. Therefore, the capability of the user terminal is limited, resulting in inaccurate information, resulting in unguaranteed service quality of real-time services.
在 3GPP R6协议标准中, 提出了一种端到端的 QoS架构体系。 参见图 2, 为现有 3GPP R6协议标准提出的一种业务感知方案示意图。  In the 3GPP R6 protocol standard, an end-to-end QoS architecture system is proposed. Referring to FIG. 2, a schematic diagram of a service awareness scheme proposed by the existing 3GPP R6 protocol standard.
图 2所示的通过业务感知为业务分配资源的过程中, UMTS 网络具备业 务感知能力,但同时要求用户终端和网络支持 IP承载层与应用层的绑定机制。 绑定机制将 PDP上下文承载与 QoS策略信息结合起来, 绑定的信息包含令牌 ( Authorization Token,该令牌由策略控制功能分配)和 IP媒体流标识( IP Flow Identifier )。 UMTS端到端 QoS架构体系需要用户终端具备以下能力:支持 SIP 协议, 支持二次激活能力, 支持令牌机制等。  In the process of allocating resources for services through service awareness, the UMTS network has the capability of service awareness, but at the same time requires the user terminal and the network to support the binding mechanism between the IP bearer layer and the application layer. The binding mechanism combines the PDP context bearer with the QoS policy information. The bound information includes a token (Authentication Token, which is assigned by the policy control function) and an IP Flow Identifier. The UMTS end-to-end QoS architecture requires the user terminal to have the following capabilities: support for the SIP protocol, support for secondary activation, and support for token mechanisms.
3GPP R6协议标准中所提出的感知业务的方案中, 由于现网中的用户终 端的种类和应用软件众多, 且用户终端的 QoS能力不一致等问题, 导致在当 前的宽带码分多址接入系统 (Wide-band Code Division Multiple Access , WCDMA ) 网络中端到端服务质量难以保证。 另外, 该方案既对用户终端有 特殊要求, 又对网络也要求能够同时支持标准 Go接口和 Gq接口, 在短期内 难以实施, 因而影响流媒体业务的普及和推广。  In the scheme of sensing services proposed in the 3GPP R6 protocol standard, due to the variety of user terminals and application software in the existing network, and the QoS capabilities of the user terminals are inconsistent, the current wideband code division multiple access system is (Wide-band Code Division Multiple Access, WCDMA) End-to-end quality of service in the network is difficult to guarantee. In addition, the solution has special requirements for the user terminal, and the network also needs to support the standard Go interface and the Gq interface at the same time, which is difficult to implement in a short period of time, thus affecting the popularization and promotion of the streaming media service.
现有技术还提出了一种不依赖于终端能力, 通过网络侧的业务服务器感 知流媒体业务的方法。 参见图 3, 为现有技术提供的一种感知流媒体业务方案的示意图。业务服 务器收到用户终端的业务请求后, 向 QoS 策略决策功能 (Policy Decision Function, PDF )发起业务质量请求, PDF向 GGSN发起资源请求, GGSN发 起 PDP上下文刷新流程, 更新网络侧及用户终端针对所请求的流媒体业务的 QoS参数。 The prior art also proposes a method for perceiving a streaming media service through a service server on the network side, independent of the terminal capability. Referring to FIG. 3, a schematic diagram of a perceptual streaming media service solution provided by the prior art is provided. After receiving the service request from the user terminal, the service server initiates a service quality request to the QoS policy decision function (PDF), and the PDF initiates a resource request to the GGSN, and the GGSN initiates a PDP context refresh process to update the network side and the user terminal. The QoS parameters of the requested streaming service.
发明人在实现本发明创造的过程中发现现有技术至少存在缺点: 在通过 网络侧的业务服务器感知流媒体业务的方法中, 网络侧需要 GGSN、 PDF 和 流媒体服务器三个产品的配套支持, 来实现对用户终端的流媒体业务请求进 行感知和处理, 流程比较复杂。 发明内容  The inventor found that the prior art has at least the disadvantages in the process of implementing the present invention. In the method of perceiving the streaming media service through the service server on the network side, the network side needs supporting support of three products of the GGSN, the PDF, and the streaming media server. To realize the sensing and processing of the streaming media service request of the user terminal, the process is relatively complicated. Summary of the invention
本发明的实施例揭示了一种流媒体业务资源管理的方法及装置, 以筒化 网络侧感知用户终端的流媒体业务请求并进行资源管理的过程。  The embodiment of the invention discloses a method and a device for managing a streaming media service resource, and the process of the network side sensing the streaming media service request of the user terminal and performing resource management.
本发明的实施例揭示的流媒体业务资源管理的方法包括步驟:  The method for managing streaming media service resources disclosed in the embodiments of the present invention includes the following steps:
获取用户终端发送的流媒体业务报文;  Obtaining a streaming media service packet sent by the user terminal;
当通过解析所述流媒体业务报文判断有实时流媒体业务开始时, 发起数 据包协议 PDP上下文更新, 为所迷实时流媒体业务预留资源;  When it is determined that the real-time streaming media service starts by parsing the streaming media service packet, the PDP context update of the data packet protocol is initiated, and resources are reserved for the real-time streaming media service;
当通过解析所述流媒体业务报文判断有实时流媒体业务结束时, 发起 When it is determined that the real-time streaming media service ends by parsing the streaming media service packet,
PDP上下文更新, 收回为所述实时流媒体业务预留的资源。 The PDP context update reclaims resources reserved for the real-time streaming media service.
本发明的实施例揭示的流媒体业务资源管理的装置 , 包括:  The device for managing streaming media service resources disclosed in the embodiment of the present invention includes:
所述检测模块, 用于获取用户终端发送的流媒体业务报文;  The detecting module is configured to obtain a streaming media service packet sent by the user terminal;
所述判断模块, 用于解析所述流媒体业务报文, 当判断有流媒体业务开 始时, 向所述资源管理模块发送预留资源的指令, 当判断有实时流媒体业务 结束时, 向所述资源管理模块发送收回预留资源的指令;  The determining module is configured to parse the streaming media service packet, and when it is determined that the streaming media service starts, send an instruction for reserving resources to the resource management module, and when it is determined that the real-time streaming media service ends, The resource management module sends an instruction to reclaim the reserved resource;
所述资源管理模块,用于根据所述预留资源的指令发起 PDP上下文更新, 为所述实时流媒体业务预留资源; 或根据所述收回预留资源的指令发起 PDP 上下文更新, 收回为所述实时流媒体业务预留的资源。 本发明的实施例揭示的另一种流媒体业务资源管理的方法包括步骤: 获取用户终端发送的流媒体业务报文; The resource management module is configured to initiate a PDP context update according to the instruction of the reserved resource, reserve a resource for the real-time streaming media service, or initiate a PDP context update according to the instruction for reclaiming the reserved resource, and reclaim the The resources reserved for real-time streaming media services. The method for managing the streaming media service resource disclosed in the embodiment of the present invention includes the following steps: acquiring a streaming media service packet sent by the user terminal;
通过解析所述流媒体业务报文判断所述用户终端对实时流媒体业务的请 求类型, 并根据所述请求类型, 对所述实时流媒体业务进行相应的资源管理。  Determining the request type of the real-time streaming media service by the user terminal by parsing the streaming media service packet, and performing corresponding resource management on the real-time streaming media service according to the request type.
本发明的实施例揭示的另一种流媒体业务资源管理的装置, 包括检测模 块、 判断模块和资源管理模块;  Another device for managing streaming media service resources disclosed by the embodiment of the present invention includes a detecting module, a determining module, and a resource management module;
检测模块, 用于获取用户终端发送的流媒体业务报文;  a detecting module, configured to obtain a streaming media service packet sent by the user terminal;
判断模块, 用于解析所述流媒体业务报文, 并根据解析出的所述流媒体 业务报文判断所述用户终端对实时流媒体业务的请求类型;  a judging module, configured to parse the streaming media service packet, and determine, according to the parsed the streaming media service packet, a request type of the real-time streaming media service by the user terminal;
资源管理模块, 用于根据所迷请求类型, 对所述实时流媒体业务进行相 应的资源管理。  And a resource management module, configured to perform corresponding resource management on the real-time streaming media service according to the type of the request.
本发明的上述实施例, 通过获取用户终端的流媒体业务报文, 并通过解 析该报文判断用户终端是否发起实时流媒体相关的业务, 并通过发起相应的 The foregoing embodiment of the present invention obtains a streaming media service packet of the user terminal, and determines whether the user terminal initiates a real-time streaming media-related service by analyzing the packet, and initiates a corresponding
PDP上下文更新流程进行相应的资源管理, 与现有技术中网络侧需要多个实 体感知用户终端的流媒体业务相比, 简化了网络侧感知用户终端的流媒体业 务的流程, 进而筒化了根据感知到的流媒体业务进行资源管理的过程。 附图说明 The PDP context update process performs corresponding resource management, which simplifies the process of the network side sensing the streaming media service of the user terminal compared with the streaming media service of the network side that requires multiple entities to perceive the user terminal in the prior art, and further simplifies the flow according to the network side. The process of resource management by the perceived streaming media service. DRAWINGS
图 1为现有 3GPP R99协议标准提出的业务感知方案示意图;  FIG. 1 is a schematic diagram of a service sensing scheme proposed by an existing 3GPP R99 protocol standard;
图 2为现有 3GPP R6协议标准提出的业务感知方案示意图;  2 is a schematic diagram of a service sensing scheme proposed by the existing 3GPP R6 protocol standard;
图 3为现有技术提供的感知流媒体业务方案的示意图;  3 is a schematic diagram of a perceptual streaming media service solution provided by the prior art;
图 4为本发明实施例通过 GGSN感知实时流媒体业务进行流媒体资源分 配的流程示意图;  4 is a schematic flowchart of performing streaming media resource allocation by using a GGSN to sense real-time streaming media services according to an embodiment of the present invention;
图 5为本发明实施例的流媒体业务资源管理的装置的结构示意图。 具体实施方式  FIG. 5 is a schematic structural diagram of an apparatus for managing streaming media service resources according to an embodiment of the present invention. detailed description
在本发明实施例揭示的流媒体业务资源管理的方法中, 当用户终端发起 时流媒体业务的请求时, 分组数据业务节点根据配置的流媒体业务信息匹 配规则捕获到用户进行流媒体业务开始的报文后, 发起 PDP上下文更新 , 为 用户请求的实时流媒体业务预留相应的资源 , 以使实时流媒体业务的业务质 量得到保障。 当分组数据业务节点捕获到用户发起的流媒体业务结束的报文 后, 收回为实时流媒体业务预留的网络资源。 In the method for managing streaming media service resources disclosed in the embodiment of the present invention, when the user terminal initiates When requesting the streaming media service, the packet data service node captures the packet starting from the streaming media service according to the configured matching rule of the streaming media service information, initiates a PDP context update, and reserves a corresponding real-time streaming media service requested by the user. Resources to ensure the quality of the business of real-time streaming services. After the packet data service node captures the packet of the end of the streaming media service initiated by the user, the network resource reserved for the real-time streaming media service is reclaimed.
本发明实施例中, 分组数据业务节点通过感知实时流媒体业务的开始与 结束, 以实现对实时流媒体业务进行资源预留及资源回收。 分组数据业务节 点感知实时流媒体业务, 包括对以下几个方面的感知:  In the embodiment of the present invention, the packet data service node senses the start and end of the real-time streaming media service to implement resource reservation and resource recovery for the real-time streaming media service. The packet data service node senses real-time streaming media services, including the perception of the following aspects:
实时流媒体业务类型感知;  Real-time streaming media service type awareness;
实时流媒体业务速率感知;  Real-time streaming media service rate awareness;
实时流媒体业务开始和结束感知;  Real-time streaming media service start and end perception;
实时流媒体业务二次激活的感知;  Perception of secondary activation of real-time streaming media services;
实时流媒体业务并发执行的感知。  The perception of concurrent execution of real-time streaming media services.
其中, 实时流媒体业务类型和速率的感知, 以及实时流媒体业务开始的 感知主要用于网络侧发起 PDP上下文更新, 以便为流媒体业务预留资源; 实 时流媒体业务结束的感知主要用于网络侧发起 PDP 上下文更新以及时释放 为流媒体业务预留的资源; 实时流媒体并发业务的感知用于对多个流媒体线 程间、 流媒体与其他业务间的 QoS参数合并与叠加管理。 实时流媒体二次激 活的感知, 主要用于针对具备流媒体感知功能的终端做特殊处理,如回收分配 的资源。  The sensing of the type and rate of the real-time streaming media service, and the sensing of the start of the real-time streaming media service are mainly used to initiate the PDP context update on the network side, so as to reserve resources for the streaming media service; the sensing of the end of the real-time streaming media service is mainly used for the network. The side initiates a PDP context update to release the resources reserved for the streaming media service in a timely manner; the real-time streaming media concurrent service perception is used for merging and superimposing QoS parameters between multiple streaming media threads, between streaming media and other services. The real-time streaming media secondary activation is mainly used for special processing for terminals with streaming media awareness, such as recycling allocated resources.
为了实现对实时流媒体业务的感知, 分组数据业务节点时刻检测流经该 分组数据业务节点的分组数据网络(PDN网络)接口的数据报文, 如检测流 经 Gi接口的用户终端发送的业务应用层报文, 并对报文进行解析, 根据解析 出的信息实现上述几个方面的业务感知。 针对上述几个方面的业务感知, 本 发明实施例分别提供了具体实现方式。  In order to realize the sensing of the real-time streaming media service, the packet data service node detects the data packet of the packet data network (PDN network) interface flowing through the packet data service node, such as detecting the service application sent by the user terminal flowing through the Gi interface. The layer packet is parsed, and the packet is parsed, and the service perception of the above aspects is implemented according to the parsed information. For the service perception of the above aspects, the embodiments of the present invention respectively provide specific implementation manners.
对于实时流媒体业务类型的感知, 本发明实施例提供了以下几种实现方 法: 方法 1 : 通过解析出的实时流媒体协议(Real Time Streaming Protocol, RTSP )规定的固定端口号, 判断该业务是否为流媒体业务。 RTSP协议规定 流媒体业务的固定 IP端口号是 554, 并且 RTSP协议与实际传输媒体流的实 时传输协议(Realtime Transport Protocol, RTP )并发, 因此, 若解析出的固定 端口号为 554, 则可以认定 RTSP控制的业务为实时流媒体业务。 For the sensing of the real-time streaming media service type, the embodiment of the present invention provides the following implementation methods: Method 1: Determine whether the service is a streaming media service by using a fixed port number specified by a Real Time Streaming Protocol (RTSP). The RTSP protocol specifies that the fixed IP port number of the streaming media service is 554, and the RTSP protocol is concurrent with the Real Time Transport Protocol (RTP) of the actual transport media stream. Therefore, if the fixed port number parsed is 554, it can be determined. The RTSP controlled service is a real-time streaming media service.
方法 2:通过解析出的业务服务器 IP地址判断该业务是否为流媒体业务。 若解析出的业务服务器 IP地址为流媒体服务器的 IP地址,则判断该业务是实 时流媒体业务。 本方法适用于专用流媒体服务器的应用场景。  Method 2: Determine whether the service is a streaming media service by using the parsed service server IP address. If the IP address of the service server is the IP address of the streaming server, it is determined that the service is a real-time streaming service. This method is applicable to an application scenario of a dedicated streaming server.
方法 3: 通过解析出的业务源的统一资源定位器 ( Uniform Resource Locator, URL )地址判断该业务是否为流媒体业务。若解析出的业务源的 URL 地址为流媒体节目源的 URL地址, 则判断该业务为实时流媒体业务。  Method 3: Determine whether the service is a streaming media service by using a Uniform Resource Locator (URL) address of the parsed service source. If the URL address of the parsed service source is the URL address of the streaming media program source, the service is determined to be a real-time streaming media service.
流媒体业务类型判断的三种方法可以任选其一或多种方法任意组合使 用。  The three methods for determining the type of streaming media service may be arbitrarily combined using one or more of the methods.
上述三种方法都需要预先设置匹配规则, 分组数据业务节点根据匹配规 则判断业务类型。 针对上述三种方法, 匹配规则可以包含以下三种类型的信 息:  All of the above methods need to set a matching rule in advance, and the packet data service node determines the service type according to the matching rule. For the above three methods, the matching rule can contain the following three types of information:
流媒体服务器控制播放流媒体的 RTSP协议固定 IP端口号, 一般为端口 The streaming media server controls the fixed IP port number of the RTSP protocol for playing streaming media, which is generally a port.
554; 554;
专用流媒体服务器的 IP/掩码地址;  IP/mask address of the dedicated streaming server;
流媒体节目源的统一资源定位器 URL地址。  The Uniform Resource Locator URL address of the streaming media source.
实时流媒体业务类型判断的三种方法可以任意组合使用, 因此, 匹配规 则可以包含上述三种类型信息中的一种或多种。 分组数据业务节点时刻检测 并解析 Gi接口的业务 用屋报文, 只要解析出的报文信息与匹配规则中列出 的一项或多项内容匹配, 则判断相关 IP应用业务为实时流媒体业务。  The three methods of real-time streaming media service type judgment can be used in any combination. Therefore, the matching rule can include one or more of the above three types of information. The packet data service node detects and parses the service house message of the Gi interface at any time, and determines that the related IP application service is a real-time streaming media service, as long as the parsed message information matches one or more items listed in the matching rule. .
不同的实时流媒体业务的业务质量要求也可能不同。 QoS 参数中最重要 的参数是保证速率, 即节目源的码流速率。 对于流媒体速率的感知, 可以通 过以下几种方法实现: 方法 1、通过预先设置静态的流媒体业务速率匹配信息, 实现为实时流媒 体业务确定与其相匹配的保证速率。 The quality of service requirements for different real-time streaming services may also vary. The most important parameter in the QoS parameters is the guaranteed rate, which is the code stream rate of the program source. The perception of streaming rate can be achieved by the following methods: Method 1, by setting a static streaming media service rate matching information in advance, to determine a guaranteed rate for matching the real-time streaming media service.
如,对流媒体服务器 IP地址设置相应的节目源码流速率, 实现对该 IP地 址的流媒体服务器上播放的流媒体节目统一指定保证速率, 该方法适用于流 媒体服务器上的所有流媒体节目源码流速率一致的情况。 表 1 给出了一个流 媒体服务器 IP地址与节目源码流速率的实例。  For example, setting a corresponding program source stream rate to the streaming media server IP address, and realizing a specified guaranteed rate for the streaming program played on the streaming server of the IP address, the method is applicable to all streaming media program source streams on the streaming server. The rate is consistent. Table 1 shows an example of a streaming server IP address and program source stream rate.
Figure imgf000009_0001
又如, 对 URL地址设置相应的节目源码流速率, 实现对该 URL地址的 流媒体节目指定保证速率。 该方法适用于不同速率的节目源存放在一个流媒 体服务器上, 但是存放在不同路径下的情况。 表 2给出了一个 URL地址与节 目源码流速率的实例。
Figure imgf000009_0001
For another example, the corresponding program source stream rate is set for the URL address, and the guaranteed rate of the streaming program for the URL address is specified. The method is applicable to a program source with different rates stored on a streaming media server, but stored in different paths. Table 2 gives an example of a URL address and program source stream rate.
表 2:  Table 2:
Figure imgf000009_0002
又如, 缺省配置流媒体节目源速率, 如 144kbps。 当解析出的流媒体服务 器 IP地址或流媒体节目源的 URL地址没有被设置与其匹配的节目源码流速 率, 并且系统也不支持 RTSP协议的 SDP速率信息的解析, 则可以通过静态 配置的缺省保证速率, 使这些流媒体业务设置默认的保证速率。
Figure imgf000009_0002
As another example, the default streaming media source rate, such as 144 kbps. When the parsed streaming server IP address or the URL address of the streaming media source 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 static configuration default may be adopted. Guaranteed rate, these default settings are guaranteed for these streaming services.
方法 2、 通过 RTSP协议解析报文中的 SDP信息获取流媒体节目源的码 ¾速率。 Method 2: Parsing the SDP information in the packet by the RTSP protocol to obtain the code of the streaming media program source 3⁄4 rate.
流媒体节目源文件中包含有速率描述, 速率描述信息包含在流媒体业务 报文的会话描述协议( Session Descriptor Protocol, SDP )信息中, 因此, 通 过对 SDP的解析, 就可以得知节目源码流速率。 这是一种动态获取流媒体节 目源码流速率的方法, 通过本方法感知的相关媒体子流速率信息最为准确和 全面, 因此, 本方法是最为可靠的速率感知方法。  The streaming media source file includes a rate description, and the rate description information is included in the Session Descriptor Protocol (SDP) information of the streaming media service packet. Therefore, by analyzing the SDP, the program source stream can be learned. rate. This method is a method for dynamically obtaining the streaming rate of the streaming media program. The related media sub-stream rate information perceived by the method is the most accurate and comprehensive. Therefore, the 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 the streaming media services that need to be charged according to the playing time.
分组数据业务节点感知实时流媒体业务开始的方法, 包括:  A method for a packet data service node to sense the start of a real-time streaming media service, including:
方法 1、分组数据业务节点解析到 RTSP协议的播放命令,如 PLAY命令, 或播放命令之前的其他 RTSP命令, 如 SETUP或 DESCRIBE命令, 则可以 将此刻作为流媒体开始时间。  Method 1. The packet data service node resolves to the RTSP protocol play command, such as the PLAY command, or other RTSP commands before the play command, such as the SETUP or DESCRIBE command, which can be used as the streaming start time.
方法 2、 分组数据业务节点感知到流媒体业务类型后, 如感知到 URL地 址、 流媒体服务器 IP地址或 IP端口号等, 则可以将此刻作为流媒体开始时 间。  Method 2. After the packet data service node perceives the type of the streaming media service, if the URL address, the IP address of the streaming media server, or the IP port number is perceived, the moment can be used as the streaming media start time.
分组数据业务节点感知实时流媒体业务结束的方法, 包括:  A method for a packet data service node to sense the end of a real-time streaming service includes:
方法 1、分组数据业务节点解析到 RTSP协议的结束命令,如 TEARDOWN 命令, 则将此刻作为流媒体播放结束时间。  Method 1. The packet data service node resolves to the end command of the RTSP protocol, such as the TEARDOWN command, and this moment is used as the streaming media end time.
方法 2、 如果分组数据业务节点不支持 RTSP层的协议解析, 也可以粗略 地将 TCP连接释放时间确定为流媒体播放结束时间, 因为 RTSP承载在 TCP 连接之上, RTSP会话结束后 TCP连接也会释放。  Method 2: If the packet data service node does not support the protocol resolution of the RTSP layer, the TCP connection release time may also be roughly determined as the streaming media playback end time, because the RTSP is carried over the TCP connection, and the TCP connection is also completed after the RTSP session ends. freed.
对于实时流媒体业务并发执行的感知, 实现方法为:  For the perception of concurrent execution of real-time streaming media services, the implementation method is:
每个流媒体业务都有一个唯一的会话标识( SESSION ID ),因此,当 GGSN 感知到在一个 PDP上下文中有多个流媒体 SESSION ID在同时播放时,则判 断此时有多个实时流媒体业务并发。  Each streaming service has a unique session identifier (SESSION ID). Therefore, when the GGSN detects that multiple streaming SESSION IDs are playing simultaneously in a PDP context, it is determined that there are multiple real-time streaming media at this time. Business concurrency.
下面以 UMTS系统中的实时流媒体业务资源分配过程为例, 对通过感知 ¾时流媒体业务进行资源分配的过程进行详细描述。 The following takes the real-time streaming media service resource allocation process in the UMTS system as an example. The process of resource allocation by the streaming media service is described in detail.
参见图 4, 为本发明实施例通过 GGSN感知实时流媒体业务进行流媒体 资源分配的流程示意图, 具体步驟包括:  FIG. 4 is a schematic flowchart of a streaming media resource allocation by using a GGSN to perceive a real-time streaming media service according to an embodiment of the present invention, where 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 is to initiate a service request, and the GGSN allocates a PDP context to the user terminal to establish an IP bearer.
2、 用户终端通过 RTSP协议, 向流媒体服务器发起申请流程, 针对选定 或指定的流媒体节目申请使用, 网络侧对用户的请求进行认证鉴权处理。  2. The user terminal initiates an application process to the streaming media server through the RTSP protocol, and applies for 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 play request to the streaming media server through the RTSP protocol.
用户终端通过认证后, 向流媒体服务器发起针对流媒体节目的播放请求, 请求中携带流媒体服务器的 IP地址,流媒体节目的 URL地址,流媒体节目的 SDP信息, 播放命令等信息。 该请求的数据报文流经 Gi接口 (即 GGSN与 外部共用数据网络 PDN的接口)。  After the user terminal passes the authentication, the user initiates a play request for the streaming program to the streaming server, and the request carries the IP address of the streaming server, the URL address of the streaming program, the SDP information of the streaming program, and the play command. The requested data message flows through the Gi interface (ie, the interface between the GGSN and the external shared data network PDN).
4、 GGSN感知到流媒体业务后更新 PDP上下文,为流媒体业务预留资源。 GGSN时刻检测流经 Gi接口的业务应用层报文, 当 GGSN检测到 Gi接 口有用户终端发送的业务应用层报文时, 对其进行解析, 并根据预先设定的 流媒体业务匹配规则进行匹配。 当按照预先设定的匹配方法和匹配信息判断 出该数据报文为实时流媒体业务的数据报文后, GGSN还要感知该流媒体节 目的速率(既可通过预先设置的静态匹 '配信息确定流媒体节目源的码流速率, 又可通过动态解析 SDP信息获取节目源码流速率, 如前所述)。 一般来说, GGSN感知到实时流媒体业务类型和速率后, 就会根据感知到的速率确定 PDP上下文中的 QoS更新参数,发起 PDP上下文更新, 为流媒体业务预留相 应的保证带宽。  4. After the GGSN senses the streaming media service, it updates the PDP context and reserves resources for the streaming media service. The GGSN detects the service application layer packet flowing through the Gi interface. When the GGSN detects that the Gi interface has the service application layer packet sent by the user terminal, it analyzes the packet and performs matching according to the preset streaming media service matching rule. . After determining that the data packet is a data packet of the real-time streaming media service according to the preset matching method and the matching information, the GGSN also needs to perceive the rate of the streaming media program (either through the preset static matching information). The code stream rate of the streaming media program source is determined, and the program source stream rate can be obtained by dynamically parsing the SDP information, as described above. Generally, after the GGSN senses the real-time streaming service type and rate, the GGSN determines the QoS update parameters in the PDP context according to the perceived rate, initiates a PDP context update, and reserves a corresponding guaranteed bandwidth for the streaming media service.
当感知的流媒体节目需要按时间计费时, GGSN还要感知该实时流媒体 业务的播放开始与结束时间 , 以便准确计算播放时间。  When the perceived streaming program needs to be charged by time, the GGSN also needs to perceive the start and end time of the real-time streaming media service in order to accurately calculate the playing time.
当实时流媒体业务和其他非实时业务(如 Interactive, Background业务) 并发, 且共用一个 PDP上下文时, 则 GGSN将 PDP上下文中的 QoS参数更 新为以保证实时流媒体业务质量所需的 QoS参数, 即: 将 Traffic Class参数 又值为 Streaming ,将保证速率取值为实时流媒体业务的保证速率。 When the real-time streaming media service and other non-real-time services (such as the Interactive, Background service) 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 the real-time streaming media service. Ie: Will the Traffic Class parameter The value is Streaming, which guarantees that the rate is the guaranteed rate of the real-time streaming service.
当流媒体业务与非流媒体类型的实时业务, 如会话类业务 ( Conversational )并发,且共用一个 PDP上下文时, 则 GGS 将 QoS参数 中的 Traffic class取值为 Conversational, 保证速率的取值可以采用不同算法 获得, 如: (1 )取线程中最高的速率为保证速率; (2 )将多个业务保证速率 进行叠加, 但要保证业务叠加后的速率不能超过用户签约的保证速率。  When the streaming media service is concurrent with the non-streaming type real-time service, such as the Conversational, and the PDP context is shared, the GGS takes the value of the Traffic class in the QoS parameter as Conversational, and the value of the guaranteed rate can be used. Different algorithms obtain, for example: (1) take the highest rate in the thread as the guaranteed rate; (2) superimpose the multiple service guaranteed rates, but ensure that the rate after the service is superimposed cannot exceed the guaranteed rate of the user subscription.
当一个用户终端上多个实时流媒体业务线程并发且共用一个 PDP上下 文时,则 GGSN将 QoS参数中的 Traffic class取值为 Streaming ,保证速率的 取值可以采用不同算法获得, 如: (1 )取最先发起的流媒体线程的保证速率; ( 2 )取线程中最高的保证速率; (3 )将多个流媒体线程保证速率进行叠加, 但要保证业务叠加后的速率不能超过用户签约的保证速率。  When a plurality of real-time streaming media service threads concurrently share a PDP context on a user terminal, the GGSN takes the value of the Traffic class in the QoS parameter as Streaming, and ensures that the value of the rate can be obtained by using different algorithms, such as: (1) Take the guaranteed rate of the first initiated streaming media thread; (2) take the highest guaranteed rate in the thread; (3) superimpose the guaranteed rate of multiple streaming media threads, but ensure that the rate after the service is superimposed cannot exceed the subscription rate of the user. Guaranteed rate.
当实时流媒体业务与其他业务并发但不共用同一个 PDP上下文时, 各个 PDP上下文分別按照各自承载业务的 QoS 参数分配资源。  When the real-time streaming media service is concurrent with other services but does not share the same PDP context, each PDP context allocates resources according to the QoS parameters of the respective bearer services.
在实时媒体业务进行中, 若用户终端、 SGSN或其它实体发起 PDP上下 文更新消息, 则 GGSN按照正常协议流程进行更新。 此时, 原有的实时流媒 体业务对应的 QoS参数可能会发生改变。  In the ongoing real-time media service, if the user terminal, the SGSN, or other entity initiates a PDP context update message, the GGSN performs the update according to the normal protocol procedure. 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 procedure.
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-layer delivery, so that the RAN updates the QoS parameters corresponding to the real-time streaming media service according to the updated PDP context, and reserves the QoS parameters corresponding to the real-time streaming media service. Corresponding guaranteed bandwidth.
流媒体节目按照为其预留的保证带宽从流媒体服务器发送到用户终端。 The streaming program is transmitted from the streaming server to the user terminal in accordance with 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 playback 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 senses the real-time streaming media service, it updates the PDP uplink content and reclaims the resources reserved for the streaming media service.
GGSN时刻检测流经 Gi接口的业务应用层 4艮文, 当 GGSN检测到 Gi接 口有用户终端发送的业务应用层报文时, 对其进行解析, 并根据预先设定的 流媒体业务匹配规则进行信息匹配。 当按照预先设定的匹配方法和匹配信息 判断出该数据报文为实时流媒体业务的数据报文后, GGSN还要根据解析结 果确定该数据报文中是否包含结束流媒体播放的 RTSP协议命令。在判断该数 据报文中包含 RTSP协议的结束命令后, GGSN更新 PDP上下文, 将其更新 为系统默认的 QoS配置, 或将其恢复为在流媒体业务执行前的 QoS配置。 恢 复的 QoS参数不能超过用户签约 QoS参数, 这可以由 SGSN来判决。 The GGSN detects the service application layer 4 that flows through the Gi interface. When the GGSN detects that the Gi interface has the service application layer packet sent by the user terminal, it analyzes the packet and according to the preset The streaming media service matching rule performs information matching. After determining that the data packet is a data packet of the real-time streaming media service according to the preset matching method and the matching information, the GGSN further determines, according to the parsing result, whether the data packet includes the RTSP protocol command for ending streaming media playback. . After determining that the data message includes the end command of the RTSP protocol, the GGSN updates the PDP context, updates it to the system default QoS configuration, or restores it to the QoS configuration before the streaming media service is executed. The recovered QoS parameters cannot exceed the user's subscription QoS parameters, which can be decided by the SGSN.
对于按照时间计费的流媒体业务, 在 GGSN解析出结束命令后, 还要停 止计时器计时, 以便获得该实时流媒体业务的执行时间, 进行计费。  For the streaming media service according to the time, after the GGSN parses the end command, the timer is also stopped to obtain the execution time of the real-time streaming media service, and the charging is performed.
在有多个实时流媒体业务并发执行且共用一个 PDP上下文的情况下, 当 其中的某个流媒体线程结束时, GGSN根据为这些流媒体业务预留资源过程 中确定保证速率时所采用的算法采取相应的方式回收资源, 如:  In the case where multiple real-time streaming media services are concurrently executed and share one PDP context, when one of the streaming media threads ends, the algorithm used by the GGSN to determine the guaranteed rate according to the process of reserving resources for these streaming media services Recycle resources in a corresponding way, such as:
( 1 ) 当 GGSN将多个流媒体线程的速率叠加作为当前 PDP上下文的保 证速率时, 此时, GGSN可收回部分占用的资源, 如, 收回该结束播放的流 媒体线程所单独占用的资源, 具体做法是将当前多个流媒体线程使用的保证 速率减去该已结束的线程的速率, 作为当前 PDP上下文的保证速率。  (1) When the GGSN superimposes the rates of the multiple streaming media threads as the guaranteed rate of the current PDP context, at this time, the GGSN can reclaim part of the occupied resources, for example, reclaiming the resources occupied by the streaming media thread that ends the playing. Specifically, the guaranteed rate used by the current plurality of streaming media threads is subtracted from the rate of the terminated thread as the guaranteed rate of the current PDP context.
( 2 ) 当 GGSN取多个流媒体线程中最高的速率作为当前 PDP上下文的 保证速率时, 假设有 N个流媒体线程共用当前 PDP上下文,此时, GGSN在 剩下的还未结束的 N-1 个线程中取一个最大的保证速率,作为当前 PDP上下 文的保证速率。  (2) When the GGSN takes the highest rate among the multiple streaming media threads as the guaranteed rate of the current PDP context, it is assumed that there are N streaming media threads sharing the current PDP context. At this time, the GGSN is in the remaining unfinished N- The maximum guaranteed rate of one thread is taken as the guaranteed rate of the current PDP context.
( 3 ) 当 GGSN取最先发起的流妷体线程的速率作为当前 PDP上下文的 保证速率时, 此时, 只要当前有流媒体线程还未结束播放, 当前 PDP上下文 的速率可以保持不变。  (3) When the GGSN takes the rate of the first initiating rogue thread as the guaranteed rate of the current PDP context, at this time, the current PDP context rate may remain unchanged as long as the current streaming media thread has not finished playing.
当最后一个流媒体业务进程结束后, GGSN发起针对所有流媒体资源的 回收流程。  After the last streaming service process ends, the GGSN initiates a recycling process for all streaming media resources.
8、 GGSN发起 PDP上下文更新请求流程。  8. The GGSN initiates a PDP context update request procedure.
GGSN向 SGSN发起 PDP上下文的更新请求, SGSN将更新后的 PDP上 下文经过层层传递发送到 RAN, 使 RAN根据更新后的 PDP上下文更新对应 的流媒体业务的 QoS参数, 将实时流媒体业务所占用的资源进行释放。 The GGSN initiates an update request for the PDP context to the SGSN, and the SGSN transmits the updated PDP context to the RAN through layer layer delivery, so that the RAN updates the corresponding PDP context according to the update. The QoS parameters of the streaming media service release the resources occupied by the real-time streaming media service.
某些用户终端在启动实时流媒体业务时, 能够自动触发 PDP二次激活, 生成一个新的 PDP上下文(即第二个 PDP上下文:), 以便专门用于流媒体节 目的播放,而 GGSN的感知与 PDP上下文更新是针对第一个 PDP上下文(即 原 PDP上下文)的, 为了抑止 GGSN针对第一个 PDP上下文的无效更新, 本发明实施例提供了以下两种方法:  When starting the real-time streaming media service, some user terminals can automatically trigger the PDP secondary activation to generate a new PDP context (ie, the second PDP context:), so as to be dedicated to the playback of the streaming program, and the GGSN is perceived. The PDP context update is for the first PDP context (ie, the original PDP context). In order to suppress the invalid update of the GGSN for the first PDP context, the embodiment of 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 is aware of the real-time streaming media service and initiates a PDP context update for it, it is found that the user terminal newly creates a PDP context to carry the streaming media service through secondary activation (via the Gn interface, ie, between the SGSN and the GGSN) The detection of the signaling plane determines whether the user terminal establishes a new PDP context by secondary activation. At this time, the GGSN initiates an update request for the first PDP context to the SGSN, and updates the QoS parameter to a parameter before streaming media sensing, or system setting. Default QoS parameters.
方法 2、 当 GGSN感知到流媒体业务时, 并不发起 PDP上下文更新, 而 是开启定时器。 在设定时间内, 若 GGSN收到用户终端主动发起的 PDP二次 激活(建立用户面的第二个 PDP上下文), 则抑止向 SGSN发起针对第一个 PDP上下文的更新请求, 并停止定时器。 定时器停止计时后, GGSN恢复正 常工作。若定时器超时,则表明用户终端没有发起 PDP二次激活,此时, GGSN 向 SGSN发起 PDP上下文更新请求以便为实时流媒体业务预留资源。  Method 2. When the GGSN senses the streaming media service, it does not initiate a PDP context update, but starts a timer. During the set time, if the GGSN receives the PDP secondary activation initiated by the user terminal (establishing the second PDP context of the user plane), it suppresses the initiation of the update request for the first PDP context to the SGSN, and stops the timer. . After the timer stops counting, the GGSN resumes normal operation. If the timer expires, it indicates that the user terminal does not initiate PDP secondary activation. At this time, the GGSN initiates a PDP context update request to the SGSN to reserve resources for the real-time streaming media service.
上述流程除适用于 UMTS网络外, 还同样能够适用于通用分組无线业务 ( General Packet Radio Service, GPRS ) 网络和码分多址 (Code Division Multiple Addressing, CDMA ) 网络, 或其他可以承载流媒体业务的无线通信 网络。 在 GPRS 网络中, 由 GGSN对流媒体业务进行感知和资源分配, 在 CDMA网络中, 由分组数据业务节点 (Packet Data Service Node, PDSN)对 流媒体业务进行感知资源分配。  In addition to being applicable to the UMTS network, the above process can also be applied to a General Packet Radio Service (GPRS) network and a Code Division Multiple Addressing (CDMA) network, or other devices capable of carrying streaming media services. Wireless communication network. In the GPRS network, the GGSN is aware of the streaming media service and allocates resources. In the CDMA network, the packet data service node (PDSN) allocates the perceived resource to the streaming media service.
基于上述方法, 本发明实施例还揭示了一种流媒体业务资源管理的装置, 能够通过感知用户终端发起的实时流媒体业务, 动态地为流媒体业务分配相 应的资源。 参见图 5 , 为本发明实施例的流媒体业务资源管理的装置的结构示意图, 该装置具体包括: 检测模块、 判断模块、 资源管理模块。 Based on the foregoing method, the embodiment of the present invention further discloses a device for managing a streaming media service resource, which can dynamically allocate corresponding resources for the streaming media service by sensing the real-time streaming media service initiated by the user terminal. FIG. 5 is a schematic structural diagram of an apparatus for managing a streaming media service resource according to an embodiment of the present invention, where the apparatus specifically includes: a detection module, a determination module, and a resource management module.
检测模块实时检测并解析流经 PDN接口 (如 Gi接口) 的用户终端发送 的业务应用层报文, 并将解析出的报文信息与预设的静态流媒体业务匹配信 息 (如流媒体服务器 ΓΡ地址或流媒体节目源 URL地址) 进行匹配, 若匹配, 则表明捕获到的报文为流媒体业务报文。  The detection module detects and parses the service application layer packet sent by the user terminal that flows through the PDN interface (such as the Gi interface) in real time, and matches the parsed packet information with the preset static streaming media service (such as a streaming media server). The address or the source address of the streaming media program is matched. If the match is matched, the captured packet is a streaming media service packet.
判断模块用于解析捕获到的流媒体业务报文, 当判断有实时流媒体业务 开始 (用户终端请求开始流媒体业务) 时, 向资源管理模块发送预留资源的 指令; 当判断有实时流媒体业务结束 (用户终端请求结束实时流媒体业务) 时, 向资源管理模块发送收回预留资源的指令;  The judging module is configured to parse the captured streaming media service packet, and when it is determined that the real-time streaming media service starts (the user terminal requests to start the streaming media service), sends an instruction for reserving the resource to the resource management module; When the service ends (the user terminal requests to end the real-time streaming media service), the resource management module sends an instruction for reclaiming the reserved resource;
资源管理模块根据预留资源的指令发起 PDP上下文更新, 为实时流媒体 业务预留相应的资源; 根据收回预留资源的指令发起 PDP上下文更新, 收回 为实 媒体业务预留的资源。  The resource management module initiates a PDP context update according to the instruction of the reserved resource, and reserves a corresponding resource for the real-time streaming media service; initiates a PDP context update according to the instruction for reclaiming the reserved resource, and reclaims the resource reserved for the real media service.
判 導块包括业务状态判断子模块和速率匹配子模块。  The arbitration block includes a service status determination sub-module and a rate matching sub-module.
业务状态判断子模块判断报文信息中包含设置或播放流媒体节目的命令 (如 RTSP协议的 PLAY命令、 SETUP命令等) 时, 向资源管理模块发送预 留资源的指令; 判断报文信息中包含结束流媒体节目的命令(如 RTSP协议的 TEARDOWN命令) 时, 向资源管理模块发送收回预留资源的指令。  When the service status judgment sub-module determines that the message information includes a command for setting or playing a streaming media program (such as a PLAY command of the RTSP protocol, a SETUP command, etc.), the resource management module sends an instruction for reserving resources; and determining that the message information includes When the command of the streaming program (such as the TEARDOWN command of the RTSP protocol) is ended, an instruction to reclaim the reserved resource is sent to the resource management module.
速率匹配子模块根据预设的流媒体业务速率匹配信息 (如流媒体服务器 IP 地址及与其对应的流媒体节目码流速率) 获取相匹配的速率, 并将其设置 为该流媒体业务的保证速率; 或将从报文信息 (如报文中的 SDP信息) 中解 析出的速率信息, 设置为该流媒体业务的保证速率。 速率匹配子模块将设置 好的保证速率信息发送到资源管理模块。  The rate matching sub-module obtains a matching rate according to the preset streaming media service rate matching information (such as the streaming media server IP address and the corresponding streaming program stream rate), and sets the rate to the guaranteed rate of the streaming media service. Or set the rate information parsed from the packet information (such as the SDP information in the packet) to the guaranteed rate of the streaming service. The rate matching sub-module sends the set guaranteed rate information to the resource management module.
资嫄管理模块收到资源预留指令或 /和所述设置的保证速率信息后, 根据 该保证速率更新 PDP上下文的.. QoS参数, 为实时流媒体业务预留保证带宽; 收到收回预留资源的指令后, '将当前的保证速率设置为系统默认的速率或流 媒体业务开始前的速率, 更新 PDP上下文的参数, 收回为实时流媒体业务预 留的保证带宽。 After receiving the resource reservation instruction or/and the set guaranteed rate information, the resource management module updates the PDP context: QoS parameter according to the guaranteed rate, and reserves a guaranteed bandwidth for the real-time streaming media service; After the resource is commanded, 'set the current guaranteed rate to the default rate of the system or the rate before the streaming media service starts, update the parameters of the PDP context, and reclaim the real-time streaming media service. Guaranteed bandwidth left.
判断模块还包括一个并发处理子模块, 其中预设有设置并发业务保证速 率的算法。 并发处理子模块判断实时流媒体业务与其他业务并发且共用一个 The judging module further includes a concurrent processing sub-module, wherein an algorithm for setting a concurrent service guarantee rate is pre-set. The concurrent processing sub-module determines that the real-time streaming media service is concurrent with other services and shares one
PDP上下文时, 根据并发的业务类型以及預设的保证速率的算法为流媒体业 务设置保证速率, 并将设置的保证速率信息发送到资源管理模块。 并发处理 子模块判断多个并发且共用一个 PDP上下文的实时流媒体业务中的一个业务 结束时, 根据预设的保证速率的算法为余下还没有结束的流媒体业务设置保 证速率, 更新当前的速率, 并将更新后的速率信息发送到资源管理模块。 并 发处理子模块判断多个并发且共用一个 PDP上下文的实时流媒体业务都结束 后, 将当前的速率更新为系统默认的速率或流媒体业务开始前的速率, 并将 更新后的速率信息发送到所述资源管理模块。 资源管理模块根据设置的保证 速率更新 PDP上下文的 QoS参数, 发起 PDP上下文更新。 In the PDP context, the guaranteed rate is set for the streaming service according to the concurrent service type and the preset guaranteed rate algorithm, and the set guaranteed rate information is sent to the resource management module. When the concurrent processing sub-module determines that one of the services in the real-time streaming media service that is concurrent and shares a PDP context ends, the algorithm sets the guaranteed rate for the remaining streaming media service according to the preset guaranteed rate algorithm, and updates the current rate. And send the updated rate information to the resource management module. After the concurrent processing sub-module determines that multiple real-time streaming media services that are concurrent and share a PDP context are completed, the current rate is updated to the default rate of the system or the rate before the streaming media service starts, and the updated rate information is 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 a PDP context update.
判断模块还包括一个 PDP上下文检测子模块。 PDP上下文检测子模块检 测到用户终端通过二次激活建立承载流媒体业务的第二个用户面 PDP上下文 (即新的 PDP上下文) 时, 向资源管理模块发送抑止资源预留的指令, 抑止 对承载流媒体业务的第一个用户面 PDP上下文(即原 PDP上下文)发起更新; 或向资源管理模块发送资源回收指令, 收回在承载流媒体业务的第一个用户 面 PDP上下文中为该流媒体业务预留的资源。  The judging module also includes a PDP context detection sub-module. The PDP context detection sub-module detects that the user terminal establishes a second user plane PDP context (ie, a new PDP context) that carries the streaming media service by using the secondary activation, and sends an instruction to suppress the resource reservation to the resource management module, and suppresses the bearer. The first user plane PDP context (ie, the original PDP context) of the streaming media service initiates an update; or sends a resource recovery instruction to the resource management module to reclaim the streaming media service in the first user plane PDP context of the bearer streaming media service. Reserved resources.
综上所述, 本发明的上述实施例, 通过由网络侧的分组数据业务节点检 测并解析 Gi接口的报文, 判断用户终端是否发起实时流媒体相关的业务, 并 根据预先设置的静态匹配信息或动态解析报文中的速率信息, 确定满足该流 媒体业务质量的参数, 通过发起的 PDP上下文更新流程, 为流媒体业务分配 相应的资源。 本发明实施例提供的这种实时流媒体业务感知方法简化了网络 侧感知用户终端的流媒体业务的流程, 并且可以动态的对系统资源利用进行 调整, 从而最大程度地减少空口资源的浪费, 提高网络资源利用率, 保障流 媒体播放质量。 本发明实施例还针对实时流媒体业务与其他业务的多种并发 情况提供了不同的解决方法, 以保障其中的实时流媒体的播放质量, 从而提 高了系统的适应性。 In summary, the foregoing embodiment of the present invention detects, by the packet data service node on the network side, the packet of the Gi interface, determines whether the user terminal initiates a real-time streaming media-related service, and according to the preset static matching information. Or dynamically parsing the rate information in the packet, determining a parameter that satisfies the quality of the streaming media service, and allocating corresponding resources for the streaming media service by using the initiated PDP context update process. The real-time streaming media service sensing method provided by the embodiment of the present invention simplifies the process of the network side sensing the streaming media service of the user terminal, and dynamically adjusts the system resource utilization, thereby minimizing the waste of the air interface resource and improving Network resource utilization, guarantee the quality of streaming media playback. The embodiments of the present invention provide 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 High system adaptability.
显然, 本领域的技术人员可以对本发明进行各种改动和变型而不脱离本 发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要 求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。  It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and variations of the inventions

Claims

权 利 要 求 Rights request
1、 一种流媒体业务的资源管理的方法, 其特征在于, 包括步骤: 获取用户终端发送的流媒体业务报文; A method for resource management of a streaming media service, comprising the steps of: acquiring a streaming media service packet sent by a user terminal;
当通过解析所述流媒体业务报文判断有实时流媒体业务开始时, 发起数 据包协议 PDP上下文更新, 为所述实时流媒体业务预留资源; '  When it is determined that the real-time streaming media service starts by parsing the streaming media service packet, the data packet protocol PDP context update is initiated, and resources are reserved for the real-time streaming media service;
当通过解析所迷流媒体业务报文判断有实时流媒体业务结束时, 发起 PDP上下文更新, 收回为所述实时流媒体业务预留的资源。  When it is determined that the real-time streaming media service ends by parsing the traversed media service packet, the PDP context update is initiated, and the resource reserved for the real-time streaming media service is reclaimed.
2、 如权利要求 1所述的方法, 其特征在于, 所述通过解析所迷流媒体业 务报文判断有实时流媒体业务开始, 具体为: 当分组数据业务节点解析出所 述流媒体业务报文中包含设置或播放流媒体节目的命令时, 判断有实时流媒 体业务开始;  The method according to claim 1, wherein the analyzing the stream media service message determines that the real-time streaming media service starts, specifically: when the packet data service node parses the streaming media service report When the text includes a command to set or play a streaming program, it is determined that a real-time streaming service starts;
所述通过解析所述流媒体业务报文判断有实时流媒体业务结束, 具体为: 当解析出所迷流媒体业务报文中包含结束流媒体节目的命令时, 判断有实时 流媒体业务结束。  The method for determining the end of the real-time streaming media service by parsing the streaming media service packet is as follows: When parsing the command that the streaming media service packet includes ending the streaming media program, determining that the real-time streaming media service ends.
3、 如权利要求 1所述的方法, 其特征在于, 所述发起 PDP上下文更新, 为所述实时流媒体业务预留资源包括: 设置所述实时流媒体业务的速率, 更 新 PDP上下文参数, 为所述实时流媒体业务预留带宽。  The method of claim 1, wherein the initiating a PDP context update, reserving resources for the real-time streaming media service comprises: setting a rate of the real-time streaming media service, and updating a PDP context parameter, The real-time streaming media service reserves bandwidth.
4、 如权利要求 3所述的方法, 其特征在于, 所述设置所述实时流媒体业 务的速率具体为: 分组数据业务节点从所述流媒体业务报文中解析出速率信 息, 并根据解析出的所述速率信息为所述实时流媒体业务设置速率; 或, 所 述分组数据业务节点根据预设的流媒体业务速率匹配信息获取与所述实时流 媒体业务相匹配的速率信息, 并根据获取到的速率信息为所述实时流媒体业 务设置速率。  The method according to claim 3, wherein the setting the rate of the real-time streaming media service is specifically: the packet data service node parses the rate information from the streaming media service packet, and according to the parsing The rate information is set to the real-time streaming media service rate; or the packet data service node obtains rate information matching the real-time streaming media service according to the preset streaming media service rate matching information, and according to The obtained rate information is a rate set for the real-time streaming media service.
5、 如权利要求 1所述的方法, 其特征在于, 当实时流媒体业务与其他业 务并发且共用一个 PDP上下文时, 所述为所述实时流媒体业务预留资源具体 为: 分组数据业务节点根据所述其他业务的类型为所述实时流媒体业务预留 相应的资源; The method according to claim 1, wherein when the real-time streaming media service is concurrent with another service and shares a PDP context, the resource reserved for the real-time streaming media service is specifically: a packet data service node. Reserving the real-time streaming media service according to the type of the other services Corresponding resources;
当实时流媒体业务与其他业务并发但不共用同一个 PDP上下文时, 所述 为所述实时流媒体业务预留资源具体为: 分别为各个 PDP 上下文分别按煦各 自承载业务的业务盾量 QoS 参数分配资源。  When the real-time streaming media service is concurrent with other services but does not share the same PDP context, the resource reserved for the real-time streaming media service is specifically: the service shield QoS parameters of the respective PDP contexts respectively according to the respective bearer services. resource allocation.
6、 如权利要求 5所述的方法, 其特征在于, 当并发的所述其他业务为实 时流媒体业务时, 并且共用同一个 PDP上下文时, 所述分组数据业务节点为 所述实时流媒体业务预留相应的资源具体为: 选取所述并发业务中最大的速 率或第一个发起的业务的速率, 或将所述并发业务的速率进行叠加, 将选取 或叠加的速率设置为所述并发的实时流媒体业务共同的速率, 并更新 PDP上 下文中的 QoS参数;  The method according to claim 5, wherein when the concurrent other services are real-time streaming media services, and the same PDP context is shared, the packet data service node is the real-time streaming media service. The corresponding resource is reserved: the maximum rate of the concurrent service or the rate of the first initiated service is selected, or the rate of the concurrent service is superimposed, and the selected or superimposed rate is set to the concurrent Real-time streaming media service common rate, and update QoS parameters in the PDP context;
当并发的所述其他业务为非流媒体类型的实时业务, 并且共用同一个 PDP 上下文时, 所述分組数据业务节点为所述实时流媒体业务预留相应的资 源具体为: 选取所迷并发业务中最大的速率或将所述并发业务的速率进行叠 加, 将选取或叠加的速率设置为所述实时流媒体业务的速率, 将业务等级更 新为所述非流媒体类型的实时业务的业务等级,并更新 PDP上下文中的 QoS 参数;  When the concurrent other services are non-streaming type real-time services, and share the same PDP context, the packet data service node reserves corresponding resources for the real-time streaming media service, specifically: selecting the concurrent service The highest rate or the rate of the concurrent service is superimposed, and the rate of the selected or superimposed is set to the rate of the real-time streaming media service, and the service level is updated to the service level of the non-streaming type real-time service. And update the QoS parameters in the PDP context;
当并发的所述其他业务为非实时业务且共用同一个 PDP上下文时, 所迷 分组数据业务节点为所述实时流媒体业务预留相应的资源具体为: 将所述实 时流媒体业务的速率作为所述 PDP上下文的保证速率,将所述实时流媒体业 务等级作为所述 PDP上下文的业务等级, 并更新 PDP上下文中的 QoS参数。  When the concurrent other services are non-real-time services and share the same PDP context, the packet data service node reserves corresponding resources for the real-time streaming media service, specifically: using the rate of the real-time streaming media service as The guaranteed rate of the PDP context, the real-time streaming media service level is used as the service level of the PDP context, and the QoS parameters in the PDP context are updated.
7、 如权利要求 1所述的方法, 其特征在于, 当多个并发且共用一个 PDP 上下文的实时流媒体业务中的一个业务结束后, 所述收回为所述实时流媒体 业务预留的资源具体为: 分组数据业务节点收回预留的部分资源;  The method of claim 1, wherein the reclaiming resources reserved for the real-time streaming media service after a service of a plurality of real-time streaming media services concurrently and sharing a PDP context ends Specifically: the packet data service node reclaims part of the reserved resources;
当所述多个并发且共用一个 PDP上下文的实时流媒体业务都结束后, 所 述收回为所述实时流媒体业务预留的资源具体为: 分组数据业务节点收回预 留的所有资源。  After the multiple real-time streaming media services that are concurrent and share a PDP context are completed, the resources reserved for the real-time streaming media service are specifically: The packet data service node reclaims all the reserved resources.
8、 如权利要求 7所述的方法, 其特征在于, 若分组数据业务节点将并发 业务的叠加速率设置为所述实时流媒体业务的速率, 则当所述并发业务中一 个业务结束后, 所述收回预留的部分资源具体为: 所述分组数据业务节点从 当前叠加的速率中减去该业务的速率, 并更新 PDP上下文中的 QoS参数; 若分组数据业务节点选取所迷并发业务中的最高速率设置为所述实时流 媒体业务的速率, 则当所述并发的业务中的一个业务结束后, 所述收回预留 的部分资源具体为: 选取还未结束的流媒体业务中的最高速率, 并更新 PDP 上下文中的 QoS参数。 8. The method of claim 7, wherein if the packet data service node is to be concurrent The rate of the service is set to the rate of the real-time streaming service. When a service in the concurrent service ends, the part of the reserved resource is specifically: the rate of the packet data service node from the current overlay Deducting the rate of the service, and updating the QoS parameter in the PDP context; if the packet data service node selects the highest rate in the concurrent service set to the rate of the real-time streaming service, then in the concurrent service After a service is completed, the part of the resources reserved for reclaiming is specifically: selecting the highest rate in the streaming media service that has not been completed, and updating the QoS parameters in the PDP context.
9、 如权利要求 1所述的方法, 其特征在于, 所述收回为所述实时流媒体 业务预留的资源, 包括:  The method of claim 1, wherein the reclaiming the resources reserved for the real-time streaming media service comprises:
分組数据业务节点将 PDP上下文中的 QoS参数更新为系统默认值,或将 PDP上下文中的 QoS参数恢复为所述实时流媒体业务资源更新前的数值。  The packet data service node updates the QoS parameter in the PDP context to the system default value, or restores the QoS parameter in the PDP context to the value before the real-time streaming media service resource is updated.
10、 如权利要求 1 所述的方法, 其特征在于, 所迷判断有实时流媒体业 务开始后, 还包括步骤:  10. The method according to claim 1, wherein after determining that the real-time streaming service starts, the method further comprises the steps of:
分组数据业务节点在设定时间内检测用户终端是否针对所述实时流媒体 业务发起建立一个新的 PDP上下文, 若是, 则抑止对承载所述实时流媒体业 务的原 PDP上下文进行更新; 否则, 发起对所述原 PDP上下文的更新。  The packet data service node detects whether the user terminal initiates a new PDP context for the real-time streaming media service, and if so, does not update the original PDP context that carries the real-time streaming media service; otherwise, initiates An update to the original PDP context.
11、 如权利要求 1所述的方法, 其特征在于, 所述发起 PDP上下文更新 为实时流媒体业务预留资源后, 又检测到用户终端针对所述实时流媒体业务 发起建立一个新的 PDP上下文时, 包括步骤: 收回其为该实时流媒体业务在 原 PDP上下文中预留的资源。  The method according to claim 1, wherein after the initiating PDP context update is reserved for the real-time streaming media service, the user terminal is detected to initiate a new PDP context for the real-time streaming media service. The method includes the steps of: reclaiming the resources reserved for the real-time streaming media service in the original PDP context.
12、 如权利要求 1所述的方法, 其特征在于, 所述获取流媒体业务报文, 包括: 分组数据业务节点解析经由分组数据网络接口的数据报文, 并与预设 的流媒体业务匹配信息进行匹配, 若匹配, 则所述数据报文为流媒体业务报 文, 并获取所述流媒体业务报文。  The method of claim 1, wherein the obtaining the streaming media service message comprises: the packet data service node parsing the data packet via the packet data network interface, and matching the preset streaming media service The information is matched. If the data is matched, the data packet is a streaming media service packet, and the streaming media service packet is obtained.
13、 如权利要求 12所述的方法, 其特征在于, 所述预设的流媒体业务匹 配信息为流媒体节目源信息。  The method according to claim 12, wherein the preset streaming media service matching information is streaming media program source information.
14、 如权利要求 13所述的方法, 其特征在于, 所述流媒体节目源信息为 流媒体服务器控制播放流媒体节目的实时流媒体协议固定端口号、 流媒体服 务器 IP地址,或流媒体节目源的统一资源定位器 URL地址,或以上信息的任 意组合。 14. The method according to claim 13, wherein the streaming media program source information is The streaming server controls a real-time streaming protocol fixed port number, a streaming server IP address, or a Uniform Resource Locator URL address of the streaming media source for playing the streaming program, or any combination of the above.
15、 一种流媒体业务资源管理的装置, 其特征在于, 包括检测模块、 判 断模块和资源管理模块;  15. A device for managing streaming resource service resources, comprising: a detecting module, a determining module, and a resource management module;
所述检测模块, 用于获取用户终端发送的流媒体业务报文;  The detecting module is configured to obtain a streaming media service packet sent by the user terminal;
所述判断模块, 用于解析所述流媒体业务报文, 当判断有流媒体业务开 始时, 向所述资源管理模块发送预留资源的指令, 当判断有实时流媒体业务 结束时, 向所述资源管理模块发送收回预留资源的指令;  The determining module is configured to parse the streaming media service packet, and when it is determined that the streaming media service starts, send an instruction for reserving resources to the resource management module, and when it is determined that the real-time streaming media service ends, The resource management module sends an instruction to reclaim the reserved resource;
所述资源管理模块,用于根据所述预留资源的指令发起 PDP上下文更新, 为所述实时流媒体业务预留资源; 或根据所述收回预留资源的指令发起 PDP 上下文更新, 收回为所述实时流媒体业务预留的资源。  The resource management module is configured to initiate a PDP context update according to the instruction of the reserved resource, reserve a resource for the real-time streaming media service, or initiate a PDP context update according to the instruction for reclaiming the reserved resource, and reclaim the The resources reserved for real-time streaming media services.
16、 如权利要求 15所述的装置, 其特征在于, 所述检测模块通过分组数 据网络接口获取所述流媒体业务报文。  The device according to claim 15, wherein the detecting module acquires the streaming media service packet through a packet data network interface.
17、 如权利要求 15所述的装置, 其特征在于, 所述检测模块通过解析接 收到的报文, 并与预设的流媒体业务匹配信息进行匹配, 判断获取到的报文 是否为流媒体业务报文。  The device of claim 15, wherein the detecting module matches the received packet and matches the preset matching information of the streaming media service to determine whether the obtained packet is a streaming media. Business message.
18、 如权利要求 15所述的装置, 其特征在于, 所述判断模块包括业务状 态判断子模块和速率匹配子模块;  The device according to claim 15, wherein the determining module comprises a service status determining sub-module and a rate matching sub-module;
所述业务状态判断子模块, 用于判断所述流媒体业务报文中包含设置或 播放流媒体节目的命令时, 向所述资源管理模块发送预留资源的指令; 判断 所述流媒体业务报文中包含结束流媒体节目的命令时, 向所述资源管理模块 发送收回预留资源的指令;  The service status determining sub-module is configured to: when the streaming media service packet includes a command to set or play a streaming media program, send an instruction for reserving resources to the resource management module; and determine the streaming media service report When the command includes ending the streaming program, the resource management module sends an instruction for reclaiming the reserved resource;
所述速率匹配子模块, 用于根据预设的流媒体业务速率匹配信息为所述 实时流媒体业务设置相匹配的速率, 或根据从所述实时流媒体业务报文中解 析出的速率信息为所述实时流媒体业务设置速率, 并将设置的速率信息发送 到所述资源管理模块; 所述资源管理模块, 用于在收到所述资源预留指令或 /和所述设置的速率 信息后, 根据所述速率更新 PDP上下文的 QoS参数, 为所述实时流媒体业务 预留保证带宽; 在收到所述收回预留资源的指令后, 将当前速率设置为系统 默认的速率或所述流媒体业务开始前的速率, 更新 PDP上下文的参数, 收回 为所述实时流媒体业务预留的保证带宽。 The rate matching sub-module is configured to set a matching rate for the real-time streaming media service according to the preset streaming media service rate matching information, or according to the rate information parsed from the real-time streaming media service packet. The real-time streaming media service sets a rate, and sends the set rate information to the resource management module; The resource management module is configured to: after receiving the resource reservation instruction or/and the set rate information, update a QoS parameter of a PDP context according to the rate, and reserve a guaranteed bandwidth for the real-time streaming media service. After receiving the instruction to reclaim the reserved resource, set the current rate to 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 reclaim the reserved for the real-time streaming media service. Guaranteed bandwidth.
19、 如权利要求 18所述的装置, 其特征在于, 所述判断模块还包括并发 处理子模块;  The device of claim 18, wherein the determining module further comprises a concurrent processing submodule;
所述并发处理子模块, 用于当所述实时流媒体业务与其他业务并发且共 用一个 PDP上下文时, 根据所述其他业务的类型为所述实时流媒体业务设置 速率, 并将设置的速率信息发送到所述资源管理模块; ' 当多个并发且共用一个 PDP上下文的实时流媒体业务中的一个业务结束 时, 为还未结束的实时流媒体业务设置速率, 并将设置的速率信息发送到所 述资源管理模块;  The concurrent processing sub-module, configured to set a rate for the real-time streaming media service according to the type of the other service, and set the rate information, when the real-time streaming media service is concurrent with other services and shares a PDP context. Sending to the resource management module; 'When a service in a plurality of concurrent real-time streaming media services sharing a PDP context ends, setting a rate for the live streaming service that has not ended, and sending the set rate information to The resource management module;
当多个并发且共用一个 PDP上下文的实时流媒体业务都结束后, 将当前 的速率设置为系统默认的速率或所述实时流媒体业务开始前的速率, 并将设 置的速率信息发送到所述资源管理模块;  After the multiple real-time streaming media services that are concurrent and share a PDP context are terminated, the current rate is set to a system default rate or a rate before the start of the real-time streaming media service, and the set rate information is sent to the Resource management module;
所述资源管理模块根据所述速率信息更新 PDP上下文的 QoS参数,发起 PDP上下文更新。  The resource management module updates the QoS parameters of the PDP context according to the rate information, and initiates a PDP context update.
20、 如权利要求 18所述的装置, 其特征在于, 所迷判断模块还包括 PDP 上下文检测子模块;  The device of claim 18, wherein the determining module further comprises a PDP context detecting submodule;
所述 PDP上下文检测子模块, 用于在检测到用户终端针对所述流媒体业 务发起建立一个新的 PDP上下文时, 向所述资源管理模块发送抑止资源预留 的指令, 抑止对承载所述实时流媒体业务的原 PDP上下文发起更新; 或  The PDP context detection submodule is configured to: when detecting that the user terminal initiates a new PDP context for the streaming media service, send an instruction for suppressing resource reservation to the resource management module, and suppress the real-time loading The original PDP context of the streaming media service initiates an update; or
向所述资源管理模块发送资源回收指令, 收回在承载所述流媒体业务的 原 PDP上下文中为所述实时流媒体业务预留的资源。  And sending a resource recovery instruction to the resource management module, and reclaiming resources reserved for the real-time streaming media service in an original PDP context that carries the streaming media service.
21、 一种流媒体业务的资源管理的方法, 其特征在于, 包括步骤: 获取用户终端发送的流媒体业务报文; 通过解析所述流媒体业务报文判断所述用户终端对实时流媒体业务的请 求类型, 并根据所述请求类型, 对所述实时流媒体业务进行相应的资源管理。 A method for resource management of a streaming media service, comprising the steps of: obtaining a streaming media service packet sent by a user terminal; Determining the request type of the real-time streaming media service by the user terminal by parsing the streaming media service packet, and performing corresponding resource management on the real-time streaming media service according to the request type.
22、 如权利要求 21所述的方法, 其特征在于, 通过解析所述流媒体业务 报文判断所述用户终端对实时流媒体业务的请求类型, 并根据获取到的所述 请求类型, 对所述实时流媒体业务进行相应的资源管理, 包括:  The method according to claim 21, wherein the request type of the real-time streaming media service by the user terminal is determined by parsing the streaming media service message, and according to the obtained request type, The real-time streaming media service performs corresponding resource management, including:
当通过解析所述流媒体业务报文判断所述用户终端请求开始实时流媒体 业务时,发起数据包协议 PDP上下文更新,为所述实时流媒体业务预留资源; 当通过解析所述流媒体业务报文判断所述用户终端请求结束实时流媒体 业务结束时,发起 PDP上下文更新,收回为所述实时流媒体业务预留的资源。  When the user terminal is requested to start the real-time streaming media service by parsing the streaming media service packet, the data packet protocol PDP context update is initiated, and resources are reserved for the real-time streaming media service; When the message is determined by the user terminal to end the real-time streaming media service, the PDP context update is initiated, and the resources reserved for the real-time streaming media service are reclaimed.
23、 一种流媒体业务资源管理的装置, 其特征在于, 包括检测模块、 判 断模块和资源管理模块;  23. A device for managing streaming resource service resources, comprising: a detecting module, a determining module, and a resource management module;
检测模块, 用于获取用户终端发送的流媒体业务报文;  a detecting module, configured to obtain a streaming media service packet sent by the user terminal;
判断模块 , 用于解析所述流媒体业务报文, 并根据解析出的所述流媒体 业务报文判断所述用户终端对实时流媒体业务的清求类型;  a judging module, configured to parse the streaming media service packet, and determine, according to the parsed the streaming media service packet, a clearing type of the real-time streaming media service by the user terminal;
资源管理模块, 用于根据所述请求类型, 对所述实时流媒体业务进行相 应的资源管理。  And a resource management module, configured to perform corresponding resource management on the real-time streaming media service according to the request type.
PCT/CN2007/002327 2006-08-02 2007-08-02 A method and apparatus for streaming media service resource management WO2008017249A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNB2006101038317A CN100461766C (en) 2006-08-02 2006-08-02 Method and device for distributing resource of real-time flow-media business
CN200610103831.7 2006-08-02

Publications (1)

Publication Number Publication Date
WO2008017249A1 true WO2008017249A1 (en) 2008-02-14

Family

ID=37700508

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/002327 WO2008017249A1 (en) 2006-08-02 2007-08-02 A method and apparatus for streaming media service resource management

Country Status (2)

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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10489389B2 (en) 2012-06-07 2019-11-26 Wormhole Labs, Inc. Experience analytic objects, systems and methods
US10649613B2 (en) 2012-06-07 2020-05-12 Wormhole Labs, Inc. Remote experience interfaces, systems and methods
US10700944B2 (en) 2012-06-07 2020-06-30 Wormhole Labs, Inc. Sensor data aggregation system

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100461766C (en) * 2006-08-02 2009-02-11 华为技术有限公司 Method and device for distributing resource of real-time flow-media business
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
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 (4)

* 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
CN1625141A (en) * 2004-12-17 2005-06-08 中国科学院计算技术研究所 Method of composing broadband radio city local network for providing hierarchical serivce
CN1685674A (en) * 2002-09-25 2005-10-19 诺基亚有限公司 Method, system and communication device for informing and granting QoS profile parameters in a network
CN1909514A (en) * 2006-08-02 2007-02-07 华为技术有限公司 Method and device for distributing resource of real-time flow-media business

Family Cites Families (4)

* 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
SE0004178D0 (en) * 2000-11-14 2000-11-14 Ericsson Telefon Ab L M Network requested packet data protocol context activation
FI111506B (en) * 2001-03-14 2003-07-31 Nokia Corp A method for selecting the quality of service in a wireless communication system
CN100373862C (en) * 2004-11-08 2008-03-05 上海贝尔阿尔卡特股份有限公司 Dynamic radio resource scheduling method and equipment for stream media business

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1685674A (en) * 2002-09-25 2005-10-19 诺基亚有限公司 Method, system and communication device for informing and granting QoS profile parameters in a network
WO2005002264A1 (en) * 2003-06-27 2005-01-06 Nokia Corporation Method and system for resource reservation in a wireless communication network
CN1625141A (en) * 2004-12-17 2005-06-08 中国科学院计算技术研究所 Method of composing broadband radio city local network for providing hierarchical serivce
CN1909514A (en) * 2006-08-02 2007-02-07 华为技术有限公司 Method and device for distributing resource of real-time flow-media business

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10489389B2 (en) 2012-06-07 2019-11-26 Wormhole Labs, Inc. Experience analytic objects, systems and methods
US10649613B2 (en) 2012-06-07 2020-05-12 Wormhole Labs, Inc. Remote experience interfaces, systems and methods
US10656781B2 (en) 2012-06-07 2020-05-19 Wormhole Labs, Inc. Product placement using video content sharing community
US10700944B2 (en) 2012-06-07 2020-06-30 Wormhole Labs, Inc. Sensor data aggregation system
US10866687B2 (en) 2012-06-07 2020-12-15 Wormhole Labs, Inc. Inserting advertisements into shared video feed environment
US10895951B2 (en) 2012-06-07 2021-01-19 Wormhole Labs, Inc. Mapping past content from providers in video content sharing community
US10969926B2 (en) 2012-06-07 2021-04-06 Wormhole Labs, Inc. Content restriction in video content sharing community
US11003306B2 (en) 2012-06-07 2021-05-11 Wormhole Labs, Inc. Ranking requests by content providers in video content sharing community
US11030190B2 (en) 2012-06-07 2021-06-08 Wormhole Labs, Inc. Experience analytic objects, systems and methods
US11449190B2 (en) 2012-06-07 2022-09-20 Wormhole Labs, Inc. User tailored of experience feeds
US11469971B2 (en) 2012-06-07 2022-10-11 Wormhole Labs, Inc. Crowd sourced sensor data management systems

Also Published As

Publication number Publication date
CN1909514A (en) 2007-02-07
CN100461766C (en) 2009-02-11

Similar Documents

Publication Publication Date Title
WO2008017249A1 (en) A method and apparatus for streaming media service resource management
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
EP1374494B1 (en) Method and apparatus for establishing a protocol proxy for a mobile host terminal in a multimedia session
KR101203462B1 (en) System for supplying multicast/broadcast service through wibro/wimax network and method using the same
KR100742755B1 (en) Dynamic media authorization in mobile networks
KR100959523B1 (en) Method of managing quarlity of service for users and system for performing the same
EP1762056B1 (en) Dynamic service information for the access network
WO2011018030A1 (en) Method, apparatus and system for authorizing policy and charging control rules
EP2164273A1 (en) Method, system and device of multicast resource control
JP2007520905A (en) Wireless communication network system, communication system and method and system for resource reservation in communication devices
WO2013117126A1 (en) Method, system and device for service rate control
US20100304775A1 (en) Processing method for resource request in ngn
WO2008083568A1 (en) A method, apparatus and system for allocating the wireless bandwidth
KR101213932B1 (en) Apparatus for interoperating end-to-end quality of service in hetrogeneous networks evironment and method thereof
CN100411362C (en) Method for controlling service quality acquisition by network
WO2008096258A1 (en) A system and method for dynamic bearer allocation
KR100879164B1 (en) Binding mechanism for quality of service management in a communication network
WO2007006231A1 (en) A method for the service stratum requesting resources from the transmission stratum in ngn
KR20060026351A (en) Method and apparatus for supporting quality of service the respective users in code_division_multiple_access communication system
KR100497684B1 (en) System and Method For Mapping QoS Parameters
WO2011131082A1 (en) Policy and charging control method and system
Nieto et al. Quality of service control mechanisms for multimedia services

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: RU

122 Ep: pct application non-entry in european phase

Ref document number: 07785241

Country of ref document: EP

Kind code of ref document: A1