摘 要:针对当前实时监测系统中推技术存在的问题,结合异步推送和实时推送两种方式建立一种改进的订阅—推送模型。此结构不仅改善了目前订阅模型中的局限性,同时避免了实时推送方式带来的信息丢失问题。这种结构根据用户所处的不同状态,采用不同的推送方式进行试验数据的推送。利用轮询服务器机制实现电动机网络测试平台中试验数据的推送,可以很好的达到预期的效果。 关键词:电机试验数据;实时推送;异步推送;Ajax轮询机制
Abstract: Aiming at to the problem of real-time display in push service,proposed a new sub-push structure which integrate the real-time-push and asynchronous-push.The structure improved the limitation of subscribe model,and avoided the problem of information loss which caused by real-time push.The structure could push the experiment datas in different approach by different state.Used Ajax poll machine to implement the motor test data real-time monitor,and find it would be reach the expect result. Key Words: Ajax;Real-time-push;Mail push;Test data,Ajax poll
|