摘要 |
PURPOSE: A method for controlling message queues for interprocessor communication in a wireless intelligent network system is provided to improve the reliability of the intelligent network system by controlling interprocessor communication through queue state monitoring. CONSTITUTION: A queue monitoring processor periodically obtains information of inner processors driven by a system call for saving the obtained information at a share memory area(S101,S102). The queue monitoring processor reads information saved at the share memory area periodically(S103). Queue resources threshold of the inner processors is extracted from the read information(S104). Queue resources usage of the inner processor is compared with the queue resources threshold(S105). If the inner processor uses queue resources more than the Queue resources threshold, a communication control flag is set to the corresponding processor(S106). The queue monitoring processor transmits a signal for stopping message transmission to the inner processor(S107). If the inner processor uses queue resources less than the Queue resources threshold, the queue monitoring processor checks whether the communication control flag of the corresponding processor is set as 1(S108). If so, the communication control flag is released(S109). The queue monitoring processor transmits a signal for restarting message transmission to the inner processor(S110).
|