[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2012167546A1 - Method and device for controlling service delivery - Google Patents

Method and device for controlling service delivery Download PDF

Info

Publication number
WO2012167546A1
WO2012167546A1 PCT/CN2011/082102 CN2011082102W WO2012167546A1 WO 2012167546 A1 WO2012167546 A1 WO 2012167546A1 CN 2011082102 W CN2011082102 W CN 2011082102W WO 2012167546 A1 WO2012167546 A1 WO 2012167546A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
control policy
terminal
pcrf
cdf
Prior art date
Application number
PCT/CN2011/082102
Other languages
French (fr)
Chinese (zh)
Inventor
王岩
袁立平
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201180002934.3A priority Critical patent/CN103503512B/en
Priority to PCT/CN2011/082102 priority patent/WO2012167546A1/en
Publication of WO2012167546A1 publication Critical patent/WO2012167546A1/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/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5019Ensuring fulfilment of SLA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/66Policy and charging system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/028Capturing of monitoring data by filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a service distribution control method and device.
  • Background Art Currently, mobile data traffic of types such as video and pictures is rapidly increasing in mobile networks. The evolution of the mobile network still cannot avoid the limitations of wireless communication. The bandwidth stability of the wireless access network is poor. There are spectrum resource bottlenecks. A large number of users share limited resources. The traffic of various services of the mobile operator network faces user experience and network capacity. challenge.
  • a content delivery network can cache hot content service content or service content provided by a content provider with a cooperative relationship in a cache node that is closer to the user, thereby reducing service data transmission delay. Save internet settlement.
  • the cache node can also provide an adaptive transcoding service for the service through the service optimization technology, so that the service code rate adapts the network transmission bandwidth and the terminal service processing capability.
  • the embodiments of the present invention provide a service distribution control method, which enables different services of different users to occupy network resources reasonably, and implements optimization processing on service content to avoid network congestion and ensure normal service experience of users.
  • an embodiment of the present invention provides a service distribution control method, including:
  • Obtaining service flow information of the terminal where the service flow information includes at least the service identifier and service flow quintuple information requested by the terminal;
  • the embodiment of the invention further provides a service distribution control method, including:
  • the service flow information includes at least the service identifier and the service flow quintuple information requested by the terminal;
  • the service transmitted to the terminal is optimized according to the first service optimization control policy.
  • the embodiment of the invention further provides a service distribution control method, including:
  • an embodiment of the present invention further provides a policy and charging rule function entity PCRF, which includes:
  • a receiver configured to obtain service flow information of the terminal, where the service flow information includes at least a service identifier and service flow quintuple information requested by the terminal;
  • a processor configured to: according to the service flow information, and at least one of the user subscription information and the network status of the terminal, search for a preset service policy, and determine a first service transmission control policy and a first service optimization control policy;
  • a transmitter configured to send the first service transmission control policy to the policy and charging execution function entity PCEF, so that the PCEF performs resource allocation on the service requested by the terminal according to the first service transmission control policy. Transmitting the first service optimization control policy to the content distribution function entity CDF, so that the CDF transmits to the terminal according to the first service optimization control policy.
  • Business is optimized.
  • the embodiment of the invention further provides a traffic detection function entity TDF, including:
  • a receiver configured to acquire a first service request of the terminal, and configured to receive the first service optimization control policy delivered by the PCRF;
  • a processor configured to obtain service flow information of the terminal according to the first service request, where the service flow information includes at least a service identifier and service flow quintuple information requested by the terminal;
  • the service flow information is reported to the policy and charging rule function entity PCRF, so that the PCRF searches for a corresponding service policy according to the service flow information, and at least one of the user subscription information and the network status of the terminal. Determining a first service transmission control policy and a first service optimization control strategy.
  • the embodiment of the present invention further provides a content distribution function entity CDF, including:
  • a receiver configured to receive a first service optimization control policy, where the first service optimization control policy is searched by the policy and charging rule function entity PCRF according to service flow information, and at least one of user subscription information and network status of the terminal Business strategy
  • a controller configured to optimize, according to the first service optimization control policy, the service transmitted to the terminal, if the receiver receives the first service optimization control policy.
  • the embodiment of the present invention further provides a policy and charging execution function entity PCEF, including: a receiver, configured to receive a first service transmission control policy delivered by a policy and charging rule function entity PCRF, where the first service transmission control The policy is determined by the PCRF according to the service flow information of the service requested by the terminal, and at least one of the user subscription information and the network status of the terminal, and the corresponding service policy is determined;
  • a policy and charging execution function entity PCEF including: a receiver, configured to receive a first service transmission control policy delivered by a policy and charging rule function entity PCRF, where the first service transmission control The policy is determined by the PCRF according to the service flow information of the service requested by the terminal, and at least one of the user subscription information and the network status of the terminal, and the corresponding service policy is determined;
  • a processor configured to perform resource allocation on the service requested by the terminal according to the first transmission control policy.
  • the PCRF dynamically determines the service transmission control policy and the service optimization control policy according to the service information, the user subscription information and the network status of the service requested by the terminal, and the service transmission control policy is
  • the PCEF is sent to the PCEF to allocate resources to the terminal's services.
  • the service optimization control policy is sent to the CDF, so that the CDF optimizes the services transmitted to the terminal. Therefore, different services of different users can be used to occupy the network resources reasonably, and the service content is optimized to avoid network congestion and ensure the normal service experience of the user.
  • FIG. 1 is a schematic flowchart of a service distribution control method according to another embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another embodiment of a service distribution control method according to the present invention
  • FIG. 4 is a schematic flowchart of still another embodiment of a service distribution control method according to the present invention
  • FIG. 4b is a schematic flowchart of still another embodiment of a service distribution control method according to the present invention
  • Figure 5b is a schematic flowchart of an embodiment of a service distribution control method according to an embodiment of the present invention
  • Figure 6b is a schematic flowchart of an embodiment of a service distribution control method provided by the present invention
  • FIG. 7 is a schematic structural diagram of a policy and charging rule function entity PCRF according to an embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of a traffic detection function entity TDF according to an embodiment of the present invention
  • FIG. 9 is a schematic structural diagram of another embodiment of a traffic detection function entity TDF according to the present invention.
  • FIG. 10 is a schematic structural diagram of a content distribution function entity CDF according to an embodiment of the present invention
  • FIG. 11 is a schematic structural diagram of still another embodiment of a content distribution function entity CDF provided by the present invention.
  • FIG. 12 is a schematic structural diagram of a policy and charging execution function entity PCEF according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of still another embodiment of a policy and charging execution function entity PCEF provided by the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. example. Based on the embodiments of the present invention, those of ordinary skill in the art are not doing All other embodiments obtained under the premise of creative labor are within the scope of the invention.
  • FIG. 1 is a schematic flowchart of an embodiment of a service distribution control method according to the present invention. As shown in FIG. 1, the method includes:
  • the first service transmission control policy is sent to the policy and charging execution function entity PCEF, so that the PCEF allocates resources to the service requested by the terminal according to the first service transmission control policy, and sends the first service optimization control policy to the
  • the content distribution function entity CDF is such that the CDF optimizes the service transmitted to the terminal according to the first service optimization control policy.
  • the execution body of the above steps is the Policy and Charging Rule Function (PCRF).
  • PCF Policy and Charging Rule Function
  • the service flow information of the user equipment may be sent to the PCRF by a traffic detection function (TDF), or may be reported by a content delivery function (CDF).
  • TDF traffic detection function
  • CDF content delivery function
  • the TDF may intercept various service requests sent by the terminal to the service content source or the CDF, where the service request may be a Hyper Text Transfer Protocol (HTTP) Get request, and the requested service type may be a video play request, Web access requests and more.
  • the TDF may identify the category to which the service belongs according to the Uniform Resource Locator (URL) carried in the intercepted service request, and determine information such as the service identifier and the service flow quintuple information, where the service flow quintuple information includes : The source IP address and port number of the CDF, the destination IP address and port number of the terminal, and the Transmission Control Protocol (TCP) used by the service.
  • HTTP Hyper Text Transfer Protocol
  • TCP Transmission Control Protocol
  • the operation of intercepting the terminal service request performed by the TDF and further obtaining the service flow information of the terminal may also be performed by the improved CDF.
  • the improvement to the CDF may be, for example, adding a service flow detection function to the existing CDF. Unit, and add an interface to the CDF to interact with the PCRF.
  • the PCRF can search for the preset service policy according to the service flow information, and at least one of the terminal subscription information and the network status of the terminal. Slightly, the first service transmission control policy and the first service optimization control policy are determined.
  • the dynamic policy is a dynamic policy that is preset by the PCRF for performing differentiated control according to different terminals, different network environments, and different service categories that are requested.
  • the dynamic policy specifically includes: The service flow template, the charging method, the service quality of the service (QoS), the gating information, and the like, and the authorized maximum service bandwidth for determining the service optimization control policy, and whether the service optimization indication information is allowed.
  • the service flow template is used by the PCEF to identify the service data flow, thereby associating the service data flow with the corresponding transmission bearer; the charging method indicates whether the online charging or the offline charging is performed, and the charging is according to the traffic, the duration, or the event; Service transmission service quality includes QoS Class Identifier, Maximum Bit Rate (MBR), Guaranteed Bit Rate (GBR), Allocation and Retention Priority (ARP), etc.
  • MRR Maximum Bit Rate
  • GRR Guaranteed Bit Rate
  • ARP Allocation and Retention Priority
  • the parameter is used by the PCEF to establish a service transmission bearer;
  • the gating information includes a gating state, and the gating state is ON, indicating that the current video data stream is allowed to be transmitted, otherwise the transmission is prohibited;
  • the maximum authorized service bandwidth is the maximum transmission bandwidth of the transmission service,
  • the rate conversion of the service is defined by the CDF;
  • the service optimization indication is used to allow or prohibit the CDF to optimize the service.
  • the preset service policy on the PCRF can be implemented in the following aspects: Provide differentiated control according to the video source, for example: Carrier-controlled transmission on the carrier network from the Internet (Internet) Third-party content (Over The Top, OTT) video provides best-effort transmission QoS, does not optimize video processing; video or carrier from a third-party content provider (Business to Business, B2B) with partnership (Business to Client, B2C) video provides high priority transmission QoS, and implements video optimization processing to adapt terminal playback capability and transmission bandwidth;
  • OTT Third-party content provider
  • B2C Business to Client
  • Differentiated controls based on user video levels such as: Different user bandwidths and video optimization controls for different levels of users, Gold users can assign the highest video transmission bandwidth and provide video optimization services; Silver users can assign medium video transmissions Bandwidth, and provide video optimization services; Bronze users can allocate lower bandwidth and do not provide video optimization services;
  • Differentiated control is implemented according to the type of video that the user subscribes to. For example, only the video subscribed to the user is provided with bandwidth guarantee and video optimization processing, and only the best-effort service is provided for the non-signed video.
  • the formed service policy of the video service may include, for example: video policy 1, corresponding to a high priority video bearer, maximum 2M video bandwidth, allowing CDF Optimize the video; Video Policy 2, corresponding to high-priority video bearers, maximum 1M video bandwidth, allowing CDF to optimize video processing; Video Strategy 3, corresponding to low-priority (best effort) transmission bearer, maximum 500K video Bandwidth, allows CDF to optimize video processing; Video strategy 4, corresponding to low priority (best effort) transmission bearer, maximum 500K video bandwidth, does not allow CDF to optimize video processing.
  • the PCRF can set or modify the service policy according to actual needs or according to the actual adjustment effect of the service transmission control policy and the service optimization control policy. .
  • the PCRF may find the user subscription information of the terminal according to the service identifier and the service flow quintuple information carried by the terminal carried in the service flow information, where the user subscription information may be obtained from the home subscription server ( Home Subscriber Server, HSS) / Home Location Register (HLR) and other network elements.
  • the PCRF can further determine the first service transmission control policy and the first service optimization control policy according to the user's service flow information, user subscription information, and current network status.
  • the PCRF can send the first service transmission control policy to the PCEF, and the policy and charging execution entity.
  • PCEF Policy and Charging Enforcement, Function
  • the PCEF After performing the resource allocation operation, the PCEF returns a response message to the PCRF. If the response information indicates that the resource allocation operation is successful, the PCRF may send the first service optimization control policy to the CDF through the TDF, or may perform the first service optimization control.
  • the policy is directly sent to the interface CDF that interacts with the PCRF, and the CDF performs an operation for optimizing the service transmitted to the terminal.
  • the first service optimization control policy may indicate whether the CDF is allowed to optimize the service transmitted to the terminal and the type of operation that is allowed to be optimized. If allowed, the CDF may perform format conversion, rate conversion conversion, and the like on the service data sent to the terminal. In order to match the transmitted service data with the processing capability of the terminal or the maximum bandwidth of the authorization; if not allowed, the CDF may directly obtain the corresponding service from the local cache or from the content source of the service requested by the terminal to the terminal.
  • the PCRF may send an error indication to the CDF through the TDF, or may directly send the error indication to the CDF of the interface with the PCRF, so that the CDF stops transmitting the service to the terminal.
  • the PCRF can adjust the service transmission control policy sent to the PCEF according to the changed user subscription information and/or the network status, so that the PCEF requests the service from the terminal.
  • the resource allocation is compatible with the contract service of the terminal itself and the network status; the service optimization control policy delivered to the CDF is matched with the service processing capability and network status of the terminal itself.
  • the PCRF dynamically determines the service transmission control policy and the service optimization control policy according to the service information, the user subscription information, and the network status of the service requested by the terminal, and sends the service transmission control policy to the service delivery control policy.
  • the PCEF enables the PCEF to allocate resources to the services of the terminal; the service optimization control policy is sent to the CDF, so that the CDF optimizes the services transmitted to the terminal. Therefore, different services of different users are used to occupy network resources reasonably, and the service content is optimized to avoid network congestion and ensure normal user experience.
  • FIG. 2 is a schematic flowchart of still another embodiment of a service distribution control method according to the present invention. As shown in FIG. 2, the method includes:
  • the service flow information is reported to the policy and charging rule function entity PCRF, so that the PCRF searches for the corresponding service policy according to the service flow information, and at least one of the user subscription information and the network status of the terminal, to determine the first service transmission control.
  • the service transmitted to the terminal is optimized according to the first service optimization control policy.
  • the execution body of the above steps may be TDF, or may be added with a unit with traffic flow detection function, and the CDF of the interface interacting with the PCRF is added.
  • the TDF may intercept various service requests sent by the terminal to the service content source or the CDF, and may identify the service according to the Uniform Resource Locator (URL) carried in the intercepted service request.
  • the category, the service identifier and the service flow quintuple information including: a source IP address and a port number pointing to the CDF, a destination IP address and a port number of the terminal, and a TCP used by the service.
  • the TDF may report the service flow information carrying the service identifier and the service flow quintuple information to the PCRF.
  • the PCRF returns the first service transmission control policy or error information to the TDF
  • the TDF may directly send the first service transmission control policy to the CDF.
  • TDF can also use the first service
  • the transmission control policy is carried back to the CDF in the service request of the terminal.
  • the TDF can directly deliver the service optimization control policy re-delivered by the PCRF to the CDF.
  • the TDF may also carry the service transmission control policy re-delivered by the PCRF in the service request and return it to the CDF after intercepting another service request of the terminal for the same service.
  • the TDF may forward the optimized control policy corresponding to the service request that is allowed to be optimized to the CDF for optimization, but not for the optimization process.
  • the optimized control policy corresponding to the optimized service request may be forwarded to the service provider without being forwarded to the CDF.
  • the TDF may preset the domain name or the URL list. After the TDF intercepts the service request sent by the terminal, if the domain name or the URL included in the service request exists in the pre-configured list, the TDF may directly send the service request. The CDF is subsequently optimized. If the domain name or URL included in the service request does not exist in the pre-configured list, the TDF does not send the service request to the CDF for optimization processing and directly sends it to the service provider. There is no interaction between TDF and PCRF in this process.
  • the TDF can forward all service requests directed to one or more ports (for example, port 80) directly to the CDF for subsequent processing, and the CDF determines whether the current service is optimized. There is no interaction between TDF and PCRF in this process.
  • the service request sent by the terminal may be detected by the unit of the service flow detection function added in the CDF, thereby obtaining Service identification and business quintuple information, and by adding 4 to the interface interacting with PCRF? 0 ⁇ .
  • the interface interacting with the PCRF receives the first service transmission control policy delivered by the PCRF, if the first service transmission control policy CDF optimizes the service transmitted to the terminal, the CDF may format the service data sent to the terminal.
  • the transmitted service data matches the processing capability of the terminal or the maximum bandwidth of the authorization; if not allowed, the CDF can be directly from the local cache or from the content source of the service requested by the terminal.
  • the corresponding service is sent to the terminal; if the error message sent by the PCRF is received, the CDF stops transmitting the service to the terminal.
  • the CDF can optimize the service sent to the terminal according to the service optimization control policy re-delivered by the PCRF.
  • the TDF or the CDF may report the service flow information corresponding to the terminal service request to the PCRF, and the PCRF may dynamically determine the service according to the service information, the user subscription information, and the network status of the service requested by the terminal.
  • the control strategy is optimized and delivered directly to the CDF, or sent to the CDF through the TDF, so that the CDF optimizes the services transmitted to the terminal. Therefore, different services of different users are used to occupy network resources reasonably, and the service content is optimized to avoid network congestion and ensure normal service experience of users.
  • FIG. 3 is a schematic flowchart of another embodiment of a service distribution control method according to the present invention. As shown in FIG. 3, the method includes:
  • the first service transmission control policy is used by the PCRF according to the service flow information of the service requested by the terminal, and at least the user subscription information and the network status of the terminal. One, find the corresponding business strategy, determined;
  • the execution body of the above steps may be a PCEF, and the PCEF may be a separately set network element, or may be a network element integrated with the TDF and/or CDF.
  • the PCEF After receiving the first service transmission control policy sent by the PCRF, the PCEF can create a new bearer for the service requested by the terminal according to the first service transmission control policy. If there is no available bearer between the terminal and the PCEF, if the terminal and the PCEF are between the terminal and the PCEF, If a bearer is available, the PCEF can modify the current QoS and traffic flow template (TFT).
  • TFT current QoS and traffic flow template
  • the PCEF may indicate that the resource allocation operation is successful by using the response message returned to the PCRF, so that the PCRF sends a service optimization control policy to the CDF; if the resource allocation execution fails, the PCEF may indicate the resource allocation by using the response information. Failure, so that the PCRF sends an error message to the CDF, instructing the CDF to stop transmitting the corresponding service to the terminal.
  • the PCRF can dynamically adjust the service transmission control policy sent to the PCEF, and the PCEF can adjust the terminal request service according to the service transmission control policy determined by the PCRF.
  • the resource allocation is adapted to the contracting service of the terminal itself and the network conditions.
  • the PCRF can dynamically determine the service transmission control policy according to the service information, the user subscription information, and the network status of the service requested by the terminal, and send the service to the PCEF to enable the PCEF to transmit the service to the terminal. Make resource allocations. Therefore, different services of different users can be used to occupy the network resources reasonably, and the service content is optimized to avoid network congestion and ensure the normal service experience of the user.
  • FIG. 4a is a schematic flowchart of another embodiment of a service distribution control method according to the present invention.
  • PCEF, TDF, and CDF are independently set network elements, and the following independently set The process of the network element performing the service distribution control method is described in detail.
  • the method includes:
  • the UE attaches a network to establish a Packet Data Protocol (PDP) context or an Evolved Packet Core (EPC) default.
  • PDP Packet Data Protocol
  • EPC Evolved Packet Core
  • the UE initiates a first service request, where the first service request is redirected or terminated to a CDF network element.
  • the first service request is redirected to the CDF.
  • the service source receives the first service request sent by the UE, the service source or the domain name resolution system instructs the terminal to re-initiate the first service request directed to the CDF.
  • the CDF refers to: The first service request sent by the terminal to the service source, and finally the CDF responds to the service request.
  • the first service request is an HTTP Get request, and may request a video service, a picture service, a text service, or a web browsing service, and is not enumerated.
  • the UE Taking the first service request sent by the UE as a video request, if the video requested by the UE is in an adaptive download mode, the UE first requests a CDF network element to obtain a manifest file, and then according to the list file.
  • the video service request is sequentially sent for each video frequency band; if the video requested by the UE adopts a progressive download mode, the UE may request to acquire the entire video file through a video service request.
  • the first service request sent by the UE is intercepted by the TDF.
  • the S404a and the TDF identify the service category according to the URL in the first service request, and determine the video identifier and the service flow quintuple information corresponding to the service.
  • the TDF can obtain the video service flow quintuple information according to the service request: a source IP address and a port number pointing to the CDF, and a destination IP address and a port number pointing to the UE.
  • the S405a and the TDF report the service flow information to the PCRF, where the service flow information includes the service identifier and the service flow quintuple information requested by the UE.
  • the S406a and the PCRF search for a preset service policy according to the service flow information, and at least one of the user subscription information and the network status, and determine the first service transmission control policy and the first service optimization control policy.
  • the PCRF needs to implement a video session binding with a Packet Data Network (PDN) session according to the IP address of the UE.
  • PDN Packet Data Network
  • the first service transmission control policy may include: a service flow template, a charging method, a QoS, a gate, and the like, where the first service transmission control policy corresponds to an existing policy and charging control (PCC) rule.
  • PCC policy and charging control
  • the first service optimization control policy may include: authorizing maximum video bandwidth, gating information, and whether to allow video optimization indication, and the first service optimization control policy may be determined by the PCRF according to actual needs, or may be detected for an existing application.
  • the indicator cells of the Application Detection and Control (ADC) rule are extended.
  • S408a and the PCEF perform the first service optimization control policy. If the UE has no available bearer between the PCEFs, the new service bearer is created. If the bearer is available, the current bearer QoS and TFT information are modified.
  • PCEF returns a response message to the PCRF.
  • the response information may indicate that the PCEF performs a resource allocation operation of the UE requesting service successfully or fails.
  • the PCRF sends the first service optimization control policy to the TDF, otherwise the error message is sent to the TDF.
  • the error information may be a parameter such as a cause value.
  • S411a and TDF carry the first service optimization control policy or error information in the first service request and return it to the CDF.
  • the TDF adds the extended first service optimization control policy or error information in the User Agent header field in the HTTP Get request, and then forwards it to the CDF.
  • the TDF may directly send the first service optimization control policy or error information to the CDF.
  • the CDF After receiving the first service request forwarded by the TDF, if the first service request carries the error information, the CDF stops transmitting the video, and the CDF performs the service transmitted to the UE according to the first service optimization control policy.
  • the first service optimization control policy may indicate that the CDF allows optimal control of services transmitted to the UE, and may also prohibit the CDF from performing optimal control on services transmitted to the UE. For example, if the service requested by the UE is a video service, then for the Progressive Download video service request, if the first service optimization control policy allows the CDF to perform video optimization processing, the CDF can transcode the video to match the authorized maximum bandwidth and the UE. Video playback capability (eg: screen resolution, supported video codec and file format, etc.).
  • the CDF does not perform any video optimization processing, but directly the UE.
  • the requested video is transmitted to the UE.
  • the CDF can limit the requested video bit rate by the authorized maximum video bandwidth.
  • the information such as the UE video playback capability may be reported to the CDF through the User Agent field in the first service request sent by the UE, or the CDF may also query the local device according to the International Mobile Equipment Identity (IMEI).
  • IMEI International Mobile Equipment Identity
  • the UE information base is obtained.
  • the CDF returns the service data requested by the UE to the UE by using the first service request response (HTTP response).
  • HTTP response the first service request response
  • the UE may continue to issue other service requests according to the manifest file to obtain subsequent video segments.
  • FIG. 4b is a schematic flowchart of still another embodiment of a service distribution control method according to the present invention. As shown in FIG. 4b, on the basis of the embodiment shown in FIG. 4a, this embodiment provides user subscription information and/or network status. When changing, the independently set PCEF, TDF, and CDF perform a further process of the service distribution control method, the method including:
  • the PCRF re-determines the second service transmission control policy and the second service optimization control policy.
  • the change of the user subscription information may be, for example, the service level of the user subscription changes, and the network status change may be, for example, the network is busy, idle, or has cell congestion.
  • the PCRF can dynamically update the service transmission control policy sent to the PCEF and the service optimization control policy sent to the CDF when the user subscription information changes and/or the network status changes, so that the PCEF controls the service transmission, and the CDF. Optimized control of the business is compatible with the terminal and network conditions Should.
  • the updated service transmission control policy is the second service transmission control policy
  • the updated service optimization control policy is the second service optimization control strategy.
  • S403b and TDF store the second service optimization control policy into the local cache.
  • TDF returns a response message to the PCRF.
  • the PCEF adjusts resource allocation of the service requested by the terminal according to the second service transmission control policy.
  • the execution of S402b-S404b and the execution of S405b may determine the execution order according to a specific service policy. For example, if S402b-S404b only involves modifying the transcoding control of the terminal service, the step S405b may be omitted; if the service policy is to reduce the transmission bandwidth and code rate of the current terminal when the network is busy, S402b-S404b may be executed first, and then executed. S405b: If the service policy is to improve the transmission bandwidth and the code rate of the terminal, S405b may be performed first, and then S402b-S404b is performed.
  • the terminal sends a second service request, and the TDF intercepts the second service request.
  • the TDF carries the second service optimization control policy in the local cache in the second service request, where is added to the HTTP User Agent header field and returned to the CDF.
  • the TDF may directly send the second service optimization control policy or error information to the CDF.
  • the steps of S403b and S407b are omitted.
  • S409b and CDF adjust the optimization of the service transmitted to the terminal according to the second service optimization control policy in the second service request.
  • a PCEF is an independently set network element
  • a TDF and a CDF are integrally integrated network elements. Specifically, it may be a function of extending the integrated CDF on the TDF, or a function of expanding the integrated TDF on the CDF.
  • the following describes the process of performing the service distribution control method by the network element in detail. The method includes:
  • the UE attaches a network to establish a PDP context or an EPC default bearer.
  • the UE initiates a first service request, where the first service request is redirected or terminated to a CDF network element.
  • the first service request sent by the UE is intercepted by the TDF/CDF.
  • the S504a and the TDF/CDF identify the service category according to the URL in the first service request, and determine the video identifier and the service flow quintuple information corresponding to the service.
  • the S505a and the TDF/CDF report the service flow information to the PCRF, where the service flow information includes the service identifier and the service flow quintuple information requested by the UE.
  • the S507a and the PCRF deliver the first service optimization control policy to the PCEF.
  • S508a and the PCEF perform the first service optimization control policy. If the UE has no available bearer between the PCEFs, the new service bearer is created. If the bearer is available, the current bearer QoS and TFT information are modified.
  • the PCRF sends the first service optimization control policy to the TDF/CDF. Otherwise, the error message is sent to the TDF/CDF.
  • the TDF/CDF stops transmitting the video, otherwise the TDF/CDF optimizes the service transmitted to the UE according to the first service optimization control policy.
  • TDF/CDF return the service data requested by the UE to the UE through the first service request response (HTTP response).
  • the UE may continue to issue other service requests according to the manifest file to obtain subsequent video segments.
  • FIG. 5b is a schematic flowchart of an embodiment of a service distribution control method according to the present invention. As shown in FIG. 3, on the basis of the embodiment shown in FIG. 5a, this embodiment provides a change in user subscription information and/or network status.
  • the method includes:
  • the PCRF re-determines the second service transmission control policy and the second service optimization control policy.
  • S502b and PCRF send a second service optimization control policy to the TDF/CDF.
  • the S503b and the TDF/CDF adjust the optimization of the service transmitted by the terminal according to the second service optimization control policy in the second service request.
  • TDF/CDF returns a response message to the PCRF.
  • the PCEF adjusts resource allocation of the service requested by the terminal according to the second service transmission control policy.
  • TDF/CDF return the video segment adjusted according to the second service optimization control policy to the UE.
  • the difference between this embodiment and the embodiment shown in FIG. 4b is that the TDF and the CDF-body integrated arrangement form the TDF/CDF. Therefore, compared with the embodiment shown in FIG. 4b, the relationship between the TDF and the CDF is omitted.
  • other processes can be referred to the corresponding description in the embodiment shown in FIG. 4b.
  • FIG. 6 is a schematic flowchart of an embodiment of a service distribution control method according to the present invention.
  • a PC element, a TDF, and a CDF are integrally integrated, and the following is a PCEF/TDF/CDF.
  • the function of extending the integrated TDF and CDF on the PCEF may be extended, or the function of integrating the PCEF and the CDF may be extended on the TDF, or the function of integrating the PCEF and the TDF may be extended on the CDF, and the following functions are performed on the network element.
  • the process of the business distribution control method is described in detail.
  • the UE attaches a network to establish a PDP context or an EPC default bearer.
  • the UE initiates a first service request, and the first service request is redirected or terminated to a PCEF/TDF/CDF network element.
  • the first service request sent by the UE is intercepted by the PCEF/TDF/CDF.
  • the S604a and the PCEF/TDF/CDF identify the service category according to the URL in the first service request, and determine the video identifier and the service flow quintuple information corresponding to the service.
  • the S605a and the PCEF/TDF/CDF report the service flow information to the PCRF, where the service flow information includes the service identifier and the service flow quintuple information requested by the UE.
  • the S606a and the PCRF search for a preset service policy according to the service flow information, the user subscription information, and the network status, and determine the first service transmission control policy and the first service optimization control policy.
  • the S607a and the PCRF deliver the first service optimization control policy to the PCEF/TDF/CDF.
  • the S608a, the PCEF/TDF/CDF performs the first service optimization control policy, and if the UE has no available bearers between the PCEFs, the new service bearer is created; if the bearer is available, the current bearer QoS and TFT information are modified.
  • S609a, PCEF/TDF/CDF returns a response message to the PCRF.
  • the PCRF sends the first service optimization control policy to the PCEF/TDF/CDF. Otherwise, the error message is sent to the PCEF/TDF/CDF.
  • the PCEF/TDF/CDF stops transmitting the video, otherwise the PCEF/TDF/CDF optimizes the traffic transmitted to the UE according to the first service optimization control policy.
  • PCEF/TDF/CDF return the service data requested by the UE to the UE through the first service request response (HTTP response).
  • the Bay J UE If the UE requests the video service of the Adaptive streaming mode, the Bay J UE
  • PCEF/TDF/CDF After PCEF/TDF/CDF obtains a video clip, it can continue to issue other service requests according to the manifest file to obtain subsequent video clips.
  • FIG. 6b is a schematic flowchart of an embodiment of a service distribution control method according to the present invention. As shown in FIG. 3, on the basis of the embodiment shown in FIG. 6a, this embodiment provides a change in user subscription information and/or network status. At the same time, the integrated PCEF, TDF and CDF perform a further process of the service distribution control method, the method comprising:
  • the PCRF re-determines the second service transmission control policy and the second service optimization control policy.
  • S602b and PCRF send a second service optimization control policy to the PCEF/TDF/CDF.
  • the PCEF/TDF/CDF adjusts the optimization of the service transmitted by the terminal according to the second service optimization control policy in the second service request.
  • PCEF/TDF/CDF returns a response message to the PCRF.
  • S605b and PCRF send a second service transmission control policy to the PCEF/DF/CDF.
  • PCEF/DF/CDF adjust resource allocation for the service requested by the terminal according to the second service transmission control policy.
  • PCEF/TDF/CDF returns to the UE a video segment adjusted according to the second service optimization control policy.
  • the storage medium includes: a ROM, a RAM, a magnetic disk, or an optical disk, and the like, which can store program codes.
  • FIG. 7 is a schematic structural diagram of a policy and charging rule function entity PCRF according to an embodiment of the present invention.
  • the PCRF includes: a receiver 11, a processor 12, and a transmitter 13; and a receiver 11 Obtaining service flow information of the terminal, where the service flow information includes at least a service identifier and a service flow quintuple information requested by the terminal;
  • the processor 12 is configured to: according to the service flow information, and at least one of the user subscription information and the network status of the terminal, search for a preset service policy, and determine the first service transmission control policy and the first service optimization control policy;
  • the transmitter 13 is configured to send the first service transmission control policy to the policy and charging execution function entity PCEF, so that the PCEF allocates resources to the service requested by the terminal according to the first service transmission control policy, and optimizes the first service.
  • the policy is sent to the content distribution function entity CDF, so that the CDF optimizes the service transmitted to the terminal according to the first service optimization control policy.
  • the receiver 11 is further configured to: receive a response message returned by the PCEF, where the response message is used to indicate that the PCEF successfully allocates the service resource requested by the terminal, or the response message is used to indicate that the PCEF fails to allocate the service resource requested by the terminal;
  • the transmitter 13 may be configured to send the first optimized control policy to the CDF.
  • the sender 13 may be further configured to: send an error message to the CDF to instruct the CDF to stop transmitting the requested service to the terminal.
  • processor 12 is further configured to: determine, according to the changed user subscription information and/or the network status, the second service transmission control policy and the second service optimization control policy;
  • the transmitter 13 may be further configured to: send the second service transmission control policy to the policy and charging execution function entity PCEF, so that the PCEF adjusts the resource allocation of the service requested by the terminal according to the second service transmission control policy, and the second The service optimization control policy is sent to the content distribution function entity CDF, so that the CDF adjusts the optimization of the service transmitted to the terminal according to the second service optimization control policy.
  • the processor 12 may be further configured to: determine a service policy according to at least one of a different service category, a different third-party service provider, and different user subscription information, where the service policy includes: a service flow template, a charging method, Service transmission QoS, gating information, authorized maximum service band Width, whether to allow at least one of the service optimization indication information.
  • the PCRF provided by the embodiment of the present invention is the execution device of the service distribution control method provided by the present invention.
  • the PCRF provided by the embodiment of the present invention dynamically determines the service transmission control policy and the service optimization control policy according to the service information, the user subscription information, and the network status of the service requested by the terminal, and sends the service transmission control policy to the PCEF to enable the PCEF.
  • Resource allocation is performed on the service of the terminal; the service optimization control policy is sent to the CDF, so that the CDF optimizes the service transmitted to the terminal. Therefore, different services of different users can be used to occupy the network resources reasonably, and the service content is optimized to avoid network congestion and ensure the normal service experience of the user.
  • FIG. 8 is a schematic structural diagram of a flow detection function entity TDF according to an embodiment of the present invention. As shown in FIG. 8, the TDF includes: a receiver 21, a processor 22, and a transmitter 23;
  • the receiver 21 is configured to acquire a first service request of the terminal, and is further configured to receive a first service optimization control policy that is sent by the PCRF.
  • the processor 22 is configured to obtain service flow information of the terminal according to the first service request, where the service flow information includes at least a service identifier and a service flow quintuple information requested by the terminal;
  • the sender 23 is configured to report the service flow information to the policy and charging rule function entity PCRF, so that the PCRF searches for the corresponding service policy according to the service flow information, and at least one of the terminal subscription information and the network status of the terminal, and determines the first A service transmission control strategy and a first service optimization control strategy.
  • FIG 9 is a schematic structural diagram of another embodiment of the traffic detection function entity TDF provided by the present invention, as shown in Figure 9, on the basis of Figure 8, the TDF may further include a controller 24;
  • the existing functions and structures of the TDF can be extended to have the function of CDF. Specifically:
  • the controller 24 can be configured to: if the receiver receives the first service optimization control policy delivered by the PCRF, optimize the service transmitted to the terminal according to the first service optimization control policy.
  • the receiver 21 is further configured to: receive a second service optimization control policy that is sent by the PCRF;
  • the controller 24 is further configured to: if the receiver 21 receives the second optimized control policy, adjust the optimization of the service transmitted by the terminal according to the second service optimization control policy, where the second service optimization control policy is changed by the PCRF User subscription information and/or network status determination. Further, the receiver 21 is further configured to: receive the error information sent by the PCRF; the controller 24 may be further configured to: if the receiver receives the error information, stop transmitting the requested service to the terminal.
  • the processor 22 is further configured to: identify, according to the unified resource locator URL carried in the first service request, a service identifier corresponding to the service requested by the terminal, and obtain the service flow quintuple information according to the first service request.
  • the TDF can also be used only as an interface between the PCRF and the CDF, specifically:
  • the transmitter 23 is further configured to: if the receiver 21 receives the first optimized control policy, send the first control policy to the content distribution function entity CDF, or carry the first service optimization control policy in the first service request. Send to CDF.
  • the receiver 21 is further configured to: receive a second service optimization control policy that is sent by the PCRF, and is further configured to receive a second service request sent by the terminal, where the second service request and the first service request are sent by the terminal for the same service.
  • the processor 22 is further configured to: store the second service optimization control policy into the local cache; the sender 23 is further configured to: if the receiver 21 receives the second service request sent by the terminal, the local cache is stored The second service optimization control policy is sent to the CDF in the second service request; or is used to send the second service optimization control policy received by the receiver to the CDF.
  • the receiver 21 is further configured to: receive error information sent by the PCRF; the transmitter 23 may be further configured to: if the receiver receives the error information, send the error information to the CDF, or carry the error information. Sent to the CDF in the first service request.
  • the TDF provided by the embodiment of the present invention is an execution device of the service distribution control method provided by the present invention.
  • the device can be set independently or integrated with PCEF and/or CDF.
  • the TDF provided by the embodiment of the present invention may report the service flow information corresponding to the terminal service request to the PCRF, and the PCRF may dynamically determine the service optimization control policy according to the service information, the user subscription information, and the network status of the service requested by the terminal.
  • the CDF is sent to the CDF to optimize the traffic transmitted to the terminal. Therefore, different services of different users can be used to occupy the network resources reasonably, and the service content is optimized to avoid network congestion and ensure the normal service experience of the user.
  • FIG. 10 is a schematic structural diagram of a content distribution function entity CDF according to an embodiment of the present invention. As shown in FIG. 10, the CDF includes: a receiver 31 and a controller 32;
  • the receiver 31 is configured to receive a first service optimization control policy, where the first service optimization control policy is searched by the policy and charging rule function entity PCRF according to the service flow information, and at least one of the terminal subscription information and the network status of the terminal.
  • the controller 32 is configured to optimize, according to the first service optimization control policy, the service transmitted to the terminal, if the receiver receives the first service optimization control policy.
  • FIG 11 is a schematic structural diagram of another embodiment of the content distribution function entity CDF provided by the present invention.
  • the CDF may further include: a transmitter 33 and a processor 34;
  • the existing functions and structures of the CDF can be extended to have the function of TDF, specifically:
  • the receiver 31 is further configured to: obtain a first service request of the terminal;
  • the controller 32 is further configured to: obtain the service flow information of the terminal according to the first service request, where the service flow information includes at least the service identifier and the service flow quintuple information requested by the terminal;
  • the sender 33 is configured to report the service flow information to the policy and charging rule function entity PCRF, so that the PCRF searches for the corresponding service policy according to the service flow information, and at least one of the terminal subscription information and the network status of the terminal, and determines the first A service transmission control policy and a first service optimization control policy; the receiver 31 may be specifically configured to: receive the first service optimization control policy delivered by the PCRF. Further, the processor 34 may be specifically configured to: identify, according to the unified resource locator URL carried in the first service request, a service identifier corresponding to the service requested by the terminal, and obtain the service flow quintuple information according to the first service request.
  • the receiver 31 is further configured to: receive a second service optimization control policy that is sent by the PCRF, where the second service optimization control policy is determined by the PCRF according to the changed user subscription information and/or the network status;
  • the controller 32 is further configured to: if the receiver receives the second service optimization control policy, adjust the optimization of the service transmitted by the terminal according to the second service optimization control policy.
  • the receiver 31 is further configured to: receive error information sent by the PCRF; the controller 32 may be further configured to: if the receiver receives the error information, stop transmitting the requested service to the terminal.
  • the receiver 31 may be specifically configured to: receive a first service optimization control policy sent by the traffic detection function entity TDF, or receive a first service request sent by the TDF, where the first service request carries the first A business optimization control strategy.
  • the receiver 31 may be further configured to: receive a second service optimization control policy sent by the TDF, or receive a second service request sent by the TDF, where the second service request carries a second service optimization control policy, and the second service optimization
  • the control policy is determined by the PCRF according to the changed user subscription information and/or network status
  • the controller 32 is further configured to: if the receiver 31 receives the second service optimization control policy, adjust the optimization of the service transmitted to the terminal according to the second service optimization control policy.
  • the receiver 31 may be further configured to: receive the error information sent by the TDF, or receive the first service request sent by the TDF, where the first service request carries the error information;
  • the controller 32 is further configured to: if the receiver receives the error information, stop transmitting the requested service to the terminal.
  • the CDF provided by the embodiment of the present invention is an execution device of the service distribution control method provided by the present invention, and the device can be set independently or integrated with the PCEF and/or the TDF.
  • the specific process of the CDF to perform the service distribution control method refer to the method embodiment, and details are not described herein again.
  • the CDF may directly report the service flow information corresponding to the terminal service request to the PCRF or report it to the PCRF through the TDF.
  • the PCRF may be based on the service information, the user subscription information, and the network status of the service requested by the terminal. Dynamically determine the service optimization control strategy and directly deliver it to the CDF, or send it to the CDF through the TDF, so that the CDF optimizes the service transmitted to the terminal. Therefore, different services of different users can be used to occupy the network resources reasonably, and the service content is optimized to avoid network congestion and ensure the normal service experience of the users.
  • FIG. 12 is a schematic structural diagram of a policy and charging execution function entity PCEF according to an embodiment of the present invention. As shown in FIG. 12, the PCEF includes: a receiver 41 and a processor 42;
  • the receiver 41 is configured to receive a first service transmission control policy delivered by the policy and charging rule function entity PCRF, where the first service transmission control policy is used by the PCRF according to the service flow information of the service requested by the terminal, and at least the user subscription information of the terminal And one of the network states, find the corresponding business policy, and determine;
  • the processor 42 is configured to perform resource allocation on the service requested by the terminal according to the first transmission control policy. Match.
  • FIG. 13 is a schematic structural diagram of another embodiment of a policy and charging execution function entity PCEF according to the present invention. As shown in FIG. 13, on the basis of FIG. 12, the PCEF may further include: a transmitter 43;
  • the sender 43 may be configured to return a response message to the PCRF, where the response message is used to indicate that the service resource allocation requested by the terminal is successful, so that the PCRF sends the first service optimization control policy to the content distribution function entity CDF, or a response message. And indicating that the service resource allocation request to the terminal fails, so that the PCRF sends an error message to the CDF, where the first service optimization control policy is searched by the PCRF according to the service flow information, and at least one of the terminal subscription information and the network status of the terminal.
  • Business strategy ok.
  • the receiver 41 is further configured to: receive a second service transmission control policy that is sent by the PCRF, where the second service transmission control policy is determined by the PCRF according to the changed user subscription information and/or the network status;
  • the processor 42 is further configured to: adjust resource allocation of the service requested by the terminal according to the second service transmission control policy.
  • the PCEF provided by the embodiment of the present invention is an execution device of the service distribution control method provided by the present invention, and the device may be independently set, or may be integrated with the CDF and/or the TDF.
  • the specific process of the CDF to perform the service distribution control method refer to the method embodiment, and details are not described herein again.
  • the PCEF and the PCEF provided by the embodiment of the present invention can dynamically determine the service transmission control policy according to the service information, the user subscription information, and the network status of the service requested by the terminal, and send the policy to the PCEF, so that the PCEF allocates resources to the service transmitted by the terminal. . Therefore, different services of different users are used to properly occupy network resources, and the service content is optimized to avoid network congestion and ensure normal user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Embodiments of the present invention relate to a method and device for controlling service delivery. The method comprises: acquiring service flow information of a terminal; the service flow information comprising at least an identifier of a service requested by the terminal and service flow quintuple information; on the basis of the service flow information and of at least one between, of the terminal, user subscription information and network state, searching for a predetermined service policy, and determining a first service transmission control policy and a first service optimization control policy; issuing the first service transmission control policy to a policy and charging enforcement function entity (PCEF), allowing the PCEF to allot, on the basis of the first service transmission control policy, a resource to the service requested by the terminal, and issuing the first service optimization control policy to a content delivery function entity (CDF), allowing the CDF to optimize, on the basis of the first service optimization control policy, a service transmitted to the terminal.

Description

业务分发控制方法和设备  Service distribution control method and device
技术领域 本发明实施例涉及通信技术领域, 特别涉及一种业务分发控制方法和设 备。 背景技术 目前, 移动网络中, 视频、 图片等类型的移动数据流量正在迅速增加。 移动网络的演进发展仍然避免不了无线通信的局限性, 无线接入网络带宽稳 定性差, 存在频谱资源瓶颈, 大量用户共享有限的资源, 移动运营商网络各 类业务的流量面临用户体验和网络容量的挑战。 The present invention relates to the field of communications technologies, and in particular, to a service distribution control method and device. Background Art Currently, mobile data traffic of types such as video and pictures is rapidly increasing in mobile networks. The evolution of the mobile network still cannot avoid the limitations of wireless communication. The bandwidth stability of the wireless access network is poor. There are spectrum resource bottlenecks. A large number of users share limited resources. The traffic of various services of the mobile operator network faces user experience and network capacity. challenge.
现有技术中, 内容分发网络(Content Delivery Network, CDN )可以将 热点业务内容或者有合作关系的内容提供商提供的业务内容事先緩存在离用 户较近的緩存节点, 减少业务数据传输延时并节省网间结算。 緩存节点还可 以通过业务优化技术提供业务的自适应转码服务, 使得业务码率适配网络传 输带宽以及终端业务处理能力。 然而, 当用户对某业务的访问数量很大时, 仍然会造成网络拥塞, 影响用户的正常业务。 发明内容 本发明实施例提供一种业务分发控制方法, 使不同用户的不同业务合理 占用网络资源, 并对业务内容实施优化处理, 避免造成网络拥塞, 保证用户 的正常业务体验。  In the prior art, a content delivery network (CDN) can cache hot content service content or service content provided by a content provider with a cooperative relationship in a cache node that is closer to the user, thereby reducing service data transmission delay. Save internet settlement. The cache node can also provide an adaptive transcoding service for the service through the service optimization technology, so that the service code rate adapts the network transmission bandwidth and the terminal service processing capability. However, when the number of users accessing a certain service is large, network congestion will still occur, affecting the normal service of the user. SUMMARY OF THE INVENTION The embodiments of the present invention provide a service distribution control method, which enables different services of different users to occupy network resources reasonably, and implements optimization processing on service content to avoid network congestion and ensure normal service experience of users.
一方面, 本发明实施例提供了一种业务分发控制方法, 包括:  In one aspect, an embodiment of the present invention provides a service distribution control method, including:
获取终端的业务流信息, 所述业务流信息中至少包括所述终端请求的业 务标识和业务流五元组信息;  Obtaining service flow information of the terminal, where the service flow information includes at least the service identifier and service flow quintuple information requested by the terminal;
根据所述业务流信息、 以及至少所述终端的用户签约信息和网络状态之 一, 查找预设的业务策略, 确定第一业务传输控制策略和第一业务优化控制 策略;  And determining, according to the service flow information, and at least one of the user subscription information and the network status of the terminal, a preset service policy, and determining a first service transmission control policy and a first service optimization control policy;
将所述第一业务传输控制策略下发给策略与计费执行功能实体 PCEF,以 使所述 PCEF根据所述第一业务传输控制策略对所述终端请求的业务进行资 源分配, 将所述第一业务优化控制策略下发给内容分发功能实体 CDF, 以使 所述 CDF根据所述第一业务优化控制策略对向所述终端传输的业务进行优 化。 Sending the first service transmission control policy to the policy and charging execution function entity PCEF, And causing the PCEF to perform resource allocation on the service requested by the terminal according to the first service transmission control policy, and sending the first service optimization control policy to the content distribution function entity CDF, so that the CDF is configured according to the The first service optimization control policy optimizes the traffic transmitted to the terminal.
本发明实施例还提供一种业务分发控制方法, 包括:  The embodiment of the invention further provides a service distribution control method, including:
根据获取的终端的第一业务请求, 得到所述终端的业务流信息, 所述业 务流信息中至少包括所述终端请求的业务标识和业务流五元组信息;  And obtaining the service flow information of the terminal according to the obtained first service request of the terminal, where the service flow information includes at least the service identifier and the service flow quintuple information requested by the terminal;
将所述业务流信息上报给策略与计费规则功能实体 PCRF , 以使所述 PCRF根据所述业务流信息、以及至少所述终端的用户签约信息和网络状态之 一, 查找对应的业务策略, 确定第一业务传输控制策略和第一业务优化控制 策略;  And reporting the service flow information to the policy and charging rule function entity PCRF, so that the PCRF searches for a corresponding service policy according to the service flow information, and at least one of the user subscription information and the network status of the terminal, Determining a first service transmission control policy and a first service optimization control strategy;
若接收所述 PCRF下发的所述第一业务优化控制策略, 则根据所述第一 业务优化控制策略, 对向所述终端传输的业务进行优化。  If the first service optimization control policy delivered by the PCRF is received, the service transmitted to the terminal is optimized according to the first service optimization control policy.
本发明实施例还提供一种业务分发控制方法, 包括:  The embodiment of the invention further provides a service distribution control method, including:
接收到策略与计费规则功能实体 PCRF下发的第一业务传输控制策略, 所述第一业务传输控制策略由所述 PCRF根据终端请求的业务的业务流信息、 以及至少所述终端的用户签约信息和网络状态之一, 查找对应的业务策略, 确定的;  Receiving a first service transmission control policy delivered by the policy and charging rule function entity PCRF, where the first service transmission control policy is signed by the PCRF according to the service flow information of the service requested by the terminal, and at least the user of the terminal is subscribed One of the information and network status, find the corresponding business strategy, determined;
根据所述第一传输控制策略, 对终端请求的业务进行资源分配。  And performing resource allocation on the service requested by the terminal according to the first transmission control policy.
另一方面,本发明实施例还提供一种策略与计费规则功能实体 PCRF, 包 括:  On the other hand, an embodiment of the present invention further provides a policy and charging rule function entity PCRF, which includes:
接收器, 用于获取终端的业务流信息, 所述业务流信息中至少包括所述 终端请求的业务标识和业务流五元组信息;  a receiver, configured to obtain service flow information of the terminal, where the service flow information includes at least a service identifier and service flow quintuple information requested by the terminal;
处理器, 用于根据所述业务流信息、 以及至少所述终端的用户签约信息 和网络状态之一, 查找预设的业务策略, 确定第一业务传输控制策略和第一 业务优化控制策略;  a processor, configured to: according to the service flow information, and at least one of the user subscription information and the network status of the terminal, search for a preset service policy, and determine a first service transmission control policy and a first service optimization control policy;
发送器, 用于将所述第一业务传输控制策略下发给策略与计费执行功能 实体 PCEF, 以使所述 PCEF根据所述第一业务传输控制策略对所述终端请求 的业务进行资源分配, 将所述第一业务优化控制策略下发给内容分发功能实 体 CDF,以使所述 CDF根据所述第一业务优化控制策略对向所述终端传输的 业务进行优化。 a transmitter, configured to send the first service transmission control policy to the policy and charging execution function entity PCEF, so that the PCEF performs resource allocation on the service requested by the terminal according to the first service transmission control policy. Transmitting the first service optimization control policy to the content distribution function entity CDF, so that the CDF transmits to the terminal according to the first service optimization control policy. Business is optimized.
本发明实施例还提供一种流量检测功能实体 TDF, 包括:  The embodiment of the invention further provides a traffic detection function entity TDF, including:
接收器, 用于获取终端的第一业务请求; 还用于接收所述 PCRF下发的 所述第一业务优化控制策略;  a receiver, configured to acquire a first service request of the terminal, and configured to receive the first service optimization control policy delivered by the PCRF;
处理器, 用于根据所述第一业务请求, 得到所述终端的业务流信息, 所 述业务流信息中至少包括所述终端请求的业务标识和业务流五元组信息; 发送器, 用于将所述业务流信息上报给策略与计费规则功能实体 PCRF, 以使所述 PCRF根据所述业务流信息、 以及至少所述终端的用户签约信息和 网络状态之一, 查找对应的业务策略, 确定第一业务传输控制策略和第一业 务优化控制策略。  a processor, configured to obtain service flow information of the terminal according to the first service request, where the service flow information includes at least a service identifier and service flow quintuple information requested by the terminal; The service flow information is reported to the policy and charging rule function entity PCRF, so that the PCRF searches for a corresponding service policy according to the service flow information, and at least one of the user subscription information and the network status of the terminal. Determining a first service transmission control policy and a first service optimization control strategy.
本发明实施例还提供一种内容分发功能实体 CDF, 包括:  The embodiment of the present invention further provides a content distribution function entity CDF, including:
接收器, 用于接收第一业务优化控制策略, 所述第一业务优化控制策略 由策略与计费规则功能实体 PCRF根据业务流信息、 以及至少终端的用户签 约信息和网络状态之一查找对应的业务策略, 确定的;  a receiver, configured to receive a first service optimization control policy, where the first service optimization control policy is searched by the policy and charging rule function entity PCRF according to service flow information, and at least one of user subscription information and network status of the terminal Business strategy
控制器, 用于若所述接收器接收到所述第一业务优化控制策略, 则根据 所述第一业务优化控制策略, 对向所述终端传输的业务进行优化。  And a controller, configured to optimize, according to the first service optimization control policy, the service transmitted to the terminal, if the receiver receives the first service optimization control policy.
本发明实施例还提供一种策略与计费执行功能实体 PCEF, 包括: 接收器, 用于接收策略与计费规则功能实体 PCRF下发的第一业务传输 控制策略, 所述第一业务传输控制策略由所述 PCRF根据终端请求的业务的 业务流信息、 以及至少所述终端的用户签约信息和网络状态之一, 查找对应 的业务策略, 确定的;  The embodiment of the present invention further provides a policy and charging execution function entity PCEF, including: a receiver, configured to receive a first service transmission control policy delivered by a policy and charging rule function entity PCRF, where the first service transmission control The policy is determined by the PCRF according to the service flow information of the service requested by the terminal, and at least one of the user subscription information and the network status of the terminal, and the corresponding service policy is determined;
处理器, 用于根据所述第一传输控制策略, 对终端请求的业务进行资源 分配。  And a processor, configured to perform resource allocation on the service requested by the terminal according to the first transmission control policy.
本发明实施例提供的业务分发控制方法和设备, PCRF根据终端请求的业务 的业务信息、 用户签约信息及网络状态, 动态的确定业务传输控制策略和业 务优化控制策略, 并将业务传输控制策略下发给 PCEF, 使 PCEF对终端的业 务进行资源分配; 将业务优化控制策略下发给 CDF,使 CDF对向终端传输的 业务进行优化。 从而实现不同用户的不同业务合理占用网络资源, 并对业务 内容实施优化处理, 避免造成网络拥塞, 保证用户的正常业务体验。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。 The service distribution control method and device provided by the embodiment of the present invention, the PCRF dynamically determines the service transmission control policy and the service optimization control policy according to the service information, the user subscription information and the network status of the service requested by the terminal, and the service transmission control policy is The PCEF is sent to the PCEF to allocate resources to the terminal's services. The service optimization control policy is sent to the CDF, so that the CDF optimizes the services transmitted to the terminal. Therefore, different services of different users can be used to occupy the network resources reasonably, and the service content is optimized to avoid network congestion and ensure the normal service experience of the user. DRAWINGS In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图 1为本发明提供的业务分发控制方法一个实施例的流程示意图; 图 2为本发明提供的业务分发控制方法又一个实施例的流程示意图; 图 3为本发明提供的业务分发控制方法另一个实施例的流程示意图; 图 4a为本发明提供的业务分发控制方法又一个实施例的流程示意图; 图 4b为本发明提供的业务分发控制方法又一个实施例的流程示意图; 图 5a为本发明提供的业务分发控制方法一个实施例的流程示意图; 图 5b为本发明提供的业务分发控制方法一个实施例的流程示意图; 图 6a为本发明提供的业务分发控制方法一个实施例的流程示意图; 图 6b为本发明提供的业务分发控制方法一个实施例的流程示意图; 图 7为本发明提供的策略与计费规则功能实体 PCRF—个实施例的结构 示意图;  FIG. 1 is a schematic flowchart of a service distribution control method according to another embodiment of the present invention; FIG. 2 is a schematic flowchart of another embodiment of a service distribution control method according to the present invention; FIG. 4 is a schematic flowchart of still another embodiment of a service distribution control method according to the present invention; FIG. 4b is a schematic flowchart of still another embodiment of a service distribution control method according to the present invention; Figure 5b is a schematic flowchart of an embodiment of a service distribution control method according to an embodiment of the present invention; Figure 6b is a schematic flowchart of an embodiment of a service distribution control method provided by the present invention; A schematic flowchart of an embodiment of a service distribution control method provided by the present invention; FIG. 7 is a schematic structural diagram of a policy and charging rule function entity PCRF according to an embodiment of the present invention;
图 8为本发明提供的流量检测功能实体 TDF—个实施例的结构示意图; 图 9为本发明提供的流量检测功能实体 TDF 又一个实施例的结构示意 图;  FIG. 8 is a schematic structural diagram of a traffic detection function entity TDF according to an embodiment of the present invention; FIG. 9 is a schematic structural diagram of another embodiment of a traffic detection function entity TDF according to the present invention;
图 10为本发明提供的内容分发功能实体 CDF—个实施例的结构示意图; 图 11为本发明提供的内容分发功能实体 CDF又一个实施例的结构示意 图;  10 is a schematic structural diagram of a content distribution function entity CDF according to an embodiment of the present invention; FIG. 11 is a schematic structural diagram of still another embodiment of a content distribution function entity CDF provided by the present invention;
图 12为本发明提供的策略与计费执行功能实体 PCEF—个实施例的结构 示意图;  12 is a schematic structural diagram of a policy and charging execution function entity PCEF according to an embodiment of the present invention;
图 13为本发明提供的策略与计费执行功能实体 PCEF又一个实施例的结 构示意图。 具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 图 1为本发明提供的业务分发控制方法一个实施例的流程示意图, 如图 1 所示, 该方法包括: FIG. 13 is a schematic structural diagram of still another embodiment of a policy and charging execution function entity PCEF provided by the present invention. The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. example. Based on the embodiments of the present invention, those of ordinary skill in the art are not doing All other embodiments obtained under the premise of creative labor are within the scope of the invention. FIG. 1 is a schematic flowchart of an embodiment of a service distribution control method according to the present invention. As shown in FIG. 1, the method includes:
5101、 获取终端的业务流信息, 业务流信息中至少包括终端请求的业务 标识和业务流五元组信息;  5101. Obtain service flow information of the terminal, where the service flow information includes at least a service identifier and a service flow quintuple information requested by the terminal.
5102、根据业务流信息、 以及至少终端的用户签约信息和网络状态之一, 查找预设的业务策略,确定第一业务传输控制策略和第一业务优化控制策略; 5102. Search for a preset service policy according to the service flow information, and at least one of the user subscription information and the network status of the terminal, and determine the first service transmission control policy and the first service optimization control policy.
5103、 将第一业务传输控制策略下发给策略与计费执行功能实体 PCEF, 以使 PCEF根据第一业务传输控制策略对终端请求的业务进行资源分配, 将 第一业务优化控制策略下发给内容分发功能实体 CDF,以使 CDF根据第一业 务优化控制策略对向终端传输的业务进行优化。 5103. The first service transmission control policy is sent to the policy and charging execution function entity PCEF, so that the PCEF allocates resources to the service requested by the terminal according to the first service transmission control policy, and sends the first service optimization control policy to the The content distribution function entity CDF is such that the CDF optimizes the service transmitted to the terminal according to the first service optimization control policy.
以上步骤的执行主体为策略与计费规则功能实体(Policy and Charging Rule Function, PCRF )„  The execution body of the above steps is the Policy and Charging Rule Function (PCRF).
可选的, 终端( User Equipment, UE ) 的业务流信息可以由流量监测功能 实体( Traffic Detection Function, TDF )上才艮给 PCRF , 还可以由内容分发功 能实体(Content Delivery Function, CDF )上报给 PCRF。  Optionally, the service flow information of the user equipment (UE) may be sent to the PCRF by a traffic detection function (TDF), or may be reported by a content delivery function (CDF). PCRF.
具体的, TDF可以截获终端发送给业务内容源或者 CDF的各种业务请求, 该业务请求可以是超文本传输协议 ( Hyper Text Transfer Protocol, HTTP ) Get 请求, 请求的业务类型可以是视频播放请求、 Web访问请求等等。 TDF可以 根据截获的业务请求中携带的统一资源定位符( Uniform Resource Locator, URL )识别出业务所属的类别, 确定业务标识以及业务流五元组信息等信息, 其中, 业务流五元组信息包括: 指向 CDF的源 IP地址和端口号, 指向终端 的目的 IP地址和端口号,以及业务采用的传输控制协议( Transmission Control Protocol , TCP )。  Specifically, the TDF may intercept various service requests sent by the terminal to the service content source or the CDF, where the service request may be a Hyper Text Transfer Protocol (HTTP) Get request, and the requested service type may be a video play request, Web access requests and more. The TDF may identify the category to which the service belongs according to the Uniform Resource Locator (URL) carried in the intercepted service request, and determine information such as the service identifier and the service flow quintuple information, where the service flow quintuple information includes : The source IP address and port number of the CDF, the destination IP address and port number of the terminal, and the Transmission Control Protocol (TCP) used by the service.
上述 TDF执行的截获终端业务请求以及进一步获得终端的业务流信息的 操作, 也可以由改进后的 CDF来执行, 对 CDF的改进可以是, 例如: 在现 有的 CDF上增加具有业务流检测功能的单元, 并且在 CDF上增加与 PCRF 交互的接口等。  The operation of intercepting the terminal service request performed by the TDF and further obtaining the service flow information of the terminal may also be performed by the improved CDF. The improvement to the CDF may be, for example, adding a service flow detection function to the existing CDF. Unit, and add an interface to the CDF to interact with the PCRF.
TDF或 CDF将终端的业务流信息上 ^艮给 PCRF后, PCRF可以根据业务 流信息、 以及至少终端的用户签约信息和网络状态之一, 查找预设的业务策 略, 确定第一业务传输控制策略和第一业务优化控制策略。 其中, 业务策略 为 PCRF预先设置的用于根据对不同的终端、 在不同网络环境下、 请求的不 同业务类别时进行差异化控制的一种动态策略, 该动态策略具体包括可以用 于确定终端的业务传输的业务流模板、计费方法、业务传输服务质量(Quality Of Service, QoS ), 门控信息等, 以及用于确定业务优化控制策略的授权最大 业务带宽、 是否允许业务优化指示信息等。 其中, 业务流模板用于 PCEF识 别业务数据流, 从而将业务数据流关联到对应的传输承载中; 计费方法表明 是在线计费还是离线计费, 以及是按照流量、 时长还是事件计费; 业务传输 服务质量包括 QoS等级标识( QoS Class Identifier )、最大比特速率( Maximum Bit Rate, MBR )、 保障比特速率( Guaranteed Bit Rate, GBR ), 分配与保持 优先级( Allocation and Retention Priority, ARP )等参数, 用于 PCEF建立业 务传输承载; 门控信息包括门控状态, 门控状态为开, 表明允许传输当前视 频数据流, 否则禁止传输; 授权的最大业务带宽为传输业务的最大传输带宽, 用于限定 CDF对业务进行的码率变换; 业务优化指示用于允许或禁止 CDF 对业务进行优化处理。 After the TDF or the CDF sends the service flow information of the terminal to the PCRF, the PCRF can search for the preset service policy according to the service flow information, and at least one of the terminal subscription information and the network status of the terminal. Slightly, the first service transmission control policy and the first service optimization control policy are determined. The dynamic policy is a dynamic policy that is preset by the PCRF for performing differentiated control according to different terminals, different network environments, and different service categories that are requested. The dynamic policy specifically includes: The service flow template, the charging method, the service quality of the service (QoS), the gating information, and the like, and the authorized maximum service bandwidth for determining the service optimization control policy, and whether the service optimization indication information is allowed. The service flow template is used by the PCEF to identify the service data flow, thereby associating the service data flow with the corresponding transmission bearer; the charging method indicates whether the online charging or the offline charging is performed, and the charging is according to the traffic, the duration, or the event; Service transmission service quality includes QoS Class Identifier, Maximum Bit Rate (MBR), Guaranteed Bit Rate (GBR), Allocation and Retention Priority (ARP), etc. The parameter is used by the PCEF to establish a service transmission bearer; the gating information includes a gating state, and the gating state is ON, indicating that the current video data stream is allowed to be transmitted, otherwise the transmission is prohibited; the maximum authorized service bandwidth is the maximum transmission bandwidth of the transmission service, The rate conversion of the service is defined by the CDF; the service optimization indication is used to allow or prohibit the CDF to optimize the service.
以视频业务为例, PCRF上预设的业务策略可以体现在以下几个方面: 根据视频来源提供差异化控制, 例如: 对于来自因特网 (Internet ) 的运 营商网络上传输的不受运营商控制的第三方内容( Over The Top, OTT )视频 提供尽力而为的传输 QoS, 不对视频做优化处理; 对来自有合作关系的第三 方内容提供商( Business to Business, B2B )的视频或者运营商自营( Business to Client, B2C ) 的视频提供高优先级的传输 QoS, 并且实施视频优化处理, 以适配终端播放能力和传输带宽;  Taking the video service as an example, the preset service policy on the PCRF can be implemented in the following aspects: Provide differentiated control according to the video source, for example: Carrier-controlled transmission on the carrier network from the Internet (Internet) Third-party content (Over The Top, OTT) video provides best-effort transmission QoS, does not optimize video processing; video or carrier from a third-party content provider (Business to Business, B2B) with partnership (Business to Client, B2C) video provides high priority transmission QoS, and implements video optimization processing to adapt terminal playback capability and transmission bandwidth;
根据用户视频等级实现差异化控制, 例如: 对不同级别的用户分配不同 的传输带宽以及视频优化控制, 金牌用户可以分配最高的视频传输带宽, 并 且提供视频优化服务; 银牌用户可以分配中等的视频传输带宽, 并且提供视 频优化服务; 铜牌用户可以分配较低的带宽, 不提供视频优化服务;  Differentiated controls based on user video levels, such as: Different user bandwidths and video optimization controls for different levels of users, Gold users can assign the highest video transmission bandwidth and provide video optimization services; Silver users can assign medium video transmissions Bandwidth, and provide video optimization services; Bronze users can allocate lower bandwidth and do not provide video optimization services;
根据用户签约的视频种类实现差异化控制, 例如: 只对用户签约的视频 提供带宽保障和视频优化处理, 对于非签约的视频只提供尽力而为服务。  Differentiated control is implemented according to the type of video that the user subscribes to. For example, only the video subscribed to the user is provided with bandwidth guarantee and video optimization processing, and only the best-effort service is provided for the non-signed video.
基于上述的设置业务策略的因素,形成的视频业务的业务策略可以包括, 例如: 视频策略 1 , 对应高优先级的视频承载, 最大 2M视频带宽, 允许 CDF 对视频进行优化处理; 视频策略 2, 对应高优先级的视频承载, 最大 1M视频 带宽, 允许 CDF对视频进行优化处理; 视频策略 3 , 对应低优先级(尽力而 为)传输承载, 最大 500K视频带宽, 允许 CDF对视频进行优化处理; 视频 策略 4, 对应低优先级(尽力而为)传输承载, 最大 500K视频带宽, 不允许 CDF对视频进行优化处理等。 Based on the foregoing factors for setting a service policy, the formed service policy of the video service may include, for example: video policy 1, corresponding to a high priority video bearer, maximum 2M video bandwidth, allowing CDF Optimize the video; Video Policy 2, corresponding to high-priority video bearers, maximum 1M video bandwidth, allowing CDF to optimize video processing; Video Strategy 3, corresponding to low-priority (best effort) transmission bearer, maximum 500K video Bandwidth, allows CDF to optimize video processing; Video strategy 4, corresponding to low priority (best effort) transmission bearer, maximum 500K video bandwidth, does not allow CDF to optimize video processing.
以上仅以是业务为例, 对 PCRF预设的业务策略加以说明, 可以理解的是, PCRF可以根据实际需要, 或者根据业务传输控制策略和业务优化控制策略的 实际调整效果等设置或修改业务策略。  The above is only a service, and the service policy preset by the PCRF is described. It can be understood that the PCRF can set or modify the service policy according to actual needs or according to the actual adjustment effect of the service transmission control policy and the service optimization control policy. .
PCRF接收到终端的业务流信息后, 可以根据业务流信息中携带的终端请 求的业务标识和业务流五元组信息, 查找到终端的用户签约信息, 其中, 用 户签约信息可以从归属签约服务器( Home Subscriber Server, HSS ) /归属位 置寄存器(Home Location Register, HLR )等网元中获取。 PCRF可以进一 步根据用户的业务流信息、 用户签约信息以及当前的网络状态, 确定第一业 务传输控制策略和第一业务优化控制策略。  After receiving the service flow information of the terminal, the PCRF may find the user subscription information of the terminal according to the service identifier and the service flow quintuple information carried by the terminal carried in the service flow information, where the user subscription information may be obtained from the home subscription server ( Home Subscriber Server, HSS) / Home Location Register (HLR) and other network elements. The PCRF can further determine the first service transmission control policy and the first service optimization control policy according to the user's service flow information, user subscription information, and current network status.
PCRF可以将第一业务传输控制策略下发给 PCEF, 策略与计费执行实体 The PCRF can send the first service transmission control policy to the PCEF, and the policy and charging execution entity.
( Policy and Charging Enforcement, Function, PCEF ), 由 PCEF执行为终端 请求的业务分配资源的操作, 具体可以是: 修改终端到 PCEF的承载, 以满 足终端请求的业务的 QoS要求。 (Policy and Charging Enforcement, Function, PCEF), the operation of allocating resources for the service requested by the terminal by the PCEF, specifically: modifying the bearer of the terminal to the PCEF to satisfy the QoS requirement of the service requested by the terminal.
PCEF在执行资源分配的操作后, 向 PCRF返回响应信息,如果响应信息 指示资源分配的操作成功, 则 PCRF可以通过 TDF将第一业务优化控制策略 下发给 CDF, 或者可以将第一业务优化控制策略直接下发给与 PCRF之间有 交互的接口 CDF, 由 CDF来执行对向终端传输的业务进行优化的操作。第一 业务优化控制策略可以指示是否允许 CDF对向终端传输的业务进行优化以及 允许优化的操作类型, 如果允许, 则 CDF可以对发送给终端的业务数据进行 格式转换、 码率压缩转换等操作, 以使传输的业务数据与终端的处理能力或 者授权的最大带宽相匹配; 如果不允许, 则 CDF可以直接从本地緩存中或者 从终端请求的业务所属内容源中获取相应业务发送给终端。  After performing the resource allocation operation, the PCEF returns a response message to the PCRF. If the response information indicates that the resource allocation operation is successful, the PCRF may send the first service optimization control policy to the CDF through the TDF, or may perform the first service optimization control. The policy is directly sent to the interface CDF that interacts with the PCRF, and the CDF performs an operation for optimizing the service transmitted to the terminal. The first service optimization control policy may indicate whether the CDF is allowed to optimize the service transmitted to the terminal and the type of operation that is allowed to be optimized. If allowed, the CDF may perform format conversion, rate conversion conversion, and the like on the service data sent to the terminal. In order to match the transmitted service data with the processing capability of the terminal or the maximum bandwidth of the authorization; if not allowed, the CDF may directly obtain the corresponding service from the local cache or from the content source of the service requested by the terminal to the terminal.
如果响应信息指示 PCEF资源分配的操作失败, 则 PCRF可以通过 TDF 向 CDF下发错误指示, 或者可以将错误指示直接下发给与 PCRF之间有交互 的接口的 CDF, 使 CDF停止向终端传输业务。 当终端的用户签约信息发生变化,或者网络状态发生变化时, PCRF可以 根据变化后的用户签约信息和 /或网络状态, 调整下发给 PCEF的业务传输控 制策略, 以使 PCEF对终端请求业务的资源分配与终端本身的签约服务以及 网络状况相适应;使下发给 CDF的业务优化控制策略与终端自身的业务处理 能力和网络状态相匹配。 If the response information indicates that the operation of the PCEF resource allocation fails, the PCRF may send an error indication to the CDF through the TDF, or may directly send the error indication to the CDF of the interface with the PCRF, so that the CDF stops transmitting the service to the terminal. . When the user subscription information of the terminal changes, or the network status changes, the PCRF can adjust the service transmission control policy sent to the PCEF according to the changed user subscription information and/or the network status, so that the PCEF requests the service from the terminal. The resource allocation is compatible with the contract service of the terminal itself and the network status; the service optimization control policy delivered to the CDF is matched with the service processing capability and network status of the terminal itself.
本发明实施例提供的业务分发控制方法, PCRF根据终端请求的业务的业 务信息、 用户签约信息及网络状态, 动态的确定业务传输控制策略和业务优 化控制策略, 并将业务传输控制策略下发给 PCEF, 使 PCEF对终端的业务进 行资源分配; 将业务优化控制策略下发给 CDF,使 CDF对向终端传输的业务 进行优化。 从而实现不同用户的不同业务合理占用网络资源, 并对业务内容 实施优化处理, 避免造成网络拥塞, 保证用户的正常业务体验。  According to the service distribution control method provided by the embodiment of the present invention, the PCRF dynamically determines the service transmission control policy and the service optimization control policy according to the service information, the user subscription information, and the network status of the service requested by the terminal, and sends the service transmission control policy to the service delivery control policy. The PCEF enables the PCEF to allocate resources to the services of the terminal; the service optimization control policy is sent to the CDF, so that the CDF optimizes the services transmitted to the terminal. Therefore, different services of different users are used to occupy network resources reasonably, and the service content is optimized to avoid network congestion and ensure normal user experience.
图 2为本发明提供的业务分发控制方法又一个实施例的流程示意图,如图 2所示, 该方法包括:  2 is a schematic flowchart of still another embodiment of a service distribution control method according to the present invention. As shown in FIG. 2, the method includes:
5201、 根据获取的终端的第一业务请求, 得到终端的业务流信息, 业务 流信息中至少包括终端请求的业务标识和业务流五元组信息;  5201. Obtain service flow information of the terminal according to the obtained first service request of the terminal, where the service flow information includes at least a service identifier and a service flow quintuple information requested by the terminal.
5202、 将业务流信息上报给策略与计费规则功能实体 PCRF, 以使 PCRF 根据业务流信息、 以及至少终端的用户签约信息和网络状态之一, 查找对应 的业务策略, 确定第一业务传输控制策略和第一业务优化控制策略;  5202. The service flow information is reported to the policy and charging rule function entity PCRF, so that the PCRF searches for the corresponding service policy according to the service flow information, and at least one of the user subscription information and the network status of the terminal, to determine the first service transmission control. Strategy and first business optimization control strategy;
5203、 若接收 PCRF下发的第一业务优化控制策略, 则根据第一业务优化 控制策略, 对向终端传输的业务进行优化。  5203. If the first service optimization control policy delivered by the PCRF is received, the service transmitted to the terminal is optimized according to the first service optimization control policy.
以上步骤的执行主体可以是 TDF , 还可以是增加了具有业务流检测功能 的单元, 并且增加了与 PCRF交互的接口的 CDF。  The execution body of the above steps may be TDF, or may be added with a unit with traffic flow detection function, and the CDF of the interface interacting with the PCRF is added.
当上述步骤的执行主体是 TDF时, TDF可以截获终端发送给业务内容源 或者 CDF的各种业务请求, 可以根据截获的业务请求中携带的统一资源定位 符(Uniform Resource Locator, URL )识别出业务所述的类别, 确定业务标 识以及业务流五元组信息, 包括: 指向 CDF的源 IP地址和端口号, 指向终端 的目的 IP地址和端口号, 业务采用的 TCP。  When the execution entity of the foregoing step is the TDF, the TDF may intercept various service requests sent by the terminal to the service content source or the CDF, and may identify the service according to the Uniform Resource Locator (URL) carried in the intercepted service request. The category, the service identifier and the service flow quintuple information, including: a source IP address and a port number pointing to the CDF, a destination IP address and a port number of the terminal, and a TCP used by the service.
TDF可以将携带业务标识和业务流五元组信息的业务流信息上报给 PCRF, 当 PCRF向 TDF返回第一业务传输控制策略或者错误信息时, TDF可以 将第一业务传输控制策略直接发送给 CDF, 或者, TDF还可以将该第一业务 传输控制策略携带在终端的业务请求中返回给 CDF。 The TDF may report the service flow information carrying the service identifier and the service flow quintuple information to the PCRF. When the PCRF returns the first service transmission control policy or error information to the TDF, the TDF may directly send the first service transmission control policy to the CDF. Or, TDF can also use the first service The transmission control policy is carried back to the CDF in the service request of the terminal.
需要说明的时, 如果 PCRF根据变化后的用户签约信息和 /或网络状态, 重新确定了下发的业务优化控制策略, 则 TDF可以直接将 PCRF重新下发的业 务优化控制策略下发给 CDF; 或者, TDF也可以在截获到终端针对同一业务 的另一业务请求后,将 PCRF重新下发的业务传输控制策略携带在该业务请求 中返回给 CDF。  If the PCRF re-determines the delivered service optimization control policy based on the changed user subscription information and/or network status, the TDF can directly deliver the service optimization control policy re-delivered by the PCRF to the CDF. Alternatively, the TDF may also carry the service transmission control policy re-delivered by the PCRF in the service request and return it to the CDF after intercepting another service request of the terminal for the same service.
可选的, TDF接收到 PCRF下发的针对各种业务请求的第一业务优化控制 策略后, 可以只将允许进行优化的业务请求对应的优化控制策略转发给 CDF 做优化处理, 而不允许进行优化的业务请求对应的优化控制策略可以不转发 给 CDF, 而直接发送给业务提供源。  Optionally, after receiving the first service optimization control policy for the service request that is sent by the PCRF, the TDF may forward the optimized control policy corresponding to the service request that is allowed to be optimized to the CDF for optimization, but not for the optimization process. The optimized control policy corresponding to the optimized service request may be forwarded to the service provider without being forwarded to the CDF.
可选的, TDF可以预置域名或者 URL列表, 当 TDF截获终端发出的业务 请求后, 如果该业务请求中包含的域名或者 URL存在于预配置的列表中, 则 TDF可以直接将该业务请求发送给 CDF进行后续优化处理; 如果业务请求中 包含的域名或者 URL不存在于预配置的列表中, TDF不将该业务请求发送给 CDF进行优化处理, 直接发送给业务提供源。 该过程中 TDF与 PCRF没有交互 过程。  Optionally, the TDF may preset the domain name or the URL list. After the TDF intercepts the service request sent by the terminal, if the domain name or the URL included in the service request exists in the pre-configured list, the TDF may directly send the service request. The CDF is subsequently optimized. If the domain name or URL included in the service request does not exist in the pre-configured list, the TDF does not send the service request to the CDF for optimization processing and directly sends it to the service provider. There is no interaction between TDF and PCRF in this process.
可选的, TDF还可以将指向某个或某些端口 (例如: 端口 80 ) 的所有业 务请求都直接转发给 CDF进行后续处理, 由 CDF判断是否对当前业务进行优 化处理。 该过程中 TDF与 PCRF没有交互过程。  Optionally, the TDF can forward all service requests directed to one or more ports (for example, port 80) directly to the CDF for subsequent processing, and the CDF determines whether the current service is optimized. There is no interaction between TDF and PCRF in this process.
当上述步骤的执行主体为增加了具有业务流检测功能的单元, 并且增加 了与 PCRF交互的接口的 CDF时, 可以通过 CDF中增加的业务流检测功能的单 元检测终端发出的业务请求, 进而获得业务标识以及业务五元组信息, 并通 过增加的与 PCRF交互的接口上 4艮给?0^。 当与 PCRF交互的接口接收到 PCRF下发的第一业务传输控制策略时, 如果第一业务传输控制策略 CDF对传 输给终端的业务进行优化允许, 则 CDF可以对发送给终端的业务数据进行格 式转换、 码率压缩转换等操作, 以使传输的业务数据与终端的处理能力或者 授权的最大带宽相匹配; 如果不允许, 则 CDF可以直接从本地緩存中或者从 终端请求的业务所属内容源中获取相应业务发送给终端;如果接收到 PCRF下 发的错误信息, 则 CDF停止向终端传输业务。  When the execution of the above steps is to add a unit with a service flow detection function and increase the CDF of the interface that interacts with the PCRF, the service request sent by the terminal may be detected by the unit of the service flow detection function added in the CDF, thereby obtaining Service identification and business quintuple information, and by adding 4 to the interface interacting with PCRF? 0^. When the interface interacting with the PCRF receives the first service transmission control policy delivered by the PCRF, if the first service transmission control policy CDF optimizes the service transmitted to the terminal, the CDF may format the service data sent to the terminal. Operations such as conversion, rate compression conversion, etc., so that the transmitted service data matches the processing capability of the terminal or the maximum bandwidth of the authorization; if not allowed, the CDF can be directly from the local cache or from the content source of the service requested by the terminal. The corresponding service is sent to the terminal; if the error message sent by the PCRF is received, the CDF stops transmitting the service to the terminal.
如果 PCRF根据变化后的用户签约信息和 /或网络状态, 重新确定了下发 的业务优化控制策略, 则 CDF接收到 PCRF重新下发的业务传输控制策略后, 可以根据 PCRF重新下发的业务优化控制策略对向终端发送的业务进行优化 处理。 If the PCRF re-determines the delivery based on the changed user subscription information and/or network status After the service optimization control policy is received by the PCRF, the CDF can optimize the service sent to the terminal according to the service optimization control policy re-delivered by the PCRF.
本发明实施例提供的业务分发控制方法, TDF或 CDF可以将终端业务请 求对应的业务流信息上报给 PCRF , PCRF可以根据终端请求的业务的业务信 息、 用户签约信息及网络状态, 动态的确定业务优化控制策略, 并直接下发 给 CDF, 或者通过 TDF下发给 CDF, 使 CDF对向终端传输的业务进行优化。 从而实现不同用户的不同业务合理占用网络资源, 并对业务内容实施优化处 理, 避免造成网络拥塞, 保证用户的正常业务体验。  In the service distribution control method provided by the embodiment of the present invention, the TDF or the CDF may report the service flow information corresponding to the terminal service request to the PCRF, and the PCRF may dynamically determine the service according to the service information, the user subscription information, and the network status of the service requested by the terminal. The control strategy is optimized and delivered directly to the CDF, or sent to the CDF through the TDF, so that the CDF optimizes the services transmitted to the terminal. Therefore, different services of different users are used to occupy network resources reasonably, and the service content is optimized to avoid network congestion and ensure normal service experience of users.
图 3为本发明提供的业务分发控制方法另一个实施例的流程示意图,如图 3 所示, 该方法包括:  FIG. 3 is a schematic flowchart of another embodiment of a service distribution control method according to the present invention. As shown in FIG. 3, the method includes:
5301、 接收到策略与计费规则功能实体 PCRF下发的第一业务传输控制 策略, 第一业务传输控制策略由 PCRF根据终端请求的业务的业务流信息、 以及至少终端的用户签约信息和网络状态之一, 查找对应的业务策略, 确定 的;  5301. Receive a first service transmission control policy that is sent by the PCRF function entity PCRF. The first service transmission control policy is used by the PCRF according to the service flow information of the service requested by the terminal, and at least the user subscription information and the network status of the terminal. One, find the corresponding business strategy, determined;
5302、 根据第一传输控制策略, 对终端请求的业务进行资源分配。  5302. Perform resource allocation on the service requested by the terminal according to the first transmission control policy.
以上步骤的执行主体可以是 PCEF , 该 PCEF可以是单独设置的网元, 也 可以是与 TDF和 /或 CDF—体集成设置的网元。  The execution body of the above steps may be a PCEF, and the PCEF may be a separately set network element, or may be a network element integrated with the TDF and/or CDF.
PCEF接收到 PCRF下发的第一业务传输控制策略后, 根据第一业务传输 控制策略, 如果终端与 PCEF之间没有可用承载, 则 PCEF可以针对终端请求 的业务新建承载; 如果终端与 PCEF之间有可用承载, 则 PCEF可以修改当前 承载的 QoS和业务流模板 ( Traffic Flow Template, TFT )等信息。  After receiving the first service transmission control policy sent by the PCRF, the PCEF can create a new bearer for the service requested by the terminal according to the first service transmission control policy. If there is no available bearer between the terminal and the PCEF, if the terminal and the PCEF are between the terminal and the PCEF, If a bearer is available, the PCEF can modify the current QoS and traffic flow template (TFT).
如果资源分配操作执行成功, 则 PCEF可以通过返回给 PCRF的响应消息 指示资源分配操作成功, 以使 PCRF向 CDF下发业务优化控制策略; 如果资源 分配执行失败, 则 PCEF可以通过响应信息指示资源分配失败, 以使 PCRF向 CDF下发错误信息, 指示 CDF停止向终端传输对应的业务。  If the resource allocation operation is successful, the PCEF may indicate that the resource allocation operation is successful by using the response message returned to the PCRF, so that the PCRF sends a service optimization control policy to the CDF; if the resource allocation execution fails, the PCEF may indicate the resource allocation by using the response information. Failure, so that the PCRF sends an error message to the CDF, instructing the CDF to stop transmitting the corresponding service to the terminal.
进一步的, 当终端的用户签约信息发生变化, 或者网络状态发生变化时, PCRF可以动态的调整下发给 PCEF的业务传输控制策略, PCEF可以根据 PCRF 重新确定的业务传输控制策略, 调整终端请求业务的资源分配, 从而与终端 本身的签约服务以及网络状况相适应。 本发明实施例提供的业务分发控制方法, PCRF可以根据终端请求的业务 的业务信息、 用户签约信息及网络状态, 动态的确定业务传输控制策略, 并 下发给 PCEF, 使 PCEF对终端传输的业务进行资源分配。 从而实现不同用户 的不同业务合理占用网络资源, 并对业务内容实施优化处理, 避免造成网络 拥塞, 保证用户的正常业务体验。 Further, when the user subscription information of the terminal changes, or the network status changes, the PCRF can dynamically adjust the service transmission control policy sent to the PCEF, and the PCEF can adjust the terminal request service according to the service transmission control policy determined by the PCRF. The resource allocation is adapted to the contracting service of the terminal itself and the network conditions. According to the service distribution control method provided by the embodiment of the present invention, the PCRF can dynamically determine the service transmission control policy according to the service information, the user subscription information, and the network status of the service requested by the terminal, and send the service to the PCEF to enable the PCEF to transmit the service to the terminal. Make resource allocations. Therefore, different services of different users can be used to occupy the network resources reasonably, and the service content is optimized to avoid network congestion and ensure the normal service experience of the user.
图 4a为本发明提供的业务分发控制方法又一个实施例的流程示意图,如图 4a所示, 本实施例提供中, PCEF、 TDF和 CDF均为独立设置的网元, 以下对上 述独立设置的网元执行业务分发控制方法的过程进行详细说明。 该方法包括: FIG. 4a is a schematic flowchart of another embodiment of a service distribution control method according to the present invention. As shown in FIG. 4a, in the embodiment, PCEF, TDF, and CDF are independently set network elements, and the following independently set The process of the network element performing the service distribution control method is described in detail. The method includes:
S401a、 UE附着网络建立分组数据协议 ( Package Data Protocol, PDP ) 上下文或移动核心网演进( Evolved Packet Core, EPC )缺省 载。 S401a. The UE attaches a network to establish a Packet Data Protocol (PDP) context or an Evolved Packet Core (EPC) default.
S402a、 UE发起第一业务请求,该第一业务请求被重定向到或终结在 CDF 网元。  S402a. The UE initiates a first service request, where the first service request is redirected or terminated to a CDF network element.
其中, 第一业务请求被重定向到 CDF是指: 业务源接收到 UE发出的第一 业务请求后, 业务源或者域名解析系统指示终端重新发起指向 CDF的第一业 务请求; 第一业务请求终结在 CDF是指: 终端向业务源出的第一业务请求, 最终由 CDF对该业务请求做出响应。  The first service request is redirected to the CDF. After the service source receives the first service request sent by the UE, the service source or the domain name resolution system instructs the terminal to re-initiate the first service request directed to the CDF. The CDF refers to: The first service request sent by the terminal to the service source, and finally the CDF responds to the service request.
该第一业务请求为 HTTP Get请求, 可以请求视频业务、 图片业务、 文本 业务或者 Web浏览等业务, 在此不——列举。  The first service request is an HTTP Get request, and may request a video service, a picture service, a text service, or a web browsing service, and is not enumerated.
以 UE发出的第一业务请求为视频请求为例,如果 UE请求的视频采用的是 自适应下载(Adaptive Download )方式, 则 UE首先向 CDF网元请求获取列表 ( manifest )文件,再根据列表文件针对每个视频频段顺次发出视频业务请求; 如果 UE请求的视频采用渐进式下载(Progressive Download ) 方式, 则 UE可 以通过一个视频业务请求来请求获取整个视频文件。  Taking the first service request sent by the UE as a video request, if the video requested by the UE is in an adaptive download mode, the UE first requests a CDF network element to obtain a manifest file, and then according to the list file. The video service request is sequentially sent for each video frequency band; if the video requested by the UE adopts a progressive download mode, the UE may request to acquire the entire video file through a video service request.
S403a、 UE发出的第一业务请求被 TDF截获。  S403a. The first service request sent by the UE is intercepted by the TDF.
S404a、 TDF根据第一业务请求中的 URL识别业务类别, 确定业务对应的 视频标识及业务流五元组信息。  The S404a and the TDF identify the service category according to the URL in the first service request, and determine the video identifier and the service flow quintuple information corresponding to the service.
其中, TDF可以根据业务请求获取视频业务流五元组信息: 指向 CDF的 源 IP地址和端口号 , 指向 UE的目的 IP地址和端口号。  The TDF can obtain the video service flow quintuple information according to the service request: a source IP address and a port number pointing to the CDF, and a destination IP address and a port number pointing to the UE.
S405a、 TDF向 PCRF上报业务流信息, 该业务流信息中包括 UE请求的业 务标识和业务流五元组信息。 S406a、 PCRF根据业务流信息、 以及至少用户签约信息和网络状态之一, 查找预设的业务策略, 确定第一业务传输控制策略以及第一业务优化控制策 略。 The S405a and the TDF report the service flow information to the PCRF, where the service flow information includes the service identifier and the service flow quintuple information requested by the UE. The S406a and the PCRF search for a preset service policy according to the service flow information, and at least one of the user subscription information and the network status, and determine the first service transmission control policy and the first service optimization control policy.
如果 UE请求的是视频业务, 则 PCRF需要根据 UE的 IP地址实现视频会话 与分组数据网络( Packet Data Network, PDN )会话绑定。  If the UE requests video services, the PCRF needs to implement a video session binding with a Packet Data Network (PDN) session according to the IP address of the UE.
其中, 第一业务传输控制策略可以包括: 业务流模板、 计费方法、 QoS、 门控等信息, 该第一业务传输控制策略对应于现有的策略和计费控制(Policy Charging Control, PCC )规则。  The first service transmission control policy may include: a service flow template, a charging method, a QoS, a gate, and the like, where the first service transmission control policy corresponds to an existing policy and charging control (PCC) rule.
第一业务优化控制策略可以包括: 授权最大视频带宽、 门控信息、 是否 允许视频优化指示等信息,该第一业务优化控制策略可以是由 PCRF根据实际 需要确定, 也可以对现有的应用检测和控制 ( Application Detection and Control, ADC )规则的指示信元进行扩展得到。  The first service optimization control policy may include: authorizing maximum video bandwidth, gating information, and whether to allow video optimization indication, and the first service optimization control policy may be determined by the PCRF according to actual needs, or may be detected for an existing application. The indicator cells of the Application Detection and Control (ADC) rule are extended.
S407a、 PCRF向 PCEF下发第一业务优化控制策略。  S407a and the PCRF deliver the first service optimization control policy to the PCEF.
S408a、 PCEF执行第一业务优化控制策略, 若 UE于 PCEF之间没有可用承 载, 则新建业务承载; 若有可用承载, 则修改当前承载的 QoS和 TFT等信息。  S408a and the PCEF perform the first service optimization control policy. If the UE has no available bearer between the PCEFs, the new service bearer is created. If the bearer is available, the current bearer QoS and TFT information are modified.
S409a、 PCEF向 PCRF返回响应消息。  S409a, PCEF returns a response message to the PCRF.
该响应信息可以指示 PCEF执行 UE请求业务的资源分配操作成功或失 败。  The response information may indicate that the PCEF performs a resource allocation operation of the UE requesting service successfully or fails.
S410a、 若响应消息指示 PCEF执行 UE请求业务的资源分配操作成功, 则 PCRF向 TDF下发第一业务优化控制策略, 否则向 TDF下发错误信息。  S410a. If the response message indicates that the PCEF performs the resource allocation operation of the UE requesting the service, the PCRF sends the first service optimization control policy to the TDF, otherwise the error message is sent to the TDF.
其中, 该错误信息可以是原因值等参数。  The error information may be a parameter such as a cause value.
S411a、 TDF将第一业务优化控制策略或者错误信息携带在第一业务请求 中返回给 CDF。  S411a and TDF carry the first service optimization control policy or error information in the first service request and return it to the CDF.
其中, TDF在 HTTP Get请求中的 User Agent头域添加扩展的第一业务优化 控制策略或者错误信息, 然后转发给 CDF。  The TDF adds the extended first service optimization control policy or error information in the User Agent header field in the HTTP Get request, and then forwards it to the CDF.
需要说明的是, S411a中, TDF也可以直接将第一业务优化控制策略或者 错误信息发送给 CDF。  It should be noted that, in S411a, the TDF may directly send the first service optimization control policy or error information to the CDF.
S412a、 CDF收到 TDF转发的第一业务请求后, 如果第一业务请求中携带 错误信息, 则 CDF停止传输视频, 否则 CDF根据所述第一业务优化控制策略 对向所述 UE传输的业务进行优化。 具体的, 第一业务优化控制策略可以指示 CDF允许对向 UE传输的业务进 行优化控制, 也可以禁止 CDF对向 UE传输的业务进行优化控制。 例如: UE 请求的业务为视频业务, 那么对于 Progressive Download视频业务请求, 如果 第一业务优化控制策略允许 CDF进行视频优化处理, 则 CDF可以对视频进行 转码, 以适配授权的最大带宽和 UE视频播放能力 (例如: 屏幕分辨率、 支持 的视频编解码和文件格式等) , 如果第一业务优化控制策略不允许 CDF进行 视频优化处理, 则 CDF不做任何视频优化处理, 而是直接将 UE请求的视频传 输给 UE。 对于 Adaptive Download视频业务请求, 如果第一业务优化控制策略 允许 CDF进行视频优化处理, 则 CDF可以通过授权的最大视频带宽限制请求 的视频码率。 After receiving the first service request forwarded by the TDF, if the first service request carries the error information, the CDF stops transmitting the video, and the CDF performs the service transmitted to the UE according to the first service optimization control policy. optimization. Specifically, the first service optimization control policy may indicate that the CDF allows optimal control of services transmitted to the UE, and may also prohibit the CDF from performing optimal control on services transmitted to the UE. For example, if the service requested by the UE is a video service, then for the Progressive Download video service request, if the first service optimization control policy allows the CDF to perform video optimization processing, the CDF can transcode the video to match the authorized maximum bandwidth and the UE. Video playback capability (eg: screen resolution, supported video codec and file format, etc.). If the first service optimization control policy does not allow the CDF to perform video optimization processing, the CDF does not perform any video optimization processing, but directly the UE. The requested video is transmitted to the UE. For the Adaptive Download video service request, if the first service optimization control policy allows the CDF to perform video optimization processing, the CDF can limit the requested video bit rate by the authorized maximum video bandwidth.
需要说明的是, UE视频播放能力等信息可以通过 UE发出的第一业务请求 中的 User Agent域上报给 CDF, 或者, CDF还可以根据国际移动设备身份码 ( International Mobile Equipment Identity, IMEI )查询本地 UE信息库获取。  It should be noted that the information such as the UE video playback capability may be reported to the CDF through the User Agent field in the first service request sent by the UE, or the CDF may also query the local device according to the International Mobile Equipment Identity (IMEI). The UE information base is obtained.
S413a、 CDF通过第一业务请求响应 ( HTTP响应)将 UE请求的业务数据 返回给 UE。  S413a, the CDF returns the service data requested by the UE to the UE by using the first service request response (HTTP response).
如果 UE请求的是 Adaptive streaming方式的视频业务,则 UE从 CDF获得一 个视频片段后, 还可以继续根据列表(manifest )文件继续发出其他业务请求 以获取后续的视频片段。  If the UE requests the video service of the Adaptive streaming mode, after obtaining a video segment from the CDF, the UE may continue to issue other service requests according to the manifest file to obtain subsequent video segments.
图 4b为本发明提供的业务分发控制方法又一个实施例的流程示意图,如图 4b所示, 在图 4a所示实施例的基础上, 本实施例提供了当用户签约信息和 /或网 络状态改变时, 独立设置的 PCEF、 TDF和 CDF执行业务分发控制方法的进一步 过程, 该方法包括:  FIG. 4b is a schematic flowchart of still another embodiment of a service distribution control method according to the present invention. As shown in FIG. 4b, on the basis of the embodiment shown in FIG. 4a, this embodiment provides user subscription information and/or network status. When changing, the independently set PCEF, TDF, and CDF perform a further process of the service distribution control method, the method including:
S401b、 用户签约信息发生变化和 /或网络状态发生变化, 则 PCRF重新确 定得到第二业务传输控制策略和第二业务优化控制策略。  S401b, the user subscription information changes, and/or the network status changes, and the PCRF re-determines the second service transmission control policy and the second service optimization control policy.
其中, 用户签约信息发生变化可以是, 例如: 用户签约的业务等级发生 变化等, 网络状态变化可以是, 例如: 网络繁忙、 空闲或者出现小区拥塞等 情况。  The change of the user subscription information may be, for example, the service level of the user subscription changes, and the network status change may be, for example, the network is busy, idle, or has cell congestion.
PCRF可以在用户签约信息发生变化和 /或网络状态发生变化时, 动态更 新下发给 PCEF的业务传输控制策略和下发给 CDF的业务优化控制策略, 以使 PCEF对业务传输的控制, 以及 CDF对业务的优化控制与终端和网络状况相适 应。 更新后的业务传输控制策略为第二业务传输控制策略, 更新后的业务优 化控制策略为第二业务优化控制策略。 The PCRF can dynamically update the service transmission control policy sent to the PCEF and the service optimization control policy sent to the CDF when the user subscription information changes and/or the network status changes, so that the PCEF controls the service transmission, and the CDF. Optimized control of the business is compatible with the terminal and network conditions Should. The updated service transmission control policy is the second service transmission control policy, and the updated service optimization control policy is the second service optimization control strategy.
S402b、 PCRF向 TDF发送第二业务优化控制策略。  S402b and the PCRF send a second service optimization control policy to the TDF.
S403b、 TDF将第二业务优化控制策略存储至本地緩存中。  S403b and TDF store the second service optimization control policy into the local cache.
S404b、 TDF向 PCRF返回响应消息。  S404b, TDF returns a response message to the PCRF.
S405b、 PCRF向 PCEF下发第二业务传输控制策略。  S405b and the PCRF send a second service transmission control policy to the PCEF.
S406b、 PCEF根据第二业务传输控制策略调整对终端请求的业务的资源 分配。  S406b. The PCEF adjusts resource allocation of the service requested by the terminal according to the second service transmission control policy.
需要说明的是, S402b - S404b的执行与 S405b的执行可以根据具体业务策 略确定执行顺序。 例如: 如果 S402b - S404b只涉及修改终端业务的转码控制, 此 S405b步骤可省略;如果业务策略是在网络繁忙时降低当前终端的传输带宽 和码率, 则可以先执行 S402b - S404b, 再执行 S405b; 如果业务策略是提高终 端的传输带宽和码率, 则可以先执行 S405b, 再执行 S402b - S404b。  It should be noted that the execution of S402b-S404b and the execution of S405b may determine the execution order according to a specific service policy. For example, if S402b-S404b only involves modifying the transcoding control of the terminal service, the step S405b may be omitted; if the service policy is to reduce the transmission bandwidth and code rate of the current terminal when the network is busy, S402b-S404b may be executed first, and then executed. S405b: If the service policy is to improve the transmission bandwidth and the code rate of the terminal, S405b may be performed first, and then S402b-S404b is performed.
S407b、 终端发出第二业务请求, TDF截获该第二业务请求。  S407b. The terminal sends a second service request, and the TDF intercepts the second service request.
S408b、 TDF将本地緩存中的第二业务优化控制策略携带在第二业务请求 中, 具体是添加到 HTTP User Agent头域返回给 CDF。  S408b. The TDF carries the second service optimization control policy in the local cache in the second service request, where is added to the HTTP User Agent header field and returned to the CDF.
与 S411a类似的, TDF接收到 PCRF下发的第二业务优化控制策略后, 也 可以直接将第二业务优化控制策略或者错误信息发送给 CDF。在这种情况下, 则省略 S403b以及 S407b的步骤。  Similar to S411a, after receiving the second service optimization control policy delivered by the PCRF, the TDF may directly send the second service optimization control policy or error information to the CDF. In this case, the steps of S403b and S407b are omitted.
S409b、 CDF根据第二业务请求中的第二业务优化控制策略, 调整对向终 端传输的业务的优化。  S409b and CDF adjust the optimization of the service transmitted to the terminal according to the second service optimization control policy in the second service request.
图 5a为本发明提供的业务分发控制方法一个实施例的流程示意图, 如图 3 所示, 本实施例提供中, PCEF为独立设置的网元, TDF和 CDF为一体集成设置 的网元, 下面以 TDF/CDF表示, 具体可以是在 TDF上扩展集成 CDF的功能, 还 可以是在 CDF上扩展集成 TDF的功能, 以下对上述网元执行业务分发控制方法 的过程进行详细说明。 该方法包括:  5A is a schematic flowchart of a method for controlling a service distribution according to an embodiment of the present invention. As shown in FIG. 3, in this embodiment, a PCEF is an independently set network element, and a TDF and a CDF are integrally integrated network elements. Specifically, it may be a function of extending the integrated CDF on the TDF, or a function of expanding the integrated TDF on the CDF. The following describes the process of performing the service distribution control method by the network element in detail. The method includes:
S501a、 UE附着网络建立 PDP上下文或 EPC缺省承载。  S501a. The UE attaches a network to establish a PDP context or an EPC default bearer.
S502a、 UE发起第一业务请求, 该第一业务请求并被重定向到或终结在 CDF网元。  S502a. The UE initiates a first service request, where the first service request is redirected or terminated to a CDF network element.
S503a、 UE发出的第一业务请求被 TDF/CDF截获。 S504a、 TDF/CDF根据第一业务请求中的 URL识别业务类别,确定业务对 应的视频标识及业务流五元组信息。 S503a. The first service request sent by the UE is intercepted by the TDF/CDF. The S504a and the TDF/CDF identify the service category according to the URL in the first service request, and determine the video identifier and the service flow quintuple information corresponding to the service.
S505a、 TDF/CDF向 PCRF上报业务流信息, 该业务流信息中包括 UE请求 的业务标识和业务流五元组信息。  The S505a and the TDF/CDF report the service flow information to the PCRF, where the service flow information includes the service identifier and the service flow quintuple information requested by the UE.
S506a、 PCRF根据业务流信息、 以及用户签约信息和网络状态之一, 查 找预设的业务策略,确定第一业务传输控制策略以及第一业务优化控制策略。  The S506a and the PCRF search for a preset service policy according to the service flow information, the user subscription information, and the network status, and determine the first service transmission control policy and the first service optimization control policy.
S507a、 PCRF向 PCEF下发第一业务优化控制策略。  The S507a and the PCRF deliver the first service optimization control policy to the PCEF.
S508a、 PCEF执行第一业务优化控制策略, 若 UE于 PCEF之间没有可用承 载, 则新建业务承载; 若有可用承载, 则修改当前承载的 QoS和 TFT等信息。  S508a and the PCEF perform the first service optimization control policy. If the UE has no available bearer between the PCEFs, the new service bearer is created. If the bearer is available, the current bearer QoS and TFT information are modified.
S509a、 PCEF向 PCRF返回响应消息。  S509a and PCEF return a response message to the PCRF.
S510a、 若响应消息指示 PCEF执行 UE请求业务的资源分配操作成功, 则 PCRF向 TDF/CDF下发第一业务优化控制策略, 否则向 TDF/CDF下发错误信  S510a. If the response message indicates that the PCEF performs the resource allocation operation of the UE requesting the service, the PCRF sends the first service optimization control policy to the TDF/CDF. Otherwise, the error message is sent to the TDF/CDF.
S511a、 如果 TDF/CDF收到错误信息, 则 TDF/CDF停止传输视频, 否则 TDF/CDF根据第一业务优化控制策略对向所述 UE传输的业务进行优化。 S511a. If the TDF/CDF receives the error message, the TDF/CDF stops transmitting the video, otherwise the TDF/CDF optimizes the service transmitted to the UE according to the first service optimization control policy.
S512a、 TDF/CDF通过第一业务请求响应( HTTP响应)将 UE请求的业务 数据返回给 UE。  S512a, TDF/CDF return the service data requested by the UE to the UE through the first service request response (HTTP response).
如果 UE请求的是 Adaptive streaming方式的视频业务, 则 UE从 TDF/CDF 获得一个视频片段后, 还可以继续根据列表(manifest )文件继续发出其他业 务请求以获取后续的视频片段。  If the UE requests the video service of the Adaptive streaming mode, after obtaining a video segment from the TDF/CDF, the UE may continue to issue other service requests according to the manifest file to obtain subsequent video segments.
本实施例与图 4a所示实施例的区别在于, TDF与 CDF—体集成设置形成 TDF/CDF, 因此, 相对于图 4a所示实施例, 省去了 TDF与 CDF之间的外部交 互过程, 其他过程均可参见图 4a所示实施例中的相应描述。  The difference between this embodiment and the embodiment shown in FIG. 4a is that the TDF and the CDF-body integration arrangement form a TDF/CDF. Therefore, the external interaction process between the TDF and the CDF is omitted with respect to the embodiment shown in FIG. 4a. Other processes can be seen in the corresponding description in the embodiment shown in Figure 4a.
图 5b为本发明提供的业务分发控制方法一个实施例的流程示意图, 如图 3 所示, 在图 5a所示实施例的基础上, 本实施例提供了当用户签约信息和 /或网络 状态改变时, 独立设置的 PCEF, 以及一体集成的 TDF和 CDF执行业务分发控制 方法的进一步过程, 该方法包括:  FIG. 5b is a schematic flowchart of an embodiment of a service distribution control method according to the present invention. As shown in FIG. 3, on the basis of the embodiment shown in FIG. 5a, this embodiment provides a change in user subscription information and/or network status. When the PCEF is independently set up, and the integrated TDF and CDF perform a further process of the service distribution control method, the method includes:
S501b、 用户签约信息发生变化和 /或网络状态发生变化, 则 PCRF重新确 定得到第二业务传输控制策略和第二业务优化控制策略。  S501b, the user subscription information changes, and/or the network status changes, and the PCRF re-determines the second service transmission control policy and the second service optimization control policy.
S502b、 PCRF向 TDF/CDF下发第二业务优化控制策略。 S503b、 TDF/CDF根据第二业务请求中的第二业务优化控制策略,调整对 向终端传输的业务的优化。 S502b and PCRF send a second service optimization control policy to the TDF/CDF. The S503b and the TDF/CDF adjust the optimization of the service transmitted by the terminal according to the second service optimization control policy in the second service request.
S504b、 TDF/CDF向 PCRF返回响应消息。  S504b, TDF/CDF returns a response message to the PCRF.
S505b、 PCRF向 PCEF下发第二业务传输控制策略。  S505b and the PCRF send a second service transmission control policy to the PCEF.
S506b、 PCEF根据第二业务传输控制策略调整对终端请求的业务的资源 分配。  S506b. The PCEF adjusts resource allocation of the service requested by the terminal according to the second service transmission control policy.
S507b、 TDF/CDF向 UE返回根据第二业务优化控制策略调整后的视频片 段。  S507b, TDF/CDF return the video segment adjusted according to the second service optimization control policy to the UE.
同样的, 本实施例与图 4b所示实施例的区别也在于, TDF与 CDF—体集 成设置形成 TDF/CDF, 因此, 相对于图 4b所示实施例, 省去了 TDF与 CDF之 间的外部交互过程, 其他过程均可参见图 4b所示实施例中的相应描述。  Similarly, the difference between this embodiment and the embodiment shown in FIG. 4b is that the TDF and the CDF-body integrated arrangement form the TDF/CDF. Therefore, compared with the embodiment shown in FIG. 4b, the relationship between the TDF and the CDF is omitted. For the external interaction process, other processes can be referred to the corresponding description in the embodiment shown in FIG. 4b.
图 6a为本发明提供的业务分发控制方法一个实施例的流程示意图, 如图 3 所示, 本实施例提供中, PCEF、 TDF和 CDF为一体集成设置的网元, 以下以 PCEF/TDF/CDF表示, 具体可以是在 PCEF上扩展集成 TDF及 CDF的功能, 也可 以是在 TDF上扩展集成 PCEF和 CDF的功能, 还可以是在 CDF上扩展集成 PCEF 和 TDF的功能, 以下对上述网元执行业务分发控制方法的过程进行详细说明。  FIG. 6 is a schematic flowchart of an embodiment of a service distribution control method according to the present invention. As shown in FIG. 3, in this embodiment, a PC element, a TDF, and a CDF are integrally integrated, and the following is a PCEF/TDF/CDF. Specifically, the function of extending the integrated TDF and CDF on the PCEF may be extended, or the function of integrating the PCEF and the CDF may be extended on the TDF, or the function of integrating the PCEF and the TDF may be extended on the CDF, and the following functions are performed on the network element. The process of the business distribution control method is described in detail.
S601 a、 UE附着网络建立 PDP上下文或 EPC缺省承载。  S601 a. The UE attaches a network to establish a PDP context or an EPC default bearer.
S602a、 UE发起第一业务请求, 该第一业务请求并被重定向到或终结在 PCEF/TDF/CDF网元。  S602a. The UE initiates a first service request, and the first service request is redirected or terminated to a PCEF/TDF/CDF network element.
S603a、 UE发出的第一业务请求被 PCEF/TDF/CDF截获。  S603a. The first service request sent by the UE is intercepted by the PCEF/TDF/CDF.
S604a、 PCEF/TDF/CDF根据第一业务请求中的 URL识别业务类别, 确定 业务对应的视频标识及业务流五元组信息。  The S604a and the PCEF/TDF/CDF identify the service category according to the URL in the first service request, and determine the video identifier and the service flow quintuple information corresponding to the service.
S605a、 PCEF/TDF/CDF向 PCRF上报业务流信息, 该业务流信息中包括 UE请求的业务标识和业务流五元组信息。  The S605a and the PCEF/TDF/CDF report the service flow information to the PCRF, where the service flow information includes the service identifier and the service flow quintuple information requested by the UE.
S606a、 PCRF根据业务流信息、 以及用户签约信息和网络状态之一, 查 找预设的业务策略,确定第一业务传输控制策略以及第一业务优化控制策略。  The S606a and the PCRF search for a preset service policy according to the service flow information, the user subscription information, and the network status, and determine the first service transmission control policy and the first service optimization control policy.
S607a、 PCRF向 PCEF/TDF/CDF下发第一业务优化控制策略。  The S607a and the PCRF deliver the first service optimization control policy to the PCEF/TDF/CDF.
S608a、 PCEF/TDF/CDF执行第一业务优化控制策略, 若 UE于 PCEF之间 没有可用承载, 则新建业务承载; 若有可用承载, 则修改当前承载的 QoS和 TFT等信息。 S609a、 PCEF/TDF/CDF向 PCRF返回响应消息。 The S608a, the PCEF/TDF/CDF performs the first service optimization control policy, and if the UE has no available bearers between the PCEFs, the new service bearer is created; if the bearer is available, the current bearer QoS and TFT information are modified. S609a, PCEF/TDF/CDF returns a response message to the PCRF.
S610a、若响应消息指示 PCEF/TDF/CDF执行 UE请求业务的资源分配操作 成功, 则 PCRF向 PCEF/TDF/CDF下发第一业务优化控制策略, 否则向 PCEF/TDF/CDF下发错误信息。  S610a. If the response message indicates that the PCEF/TDF/CDF performs the resource allocation operation of the UE requesting the service, the PCRF sends the first service optimization control policy to the PCEF/TDF/CDF. Otherwise, the error message is sent to the PCEF/TDF/CDF.
S611a、 如果 PCEF/TDF/CDF收到错误信息, 则 PCEF/TDF/CDF停止传输 视频, 否则 PCEF/TDF/CDF根据第一业务优化控制策略对向所述 UE传输的业 务进行优化。  S611a. If the PCEF/TDF/CDF receives the error message, the PCEF/TDF/CDF stops transmitting the video, otherwise the PCEF/TDF/CDF optimizes the traffic transmitted to the UE according to the first service optimization control policy.
S612a、 PCEF/TDF/CDF通过第一业务请求响应 ( HTTP响应)将 UE请求 的业务数据返回给 UE。  S612a, PCEF/TDF/CDF return the service data requested by the UE to the UE through the first service request response (HTTP response).
如果 UE请求的是 Adaptive streaming方式的视频业务, 贝 J UE从 If the UE requests the video service of the Adaptive streaming mode, the Bay J UE
PCEF/TDF/CDF获得一个视频片段后, 还可以继续根据列表(manifest )文件 继续发出其他业务请求以获取后续的视频片段。 After PCEF/TDF/CDF obtains a video clip, it can continue to issue other service requests according to the manifest file to obtain subsequent video clips.
图 6b为本发明提供的业务分发控制方法一个实施例的流程示意图, 如图 3 所示, 在图 6a所示实施例的基础上, 本实施例提供了当用户签约信息和 /或网络 状态改变时, 一体集成的 PCEF、 TDF和 CDF执行业务分发控制方法的进一步过 程, 该方法包括:  FIG. 6b is a schematic flowchart of an embodiment of a service distribution control method according to the present invention. As shown in FIG. 3, on the basis of the embodiment shown in FIG. 6a, this embodiment provides a change in user subscription information and/or network status. At the same time, the integrated PCEF, TDF and CDF perform a further process of the service distribution control method, the method comprising:
S601b、 用户签约信息发生变化和 /或网络状态发生变化, 则 PCRF重新确 定得到第二业务传输控制策略和第二业务优化控制策略。  If the S601b, the user subscription information changes, and/or the network status changes, the PCRF re-determines the second service transmission control policy and the second service optimization control policy.
S602b、 PCRF向 PCEF/TDF/CDF下发第二业务优化控制策略。  S602b and PCRF send a second service optimization control policy to the PCEF/TDF/CDF.
S603b、 PCEF/TDF/CDF根据第二业务请求中的第二业务优化控制策略, 调整对向终端传输的业务的优化。  S603b, the PCEF/TDF/CDF adjusts the optimization of the service transmitted by the terminal according to the second service optimization control policy in the second service request.
S604b、 PCEF/TDF/CDF向 PCRF返回响应消息。  S604b, PCEF/TDF/CDF returns a response message to the PCRF.
S605b、 PCRF向 PCEF/DF/CDF下发第二业务传输控制策略。  S605b and PCRF send a second service transmission control policy to the PCEF/DF/CDF.
S606b、 PCEF/DF/CDF根据第二业务传输控制策略调整对终端请求的业 务的资源分配。  S606b, PCEF/DF/CDF adjust resource allocation for the service requested by the terminal according to the second service transmission control policy.
S607b、 PCEF/TDF/CDF向 UE返回根据第二业务优化控制策略调整后的视 频片段。  S607b, PCEF/TDF/CDF returns to the UE a video segment adjusted according to the second service optimization control policy.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程序代码的介 质。 A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. Including the steps of the above method embodiments; The storage medium includes: a ROM, a RAM, a magnetic disk, or an optical disk, and the like, which can store program codes.
图 7为本发明提供的策略与计费规则功能实体 PCRF—个实施例的结构 示意图, 如图 7所示, 该 PCRF包括: 接收器 11、 处理器 12和发送器 13; 接收器 11 , 用于获取终端的业务流信息, 业务流信息中至少包括终端请 求的业务标识和业务流五元组信息;  FIG. 7 is a schematic structural diagram of a policy and charging rule function entity PCRF according to an embodiment of the present invention. As shown in FIG. 7, the PCRF includes: a receiver 11, a processor 12, and a transmitter 13; and a receiver 11 Obtaining service flow information of the terminal, where the service flow information includes at least a service identifier and a service flow quintuple information requested by the terminal;
处理器 12, 用于根据业务流信息、 以及至少终端的用户签约信息和网络 状态之一, 查找预设的业务策略, 确定第一业务传输控制策略和第一业务优 化控制策略;  The processor 12 is configured to: according to the service flow information, and at least one of the user subscription information and the network status of the terminal, search for a preset service policy, and determine the first service transmission control policy and the first service optimization control policy;
发送器 13 , 用于将第一业务传输控制策略下发给策略与计费执行功能实 体 PCEF, 以使 PCEF根据第一业务传输控制策略对终端请求的业务进行资源 分配, 将第一业务优化控制策略下发给内容分发功能实体 CDF, 以使 CDF 根据第一业务优化控制策略对向终端传输的业务进行优化。  The transmitter 13 is configured to send the first service transmission control policy to the policy and charging execution function entity PCEF, so that the PCEF allocates resources to the service requested by the terminal according to the first service transmission control policy, and optimizes the first service. The policy is sent to the content distribution function entity CDF, so that the CDF optimizes the service transmitted to the terminal according to the first service optimization control policy.
可选的, 接收器 11还可以用于: 接收 PCEF返回的响应消息, 响应消息 用于指示 PCEF 对终端请求的业务资源分配成功, 或者响应消息用于指示 PCEF对终端请求的业务资源分配失败;  Optionally, the receiver 11 is further configured to: receive a response message returned by the PCEF, where the response message is used to indicate that the PCEF successfully allocates the service resource requested by the terminal, or the response message is used to indicate that the PCEF fails to allocate the service resource requested by the terminal;
若接收器接收的响应消息指示 PCEF对终端请求的业务资源分配成功, 则发送器 13可以用于将第一优化控制策略下发给 CDF。  If the response message received by the receiver indicates that the PCEF successfully allocates the service resource requested by the terminal, the transmitter 13 may be configured to send the first optimized control policy to the CDF.
可选的, 若接收器 11接收的响应消息指示 PCEF对终端请求的业务资源 分配失败, 则发送器 13还可以用于: 向 CDF下发错误信息, 以指示 CDF停 止向终端传输请求的业务。  Optionally, if the response message received by the receiver 11 indicates that the PCEF fails to allocate the service resource requested by the terminal, the sender 13 may be further configured to: send an error message to the CDF to instruct the CDF to stop transmitting the requested service to the terminal.
进一步的, 处理器 12 还可以用于: 根据变化后的用户签约信息和 /或网 络状态, 确定第二业务传输控制策略和第二业务优化控制策略;  Further, the processor 12 is further configured to: determine, according to the changed user subscription information and/or the network status, the second service transmission control policy and the second service optimization control policy;
发送器 13还可以用于:将第二业务传输控制策略下发给策略与计费执行 功能实体 PCEF,以使 PCEF根据第二业务传输控制策略调整对终端请求的业 务的资源分配, 将第二业务优化控制策略下发给内容分发功能实体 CDF, 以 使 CDF根据第二业务优化控制策略调整对向终端传输的业务的优化。  The transmitter 13 may be further configured to: send the second service transmission control policy to the policy and charging execution function entity PCEF, so that the PCEF adjusts the resource allocation of the service requested by the terminal according to the second service transmission control policy, and the second The service optimization control policy is sent to the content distribution function entity CDF, so that the CDF adjusts the optimization of the service transmitted to the terminal according to the second service optimization control policy.
进一步的, 处理器 12还可以用于: 根据不同的业务类别、 不同的第三方 业务提供商以及不同的用户签约信息中的至少一个确定业务策略, 业务策略 包括: 业务流模板、 计费方法、 业务传输 QoS、 门控信息、 授权最大业务带 宽、 是否允许业务优化指示信息中的至少一个。 Further, the processor 12 may be further configured to: determine a service policy according to at least one of a different service category, a different third-party service provider, and different user subscription information, where the service policy includes: a service flow template, a charging method, Service transmission QoS, gating information, authorized maximum service band Width, whether to allow at least one of the service optimization indication information.
本发明实施例提供的 PCRF,为本发明提供的业务分发控制方法的执行设 备, PCRF执行业务分发控制方法的具体过程可参见方法实施例, 在此不再 赘述。  The PCRF provided by the embodiment of the present invention is the execution device of the service distribution control method provided by the present invention. For the specific process of the method for performing the service distribution control by the PCRF, refer to the method embodiment, and details are not described herein again.
本发明实施例提供的 PCRF,根据终端请求的业务的业务信息、用户签约 信息及网络状态, 动态的确定业务传输控制策略和业务优化控制策略, 并将 业务传输控制策略下发给 PCEF, 使 PCEF对终端的业务进行资源分配; 将业 务优化控制策略下发给 CDF,使 CDF对向终端传输的业务进行优化。从而实 现不同用户的不同业务合理占用网络资源, 并对业务内容实施优化处理, 避 免造成网络拥塞, 保证用户的正常业务体验。  The PCRF provided by the embodiment of the present invention dynamically determines the service transmission control policy and the service optimization control policy according to the service information, the user subscription information, and the network status of the service requested by the terminal, and sends the service transmission control policy to the PCEF to enable the PCEF. Resource allocation is performed on the service of the terminal; the service optimization control policy is sent to the CDF, so that the CDF optimizes the service transmitted to the terminal. Therefore, different services of different users can be used to occupy the network resources reasonably, and the service content is optimized to avoid network congestion and ensure the normal service experience of the user.
图 8为本发明提供的流量检测功能实体 TDF—个实施例的结构示意图, 如图 8所示, 该 TDF包括: 接收器 21、 处理器 22和发送器 23;  FIG. 8 is a schematic structural diagram of a flow detection function entity TDF according to an embodiment of the present invention. As shown in FIG. 8, the TDF includes: a receiver 21, a processor 22, and a transmitter 23;
接收器 21 , 用于获取终端的第一业务请求; 还用于接收 PCRF下发的第 一业务优化控制策略;  The receiver 21 is configured to acquire a first service request of the terminal, and is further configured to receive a first service optimization control policy that is sent by the PCRF.
处理器 22, 用于根据第一业务请求, 得到终端的业务流信息, 业务流信 息中至少包括终端请求的业务标识和业务流五元组信息;  The processor 22 is configured to obtain service flow information of the terminal according to the first service request, where the service flow information includes at least a service identifier and a service flow quintuple information requested by the terminal;
发送器 23 , 用于将业务流信息上报给策略与计费规则功能实体 PCRF, 以使 PCRF根据业务流信息、以及至少终端的用户签约信息和网络状态之一, 查找对应的业务策略,确定第一业务传输控制策略和第一业务优化控制策略。  The sender 23 is configured to report the service flow information to the policy and charging rule function entity PCRF, so that the PCRF searches for the corresponding service policy according to the service flow information, and at least one of the terminal subscription information and the network status of the terminal, and determines the first A service transmission control strategy and a first service optimization control strategy.
图 9为本发明提供的流量检测功能实体 TDF又一个实施例的结构示意 图, 如图 9所示, 在图 8的基础上, TDF还可以包括控制器 24;  Figure 9 is a schematic structural diagram of another embodiment of the traffic detection function entity TDF provided by the present invention, as shown in Figure 9, on the basis of Figure 8, the TDF may further include a controller 24;
作为一种可行的实施方式, 可以对 TDF的现有功能和结构进行扩展, 使 之具有 CDF的功能, 具体的:  As a feasible implementation, the existing functions and structures of the TDF can be extended to have the function of CDF. Specifically:
控制器 24可以用于:若接收器接收 PCRF下发的第一业务优化控制策略 , 则根据第一业务优化控制策略, 对向终端传输的业务进行优化。  The controller 24 can be configured to: if the receiver receives the first service optimization control policy delivered by the PCRF, optimize the service transmitted to the terminal according to the first service optimization control policy.
进一步的, 接收器 21还可以用于: 接收 PCRF下发的第二业务优化控制 策略;  Further, the receiver 21 is further configured to: receive a second service optimization control policy that is sent by the PCRF;
控制器 24还可以用于: 若接收器 21接收到第二优化控制策略, 则根据 第二业务优化控制策略, 调整对向终端传输的业务的优化, 第二业务优化控 制策略由 PCRF根据变化后的用户签约信息和 /或网络状态确定。 进一步的, 接收器 21还可以用于: 接收 PCRF下发的错误信息; 控制器 24还可以用于: 若接收器接收到错误信息, 则停止向终端传输请 求的业务。 The controller 24 is further configured to: if the receiver 21 receives the second optimized control policy, adjust the optimization of the service transmitted by the terminal according to the second service optimization control policy, where the second service optimization control policy is changed by the PCRF User subscription information and/or network status determination. Further, the receiver 21 is further configured to: receive the error information sent by the PCRF; the controller 24 may be further configured to: if the receiver receives the error information, stop transmitting the requested service to the terminal.
可选的, 处理器 22还可以具体用于: 根据第一业务请求中携带的统一资 源定位符 URL识别终端请求的业务对应的业务标识,并根据第一业务请求得 到业务流五元组信息。  Optionally, the processor 22 is further configured to: identify, according to the unified resource locator URL carried in the first service request, a service identifier corresponding to the service requested by the terminal, and obtain the service flow quintuple information according to the first service request.
作为另一种可行的实施方式, TDF还可以仅作为 PCRF与 CDF之间的接 口, 具体的:  As another feasible implementation manner, the TDF can also be used only as an interface between the PCRF and the CDF, specifically:
发送器 23还可以用于: 若接收器 21接收到第一优化控制策略, 则将第 一控制策略发送给内容分发功能实体 CDF, 或者, 将第一业务优化控制策略 携带在第一业务请求中发送给 CDF。  The transmitter 23 is further configured to: if the receiver 21 receives the first optimized control policy, send the first control policy to the content distribution function entity CDF, or carry the first service optimization control policy in the first service request. Send to CDF.
进一步的, 接收器 21还可以用于: 接收 PCRF下发的第二业务优化控制 策略, 还用于接收终端发出的第二业务请求, 第二业务请求和第一业务请求 为终端针对同一业务发出的请求;  Further, the receiver 21 is further configured to: receive a second service optimization control policy that is sent by the PCRF, and is further configured to receive a second service request sent by the terminal, where the second service request and the first service request are sent by the terminal for the same service. Request
处理器 22还可以用于: 将第二业务优化控制策略存储至本地緩存中; 发送器 23还可以用于: 若接收器 21接收到终端发出的第二业务请求, 则将本地緩存中存储的第二业务优化控制策略携带在第二业务请求中发送给 CDF; 或者, 用于将所述接收器接收到的第二业务优化控制策略发送给所述 CDF。  The processor 22 is further configured to: store the second service optimization control policy into the local cache; the sender 23 is further configured to: if the receiver 21 receives the second service request sent by the terminal, the local cache is stored The second service optimization control policy is sent to the CDF in the second service request; or is used to send the second service optimization control policy received by the receiver to the CDF.
进一步的, 接收器 21还可以用于: 接收 PCRF下发的错误信息; 发送器 23还可以用于: 若接收器接收到错误信息, 则将错误信息发送给 所述 CDF, 或者将错误信息携带在第一业务请求中发送给 CDF。  Further, the receiver 21 is further configured to: receive error information sent by the PCRF; the transmitter 23 may be further configured to: if the receiver receives the error information, send the error information to the CDF, or carry the error information. Sent to the CDF in the first service request.
本发明实施例提供的 TDF, 为本发明提供的业务分发控制方法的执行设 备, 该设备可以独立设置, 也可以与 PCEF和 /或 CDF一体集成设置。 TDF 执行业务分发控制方法的具体过程可参见方法实施例, 在此不再赘述。  The TDF provided by the embodiment of the present invention is an execution device of the service distribution control method provided by the present invention. The device can be set independently or integrated with PCEF and/or CDF. For the specific process of the TDF to perform the service distribution control method, refer to the method embodiment, and details are not described herein again.
本发明实施例提供的 TDF, 可以将终端业务请求对应的业务流信息上报 给 PCRF, PCRF可以根据终端请求的业务的业务信息、 用户签约信息及网络 状态, 动态的确定业务优化控制策略通过 TDF下发给 CDF, 使 CDF对向终 端传输的业务进行优化。 从而实现不同用户的不同业务合理占用网络资源, 并对业务内容实施优化处理, 避免造成网络拥塞, 保证用户的正常业务体验。 图 10为本发明提供的内容分发功能实体 CDF—个实施例的结构示意图, 如图 10所示, 该 CDF包括: 接收器 31和控制器 32; The TDF provided by the embodiment of the present invention may report the service flow information corresponding to the terminal service request to the PCRF, and the PCRF may dynamically determine the service optimization control policy according to the service information, the user subscription information, and the network status of the service requested by the terminal. The CDF is sent to the CDF to optimize the traffic transmitted to the terminal. Therefore, different services of different users can be used to occupy the network resources reasonably, and the service content is optimized to avoid network congestion and ensure the normal service experience of the user. FIG. 10 is a schematic structural diagram of a content distribution function entity CDF according to an embodiment of the present invention. As shown in FIG. 10, the CDF includes: a receiver 31 and a controller 32;
接收器 31 , 用于接收第一业务优化控制策略, 第一业务优化控制策略由 策略与计费规则功能实体 PCRF根据业务流信息、 以及至少终端的用户签约 信息和网络状态之一, 查找对应的业务策略, 确定的;  The receiver 31 is configured to receive a first service optimization control policy, where the first service optimization control policy is searched by the policy and charging rule function entity PCRF according to the service flow information, and at least one of the terminal subscription information and the network status of the terminal. Business strategy
控制器 32, 用于若接收器接收到第一业务优化控制策略, 则根据第一业 务优化控制策略, 对向终端传输的业务进行优化。  The controller 32 is configured to optimize, according to the first service optimization control policy, the service transmitted to the terminal, if the receiver receives the first service optimization control policy.
图 11为本发明提供的内容分发功能实体 CDF又一个实施例的结构示意 图, 如图 11所示, 在图 10的基础上, 该 CDF还可以进一步包括: 发送器 33 和处理器 34;  Figure 11 is a schematic structural diagram of another embodiment of the content distribution function entity CDF provided by the present invention. As shown in Figure 11, on the basis of Figure 10, the CDF may further include: a transmitter 33 and a processor 34;
作为一种可行的实施例, 可以对 CDF的现有功能和结构进行扩展, 使之 具有 TDF的功能, 具体的:  As a possible embodiment, the existing functions and structures of the CDF can be extended to have the function of TDF, specifically:
接收器 31还可以用于: 获取终端的第一业务请求;  The receiver 31 is further configured to: obtain a first service request of the terminal;
控制器 32还可以用于: 根据第一业务请求, 得到终端的业务流信息, 业 务流信息中至少包括终端请求的业务标识和业务流五元组信息;  The controller 32 is further configured to: obtain the service flow information of the terminal according to the first service request, where the service flow information includes at least the service identifier and the service flow quintuple information requested by the terminal;
发送器 33 , 用于将业务流信息上报给策略与计费规则功能实体 PCRF, 以使 PCRF根据业务流信息、以及至少终端的用户签约信息和网络状态之一, 查找对应的业务策略,确定第一业务传输控制策略和第一业务优化控制策略; 接收器 31可以具体用于: 接收 PCRF下发的第一业务优化控制策略。 进一步的, 处理器 34可以具体用于: 根据第一业务请求中携带的统一资 源定位符 URL识别终端请求的业务对应的业务标识,并根据第一业务请求得 到业务流五元组信息。  The sender 33 is configured to report the service flow information to the policy and charging rule function entity PCRF, so that the PCRF searches for the corresponding service policy according to the service flow information, and at least one of the terminal subscription information and the network status of the terminal, and determines the first A service transmission control policy and a first service optimization control policy; the receiver 31 may be specifically configured to: receive the first service optimization control policy delivered by the PCRF. Further, the processor 34 may be specifically configured to: identify, according to the unified resource locator URL carried in the first service request, a service identifier corresponding to the service requested by the terminal, and obtain the service flow quintuple information according to the first service request.
进一步的, 接收器 31还可以用于: 接收 PCRF下发的第二业务优化控制 策略, 第二业务优化控制策略由 PCRF根据变化后的用户签约信息和 /或网络 状态确定;  Further, the receiver 31 is further configured to: receive a second service optimization control policy that is sent by the PCRF, where the second service optimization control policy is determined by the PCRF according to the changed user subscription information and/or the network status;
控制器 32还可以用于: 若接收器接收到第二业务优化控制策略, 则根据 第二业务优化控制策略, 调整对向终端传输的业务的优化。  The controller 32 is further configured to: if the receiver receives the second service optimization control policy, adjust the optimization of the service transmitted by the terminal according to the second service optimization control policy.
进一步的, 接收器 31还可以用于: 接收 PCRF下发的错误信息; 控制器 32还可以用于: 若接收器接收到错误信息, 则停止向终端传输请 求的业务。 作为另一种可行的实施例, 接收器 31可以具体用于: 接收流量检测功能 实体 TDF发送的第一业务优化控制策略, 或者接收到 TDF发送的第一业务 请求, 第一业务请求中携带第一业务优化控制策略。 Further, the receiver 31 is further configured to: receive error information sent by the PCRF; the controller 32 may be further configured to: if the receiver receives the error information, stop transmitting the requested service to the terminal. As another possible embodiment, the receiver 31 may be specifically configured to: receive a first service optimization control policy sent by the traffic detection function entity TDF, or receive a first service request sent by the TDF, where the first service request carries the first A business optimization control strategy.
进一步的, 接收器 31还可以用于: 接收 TDF发送的第二业务优化控制 策略, 或者接收到 TDF发送的第二业务请求, 第二业务请求中携带第二业务 优化控制策略, 第二业务优化控制策略由 PCRF根据变化后的用户签约信息 和 /或网络状态确定;  Further, the receiver 31 may be further configured to: receive a second service optimization control policy sent by the TDF, or receive a second service request sent by the TDF, where the second service request carries a second service optimization control policy, and the second service optimization The control policy is determined by the PCRF according to the changed user subscription information and/or network status;
控制器 32还可以用于: 若接收器 31接收到第二业务优化控制策略, 则 根据第二业务优化控制策略调整对向终端传输的业务的优化。  The controller 32 is further configured to: if the receiver 31 receives the second service optimization control policy, adjust the optimization of the service transmitted to the terminal according to the second service optimization control policy.
进一步的, 接收器 31还可以用于: 接收 TDF发送的错误信息, 或者接 收 TDF发送的第一业务请求, 第一业务请求中携带错误信息;  Further, the receiver 31 may be further configured to: receive the error information sent by the TDF, or receive the first service request sent by the TDF, where the first service request carries the error information;
控制器 32还可以用于: 若所述接收器接收到所述错误信息, 则停止向终 端传输请求的业务。  The controller 32 is further configured to: if the receiver receives the error information, stop transmitting the requested service to the terminal.
本发明实施例提供的 CDF, 为本发明提供的业务分发控制方法的执行设 备, 该设备可以独立设置, 也可以与 PCEF和 /或 TDF—体集成设置。 CDF 执行业务分发控制方法的具体过程可参见方法实施例, 在此不再赘述。  The CDF provided by the embodiment of the present invention is an execution device of the service distribution control method provided by the present invention, and the device can be set independently or integrated with the PCEF and/or the TDF. For the specific process of the CDF to perform the service distribution control method, refer to the method embodiment, and details are not described herein again.
本发明实施例提供的业务分发控制方法, CDF可以将终端业务请求对应 的业务流信息直接上报给 PCRF或者通过 TDF上报给 PCRF, PCRF可以根 据终端请求的业务的业务信息、 用户签约信息及网络状态, 动态的确定业务 优化控制策略, 并直接下发给 CDF, 或者通过 TDF下发给 CDF, 使 CDF对 向终端传输的业务进行优化。 从而实现不同用户的不同业务合理占用网络资 源, 并对业务内容实施优化处理, 避免造成网络拥塞, 保证用户的正常业务 体验。  In the service distribution control method provided by the embodiment of the present invention, the CDF may directly report the service flow information corresponding to the terminal service request to the PCRF or report it to the PCRF through the TDF. The PCRF may be based on the service information, the user subscription information, and the network status of the service requested by the terminal. Dynamically determine the service optimization control strategy and directly deliver it to the CDF, or send it to the CDF through the TDF, so that the CDF optimizes the service transmitted to the terminal. Therefore, different services of different users can be used to occupy the network resources reasonably, and the service content is optimized to avoid network congestion and ensure the normal service experience of the users.
图 12为本发明提供的策略与计费执行功能实体 PCEF—个实施例的结构 示意图, 如图 12所示, 该 PCEF包括: 接收器 41和处理器 42;  FIG. 12 is a schematic structural diagram of a policy and charging execution function entity PCEF according to an embodiment of the present invention. As shown in FIG. 12, the PCEF includes: a receiver 41 and a processor 42;
接收器 41 , 用于接收策略与计费规则功能实体 PCRF下发的第一业务传 输控制策略, 第一业务传输控制策略由 PCRF根据终端请求的业务的业务流 信息、 以及至少终端的用户签约信息和网络状态之一, 查找对应的业务策略, 确定的;  The receiver 41 is configured to receive a first service transmission control policy delivered by the policy and charging rule function entity PCRF, where the first service transmission control policy is used by the PCRF according to the service flow information of the service requested by the terminal, and at least the user subscription information of the terminal And one of the network states, find the corresponding business policy, and determine;
处理器 42, 用于根据第一传输控制策略, 对终端请求的业务进行资源分 配。 The processor 42 is configured to perform resource allocation on the service requested by the terminal according to the first transmission control policy. Match.
图 13为本发明提供的策略与计费执行功能实体 PCEF又一个实施例的结 构示意图, 如图 13所示, 在图 12的基础上, 该 PCEF还可以包括: 发送器 43;  FIG. 13 is a schematic structural diagram of another embodiment of a policy and charging execution function entity PCEF according to the present invention. As shown in FIG. 13, on the basis of FIG. 12, the PCEF may further include: a transmitter 43;
发送器 43 , 可以用于向 PCRF返回响应消息, 响应消息用于指示对终端 请求的业务资源分配成功, 以使 PCRF将第一业务优化控制策略下发给内容 分发功能实体 CDF, 或者, 响应消息用于指示对终端请求的业务资源分配失 败, 以使 PCRF向 CDF下发错误信息, 第一业务优化控制策略由 PCRF根据 业务流信息、 以及至少终端的用户签约信息和网络状态之一, 查找对应的业 务策略, 确定的。  The sender 43 may be configured to return a response message to the PCRF, where the response message is used to indicate that the service resource allocation requested by the terminal is successful, so that the PCRF sends the first service optimization control policy to the content distribution function entity CDF, or a response message. And indicating that the service resource allocation request to the terminal fails, so that the PCRF sends an error message to the CDF, where the first service optimization control policy is searched by the PCRF according to the service flow information, and at least one of the terminal subscription information and the network status of the terminal. Business strategy, ok.
进一步的, 接收器 41还可以用于: 接收 PCRF下发的第二业务传输控制 策略, 第二业务传输控制策略由 PCRF根据变化后的用户签约信息和 /或网络 状态确定;  Further, the receiver 41 is further configured to: receive a second service transmission control policy that is sent by the PCRF, where the second service transmission control policy is determined by the PCRF according to the changed user subscription information and/or the network status;
处理器 42还可以用于: 根据第二业务传输控制策略, 调整对终端请求的 业务的资源分配。  The processor 42 is further configured to: adjust resource allocation of the service requested by the terminal according to the second service transmission control policy.
本发明实施例提供的 PCEF,为本发明提供的业务分发控制方法的执行设 备, 该设备可以独立设置, 也可以与 CDF和 /或 TDF—体集成设置。 CDF执 行业务分发控制方法的具体过程可参见方法实施例, 在此不再赘述。  The PCEF provided by the embodiment of the present invention is an execution device of the service distribution control method provided by the present invention, and the device may be independently set, or may be integrated with the CDF and/or the TDF. For the specific process of the CDF to perform the service distribution control method, refer to the method embodiment, and details are not described herein again.
本发明实施例提供的 PCEF , PCEF可以根据终端请求的业务的业务信息、 用户签约信息及网络状态, 动态的确定业务传输控制策略, 并下发给 PCEF, 使 PCEF对终端传输的业务进行资源分配。 从而实现不同用户的不同业务合 理占用网络资源, 并对业务内容实施优化处理, 避免造成网络拥塞, 保证用 户的正常业务体验。  The PCEF and the PCEF provided by the embodiment of the present invention can dynamically determine the service transmission control policy according to the service information, the user subscription information, and the network status of the service requested by the terminal, and send the policy to the PCEF, so that the PCEF allocates resources to the service transmitted by the terminal. . Therefore, different services of different users are used to properly occupy network resources, and the service content is optimized to avoid network congestion and ensure normal user experience.
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或 者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本发明各实施例技术方案的精神和范围。  It should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

权 利 要求 Rights request
1、 一种业务分发控制方法, 其特征在于, 包括: A service distribution control method, comprising:
获取终端的业务流信息, 所述业务流信息中至少包括所述终端请求的业 务标识和业务流五元组信息;  Obtaining service flow information of the terminal, where the service flow information includes at least the service identifier and service flow quintuple information requested by the terminal;
根据所述业务流信息、 以及至少所述终端的用户签约信息和网络状态之 一, 查找预设的业务策略, 确定第一业务传输控制策略和第一业务优化控制 策略;  And determining, according to the service flow information, and at least one of the user subscription information and the network status of the terminal, a preset service policy, and determining a first service transmission control policy and a first service optimization control policy;
将所述第一业务传输控制策略下发给策略与计费执行功能实体 PCEF,以 使所述 PCEF根据所述第一业务传输控制策略对所述终端请求的业务进行资 源分配, 将所述第一业务优化控制策略下发给内容分发功能实体 CDF, 以使 所述 CDF根据所述第一业务优化控制策略对向所述终端传输的业务进行优 化。  Transmitting the first service transmission control policy to the policy and charging execution function entity PCEF, so that the PCEF performs resource allocation on the service requested by the terminal according to the first service transmission control policy, A service optimization control policy is sent to the content distribution function entity CDF, so that the CDF optimizes the service transmitted to the terminal according to the first service optimization control policy.
2、 根据权利要求 1所述的方法, 其特征在于, 所述将所述第一业务优化 控制策略下发给内容分发功能实体 CDF之前, 还包括:  The method according to claim 1, wherein before the sending the first service optimization control policy to the content distribution function entity CDF, the method further includes:
接收所述 PCEF返回的响应消息, 所述响应消息用于指示所述 PCEF对 所述终端请求的业务资源分配成功, 或者所述响应消息用于指示所述 PCEF 对所述终端请求的业务资源分配失败。  And receiving, by the PCEF, a response message, where the response message is used to indicate that the PCEF requests the service resource to be successfully allocated by the terminal, or the response message is used to indicate that the PCEF requests the service resource allocated by the terminal. failure.
3、 根据权利要求 2所述的方法, 其特征在于, 所述接收所述 PCEF返回 的响应消息之后, 还包括:  The method according to claim 2, wherein after receiving the response message returned by the PCEF, the method further includes:
若所述响应消息指示所述 PCEF对所述终端请求的业务资源分配成功, 则将所述第一优化控制策略下发给所述 CDF。  If the response message indicates that the PCEF is successfully allocated to the service resource requested by the terminal, the first optimized control policy is sent to the CDF.
4、 根据权利要求 2所述的方法, 其特征在于, 所述接收所述 PCEF返回 的响应消息之后, 还包括:  The method according to claim 2, wherein after receiving the response message returned by the PCEF, the method further includes:
若所述响应消息指示所述 PCEF对所述终端请求的业务资源分配失败, 则向所述 CDF下发错误信息, 以指示所述 CDF停止向所述终端传输请求的 业务。  And if the response message indicates that the PCEF fails to allocate the service resource requested by the terminal, sending an error message to the CDF to instruct the CDF to stop transmitting the requested service to the terminal.
5、 根据权利要求 1-4任一项所述的方法, 其特征在于, 若所述用户签约 信息和 /或所述网络状态发生变化, 则所述方法还包括:  The method according to any one of claims 1-4, wherein, if the user subscription information and/or the network status changes, the method further includes:
根据变化后的用户签约信息和 /或网络状态 , 确定第二业务传输控制策略 和第二业务优化控制策略; 将所述第二业务传输控制策略下发给策略与计费执行功能实体 PCEF,以 使所述 PCEF根据所述第二业务传输控制策略调整对所述终端请求的业务的 资源分配, 将所述第二业务优化控制策略下发给内容分发功能实体 CDF, 以 使所述 CDF根据所述第二业务优化控制策略调整对向所述终端传输的业务的 优化。 Determining a second service transmission control policy and a second service optimization control policy according to the changed user subscription information and/or network status; Transmitting the second service transmission control policy to the policy and charging execution function entity PCEF, so that the PCEF adjusts resource allocation of the service requested by the terminal according to the second service transmission control policy, The second service optimization control policy is sent to the content distribution function entity CDF, so that the CDF adjusts the optimization of the service transmitted to the terminal according to the second service optimization control policy.
6、 根据权利要求 1-5任一项所述的方法, 其特征在于, 所述获取终端的 业务流信息之前, 还包括: 根据不同的业务类别、 不同的第三方业务提供商 以及不同的用户签约信息中的至少一个确定所述业务策略, 所述业务策略包 括: 业务流模板、 计费方法、 业务传输 QoS、 授权最大业务带宽、 门控信息、 是否允许业务优化指示信息中的至少一个。  The method according to any one of claims 1-5, wherein before the acquiring the service flow information of the terminal, the method further includes: according to different service categories, different third-party service providers, and different users. At least one of the subscription information determines the service policy, where the service policy includes: at least one of a service flow template, a charging method, a service transmission QoS, an authorized maximum service bandwidth, a gating information, and whether to allow service optimization indication information.
7、 根据权利要求 1-6任一项所述的方法, 其特征在于, 所述第一业务传 输控制策略包括业务流模板、 计费方法、 业务传输 QoS、 门控信息中的至少 一个。  The method according to any one of claims 1-6, wherein the first service transmission control policy comprises at least one of a service flow template, a charging method, a service transmission QoS, and a gating information.
8、 根据权利要求 1-7任一项所述的方法, 其特征在于, 所述第一业务优 化控制策略包括授权最大业务带宽、 门控信息、 是否允许业务优化指示信息 中的至少一个。  The method according to any one of claims 1 to 7, wherein the first service optimization control policy comprises at least one of authorizing maximum service bandwidth, gating information, and whether to allow service optimization indication information.
9、 一种业务分发控制方法, 其特征在于, 包括:  9. A service distribution control method, comprising:
根据获取的终端的第一业务请求, 得到所述终端的业务流信息, 所述业 务流信息中至少包括所述终端请求的业务标识和业务流五元组信息;  And obtaining the service flow information of the terminal according to the obtained first service request of the terminal, where the service flow information includes at least the service identifier and the service flow quintuple information requested by the terminal;
将所述业务流信息上报给策略与计费规则功能实体 PCRF , 以使所述 Reporting the service flow information to the policy and charging rule function entity PCRF, so that the
PCRF根据所述业务流信息、以及至少所述终端的用户签约信息和网络状态之 一, 查找对应的业务策略, 确定第一业务传输控制策略和第一业务优化控制 策略; The PCRF searches for a corresponding service policy according to the service flow information, and at least one of the user subscription information and the network status of the terminal, and determines a first service transmission control policy and a first service optimization control policy;
若接收所述 PCRF下发的所述第一业务优化控制策略, 则根据所述第一 业务优化控制策略, 对向所述终端传输的业务进行优化。  If the first service optimization control policy delivered by the PCRF is received, the service transmitted to the terminal is optimized according to the first service optimization control policy.
10、 根据权利要求 9所述的方法, 其特征在于, 所述根据获取的终端的 第一业务请求, 得到所述终端的业务流信息, 包括:  The method according to claim 9, wherein the obtaining the service flow information of the terminal according to the obtained first service request of the terminal includes:
流量检测功能实体 TDF截获所述终端发出的所述第一业务请求,根据所 述第一业务请求中携带的统一资源定位符 URL识别所述终端请求的业务对 应的业务标识, 并根据所述第一业务请求得到所述业务流五元组信息; 所述将所述业务信息流上报给策略与计费规则功能实体 PCRF, 包括: 所述 TDF将所述业务信息流上报给所述 PCRF。 The traffic detection function entity TDF intercepts the first service request sent by the terminal, and identifies a service identifier corresponding to the service requested by the terminal according to the uniform resource locator URL carried in the first service request, and according to the A service request obtains the service stream quintuple information; The reporting the service information flow to the policy and charging rule function entity PCRF includes: reporting, by the TDF, the service information flow to the PCRF.
11、 根据权利要求 9或 10所述的方法, 其特征在于, 所述若接收所述 PCRF 下发的所述第一业务优化控制策略, 则根据所述第一业务优化控制策 略, 对向所述终端传输的业务进行优化, 包括:  The method according to claim 9 or 10, wherein, if the first service optimization control policy delivered by the PCRF is received, according to the first service optimization control policy, the opposite direction The services of the terminal transmission are optimized, including:
所述 TDF接收所述 PCRF下发的所述第一业务优化控制策略, 将所述第 一业务优化控制策略发送给所述 CDF, 或者将所述第一业务优化控制策略携 带在所述第一业务请求中发送给内容分发功能实体 CDF;  Receiving, by the TDF, the first service optimization control policy that is sent by the PCRF, sending the first service optimization control policy to the CDF, or carrying the first service optimization control policy in the first The service request is sent to the content distribution function entity CDF;
所述 CDF根据所述第一业务优化控制策略,对向所述终端传输的所述业 务进行优化。  The CDF optimizes the service transmitted to the terminal according to the first service optimization control policy.
12、 根据权利要求 9-11任一项所述的方法, 其特征在于, 所述若接收所 述 PCRF下发的所述第一业务优化控制策略, 则根据所述第一业务优化控制 策略, 对向所述终端传输的业务进行优化之后, 还包括:  The method according to any one of claims 9 to 11, wherein, if the first service optimization control policy delivered by the PCRF is received, according to the first service optimization control policy, After optimizing the services transmitted to the terminal, the method further includes:
若接收所述 PCRF下发的第二业务优化控制策略, 则根据所述第二业务 优化控制策略, 调整对向所述终端传输的业务的优化, 所述第二业务优化控 制策略由所述 PCRF根据变化后的用户签约信息和 /或网络状态确定。  Receiving, by the second service optimization control policy, the optimization of the service transmitted to the terminal according to the second service optimization control policy, where the second service optimization control policy is used by the PCRF Determined based on the changed user subscription information and/or network status.
13、 根据权利要求 12所述的方法, 其特征在于, 所述若接收所述 PCRF 下发的第二业务优化控制策略, 则据所述第二业务优化控制策略, 调整对向 所述终端传输的业务的优化, 包括:  The method according to claim 12, wherein, if receiving the second service optimization control policy delivered by the PCRF, adjusting the transmission to the terminal according to the second service optimization control policy Optimization of the business, including:
所述 TDF接收所述 PCRF下发的所述第二业务优化控制策略;  Receiving, by the TDF, the second service optimization control policy delivered by the PCRF;
所述 TDF将所述第二业务优化控制策略发送给所述 CDF; 或者, 所述 TDF将所述第二业务优化控制策略存储至本地緩存中;若所述 TDF接收到所 述终端发出的第二业务请求, 将所述本地緩存中存储的所述第二业务优化控 制策略携带在所述第二业务请求中发送给所述 CDF, 所述第二业务请求和所 述第一业务请求为所述终端针对同一业务发出的请求;  The TDF sends the second service optimization control policy to the CDF; or the TDF stores the second service optimization control policy in a local cache; if the TDF receives the The second service request, the second service optimization control policy stored in the local cache is carried in the second service request and sent to the CDF, where the second service request and the first service request are Describe the request made by the terminal for the same service;
所述 CDF根据所述第二业务优化控制策略,调整对向所述终端传输的业 务的优化。  The CDF adjusts the optimization of the traffic transmitted to the terminal according to the second service optimization control policy.
14、 根据权利要求 9-13任一项所述的方法, 其特征在于, 还包括: 若接收所述 PCRF下发的错误信息,则停止向所述终端传输请求的业务。  The method according to any one of claims 9 to 13, further comprising: if receiving the error information delivered by the PCRF, stopping transmitting the requested service to the terminal.
15、 根据权利要求 14所述的方法, 其特征在于, 所述若接收所述 PCRF 下发的错误信息, 则停止向所述终端传输请求的业务, 包括: The method according to claim 14, wherein the receiving the PCRF If the error message is sent, the transmission of the requested service to the terminal is stopped, including:
所述 TDF接收所述 PCRF下发的错误信息, 将所述错误信息发送给所述 CDF, 或者将所述错误信息携带在所述第一业务请求中发送给所述 CDF; 所述 CDF根据所述错误信息, 停止向所述终端传输请求的业务。  The TDF receives the error information sent by the PCRF, sends the error information to the CDF, or carries the error information in the first service request and sends the error message to the CDF; The error message is described, and the transmission of the requested service to the terminal is stopped.
16、 一种业务分发控制方法, 其特征在于, 包括:  A service distribution control method, comprising:
接收到策略与计费规则功能实体 PCRF下发的第一业务传输控制策略, 所述第一业务传输控制策略由所述 PCRF根据终端请求的业务的业务流信息、 所述终端的用户签约信息和网络状态, 查找对应的业务策略, 确定的;  Receiving a first service transmission control policy delivered by the policy and charging rule function entity PCRF, where the first service transmission control policy is used by the PCRF according to the service flow information of the service requested by the terminal, the user subscription information of the terminal, and Network status, find the corresponding business policy, determined;
根据所述第一传输控制策略, 对终端请求的业务进行资源分配。  And performing resource allocation on the service requested by the terminal according to the first transmission control policy.
17、 根据权利要求 16所述的方法, 其特征在于, 所述根据所述第一传输 控制策略, 对终端请求的业务进行资源分配之后, 还包括:  The method according to claim 16, wherein, after the resource allocation is performed on the service requested by the terminal according to the first transmission control policy, the method further includes:
向所述 PCRF返回响应消息, 所述响应消息用于指示对所述终端请求的 业务资源分配成功, 以使所述 PCRF将第一业务优化控制策略下发给内容分 发功能实体 CDF, 或者, 所述响应消息用于指示对所述终端请求的业务资源 分配失败, 以使所述 PCRF向所述 CDF下发错误信息, 所述第一业务优化控 制策略由所述 PCRF根据所述业务流信息、 以及至少所述终端的用户签约信 息和网络状态之一, 查找对应的业务策略, 确定的。  Returning a response message to the PCRF, where the response message is used to indicate that the service resource allocation requested by the terminal is successful, so that the PCRF sends the first service optimization control policy to the content distribution function entity CDF, or The response message is used to indicate that the service resource allocation requested by the terminal fails, so that the PCRF sends an error message to the CDF, where the first service optimization control policy is used by the PCRF according to the service flow information, And at least one of the user subscription information and the network status of the terminal, and the corresponding service policy is determined and determined.
18、 根据权利要求 16或 17所述的方法, 其特征在于, 还包括: 接收到所述 PCRF下发的第二业务传输控制策略, 所述第二业务传输控 制策略由所述 PCRF根据变化后的用户签约信息和 /或网络状态确定;  The method according to claim 16 or 17, further comprising: receiving a second service transmission control policy delivered by the PCRF, where the second service transmission control policy is changed according to the PCRF User subscription information and/or network status determination;
根据所述第二业务传输控制策略, 调整对所述终端请求的业务的资源分 配。  And adjusting resource allocation of the service requested by the terminal according to the second service transmission control policy.
19、 一种策略与计费规则功能实体 PCRF, 其特征在于, 包括: 接收器, 用于获取终端的业务流信息, 所述业务流信息中至少包括所述 终端请求的业务标识和业务流五元组信息;  A policy and charging rule function entity PCRF, comprising: a receiver, configured to acquire service flow information of a terminal, where the service flow information includes at least a service identifier and a service flow requested by the terminal Tuple information
处理器, 用于根据所述业务流信息、 以及至少所述终端的用户签约信息 和网络状态之一, 查找预设的业务策略, 确定第一业务传输控制策略和第一 业务优化控制策略;  a processor, configured to: according to the service flow information, and at least one of the user subscription information and the network status of the terminal, search for a preset service policy, and determine a first service transmission control policy and a first service optimization control policy;
发送器, 用于将所述第一业务传输控制策略下发给策略与计费执行功能 实体 PCEF,以使所述 PCEF根据所述第一业务传输控制策略对所述终端请求 的业务进行资源分配, 将所述第一业务优化控制策略下发给内容分发功能实 体 CDF,以使所述 CDF根据所述第一业务优化控制策略对向所述终端传输的 业务进行优化。 a transmitter, configured to send the first service transmission control policy to the policy and charging execution function entity PCEF, so that the PCEF requests the terminal according to the first service transmission control policy And performing the resource allocation, and the first service optimization control policy is sent to the content distribution function entity CDF, so that the CDF optimizes the service transmitted to the terminal according to the first service optimization control policy.
20、 根据权利要求 19所述的 PCRF, 其特征在于, 所述接收器还用于: 接收所述 PCEF返回的响应消息, 所述响应消息用于指示所述 PCEF对所述 终端请求的业务资源分配成功, 或者所述响应消息用于指示所述 PCEF对所 述终端请求的业务资源分配失败;  The PCRF according to claim 19, wherein the receiver is further configured to: receive a response message returned by the PCEF, where the response message is used to indicate a service resource requested by the PCEF to the terminal If the allocation is successful, or the response message is used to indicate that the PCEF fails to allocate the service resource requested by the terminal;
若接收器接收的所述响应消息指示所述 PCEF对所述终端请求的业务资 源分配成功, 则所述发送器用于将所述第一优化控制策略下发给所述 CDF。  And sending, by the sender, the first optimized control policy to the CDF, if the response message received by the receiver indicates that the PCEF is successfully allocated to the service resource requested by the terminal.
21、 根据权利要求 20所述的 PCRF, 其特征在于, 若接收器接收的所述 响应消息指示所述 PCEF对所述终端请求的业务资源分配失败, 则所述发送 器还用于: 向所述 CDF下发错误信息, 以指示所述 CDF停止向所述终端传 输请求的业务。  The PCRF according to claim 20, wherein, if the response message received by the receiver indicates that the PCEF fails to allocate the service resource requested by the terminal, the transmitter is further configured to: The CDF sends an error message to instruct the CDF to stop transmitting the requested service to the terminal.
22、根据权利要求 19-21所述的 PCRF,其特征在于,所述处理器还用于: 根据变化后的用户签约信息和 /或网络状态 , 确定第二业务传输控制策略和第 二业务优化控制策略;  The PCRF according to any one of claims 19 to 21, wherein the processor is further configured to: determine, according to the changed user subscription information and/or network status, the second service transmission control policy and the second service optimization. Control Strategy;
所述发送器还用于: 将所述第二业务传输控制策略下发给策略与计费执 行功能实体 PCEF,以使所述 PCEF根据所述第二业务传输控制策略调整对所 述终端请求的业务的资源分配, 将所述第二业务优化控制策略下发给内容分 发功能实体 CDF,以使所述 CDF根据所述第二业务优化控制策略调整对向所 述终端传输的业务的优化。  The transmitter is further configured to: send the second service transmission control policy to the policy and charging execution function entity PCEF, so that the PCEF adjusts the request for the terminal according to the second service transmission control policy. Resource allocation of the service, the second service optimization control policy is sent to the content distribution function entity CDF, so that the CDF adjusts the optimization of the service transmitted to the terminal according to the second service optimization control policy.
23、 根据权利要求 19-22任一项所述的 PCRF, 其特征在于, 所述处理器 还用于: 根据不同的业务类别、 不同的第三方业务提供商以及不同的用户签 约信息中的至少一个确定所述业务策略, 所述业务策略包括: 业务流模板、 计费方法、 业务传输 QoS、 门控信息、 授权最大业务带宽、 是否允许业务优 化指示信息中的至少一个。  The PCRF according to any one of claims 19 to 22, wherein the processor is further configured to: at least according to different service categories, different third-party service providers, and different user subscription information. Determining the service policy, where the service policy includes: at least one of a service flow template, a charging method, a service transmission QoS, a gating information, an authorized maximum service bandwidth, and whether to allow service optimization indication information.
24、 一种流量检测功能实体 TDF, 其特征在于, 包括:  24. A traffic detection function entity TDF, comprising:
接收器, 用于获取终端的第一业务请求; 还用于接收所述 PCRF下发的 所述第一业务优化控制策略;  a receiver, configured to acquire a first service request of the terminal, and configured to receive the first service optimization control policy delivered by the PCRF;
处理器, 用于根据所述第一业务请求, 得到所述终端的业务流信息, 所 述业务流信息中至少包括所述终端请求的业务标识和业务流五元组信息; 发送器, 用于将所述业务流信息上报给策略与计费规则功能实体 PCRF, 以使所述 PCRF根据所述业务流信息、 以及至少所述终端的用户签约信息和 网络状态之一, 查找对应的业务策略, 确定第一业务传输控制策略和第一业 务优化控制策略。 a processor, configured to obtain, according to the first service request, service flow information of the terminal, where The service flow information includes at least the service identifier and the service flow quintuple information requested by the terminal, and the sender is configured to report the service flow information to the policy and charging rule function entity PCRF, so that the PCRF is configured according to the The service flow information, and at least one of the user subscription information and the network status of the terminal, find a corresponding service policy, and determine a first service transmission control policy and a first service optimization control policy.
25、 根据权利要求 24所述的 TDF, 其特征在于, 所述处理器具体用于: 根据所述第一业务请求中携带的统一资源定位符 URL识别所述终端请求的 业务对应的业务标识 ,并根据所述第一业务请求得到所述业务流五元组信息。  The TDF according to claim 24, wherein the processor is configured to: identify, according to the Uniform Resource Locator URL carried in the first service request, a service identifier corresponding to the service requested by the terminal, And obtaining, according to the first service request, the service flow quintuple information.
26、 根据权利要求 24或 25所述的 TDF, 其特征在于, 还包括: 控制器, 用于若所述接收器接收所述 PCRF下发的所述第一业务优化控 制策略, 则根据所述第一业务优化控制策略, 对向所述终端传输的业务进行 优化。  The TDF according to claim 24 or 25, further comprising: a controller, configured to: if the receiver receives the first service optimization control policy delivered by the PCRF, according to the The first service optimization control policy optimizes the service transmitted to the terminal.
27、 根据权利要求 28所述的 TDF, 其特征在于, 所述接收器还用于: 接 收所述 PCRF下发的第二业务优化控制策略;  The TDF according to claim 28, wherein the receiver is further configured to: receive a second service optimization control policy delivered by the PCRF;
所述控制器还用于: 若所述接收器接收到所述第二优化控制策略, 则根 据所述第二业务优化控制策略, 调整对向所述终端传输的业务的优化, 所述 第二业务优化控制策略由所述 PCRF根据变化后的用户签约信息和 /或网络状 态确定。  The controller is further configured to: if the receiver receives the second optimized control policy, adjust, according to the second service optimization control policy, optimization of a service transmitted to the terminal, where the second The service optimization control policy is determined by the PCRF based on the changed user subscription information and/or network status.
28、 根据权利要求 26或 27所述的 TDF, 其特征在于, 所述接收器还用 于: 接收所述 PCRF下发的错误信息;  The TDF according to claim 26 or 27, wherein the receiver is further configured to: receive error information sent by the PCRF;
所述控制器还用于: 若所述接收器接收到所述错误信息, 则停止向所述 终端传输请求的业务。  The controller is further configured to: if the receiver receives the error information, stop transmitting the requested service to the terminal.
29、 根据权利要求 24或 25所述的 TDF, 其特征在于, 所述发送器还用 于: 若所述接收器接收到所述第一优化控制策略, 则将所述第一控制策略发 送给所述内容分发功能实体 CDF, 或者, 将所述第一业务优化控制策略携带 在所述第一业务请求中发送给所述 CDF。  The TDF according to claim 24 or 25, wherein the transmitter is further configured to: if the receiver receives the first optimization control policy, send the first control policy to The content distribution function entity CDF, or the first service optimization control policy is carried in the first service request and sent to the CDF.
30、 根据权利要求 29所述的 TDF, 其特征在于, 所述接收器还用于: 接 收所述 PCRF下发的第二业务优化控制策略, 还用于接收所述终端发出的第 二业务请求, 所述第二业务请求和所述第一业务请求为所述终端针对同一业 务发出的请求; 所述处理器还用于: 将所述第二业务优化控制策略存储至本地緩存中; 所述发送器还用于:若所述接收器接收到所述终端发出的第二业务请求, 则将所述本地緩存中存储的所述第二业务优化控制策略携带在所述第二业务 请求中发送给所述 CDF; 或者, 用于将所述接收器接收到的第二业务优化控 制策略发送给所述 CDF。 The TDF according to claim 29, wherein the receiver is further configured to: receive a second service optimization control policy delivered by the PCRF, and further receive a second service request sent by the terminal The second service request and the first service request are requests sent by the terminal for the same service; The processor is further configured to: store the second service optimization control policy into a local cache; the sender is further configured to: if the receiver receives the second service request sent by the terminal, The second service optimization control policy stored in the local cache is sent to the CDF in the second service request; or, the second service optimization control policy received by the receiver is sent to The CDF.
31、 根据权利要求 29或 30所述的 TDF, 其特征在于, 所述接收器还用 于: 接收所述 PCRF下发的错误信息;  The TDF according to claim 29 or 30, wherein the receiver is further configured to: receive error information sent by the PCRF;
所述发送器还用于: 若所述接收器接收到所述错误信息, 则将所述错误 信息发送给所述 CDF, 或者将所述错误信息携带在所述第一业务请求中发送 给所述 CDF。  The transmitter is further configured to: if the receiver receives the error information, send the error information to the CDF, or carry the error information in the first service request and send it to the Said CDF.
32、 一种内容分发功能实体 CDF, 其特征在于, 包括:  32. A content distribution function entity CDF, comprising:
接收器, 用于接收第一业务优化控制策略, 所述第一业务优化控制策略 由策略与计费规则功能实体 PCRF根据业务流信息、 以及至少终端的用户签 约信息和网络状态之一查找对应的业务策略, 确定的;  a receiver, configured to receive a first service optimization control policy, where the first service optimization control policy is searched by the policy and charging rule function entity PCRF according to service flow information, and at least one of user subscription information and network status of the terminal Business strategy
控制器, 用于若所述接收器接收到所述第一业务优化控制策略, 则根据 所述第一业务优化控制策略, 对向所述终端传输的业务进行优化。  And a controller, configured to optimize, according to the first service optimization control policy, the service transmitted to the terminal, if the receiver receives the first service optimization control policy.
33、 根据权利要求 32所述的 CDF, 其特征在于, 所述接收器还用于: 获 取终端的第一业务请求;  The CDF according to claim 32, wherein the receiver is further configured to: obtain a first service request of the terminal;
所述控制器还用于: 根据所述第一业务请求, 得到所述终端的业务流信 息, 所述业务流信息中至少包括所述终端请求的业务标识和业务流五元组信 息;  The controller is further configured to: obtain the service flow information of the terminal according to the first service request, where the service flow information includes at least the service identifier and the service flow quintuple information requested by the terminal;
还包括: 发送器, 用于将所述业务流信息上报给策略与计费规则功能实 体 PCRF, 以使所述 PCRF根据所述业务流信息、以及至少所述终端的用户签 约信息和网络状态之一, 查找对应的业务策略, 确定第一业务传输控制策略 和第一业务优化控制策略;  The method further includes: a transmitter, configured to report the service flow information to a policy and charging rule function entity PCRF, so that the PCRF is configured according to the service flow information, and at least the user subscription information and network status of the terminal First, searching for a corresponding service policy, and determining a first service transmission control policy and a first service optimization control policy;
所述接收器具体用于: 接收所述 PCRF下发的所述第一业务优化控制策 略。  The receiver is specifically configured to: receive the first service optimization control policy delivered by the PCRF.
34、 根据权利要求 33所述的 CDF, 其特征在于, 还包括:  The CDF according to claim 33, further comprising:
处理器,用于根据所述第一业务请求中携带的统一资源定位符 URL识别 所述终端请求的业务对应的业务标识, 并根据所述第一业务请求得到所述业 务流五元组信息。 a processor, configured to identify, according to the Uniform Resource Locator URL carried in the first service request, a service identifier corresponding to the service requested by the terminal, and obtain the service according to the first service request Information flow quintuple information.
35、 根据权利要求 33或 34所述的 CDF, 其特征在于, 所述接收器还用 于: 接收所述 PCRF下发的第二业务优化控制策略, 所述第二业务优化控制 策略由所述 PCRF根据变化后的用户签约信息和 /或网络状态确定;  The CDF according to claim 33 or claim 34, wherein the receiver is further configured to: receive a second service optimization control policy that is sent by the PCRF, where the second service optimization control policy is The PCRF is determined according to the changed user subscription information and/or network status;
所述控制器还用于: 若所述接收器接收到所述第二业务优化控制策略, 则根据所述第二业务优化控制策略, 调整对向所述终端传输的业务的优化。  The controller is further configured to: if the receiver receives the second service optimization control policy, adjust the optimization of the service transmitted to the terminal according to the second service optimization control policy.
36、 根据权利要求 33-35任一项所述的 CDF, 其特征在于, 所述接收器 还用于: 接收所述 PCRF下发的错误信息;  The CDF according to any one of claims 33 to 35, wherein the receiver is further configured to: receive error information delivered by the PCRF;
所述控制器还用于: 若所述接收器接收到所述错误信息, 则停止向所述 终端传输请求的业务。  The controller is further configured to: if the receiver receives the error information, stop transmitting the requested service to the terminal.
37、 根据权利要求 32所述的 CDF, 其特征在于, 所述接收器具体用于: 接收流量检测功能实体 TDF发送的第一业务优化控制策略, 或者接收到所述 TDF发送的第一业务请求, 所述第一业务请求中携带所述第一业务优化控制 策略。  The CDF according to claim 32, wherein the receiver is specifically configured to: receive a first service optimization control policy sent by the traffic detection function entity TDF, or receive a first service request sent by the TDF The first service request carries the first service optimization control policy.
38、 根据权利要求 37所述的 CDF, 其特征在于, 所述接收器还用于: 接 收所述 TDF发送的第二业务优化控制策略, 或者接收到所述 TDF发送的第 二业务请求, 所述第二业务请求中携带第二业务优化控制策略, 所述第二业 务优化控制策略由所述 PCRF根据变化后的用户签约信息和 /或网络状态确 定;  The CDF according to claim 37, wherein the receiver is further configured to: receive a second service optimization control policy sent by the TDF, or receive a second service request sent by the TDF, where The second service request carries a second service optimization control policy, where the second service optimization control policy is determined by the PCRF according to the changed user subscription information and/or network status;
所述控制器还用于: 若所述接收器接收到第二业务优化控制策略, 则根 据所述第二业务优化控制策略调整对向所述终端传输的业务的优化。  The controller is further configured to: if the receiver receives the second service optimization control policy, adjust the optimization of the service transmitted to the terminal according to the second service optimization control policy.
39、 根据权利要求 37或 38所述的 CDF, 其特征在于, 所述接收器还用 于: 接收所述 TDF发送的错误信息, 或者接收所述 TDF发送的所述第一业 务请求, 所述第一业务请求中携带错误信息;  The CDF according to claim 37 or claim 38, wherein the receiver is further configured to: receive error information sent by the TDF, or receive the first service request sent by the TDF, The first service request carries an error message;
所述控制器还用于: 若所述接收器接收到所述错误信息, 则停止向所述 终端传输请求的业务。  The controller is further configured to: if the receiver receives the error information, stop transmitting the requested service to the terminal.
40、 一种策略与计费执行功能实体 PCEF, 其特征在于, 包括: 接收器, 用于接收策略与计费规则功能实体 PCRF下发的第一业务传输 控制策略, 所述第一业务传输控制策略由所述 PCRF根据终端请求的业务的 业务流信息、 以及至少所述终端的用户签约信息和网络状态之一, 查找对应 的业务策略, 确定的; 40. A policy and charging enforcement function entity PCEF, comprising: a receiver, configured to receive a first service transmission control policy delivered by a policy and charging rule function entity PCRF, where the first service transmission control The policy is searched by the PCRF according to the service flow information of the service requested by the terminal, and at least one of the user subscription information and the network status of the terminal. Business strategy, identified;
处理器, 用于根据所述第一传输控制策略, 对终端请求的业务进行资源 分配。  And a processor, configured to perform resource allocation on the service requested by the terminal according to the first transmission control policy.
41、 根据权利要求 40所述的 PCEF, 其特征在于, 还包括:  The PCEF according to claim 40, further comprising:
发送器, 用于向所述 PCRF返回响应消息, 所述响应消息用于指示对所 述终端请求的业务资源分配成功, 以使所述 PCRF将第一业务优化控制策略 下发给内容分发功能实体 CDF, 或者, 所述响应消息用于指示对所述终端请 求的业务资源分配失败, 以使所述 PCRF向所述 CDF下发错误信息, 所述第 一业务优化控制策略由所述 PCRF根据所述业务流信息、 以及至少所述终端 的用户签约信息和网络状态之一, 查找对应的业务策略, 确定的。  a sender, configured to send a response message to the PCRF, where the response message is used to indicate that the service resource requested by the terminal is successfully allocated, so that the PCRF sends the first service optimization control policy to the content distribution function entity. The CDF, or the response message is used to indicate that the service resource allocation requested by the terminal fails, so that the PCRF sends an error message to the CDF, where the first service optimization control policy is determined by the PCRF. Describe the service flow information, and at least one of the user subscription information and the network status of the terminal, and find a corresponding service policy, and determine.
42、根据权利要求 40或 41所述的 PCEF, 其特征在于, 所述接收器还用 于: 接收所述 PCRF下发的第二业务传输控制策略, 所述第二业务传输控制 策略由所述 PCRF根据变化后的用户签约信息和 /或网络状态确定;  The PCEF according to claim 40 or 41, wherein the receiver is further configured to: receive a second service transmission control policy delivered by the PCRF, where the second service transmission control policy is The PCRF is determined according to the changed user subscription information and/or network status;
所述处理器还用于: 根据所述第二业务传输控制策略, 调整对所述终端 请求的业务的资源分配。  The processor is further configured to: adjust resource allocation of services requested by the terminal according to the second service transmission control policy.
PCT/CN2011/082102 2011-11-11 2011-11-11 Method and device for controlling service delivery WO2012167546A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201180002934.3A CN103503512B (en) 2011-11-11 2011-11-11 Distribution of services control method and equipment
PCT/CN2011/082102 WO2012167546A1 (en) 2011-11-11 2011-11-11 Method and device for controlling service delivery

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/082102 WO2012167546A1 (en) 2011-11-11 2011-11-11 Method and device for controlling service delivery

Publications (1)

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

Family

ID=47295402

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/082102 WO2012167546A1 (en) 2011-11-11 2011-11-11 Method and device for controlling service delivery

Country Status (2)

Country Link
CN (1) CN103503512B (en)
WO (1) WO2012167546A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140143907A (en) * 2013-06-10 2014-12-18 삼성전자주식회사 Method and apparatus for assigning video bitrate in mobile communicatino system
CN105704695A (en) * 2016-03-30 2016-06-22 中国联合网络通信集团有限公司 MCDN charging method and MCDN charging system
CN106331747A (en) * 2015-06-30 2017-01-11 华为技术有限公司 Method and apparatus for video optimization

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105307219A (en) * 2014-06-20 2016-02-03 中国电信股份有限公司 Method and system for controlling service quality of communication service
CN106572453B (en) * 2015-10-09 2020-04-28 中国电信股份有限公司 Content charging method, charging network element, SP server and charging system
CN107911243B (en) * 2017-11-15 2022-08-05 刘昱 Network optimization method, device and computer readable storage medium
CN109150584B (en) * 2018-07-04 2022-02-25 北京中创腾锐技术有限公司 Method for providing acceleration support for network packet classification based on SIMD instruction

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101720112A (en) * 2009-04-28 2010-06-02 中兴通讯股份有限公司 Wireless source management method and device
CN101998531A (en) * 2009-08-11 2011-03-30 华为技术有限公司 Strategy and charging control rule authorization method, device and system
CN102131296A (en) * 2010-01-15 2011-07-20 中兴通讯股份有限公司 Method and system for controlling resources in full service converged network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453339B (en) * 2006-11-20 2011-11-30 华为技术有限公司 System for network fusion policy charging control architecture and processing method
CN101166101B (en) * 2007-09-25 2011-05-25 中兴通讯股份有限公司 Method for real time triggering the network session interaction via user subscription information update

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101720112A (en) * 2009-04-28 2010-06-02 中兴通讯股份有限公司 Wireless source management method and device
CN101998531A (en) * 2009-08-11 2011-03-30 华为技术有限公司 Strategy and charging control rule authorization method, device and system
CN102131296A (en) * 2010-01-15 2011-07-20 中兴通讯股份有限公司 Method and system for controlling resources in full service converged network

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140143907A (en) * 2013-06-10 2014-12-18 삼성전자주식회사 Method and apparatus for assigning video bitrate in mobile communicatino system
KR102080116B1 (en) 2013-06-10 2020-02-24 삼성전자 주식회사 Method and apparatus for assigning video bitrate in mobile communicatino system
CN106331747A (en) * 2015-06-30 2017-01-11 华为技术有限公司 Method and apparatus for video optimization
CN106331747B (en) * 2015-06-30 2019-10-18 华为技术有限公司 A kind of video optimized method and apparatus
CN105704695A (en) * 2016-03-30 2016-06-22 中国联合网络通信集团有限公司 MCDN charging method and MCDN charging system
CN105704695B (en) * 2016-03-30 2019-04-09 中国联合网络通信集团有限公司 A kind of MCDN charging method and system

Also Published As

Publication number Publication date
CN103503512A (en) 2014-01-08
CN103503512B (en) 2017-06-06

Similar Documents

Publication Publication Date Title
EP1926248B1 (en) Charging method, system, charging client and charging processing unit
EP2597906B1 (en) Method, device and system for data transmission
WO2022068622A1 (en) Method for controlling media streaming service transmission, user terminal, network node, system, storage medium, and electronic device
US20150237525A1 (en) Traffic Shaping and Steering for a Multipath Transmission Control Protocol Connection
US20140153392A1 (en) Application quality management in a cooperative communication system
WO2012167546A1 (en) Method and device for controlling service delivery
WO2010111953A1 (en) Method for quality of service control and network device
US8838156B2 (en) Multi-bearer rate control for transporting user plane data
WO2014036704A1 (en) Network transmission time delay control method, service quality control entity and communication device
KR102275579B1 (en) Method and apparatus for providing differentiated transmitting services
US20150207872A1 (en) Method and system for performing mobile cdn request routing
JP6478358B2 (en) Service processing method, PCRF, and service processing system
JP7566036B2 (en) Method for controlling the transmission of a media streaming task, electronic device, user terminal, network node, system and computer program product
WO2011144164A1 (en) Method, apparatus and system for data transmission
WO2012065500A1 (en) Service control method and system, evolved nodeb and packet data network gateway
WO2011147074A1 (en) Method, system and corresponding apparatus for implementing policy and charging control
WO2013091410A1 (en) Network access method, system and device
US8774207B2 (en) Methods for bearer reservation, maintenance, and use in a communication system
WO2013159617A1 (en) Method, system and control network element for network congestion
US12101663B2 (en) Technique for controlling and performing data traffic handling in a core network domain
WO2014179951A1 (en) Method and apparatus for improving service quality
WO2014176987A1 (en) Policy control method and network element
JP2016537853A (en) On-demand QoS for data connection
WO2012149833A1 (en) Resource and admission control method and system
CN113613290A (en) Downlink data stream transmission method, device and terminal

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11867420

Country of ref document: EP

Kind code of ref document: A1