WO2009132548A1 - Strategy determining function entity, home gateway, service quality controlling method and the system thereof - Google Patents

Strategy determining function entity, home gateway, service quality controlling method and the system thereof Download PDF

Info

Publication number
WO2009132548A1
WO2009132548A1 PCT/CN2009/071273 CN2009071273W WO2009132548A1 WO 2009132548 A1 WO2009132548 A1 WO 2009132548A1 CN 2009071273 W CN2009071273 W CN 2009071273W WO 2009132548 A1 WO2009132548 A1 WO 2009132548A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
policy
quality
home gateway
request
Prior art date
Application number
PCT/CN2009/071273
Other languages
French (fr)
Chinese (zh)
Inventor
吴钦
厉益舟
杨佩林
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2009132548A1 publication Critical patent/WO2009132548A1/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a policy decision function entity, a home gateway, a service quality control method, and a system. Background technique
  • the Next Generation Network is a service-driven network.
  • the transmission control layer of the NGN network provides user access and service access respectively.
  • the Network Attachment Control System (NACS) focuses on user access. Its functions include: terminal access management, user access management, network resource control interface, and control interface management with service access. User access management is independent of the terminal. It is the logical name of the contracted user entity. It needs to be authenticated and accounted for. It is the core of the user access part.
  • the Resource Admission Control System (RACS) focuses on service access. Its functions include: service identification management, service charging management, interface management with user access, network device control interface management, and so on.
  • NACS and RACS actually become the true public access infrastructure, which not only supports the access of IP Multimedia Subsystem (IMS) services, but also supports the access of all IP applications.
  • IMS IP Multimedia Subsystem
  • the home gateway used to integrate the access of multiple digital application devices in the home has attracted much attention, and it has been favored by operators because of the user's business requirements.
  • An important business requirement mentioned in the NGN RACF is that the NGN network is required to support resource admission control interaction with the Home Network.
  • Home network refers to a home information platform that integrates a home control network and a multimedia information network. It implements information equipment, communication equipment, entertainment equipment, household appliances, automation equipment, lighting equipment, and security (monitoring) devices within the family. And water and electricity heat meter Equipment for interconnection and management of equipment such as standby, home help alarms, and sharing of data and multimedia information.
  • the home network is divided into functional layers of the system, which can be roughly divided into a service layer, a control layer, a media layer, a bearer layer, and an access layer.
  • the bearer layer is a bearer network composed of routers and the like.
  • Home network QoS control is a key link in the implementation of QoS control.
  • the home gateway is the link between the broadband service and the home; the home gateway forwards the service and management request of the external network to the home network, and also provides the internal equipment of the home network to the service system. Connection;
  • the home gateway is also connected to the service platform as a terminating device to provide various broadband services for home users. With the deepening of the home network service, it is an embodiment of ensuring the QoS of each user terminal in the home network by reasonably allocating the required bandwidth for various services in the home gateway.
  • the QoS control of the home gateway includes two parts: service traffic identification and quality of service policy control.
  • the service traffic identification refers to identifying and distinguishing the types of service traffic of different terminals within the home at the home gateway.
  • the method of identifying traffic traffic is more static port binding.
  • the disadvantage is that dynamic ports are not supported, which is not conducive to users.
  • Another alternative service identification scheme is to design a dedicated traffic identifier, which automatically identifies the traffic by analyzing the application layer protocol through Deep Packet Inspection (DPI).
  • DPI Deep Packet Inspection
  • the disadvantage is that each packet needs to be Analysis is performed, so there is a high requirement for the performance of the home gateway, and it is impossible to distinguish between legitimate traffic and illegal traffic.
  • the service quality policy control is based on the service traffic identification, based on the service priority, different user groups, different user rights, and dynamic adjustment of QoS resources (such as bandwidth resources) of different services.
  • a policy-based home gateway service traffic identification method provided by the prior art is implemented as follows:
  • step 1 the home terminal is connected to an automatic configuration server (ACS), and the identification information of the terminal (such as an IP address, a terminal type, a terminal identifier, etc.) is reported to the ACS.
  • ACS automatic configuration server
  • step 2 the ACS authenticates the terminal.
  • step 3 after the authentication succeeds, the ACS uses the identification information of the terminal to query the service application system (service server) for the service information of the terminal;
  • service application system service server
  • step 4 the ACS requests, by using the obtained service information of the terminal, a policy (Policy Decision Function, PDF) to obtain a policy matching the service of the terminal;
  • Policy Decision Function Policy Decision Function
  • step 5 the ACS installs the terminal service quality policy rule obtained from the PDF to the home gateway;
  • step 6 the home gateway implements identification and control of service traffic by using a control method included in the quality of service policy rule.
  • the home gateway is the core component of the home network, which can provide home networking, QoS guarantee, security management, etc.
  • the main problem of the home gateway is that the service quality policy rule configuration lacks a flexible mechanism. For example, if the method of traversing a large number of methods is to statically configure the QoS policy of the home gateway, the static port is bound to the QoS resource.
  • the home gateway cannot re-adjust the bandwidth budget of various services, or even if a certain service bandwidth resource is surplus, it cannot release this part of the bandwidth for important business use, resulting in waste of bandwidth resources of the home network.
  • the home gateway cannot adjust the QoS resources of the terminal corresponding service in time.
  • the bandwidth of the IPTV unicast service corresponding to a user terminal of the home network is 2M, when the unicast service of the user terminal is changed.
  • the corresponding bandwidth requirement is 4M. Therefore, the bandwidth requirement of the home gateway for the multicast service also needs to be updated.
  • the policy-based home gateway service traffic identification system and method provided by the prior art are only suitable for static configuration of multiple service QoS resources in the home gateway (regardless of whether the user has requested the service, all QoS resources are reserved for the service), for the burst
  • the service request such as the IPTV unicast/multicast service request, cannot dynamically allocate and adjust the QoS resources when the required service QoS resources are insufficient.
  • the embodiment of the invention provides a policy server, a home gateway, a service quality control method and a system, which can implement QoS dynamic control of different services in a home network.
  • the embodiment of the present invention provides a service quality control method, including:
  • the implementation of the present invention also provides a service quality control method, including:
  • the determined quality of service policy rule is sent to a home gateway that allocates quality of service resources for the service request.
  • the embodiment of the invention further provides a home gateway, including:
  • a policy decision unit configured to obtain a QoS policy rule from the policy decision function entity, and convert the QoS policy rule that is not converted into a bearer layer in the home network into a service quality policy rule of the bearer layer in the home network;
  • a policy execution unit configured to execute the converted quality of service policy rule.
  • the embodiment of the invention further provides a policy decision function entity, including:
  • a policy decision unit configured to perform authorization and decision on the service request, determine a service quality policy rule corresponding to the service requested by the service request according to the service identifier carried in the service request, or perform the service quality policy rule request Authorizing and determining, according to the home gateway location information, the home gateway identifier, and the terminal identifier carried in the request for the service quality policy rule, determining a service quality policy rule corresponding to the service controlled by the home gateway;
  • a policy sending unit configured to send the quality of service policy rule determined by the policy decision unit to the home gateway.
  • the embodiment of the present invention further provides a service quality control system, including a policy decision function entity and a home gateway, where the policy decision function entity is configured to perform authorization and decision on a service request, and is carried according to the service request.
  • the service identifier determines a service quality policy rule corresponding to the service requested by the service request; or authorizes and determines the service quality policy rule request, according to the home gateway location information and the family carried in the service quality policy rule request a gateway identifier and a terminal identifier, and determining a service quality policy rule corresponding to the service controlled by the home gateway;
  • the home gateway is configured to obtain a quality of service policy rule from a policy decision function entity, and convert the service quality policy rule that is not converted into a bearer layer in the home network into a service quality policy rule of the bearer layer in the home network, and then perform the The converted quality of service policy rules.
  • the policy decision function entity performs authorization and decision on the service request, and determines a service quality policy rule corresponding to the service requested by the service request according to the service identifier carried in the service request; or a service sent by the home gateway or the home gateway configuration unit
  • the quality policy rule requests the authorization and the decision, and determines the service quality policy rule corresponding to the service controlled by the home gateway according to the home gateway location information, the home gateway identifier, and the terminal identifier carried in the service quality policy rule request;
  • the determined quality of service policy rules are sent to the home gateway implementation, which solves the problem of QoS dynamic control.
  • FIG. 1 is a schematic flow chart of a policy-based home gateway service traffic identification method provided by the prior art
  • FIG. 2 is a schematic structural diagram of a first embodiment of a service quality control system according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a second embodiment of a service quality control system according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a home gateway according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of a first embodiment of a service quality control method according to an embodiment of the present invention
  • FIG. 7 is a schematic flowchart of a second embodiment of a service quality control method according to an embodiment of the present invention
  • FIG. 9 is a schematic flowchart of a fourth embodiment of a service quality control method according to an embodiment of the present invention
  • FIG. 10 is a fifth implementation of a service quality control method according to an embodiment of the present invention
  • FIG. 11 is a schematic flowchart of a sixth embodiment of a service quality control method according to an embodiment of the present invention
  • FIG. 12 is a schematic flowchart of a seventh embodiment of a service quality control method according to an embodiment of the present invention
  • FIG. 12 is a schematic flowchart of a seventh embodiment of a service quality control method according to an embodiment of the present invention
  • FIG. 14 is a schematic flowchart diagram of a ninth embodiment of a service quality control method according to an embodiment of the present invention
  • FIG. 15 is a schematic diagram of a service quality provided by an embodiment of the present invention
  • FIG. 16 is a flowchart of the embodiment of the present invention Service quality control method of a flow of the eleventh embodiment schematic view of the embodiment;
  • FIG. 17 is a schematic flowchart of a service request processing of a home gateway according to an embodiment of the present invention
  • FIG. 18 is a schematic flowchart of a service request processing performed by a digital subscriber line access multiplexing device according to an embodiment of the present invention.
  • the embodiment of the present invention provides a policy decision function entity, a home gateway, a service quality control method, and a system, and dynamically configures QoS resources of a user terminal to solve multiple service resources of multiple users in a same home network or different services of multiple users. Resource optimization allocation problem, to achieve effective and full use of QoS resources in the home network.
  • the policy decision function entity may be implemented by a single policy decision unit, or implemented by a central policy decision unit, or integrated in an access node by a local policy decision unit.
  • the policy decision unit may be implemented by a policy server when the specific implementation is implemented, or may be implemented by using an AAA server. When implemented by the AAA server, the policy decision unit is used to deliver a charging related policy rule to the switching device.
  • FIG. 2 it is a schematic structural diagram of a first embodiment of a quality of service control system according to an embodiment of the present invention.
  • the policy decision function entity 1 and the home gateway 2 performs authorization and decision under the trigger of the service request, and determines the service corresponding to the service request according to the service identifier carried in the service request.
  • a quality of service policy rule QoS policy rule
  • the home gateway 2 After receiving the QoS policy rule, the home gateway 2 needs to convert the QoS policy rule into a home when the QoS policy rule is not converted into a QoS policy rule of the bearer layer in the home network. A quality of service policy rule of the bearer layer in the network, and executing the converted quality of service policy rule.
  • the system also includes:
  • the access device 3 that is, the switching device on the service path of the access network to the home gateway, specifically an edge switching device (such as a BAS device, an SBC device), an aggregation switch or a digital subscriber line access multiplexing (DSLAM, Digital)
  • the Subscriber Line Access Multiplexer device is configured to receive the quality of service policy rule sent by the policy decision function entity 1 and forward the quality of service policy rule to the home gateway 2.
  • the system also includes:
  • a location server 4 configured to manage location information of the home gateway 2 and the access device 3, And providing the location information to the policy decision function entity 1 to enable the policy decision function entity 1 to send the quality of service policy rule to the home gateway 2 or the access device 3.
  • the policy decision function entity 1 first determines the service quality policy rule corresponding to the service requested by the service request, and obtains the service allocation requested by the service request in the location server 4
  • the location of the home gateway 2 of the quality of service resource is directly delivered to the home gateway 2 according to the location information, and the manner in which the policy decision function entity directly sends the service quality policy rule to the home gateway is called concentration.
  • Strategy delivery mechanism
  • the policy decision function entity 1 may also first deliver the QoS policy rule to the access device 3, and then forward the QoS policy rule to the home gateway 2 by the access device 3; this method is called a distributed policy delivery mechanism. .
  • the home gateway 2 receives the quality of service policy rule from the policy decision function entity 1, when the quality of service policy rule is not converted into the quality of service policy rule of the bearer layer in the home network, the home gateway 2 according to different service types, user type After the service quality policy rule is converted into the quality of service policy rule of the bearer layer in the home network, the home gateway 2 performs the service quality of service policy rule again.
  • the access device 3 that forwards the QoS policy rule to the home gateway 2 may also implement the QoS policy rule, and the embodiment of the present invention implements dynamic QoS control on the home gateway 2, Dynamic QoS control of the access device 3 to the home gateway 2 path is achieved.
  • the home gateway 2 fails to perform the QoS policy rule, or the access device 3 fails to perform the QoS policy rule, the home gateway 2 and the access device 3 respectively respond to the policy decision function entity 1 to notify that the execution of the QoS policy rule fails.
  • the message, the policy decision function entity 1 determines the service requested by the service or rejects the service request according to the service quality policy rule execution result.
  • the QoS policy rule is successfully executed, the service is allowed, otherwise the service is rejected.
  • the system for dynamic quality of service control in the home network does not require the home gateway to pre-configure the service quality policy rule, but is based on the service request, and the policy decision function entity performs authorization and decision according to the service request.
  • the service identifier determines the quality of service policy rule corresponding to the service requested by the service request, and then is sent to the home gateway to perform the dynamic QoS control problem.
  • FIG. 3 is a schematic structural diagram of a second embodiment of a quality of service control system according to an embodiment of the present invention.
  • the quality of service control system includes: The policy decision function entity 1 and the home gateway 2, the policy decision function entity 1 authorizes and decides on the QoS policy rule request sent by the home gateway 2, and the home gateway location carried in the request according to the QoS policy rule request.
  • the information, the home gateway identifier, and the terminal identifier determine a service quality policy rule corresponding to the service controlled by the home gateway 2, and send the service-related service quality policy rule controlled by the home gateway 2 to the home gateway 2;
  • the home gateway 2 After receiving the QoS policy rule, the home gateway 2 converts the QoS policy rule into a home network when the QoS policy rule is not converted into a QoS policy rule of the bearer layer in the home network.
  • the quality of service policy rule of the inner bearer layer, and the converted quality of service policy rule is executed.
  • the QoS policy rule request may also be sent by the home gateway configuration unit 5 to the policy decision function entity 1, and the home gateway configuration unit 5 is a functional unit of the NACS system in the NGN architecture, and is used for the home gateway firewall.
  • the configuration may also be used as a means for the trigger policy decision function entity 1 to send a service quality policy rule to the home gateway 2 in the embodiment of the present invention.
  • the QoS policy rule request sent by the home gateway 2 or the home gateway configuration unit 5 to the policy decision function entity 1 carries the location information of the home gateway 2, the home gateway identifier, and the terminal identifier. It should be noted that the home gateway 2 can manage multiple user terminals, and each user terminal can request multiple different types of services. The terminal identification can obtain multiple service quality policies corresponding to different types of services from the policy decision function entity 1. The rule that the home gateway 2 can obtain the service quality policy rule corresponding to the service requested by all the user terminals managed by the home gateway 2 from the policy decision function entity 1.
  • the policy decision function entity 1 performs authorization and decision under the trigger of the quality of service policy rule request of the home gateway 2 or the home gateway configuration unit 5; the service quality policy rule requests the service decision service controlled by the home gateway 2
  • the quality policy rule identifies the home network where the home gateway is located according to the home gateway identifier, and then sends the service quality policy rule of the service controlled by the home gateway 2 to the home gateway 2 according to the location information.
  • the policy decision function entity 1 may further forward the quality of service policy rule to the home gateway through the home gateway configuration unit 5, and the home gateway configuration unit 5 receives the service from the policy decision function entity 1 as a local policy decision unit. The quality policy rules are then forwarded to the home gateway 2.
  • FIG. 4 is a schematic structural diagram of a policy decision function entity according to an embodiment of the present invention.
  • the policy decision function entity 1 provided by the embodiment of the present invention includes:
  • the policy decision unit 11 is configured to perform authorization and decision on the service request, and determine a service quality policy rule corresponding to the service requested by the service request according to the service identifier carried in the service request; the service request is initiated by the user terminal, And forwarded by the application server or multicast control unit to the policy decision function entity.
  • the service request carries a service identifier, which is used to identify a service type.
  • the service type includes a unicast service request, a multicast service request, and a high-speed Internet service, a voice service, and the like.
  • the policy sending unit 12 is configured to send the QoS policy rule determined by the policy decision unit 11 to the home gateway.
  • the quality of service policy rules include a service type, a service identifier, a service bandwidth resource, a service priority, and a service rate.
  • the policy sending unit 12 is configured to send a quality of service policy rule directly to the home gateway or to the home gateway via the access device.
  • the policy sending unit 12 is further configured to send a service quality policy rule for releasing the quality of service resource to the home gateway, when the policy decision unit 11 receives the service exit request initiated by the user terminal or the normal offline call. .
  • the policy decision function entity 1 further includes:
  • the location obtaining unit 13 is configured to obtain the location information of the home gateway from the location server, and obtain the location information of the access device from the location server when forwarding the service quality policy rule to the home gateway by using the access device;
  • the policy sending unit 12 sends the QoS policy rule to the home gateway according to the location information acquired by the location acquiring unit 13, or by using the distributed policy sending mechanism to the access device. And sending the quality of service policy rule, and then the access device forwards the quality of service policy rule to the home gateway.
  • the policy decision function entity 1 further includes:
  • the response receiving unit 14 is configured to receive an execution result of the quality of service policy rule from the home gateway or the access device;
  • the service processing unit 15 is configured to allow or reject the service requested by the service request according to the execution result. Specifically, when the QoS policy rule is successfully executed, the service is allowed, otherwise the service is rejected.
  • the policy decision function entity provided by the embodiment of the present invention includes:
  • the policy decision unit 11 performs authorization and decision on the QoS policy rule request sent by the home gateway, and determines the home gateway control information according to the home gateway location information, the home gateway identifier, and the terminal identifier carried in the QoS policy rule request.
  • the service quality policy rule corresponding to the service; the service quality policy rule request may be sent by the home gateway or by the home gateway configuration unit.
  • the policy sending unit 12 is configured to send the quality of service policy rule determined by the policy decision unit 11 to the home gateway.
  • the policy decision unit 11 determines a corresponding QoS policy rule for all services controlled by the home gateway requested by the QoS policy rule, and the policy is sent.
  • Unit 12 transmits the quality of service policy rules to the home gateway.
  • the policy decision unit 11 determines a QoS policy rule corresponding to all services controlled by the home gateway related to the home gateway configuration unit, where the policy is sent.
  • the unit 12 forwards the quality of service policy rule determined by the policy decision unit 11 to the home gateway through the home gateway configuration unit.
  • the policy sending unit 12 is further configured to send a service quality policy rule for releasing the quality of service resource to the home gateway, when the service exit request is initiated by the user terminal or the normal offline.
  • the policy decision function entity 1 further includes:
  • the location obtaining unit 13 is configured to obtain the location of the home gateway according to location information of the home gateway carried in the service quality policy rule request.
  • the receiving unit 14 is configured to receive an execution result of the quality of service policy rule from the home gateway;
  • the service processing unit 15 is configured to allow or reject the service controlled by the home gateway according to the execution result.
  • FIG. 5 is a schematic structural diagram of a home gateway according to an embodiment of the present invention.
  • the policy decision unit 21 is configured to obtain a QoS policy rule from the policy decision function entity, and convert the QoS policy rule that is not converted into the bearer layer in the home network into a QoS policy rule of the bearer layer in the home network, and notify the policy
  • the execution unit executes the quality of service policy rule; Legality, and report the QoS resource usage to the policy decision function entity.
  • an exception occurs, such as insufficient QoS resources, policy rules are invalid, or a policy rule corresponding to a certain service is missing, an abnormal situation is reported to the policy decision function entity.
  • the policy decision unit is a local policy decision unit, and the policy decision unit can be configured to convert the quality of service policy rules from the policy server into corresponding service quality policy rules of the home network bearer layer.
  • the policy execution unit 22 is configured to execute the quality of service policy rule sent by the policy decision unit 21. It should be noted that, after receiving the QoS policy rule for releasing the QoS resource sent by the policy decision function entity, the policy decision unit 21 notifies the policy execution unit 22 to release the related QoS resource; Unit 22 then releases the associated quality of service resources.
  • the home gateway further includes:
  • the policy requesting unit 20 is configured to send a QoS policy rule request to the policy decision function entity, where the QoS policy rule request carries the home gateway location information, the home gateway identifier, and the terminal identifier.
  • the policy response unit 23 is configured to send, to the policy decision function entity, a result of the policy execution unit 22 executing the quality of service policy rule.
  • the unicast service request triggering policy decision function entity sends a QoS policy rule to the home gateway, and the trigger policy decision function entity sends a service quality policy to an access device such as an edge switch, an aggregation switch, or a DSLAM switch on the home gateway service path. rule.
  • the main function is that the multicast service request triggering policy decision function entity sends a service quality policy rule to the policy decision unit of the home gateway, and triggers the policy decision function entity to access the edge switch, the aggregation switch, the DSLAM switch, and the like on the home gateway service path. Send a quality of service policy rule.
  • Other services mainly refer to services other than IPTV, and may include high-speed Internet access services, voice services, etc.
  • the policy decision function entity sends the service quality policy rules of the service to the home gateway.
  • FIG. 6 is a schematic flowchart of a first embodiment of a method for controlling quality of service according to an embodiment of the present invention. Figure.
  • Step 100 Receive a service quality request rule request sent by a service request or a home gateway or a home gateway configuration unit.
  • the service request carries a service identifier, where the service quality policy rule request carries the home gateway location information and the home gateway identifier;
  • Step 101 Perform authorization and decision on the service request, and determine a service quality policy rule corresponding to the service requested by the service request according to the service identifier carried in the service request; or the service quality policy rule requests authorization and Determining, according to the home gateway location information, the home gateway identifier, and the terminal identifier carried in the request for the service quality policy rule, determining a service quality policy rule corresponding to the service controlled by the home gateway;
  • Step 102 Send the determined quality of service policy rule to a home gateway that allocates quality of service resources for the service request.
  • Step 103 The home gateway obtains a quality of service policy rule from a policy decision function entity, and converts the service quality policy rule into a home when the service quality policy rule is not converted into a service quality policy rule of a bearer layer in the home network.
  • the quality of service policy rules of the bearer layer in the network
  • Step 104 The home gateway executes the quality of service policy rule.
  • Step 105 The home gateway feeds back the execution result of the execution quality of service policy rule to the policy decision function entity.
  • FIG. 7 is a schematic flow chart of a second embodiment of a method for controlling quality of service according to an embodiment of the present invention.
  • the embodiment of the invention provides a method for controlling quality of service under unicast service request.
  • the Customer Premises Network is composed of a plurality of user terminals and a home gateway, and the home gateway is composed of two units, one is a policy decision unit of the home gateway, and is used for receiving the policy decision function.
  • An entity quality of service policy rule when the quality of service policy rule is not converted into a quality of service policy rule of a bearer layer in a home network, the service quality policy rule is also converted into a service quality policy rule of a bearer layer in the home network.
  • the other unit is the policy enforcement unit of the home gateway, responsible for packet classification, marking, shaping, queue scheduling, and congestion control on the data plane.
  • the home gateway is interconnected with multiple user terminals, responsible for different services of each user terminal, and dynamic QoS control and management of different services of a single user terminal. Before the terminal acquires service data, the QoS resources obtained by each user terminal are zero.
  • the application server triggers the policy decision function entity (implemented in the embodiment with the policy server) to authorize the service request and Determining, according to the service identifier carried in the service request, determining a service quality policy rule corresponding to the service requested by the service request, where the policy server uses an interface with a policy decision unit of the home gateway to deliver the message to the home gateway The service quality policy rule of the service requested by the service request.
  • the QoS policy rule may include a service type, a service identifier, a service bandwidth resource, a service priority, a service rate, and the like.
  • the delivery of the QoS policy rules is divided into two modes, one is a centralized policy delivery mechanism, and the other is a distributed policy delivery mechanism.
  • the centralized policy is delivered by the policy server to the home gateway to directly deliver the service quality policy rule of the service requested by the service request according to the QoS requirement of the service.
  • the policy server may also provide the access device. Issue the corresponding service quality policy rules.
  • the distributed policy delivery mechanism is configured by the policy server to deliver the service quality policy rule of the service requested by the service request to the home gateway through the access device, where the access device (for example, the access switch device) serves as a local
  • the policy decision unit is responsible for receiving the policy from the policy server, configuring the corresponding local quality of service policy rule, and forwarding the local quality of service policy rule to the downstream switch device or the home gateway.
  • an access device such as a DSLAM device
  • the policy server can deliver all the user service quality policy rules of the same DSLAM switching device to the DSLAM.
  • the distributed policy delivery mechanism can also be applied to the QoS control of the core network.
  • the policy server sends the corresponding quality of service policy rules to the switch devices in the core network through the border gateway (BGF).
  • BGF border gateway
  • the border gateway receives the policy rules from the policy server, notifies the local policy enforcement unit to execute the policy rules, and forwards the policy rules from the policy server to the core network switch device.
  • Figure 7 below shows the centralized service policy delivery. The specific steps are as follows:
  • Step 200 The user terminal sends a unicast service request to the application server, where the request may carry the service identification information and the QoS parameter of the service.
  • Step 201 The application server initiates an authorization request to the policy server according to the service identifier information.
  • the location management function (LMF, Location Management Function) (equivalent to the location server) acquires location information of the home gateway that allocates the quality of service resource for the unicast service requested by the unicast service request.
  • LMF Location Management Function
  • Step 203 The policy server sends a quality of service policy rule (QoS policy rule) to a policy decision unit (HPDF) of the home gateway of the network where the user is located according to the location information of the home gateway.
  • QoS policy rule quality of service policy rule
  • HPDF policy decision unit
  • the policy decision unit notifies the policy enforcement unit to execute the quality of service policy rules.
  • the result of the execution that is, the policy rule install/uninstall reply message, which contains the result of the service quality policy rule installation/uninstallation, which can be successful or failed.
  • the policy decision unit of the home gateway returns the execution result to the policy server
  • the policy server returns an authorization request reply message to the application server.
  • step 208 the application server returns a unicast service request reply message.
  • the application server allows the service, otherwise the service is rejected.
  • step 209 the home gateway periodically reports the service resource usage information to the policy server.
  • the policy server PDF not only needs to issue corresponding service quality policy rules for the home gateway in the access network, but also needs to access the access device in the access network to the home gateway path, for example
  • the edge switching device, the aggregation switching device, and the DSLAM device deliver corresponding service quality policy rules.
  • the location of the home gateway and the location of the access device may be obtained by querying the location management unit, and the location management unit is a network in the NGN architecture. Attachment Control System
  • the NACS location management unit which can save the topology structure of the terminal accessing the network when the user accesses.
  • the policy server may send a service exit request to the policy server, and the policy server sends a service quality policy rule for releasing the service quality resource to the home gateway, and sends the release service quality resource to the access device.
  • the service quality policy rule is implemented by the policy server to the home gateway.
  • the policy is mainly implemented through the policy decision unit interface between the home gateway and the policy server.
  • FIG. 8 is a schematic flow chart of a third embodiment of a method for controlling quality of service according to an embodiment of the present invention.
  • a flow of a service quality control method in a distributed policy delivery mechanism is provided.
  • the functions of the policy decision function entity respectively pass through the access device.
  • the local policy decision unit and the central policy decision unit of the policy server are implemented.
  • the local policy decision unit in the access device is responsible for resource admission control of all the home gateways, and actively delivers the service quality policy rule to the home gateway or forwards the policy server.
  • the quality of service policy rules are given to the home gateway.
  • the local policy decision unit in the access device can be deployed in all devices in the entire network to receive policies from policy servers or other local policy decision units, and can also be used to enforce policy rules from the policy server. Convert to the quality of service policy rules of the bearer layer in the home network, and forward the corresponding quality of service policy rules after the conversion.
  • the central policy decision unit located in the policy server is responsible for resource admission control of the edge switch device and the DSLAM, and the edge switch device can aggregate the quality of service resources.
  • the access device is specifically implemented, it is connected to a Layer 2 switching device (such as a DSLAM). The specific steps are as follows:
  • Step 300 The user terminal sends a unicast service request to the application server, where the request may carry the service QoS requirement and the user service identifier information.
  • Step 301 The application server initiates a service authorization request to the policy server according to the user service identifier information.
  • Step 302 The policy server performs authorization and decision on the unicast service request, and determines a service quality policy rule corresponding to the unicast service requested by the unicast service request according to the service identifier carried in the unicast service request, and then Obtaining home gateway location information and access device location information from a location management unit (location server);
  • location server performs authorization and decision on the unicast service request, and determines a service quality policy rule corresponding to the unicast service requested by the unicast service request according to the service identifier carried in the unicast service request, and then Obtaining home gateway location information and access device location information from a location management unit (location server);
  • Step 303 The policy server sends a service quality policy rule to the access device.
  • the quality of service policy rules here can be part of the configuration of the access device and another part of the configuration of the home gateway.
  • the policy server can deliver all the user service quality policy rules of the same access device to the access device at one time.
  • Step 304 The access device sends a QoS policy rule to the policy decision unit in the home gateway of the network where the user is located.
  • the access device further converts the QoS policy rule from the policy server into the QoS policy rule of the bearer layer. And then forward the quality of service policy rules from the policy decision function entity to the home gateway.
  • the policy server sends the service quality policy rules of all the users of the same access device to the access device
  • the access device can also send the service quality policy rules of the different home gateways to the corresponding home gateway.
  • Step 305 When the policy rule from the policy server is not converted to the quality of service policy of the bearer layer
  • the policy decision unit of the home gateway converts the corresponding quality of service policy rule into the quality of service policy rule of the bearer layer, and then the family policy decision unit notifies the family policy execution unit to execute the quality of service policy rule.
  • the result of the execution which includes the result of the installation/uninstallation of the quality of service policy rule, which may be successful or failed.
  • Step 307 The policy decision unit of the home gateway returns a service quality policy rule execution result to the local policy decision unit of the access device.
  • Step 308 The access device returns a service quality policy rule execution result to the central policy decision unit of the policy server.
  • Step 309 The policy server returns an authorization request reply message to the application server.
  • Step 310 The application server returns a unicast service request reply message.
  • the application server allows the unicast service to request the requested service, otherwise rejects the service requested by the unicast service request.
  • Step 311 The home gateway reports the service resource usage information to the policy server.
  • the policy server first sends the corresponding service quality policy rule to the access device, and then the access device sends the corresponding service quality policy rule for the home gateway in the access network.
  • the location of the home gateway and the location of the access device on the home gateway path can be obtained by querying the location management unit, which is a location management unit in the network attachment control system NACS in the NGN architecture, and the unit can be accessed at the user.
  • the topology diagram of the access terminal in the access network is saved.
  • the service server may also send a service exit request to the policy server, and the policy server is released to release the service quality policy rule determined by the home gateway, and the service quality policy rule determined for the access device.
  • the policy server sends the policy to the home gateway mainly through the local policy decision unit located in the access device, that is, the local policy decision unit of the access device sends the service from the policy server to the policy decision unit of the home gateway. Quality policy rules. Compared with the centralized service policy delivery, the distributed service policy is deployed to reduce the burden on the policy server and achieve load balancing.
  • FIG. 9 is a schematic flow chart of a fourth embodiment of a method for controlling quality of service according to an embodiment of the present invention.
  • the embodiment of the invention provides a service quality control method under the request of a multicast service.
  • the home network CPN is composed of multiple user terminals and one home gateway
  • the quality of service policy control function of the home gateway is composed of two units, one is a policy decision unit of the home gateway, and is responsible for receiving the function entity from the policy service.
  • the quality of service policy rules, the notification policy enforcement unit performs the quality of service policy rules.
  • the other unit is the policy enforcement unit of the home gateway, which is responsible for executing the corresponding quality of service policy rules, as well as message classification, marking, shaping, queue scheduling, and congestion control on the data plane.
  • the home gateway is interconnected with a plurality of user terminals, and is responsible for different services of the user terminals and service quality control and management of different services of the individual user terminals. Before the terminal obtains the service data, the quality of service resources obtained by each user terminal is zero.
  • the multicast control unit accepts the multicast service request, and determines whether the user has the right to view the multicast data according to the user subscription information multicast permission table.
  • the multicast control unit can be located on the DSLAM switching device or on an edge device such as a BRAS switch.
  • the location management unit is a location management unit in the network attachment control system NACS in the NGN architecture, and the unit can save the topology structure of the terminal in the access network when the user accesses.
  • the multicast control unit triggers the policy decision function entity (implemented by the policy server in this implementation) to determine the quality of service policy rule for the service requested by the service request, the policy server A quality of service policy rule for the service requested by the service request is sent to the home gateway using an interface with a policy decision unit of the home gateway.
  • Step 400 The user terminal sends a multicast service request to the multicast control unit, where the request may be a service join request or a service exit request.
  • Step 401 The multicast control unit sends a service authorization request to the policy server.
  • Step 402 The policy server performs authorization and decision on the multicast service request, and determines a service quality policy rule corresponding to the multicast service requested by the multicast service request according to the service identifier carried in the multicast service request, and then The policy server obtains the home gateway location information from the location management unit.
  • Step 403 The policy server delivers the service quality policy rule to the access device (such as a DSLAM) through an interface with the policy decision unit in the access device.
  • the access device such as a DSLAM
  • Step 404 The policy server sends a quality of service policy rule to the home gateway of the network where the user is located to allocate the quality of service resource for the service requested by the multicast service request.
  • Step 405 The policy decision unit of the home gateway notifies the execution unit of the home gateway to execute the quality of service policy rule.
  • Step 406 The policy execution unit of the home gateway returns the execution result of the service quality policy rule, that is, the service quality policy rule installation/uninstallation reply message, to the policy decision unit of the home gateway.
  • Step 407 The policy decision unit of the home gateway returns a service quality policy rule execution result, that is, a quality of service policy rule install/uninstall reply message, to the policy server.
  • Step 408 The policy server sends a service authorization reply message to the multicast control unit.
  • Step 409 The multicast control unit sends a multicast service request reply message to the user terminal.
  • the policy server PDF not only needs to deliver corresponding service quality policy rules for the home gateway in the access network, but also needs to access the access device in the access network to the home gateway path, for example
  • the aggregation switching device and the DSLAM device issue corresponding service quality policy rules.
  • the DSLAM device can be obtained by querying the location management unit.
  • the service server may send a service exit request to the policy server to trigger the policy server to send the service quality policy rule for releasing the service quality resource to the home gateway, and the aggregation exchange on the path to the home gateway in the access network.
  • the device and the DSLAM device issue corresponding service quality policy rules.
  • the policy server's policy delivery to the home gateway is mainly through the policy decision unit interface between the home gateway and the policy server.
  • the following provides a method for dynamic QoS control of multicast services in several deployment scenarios.
  • FIG. 10 it is a schematic flowchart of a fifth embodiment of a method for controlling quality of service according to an embodiment of the present invention.
  • a first deployment scenario of a method for controlling quality of service of a multicast service is provided.
  • a multicast service control point and a multicast service replication point are located in an access device (as shown in the group).
  • Broadcast control unit for example, on a Layer 2 access switching device.
  • the access device also supports the local resource control management function, which is implemented by the local resource management unit of the access device, and the policy server supports the central resource control management function, and is implemented by the central resource management unit.
  • the user terminal sends a multicast service request
  • the request is first intercepted by the multicast control unit of the access device, and the multicast service request is obtained through an interface between the access device and the central resource management unit between the policy server. Forward to the policy server.
  • the specific process is as follows:
  • Step 500 The user terminal sends a multicast service request to the multicast control unit located in the access device, where the request may be a service join request or a service exit request.
  • Step 501 The multicast control unit located in the access device forwards the multicast service request to the local resource management unit.
  • Step 502 The local resource management unit located in the access device utilizes the access device and the policy server. The interface of the central resource management unit in between, forwards the multicast service request.
  • Step 503 The policy decision unit of the policy server receives a service authorization request sent by a centrally managed resource management unit (C-RMF) in the policy server, and performs authorization and decision on the multicast service request according to the group.
  • the service identifier carried in the request for the broadcast service determines the quality of service policy rule (QoS policy rule) corresponding to the multicast service requested by the multicast service request.
  • QoS policy rule quality of service policy rule
  • the central resource management unit here can also be separated from the policy server and exist separately.
  • Step 504 The policy server acquires location information of the home gateway from the location management unit.
  • Step 505 The policy server delivers the service quality policy rule to the home gateway of the network where the user is located to allocate the quality of service resource for the service requested by the multicast service request.
  • Step 506 The policy decision unit of the home gateway notifies the policy execution unit of the home gateway to execute the quality of service policy rule.
  • the result of the execution that is, the quality of service policy rule install/uninstall reply message.
  • Step 508 The policy decision unit of the home gateway returns the execution result of the service quality policy rule to the policy server, that is, the service quality policy rule install/uninstall reply message.
  • Step 509 The policy server sends an authorization reply message to the multicast service request of the central resource management unit of the policy server.
  • Step 510 The central resource management unit located in the policy server sends a reply message of the multicast service request to the local resource management unit located in the access device.
  • Step 511 The local resource management unit located in the access device forwards the reply message of the multicast service request to the multicast control unit.
  • Step 512 The multicast control unit located in the access device sends a reply message of the multicast service request to the user terminal.
  • FIG. 11 a flowchart of a sixth embodiment of a method for controlling quality of service according to an embodiment of the present invention is shown.
  • a second deployment scenario of the method for controlling the quality of service of the multicast service is provided.
  • the multicast control point and the multicast replication point are the same as the first scenario.
  • the access device such as DSLAM
  • the difference is that the access device (DSLAM) does not support resource management functions, but supports local policy decision functions, implemented by local policy decision units.
  • the policy server supports the central policy decision function, which is implemented by the central policy decision unit in the embodiment of the present invention.
  • the policy rules for all access devices in their domain are sent.
  • Step 600 The user terminal sends a multicast service request to the multicast control unit, where the request may be a service join request or a service exit request.
  • Step 601 The multicast control unit located in the access device forwards the multicast service request to a local policy decision unit located in the access device.
  • Step 602 The local policy decision unit in the access device sends a service authorization request to the policy server.
  • Step 603 The policy server performs authorization and decision on the multicast service request, and determines a service quality policy rule (QoS) corresponding to the multicast service requested by the multicast service request according to the service identifier carried in the multicast service request. After the policy rule), the location information of the home gateway and the location information of the access device are obtained from the location management unit.
  • QoS service quality policy rule
  • Step 604 The policy server sends a service quality policy rule to an access device (for example, a DSLAM device) of the network where the user is located according to the service request message.
  • the policy server can deliver all the user service quality policy rules belonging to the same DSLAM device to the DSLAM device at one time.
  • Step 605 The local policy decision function in the access device sends a service quality policy rule to the home gateway of the network where the user is located.
  • the QoS policy rule may be that the DSLAM sends the policy to the home gateway actively, or the DSLAM forwards the policy rule from the policy server to the home gateway.
  • the policy server sends the QoS policy of all the users of the same DSLAM device to the DSLAM switching device at one time, the DSLAM switching device can also send the QoS policy of each home gateway to the corresponding home gateway.
  • Step 606 The policy decision unit of the home gateway notifies the policy execution unit of the home gateway to execute the quality of service policy rule.
  • Step 607 The policy execution unit of the home gateway returns the execution result of the service quality policy rule, that is, the service quality policy rule install/uninstall reply message, to the policy decision unit of the home gateway.
  • Step 608 The policy decision unit of the home gateway returns the execution result of the service quality policy rule to the local policy decision unit of the access device, that is, the service quality policy rule install/uninstall reply message.
  • Step 609 The access device returns a quality of service policy rule to the central policy decision unit of the policy server.
  • the result of the execution that is, the quality of service policy rule install/uninstall reply message.
  • Step 610 The policy server sends a service authorization reply message to the local policy decision unit.
  • Step 611 The local policy decision unit located in the access device sends a multicast service reply message to the multicast control unit.
  • Step 612 The multicast control unit located in the access device sends a multicast service request reply message to the user terminal.
  • FIG. 12 it is a schematic flowchart of a seventh embodiment of a service quality control method according to an embodiment of the present invention.
  • a third deployment scenario is provided for the method for controlling the quality of service of the multicast service.
  • the same point as the first scenario is that the multicast control point and the multicast replication point are located.
  • Access device location (as shown in the multicast control unit), and unlike the first and second scenarios, the access device includes not only the local policy decision unit but also the local resource management unit.
  • the policy decision function entity (implemented by the policy server in the embodiment of the present invention) supports the central resource management function (implemented by the central resource management unit) and the policy decision function (in the central policy decision unit).
  • the request is first intercepted by the multicast control unit located at the access device, and then through an interface between the resource control unit between the access device (such as a DSLAM device) and the policy server,
  • the multicast service request is forwarded to the central policy decision unit of the policy server.
  • the policy server authorizes and determines the multicast service request, and determines the service quality policy rule corresponding to the service requested by the multicast service request, and the policy server first delivers the local policy decision unit corresponding to all the access devices.
  • the QoS policy rule is then forwarded by the access device to all the home gateways of the subordinate to the QoS policy related to the multicast service requested by the multicast service request.
  • Step 700 The user terminal sends a multicast service request to the multicast control unit located in the access device, where the request may be a service join request or a service exit request.
  • Step 701 The multicast control unit located in the access device forwards the service request to the local resource control management unit.
  • Step 702 The resource management unit located in the access device sends the multicast service request to a central resource management unit in the policy server.
  • Step 703 The central resource management unit located in the policy server sends a service authorization request to the central policy decision unit in the policy server.
  • Step 704 The central policy decision unit of the policy server performs authorization and decision on the multicast service request, and determines the service quality of the multicast service requested by the multicast service request according to the service identifier carried in the multicast service request.
  • the policy rule, the policy server acquires location information of the home gateway and the location information of the access device for allocating the quality of service resource for the multicast service requested by the multicast service request to the location management unit.
  • Step 705 The policy server sends a service quality policy rule to the access device of the home network where the user terminal is located.
  • the policy server can send all the user service quality policy rules belonging to the same access device to the access device at one time. This can be done through the interface between the policy server and the local policy decision unit in the access device, or through the interface with the local resource management unit in the access device.
  • Step 706 The access device sends a quality of service policy rule to the home gateway of the home network where the user is located.
  • the QoS policy rule may be that the access device actively sends the QoS policy rule to the home gateway, or the access device forwards the QoS policy rule from the policy server to the home gateway.
  • the policy server sends the QoS policy of all the users of the same access device to the access device
  • the access device can also send the QoS policy rules of the different home gateways to the corresponding home gateway.
  • the local policy decision unit in the access device sends a resource initialization message to the local resource management unit in the access device, and delivers the service quality policy rule.
  • Step 707 The policy decision unit of the home gateway notifies the policy execution unit of the home gateway to execute the quality of service policy rule. Then execute the result, that is, the service quality policy rule install/uninstall reply message;
  • Step 709 The policy decision unit of the home gateway sends a service quality policy rule execution result, that is, a service quality policy rule install/uninstall reply message, to the local policy decision unit located in the access device.
  • the local resource management unit in the access device sends a service quality policy rule execution result, that is, a QoS policy rule installation/uninstall reply message, to the local policy decision unit of the access device;
  • Step 710 local in the access device
  • the policy decision unit returns a service quality policy rule execution result to the policy server, that is, a quality of service policy rule install/uninstall reply message;
  • Step 711 The central policy decision unit of the policy server sends a service authorization reply message to the central resource management unit of the policy server.
  • Step 712 The central resource management unit in the policy server goes to the local resource management device located in the access device. The unit sends a reply message.
  • Step 713 The local resource management unit located in the access device forwards the service reply message to the multicast control unit.
  • Step 714 The multicast control unit located in the access device sends a multicast service request reply message to the user terminal.
  • FIG. 13 a flow chart of an eighth embodiment of a method for controlling quality of service according to an embodiment of the present invention is shown.
  • a fourth deployment scenario is provided for the method for controlling the quality of service of the multicast service.
  • the same point as the third scenario is the multicast control point and the multicast replication point.
  • the multicast control unit shown in the figure is located in the access device (for example, a DSLAM device), and unlike the third scenario, the multicast service request is independently controlled by the local policy decision unit in the access device,
  • the policy decision function entity is implemented (the embodiment of the present invention is implemented by a policy server, including a central resource management unit and a central policy decision unit).
  • the main purpose of this scenario is to shorten the setup time of multicast service sessions.
  • the specific process is as follows:
  • Step 800 The user terminal sends a multicast service request to the multicast control unit located in the access device, where the request may be a service join request or a service exit request.
  • Step 801 The multicast control unit located in the access device forwards the multicast service request to the local resource management unit in the access device.
  • Step 802 The local resource management unit located in the access device sends a service authorization request to the local policy decision unit of the access device.
  • Step 803 The local policy decision unit located in the access device performs authorization and decision on the multicast service request, and determines, according to the service identifier carried in the multicast service request, the multicast service requested by the multicast service request.
  • the quality of service policy rule and obtaining, from the location management unit, location information of the home gateway that allocates the quality of service resource for the multicast service request.
  • Step 804 The access device sends a service quality policy rule to the home gateway in the home network where the user is located to allocate the quality of service resource for the multicast service request.
  • Step 805 The policy decision unit of the home gateway notifies the policy execution unit of the home gateway to execute the quality of service policy rule.
  • the result of the rule execution that is, the quality of service policy rule install/uninstall reply message.
  • Step 807 The local policy decision unit located in the access device returns an execution result of the execution of the quality of service policy rule, that is, the quality of service policy rule installation/uninstallation reply message, to the local policy decision unit located in the access device.
  • Step 808 The local policy decision unit located in the access device sends a service authorization reply message to the local resource management unit in the access device.
  • Step 809 The local resource management unit located in the access device forwards the multicast service request reply message to the multicast control unit.
  • Step 810 The multicast control unit sends a multicast service request reply message to the user terminal.
  • FIG. 14 a flowchart of a ninth embodiment of a service quality control method according to an embodiment of the present invention is shown.
  • the present invention provides a method for quality of service control under high-speed Internet access, VOIP and other service requests.
  • the service quality control method provided by this embodiment is also applicable to the multicast service and the unicast service.
  • the home network CPN is composed of multiple user terminals and one home gateway, and the home gateway is composed of two units, one is
  • the policy decision unit of the home gateway is responsible for receiving the QoS policy rule from the policy decision function entity, and when the QoS policy rule is not converted into the QoS policy rule of the bearer layer in the home network, the QoS policy rule is Translating into a quality of service policy rule of the bearer layer in the home network, and notifying the policy execution unit to execute the converted quality of service policy rule.
  • the other unit is the Gateway Policy Enforcement Unit, which is responsible for performing QoS policy rules and packet classification, marking, shaping, queue scheduling, and congestion control on the data plane.
  • the home gateway is interconnected with a plurality of user terminals, and is responsible for different services of the user terminals and service quality resource control and management of different services of the individual user terminals.
  • the policy decision unit of the home gateway can directly request the service related to the home network control from the policy server through an interface with the policy decision function entity (implemented by the policy server in the embodiment of the present invention).
  • the service quality policy rules are as follows:
  • Step 900 The policy decision unit of the home gateway directly sends a QoS policy rule request (QoS policy rule request) to the policy server by using an interface with the policy server, and requests a QoS policy rule corresponding to the service controlled by the home gateway.
  • QoS policy rule request QoS policy rule request
  • Step 901 The policy server performs authorization and decision on the QoS policy rule request, and determines, according to the home gateway location information, the home gateway identifier, and the terminal identifier carried in the QoS policy rule request, the service corresponding to the home gateway control. Quality of service policy rules, and through The interface between the policy decision units of the gateway gateway sends the service quality policy rule corresponding to the service controlled by the home gateway to the home gateway.
  • Step 902 When the QoS policy rule from the policy server is not converted into a QoS policy rule of the bearer layer in the home network, the policy decision unit of the home gateway first converts the QoS policy rule into a bearer in the home network. The QoS policy rule of the layer, and then the policy execution unit of the home gateway is notified to execute the QoS policy rule.
  • Step 903 The policy execution unit of the home gateway returns an execution result of executing the service quality policy rule to the policy decision unit of the home gateway.
  • Step 904 The policy decision unit of the home gateway sends an execution result of executing the quality of service policy rule to the policy server.
  • FIG. 15 a flowchart of a tenth embodiment of a method for controlling quality of service according to an embodiment of the present invention is shown.
  • the policy decision function entity is implemented by a policy server in the embodiment of the present invention.
  • the embodiment of the present invention provides another process to implement quality of service control.
  • the service quality policy rule request is sent to the policy decision function entity (implemented by the policy server in the embodiment of the present invention) by the home gateway configuration unit, where the home gateway configuration unit is a functional unit of the NACS system in the NGN architecture.
  • the configuration of the home gateway firewall is mainly used as a means for triggering the policy decision function entity to send the service quality policy rule to the home gateway.
  • the home gateway configuration unit as a local policy decision unit, receives the quality of service policy rules from the policy server and then forwards them to the home gateway.
  • the home gateway establishes a security trust relationship with the home gateway configuration unit.
  • the secure trust relationship can be used to protect data messages that the home gateway interacts with the home gateway configuration unit. It should be noted that establishing a security trust relationship between the home gateway and the home gateway configuration unit is only one of the cases in which the home gateway configuration unit sends a service quality policy rule request, and the service quality policy is not limited by the home gateway configuration unit. All cases of rule requests.
  • Step 1001 The home gateway configuration unit sends a quality of service policy rule request to the policy server instead of the home gateway.
  • Step 1002 The policy server performs authorization and decision on the QoS policy rule request, and according to the home gateway location information and the home gateway identifier carried in the QoS policy rule request,
  • the terminal identifier is a service quality policy rule corresponding to the service controlled by the home gateway, and returns a service quality policy rule to the local policy decision unit in the home gateway configuration unit.
  • Step 1003 The local policy decision unit of the home gateway configuration unit forwards the quality of service policy rule from the policy server to the policy decision unit of the home gateway.
  • Step 1004 The policy decision unit of the home gateway notifies the policy execution unit of the home gateway to execute the quality of service policy rule.
  • Step 1005 The policy execution unit of the home gateway returns to the policy decision unit of the home gateway, the execution result of the service quality policy rule, that is, the service quality policy rule installation/uninstall reply message.
  • Step 1006 The policy decision unit of the home gateway returns to the local policy decision unit of the home gateway configuration unit to execute the execution result of the service quality policy rule, that is, return the service quality policy rule installation/uninstall reply message.
  • Step 1007 The home gateway configuration unit returns to the policy server an execution result of executing the quality of service policy rule, that is, returning a quality of service policy rule installation/uninstallation reply message.
  • the policy decision function entity may be implemented by a policy server.
  • the home gateway configuration unit also forwards the quality of service policy rules from the policy server to the home gateway through an interface between the policy enforcement units in the home gateway. The specific process will not be described again.
  • Traffic management and QoS control are generally implemented through a home gateway and network-side access devices such as DSLAM and BRAS.
  • the policy decision function entity (implemented by the policy server) assumes the role of issuing the service quality policy rule on the control plane, that is, the policy server needs to issue the service quality policy to the home gateway and the access device in the access network to the home gateway path respectively.
  • the rule reserves the corresponding QoS resource for the user terminal that initiates the service request. After the user terminal exits the corresponding service, the policy server is also responsible for sending the service quality policy rule for releasing the quality of service resource to the home gateway.
  • a dynamic QoS control hybrid scheduling model embodiment of the home gateway is given below.
  • FIG. 16 a flowchart of an eleventh embodiment of a service quality control method according to an embodiment of the present invention is provided. Schematic.
  • the policy decision function entity is implemented by a policy server in the embodiment of the present invention.
  • the home gateway establishes a security trust relationship with the home gateway configuration unit.
  • the secure trust relationship can be used to protect data messages that the home gateway interacts with the home gateway configuration unit. It should be noted that establishing a security trust relationship between the home gateway and the home gateway configuration unit is only one of the cases in which the home gateway configuration unit triggers the service quality policy rule request, and cannot limit the service quality policy triggered by the home gateway configuration unit. All cases of rule requests.
  • Step 1101 The home gateway configuration unit sends a service quality policy rule request to the policy server, where the request carries the home gateway location information and the home gateway identity information.
  • Step 1102 The policy server performs authorization and decision on the QoS policy rule request, determines a QoS policy rule (QoS policy rule) corresponding to the service of the user terminal managed by the home gateway, and then sends the decision to the policy decision unit of the home gateway. Quality of Service Policy Rules.
  • Step 1103 When the QoS policy rule determined by the policy server is not converted into a QoS policy rule of the bearer layer in the home network, the policy decision unit of the home gateway converts the QoS policy rule into a bearer in the home network. The layer's quality of service policy rules, and the home gateway execution unit executes the quality of service policy rules.
  • Step 1104 After executing the quality of service policy rule, the policy decision unit of the home gateway returns to the policy server the execution result of the service quality policy rule, that is, the service quality policy rule installation/uninstallation reply message.
  • FIG. 17 is a schematic flowchart of processing a service request by a home gateway according to an embodiment of the present invention.
  • the process of processing the service request by the home gateway is as follows:
  • Step 1200 The home gateway policy decision unit receives the quality of service policy rule from the policy server.
  • Step 1201 Determine whether the QoS policy rule is a QoS policy rule for the home gateway to release the QoS resource. If yes, go to step 1202, reclaim the bandwidth resource, and uninstall the QoS policy rule. If not, go to step 1203.
  • Step 1203 Determine whether the user type is a fixed bandwidth user or a variable bandwidth privileged user.
  • step 1204 If it is determined that the user type is a variable bandwidth privileged user, proceed to step 1204;
  • Step 1204 Determine whether the total bandwidth available to the home gateway is greater than the service request bandwidth. If the bandwidth is greater than the service application bandwidth, go to step 1205 to execute the service quality policy rule, that is, directly install the service. Quality policy rules. If the bandwidth is smaller than the service request, the process proceeds to step 1206, where the existing bandwidth of the home gateway is added to the service request bandwidth, and then the bandwidth of the service request is allocated from the available bandwidth, and then, in step 1207, the home gateway installs the quality of service policy. rule.
  • step 1203 If it is determined in step 1203 that it is a fixed bandwidth user, the process proceeds to step 1208;
  • Step 1208 Determine whether the user group type and the user type are normal user groups. If the user group type is a privileged user group, such as a dedicated user group or a privileged user, such as a voice user, go to step 1209, and if it is a normal user group, go to Step 1210;
  • a privileged user group such as a dedicated user group or a privileged user, such as a voice user
  • Step 1209 For the privileged user group, check the remaining bandwidth resources, and determine whether the available bandwidth resources are sufficient for the service. If yes, go to step 1211 to install the corresponding quality of service policy rule for the service; if not, then in step 1212, determine whether the adjustment of the low priority bandwidth resource budget is successful? If yes, go to step 1213 to install the corresponding quality of service policy rules for the service. If no, go to step 1214 to maintain the existing bandwidth and alert the home gateway;
  • step 1208 If it is determined in step 1208 that it is a normal user group, then the process proceeds to step 1210.
  • step 1210 it is determined whether the user type is an ordinary user. If yes, the process proceeds to step 1215 to determine whether the available bandwidth resource is sufficient for the service. If yes, go to step 1211 to install the corresponding quality of service policy rules for the service; if no, go to step 1214 to maintain the existing bandwidth and alert the home gateway.
  • the unicast request bandwidth is 2M when the unicast service bandwidth and the multicast service bandwidth are shared.
  • the bandwidth of the multicast service request is 4M.
  • the bandwidth resource can be adjusted to 4M of the shared bandwidth to ensure the quality of service of the multicast and unicast services.
  • the policy server may also issue a QoS policy for releasing the QoS resource to the home gateway, thereby ensuring effective recovery and full utilization of the QoS resource.
  • the home gateway does not have sufficient bandwidth allocation, and the QoS policy fails, the home gateway passes to the policy server, so the policy server directly rejects the service request from the user terminal, or rejects the service request from the user terminal through the application server. .
  • FIG. 18 is a schematic flowchart of processing a service request by a digital subscriber line access multiplexing device according to an embodiment of the present invention.
  • DSLAM Digital Subscriber Line Access Multiplexing Equipment
  • aggregation switch there are also various scheduling models for the QoS control of the Digital Subscriber Line Access Multiplexing Equipment (DSLAM) and the aggregation switch, such as the DSLAM multi-service scheduling model and the DSLAM multi-user group scheduling model.
  • DSLAM multi-service scheduling model and the DSLAM multi-user group scheduling model.
  • DSLAM multi-user group scheduling model is a general QoS control scheduling model.
  • step 1300 the DSLAM or the aggregation switch receives the quality of service policy rule.
  • step 1301 the DSLAM or the aggregation switch first determines that the quality of service policy rule is to release the service.
  • step 1302 the DSLAM or the aggregation switch reclaims the bandwidth and uninstalls the corresponding quality of service policy rules.
  • the process proceeds to step 1303, where the user group type and the user type are determined.
  • the user group type includes a common user group, a private line user group, and the like, and the user type includes a voice user, a normal user, and the like.
  • step 1304 it is determined whether the user type is a normal user; if yes, go to step 1306; if not, go to step 1305 to determine whether the available bandwidth is greater than the service request bandwidth;
  • step 1306 it is determined whether the available bandwidth is greater than the service request bandwidth; if yes, go to step 1307; if no, go to step 1308 to maintain the existing bandwidth and send an alarm to the DSLAM or the aggregation switch.
  • the home gateway performs the QoS policy rule, that is, the home gateway directly installs a corresponding QoS policy rule QoS policy rule for the user terminal that initiates the service request;
  • step 1305 If it is determined in step 1305 whether the available bandwidth is greater than the service request bandwidth, the process proceeds to step 1307, and if the determination result is no, the process proceeds to step 1309;
  • step 1309 the service bandwidth budget with a lower priority is adjusted, and it is determined whether the adjustment budget is successful. If the adjustment is successful, go to step 1307; otherwise, go to step 1308 to maintain the existing bandwidth and send an alarm to the DSLAM or the aggregation switch.
  • the DSLAM dynamic QoS control scheduling model is different from the QoS control scheduling model of the home gateway.
  • the DSLAM can receive the QoS policy rules from the policy server, and can identify and determine the QoS policy of each home gateway controlled service according to the VLAN tag. Rules, whereby the DSLAM can send a quality of service policy rule through an interface with a policy decision unit of the home gateway, limiting the total bandwidth of all services of each home gateway, or the bandwidth of multiple services, or the bandwidth of each service.
  • the policy server triggers according to the user service request, determines the service quality policy rule related to the service, and sends it to the home gateway for execution, realizing dynamic QoS control.
  • the policy server also sends the QoS policy rule to the DSLAM/aggregation device corresponding to the home gateway, which not only considers the QoS policy configuration for the home gateway, but also considers the QoS policy configuration of the DSLAM/aggregation device corresponding to the home gateway. Quality of service guarantees on the data path from the home gateway to the policy server.
  • the location management unit is introduced to manage the location information, and the location information of the home gateway and the corresponding DSLAM/aggregation device is provided for the policy server, which solves the problem of the discovery of the home gateway and the corresponding DSLAM/aggregation device.

Landscapes

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

Abstract

A strategy determining function entity, Home Gateway, service quality controlling method and the system thereof have been disclosed. The service quality controlling method comprises the steps of: receiving the service request or the service quality strategy rules request sent by Home Gateway or by Home Gateway collocation unit; performing authorization and determination to the service request, determining the service quality strategy rules corresponding to the service requested by the service request based on the service identifier carried by the service request; or performing authorization and determination for the service quality strategy rules request, determining the service quality strategy rules corresponding to the service controlled by the Home Gateway based on the Home Gateway position information, Home Gateway identifier and the terminal identifier carried by the service quality strategy rules request; sending the determined service quality strategy rules to the Home Gateway which is used for distributing the service quality resource to the service request. The embodiments of the present invention solve the problem of the dynamic service quality control in Customer Premises Network.

Description

策略决策功能实体、 家庭网关、 服务质量控制方法及系统 本申请要求于 2008 年 4 月 30 日提交中国专利局、 申请号为 200810027828.0 , 发明名称为 "策略决策功能实体、 家庭网关、 服务质量控制 方法及系统" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域  Policy decision function entity, home gateway, service quality control method and system The application is submitted to the Chinese Patent Office on April 30, 2008, and the application number is 200810027828.0, and the invention name is "strategic decision function entity, home gateway, service quality control method" The priority of the Chinese Patent Application, the entire disclosure of which is incorporated herein by reference. Technical field
本发明实施例涉及通信技术领域, 尤其涉及一种策略决策功能实体, 家庭 网关、 服务质量控制方法及系统。 背景技术  The embodiments of the present invention relate to the field of communications technologies, and in particular, to a policy decision function entity, a home gateway, a service quality control method, and a system. Background technique
下一代网络(NGN, Next Generation Network )是业务驱动的网络, NGN 网络的传送控制层分别提供用户接入和业务接入。 网络附着控制系统(Network Attachment Control System, NACS )关注用户的接入, 其功能包括: 终端接入管 理, 用户接入管理, 网络资源控制接口, 与业务接入的控制接口管理等等。 用 户接入管理与终端无关, 是签约用户实体的逻辑名称, 需要进行认证鉴权和计 费, 是用户接入部分的核心。 资源接纳控制系统(Resource Admission Control System, RACS )关注业务的接入, 其功能包括: 业务识别管理, 业务计费管理, 与用户接入的接口管理, 网络设备控制接口管理等等。 NACS和 RACS 实际上 成为真正的公共接入基础,不但支持 IP多媒体子系统( IP Multimedia Subsystem, IMS )业务的接入, 还同时支持所有 IP应用的接入。 一个业务用户接入网络后, 仅仅是登记了该业务用户的在线状态和所在终端的位置信息, 只有当它允许了 某个网络业务应用软件后, 才会对网络资源提出需求, 甚至可以说, 没有特定 的网络业务, 也就没有宽带业务用户。  The Next Generation Network (NGN) is a service-driven network. The transmission control layer of the NGN network provides user access and service access respectively. The Network Attachment Control System (NACS) focuses on user access. Its functions include: terminal access management, user access management, network resource control interface, and control interface management with service access. User access management is independent of the terminal. It is the logical name of the contracted user entity. It needs to be authenticated and accounted for. It is the core of the user access part. The Resource Admission Control System (RACS) focuses on service access. Its functions include: service identification management, service charging management, interface management with user access, network device control interface management, and so on. NACS and RACS actually become the true public access infrastructure, which not only supports the access of IP Multimedia Subsystem (IMS) services, but also supports the access of all IP applications. After a service user accesses the network, it only registers the online status of the service user and the location information of the terminal. Only when it allows a certain network service application software, will the network resource be demanded, or even said, Without specific network services, there would be no broadband service users.
目前在 NGN网络中,用来整合家庭多种数字应用设备接入的家庭网关倍受 关注, 其因为用户的业务需求, 得到了运营商的青睐。 在 NGN RACF中提到的 重要的业务需求就是要求 NGN 网络支持资源接纳控制与家庭网络(Home Network ) 的交互。 家庭网络指的是融合家庭控制网络和多媒体信息网络于 一体的家庭信息化平台, 是在家庭范围内实现信息设备、 通信设备、 娱乐设 备、 家用电器、 自动化设备、 照明设备、 保安(监控)装置及水电气热表设 备、 家庭求助报警等设备互连和管理, 以及数据和多媒体信息共享的系统。 家庭网络从系统的功能结构层次来分, 大致可分为业务层、 控制层、 媒体层、 承载层和接入层。 承载层是由路由器等组成的承载网络。 At present, in the NGN network, the home gateway used to integrate the access of multiple digital application devices in the home has attracted much attention, and it has been favored by operators because of the user's business requirements. An important business requirement mentioned in the NGN RACF is that the NGN network is required to support resource admission control interaction with the Home Network. Home network refers to a home information platform that integrates a home control network and a multimedia information network. It implements information equipment, communication equipment, entertainment equipment, household appliances, automation equipment, lighting equipment, and security (monitoring) devices within the family. And water and electricity heat meter Equipment for interconnection and management of equipment such as standby, home help alarms, and sharing of data and multimedia information. The home network is divided into functional layers of the system, which can be roughly divided into a service layer, a control layer, a media layer, a bearer layer, and an access layer. The bearer layer is a bearer network composed of routers and the like.
家庭网络 QoS控制的实现过程中, 家庭网关是一个关键环节。 家庭网关作 为内部局域网与外部电信网络的连接点, 是宽带业务与家庭之间的纽带; 家庭 网关将外部网络的业务与管理请求转发到家庭网络内部, 也为家庭网络内部设 备提供到业务系统的连接; 家庭网关还作为终结设备连接到业务平台, 为家庭 用户提供各种宽带业务。 随着家庭网络业务的深入, 在家庭网关中为各种业务 合理地分配所需的带宽, 是保障家庭网络内各用户终端 QoS的一种体现。 家庭 网关的 QoS控制包括业务流量识别和服务质量策略控制两部分, 业务流量识别 是指在家庭网关识别家庭内部的不同终端的业务流量类型并加以区分。 目前业 务流量识别釆取比较多的方法是静态端口绑定方式, 缺点是不支持动态端口, 不利于用户使用。 另一种备选的业务识别方案是设计专门的业务流量识别器, 通过深度包检测 (Deep Packet Inspection, DPI ) 自动地通过分析应用层协议来 识别业务流量, 其缺点是需要对每个数据包进行分析, 因此对家庭网关的性能 有较高的要求, 而且无法区分合法的业务流量和非法的业务流量。 服务质量策 略控制是在业务流量识别的基础上, 根据业务的优先级, 不同的用户组, 不同 的用户权限, 对不同业务的 QoS资源 (如带宽资源) 的动态调整。  Home network QoS control is a key link in the implementation of QoS control. As the connection point between the internal LAN and the external telecommunication network, the home gateway is the link between the broadband service and the home; the home gateway forwards the service and management request of the external network to the home network, and also provides the internal equipment of the home network to the service system. Connection; The home gateway is also connected to the service platform as a terminating device to provide various broadband services for home users. With the deepening of the home network service, it is an embodiment of ensuring the QoS of each user terminal in the home network by reasonably allocating the required bandwidth for various services in the home gateway. The QoS control of the home gateway includes two parts: service traffic identification and quality of service policy control. The service traffic identification refers to identifying and distinguishing the types of service traffic of different terminals within the home at the home gateway. At present, the method of identifying traffic traffic is more static port binding. The disadvantage is that dynamic ports are not supported, which is not conducive to users. Another alternative service identification scheme is to design a dedicated traffic identifier, which automatically identifies the traffic by analyzing the application layer protocol through Deep Packet Inspection (DPI). The disadvantage is that each packet needs to be Analysis is performed, so there is a high requirement for the performance of the home gateway, and it is impossible to distinguish between legitimate traffic and illegal traffic. The service quality policy control is based on the service traffic identification, based on the service priority, different user groups, different user rights, and dynamic adjustment of QoS resources (such as bandwidth resources) of different services.
如图 1所示, 为现有技术提供的一种基于策略的家庭网关业务流量识别方 法, 其实施步骤如下:  As shown in FIG. 1 , a policy-based home gateway service traffic identification method provided by the prior art is implemented as follows:
在步骤 1 , 家庭终端连接到自动配置服务器( Automatic Configuration Server, ACS ) , 同时将该终端的识别信息(例如 IP地址、 终端类型、 终端标识等)上报 给 ACS。  In step 1, the home terminal is connected to an automatic configuration server (ACS), and the identification information of the terminal (such as an IP address, a terminal type, a terminal identifier, etc.) is reported to the ACS.
在步骤 2, ACS对终端进行认证;  In step 2, the ACS authenticates the terminal.
在步骤 3 , 在认证成功后, ACS利用该终端的识别信息向业务应用系统(业 务 Λ良务器)查询该终端的业务信息;  In step 3, after the authentication succeeds, the ACS uses the identification information of the terminal to query the service application system (service server) for the service information of the terminal;
在步骤 4, 该 ACS利用所获得的该终端的业务信息向策略服务器 (Policy Decision Function, PDF )请求获取与该终端的业务相匹配的策略;  In step 4, the ACS requests, by using the obtained service information of the terminal, a policy (Policy Decision Function, PDF) to obtain a policy matching the service of the terminal;
在步骤 5, ACS将从 PDF获得的包含该终端服务质量策略规则安装到家庭网 关; 在步骤 6, 家庭网关通过所述服务质量策略规则中包含的控制方法实现对业 务流量的识别和控制。 In step 5, the ACS installs the terminal service quality policy rule obtained from the PDF to the home gateway; In step 6, the home gateway implements identification and control of service traffic by using a control method included in the quality of service policy rule.
综上所述,家庭网关是家庭网络的核心部件,能够提供家庭联网, QoS保证, 安全管理等, 但目前家庭网关存在的主要问题是服务质量策略规则配置缺乏一 种灵活的机制。 比如现在釆取比较多的方法是静态配置家庭网关服务质量策略 规则, 实现静态端口绑定 QoS资源, 当家庭网络中终端对应的某个业务带宽无法 保证时或者多种业务存在资源竟争时, 家庭网关无法重新调整各种业务的带宽 预算, 或者即使在某种业务带宽资源富余, 也无法释放这部分带宽给重要的业 务使用, 造成家庭网络带宽资源的浪费。 另外当某个终端对应的业务发生更新 或者变化时, 家庭网关无法及时的调整终端对应业务的 QoS资源, 比如家庭网络 某用户终端对应 IPTV单播业务带宽是 2M, 当该用户终端单播业务更改为组播业 务时,其相应的带宽需求是 4M, 因此家庭网关对组播业务带宽需求也需要更新。  In summary, the home gateway is the core component of the home network, which can provide home networking, QoS guarantee, security management, etc. However, the main problem of the home gateway is that the service quality policy rule configuration lacks a flexible mechanism. For example, if the method of traversing a large number of methods is to statically configure the QoS policy of the home gateway, the static port is bound to the QoS resource. When a certain service bandwidth of the terminal in the home network cannot be guaranteed, or when there are resource competitions in multiple services, The home gateway cannot re-adjust the bandwidth budget of various services, or even if a certain service bandwidth resource is surplus, it cannot release this part of the bandwidth for important business use, resulting in waste of bandwidth resources of the home network. In addition, when the service corresponding to a certain terminal is updated or changed, the home gateway cannot adjust the QoS resources of the terminal corresponding service in time. For example, the bandwidth of the IPTV unicast service corresponding to a user terminal of the home network is 2M, when the unicast service of the user terminal is changed. When the service is a multicast service, the corresponding bandwidth requirement is 4M. Therefore, the bandwidth requirement of the home gateway for the multicast service also needs to be updated.
发明人研究过程中发现现有技术具有如下缺点:  The inventors found that the prior art has the following disadvantages during the research process:
现有技术提供的基于策略的家庭网关业务流量识别系统和方法只适合家庭 网关中多种业务 QoS资源的静态配置(不管用户有没有请求业务,都为该业务预 留 QoS资源) , 对于突发的业务请求如 IPTV单播 /组播业务请求, 在所需的业务 QoS资源不足的情况下, 无法实现 QoS资源的动态分配和调整。 发明内容  The policy-based home gateway service traffic identification system and method provided by the prior art are only suitable for static configuration of multiple service QoS resources in the home gateway (regardless of whether the user has requested the service, all QoS resources are reserved for the service), for the burst The service request, such as the IPTV unicast/multicast service request, cannot dynamically allocate and adjust the QoS resources when the required service QoS resources are insufficient. Summary of the invention
本发明实施例提供一种策略服务器、 家庭网关、 服务质量控制方法及系统, 可实现家庭网络中不同业务的 QoS动态控制。  The embodiment of the invention provides a policy server, a home gateway, a service quality control method and a system, which can implement QoS dynamic control of different services in a home network.
为解决目前技术中的存在的问题, 本发明实施例提供了一种服务质量控制 方法, 包括:  To solve the problem in the prior art, the embodiment of the present invention provides a service quality control method, including:
从策略决策功能实体处获得服务质量策略规则;  Obtaining a quality of service policy rule from a policy decision function entity;
将未转换成家庭网络内承载层的服务质量策略规则转换成家庭网络中承载 层的服务质量策略规则;  Converting the quality of service policy rules that are not converted into the bearer layer in the home network into the quality of service policy rules of the bearer layer in the home network;
执行所述转换后的服务质量策略规则。  Performing the converted quality of service policy rules.
本发明实施利还提供了一种服务质量控制方法, 包括:  The implementation of the present invention also provides a service quality control method, including:
接收业务请求或家庭网关或家庭网关配置单元发送的服务质量策略规则请 求; 对所述业务请求进行授权和决策, 根据所述业务请求中携带的业务标识决 定所述业务请求所请求的业务对应的服务质量策略规则; 或对所述服务质量策 略规则请求进行授权和决策, 根据所述服务质量策略规则请求中携带的家庭网 关位置信息、 家庭网关标识以及终端标识, 决定所述家庭网关控制的业务对应 的服务质量策略规则; Receiving a service request or a quality of service policy rule request sent by a home gateway or a home gateway configuration unit; Authorizing and deciding the service request, determining a service quality policy rule corresponding to the service requested by the service request according to the service identifier carried in the service request; or authorizing and deciding the service quality policy rule request, Determining a service quality policy rule corresponding to the service controlled by the home gateway according to the home gateway location information, the home gateway identifier, and the terminal identifier carried in the service quality policy rule request;
将所述决定的服务质量策略规则发送至为所述业务请求分配服务质量资源 的家庭网关。  The determined quality of service policy rule is sent to a home gateway that allocates quality of service resources for the service request.
本发明实施例还提供了一种家庭网关, 包括:  The embodiment of the invention further provides a home gateway, including:
策略决策单元, 用于从策略决策功能实体处获得服务质量策略规则, 并将 未转换成家庭网络内承载层的服务质量策略规则转换成家庭网络中承载层的服 务质量策略规则;  a policy decision unit, configured to obtain a QoS policy rule from the policy decision function entity, and convert the QoS policy rule that is not converted into a bearer layer in the home network into a service quality policy rule of the bearer layer in the home network;
策略执行单元, 用于执行所述转换后的服务质量策略规则。  a policy execution unit, configured to execute the converted quality of service policy rule.
本发明实施例还提供了一种策略决策功能实体, 包括:  The embodiment of the invention further provides a policy decision function entity, including:
策略决策单元, 用于对业务请求进行授权和决策, 根据所述业务请求中携 带的业务标识决定所述业务请求所请求的业务对应的服务质量策略规则; 或对 所述服务质量策略规则请求进行授权和决策, 根据所述服务质量策略规则请求 中携带的家庭网关位置信息、 家庭网关标识以及终端标识, 决定所述家庭网关 控制的业务对应的服务质量策略规则;  a policy decision unit, configured to perform authorization and decision on the service request, determine a service quality policy rule corresponding to the service requested by the service request according to the service identifier carried in the service request, or perform the service quality policy rule request Authorizing and determining, according to the home gateway location information, the home gateway identifier, and the terminal identifier carried in the request for the service quality policy rule, determining a service quality policy rule corresponding to the service controlled by the home gateway;
策略发送单元, 用于将所述策略决策单元决定的服务质量策略规则发送给 家庭网关。  And a policy sending unit, configured to send the quality of service policy rule determined by the policy decision unit to the home gateway.
相应地, 本发明实施例还提供了一种服务质量控制系统, 包括策略决策功 能实体和家庭网关, 所述策略决策功能实体, 用于对业务请求进行授权和决策, 根据所述业务请求中携带的业务标识决定所述业务请求所请求的业务对应的服 务质量策略规则; 或对所述服务质量策略规则请求进行授权和决策, 根据所述 服务质量策略规则请求中携带的家庭网关位置信息、 家庭网关标识以及终端标 识, 决定所述家庭网关控制的业务对应的服务质量策略规则;  Correspondingly, the embodiment of the present invention further provides a service quality control system, including a policy decision function entity and a home gateway, where the policy decision function entity is configured to perform authorization and decision on a service request, and is carried according to the service request. The service identifier determines a service quality policy rule corresponding to the service requested by the service request; or authorizes and determines the service quality policy rule request, according to the home gateway location information and the family carried in the service quality policy rule request a gateway identifier and a terminal identifier, and determining a service quality policy rule corresponding to the service controlled by the home gateway;
所述家庭网关用于从策略决策功能实体处获得服务质量策略规则, 并将未 转换成家庭网络内承载层的服务质量策略规则转换成家庭网络中承载层的服务 质量策略规则后, 执行所述转换后的服务质量策略规则。  The home gateway is configured to obtain a quality of service policy rule from a policy decision function entity, and convert the service quality policy rule that is not converted into a bearer layer in the home network into a service quality policy rule of the bearer layer in the home network, and then perform the The converted quality of service policy rules.
实施本发明实施例提供的策略决策功能实体, 家庭网关和服务质量控制方 法及系统, 具有如下有益效果: Implementing the policy decision function entity provided by the embodiment of the present invention, the home gateway and the quality of service controller The method and system have the following beneficial effects:
策略决策功能实体对业务请求进行授权和决策, 根据所述业务请求中携带 的业务标识决定所述业务请求所请求的业务对应的服务质量策略规则; 或对家 庭网关或家庭网关配置单元发送的服务质量策略规则请求进行授权和决策, 根 据所述服务质量策略规则请求中携带的家庭网关位置信息、 家庭网关标识以及 终端标识, 决定所述家庭网关控制的业务对应的服务质量策略规则; 并将所述 决定的服务质量策略规则发送给家庭网关实施, 解决了 QoS动态控制问题。 附图说明  The policy decision function entity performs authorization and decision on the service request, and determines a service quality policy rule corresponding to the service requested by the service request according to the service identifier carried in the service request; or a service sent by the home gateway or the home gateway configuration unit The quality policy rule requests the authorization and the decision, and determines the service quality policy rule corresponding to the service controlled by the home gateway according to the home gateway location information, the home gateway identifier, and the terminal identifier carried in the service quality policy rule request; The determined quality of service policy rules are sent to the home gateway implementation, which solves the problem of QoS dynamic control. DRAWINGS
图 1 是现有技术提供的基于策略的家庭网关业务流量识别方法的流程示意 图;  1 is a schematic flow chart of a policy-based home gateway service traffic identification method provided by the prior art;
图 2是本发明实施例提供的服务质量控制系统第一实施例的结构示意图; 图 3 是本发明实施例提供的服务质量控制系统第二实施例的结构示意图; 图 4是本发明实施例提供的策略决策功能实体的结构示意图;  2 is a schematic structural diagram of a first embodiment of a service quality control system according to an embodiment of the present invention; FIG. 3 is a schematic structural diagram of a second embodiment of a service quality control system according to an embodiment of the present invention; Schematic diagram of the strategic decision function entity;
图 5是本发明实施例提供的家庭网关的结构示意图;  FIG. 5 is a schematic structural diagram of a home gateway according to an embodiment of the present invention;
图 6是本发明实施例提供的服务质量控制方法第一实施例的流程示意图; 图 7是本发明实施例提供的服务质量控制方法第二实施例的流程示意图; 图 8是本发明实施例提供的服务质量控制方法第三实施例的流程示意图; 图 9是本发明实施例提供的服务质量控制方法第四实施例的流程示意图; 图 10是本发明实施例提供的服务质量控制方法第五实施例的流程示意图; 图 11是本发明实施例提供的服务质量控制方法第六实施例的流程示意图; 图 12是本发明实施例提供的服务质量控制方法第七实施例的流程示意图; 图 13是本发明实施例提供的服务质量控制方法第八实施例的流程示意图; 图 14是本发明实施例提供的服务质量控制方法第九实施例的流程示意图; 图 15是本发明实施例提供的服务质量控制方法第十实施例的流程示意图; 图 16是为本发明实施例提供的服务质量控制方法第十一实施例的流程示意 图;  6 is a schematic flowchart of a first embodiment of a service quality control method according to an embodiment of the present invention; FIG. 7 is a schematic flowchart of a second embodiment of a service quality control method according to an embodiment of the present invention; FIG. 9 is a schematic flowchart of a fourth embodiment of a service quality control method according to an embodiment of the present invention; FIG. 10 is a fifth implementation of a service quality control method according to an embodiment of the present invention; FIG. 11 is a schematic flowchart of a sixth embodiment of a service quality control method according to an embodiment of the present invention; FIG. 12 is a schematic flowchart of a seventh embodiment of a service quality control method according to an embodiment of the present invention; FIG. 14 is a schematic flowchart diagram of a ninth embodiment of a service quality control method according to an embodiment of the present invention; FIG. 15 is a schematic diagram of a service quality provided by an embodiment of the present invention; Schematic diagram of the tenth embodiment of the control method; FIG. 16 is a flowchart of the embodiment of the present invention Service quality control method of a flow of the eleventh embodiment schematic view of the embodiment;
图 17是本发明实施例提供的家庭网关对业务请求处理的流程示意图; 图 18是本发明实施例提供的数字用户线路接入复用设备对业务请求处理的 流程示意图。 具体实施方式 FIG. 17 is a schematic flowchart of a service request processing of a home gateway according to an embodiment of the present invention; FIG. 18 is a schematic flowchart of a service request processing performed by a digital subscriber line access multiplexing device according to an embodiment of the present invention. detailed description
本发明实施例通过提供一种策略决策功能实体, 家庭网关、 服务质量控制 方法及系统, 动态配置用户终端的 QoS资源, 解决同一个家庭网络内单个用户多 个业务资源或者多个用户不同业务的资源优化分配问题,实现家庭网络中的 QoS 资源有效和充分利用。  The embodiment of the present invention provides a policy decision function entity, a home gateway, a service quality control method, and a system, and dynamically configures QoS resources of a user terminal to solve multiple service resources of multiple users in a same home network or different services of multiple users. Resource optimization allocation problem, to achieve effective and full use of QoS resources in the home network.
首先需要说明的是, 本发明实施例提供的策略决策功能实体可以以单独的 策略决策单元实现, 或以中央策略决策单元实现, 或集成在接入节点中以本地 策略决策单元实现。 所述的策略决策单元在具体实现的时候, 可以用策略服务 器来实现, 也可以用 AAA服务器实现, 用 AAA服务器实现的时候, 是用于向交 换设备下发计费相关的策略规则。  It should be noted that the policy decision function entity provided by the embodiment of the present invention may be implemented by a single policy decision unit, or implemented by a central policy decision unit, or integrated in an access node by a local policy decision unit. The policy decision unit may be implemented by a policy server when the specific implementation is implemented, or may be implemented by using an AAA server. When implemented by the AAA server, the policy decision unit is used to deliver a charging related policy rule to the switching device.
参见图 2 , 是本发明实施例提供的服务质量控制系统第一实施例的结构示意 图。  Referring to FIG. 2, it is a schematic structural diagram of a first embodiment of a quality of service control system according to an embodiment of the present invention.
本发明实施例提供的服务质量控制系统包括:  The service quality control system provided by the embodiment of the present invention includes:
策略决策功能实体 1和家庭网关 2, 所述策略决策功能实体 1 , 在业务请求 的触发下进行授权和决策, 根据所述业务请求中携带的业务标识决定所述业务 请求所请求的业务对应的服务质量策略规则 (QoS策略规则), 并向所述家庭网 关 2发送所述决定的服务质量策略规则;  The policy decision function entity 1 and the home gateway 2, the policy decision function entity 1 performs authorization and decision under the trigger of the service request, and determines the service corresponding to the service request according to the service identifier carried in the service request. a quality of service policy rule (QoS policy rule), and sending the determined quality of service policy rule to the home gateway 2;
所述家庭网关 2收到所述服务质量策略规则后, 当所述服务质量策略规则 未被转换成家庭网络内承载层的服务质量策略规则时, 还需要将所述服务质量 策略规则转换成家庭网络内承载层的服务质量策略规则, 并执行所述转换后的 服务质量策略规则。  After receiving the QoS policy rule, the home gateway 2 needs to convert the QoS policy rule into a home when the QoS policy rule is not converted into a QoS policy rule of the bearer layer in the home network. A quality of service policy rule of the bearer layer in the network, and executing the converted quality of service policy rule.
所述系统还包括:  The system also includes:
接入设备 3 , 即接入网到所述家庭网关的业务路径上的交换设备, 具体为边 缘交换设备(如 BAS设备, SBC设备), 汇聚交换机或数字用户线路接入复用 ( DSLAM, Digital Subscriber Line Access Multiplexer )设备, 用于接收来自策略 决策功能实体 1 发送的服务质量策略规则, 并将所述服务质量策略规则转发给 家庭网关 2。  The access device 3, that is, the switching device on the service path of the access network to the home gateway, specifically an edge switching device (such as a BAS device, an SBC device), an aggregation switch or a digital subscriber line access multiplexing (DSLAM, Digital) The Subscriber Line Access Multiplexer device is configured to receive the quality of service policy rule sent by the policy decision function entity 1 and forward the quality of service policy rule to the home gateway 2.
所述系统还包括:  The system also includes:
位置服务器 4,用于管理所述家庭网关 2以及所述接入设备 3 ,的位置信息, 并将所述位置信息提供给所述策略决策功能实体 1 ,以使所述策略决策功能实体 1向所述家庭网关 2或接入设备 3发送所述服务质量策略规则。 a location server 4, configured to manage location information of the home gateway 2 and the access device 3, And providing the location information to the policy decision function entity 1 to enable the policy decision function entity 1 to send the quality of service policy rule to the home gateway 2 or the access device 3.
具体地, 在业务请求触发下, 首先由策略决策功能实体 1决定所述业务请求 所请求的业务对应的服务质量策略规则后, 在位置服务器 4中获取到为所述业务 请求所请求的业务分配服务质量资源的家庭网关 2的位置, 根据所述位置信息向 家庭网关 2直接下发所述服务质量策略规则, 这种策略决策功能实体直接将服务 质量策略规则发送给家庭网关的方式称为集中式策略下发机制;  Specifically, after the service request triggering, the policy decision function entity 1 first determines the service quality policy rule corresponding to the service requested by the service request, and obtains the service allocation requested by the service request in the location server 4 The location of the home gateway 2 of the quality of service resource is directly delivered to the home gateway 2 according to the location information, and the manner in which the policy decision function entity directly sends the service quality policy rule to the home gateway is called concentration. Strategy delivery mechanism;
策略决策功能实体 1还可以首先向接入设备 3下发服务质量策略规则, 然后 由接入设备 3向家庭网关 2转发所述服务质量策略规则; 这种方式则称为分布式 策略下发机制。  The policy decision function entity 1 may also first deliver the QoS policy rule to the access device 3, and then forward the QoS policy rule to the home gateway 2 by the access device 3; this method is called a distributed policy delivery mechanism. .
家庭网关 2接收来自策略决策功能实体 1的服务质量策略规则, 当所述服务 质量策略规则未被转换成家庭网络内承载层的服务质量策略规则时, 家庭网关 2 根据不同的业务类型, 用户类型, 用户组类型, 将所述服务质量策略规则转换 成家庭网络内承载层的服务质量策略规则后, 家庭网关 2再执行所述服务服务质 量策略规则。  The home gateway 2 receives the quality of service policy rule from the policy decision function entity 1, when the quality of service policy rule is not converted into the quality of service policy rule of the bearer layer in the home network, the home gateway 2 according to different service types, user type After the service quality policy rule is converted into the quality of service policy rule of the bearer layer in the home network, the home gateway 2 performs the service quality of service policy rule again.
作为一种实施方式, 向所述家庭网关 2转发所述服务质量策略规则的接入设 备 3也可以实施所述服务质量策略规则, 本发明实施例实现了对家庭网关 2的动 态 QoS控制, 还实现了对到家庭网关 2路径上的接入设备 3的动态 QoS控制。  As an implementation manner, the access device 3 that forwards the QoS policy rule to the home gateway 2 may also implement the QoS policy rule, and the embodiment of the present invention implements dynamic QoS control on the home gateway 2, Dynamic QoS control of the access device 3 to the home gateway 2 path is achieved.
当家庭网关 2执行服务质量策略规则失败时, 或者接入设备 3执行服务质量 策略规则失败时, 家庭网关 2和接入设备 3会分别应答策略决策功能实体 1 , 告知 执行服务质量策略规则失败的消息, 策略决策功能实体 1根据服务质量策略规则 执行结果确定允许该业务或者拒绝该业务请求所请求的业务。 当服务质量策略 规则执行成功时, 则允许该业务, 否则拒绝该业务。  When the home gateway 2 fails to perform the QoS policy rule, or the access device 3 fails to perform the QoS policy rule, the home gateway 2 and the access device 3 respectively respond to the policy decision function entity 1 to notify that the execution of the QoS policy rule fails. The message, the policy decision function entity 1 determines the service requested by the service or rejects the service request according to the service quality policy rule execution result. When the QoS policy rule is successfully executed, the service is allowed, otherwise the service is rejected.
本发明实施例提供的家庭网络内动态服务质量控制的系统, 无需家庭网关 预先配置服务质量策略规则, 而是根据业务请求, 由策略决策功能实体进行授 权和决策, 根据所述业务请求中携带的业务标识决定所述业务请求所请求的业 务对应的服务质量策略规则后下发给家庭网关执行, 解决了动态 QoS控制问题。  The system for dynamic quality of service control in the home network provided by the embodiment of the present invention does not require the home gateway to pre-configure the service quality policy rule, but is based on the service request, and the policy decision function entity performs authorization and decision according to the service request. The service identifier determines the quality of service policy rule corresponding to the service requested by the service request, and then is sent to the home gateway to perform the dynamic QoS control problem.
参见图 3 , 是本发明实施例提供的服务质量控制系统第二实施例的结构示意 图。  FIG. 3 is a schematic structural diagram of a second embodiment of a quality of service control system according to an embodiment of the present invention.
所述服务质量控制系统包括: 策略决策功能实体 1和家庭网关 2, 所述策略决策功能实体 1 , 对所述家庭 网关 2发送的服务质量策略规则请求进行授权和决策, 根据所述服务质量策略 规则请求中携带的家庭网关位置信息、 家庭网关标识以及终端标识, 决定所述 家庭网关 2控制的业务对应的服务质量策略规则, 并向所述家庭网关 2发送所 述家庭网关 2控制的业务相关的服务质量策略规则; The quality of service control system includes: The policy decision function entity 1 and the home gateway 2, the policy decision function entity 1 authorizes and decides on the QoS policy rule request sent by the home gateway 2, and the home gateway location carried in the request according to the QoS policy rule request The information, the home gateway identifier, and the terminal identifier determine a service quality policy rule corresponding to the service controlled by the home gateway 2, and send the service-related service quality policy rule controlled by the home gateway 2 to the home gateway 2;
所述家庭网关 2收到所述服务质量策略规则后, 当将所述服务质量策略规 则未被转换成家庭网络内承载层的服务质量策略规则时, 将所述服务质量策略 规则转换成家庭网络内承载层的服务质量策略规则, 并执行所述转换后的服务 质量策略规则。  After receiving the QoS policy rule, the home gateway 2 converts the QoS policy rule into a home network when the QoS policy rule is not converted into a QoS policy rule of the bearer layer in the home network. The quality of service policy rule of the inner bearer layer, and the converted quality of service policy rule is executed.
需要说明的是, 所述服务质量策略规则请求还可以由家庭网关配置单元 5 向策略决策功能实体 1发送,家庭网关配置单元 5是 NGN架构中 NACS系统的 一个功能单元, 用于家庭网关防火墙的配置, 在本发明实施例中, 也可以用作 触发策略决策功能实体 1向家庭网关 2发送服务质量策略规则的一种手段。  It should be noted that the QoS policy rule request may also be sent by the home gateway configuration unit 5 to the policy decision function entity 1, and the home gateway configuration unit 5 is a functional unit of the NACS system in the NGN architecture, and is used for the home gateway firewall. The configuration may also be used as a means for the trigger policy decision function entity 1 to send a service quality policy rule to the home gateway 2 in the embodiment of the present invention.
所述家庭网关 2或家庭网关配置单元 5向所述策略决策功能实体 1发送的 服务质量策略规则请求中, 携带有家庭网关 2 的位置信息和家庭网关标识以及 终端标识。 需要说明的是, 家庭网关 2 可以管理多个用户终端, 每个用户终端 可以请求多个不同类型的业务, 通过终端标识可以从策略决策功能实体 1 获取 多个不同类型的业务对应的服务质量策略规则, 家庭网关 2 可以从策略决策功 能实体 1获取家庭网关 2管理的所有用户终端所请求的业务对应的服务质量策 略规则。  The QoS policy rule request sent by the home gateway 2 or the home gateway configuration unit 5 to the policy decision function entity 1 carries the location information of the home gateway 2, the home gateway identifier, and the terminal identifier. It should be noted that the home gateway 2 can manage multiple user terminals, and each user terminal can request multiple different types of services. The terminal identification can obtain multiple service quality policies corresponding to different types of services from the policy decision function entity 1. The rule that the home gateway 2 can obtain the service quality policy rule corresponding to the service requested by all the user terminals managed by the home gateway 2 from the policy decision function entity 1.
策略决策功能实体 1 ,在所述家庭网关 2或家庭网关配置单元 5的服务质量 策略规则请求触发下进行授权和决策; 所述服务质量策略规则请求用于为该家 庭网关 2控制的业务决定服务质量策略规则, 根据所述家庭网关标识, 识别家 庭网关所在的家庭网络, 然后根据所述位置信息, 向所述家庭网关 2发送所述 家庭网关 2控制的业务的服务质量策略规则。  The policy decision function entity 1 performs authorization and decision under the trigger of the quality of service policy rule request of the home gateway 2 or the home gateway configuration unit 5; the service quality policy rule requests the service decision service controlled by the home gateway 2 The quality policy rule identifies the home network where the home gateway is located according to the home gateway identifier, and then sends the service quality policy rule of the service controlled by the home gateway 2 to the home gateway 2 according to the location information.
所述策略决策功能实体 1还可以通过家庭网关配置单元 5向所述家庭网关 转发服务质量策略规则, 所述家庭网关配置单元 5作为一种本地策略决策单元, 接收来自策略决策功能实体 1 的服务质量策略规则, 然后向所述家庭网关 2转 发。  The policy decision function entity 1 may further forward the quality of service policy rule to the home gateway through the home gateway configuration unit 5, and the home gateway configuration unit 5 receives the service from the policy decision function entity 1 as a local policy decision unit. The quality policy rules are then forwarded to the home gateway 2.
参见图 4, 为本发明实施例提供的策略决策功能实体的结构示意图。 本发明实施例提供的策略决策功能实体 1 , 包括: FIG. 4 is a schematic structural diagram of a policy decision function entity according to an embodiment of the present invention. The policy decision function entity 1 provided by the embodiment of the present invention includes:
策略决策单元 11 , 用于对业务请求进行授权和决策, 根据所述业务请求中 携带的业务标识决定所述业务请求所请求的业务对应的服务质量策略规则; 所 述业务请求由用户终端发起, 并由应用服务器或者组播控制单元转发至策略决 策功能实体。 所述业务请求中携带有业务标识, 用于识别业务类型; 所述业务 类型包括单播业务请求, 组播业务请求, 以及高速上网业务, 语音业务等等。  The policy decision unit 11 is configured to perform authorization and decision on the service request, and determine a service quality policy rule corresponding to the service requested by the service request according to the service identifier carried in the service request; the service request is initiated by the user terminal, And forwarded by the application server or multicast control unit to the policy decision function entity. The service request carries a service identifier, which is used to identify a service type. The service type includes a unicast service request, a multicast service request, and a high-speed Internet service, a voice service, and the like.
策略发送单元 12,用于将策略决策单元 11决定的服务质量策略规则发送给 家庭网关。  The policy sending unit 12 is configured to send the QoS policy rule determined by the policy decision unit 11 to the home gateway.
所述服务质量策略规则包括业务类型、 业务标识、 业务带宽资源、 业务优 先级、 业务速率。  The quality of service policy rules include a service type, a service identifier, a service bandwidth resource, a service priority, and a service rate.
所述策略发送单元 12用于直接向家庭网关, 或者经由接入设备向所述家庭 网关发送服务质量策略规则。  The policy sending unit 12 is configured to send a quality of service policy rule directly to the home gateway or to the home gateway via the access device.
在所述策略决策单元 11接收到因用户终端欠费或者正常下线发起的业务退 出请求时, 所述策略发送单元 12, 还用于向所述家庭网关发送释放服务质量资 源的服务质量策略规则。  The policy sending unit 12 is further configured to send a service quality policy rule for releasing the quality of service resource to the home gateway, when the policy decision unit 11 receives the service exit request initiated by the user terminal or the normal offline call. .
所述策略决策功能实体 1还包括:  The policy decision function entity 1 further includes:
位置获取单元 13 , 用于从位置服务器中获取所述家庭网关的位置信息, 在 通过接入设备向家庭网关转发服务质量策略规则时, 还需要从位置服务器中获 取接入设备的位置信息;  The location obtaining unit 13 is configured to obtain the location information of the home gateway from the location server, and obtain the location information of the access device from the location server when forwarding the service quality policy rule to the home gateway by using the access device;
则所述策略发送单元 12根据所述位置获取单元 13获取到的位置信息, 向 所述家庭网关发送所述服务质量策略规则, 或在分布式策略下发机制下, 通过 向所述接入设备发送所述服务质量策略规则, 再由所述接入设备向家庭网关转 发所述服务质量策略规则。  The policy sending unit 12 sends the QoS policy rule to the home gateway according to the location information acquired by the location acquiring unit 13, or by using the distributed policy sending mechanism to the access device. And sending the quality of service policy rule, and then the access device forwards the quality of service policy rule to the home gateway.
所述策略决策功能实体 1还包括:  The policy decision function entity 1 further includes:
应答接收单元 14, 用于接收来自家庭网关或接入设备执行所述服务质量策 略规则的执行结果;  The response receiving unit 14 is configured to receive an execution result of the quality of service policy rule from the home gateway or the access device;
业务处理单元 15 , 用于根据所述执行结果, 允许或者拒绝所述业务请求所 请求的业务。 具体地, 当服务质量策略规则执行成功时, 则允许该业务, 否则 拒绝该业务。  The service processing unit 15 is configured to allow or reject the service requested by the service request according to the execution result. Specifically, when the QoS policy rule is successfully executed, the service is allowed, otherwise the service is rejected.
同样参见图 4 , 说明本发明实施例提供的策略决策功能实体第二实施例。 本发明实施例提供的策略决策功能实体, 包括: Referring to FIG. 4, a second embodiment of a policy decision function entity provided by an embodiment of the present invention is illustrated. The policy decision function entity provided by the embodiment of the present invention includes:
策略决策单元 11 , 对家庭网关发送的服务质量策略规则请求进行授权和决 策, 根据所述服务质量策略规则请求中携带的家庭网关位置信息、 家庭网关标 识以及终端标识, 决定所述家庭网关控制的业务对应的服务质量策略规则; 所 述服务质量策略规则请求可以由家庭网关发送, 也可以由家庭网关配置单元发 送。  The policy decision unit 11 performs authorization and decision on the QoS policy rule request sent by the home gateway, and determines the home gateway control information according to the home gateway location information, the home gateway identifier, and the terminal identifier carried in the QoS policy rule request. The service quality policy rule corresponding to the service; the service quality policy rule request may be sent by the home gateway or by the home gateway configuration unit.
策略发送单元 12,用于将所述策略决策单元 11决定的服务质量策略规则发 送给家庭网关。  The policy sending unit 12 is configured to send the quality of service policy rule determined by the policy decision unit 11 to the home gateway.
当所述服务质量策略规则请求是由家庭网关发送时, 所述策略决策单元 11 为所述发起服务质量策略规则请求的家庭网关所控制的所有业务决定对应的服 务质量策略规则,所述策略发送单元 12向家庭网关发送所述服务质量策略规则。  When the QoS policy rule request is sent by the home gateway, the policy decision unit 11 determines a corresponding QoS policy rule for all services controlled by the home gateway requested by the QoS policy rule, and the policy is sent. Unit 12 transmits the quality of service policy rules to the home gateway.
当服务质量策略规则请求是由家庭网关配置单元发送时, 所述策略决策单 元 11为与所述家庭网关配置单元相关的家庭网关所控制的所有业务决定对应的 服务质量策略规则, 所述策略发送单元 12将所述策略决策单元 11决定的服务 质量策略规则通过所述家庭网关配置单元转发给所述家庭网关。  When the QoS policy rule request is sent by the home gateway configuration unit, the policy decision unit 11 determines a QoS policy rule corresponding to all services controlled by the home gateway related to the home gateway configuration unit, where the policy is sent. The unit 12 forwards the quality of service policy rule determined by the policy decision unit 11 to the home gateway through the home gateway configuration unit.
在因用户终端欠费或者正常下线发起的业务退出请求时, 所述策略发送单 元 12还用于向所述家庭网关发送释放服务质量资源的服务质量策略规则。  The policy sending unit 12 is further configured to send a service quality policy rule for releasing the quality of service resource to the home gateway, when the service exit request is initiated by the user terminal or the normal offline.
所述策略决策功能实体 1还包括:  The policy decision function entity 1 further includes:
位置获取单元 13 , 用于根据所述服务质量策略规则请求中携带的家庭网关 的位置信息, 获取所述家庭网关的位置。  The location obtaining unit 13 is configured to obtain the location of the home gateway according to location information of the home gateway carried in the service quality policy rule request.
应^妻收单元 14, 用于接收来自所述家庭网关执行所述服务质量策略规则 的执行结果;  The receiving unit 14 is configured to receive an execution result of the quality of service policy rule from the home gateway;
业务处理单元 15 , 用于根据所述执行结果, 允许或者拒绝由所述家庭网关 控制的业务。  The service processing unit 15 is configured to allow or reject the service controlled by the home gateway according to the execution result.
参见图 5 , 是本发明实施例提供的家庭网关的结构示意图。  FIG. 5 is a schematic structural diagram of a home gateway according to an embodiment of the present invention.
本发明实施例提供的家庭网关, 包括:  The home gateway provided by the embodiment of the present invention includes:
策略决策单元 21 , 用于从策略决策功能实体处获得服务质量策略规则, 并 将未转换成家庭网络内承载层的服务质量策略规则转换成家庭网络中承载层的 服务质量策略规则, 并通知策略执行单元执行所述服务质量策略规则; 法性, 并且向策略决策功能实体报告 QoS资源使用情况, 当出现异常时, 例如 QoS 资源不充分, 策略规则不合法或者缺少某种业务对应的策略规则时, 向策 略决策功能实体报告异常情况。 该策略决策单元是一种本地策略决策单元, 该 策略决策单元可以用于将来自策略服务器的服务质量策略规则转换成家庭网络 承载层相应的服务质量策略规则。 The policy decision unit 21 is configured to obtain a QoS policy rule from the policy decision function entity, and convert the QoS policy rule that is not converted into the bearer layer in the home network into a QoS policy rule of the bearer layer in the home network, and notify the policy The execution unit executes the quality of service policy rule; Legality, and report the QoS resource usage to the policy decision function entity. When an exception occurs, such as insufficient QoS resources, policy rules are invalid, or a policy rule corresponding to a certain service is missing, an abnormal situation is reported to the policy decision function entity. The policy decision unit is a local policy decision unit, and the policy decision unit can be configured to convert the quality of service policy rules from the policy server into corresponding service quality policy rules of the home network bearer layer.
策略执行单元 22,用于执行所述策略决策单元 21发送的服务质量策略规则。 需要说明的是, 所述策略决策单元 21接收到所述策略决策功能实体发送的 释放服务质量资源的服务质量策略规则后, 通知所述策略执行单元 22释放相关 的服务质量资源; 所述策略执行单元 22则释放相关的服务质量资源。  The policy execution unit 22 is configured to execute the quality of service policy rule sent by the policy decision unit 21. It should be noted that, after receiving the QoS policy rule for releasing the QoS resource sent by the policy decision function entity, the policy decision unit 21 notifies the policy execution unit 22 to release the related QoS resource; Unit 22 then releases the associated quality of service resources.
所述家庭网关还包括:  The home gateway further includes:
策略请求单元 20, 用于向所述策略决策功能实体发送服务质量策略规则请 求; 所述服务质量策略规则请求中携带有家庭网关位置信息、 家庭网关标识和 终端标识。  The policy requesting unit 20 is configured to send a QoS policy rule request to the policy decision function entity, where the QoS policy rule request carries the home gateway location information, the home gateway identifier, and the terminal identifier.
策略应答单元 23 ,用于向策略决策功能实体发送策略执行单元 22执行服务 质量策略规则的结果。  The policy response unit 23 is configured to send, to the policy decision function entity, a result of the policy execution unit 22 executing the quality of service policy rule.
本发明实施例提供的家庭网络内动态 QoS控制按照业务请求类型划分为如 下三种方式:  The dynamic QoS control in the home network provided by the embodiment of the present invention is divided into the following three manners according to the service request type:
1、 单播业务动态 QoS控制;  1. Unicast service dynamic QoS control;
主要是指单播业务请求触发策略决策功能实体向家庭网关发送服务质量策 略规则, 触发策略决策功能实体对到家庭网关业务路径上的边缘交换机, 汇聚 交换机, DSLAM交换机等接入设备发送服务质量策略规则。  The unicast service request triggering policy decision function entity sends a QoS policy rule to the home gateway, and the trigger policy decision function entity sends a service quality policy to an access device such as an edge switch, an aggregation switch, or a DSLAM switch on the home gateway service path. rule.
2、 组播业务动态 QoS控制;  2. Dynamic multicast service QoS control;
主要是指组播业务请求触发策略决策功能实体向家庭网关的策略决策单元 发送服务质量策略规则, 触发策略决策功能实体对到家庭网关业务路径上的边 缘交换机, 汇聚交换机, DSLAM交换机等接入设备发送服务质量策略规则。  The main function is that the multicast service request triggering policy decision function entity sends a service quality policy rule to the policy decision unit of the home gateway, and triggers the policy decision function entity to access the edge switch, the aggregation switch, the DSLAM switch, and the like on the home gateway service path. Send a quality of service policy rule.
3、 其它业务的动态 QoS控制;  3. Dynamic QoS control of other services;
其他业务主要指 IPTV以外的其他业务, 可以包括高速上网业务, 语音业务 等, 对于这些业务, 策略决策功能实体向家庭网关发送所述业务的服务质量策 略规则。  Other services mainly refer to services other than IPTV, and may include high-speed Internet access services, voice services, etc. For these services, the policy decision function entity sends the service quality policy rules of the service to the home gateway.
参见图 6,为本发明实施例提供的服务质量控制方法第一实施例的流程示意 图。 FIG. 6 is a schematic flowchart of a first embodiment of a method for controlling quality of service according to an embodiment of the present invention. Figure.
本发明实施例提供的服务质量控制方法包括:  The service quality control method provided by the embodiment of the present invention includes:
步骤 100,接收业务请求或家庭网关或家庭网关配置单元发送的服务质量策 略规则请求;  Step 100: Receive a service quality request rule request sent by a service request or a home gateway or a home gateway configuration unit.
所述业务请求中携带有业务标识, 所述服务质量策略规则请求中携带有家 庭网关位置信息和家庭网关标识;  The service request carries a service identifier, where the service quality policy rule request carries the home gateway location information and the home gateway identifier;
步骤 101 , 对所述业务请求进行授权和决策,根据所述业务请求中携带的业 务标识决定所述业务请求所请求的业务对应的服务质量策略规则; 或所述服务 质量策略规则请求进行授权和决策, 根据所述服务质量策略规则请求中携带的 家庭网关位置信息、 家庭网关标识以及终端标识, 决定所述家庭网关控制的业 务对应的服务质量策略规则;  Step 101: Perform authorization and decision on the service request, and determine a service quality policy rule corresponding to the service requested by the service request according to the service identifier carried in the service request; or the service quality policy rule requests authorization and Determining, according to the home gateway location information, the home gateway identifier, and the terminal identifier carried in the request for the service quality policy rule, determining a service quality policy rule corresponding to the service controlled by the home gateway;
步骤 102,将所述决定的服务质量策略规则发送至为所述业务请求分配服务 质量资源的家庭网关。  Step 102: Send the determined quality of service policy rule to a home gateway that allocates quality of service resources for the service request.
步骤 103 , 家庭网关从策略决策功能实体处获得服务质量策略规则, 当所述 服务质量策略规则未被转换成家庭网络内承载层的服务质量策略规则时, 将所 述服务质量策略规则转换成家庭网络内承载层的服务质量策略规则;  Step 103: The home gateway obtains a quality of service policy rule from a policy decision function entity, and converts the service quality policy rule into a home when the service quality policy rule is not converted into a service quality policy rule of a bearer layer in the home network. The quality of service policy rules of the bearer layer in the network;
步骤 104, 家庭网关执行所述服务质量策略规则;  Step 104: The home gateway executes the quality of service policy rule.
步骤 105 ,家庭网关将执行服务质量策略规则的执行结果反馈给策略决策功 能实体。  Step 105: The home gateway feeds back the execution result of the execution quality of service policy rule to the policy decision function entity.
参见图 7,为本发明实施例提供的服务质量控制方法第二实施例的流程示意 图。  FIG. 7 is a schematic flow chart of a second embodiment of a method for controlling quality of service according to an embodiment of the present invention.
本发明实施例给出一种单播业务请求下服务质量控制方法。 在该实施例中, 家庭网络 ( CPN , Customer Premises Network ) 由多个用户终端和一个家庭网关 组成, 家庭网关由两个单元组成, 一是家庭网关的策略决策单元, 用于接收来 自策略决策功能实体服务质量策略规则, 当所述服务质量策略规则未转换成家 庭网络内承载层的服务质量策略规则时, 还将所述服务质量策略规则转换成家 庭网络内承载层的服务质量策略规则。 另一个单元是家庭网关的策略执行单元, 负责数据面上的报文分类, 标记, 整形, 队列调度, 以及拥塞控制。 家庭网关 与多个用户终端互联, 负责各个用户终端不同业务, 以及单个用户终端不同业 务的动态 QoS控制和管理。 在终端获取业务数据之前,各个用户终端所获得的 QoS资源为零。 当用户终 端发出单播业务请求时, 一旦该来自用户终端的业务请求被应用服务器接受, 应用服务器将触发策略决策功能实体(在实施例中是用策略服务器实现的)对 所述业务请求授权和决策, 根据所述业务请求中携带的业务标识决定所述业务 请求所请求的业务对应的服务质量策略规则, 所述策略服务器利用与家庭网关 的策略决策单元之间的接口, 向家庭网关下发所述业务请求所请求的业务的服 务质量策略规则。 所述服务质量策略规则可以包括业务类型, 业务标识, 业务 带宽资源, 业务优先级, 业务速率等。 所述服务质量策略规则的下发分为两种 模式, 一种是集中式策略下发机制, 另一种式分布式策略下发机制。 The embodiment of the invention provides a method for controlling quality of service under unicast service request. In this embodiment, the Customer Premises Network (CPN) is composed of a plurality of user terminals and a home gateway, and the home gateway is composed of two units, one is a policy decision unit of the home gateway, and is used for receiving the policy decision function. An entity quality of service policy rule, when the quality of service policy rule is not converted into a quality of service policy rule of a bearer layer in a home network, the service quality policy rule is also converted into a service quality policy rule of a bearer layer in the home network. The other unit is the policy enforcement unit of the home gateway, responsible for packet classification, marking, shaping, queue scheduling, and congestion control on the data plane. The home gateway is interconnected with multiple user terminals, responsible for different services of each user terminal, and dynamic QoS control and management of different services of a single user terminal. Before the terminal acquires service data, the QoS resources obtained by each user terminal are zero. When the user terminal issues a unicast service request, once the service request from the user terminal is accepted by the application server, the application server triggers the policy decision function entity (implemented in the embodiment with the policy server) to authorize the service request and Determining, according to the service identifier carried in the service request, determining a service quality policy rule corresponding to the service requested by the service request, where the policy server uses an interface with a policy decision unit of the home gateway to deliver the message to the home gateway The service quality policy rule of the service requested by the service request. The QoS policy rule may include a service type, a service identifier, a service bandwidth resource, a service priority, a service rate, and the like. The delivery of the QoS policy rules is divided into two modes, one is a centralized policy delivery mechanism, and the other is a distributed policy delivery mechanism.
集中式策略下发是由策略服务器根据业务的 QoS的要求,直接向家庭网关下 发所述业务请求所请求的业务的服务质量策略规则, 作为一种实施方式, 策略 服务器还可以向接入设备下发相应的服务质量策略规则。  The centralized policy is delivered by the policy server to the home gateway to directly deliver the service quality policy rule of the service requested by the service request according to the QoS requirement of the service. As an implementation manner, the policy server may also provide the access device. Issue the corresponding service quality policy rules.
而分布式策略下发机制是由策略服务器通过一些接入设备向家庭网关下发 所述业务请求所请求的业务的服务质量策略规则, 其中接入设备(例如接入交 换机设备)作为一种本地策略决策单元, 负责接收来自策略服务器的策略, 配 置相应的本地服务质量策略规则, 同时向下游交换机设备或者家庭网关转发本 地的服务质量策略规则。 在分布式策略下发机制中, 接入设备(例如 DSLAM设 备)可以根据 VLAN标签识别家庭和用户。 当一个 DSLAM所属用户请求业务时, 所述策略服务器可以将属于同一个 DSLAM交换设备的所有用户服务质量策略 规则下发到 DSLAM。这种分布式策略下发机制也可以应用于核心网的 QoS控制, 如策略服务器通过边界网关 (BGF ) 向核心网内的交换机设备下发相应的服务 质量策略规则。 边界网关作为一种本地策略决策单元, 接收来自策略服务器的 策略规则, 通知本地策略执行单元执行策略规则, 同时向核心网交换机设备转 发来自策略服务器的策略规则。 以下图 7给出集中式业务策略下发示意图, 具体 步骤如下:  The distributed policy delivery mechanism is configured by the policy server to deliver the service quality policy rule of the service requested by the service request to the home gateway through the access device, where the access device (for example, the access switch device) serves as a local The policy decision unit is responsible for receiving the policy from the policy server, configuring the corresponding local quality of service policy rule, and forwarding the local quality of service policy rule to the downstream switch device or the home gateway. In a distributed policy delivery mechanism, an access device (such as a DSLAM device) can identify a home and a user based on a VLAN tag. When a user belonging to a DSLAM requests a service, the policy server can deliver all the user service quality policy rules of the same DSLAM switching device to the DSLAM. The distributed policy delivery mechanism can also be applied to the QoS control of the core network. For example, the policy server sends the corresponding quality of service policy rules to the switch devices in the core network through the border gateway (BGF). As a local policy decision unit, the border gateway receives the policy rules from the policy server, notifies the local policy enforcement unit to execute the policy rules, and forwards the policy rules from the policy server to the core network switch device. Figure 7 below shows the centralized service policy delivery. The specific steps are as follows:
步骤 200, 用户终端向应用服务器发送单播业务请求, 该请求中可以携带业 务标识信息以及业务的 QoS参数。  Step 200: The user terminal sends a unicast service request to the application server, where the request may carry the service identification information and the QoS parameter of the service.
步骤 201 , 应用服务器根据业务标识信息, 向策略服务器发起授权请求。 步骤 202, 策略服务器对所述业务请求进行授权和决策, 根据所述业务请求 中携带的业务标识决定所述业务请求所请求的业务对应的服务质量策略规则 后, 向位置管理功能单元(LMF, Location Management Function ) (相当于位置 服务器)获取为所述单播业务请求所请求的单播业务分配服务质量资源的家庭 网关的位置信息。 Step 201: The application server initiates an authorization request to the policy server according to the service identifier information. Step 202: The policy server performs authorization and decision on the service request, and determines a service quality policy rule corresponding to the service requested by the service request according to the service identifier carried in the service request. Then, the location management function (LMF, Location Management Function) (equivalent to the location server) acquires location information of the home gateway that allocates the quality of service resource for the unicast service requested by the unicast service request.
步骤 203 , 根据所述家庭网关的位置信息, 策略服务器向用户所在网络的家 庭网关的策略决策单元(HPDF, Home Policy Decision Function )发送服务质量 策略规则 ( QoS策略规则 ) 。  Step 203: The policy server sends a quality of service policy rule (QoS policy rule) to a policy decision unit (HPDF) of the home gateway of the network where the user is located according to the location information of the home gateway.
在步骤 204, 策略决策单元通知策略执行单元执行服务质量策略规则。 则的执行结果, 即策略规则安装 /卸载答复消息, 该消息包含服务质量策略规则 安装 /卸载的结果, 可以是成功, 也可以失败。  At step 204, the policy decision unit notifies the policy enforcement unit to execute the quality of service policy rules. The result of the execution, that is, the policy rule install/uninstall reply message, which contains the result of the service quality policy rule installation/uninstallation, which can be successful or failed.
在步骤 206, 家庭网关的策略决策单元向所述策略服务器返回所述执行结 果;  At step 206, the policy decision unit of the home gateway returns the execution result to the policy server;
在步骤 207, 策略服务器向应用服务器返回授权请求答复消息。  At step 207, the policy server returns an authorization request reply message to the application server.
在步骤 208, 应用服务器返回单播业务请求答复消息, 当授权成功时, 则应 用服务器允许该业务, 否则拒绝该业务。  In step 208, the application server returns a unicast service request reply message. When the authorization is successful, the application server allows the service, otherwise the service is rejected.
在步骤 209, 家庭网关定期向策略服务器报告业务资源使用信息。  In step 209, the home gateway periodically reports the service resource usage information to the policy server.
在单播业务的动态 QoS集中控制中, 策略服务器 PDF不仅需要为接入网内的 家庭网关下发相应服务质量策略规则, 还需要为接入网内到家庭网关路径上的 接入设备, 例如边缘交换设备, 汇聚交换设备以及 DSLAM设备下发相应的服务 质量策略规则, 关于家庭网关的位置, 以及所述接入设备的位置, 可以通过查 询位置管理单元获取,位置管理单元为 NGN架构中网络附着控制系统 NACS中位 置管理单元, 该单元可以在用户接入时保存终端在接入网络的拓朴结构图。 当 用户终端退出业务时, 也可以通过向策略服务器发送业务退出请求, 策略服务 器则向家庭网关发送释放服务质量资源的服务质量策略规则, 以及向所述接入 设备发送所述释放服务质量资源的服务质量策略规则, 策略服务器对家庭网关 的策略下发主要通过家庭网关与策略服务器之间的策略决策单元接口完成的。  In the dynamic QoS centralized control of the unicast service, the policy server PDF not only needs to issue corresponding service quality policy rules for the home gateway in the access network, but also needs to access the access device in the access network to the home gateway path, for example The edge switching device, the aggregation switching device, and the DSLAM device deliver corresponding service quality policy rules. The location of the home gateway and the location of the access device may be obtained by querying the location management unit, and the location management unit is a network in the NGN architecture. Attachment Control System The NACS location management unit, which can save the topology structure of the terminal accessing the network when the user accesses. When the user terminal exits the service, the policy server may send a service exit request to the policy server, and the policy server sends a service quality policy rule for releasing the service quality resource to the home gateway, and sends the release service quality resource to the access device. The service quality policy rule is implemented by the policy server to the home gateway. The policy is mainly implemented through the policy decision unit interface between the home gateway and the policy server.
参见图 8,为本发明实施例提供的服务质量控制方法第三实施例的流程示意 图。  FIG. 8 is a schematic flow chart of a third embodiment of a method for controlling quality of service according to an embodiment of the present invention.
在本发明实施例中, 给出分布式策略下发机制下的服务质量控制方法的流 程, 在该分布式应用场景中, 策略决策功能实体的功能分别通过接入设备中的 本地策略决策单元和策略服务器的中央策略决策单元实现, 接入设备中的本地 策略决策单元负责下属所有家庭网关的资源接纳控制, 同时主动下发服务质量 策略规则给家庭网关或者转发来自策略服务器的服务质量策略规则给家庭网 关。 In the embodiment of the present invention, a flow of a service quality control method in a distributed policy delivery mechanism is provided. In the distributed application scenario, the functions of the policy decision function entity respectively pass through the access device. The local policy decision unit and the central policy decision unit of the policy server are implemented. The local policy decision unit in the access device is responsible for resource admission control of all the home gateways, and actively delivers the service quality policy rule to the home gateway or forwards the policy server. The quality of service policy rules are given to the home gateway.
除此以外, 接入设备中的本地策略决策单元可以部署在整个网络中所有设 备中, 用于接收来自策略服务器或者其他本地策略决策单元的策略, 还可以用 于将来自于策略服务器的策略规则转换为家庭网络内承载层的服务质量策略规 则, 并将转换后相应的服务质量策略规则转发出去。 而位于策略服务器中的中 央策略决策单元负责对边缘交换机设备和 DSLAM的资源接纳控制, 而边缘交换 机设备可以对服务质量资源实施汇聚。 所述接入设备在具体实现的时候, 是接 入二层交换设备(如 DSLAM ) , 具体步骤如下:  In addition, the local policy decision unit in the access device can be deployed in all devices in the entire network to receive policies from policy servers or other local policy decision units, and can also be used to enforce policy rules from the policy server. Convert to the quality of service policy rules of the bearer layer in the home network, and forward the corresponding quality of service policy rules after the conversion. The central policy decision unit located in the policy server is responsible for resource admission control of the edge switch device and the DSLAM, and the edge switch device can aggregate the quality of service resources. When the access device is specifically implemented, it is connected to a Layer 2 switching device (such as a DSLAM). The specific steps are as follows:
步骤 300, 用户终端向应用服务器发送单播业务请求, 该请求中可以携带业 务 QoS需求及用户业务标识信息;  Step 300: The user terminal sends a unicast service request to the application server, where the request may carry the service QoS requirement and the user service identifier information.
步骤 301 , 应用服务器根据用户业务标识信息, 向策略服务器发起业务授权 请求;  Step 301: The application server initiates a service authorization request to the policy server according to the user service identifier information.
步骤 302, 策略服务器对所述单播业务请求进行授权和决策, 根据所述单播 业务请求中携带的业务标识决定所述单播业务请求所请求的单播业务对应的服 务质量策略规则, 然后从位置管理单元(位置服务器)获取家庭网关位置信息 和接入设备位置信息;  Step 302: The policy server performs authorization and decision on the unicast service request, and determines a service quality policy rule corresponding to the unicast service requested by the unicast service request according to the service identifier carried in the unicast service request, and then Obtaining home gateway location information and access device location information from a location management unit (location server);
步骤 303 , 策略服务器向接入设备下发服务质量策略规则。 这里的服务质量 策略规则可以是一部分用来配置接入设备的, 另一部分用来配置家庭网关。 所 述策略服务器可以将属于同一接入设备所有用户业务服务质量策略规则一次全 部下发给接入设备。  Step 303: The policy server sends a service quality policy rule to the access device. The quality of service policy rules here can be part of the configuration of the access device and another part of the configuration of the home gateway. The policy server can deliver all the user service quality policy rules of the same access device to the access device at one time.
步骤 304, 接入设备向用户所在网络的家庭网关中的策略决策单元发送服务 质量策略规则, 可选的, 接入设备还将来自策略服务器的服务质量策略规则转 换成承载层的服务质量策略规则, 然后向家庭网关转发来自策略决策功能实体 的服务质量策略规则。 当策略服务器将属于同一个接入设备所有用户的服务质 量策略规则一次性全部下发给接入设备时, 接入设备也可以将不同家庭网关的 服务质量策略规则下发给对应的家庭网关。  Step 304: The access device sends a QoS policy rule to the policy decision unit in the home gateway of the network where the user is located. Optionally, the access device further converts the QoS policy rule from the policy server into the QoS policy rule of the bearer layer. And then forward the quality of service policy rules from the policy decision function entity to the home gateway. When the policy server sends the service quality policy rules of all the users of the same access device to the access device, the access device can also send the service quality policy rules of the different home gateways to the corresponding home gateway.
步骤 305 , 当来自策略服务器的策略规则没有转换为承载层的服务质量策略 规则时, 家庭网关的策略决策单元将相应的服务质量策略规则转换为承载层的 服务质量策略规则, 然后家庭策略决策单元通知家庭策略执行单元执行服务质 量策略规则。 执行结果, 该执行结果中包含服务质量策略规则安装 /卸载的结果, 可以是成功, 也可以失败。 Step 305: When the policy rule from the policy server is not converted to the quality of service policy of the bearer layer In the rule, the policy decision unit of the home gateway converts the corresponding quality of service policy rule into the quality of service policy rule of the bearer layer, and then the family policy decision unit notifies the family policy execution unit to execute the quality of service policy rule. The result of the execution, which includes the result of the installation/uninstallation of the quality of service policy rule, which may be successful or failed.
步骤 307, 家庭网关的策略决策单元向接入设备的本地策略决策单元返回服 务质量策略规则执行结果;  Step 307: The policy decision unit of the home gateway returns a service quality policy rule execution result to the local policy decision unit of the access device.
步骤 308, 接入设备向策略服务器的中央策略决策单元返回服务质量策略规 则执行结果;  Step 308: The access device returns a service quality policy rule execution result to the central policy decision unit of the policy server.
步骤 309, 策略服务器向应用服务器返回授权请求答复消息。  Step 309: The policy server returns an authorization request reply message to the application server.
步骤 310, 应用服务器返回单播业务请求答复消息, 当执行所述服务质量策 略规则成功时, 应用服务器允许该单播业务请求所请求的业务, 否则拒绝单播 业务请求所请求的业务。  Step 310: The application server returns a unicast service request reply message. When the QoS policy is successfully executed, the application server allows the unicast service to request the requested service, otherwise rejects the service requested by the unicast service request.
步骤 311 , 家庭网关向策略服务器报告业务资源使用信息。  Step 311: The home gateway reports the service resource usage information to the policy server.
在单播业务的动态 QoS分布式控制中,策略服务器首先给接入设备下发相应 的服务质量策略规则, 然后再由接入设备为接入网内的家庭网关下发相应服务 质量策略规则, 关于家庭网关的位置, 以及到家庭网关路径上的接入设备的位 置, 可以通过查询位置管理单元获取, 位置管理单元为 NGN架构中网络附着控 制系统 NACS中位置管理单元,该单元可以在用户接入时保存终端在接入网络的 拓朴结构图。 同时当用户终端退出业务时, 也可以通过向策略服务器发送业务 退出请求, 触发策略服务器释放为家庭网关决定的服务质量策略规则, 以及为 接入设备决定的服务质量策略规则。 策略服务器对家庭网关的策略下发主要是 间接通过位于接入设备中的本地策略决策单元完成的, 即由接入设备的本地策 略决策单元向家庭网关的策略决策单元下发来自策略服务器的服务质量策略规 则。 与集中式业务策略下发相比, 分布式业务策略下发有利于减轻策略服务器 的负担, 实现负载均衡。  In the dynamic QoS distributed control of the unicast service, the policy server first sends the corresponding service quality policy rule to the access device, and then the access device sends the corresponding service quality policy rule for the home gateway in the access network. The location of the home gateway and the location of the access device on the home gateway path can be obtained by querying the location management unit, which is a location management unit in the network attachment control system NACS in the NGN architecture, and the unit can be accessed at the user. The topology diagram of the access terminal in the access network is saved. At the same time, when the user terminal exits the service, the service server may also send a service exit request to the policy server, and the policy server is released to release the service quality policy rule determined by the home gateway, and the service quality policy rule determined for the access device. The policy server sends the policy to the home gateway mainly through the local policy decision unit located in the access device, that is, the local policy decision unit of the access device sends the service from the policy server to the policy decision unit of the home gateway. Quality policy rules. Compared with the centralized service policy delivery, the distributed service policy is deployed to reduce the burden on the policy server and achieve load balancing.
参见图 9,是本发明实施例提供的服务质量控制方法第四实施例的流程示意 图。  FIG. 9 is a schematic flow chart of a fourth embodiment of a method for controlling quality of service according to an embodiment of the present invention.
本发明实施例给出一种组播业务请求下的服务质量控制方法。 在该实施例中, 家庭网络 CPN由多个用户终端和一个家庭网关组成, 家庭 网关的服务质量策略控制功能由两个单元组成, 一是家庭网关的策略决策单元, 负责接收来自策略服务功能实体的服务质量策略规则, 通知策略执行单元执行 服务质量策略规则。 另一个单元是家庭网关的策略执行单元, 负责执行相应的 服务质量策略规则, 以及数据面上的报文分类, 标记, 整形, 队列调度, 以及 拥塞控制。 家庭网关与多个用户终端互联, 负责各个用户终端不同业务, 以及 单个用户终端不同业务的服务质量控制和管理。 在终端获取业务数据之前, 各 个用户终端所获得的服务质量资源为零。 组播控制单元接受组播业务请求, 根 据用户定购信息组播权限表判断用户是否有收看组播数据的权限。 组播控制单 元可以位于 DSLAM交换设备上, 也可以位于边缘设备如 BRAS交换机上。 位置 管理单元为 NGN架构中网络附着控制系统 NACS中位置管理单元,该单元可以在 用户接入时保存终端在接入网络的拓朴结构图。 一旦来自用户终端的业务请求 被组播控制单元接受, 组播控制单元将触发策略决策功能实体(本实施中以策 略服务器实现) 为所述业务请求所请求的业务决定服务质量策略规则, 策略服 务器利用与家庭网关的策略决策单元之间的接口, 向家庭网关发送与所述业务 请求所请求的业务的服务质量策略规则。 其实施步骤如下: The embodiment of the invention provides a service quality control method under the request of a multicast service. In this embodiment, the home network CPN is composed of multiple user terminals and one home gateway, and the quality of service policy control function of the home gateway is composed of two units, one is a policy decision unit of the home gateway, and is responsible for receiving the function entity from the policy service. The quality of service policy rules, the notification policy enforcement unit performs the quality of service policy rules. The other unit is the policy enforcement unit of the home gateway, which is responsible for executing the corresponding quality of service policy rules, as well as message classification, marking, shaping, queue scheduling, and congestion control on the data plane. The home gateway is interconnected with a plurality of user terminals, and is responsible for different services of the user terminals and service quality control and management of different services of the individual user terminals. Before the terminal obtains the service data, the quality of service resources obtained by each user terminal is zero. The multicast control unit accepts the multicast service request, and determines whether the user has the right to view the multicast data according to the user subscription information multicast permission table. The multicast control unit can be located on the DSLAM switching device or on an edge device such as a BRAS switch. The location management unit is a location management unit in the network attachment control system NACS in the NGN architecture, and the unit can save the topology structure of the terminal in the access network when the user accesses. Once the service request from the user terminal is accepted by the multicast control unit, the multicast control unit triggers the policy decision function entity (implemented by the policy server in this implementation) to determine the quality of service policy rule for the service requested by the service request, the policy server A quality of service policy rule for the service requested by the service request is sent to the home gateway using an interface with a policy decision unit of the home gateway. The implementation steps are as follows:
步骤 400, 用户终端向组播控制单元发送组播业务请求, 该请求可以是业务 加入请求, 也可以是业务退出请求。  Step 400: The user terminal sends a multicast service request to the multicast control unit, where the request may be a service join request or a service exit request.
步骤 401, 组播控制单元向策略服务器发送业务授权请求  Step 401: The multicast control unit sends a service authorization request to the policy server.
步骤 402, 策略服务器对所述组播业务请求进行授权和决策, 根据所述组播 业务请求中携带的业务标识决定所述组播业务请求所请求的组播业务对应的服 务质量策略规则, 然后策略服务器向位置管理单元获取家庭网关位置信息. 步骤 403 , 策略服务器通过与接入设备中策略决策单元之间的接口, 对接入 设备(如 DSLAM ) 下发服务质量策略规则。  Step 402: The policy server performs authorization and decision on the multicast service request, and determines a service quality policy rule corresponding to the multicast service requested by the multicast service request according to the service identifier carried in the multicast service request, and then The policy server obtains the home gateway location information from the location management unit. Step 403: The policy server delivers the service quality policy rule to the access device (such as a DSLAM) through an interface with the policy decision unit in the access device.
步骤 404, 策略服务器向用户所在网络的为所述组播业务请求所请求的业务 分配服务质量资源的家庭网关发送服务质量策略规则。  Step 404: The policy server sends a quality of service policy rule to the home gateway of the network where the user is located to allocate the quality of service resource for the service requested by the multicast service request.
步骤 405, 家庭网关的策略决策单元通知家庭网关的执行单元执行服务质量 策略规则。  Step 405: The policy decision unit of the home gateway notifies the execution unit of the home gateway to execute the quality of service policy rule.
步骤 406 , 家庭网关的策略执行单元向家庭网关的策略决策单元返回服务质 量策略规则的执行结果, 即服务质量策略规则安装 /卸载答复消息。 步骤 407, 家庭网关的策略决策单元向策略服务器返回服务质量策略规则执 行结果, 即服务质量策略规则安装 /卸载答复消息。 Step 406: The policy execution unit of the home gateway returns the execution result of the service quality policy rule, that is, the service quality policy rule installation/uninstallation reply message, to the policy decision unit of the home gateway. Step 407: The policy decision unit of the home gateway returns a service quality policy rule execution result, that is, a quality of service policy rule install/uninstall reply message, to the policy server.
步骤 408, 策略服务器向组播控制单元发送业务授权答复消息。  Step 408: The policy server sends a service authorization reply message to the multicast control unit.
步骤 409, 组播控制单元向用户终端发送组播业务请求答复消息。  Step 409: The multicast control unit sends a multicast service request reply message to the user terminal.
在组播业务的动态 QoS集中控制中, 策略服务器 PDF不仅需要为接入网内的 家庭网关下发相应服务质量策略规则, 还需要为接入网内到家庭网关路径上的 接入设备, 例如汇聚交换设备以及 DSLAM设备下发相应的服务质量策略规则, 关于家庭网关的位置, 以及到家庭网关路径上的接入设备, 例如汇聚交换设备, DSLAM设备可以通过查询位置管理单元获取。 同时当用户终端退出业务时, 也 可以通过向策略服务器发送业务退出请求, 来触发策略服务器向家庭网关发送 释放服务质量资源的服务质量策略规则, 以及接入网内到家庭网关路径上的汇 聚交换设备以及 DSLAM设备下发相应的服务质量策略规则。 策略服务器对家庭 网关的策略下发主要通过家庭网关与策略服务器之间的策略决策单元接口完成 的。  In the dynamic QoS centralized control of the multicast service, the policy server PDF not only needs to deliver corresponding service quality policy rules for the home gateway in the access network, but also needs to access the access device in the access network to the home gateway path, for example The aggregation switching device and the DSLAM device issue corresponding service quality policy rules. For the location of the home gateway, and the access device to the home gateway path, such as an aggregation switching device, the DSLAM device can be obtained by querying the location management unit. At the same time, when the user terminal exits the service, the service server may send a service exit request to the policy server to trigger the policy server to send the service quality policy rule for releasing the service quality resource to the home gateway, and the aggregation exchange on the path to the home gateway in the access network. The device and the DSLAM device issue corresponding service quality policy rules. The policy server's policy delivery to the home gateway is mainly through the policy decision unit interface between the home gateway and the policy server.
以下进一步给出几种部署场景下, 组播业务动态 QoS控制的方法。  The following provides a method for dynamic QoS control of multicast services in several deployment scenarios.
参见图 10, 为本发明实施例提供的服务质量控制方法第五实施例的流程示 意图。  Referring to FIG. 10, it is a schematic flowchart of a fifth embodiment of a method for controlling quality of service according to an embodiment of the present invention.
在本发明实施例中, 提供组播业务服务质量控制的方法的第一种部署场景, 在此场景中, 组播业务控制点和组播业务复制点位于接入设备(如图所示的组 播控制单元) , 例如二层接入交换设备上。 同时接入设备还支持本地资源控制 管理功能, 以接入设备的本地资源管理单元实现, 而策略服务器支持中央资源 控制管理功能, 以中央资源管理单元实现。 当用户终端发出组播业务请求时, 该请求首先被位接入设备的组播控制单元截获, 并通过接入设备与策略服务器 之间的中央资源管理单元之间的接口, 将组播业务请求转发给策略服务器。 其 具体流程如下:  In the embodiment of the present invention, a first deployment scenario of a method for controlling quality of service of a multicast service is provided. In this scenario, a multicast service control point and a multicast service replication point are located in an access device (as shown in the group). Broadcast control unit), for example, on a Layer 2 access switching device. At the same time, the access device also supports the local resource control management function, which is implemented by the local resource management unit of the access device, and the policy server supports the central resource control management function, and is implemented by the central resource management unit. When the user terminal sends a multicast service request, the request is first intercepted by the multicast control unit of the access device, and the multicast service request is obtained through an interface between the access device and the central resource management unit between the policy server. Forward to the policy server. The specific process is as follows:
步骤 500, 用户终端向位于接入设备的组播控制单元发送组播业务请求, 该 请求可以是业务加入请求, 也可以是业务退出请求。  Step 500: The user terminal sends a multicast service request to the multicast control unit located in the access device, where the request may be a service join request or a service exit request.
步骤 501, 位于接入设备的组播控制单元向本地资源管理单元转发所述组播 业务请求。  Step 501: The multicast control unit located in the access device forwards the multicast service request to the local resource management unit.
步骤 502 , 位于接入设备的本地资源管理单元利用接入设备与策略服务器之 间中的中央资源管理单元的接口, 转发组播业务请求。 Step 502: The local resource management unit located in the access device utilizes the access device and the policy server. The interface of the central resource management unit in between, forwards the multicast service request.
步骤 503 , 策略服务器的策略决策单元接收策略服务器中的中央资源管理单 元 ( C-RMF, Concentrated Resource Management Function )发送的业务授权请求 , 对所述组播业务请求进行授权和决策, 根据所述组播业务请求中携带的业务标 识决定所述组播业务请求所请求的组播业务对应的服务质量策略规则 ( QoS策略 规则) 。 这里的中央资源管理单元也可以从策略服务器中分离出来单独存在。  Step 503: The policy decision unit of the policy server receives a service authorization request sent by a centrally managed resource management unit (C-RMF) in the policy server, and performs authorization and decision on the multicast service request according to the group. The service identifier carried in the request for the broadcast service determines the quality of service policy rule (QoS policy rule) corresponding to the multicast service requested by the multicast service request. The central resource management unit here can also be separated from the policy server and exist separately.
步骤 504, 策略服务器向位置管理单元获取家庭网关的位置信息。  Step 504: The policy server acquires location information of the home gateway from the location management unit.
步骤 505 , 策略服务器向用户所在网络的为所述组播业务请求所请求的业务 分配服务质量资源的家庭网关下发服务质量策略规则。  Step 505: The policy server delivers the service quality policy rule to the home gateway of the network where the user is located to allocate the quality of service resource for the service requested by the multicast service request.
步骤 506, 家庭网关的策略决策单元通知家庭网关的策略执行单元执行所述 服务质量策略规则。 则的执行结果, 即服务质量策略规则安装 /卸载答复消息。  Step 506: The policy decision unit of the home gateway notifies the policy execution unit of the home gateway to execute the quality of service policy rule. The result of the execution, that is, the quality of service policy rule install/uninstall reply message.
步骤 508, 家庭网关的策略决策单元向策略服务器返回服务质量策略规则的 执行结果, 即服务质量策略规则安装 /卸载答复消息。  Step 508: The policy decision unit of the home gateway returns the execution result of the service quality policy rule to the policy server, that is, the service quality policy rule install/uninstall reply message.
步骤 509, 策略服务器向策略服务器的中央资源管理单元发送对组播业务请 求的授权答复消息。  Step 509: The policy server sends an authorization reply message to the multicast service request of the central resource management unit of the policy server.
步骤 510, 位于策略服务器中的中央资源管理单元向位于接入设备的本地资 源管理单元发送组播业务请求的答复消息。  Step 510: The central resource management unit located in the policy server sends a reply message of the multicast service request to the local resource management unit located in the access device.
步骤 511 , 位于接入设备的本地资源管理单元向组播控制单元转发组播业务 请求的答复消息。  Step 511: The local resource management unit located in the access device forwards the reply message of the multicast service request to the multicast control unit.
步骤 512, 位于接入设备的组播控制单元向用户终端发送组播业务请求的答 复消息。  Step 512: The multicast control unit located in the access device sends a reply message of the multicast service request to the user terminal.
参见图 11 , 为本发明实施例提供的服务质量控制方法第六实施例的流程示 意图。  Referring to FIG. 11, a flowchart of a sixth embodiment of a method for controlling quality of service according to an embodiment of the present invention is shown.
在本发明实施例中, 提供组播业务服务质量控制的方法的第二种部署场景, 在第二个场景下, 与第一个场景相同的是组播控制点和组播复制点同样是部署 在接入设备(例如 DSLAM )位置, 所不同的是接入设备 ( DSLAM ) 不支持资 源管理功能, 但支持本地策略决策功能, 以本地策略决策单元实现。 而策略服 务器支持中央策略决策功能, 本发明实施例中以中央策略决策单元实现, 其管 理其所在域中所有的接入设备的策略规则发送。 当用户终端发出组播业务请求 时, 该请求首先被位于接入设备的组播控制单元截获, 然后通过接入设备与策 求转发给策略服务器的中央策略决策单元。 其具体流程如下: In the embodiment of the present invention, a second deployment scenario of the method for controlling the quality of service of the multicast service is provided. In the second scenario, the multicast control point and the multicast replication point are the same as the first scenario. In the access device (such as DSLAM) location, the difference is that the access device (DSLAM) does not support resource management functions, but supports local policy decision functions, implemented by local policy decision units. The policy server supports the central policy decision function, which is implemented by the central policy decision unit in the embodiment of the present invention. The policy rules for all access devices in their domain are sent. When the user terminal sends a multicast service request, the request is first intercepted by the multicast control unit of the access device, and then forwarded to the central policy decision unit of the policy server through the access device and the policy. The specific process is as follows:
步骤 600, 用户终端向组播控制单元发送组播业务请求, 该请求可以是业务 加入请求, 也可以是业务退出请求。  Step 600: The user terminal sends a multicast service request to the multicast control unit, where the request may be a service join request or a service exit request.
步骤 601 , 位于接入设备中的组播控制单元向位于接入设备的本地策略决策 单元转发所述组播业务请求。  Step 601: The multicast control unit located in the access device forwards the multicast service request to a local policy decision unit located in the access device.
步骤 602 , 接入设备中的本地策略决策单元向策略服务器发送业务授权请 求。  Step 602: The local policy decision unit in the access device sends a service authorization request to the policy server.
步骤 603 , 策略服务器对所述组播业务请求进行授权和决策, 根据所述组播 业务请求中携带的业务标识决定所述组播业务请求所请求的组播业务对应的服 务质量策略规则(QoS策略规则)后, 向位置管理单元获取家庭网关的位置信息 和接入设备的位置信息。  Step 603: The policy server performs authorization and decision on the multicast service request, and determines a service quality policy rule (QoS) corresponding to the multicast service requested by the multicast service request according to the service identifier carried in the multicast service request. After the policy rule), the location information of the home gateway and the location information of the access device are obtained from the location management unit.
步骤 604, 策略服务器根据业务请求消息, 向用户所在网络的接入设备(例 如 DSLAM设备) 下发服务质量策略规则。 这里策略服务器可以将属于同一个 DSLAM设备所有用户服务质量策略规则一次全部下发给 DSLAM设备。  Step 604: The policy server sends a service quality policy rule to an access device (for example, a DSLAM device) of the network where the user is located according to the service request message. Here, the policy server can deliver all the user service quality policy rules belonging to the same DSLAM device to the DSLAM device at one time.
步骤 605 , 接入设备中本地策略决策功能向用户所在网络的家庭网关发送服 务质量策略规则。 所述服务质量策略规则可以是 DSLAM主动发送给家庭网关 的, 也可以是 DSLAM转发来自策略服务器的策略规则给家庭网关的。 当策略服 务器将属于同一个 DSLAM设备所有用户的服务质量策略规则一次性全部下发 给 DSLAM交换设备时, DSLAM交换设备也可以将每个家庭网关的服务质量策 略规则下发给对应的家庭网关。  Step 605: The local policy decision function in the access device sends a service quality policy rule to the home gateway of the network where the user is located. The QoS policy rule may be that the DSLAM sends the policy to the home gateway actively, or the DSLAM forwards the policy rule from the policy server to the home gateway. When the policy server sends the QoS policy of all the users of the same DSLAM device to the DSLAM switching device at one time, the DSLAM switching device can also send the QoS policy of each home gateway to the corresponding home gateway.
步骤 606, 家庭网关的策略决策单元通知家庭网关的策略执行单元执行所述 服务质量策略规则。  Step 606: The policy decision unit of the home gateway notifies the policy execution unit of the home gateway to execute the quality of service policy rule.
步骤 607 , 家庭网关的策略执行单元向家庭网关的策略决策单元返回服务质 量策略规则的执行结果, 即服务质量策略规则安装 /卸载答复消息。  Step 607: The policy execution unit of the home gateway returns the execution result of the service quality policy rule, that is, the service quality policy rule install/uninstall reply message, to the policy decision unit of the home gateway.
步骤 608, 家庭网关的策略决策单元向接入设备的本地策略决策单元返回服 务质量策略规则的执行结果, 即服务质量策略规则安装 /卸载答复消息。  Step 608: The policy decision unit of the home gateway returns the execution result of the service quality policy rule to the local policy decision unit of the access device, that is, the service quality policy rule install/uninstall reply message.
步骤 609, 接入设备向策略服务器的中央策略决策单元返回服务质量策略规 则的执行结果, 即服务质量策略规则安装 /卸载答复消息。 Step 609: The access device returns a quality of service policy rule to the central policy decision unit of the policy server. The result of the execution, that is, the quality of service policy rule install/uninstall reply message.
步骤 610 , 策略服务器向本地策略决策单元发送业务授权答复消息。  Step 610: The policy server sends a service authorization reply message to the local policy decision unit.
步骤 611 , 位于接入设备中的本地策略决策单元向组播控制单元发送组播业 务答复消息。  Step 611: The local policy decision unit located in the access device sends a multicast service reply message to the multicast control unit.
步骤 612, 位于接入设备中的组播控制单元向用户终端发送组播业务请求答 复消息。  Step 612: The multicast control unit located in the access device sends a multicast service request reply message to the user terminal.
参见图 12, 为本发明实施例提供的服务质量控制方法第七实施例的流程示 意图。  Referring to FIG. 12, it is a schematic flowchart of a seventh embodiment of a service quality control method according to an embodiment of the present invention.
在本发明实施例中, 提供组播业务服务质量控制的方法的第三种部署场景, 在第三种场景下, 与第一个场景的相同点是组播控制点和组播复制点位于在接 入设备位置 (如图所示的组播控制单元) , 而与第一种以及第二种场景不同的 是接入设备不仅包含本地策略决策单元, 还包含本地资源管理单元。 而策略决 策功能实体(在本发明实施例中以策略服务器实现) 则支持中央资源管理功能 (以中央资源管理单元实现) 以及策略决策功能(以中央策略决策单元) 。 当 用户终端发出组播业务请求时, 该请求首先被位于接入设备的组播控制单元截 获, 然后通过接入设备 (如 DSLAM设备)与策略服务器之间的资源控制单元之 间的接口, 将组播业务请求转发给策略服务器的中央策略决策单元。 策略服务 器对该组播业务请求进行授权和决策, 决定所述组播业务请求所请求的业务对 应的服务质量策略规则, 并由策略服务器首先对所有的接入设备对应的本地策 略决策单元下发服务质量策略规则, 然后再由接入设备向下属所有的家庭网关 转发与所述组播业务请求所请求的组播业务相关的服务质量策略规则, 其具体 流程如下:  In the embodiment of the present invention, a third deployment scenario is provided for the method for controlling the quality of service of the multicast service. In the third scenario, the same point as the first scenario is that the multicast control point and the multicast replication point are located. Access device location (as shown in the multicast control unit), and unlike the first and second scenarios, the access device includes not only the local policy decision unit but also the local resource management unit. The policy decision function entity (implemented by the policy server in the embodiment of the present invention) supports the central resource management function (implemented by the central resource management unit) and the policy decision function (in the central policy decision unit). When the user terminal sends a multicast service request, the request is first intercepted by the multicast control unit located at the access device, and then through an interface between the resource control unit between the access device (such as a DSLAM device) and the policy server, The multicast service request is forwarded to the central policy decision unit of the policy server. The policy server authorizes and determines the multicast service request, and determines the service quality policy rule corresponding to the service requested by the multicast service request, and the policy server first delivers the local policy decision unit corresponding to all the access devices. The QoS policy rule is then forwarded by the access device to all the home gateways of the subordinate to the QoS policy related to the multicast service requested by the multicast service request. The specific process is as follows:
步骤 700, 用户终端向位于接入设备中的组播控制单元发送组播业务请求, 该请求可以是业务加入请求, 也可以是业务退出请求。  Step 700: The user terminal sends a multicast service request to the multicast control unit located in the access device, where the request may be a service join request or a service exit request.
步骤 701, 位于接入设备中的组播控制单元向本地资源控制管理单元转发业 务请求。  Step 701: The multicast control unit located in the access device forwards the service request to the local resource control management unit.
步骤 702, 位于接入设备中的资源管理单元向策略服务器中的中央资源管理 单元发送所述组播业务请求。  Step 702: The resource management unit located in the access device sends the multicast service request to a central resource management unit in the policy server.
步骤 703 , 位于策略服务器中的中央资源管理单元向策略服务器中的中央策 略决策单元发送业务授权请求。 步骤 704, 策略服务器的中央策略决策单元对所述组播业务请求进行授权和 决策, 根据所述组播业务请求中携带的业务标识决定所述组播业务请求所请求 的组播业务的服务质量策略规则, 策略服务器向位置管理单元获取为所述组播 业务请求所请求的组播业务分配服务质量资源的家庭网关的位置信息和接入设 备的位置信息。 Step 703: The central resource management unit located in the policy server sends a service authorization request to the central policy decision unit in the policy server. Step 704: The central policy decision unit of the policy server performs authorization and decision on the multicast service request, and determines the service quality of the multicast service requested by the multicast service request according to the service identifier carried in the multicast service request. The policy rule, the policy server acquires location information of the home gateway and the location information of the access device for allocating the quality of service resource for the multicast service requested by the multicast service request to the location management unit.
步骤 705 , 策略服务器向用户终端所在家庭网络的接入设备下发服务质量策 略规则。 这里策略服务器可以将属于同一个接入设备的所有用户服务质量策略 规则一次全部下发给所述接入设备。 这里可以通过策略服务器与接入设备中本 地策略决策单元之间的接口完成, 也可以通过与接入设备中的本地资源管理单 元之间的接口完成。  Step 705: The policy server sends a service quality policy rule to the access device of the home network where the user terminal is located. The policy server can send all the user service quality policy rules belonging to the same access device to the access device at one time. This can be done through the interface between the policy server and the local policy decision unit in the access device, or through the interface with the local resource management unit in the access device.
步骤 706 , 接入设备向用户所在家庭网络的家庭网关发送服务质量策略规 则。 所述服务质量策略规则可以是接入设备主动发送给家庭网关的, 也可以是 接入设备转发来自策略服务器的服务质量策略规则给家庭网关的。 当策略服务 器将属于同一个接入设备所有用户的服务质量策略规则一次性全部下发给接入 设备时, 接入设备也可以将不同家庭网关的服务质量策略规则下发给对应的家 庭网关。 同时接入设备中的本地策略决策单元向接入设备中的本地的资源管理 单元发送资源初始化消息, 下发服务质量策略规则。  Step 706: The access device sends a quality of service policy rule to the home gateway of the home network where the user is located. The QoS policy rule may be that the access device actively sends the QoS policy rule to the home gateway, or the access device forwards the QoS policy rule from the policy server to the home gateway. When the policy server sends the QoS policy of all the users of the same access device to the access device, the access device can also send the QoS policy rules of the different home gateways to the corresponding home gateway. At the same time, the local policy decision unit in the access device sends a resource initialization message to the local resource management unit in the access device, and delivers the service quality policy rule.
步骤 707, 家庭网关的策略决策单元通知家庭网关的策略执行单元执行所述 服务质量策略规则。 则执行结果, 即服务质量策略规则安装 /卸载答复消息;  Step 707: The policy decision unit of the home gateway notifies the policy execution unit of the home gateway to execute the quality of service policy rule. Then execute the result, that is, the service quality policy rule install/uninstall reply message;
步骤 709, 家庭网关的策略决策单元向位于接入设备中本地策略决策单元发 送服务质量策略规则执行结果, 即服务质量策略规则安装 /卸载答复消息;  Step 709: The policy decision unit of the home gateway sends a service quality policy rule execution result, that is, a service quality policy rule install/uninstall reply message, to the local policy decision unit located in the access device.
与此同时, 接入设备中的本地资源管理单元向接入设备的本地策略决策单 元发送服务质量策略规则执行结果, 即服务质量策略规则安装 /卸载答复消息; 步骤 710, 接入设备中的本地策略决策单元向策略服务器返回服务质量策略 规则执行结果, 即服务质量策略规则安装 /卸载答复消息;  At the same time, the local resource management unit in the access device sends a service quality policy rule execution result, that is, a QoS policy rule installation/uninstall reply message, to the local policy decision unit of the access device; Step 710, local in the access device The policy decision unit returns a service quality policy rule execution result to the policy server, that is, a quality of service policy rule install/uninstall reply message;
步骤 711, 策略服务器的中央策略决策单元向策略服务器的中央资源管理单 元发送业务授权答复消息。  Step 711: The central policy decision unit of the policy server sends a service authorization reply message to the central resource management unit of the policy server.
步骤 712, 策略服务器中的中央资源管理单元向位于接入设备中本地资源管 理单元发送答复消息。 Step 712: The central resource management unit in the policy server goes to the local resource management device located in the access device. The unit sends a reply message.
步骤 713 , 位于接入设备中本地资源管理单元向组播控制单元转发业务答复 消息。  Step 713: The local resource management unit located in the access device forwards the service reply message to the multicast control unit.
步骤 714, 位于接入设备中的组播控制单元向用户终端发送组播业务请求答 复消息。  Step 714: The multicast control unit located in the access device sends a multicast service request reply message to the user terminal.
参见图 13 , 为本发明实施例提供的服务质量控制方法第八实施例的流程示 意图。  Referring to FIG. 13, a flow chart of an eighth embodiment of a method for controlling quality of service according to an embodiment of the present invention is shown.
在本发明实施例中, 提供组播业务服务质量控制的方法的第四种部署场景, 在第四种场景下, 与第三个场景的相同点是组播控制点和组播复制点 (如图所 示的组播控制单元)位于在接入设备中 (例如 DSLAM设备) , 而与第三种场景 不同的是对于组播业务请求, 由接入设备中的本地策略决策单元独立控制, 不 依赖策略决策功能实体(本发明实施例以策略服务器实现, 包括中央资源管理 单元和中央策略决策单元) 。 该场景主要目的是为了缩短组播业务会话的建立 时间。 其具体流程如下:  In the embodiment of the present invention, a fourth deployment scenario is provided for the method for controlling the quality of service of the multicast service. In the fourth scenario, the same point as the third scenario is the multicast control point and the multicast replication point. The multicast control unit shown in the figure is located in the access device (for example, a DSLAM device), and unlike the third scenario, the multicast service request is independently controlled by the local policy decision unit in the access device, The policy decision function entity is implemented (the embodiment of the present invention is implemented by a policy server, including a central resource management unit and a central policy decision unit). The main purpose of this scenario is to shorten the setup time of multicast service sessions. The specific process is as follows:
步骤 800, 用户终端向位于接入设备中的组播控制单元发送组播业务请求, 该请求可以是业务加入请求, 也可以是业务退出请求。  Step 800: The user terminal sends a multicast service request to the multicast control unit located in the access device, where the request may be a service join request or a service exit request.
步骤 801 , 位于接入设备中的组播控制单元向接入设备中的本地资源管理单 元转发该组播业务请求。  Step 801: The multicast control unit located in the access device forwards the multicast service request to the local resource management unit in the access device.
步骤 802, 位于接入设备中的本地资源管理单元向接入设备的本地策略决策 单元发送业务授权请求。  Step 802: The local resource management unit located in the access device sends a service authorization request to the local policy decision unit of the access device.
步骤 803 , 位于接入设备中本地策略决策单元对所述组播业务请求进行授权 和决策, 根据所述组播业务请求中携带的业务标识决定所述组播业务请求所请 求的组播业务的服务质量策略规则, 并向位置管理单元获取为所述组播业务请 求分配服务质量资源的家庭网关的位置信息。  Step 803: The local policy decision unit located in the access device performs authorization and decision on the multicast service request, and determines, according to the service identifier carried in the multicast service request, the multicast service requested by the multicast service request. The quality of service policy rule, and obtaining, from the location management unit, location information of the home gateway that allocates the quality of service resource for the multicast service request.
步骤 804, 接入设备向用户所在家庭网络中的为所述组播业务请求分配服务 质量资源的家庭网关发送服务质量策略规则。  Step 804: The access device sends a service quality policy rule to the home gateway in the home network where the user is located to allocate the quality of service resource for the multicast service request.
步骤 805 , 家庭网关的策略决策单元通知家庭网关的策略执行单元执行服务 质量策略规则。 规则的执行结果, 即服务质量策略规则安装 /卸载答复消息。 步骤 807, 位于接入设备中的本地策略决策单元向位于接入设备中本地策略 决策单元返回执行服务质量策略规则的执行结果, 即服务质量策略规则安装 /卸 载答复消息。 Step 805: The policy decision unit of the home gateway notifies the policy execution unit of the home gateway to execute the quality of service policy rule. The result of the rule execution, that is, the quality of service policy rule install/uninstall reply message. Step 807: The local policy decision unit located in the access device returns an execution result of the execution of the quality of service policy rule, that is, the quality of service policy rule installation/uninstallation reply message, to the local policy decision unit located in the access device.
步骤 808, 位于接入设备中本地策略决策单元向接入设备中的本地资源管理 单元发送业务授权答复消息。  Step 808: The local policy decision unit located in the access device sends a service authorization reply message to the local resource management unit in the access device.
步骤 809, 位于接入设备中的本地资源管理单元向组播控制单元转发组播业 务请求答复消息。  Step 809: The local resource management unit located in the access device forwards the multicast service request reply message to the multicast control unit.
步骤 810, 组播控制单元向用户终端发送组播业务请求答复消息。  Step 810: The multicast control unit sends a multicast service request reply message to the user terminal.
参见图 14, 为本发明实施例提供的服务质量控制方法第九实施例的流程示 意图。  Referring to FIG. 14, a flowchart of a ninth embodiment of a service quality control method according to an embodiment of the present invention is shown.
本发明实例给出一种高速上网, VOIP等其他业务请求下的服务质量控制的 方法。 该实施例提供的服务质量控制方法对于组播业务和单播业务同样适用, 在该实施例中, 家庭网络 CPN由多个用户终端和一个家庭网关组成, 家庭网关 由两个单元组成, 一是家庭网关的策略决策单元, 负责接收来自策略决策功能 实体的服务质量策略规则, 在所述服务质量策略规则未被转换成家庭网络内承 载层的服务质量策略规则时, 将所述服务质量策略规则转换为家庭网络内承载 层的服务质量策略规则, 并通知策略执行单元执行所述转换后的服务质量策略 规则。 另一个单元是网关策略执行单元, 负责执行服务质量策略规则以及数据 面上的报文分类, 标记, 整形, 队列调度, 以及拥塞控制。 家庭网关与多个用 户终端互联, 负责各个用户终端的不同业务, 以及单个用户终端不同业务的服 务质量资源控制和管理。 对于上网和语音等其他业务, 可由家庭网关的策略决 策单元通过与策略决策功能实体(在本发明实施例中以策略服务器实现)之间 的接口, 直接向策略服务器请求家庭网络控制的业务相关的服务质量策略规则, 其具体流程如下:  The present invention provides a method for quality of service control under high-speed Internet access, VOIP and other service requests. The service quality control method provided by this embodiment is also applicable to the multicast service and the unicast service. In this embodiment, the home network CPN is composed of multiple user terminals and one home gateway, and the home gateway is composed of two units, one is The policy decision unit of the home gateway is responsible for receiving the QoS policy rule from the policy decision function entity, and when the QoS policy rule is not converted into the QoS policy rule of the bearer layer in the home network, the QoS policy rule is Translating into a quality of service policy rule of the bearer layer in the home network, and notifying the policy execution unit to execute the converted quality of service policy rule. The other unit is the Gateway Policy Enforcement Unit, which is responsible for performing QoS policy rules and packet classification, marking, shaping, queue scheduling, and congestion control on the data plane. The home gateway is interconnected with a plurality of user terminals, and is responsible for different services of the user terminals and service quality resource control and management of different services of the individual user terminals. For other services such as Internet access and voice, the policy decision unit of the home gateway can directly request the service related to the home network control from the policy server through an interface with the policy decision function entity (implemented by the policy server in the embodiment of the present invention). The service quality policy rules are as follows:
步骤 900, 家庭网关的策略决策单元通过与策略服务器之间的接口, 直接向 策略服务器发送服务质量策略规则请求(QoS策略规则请求), 请求与家庭网关 控制的业务对应的服务质量策略规则。  Step 900: The policy decision unit of the home gateway directly sends a QoS policy rule request (QoS policy rule request) to the policy server by using an interface with the policy server, and requests a QoS policy rule corresponding to the service controlled by the home gateway.
步骤 901 , 策略服务器对所述服务质量策略规则请求进行授权和决策, 根据 所述服务质量策略规则请求中携带的家庭网关位置信息、 家庭网关标识以及终 端标识, 决定所述家庭网关控制的业务对应的服务质量策略规则, 并通过与家 庭网关的策略决策单元之间的接口, 向家庭网关发送家庭网关控制的业务对应 的服务质量策略规则。 Step 901: The policy server performs authorization and decision on the QoS policy rule request, and determines, according to the home gateway location information, the home gateway identifier, and the terminal identifier carried in the QoS policy rule request, the service corresponding to the home gateway control. Quality of service policy rules, and through The interface between the policy decision units of the gateway gateway sends the service quality policy rule corresponding to the service controlled by the home gateway to the home gateway.
步骤 902, 当所述来自策略服务器的服务质量策略规则未被转换成家庭网络 内承载层的服务质量策略规则时, 家庭网关的策略决策单元首先将所述服务质 量策略规则转换成家庭网络内承载层的服务质量策略规则, 再通知家庭网关的 策略执行单元执行所述服务质量策略规则。  Step 902: When the QoS policy rule from the policy server is not converted into a QoS policy rule of the bearer layer in the home network, the policy decision unit of the home gateway first converts the QoS policy rule into a bearer in the home network. The QoS policy rule of the layer, and then the policy execution unit of the home gateway is notified to execute the QoS policy rule.
步骤 903 , 家庭网关的策略执行单元向家庭网关的策略决策单元返回执行服 务质量策略规则的执行结果。  Step 903: The policy execution unit of the home gateway returns an execution result of executing the service quality policy rule to the policy decision unit of the home gateway.
步骤 904, 家庭网关的策略决策单元向策略服务器发送执行服务质量策略规 则的执行结果。  Step 904: The policy decision unit of the home gateway sends an execution result of executing the quality of service policy rule to the policy server.
参见图 15 , 为本发明实施例提供的服务质量控制方法第十实施例的流程示 意图。  Referring to FIG. 15, a flowchart of a tenth embodiment of a method for controlling quality of service according to an embodiment of the present invention is shown.
策略决策功能实体在本发明实施例中以策略服务器实现。  The policy decision function entity is implemented by a policy server in the embodiment of the present invention.
对于其他的业务, 本发明实施例提供了另一种流程来实现服务质量控制。 在本发明实施例中, 通过家庭网关配置单元向策略决策功能实体(本发明实施 例中以策略服务器实现)发送服务质量策略规则请求,家庭网关配置单元是 NGN 架构中 NACS 系统的一个功能单元, 主要用于家庭网关防火墙的配置, 在本发 明实施例中, 也可以用作触发策略决策功能实体向家庭网关发送服务质量策略 规则的一种手段。 所述家庭网关配置单元作为一种本地策略决策单元, 接收来 自策略服务器的服务质量策略规则, 然后向家庭网关转发。  For other services, the embodiment of the present invention provides another process to implement quality of service control. In the embodiment of the present invention, the service quality policy rule request is sent to the policy decision function entity (implemented by the policy server in the embodiment of the present invention) by the home gateway configuration unit, where the home gateway configuration unit is a functional unit of the NACS system in the NGN architecture. The configuration of the home gateway firewall is mainly used as a means for triggering the policy decision function entity to send the service quality policy rule to the home gateway. The home gateway configuration unit, as a local policy decision unit, receives the quality of service policy rules from the policy server and then forwards them to the home gateway.
具体步骤如下:  Specific steps are as follows:
在步骤 1000, 家庭网关与家庭网关配置单元建立安全信任关系。 该安全信 任关系可以用来保护家庭网关与家庭网关配置单元交互的数据报文。 需要说明 的是, 家庭网关与家庭网关配置单元建立安全信任关系仅为举例说明由家庭网 关配置单元发送服务质量策略规则请求的情形之一, 并不能以此限定由家庭网 关配置单元发送服务质量策略规则请求的所有情形。  In step 1000, the home gateway establishes a security trust relationship with the home gateway configuration unit. The secure trust relationship can be used to protect data messages that the home gateway interacts with the home gateway configuration unit. It should be noted that establishing a security trust relationship between the home gateway and the home gateway configuration unit is only one of the cases in which the home gateway configuration unit sends a service quality policy rule request, and the service quality policy is not limited by the home gateway configuration unit. All cases of rule requests.
步骤 1001 , 家庭网关配置单元代替家庭网关向策略服务器发送服务质量策 略规则请求。  Step 1001: The home gateway configuration unit sends a quality of service policy rule request to the policy server instead of the home gateway.
步骤 1002, 策略服务器对所述服务质量策略规则请求进行授权和决策, 根 据所述服务质量策略规则请求中携带的家庭网关位置信息、 家庭网关标识以及 终端标识, 所述家庭网关控制的业务对应的服务质量策略规则, 并向家庭网关 配置单元中的本地策略决策单元返回服务质量策略规则。 Step 1002: The policy server performs authorization and decision on the QoS policy rule request, and according to the home gateway location information and the home gateway identifier carried in the QoS policy rule request, The terminal identifier is a service quality policy rule corresponding to the service controlled by the home gateway, and returns a service quality policy rule to the local policy decision unit in the home gateway configuration unit.
步骤 1003 , 家庭网关配置单元的本地策略决策单元向家庭网关的策略决策 单元转发来自策略服务器的服务质量策略规则。  Step 1003: The local policy decision unit of the home gateway configuration unit forwards the quality of service policy rule from the policy server to the policy decision unit of the home gateway.
步骤 1004 , 家庭网关的策略决策单元通知家庭网关的策略执行单元执行所 述服务质量策略规则。  Step 1004: The policy decision unit of the home gateway notifies the policy execution unit of the home gateway to execute the quality of service policy rule.
步骤 1005 , 家庭网关的策略执行单元向家庭网关的策略决策单元返回执行 所述服务质量策略规则的执行结果, 即返回服务质量策略规则安装 /卸载答复消 息。  Step 1005: The policy execution unit of the home gateway returns to the policy decision unit of the home gateway, the execution result of the service quality policy rule, that is, the service quality policy rule installation/uninstall reply message.
步骤 1006, 家庭网关的策略决策单元向家庭网关配置单元的本地策略决策 单元返回执行所述服务质量策略规则的执行结果, 即返回服务质量策略规则安 装 /卸载答复消息。  Step 1006: The policy decision unit of the home gateway returns to the local policy decision unit of the home gateway configuration unit to execute the execution result of the service quality policy rule, that is, return the service quality policy rule installation/uninstall reply message.
步骤 1007, 家庭网关配置单元向策略服务器返回执行所述服务质量策略规 则的执行结果, 即返回服务质量策略规则安装 /卸载答复消息。  Step 1007: The home gateway configuration unit returns to the policy server an execution result of executing the quality of service policy rule, that is, returning a quality of service policy rule installation/uninstallation reply message.
需要说明的是, 在其他实施方式中策略决策功能实体可以以策略服务器实 现。 家庭网关配置单元也通过家庭网关中的策略执行单元之间的接口, 向家庭 网关转发来自策略服务器的服务质量策略规则。 具体流程不再赘述。  It should be noted that in other embodiments, the policy decision function entity may be implemented by a policy server. The home gateway configuration unit also forwards the quality of service policy rules from the policy server to the home gateway through an interface between the policy enforcement units in the home gateway. The specific process will not be described again.
当家庭网络提供多种业务的时候,在家庭网络中实现流量管理和 QoS控制就 非常重要。例如, 家庭网络需要保证对于 QoS敏感的关键业务(如 VoIP )的性能, 同时要避免部分应用 (如高速上网业务)过度占用带宽, 而导致其他应用性能 下降。 流量管理和 QoS控制一般通过家庭网关和网络侧的接入设备(如 DSLAM 和 BRAS )共同实现。 策略决策功能实体(以策略服务器实现)则在控制面承担 下发服务质量策略规则的角色, 即策略服务器需要对家庭网关以及接入网内到 家庭网关路径上接入设备分别下发服务质量策略规则, 为发起业务请求的用户 终端预留相应的 QoS资源。 当用户终端退出相应业务后, 策略服务器还要负责向 家庭网关发送释放服务质量资源的服务质量策略规则。  When home networks provide multiple services, it is important to implement traffic management and QoS control in the home network. For example, the home network needs to ensure the performance of QoS-sensitive key services (such as VoIP), while avoiding excessive use of bandwidth by some applications (such as high-speed Internet services), resulting in performance degradation of other applications. Traffic management and QoS control are generally implemented through a home gateway and network-side access devices such as DSLAM and BRAS. The policy decision function entity (implemented by the policy server) assumes the role of issuing the service quality policy rule on the control plane, that is, the policy server needs to issue the service quality policy to the home gateway and the access device in the access network to the home gateway path respectively. The rule reserves the corresponding QoS resource for the user terminal that initiates the service request. After the user terminal exits the corresponding service, the policy server is also responsible for sending the service quality policy rule for releasing the quality of service resource to the home gateway.
关于家庭网关的动态 QoS控制有多种调度模型, 比如用户组调度模型, 家庭 业务调度模型, 家庭混合调度模型, 下面给出一种家庭网关的动态 QoS控制混合 调度模型实施例。  There are various scheduling models for dynamic QoS control of the home gateway, such as user group scheduling model, home service scheduling model, and home hybrid scheduling model. A dynamic QoS control hybrid scheduling model embodiment of the home gateway is given below.
参见图 16, 为本发明实施例提供的服务质量控制方法第十一实施例的流程 示意图。 Referring to FIG. 16, a flowchart of an eleventh embodiment of a service quality control method according to an embodiment of the present invention is provided. Schematic.
策略决策功能实体在本发明实施例中以策略服务器实现。  The policy decision function entity is implemented by a policy server in the embodiment of the present invention.
在步骤 1100, 家庭网关与家庭网关配置单元建立安全信任关系。 该安全信 任关系可以用来保护家庭网关与家庭网关配置单元交互的数据报文。 需要说明 的是, 家庭网关与家庭网关配置单元建立安全信任关系仅为举例说明由家庭网 关配置单元触发服务质量策略规则请求的情形之一, 并不能以此限定由家庭网 关配置单元触发服务质量策略规则请求的所有情形。  In step 1100, the home gateway establishes a security trust relationship with the home gateway configuration unit. The secure trust relationship can be used to protect data messages that the home gateway interacts with the home gateway configuration unit. It should be noted that establishing a security trust relationship between the home gateway and the home gateway configuration unit is only one of the cases in which the home gateway configuration unit triggers the service quality policy rule request, and cannot limit the service quality policy triggered by the home gateway configuration unit. All cases of rule requests.
步骤 1101 , 家庭网关配置单元向策略服务器发送服务质量策略规则请求, 该请求中携带家庭网关位置信息和家庭网关标识信息。  Step 1101: The home gateway configuration unit sends a service quality policy rule request to the policy server, where the request carries the home gateway location information and the home gateway identity information.
步骤 1102, 策略服务器对所述服务质量策略规则请求进行授权和决策, 决 定家庭网关管理的用户终端对应业务的服务质量策略规则(QoS策略规则), 然 后向家庭网关的策略决策单元发送所述决定的服务质量策略规则。  Step 1102: The policy server performs authorization and decision on the QoS policy rule request, determines a QoS policy rule (QoS policy rule) corresponding to the service of the user terminal managed by the home gateway, and then sends the decision to the policy decision unit of the home gateway. Quality of Service Policy Rules.
步骤 1103 , 当所述由策略服务器决定的服务质量策略规则未被转换成家庭 网络内承载层的服务质量策略规则时, 家庭网关的策略决策单元将所述服务质 量策略规则转换为家庭网络内承载层的服务质量策略规则, 并家庭网关执行单 元执行所述服务质量策略规则。  Step 1103: When the QoS policy rule determined by the policy server is not converted into a QoS policy rule of the bearer layer in the home network, the policy decision unit of the home gateway converts the QoS policy rule into a bearer in the home network. The layer's quality of service policy rules, and the home gateway execution unit executes the quality of service policy rules.
步骤 1104, 家庭网关的策略决策单元执行所述服务质量策略规则后, 向策 略服务器返回执行所述服务质量策略规则的执行结果, 即服务质量策略规则安 装 /卸载答复消息。  Step 1104: After executing the quality of service policy rule, the policy decision unit of the home gateway returns to the policy server the execution result of the service quality policy rule, that is, the service quality policy rule installation/uninstallation reply message.
参见图 17, 是本发明实施例提供的家庭网关对业务请求处理的流程示意图。 在本实施例中, 家庭网关对业务请求处理的流程如下:  FIG. 17 is a schematic flowchart of processing a service request by a home gateway according to an embodiment of the present invention. In this embodiment, the process of processing the service request by the home gateway is as follows:
步骤 1200, 家庭网关策略决策单元接收到来自策略服务器的服务质量策略 规则;  Step 1200: The home gateway policy decision unit receives the quality of service policy rule from the policy server.
步骤 1201 , 判断服务质量策略规则是否是让家庭网关释放服务质量资源的 服务质量策略规则,若是,则转入步骤 1202, 回收带宽资源, 卸载 QoS策略规则, 若否, 则转入步骤 1203;  Step 1201: Determine whether the QoS policy rule is a QoS policy rule for the home gateway to release the QoS resource. If yes, go to step 1202, reclaim the bandwidth resource, and uninstall the QoS policy rule. If not, go to step 1203.
步骤 1203 , 判断用户类型是固定带宽用户, 还是可变带宽特权用户。  Step 1203: Determine whether the user type is a fixed bandwidth user or a variable bandwidth privileged user.
若判断是当用户类型是可变带宽特权用户时, 转入步骤 1204;  If it is determined that the user type is a variable bandwidth privileged user, proceed to step 1204;
步骤 1204, 判断家庭网关可用的总带宽是否大于业务申请带宽, 如果大于 业务申请带宽, 则转入步骤 1205 , 执行所述服务质量策略规则, 即直接安装服 务质量策略规则。 如果小于业务申请带宽, 则转入步骤 1206, 在将家庭网关现 有带宽加上业务申请带宽, 再从可用带宽中分配给业务请求的带宽, 然后在步 骤 1207, 家庭网关安装所述服务质量策略规则。 Step 1204: Determine whether the total bandwidth available to the home gateway is greater than the service request bandwidth. If the bandwidth is greater than the service application bandwidth, go to step 1205 to execute the service quality policy rule, that is, directly install the service. Quality policy rules. If the bandwidth is smaller than the service request, the process proceeds to step 1206, where the existing bandwidth of the home gateway is added to the service request bandwidth, and then the bandwidth of the service request is allocated from the available bandwidth, and then, in step 1207, the home gateway installs the quality of service policy. rule.
若在步骤 1203判断是固定带宽用户, 转入步骤 1208;  If it is determined in step 1203 that it is a fixed bandwidth user, the process proceeds to step 1208;
步骤 1208, 判断用户组类型以及用户类型是否是普通用户组, 若用户组类 型为特权用户组如专线用户组或者特权用户如语音用户, 则转入步骤 1209, 如 果是普通用户组, 则转入步骤 1210;  Step 1208: Determine whether the user group type and the user type are normal user groups. If the user group type is a privileged user group, such as a dedicated user group or a privileged user, such as a voice user, go to step 1209, and if it is a normal user group, go to Step 1210;
步骤 1209, 对特权用户组, 则检查剩余的带宽资源, 判断可用带宽资源是 否足够分配给业务? 若是, 则转入步骤 1211为该业务安装相应的服务质量策略 规则; 若否, 则在步骤 1212, 判断调整低优先级的带宽资源预算是否成功? 若 是则转入步骤 1213 , 为该业务安装相应的服务质量策略规则, 若否, 则转入步 骤 1214, 维持现有的带宽, 并向家庭网关告警;  Step 1209: For the privileged user group, check the remaining bandwidth resources, and determine whether the available bandwidth resources are sufficient for the service. If yes, go to step 1211 to install the corresponding quality of service policy rule for the service; if not, then in step 1212, determine whether the adjustment of the low priority bandwidth resource budget is successful? If yes, go to step 1213 to install the corresponding quality of service policy rules for the service. If no, go to step 1214 to maintain the existing bandwidth and alert the home gateway;
若在步骤 1208判断是普通用户组, 则转入步骤 1210, 在步骤 1210, 判断所 述用户类型是否是普通用户, 若是, 则转入步骤 1215 , 判断可用带宽资源是否 足够分配给业务? 若是, 则转入步骤 1211 , 为该业务安装相应的服务质量策略 规则; 若否, 则转入步骤 1214, 维持现有的带宽, 并向家庭网关告警。  If it is determined in step 1208 that it is a normal user group, then the process proceeds to step 1210. In step 1210, it is determined whether the user type is an ordinary user. If yes, the process proceeds to step 1215 to determine whether the available bandwidth resource is sufficient for the service. If yes, go to step 1211 to install the corresponding quality of service policy rules for the service; if no, go to step 1214 to maintain the existing bandwidth and alert the home gateway.
在这种家庭网关 QoS控制调度模型下, 当同一用户终端先后申请 IPTV单播 业务带宽和 IPTV组播业务带宽, 在单播业务带宽和组播业务带宽共享情况下, 单播请求的带宽为 2M, 组播业务请求的带宽时 4M, 利用该调度模型, 可以将带 宽资源调整到共享带宽 4M, 从而保证组播和单播业务的服务质量。 当用户终端 用户欠费或者正常下线通知策略服务器时, 策略服务器也可以向家庭网关下发 释放 QoS资源的服务质量策略规则, 从而保证 QoS资源的有效回收和充分利用。 当家庭网关没有足够的带宽分配时, 且执行服务质量策略规则失败时, 家庭网 关传递给策略服务器, 从而策略服务器会直接拒绝来自用户终端的业务请求, 或者通过应用服务器拒绝来自用户终端的业务请求。  In the home gateway QoS control scheduling model, when the same user terminal applies for the IPTV unicast service bandwidth and the IPTV multicast service bandwidth, the unicast request bandwidth is 2M when the unicast service bandwidth and the multicast service bandwidth are shared. The bandwidth of the multicast service request is 4M. With this scheduling model, the bandwidth resource can be adjusted to 4M of the shared bandwidth to ensure the quality of service of the multicast and unicast services. When the user terminal user owes a fee or normally goes offline to notify the policy server, the policy server may also issue a QoS policy for releasing the QoS resource to the home gateway, thereby ensuring effective recovery and full utilization of the QoS resource. When the home gateway does not have sufficient bandwidth allocation, and the QoS policy fails, the home gateway passes to the policy server, so the policy server directly rejects the service request from the user terminal, or rejects the service request from the user terminal through the application server. .
参见图 18, 是本发明实施例提供的数字用户线路接入复用设备对业务请求 处理的流程示意图。  FIG. 18 is a schematic flowchart of processing a service request by a digital subscriber line access multiplexing device according to an embodiment of the present invention.
关于数字用户线路接入复用设备( DSLAM ) 以及汇聚交换机的 QoS控制也 有多种调度模型, 如 DSLAM多业务调度模型, DSLAM多用户组调度模型等。 这里给出一种通用的 QoS控制调度模型。 There are also various scheduling models for the QoS control of the Digital Subscriber Line Access Multiplexing Equipment (DSLAM) and the aggregation switch, such as the DSLAM multi-service scheduling model and the DSLAM multi-user group scheduling model. Here is a general QoS control scheduling model.
在步骤 1300, DSLAM或汇聚交换机接收服务质量策略规则;  In step 1300, the DSLAM or the aggregation switch receives the quality of service policy rule.
在步骤 1301, DSLAM或汇聚交换机首先判断服务质量策略规则是释放业务 In step 1301, the DSLAM or the aggregation switch first determines that the quality of service policy rule is to release the service.
QoS资源, 还是预留 QoS资源? QoS resources, or reserved QoS resources?
如果是释放 QoS资源, 则转入步骤 1302 , DSLAM或汇聚交换机回收带宽并 卸载相应的服务质量策略规则。  If the QoS resource is released, then go to step 1302, the DSLAM or the aggregation switch reclaims the bandwidth and uninstalls the corresponding quality of service policy rules.
如果是预留 QoS资源, 则转入步骤 1303 , 接着判断用户组类型和用户类型; 用户组类型包括普通用户组, 专线用户组等, 用户类型包括语音用户, 普 通用户等。  If the QoS resource is reserved, the process proceeds to step 1303, where the user group type and the user type are determined. The user group type includes a common user group, a private line user group, and the like, and the user type includes a voice user, a normal user, and the like.
当用户类型或者用户组类型为普通用户时, 则转入步骤 1304; 如果用户组 为专线用户组或者用户类型为特权用户, 则转入步骤 1305 , 判断可用带宽是否 大于业务申请带宽;  If the user type or the user group type is a normal user, the process proceeds to step 1304. If the user group is a dedicated user group or the user type is a privileged user, the process proceeds to step 1305 to determine whether the available bandwidth is greater than the service application bandwidth.
在步骤 1304, 判断用户类型是否是普通用户; 若是, 则转入步骤 1306; 若 否则转入步骤 1305 , 判断可用带宽是否大于业务申请带宽;  In step 1304, it is determined whether the user type is a normal user; if yes, go to step 1306; if not, go to step 1305 to determine whether the available bandwidth is greater than the service request bandwidth;
在步骤 1306, 判断可用带宽是否大于业务申请带宽; 若是则转入步骤 1307; 若否,则转入步骤 1308,维持现有的带宽并向 DSLAM或者汇聚交换机发出告警。  In step 1306, it is determined whether the available bandwidth is greater than the service request bandwidth; if yes, go to step 1307; if no, go to step 1308 to maintain the existing bandwidth and send an alarm to the DSLAM or the aggregation switch.
在步骤 1307 , 家庭网关执行所述服务质量策略规则, 即家庭网关直接为发 起该业务请求的用户终端安装相应的 QoS策略规则服务质量策略规则;  In step 1307, the home gateway performs the QoS policy rule, that is, the home gateway directly installs a corresponding QoS policy rule QoS policy rule for the user terminal that initiates the service request;
在步骤 1305中判断可用带宽是否大于业务申请带宽的判断结果为是, 则转 入步骤 1307 , 若判断结果为否, 则转入步骤 1309;  If it is determined in step 1305 whether the available bandwidth is greater than the service request bandwidth, the process proceeds to step 1307, and if the determination result is no, the process proceeds to step 1309;
在步骤 1309, 则调整优先级低的业务带宽预算, 并判断调整预算是否成功 呢? 若调整成功则转入步骤 1307; 否则转入步骤 1308 , 维持现有的带宽并向 DSLAM或者汇聚交换机发出告警。  In step 1309, the service bandwidth budget with a lower priority is adjusted, and it is determined whether the adjustment budget is successful. If the adjustment is successful, go to step 1307; otherwise, go to step 1308 to maintain the existing bandwidth and send an alarm to the DSLAM or the aggregation switch.
这里 DSLAM动态 QoS控制调度模型不同与家庭网关的 QoS控制调度模型的 是, DSLAM可以接收来自策略服务器的服务质量策略规则,同时可以根据 VLAN 标签识别并确定每个家庭网关控制的业务的服务质量策略规则, 从而 DSLAM可 以通过与家庭网关的策略决策单元之间的接口, 发送服务质量策略规则, 限制 每个家庭网关所有业务的总带宽, 或者多个业务的带宽和, 或者每个业务的带 宽。  Here, the DSLAM dynamic QoS control scheduling model is different from the QoS control scheduling model of the home gateway. The DSLAM can receive the QoS policy rules from the policy server, and can identify and determine the QoS policy of each home gateway controlled service according to the VLAN tag. Rules, whereby the DSLAM can send a quality of service policy rule through an interface with a policy decision unit of the home gateway, limiting the total bandwidth of all services of each home gateway, or the bandwidth of multiple services, or the bandwidth of each service.
实施本发明实施例提供的策略服务器, 家庭网关和服务质量控制方法, 具 有如下有益效果: Implementing a policy server, a home gateway, and a service quality control method provided by an embodiment of the present invention, Has the following beneficial effects:
首先, 策略服务器根据用户业务请求触发, 决定与业务相关服务质量策略 规则, 并发送给家庭网关执行, 实现了动态 QoS控制。  First, the policy server triggers according to the user service request, determines the service quality policy rule related to the service, and sends it to the home gateway for execution, realizing dynamic QoS control.
其次,策略服务器还向家庭网关对应的 DSLAM/汇聚设备发送服务质量策略 规则, 不仅考虑了对家庭网关的 QoS策略配置, 还考虑了与家庭网关对应的 DSLAM/汇聚设备的 QoS策略配置, 以实现从家庭网关到策略服务器之间数据路 径上的服务质量保证。  Secondly, the policy server also sends the QoS policy rule to the DSLAM/aggregation device corresponding to the home gateway, which not only considers the QoS policy configuration for the home gateway, but also considers the QoS policy configuration of the DSLAM/aggregation device corresponding to the home gateway. Quality of service guarantees on the data path from the home gateway to the policy server.
然后, 引入位置管理单元, 管理位置信息, 为策略服务器提供家庭网关和 对应的 DSLAM/汇聚设备的位置信息, 解决了家庭网关以及对应的 DSLAM/汇聚 设备的发现问题。  Then, the location management unit is introduced to manage the location information, and the location information of the home gateway and the corresponding DSLAM/aggregation device is provided for the policy server, which solves the problem of the discovery of the home gateway and the corresponding DSLAM/aggregation device.
通过以上的实施方式的描述, 本领域的技术人员可以清楚地了解到本发明 可借助软件加必需的硬件平台的方式来实现, 当然也可以全部通过硬件来实施。 基于这样的理解, 本发明的技术方案对背景技术做出贡献的全部或者部分可以 以软件产品的形式体现出来, 该计算机软件产品可以存储在存储介质中, 如 ROM/RAM, 磁碟、 光盘等, 包括若干指令用以使得一个计算机设备(可以是个 人计算机, 服务器, 或者网络设备等)执行本发明各个实施例或者实施例的某 些部分所述的方法。  Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary hardware platform, and of course, can also be implemented entirely by hardware. Based on such understanding, all or part of the technical solution of the present invention contributing to the background art may be embodied in the form of a software product, which may be stored in a storage medium such as a ROM/RAM, a magnetic disk, an optical disk, or the like. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or portions of the embodiments.
以上所揭露的仅为本发明几种较佳实施例而已, 当然不能以此来限定本发 明之权利范围, 因此依本发明权利要求所作的等同变化, 仍属本发明所涵盖的 范围。  The above is only the preferred embodiments of the present invention, and the scope of the present invention is not limited thereto, and the equivalent changes made by the claims of the present invention are still within the scope of the present invention.

Claims

权 利 要 求 Rights request
1、 一种服务质量控制方法, 其特征在于, 包括:  A method for controlling quality of service, characterized in that it comprises:
从策略决策功能实体处获得服务质量策略规则;  Obtaining a quality of service policy rule from a policy decision function entity;
将未转换成家庭网络内承载层的服务质量策略规则转换成家庭网络中承载 层的服务质量策略规则;  Converting the quality of service policy rules that are not converted into the bearer layer in the home network into the quality of service policy rules of the bearer layer in the home network;
执行所述转换后的服务质量策略规则。  Performing the converted quality of service policy rules.
2、 如权利要求 1所述的服务质量控制方法, 其特征在于, 所述从策略决策 功能实体处获得服务质量策略规则之前还包括: 2. The QoS control method according to claim 1, wherein the obtaining the QoS policy rule from the policy decision function entity further comprises:
向所述策略决策功能实体发送服务质量策略规则请求。  Sending a quality of service policy rule request to the policy decision function entity.
3、 如权利要求 1所述的服务质量控制方法, 其特征在于, 所述执行所述转 换后的服务质量策略规则后, 包括: 3. The QoS control method according to claim 1, wherein after the performing the converted quality of service policy rule, the method comprises:
向所述策略决策功能实体发送执行所述服务质量策略规则的执行结果。  Sending an execution result of executing the quality of service policy rule to the policy decision function entity.
4、 如权利要求 1至 3中任一项所述的服务质量控制方法, 其特征在于, 所 述执行所述转换后的服务质量策略规则后, 还包括: The service quality control method according to any one of claims 1 to 3, wherein after the performing the converted quality of service policy rule, the method further comprises:
在接收到所述策略决策功能实体发送的释放服务质量资源的服务质量策略 规则时, 释放服务质量资源。  Upon receiving the quality of service policy rule for releasing the quality of service resource sent by the policy decision function entity, the quality of service resource is released.
5、 一种服务质量控制方法, 其特征在于, 包括: 5. A method of service quality control, characterized in that it comprises:
接收业务请求或家庭网关或家庭网关配置单元发送的服务质量策略规则请 求;  Receiving a service request or a request for a quality of service policy rule sent by a home gateway or a home gateway configuration unit;
对所述业务请求进行授权和决策, 根据所述业务请求中携带的业务标识决 定所述业务请求所请求的业务对应的服务质量策略规则; 或对所述服务质量策 略规则请求进行授权和决策, 根据所述服务质量策略规则请求中携带的家庭网 关位置信息、 家庭网关标识以及终端标识, 决定所述家庭网关控制的业务对应 的服务质量策略规则;  Authorizing and deciding the service request, determining a service quality policy rule corresponding to the service requested by the service request according to the service identifier carried in the service request; or authorizing and deciding the service quality policy rule request, Determining a service quality policy rule corresponding to the service controlled by the home gateway according to the home gateway location information, the home gateway identifier, and the terminal identifier carried in the service quality policy rule request;
将所述决定的服务质量策略规则发送至为所述业务请求分配服务质量资源 的家庭网关。 Transmitting the determined quality of service policy rule to assign a quality of service resource to the service request Home gateway.
6、 如权利要求 5所述的服务质量控制方法, 其特征在于, 将所述决定的服 务质量策略规则发送至为所述业务请求分配服务质量资源的家庭网关, 包括: 将所述服务质量策略规则直接发送至为所述业务分配服务质量资源的家庭 网关; 或 The service quality control method according to claim 5, wherein the sending the determined quality of service policy rule to the home gateway that allocates the quality of service resource for the service request comprises: using the quality of service policy The rules are sent directly to the home gateway that assigns quality of service resources to the service; or
将所述服务质量策略规则发送至接入设备, 再由所述接入设备发送至为所 述业务分配服务质量资源的家庭网关。  The quality of service policy rules are sent to an access device, which in turn is sent to a home gateway that allocates quality of service resources for the service.
7、 如权利要求 6所述的服务质量控制方法, 其特征在于, 将所述决定的服 务质量策略规则发送至为所述业务请求分配服务质量资源的家庭网关之后还包 括: The service quality control method according to claim 6, wherein after the determined service quality policy rule is sent to the home gateway that allocates the quality of service resource to the service request, the method further includes:
接收来自所述家庭网关和 /或接入设备执行服务质量策略规则的执行结果; 根据所述执行服务质量策略规则的执行结果, 允许或者拒绝所述业务请求 所请求的业务。  Receiving an execution result from the home gateway and/or the access device to execute a quality of service policy rule; permitting or denying the service requested by the service request according to the execution result of the performing the quality of service policy rule.
8、 一种家庭网关, 其特征在于, 包括: 8. A home gateway, comprising:
策略决策单元, 用于从策略决策功能实体处获得服务质量策略规则, 并将 未转换成家庭网络内承载层的服务质量策略规则转换成家庭网络中承载层的服 务质量策略规则;  a policy decision unit, configured to obtain a QoS policy rule from the policy decision function entity, and convert the QoS policy rule that is not converted into a bearer layer in the home network into a service quality policy rule of the bearer layer in the home network;
策略执行单元, 用于执行所述转换后的服务质量策略规则。  a policy execution unit, configured to execute the converted quality of service policy rule.
9、 如权利要求 8所述的家庭网关, 其特征在于, 所述家庭网关还包括: 策略请求单元, 用于向所述策略决策功能实体发送服务质量策略规则请求; 所述服务质量策略规则请求中携带有家庭网关位置信息、 家庭网关标识和终端 标识; The home gateway according to claim 8, wherein the home gateway further comprises: a policy requesting unit, configured to send a quality of service policy rule request to the policy decision function entity; the quality of service policy rule request Carrying home gateway location information, a home gateway identifier, and a terminal identifier;
策略应答单元, 用于向所述策略决策功能实体发送执行所述服务质量策略 规则的执行结果。  And a policy response unit, configured to send, to the policy decision function entity, an execution result of executing the quality of service policy rule.
10、 如权利要求 9所述的家庭网关, 其特征在于, 所述策略决策单元还用 于接收所述策略决策功能实体发送的释放服务质量资源的服务质量策略规则, 并通知所述策略执行单元释放相关的服务质量资源; 10. The home gateway according to claim 9, wherein the policy decision unit further uses Receiving a quality of service policy rule for releasing the quality of service resource sent by the policy decision function entity, and notifying the policy execution unit to release the related quality of service resource;
所述策略执行单元还用于根据所述释放服务质量资源的服务质量策略规 则, 释放服务质量资源。  The policy execution unit is further configured to release the quality of service resource according to the quality of service policy for releasing the quality of service resource.
11、 一种策略决策功能实体, 其特征在于, 包括: 11. A policy decision function entity, characterized by comprising:
策略决策单元, 用于对业务请求进行授权和决策, 根据所述业务请求中携 带的业务标识决定所述业务请求所请求的业务对应的服务质量策略规则; 或对 所述服务质量策略规则请求进行授权和决策, 根据所述服务质量策略规则请求 中携带的家庭网关位置信息、 家庭网关标识以及终端标识, 决定所述家庭网关 控制的业务对应的服务质量策略规则;  a policy decision unit, configured to perform authorization and decision on the service request, determine a service quality policy rule corresponding to the service requested by the service request according to the service identifier carried in the service request, or perform the service quality policy rule request Authorizing and determining, according to the home gateway location information, the home gateway identifier, and the terminal identifier carried in the request for the service quality policy rule, determining a service quality policy rule corresponding to the service controlled by the home gateway;
策略发送单元, 用于将所述策略决策单元决定的服务质量策略规则发送给 家庭网关。  And a policy sending unit, configured to send the quality of service policy rule determined by the policy decision unit to the home gateway.
12、 如权利要求 10所述的策略决策功能实体, 其特征在于, 所述策略发送 单元将所述服务质量策略规则由接入设备向所述家庭网关转发; 或 The policy decision function entity according to claim 10, wherein the policy sending unit forwards the quality of service policy rule by the access device to the home gateway; or
所述服务质量策略规则请求由家庭网关发送时, 所述策略决策单元为所述 发起服务质量策略规则请求的家庭网关控制的业务决定对应的服务质量策略规 则。  When the QoS policy rule request is sent by the home gateway, the policy decision unit determines a corresponding QoS policy rule for the service controlled by the home gateway that requests the QoS policy rule.
13、 如权利要求 11或 12所述的策略决策功能实体, 其特征在于, 所述策 略决策功能实体还包括: The policy decision function entity according to claim 11 or 12, wherein the policy decision function entity further comprises:
位置获取单元,用于向位置服务器获取所述家庭网关和 /或接入设备的位置; 或用于根据所述服务质量策略规则请求中携带的家庭网关的位置信息, 获取所 述家庭网关的位置;  a location obtaining unit, configured to acquire, by the location server, a location of the home gateway and/or the access device, or used to obtain location of the home gateway according to location information of the home gateway carried in the QoS policy rule request ;
应答接收单元, 用于接收来自所述家庭网关执行所述服务质量策略规则的 执行结果;  a response receiving unit, configured to receive an execution result of the quality of service policy rule from the home gateway;
业务处理模块, 用于根据所述应答接收单元接收到的所述执行结果, 允许 或者拒绝所述业务请求所请求的业务或所述由所述家庭网关控制的业务。 And a service processing module, configured to allow or reject the service requested by the service request or the service controlled by the home gateway according to the execution result received by the response receiving unit.
14、 一种服务质量控制系统, 其特征在于, 包括策略决策功能实体和家庭 网关, 所述策略决策功能实体, 用于对业务请求进行授权和决策, 根据所述业 务请求中携带的业务标识决定所述业务请求所请求的业务对应的服务质量策略 规则; 或对所述服务质量策略规则请求进行授权和决策, 根据所述服务质量策 略规则请求中携带的家庭网关位置信息、 家庭网关标识以及终端标识, 决定所 述家庭网关控制的业务对应的服务质量策略规则; A service quality control system, comprising: a policy decision function entity and a home gateway, wherein the policy decision function entity is configured to authorize and make a service request, and determine according to the service identifier carried in the service request. The service quality policy rule corresponding to the service requested by the service request; or the authorization and decision of the service quality policy rule request, the home gateway location information, the home gateway identifier, and the terminal carried in the request according to the service quality policy rule request Identifying, determining a service quality policy rule corresponding to the service controlled by the home gateway;
所述家庭网关用于从策略决策功能实体处获得服务质量策略规则, 并将未 转换成家庭网络内承载层的服务质量策略规则转换成家庭网络中承载层的服务 质量策略规则后, 执行所述转换后的服务质量策略规则。  The home gateway is configured to obtain a quality of service policy rule from a policy decision function entity, and convert the service quality policy rule that is not converted into a bearer layer in the home network into a service quality policy rule of the bearer layer in the home network, and then perform the The converted quality of service policy rules.
15、 如权利要求 14所述的服务质量控制系统, 其特征在于, 所述系统还包 括: 15. The quality of service control system of claim 14, wherein the system further comprises:
接入设备, 用于接收来自策略决策功能实体发送的服务质量策略规则, 并 将所述服务质量策略规则转发给家庭网关。  The access device is configured to receive a quality of service policy rule sent by the policy decision function entity, and forward the service quality policy rule to the home gateway.
16、 如权利要求 15所述的服务质量控制系统, 其特征在于, 所述系统还包 括: 16. The quality of service control system of claim 15, wherein the system further comprises:
位置服务器, 用于管理所述家庭网关和 /或所述接入设备的位置信息, 并将 所述位置信息提供给所述策略决策功能实体, 以使所述策略功能实体向所述家 庭网关和 /或接入设备发送服务质量策略规则。  a location server, configured to manage location information of the home gateway and/or the access device, and provide the location information to the policy decision function entity, so that the policy function entity is to the home gateway and / or the access device sends a quality of service policy rule.
17、 如权利要求 16所述的服务质量控制系统, 其特征在于, 所述家庭网关 还用于向所述策略决策功能实体发送服务质量策略规则请求。 The QoS control system according to claim 16, wherein the home gateway is further configured to send a QoS policy rule request to the policy decision function entity.
18、 如权利要求 16所述的服务质量控制系统, 其特征在于, 所述系统还包 括: 18. The quality of service control system of claim 16, wherein the system further comprises:
家庭网关配置单元, 用于向所述策略决策功能实体发送所述服务质量策略 规则请求。  And a home gateway configuration unit, configured to send the quality of service policy rule request to the policy decision function entity.
PCT/CN2009/071273 2008-04-30 2009-04-15 Strategy determining function entity, home gateway, service quality controlling method and the system thereof WO2009132548A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810027828.0 2008-04-30
CN200810027828.0A CN101572719B (en) 2008-04-30 2008-04-30 Policy decision-making functional entity, home gateway and method and system for controlling quality of service

Publications (1)

Publication Number Publication Date
WO2009132548A1 true WO2009132548A1 (en) 2009-11-05

Family

ID=41231956

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/071273 WO2009132548A1 (en) 2008-04-30 2009-04-15 Strategy determining function entity, home gateway, service quality controlling method and the system thereof

Country Status (2)

Country Link
CN (1) CN101572719B (en)
WO (1) WO2009132548A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025624A (en) * 2009-12-18 2011-04-20 中国科学院声学研究所 Multilevel dynamic home network service quality assurance method
EP3182659A4 (en) * 2014-09-01 2017-10-18 Huawei Technologies Co., Ltd. Method and device for processing service traffic

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309227B (en) * 2008-07-17 2011-11-30 中兴通讯股份有限公司 Household gateway strategy control apparatus, system and implementing method thereof
CN101997746B (en) * 2009-12-18 2012-05-23 中国科学院声学研究所 Dynamic service quality strategy method and system of home network
CN102006281B (en) * 2010-10-19 2014-03-12 中国联合网络通信集团有限公司 Soft terminal data processing method and system and devices
CN102469087A (en) * 2010-11-17 2012-05-23 中兴通讯股份有限公司 Method and system for realizing control of quality of service,
CN102572932B (en) * 2010-12-14 2015-07-22 中兴通讯股份有限公司 Method and system for achieving domestic base station network source differentiated management and control
CN102684898A (en) * 2011-03-14 2012-09-19 中国联合网络通信集团有限公司 Service quality management method and service quality management system based on home gateway
CN102118686B (en) * 2011-03-17 2013-08-07 华为技术有限公司 Position information processing method and access network equipment
CN102781041B (en) * 2011-05-10 2015-04-01 中磊电子股份有限公司 Network resource allocation method
CN103227750B (en) * 2013-04-26 2016-05-25 华为技术有限公司 Control the methods, devices and systems of message transmissions
CN103346972A (en) * 2013-06-26 2013-10-09 北京傲天动联技术股份有限公司 Flow control device and method based on user terminal
CN104904261B (en) * 2013-11-26 2019-07-23 华为技术有限公司 The method of access network entity, the corresponding strategies of equipment of the core network and its acquisition UE
CN105101139B (en) * 2014-05-09 2019-12-31 中兴通讯股份有限公司 Policy control processing method, device and system
CN105099802B (en) * 2014-05-15 2019-01-08 中国移动通信集团公司 A kind of method for recognizing flux, terminal and network element device
CN106412627B (en) * 2015-07-30 2020-06-09 中国电信股份有限公司 Method and system for controlling bandwidth used by video terminal
CN105872029A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Method and system for implementing QoS of private cloud object storage
CN107659542A (en) * 2016-07-26 2018-02-02 阿里巴巴集团控股有限公司 A kind of method for authenticating and server
CN110505674B (en) * 2018-05-18 2021-01-22 电信科学技术研究院有限公司 Access type selection method, device and storage medium
CN111586860B (en) * 2019-02-19 2023-01-06 华为技术有限公司 Communication method and device
CN111245740B (en) * 2019-11-19 2022-06-28 华为云计算技术有限公司 Service quality strategy method and device for configuration service and computing equipment
CN111163163B (en) * 2019-12-27 2021-12-31 聚好看科技股份有限公司 Service processing method and device
CN116647707B (en) * 2023-07-27 2023-10-20 中国电信股份有限公司 Multicast scheduling method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617508A (en) * 2003-11-13 2005-05-18 华为技术有限公司 Service quality strategy conversion device and method
CN101141419A (en) * 2007-10-19 2008-03-12 广州市聚晖电子科技有限公司 Heterogeneous network protocol based communication method between digital household appliances
CN101156379A (en) * 2006-02-14 2008-04-02 华为技术有限公司 Method and system for selecting service quality policy

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005440A (en) * 2006-01-21 2007-07-25 华为技术有限公司 Metod for realizing different service quality control in radio network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617508A (en) * 2003-11-13 2005-05-18 华为技术有限公司 Service quality strategy conversion device and method
CN101156379A (en) * 2006-02-14 2008-04-02 华为技术有限公司 Method and system for selecting service quality policy
CN101141419A (en) * 2007-10-19 2008-03-12 广州市聚晖电子科技有限公司 Heterogeneous network protocol based communication method between digital household appliances

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025624A (en) * 2009-12-18 2011-04-20 中国科学院声学研究所 Multilevel dynamic home network service quality assurance method
CN102025624B (en) * 2009-12-18 2012-10-17 中国科学院声学研究所 Multilevel dynamic home network service quality assurance method
EP3182659A4 (en) * 2014-09-01 2017-10-18 Huawei Technologies Co., Ltd. Method and device for processing service traffic
EP3863246A1 (en) * 2014-09-01 2021-08-11 Huawei Technologies Co., Ltd. Service traffic processing method and apparatus

Also Published As

Publication number Publication date
CN101572719A (en) 2009-11-04
CN101572719B (en) 2014-02-19

Similar Documents

Publication Publication Date Title
WO2009132548A1 (en) Strategy determining function entity, home gateway, service quality controlling method and the system thereof
US8028324B2 (en) Method for transmitting policy information between network equipment
WO2006094447A1 (en) A method for implementing the access configuration mode resource reservation in the next generation network
WO2006094446A1 (en) A method for achieving the resource reservation for agent request mode in ngn
WO2009092208A1 (en) Home gateway policy control method and system
CN102215155B (en) The resource acceptance control method of a kind of home network and system
WO2008148320A1 (en) Method, device and system for multicast service authorization controlling
WO2006069527A1 (en) A method, a apparatus and a network thereof for ensuring the service qos of broadband access
EP2214359B1 (en) A policy control method and system for layer two devices
WO2009114976A1 (en) Method and system for resource and admission control
WO2007085158A1 (en) Dynamic flow control method and system
WO2008138238A1 (en) Method, device and system for realizing multicast connection admission control
CN100579063C (en) The control system of multiple service access network and control method
WO2007036150A1 (en) A system and a method for controlling of the access network
WO2008046336A1 (en) A system and method for realizing distributed access control in multicast service
WO2008025205A1 (en) A service application method and system and a service application agency unit
EP1933500B1 (en) A system and a method for resource controlling of the access network
WO2010081314A1 (en) An ngn home network resource access control method and system
WO2012003781A1 (en) Method and system for controlling service admission
WO2008017226A1 (en) Multicast control system and method
WO2012028008A1 (en) Method and system for controlling heterogeneous networks
WO2009100625A1 (en) Selecting method of policy decision functional entity in resource and admission control system
WO2011032374A1 (en) Method and system for pull mode resource and admission control under wholesale scene
WO2009105942A1 (en) Resource and admission control subsystem and method for sending resource policy decision request message
Ooghe et al. Resource admission control in access networks

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

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

Country of ref document: EP

Kind code of ref document: A1