Patent ID: 8189614

Claim:
A cable modem for establishing quality of service (QoS) for a real-time transport protocol (RTP) voice stream, the cable modem comprising: a bandwidth prediction unit (BPU) establishing module operable to receive different packet types from a communication network, and establish a BPU for each packet type, wherein each BPU comprises a source address field, a destination address field, a packet size field, a traffic field, and a QoS field respectively operable to record a source address, a destination address, a packet size, a traffic status, and a QoS status of each packet type, wherein a value of the traffic field changes along with the real traffic status of the corresponding packet type; a reading module operable to read one BPU periodically; a determining module operable to determine whether the value of the traffic field of the read BPU exceeds a predetermined threshold, and determine whether an acceleration of the traffic of the read BPU equals zero if the value of the traffic field of the read BPU exceeds the predetermined threshold, and further determine whether the QoS field of the read BPU records a fixed bandwidth if the acceleration of the traffic of the read BPU equals zero; a bandwidth distributing module operable to distribute a fixed bandwidth, and record the fixed bandwidth in the QoS field of the read BPU if the QoS field of the read BPU records no fixed bandwidth; and at least one processor operable to execute the BDU establishing module, the reading module, the determining module, and the bandwidth distributing module.