网络媒体监控系统需要对部分网站进行自动身份认证和网页采集。受到Web自动化功能测试的启发,文中提出了基于JSSh(java Script Shell Server)实现身份认证网站发布信息采集方案。最后通过实验证明,与重构身份认证过程数据包交互方式相比,基于JSSh实现身份认证网站发布信息采集的普适性更强,并且实现过程更为简单。实验表明,该方案身份认证成功率高,采集效率也符合网络媒体监控系统对于信息采集实效性的要求。
Automatic identity authentication and information collection is required in monitoring system of network media. Inapired by automatic Web application functionality test,proposes a scheme based on JSSh, (JavaScript Shell Server) for information collection of Website which need identity authentication. Compared with schemes using packets exchange in which the process of identity authentication is reconstructed, the experiment provided by this paper shows this scheme is universal and simple, Besides, the ratio of successful identity authentication is high and the efficiency of information collection can meet the requirement of the monitoring system.