Data Security of Message Queue Communication in μC/OS-II

μC/OS-Ⅱ is a transplantable and cuttable multipletask preemptive OS kernel which has opened its code.It is easy to study and transplant and easy for maintenance.Message queue is a widely used interprocess communication mechanism.First,analyse the data protection problem in μC/OS-Ⅱ's message queue mechanism,then improve the data structure referred and add message queue test function OSQTest() which can be used to check if the access of a message in message queue is safe.All of these work can enhance the security of data which is exchanged between application processes.And at last prove this improvement is effective by simulative experiment.