摘要
在单片机多机通信中,目前主要是以主从方式通信,主机通过查询方式与各个分机进行通信,而从机之间不能直接通信,需要通过主机进行中转,增加了从机之间通信的难度。为解决从机之间、主机与丛机之间均可直接通信,通过改进型令牌技术,从机进行通信时,先向主机申请令牌,申请成功后,可以与网络内任意从机进行直接通信,不需要通过主机中转,实现了对等网通信,同时也实现任意两节点的通信时间固定一致与节点的物理位置无关。
In this paper,by improving the technology of type token,from machine communication,first to the host claim token,successful applicants can and any network from the machine to communicate directly,not need to transit through the host,realize the P2 P network communication,at the same time also realizes the communication of any two nodes between fixed and consistent with the node irrespective of their physical location.
出处
《工业控制计算机》
2016年第1期54-55,58,共3页
Industrial Control Computer
关键词
主从通信
令牌技术
对等网通信
master slave communication
token technology
peer to peer communication