Patent ID: 7529228

Claim:
A VoP (Voice over Packet) system, which is for processing at least two channels, the VoP system comprising: a packet buffer for temporarily storing packets transferred from a packet network; a DSP (Digital Signal Processor) for processing algorithm modules of at least two channels; a scheduler for scheduling channels to be executed by the DSP every cycle of predetermined length, and controlling the DSP to execute an algorithm module having a fixed execution time among the algorithm modules of the channels, and then an algorithm module having a variable execution time, wherein the scheduler uses the execution result of the algorithm modules having a fixed execution time by the DSP to calculate a deadline for processing each channel, and further uses the calculated deadline based on the execution result of the algorithm module having a fixed execution time by the DSP to execute the algorithm module having a variable execution time in the order from a channel having a closest deadline to a channel having a farthest deadline; and a TDM (Time Division Multiplexing) buffer for input from the TDM network and output to the TDM network; wherein the scheduler schedules algorithm modules, which can be executed in a next cycle, to be executed in advance in the current cycle; wherein the scheduler, if scheduling a channel from the TDM network to the packet network, delays execution of the channel to the next cycle when a maximum delay time required for a service of the channel minus a consumed time of the TDM buffer minus the predicted required time for execution of the channel is longer than the length of the cycle; wherein the scheduler, if scheduling a channel from the packet network to the TDM network, delays execution of the channel to the next cycle when a time required to consume data stored in the TDM buffer minus the predicted execution time required for execution of the corresponding channel is longer than the length of the cycle.