Patent ID: 9742706
Date: 2017-08-22
CPC Classifications: H04L

Claim:
1. A method for setting capacity of a buffer configured to store a transmission message or a reception message in a communication system, the method comprising: determining whether a capacity setting program is implemented; initializing a plurality of sub-buffers forming a main buffer when it is determined that the capacity setting program is implemented; receiving a storage frequency and a remaining capacity from the plurality of sub-buffers when it is determined that the capacity setting program is not implemented; determining whether a current storage frequency of the plurality of sub-buffers is equal to a previous storage frequency of the plurality of sub-buffers by comparing the current storage frequency to the previous storage frequency; calculating an allocation capacity of the plurality of sub-buffers when the current storage frequency is not equal to the previous storage frequency and re-setting the capacity of the plurality of sub-buffers using the calculated allocation capacity.