摘要
SIP消息的解析比较复杂,是整个SIP协议栈开发的基础,也是决定SIP协议栈效率的重要组成部分。其中对于需要大量文本字符串查找和匹配操作的解码正确性检查部分更是重要的操作部分,它需要耗费大量的CPU时间。传统的单线程算法实现解码速度缓慢,采用并行多进程的Tomita算法,可以有效地提高SIP消息的解析速度,在消除歧义方面也有很大的改善。
The parse of the SIP messages is more complicated.On one hand,it is the foundation of the entire SIP protocol stack development;on the other,it is the important constituent deciding the efficiency of SIP protocol stack.Besides,it plays a more important role of the operation in the search for the massive text string of characters,and the checking of the decoding accuracy of the match operation as well.However,it needs to waste the massive CPU time.The realization of the decoding speed by way of traditional single thread algorithm is slow,in this condition,the use of the parallel-multi-advancements-based Tomita algorithm may effectively enhance the analysis speed of SIP messages,as well as the elimination of the ambiguity.
出处
《舰船电子工程》
2007年第6期161-164,共4页
Ship Electronic Engineering