用于虚拟网络单元的工作方法及装置制造方法及图纸

技术编号:6093305 阅读:190 留言:0更新日期:2012-04-11 18:40
本发明专利技术的实施例提供了一种用于虚拟网络单元的工作方法和装置,涉及通信技术领域,为提高虚拟网络单元工作的可靠性而发明专利技术。所述用于虚拟网络单元的工作方法,包括:主节点通过控制通道向其它节点发送心跳消息,其中,所述其它节点包括备节点和从节点,所述心跳消息包括主节点标识,用于通知所述其它节点所述主节点处于正常工作状态;所述其它节点接收所述心跳消息,通过所述心跳消息获知所述主节点处于正常工作状态;当所述从节点在规定时间内未收到所述心跳消息时,所述从节点重新建立所述主节点与所述从节点的控制通道;当所述备节点在规定时间内未收到所述心跳消息时,所述备节点切换为新主节点。本发明专利技术可用于虚拟集群路由系统中。

Working method and device for virtual network unit

The embodiment of the invention provides a working method and a device for a virtual network unit, relating to the field of communication technology, in order to improve the reliability of the work of the virtual network unit. The operating method for the virtual network unit, including: the master node through the control channel messages to other nodes send heartbeat which includes the other nodes and slave nodes, the heartbeat message includes a master node identifier is used to notify the other node, the master node is in normal working condition; the other the node receives the heartbeat messages through the heartbeat message that the master node is in normal working condition; when the slave node within a specified time not receiving the heartbeat message, the establishment of the master node again from the node and the node from the control channel; when the preparation of nodes the heartbeat message is not received within the specified time, the preparation for the new master node switching node. The invention can be used in a virtual trunking routing system.

【技术实现步骤摘要】

【技术保护点】
1.一种用于虚拟网络单元的工作方法,所述虚拟网络单元包括主节点、从节点和备节点,其特征在于,包括:主节点通过控制通道向其它节点发送心跳消息,其中,所述其它节点包括备节点和从节点,所述心跳消息包括主节点标识,用于通知所述其它节点所述主节点处于正常工作状态;所述其它节点接收所述心跳消息,通过所述心跳消息获知所述主节点处于正常工作状态;当所述从节点在规定时间内未收到所述心跳消息时,所述从节点重新建立所述主节点与所述从节点的控制通道;当所述备节点在规定时间内未收到所述心跳消息时,所述备节点切换为新主节点。

【技术特征摘要】

【专利技术属性】
技术研发人员:朱明明
申请(专利权)人:华为技术有限公司
类型:发明
国别省市:94

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1