摘要 |
<p>PROBLEM TO BE SOLVED: To optimize a main storage area on the occurrence of the shortage of areas for buffers by acquiring buffer areas requiring a capacity for a required data length from the main storage area and returning the acquired area capacity to the main storage area after the areas are used. SOLUTION: A dividing means divides a main storage area 107 into an M.BUF 108 used for usual data communication and an E.BUF 109 used for saving data tentatively on the occurrence of a fault at the start of a communication controller. A packet task 100 and a data link task 101 acquire areas for a buffer corresponding to each layer of a communication protocol at data communication from the M.BUF area in the case of data communication for the communication processing and when acquisition of areas for a buffer is failed, after the optimizing processing of the M.BUF area via an optimize-processing 103, areas for a buffer are acquired again from the M.BUF area to restart the communication processing. The optimize-processing 103 uses the E.BUF areas to apply optimize-processing to the M.BUF area by a predetermined method.</p> |