Patent ID: 7654121

Claim:
A method for selecting Quality of Service (QoS) policy, comprising: setting QoS policy processing information for each QoS Policy Holder (QPH); upon receiving a QoS request from a Control Point (CP), selecting, by a QoS Manager (QM), a QPH to provide QoS policy for a traffic stream according to the QoS policy processing information of each QPH in a home network, and providing a QoS policy for the traffic stream; wherein the QoS policy processing information comprises at least one of: last modified time of the QPH policy (QPH LMT), the start time of the QPH accessing the home network (QPH ST), total online time of the QPH being selected (QPH TOT) and QPH priority number configured by a user (QPH PN); wherein the step of setting QoS policy processing information in each QPH comprises: when a device supporting QPH service accesses the home network, or a program with QPH service starts running in the home network, setting the QPH ST by the QPH; configuring, by a user, a QoS policy and recording the QPH ST and the QPH PN according to the home network status; wherein the step of selecting a QPH to provide QoS policy for the traffic stream according to the QPH policy processing information in each QPH in the home network comprises: when the QM determines that the CP has specified a QPH to provide QoS policy for the traffic stream, searching, by the QM, the home network to check whether there exists a selected QPH; if there is no selected QPH, determining to use the QPH specified by the CP to provide QoS policy for the traffic stream; if there is a selected QPH, determining whether the QPH specified by the CP is the selected QPH according to the QoS policy processing information of the selected QPH; and when the QM determines that there is no QPH being specified by the CP to provide QoS policy for the traffic stream, searching, by the QM, the home network to check whether there exists a selected QPH; if there is no selected QPH, comparing the QPH LMT and selecting a QPH having the latest modified QoS policy to serve the traffic stream; or comparing the QPH ST and selecting the QPH accessing the home network first to serve the traffic stream; or comparing the QPH TOT and selecting the QPH having the longest online time to serve the traffic stream; or comparing the QPH PN and selecting the QPH having the highest priority to serve the traffic stream; or selecting the QPH to serve the traffic stream according to any combination of the above; and if there exists a selected QPH, determining to use the selected QPH to provide QoS policy for the traffic stream.