The invention discloses a method, a device and a system for transmitting an accurate clock synchronization protocol message, belonging to the communication field. The method includes: detecting with random number to the sending server equipment port through the event message request message; the receiving server detection device through the event message using port return response message; according to the message carrying random number, address and port number to determine the event message by using port address and port number network address translation response detection; in the negotiation process in the event message unicast address and port number by using port network address conversion after the notification to the server device. The present invention by the client device will determine the event message notification by using port address and port number of the server device network address translation, the server device according to the event message, so as to realize the transmission of precision clock synchronization protocol message in NAT network.
【技术实现步骤摘要】
【技术保护点】
一种传输精确时钟同步协议消息的方法,其特征在于,所述方法包括:通过事件消息使用端口向服务器设备发送携带随机数的探测请求消息;接收所述服务器设备通过所述事件消息使用端口返回的探测响应消息,该探测响应消息中携带了随机数及所述服务器设备检测到的所述探测请求消息对应的地址及端口号;根据所述探测响应消息中携带的随机数、地址及端口号确定所述事件消息使用端口经网络地址转换后的地址及端口号;在单播协商过程中将所述事件消息使用端口经网络地址转换后的地址及端口号通知给所述服务器设备,使所述服务器设备根据所述经网络地址转换后的地址及端口号发起事件消息。
【技术特征摘要】
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。