Web服务是Internet最常用的服务之一。针对用户Web行为的监视问题,阐述了信息编码的基本原理、数据包捕获与重组的基本方法,重点设计并用Java实现了GB2312,BIG5和UTF-8等编码方式的HTTP通讯信息的还原算法。结果表明文中研究的网络数据包还原技术能够正确还原HTTP通讯信息,达到了对Web行为进行监视的目的。
Web service is one of the most important services of the Internet. Aimed at monitoring the Web behavior, introduces the basic coding principle of information, the method of network data packet capturing and regrouping. It mainly designs and implements the revert of GB2312, BIG5 and UTF- 8 coded HTTP communication by Java. The results show the HTTP communication could be reverted rightly and the Web behavior of network users could be monitored.