The invention discloses a virtual switching method, which relates to the field of computer communication technology, in particular to a virtual switching method, including sending heartbeat packets, placing heartbeat marker bits 1 and confirmation unit, the sending heartbeat packets, placing heartbeat marker bits 1 through wires and electrically output connection of waiting data, and waiting data through wires and timeout electrically output connection, the timeout through conductance. Whether or not the line and the heartbeat marker are electrically connected to one output, and whether the heartbeat marker is electrically connected to the denial unit through a wire, and whether the confirmation unit is electrically connected to the heartbeat marker by a wire or not is electrically connected to one input. The virtual switching method is divided into two parts, the device end and the virtual switch end. The devices in different local area networks maintain long connection with the vswitch in the network. Each device needs to register a unique device ID on the vswitch. In data transmission, only the registration ID of the destination device needs to be notified, and data can be exchanged through the vswitch.
【技术实现步骤摘要】
一种虚拟交换方法
本专利技术涉及计算机通信
,具体为一种虚拟交换方法。
技术介绍
虚拟交换系统是基于纯软件来模拟实现物理硬件的一些功能,与交换机类似,虚拟交换机的作用是在各个不同的局域网之间交换和传递数据。在中国专利技术专利申请公开说明书CN108023837U中公开的一种虚拟网络交换机系统及其建立方法,该虚拟网络交换机系统及其建立方法虽然可降低因网络业务需求的扩增而必须升级网络设备的成本,支持多种接口标准的网络接口卡,但是该虚拟网络交换机系统及其建立方法具有网络虚拟化主要方案为VMware的开放式虚拟交换和分布式虚拟交换,这类方案中虚拟出来了网卡,端口,网桥等一系列的网络设备,使得vswitch设计与实现需要与操作系统紧密相连,还添加了诸多功能,如隧道,链路汇聚控制协议,虚拟局域网,服务质量等等,整个系统的设计非常庞大和复杂,非常不利于安装移植和使用,复杂的设计和功能也提升了系统的消耗和内存的使用的缺点。
技术实现思路
针对现有技术的不足,本专利技术提供了一种虚拟交换方法,解决了上述
技术介绍
中提出的问题。为实现以上目的,本专利技术通过以下技术方案予以实现:一种 ...
【技术保护点】
1.一种虚拟交换方法,包括发送心跳包,置心跳标志位1(1)和确认单元(6),其特征在于:所述发送心跳包,置心跳标志位1(1)通过导线与等待数据(2)电性输出连接,且等待数据(2)通过导线与超时(3)电性输出连接,所述超时(3)通过导线与心跳标志位是否为1(4)电性输出连接,且心跳标志位是否为1(4)通过导线与否认单元(5)电性输出连接,所述确认单元(6)通过导线与心跳标志位是否为1(4)电性输入连接,且确认单元(6)通过导线与连接错误(7)电性输出连接,所述等待数据(2)通过导线与接收到数据包(8)电性输出连接,且接收到数据包(8)通过导线与数据处理(9)电性输出连接,所述 ...
【技术特征摘要】
1.一种虚拟交换方法,包括发送心跳包,置心跳标志位1(1)和确认单元(6),其特征在于:所述发送心跳包,置心跳标志位1(1)通过导线与等待数据(2)电性输出连接,且等待数据(2)通过导线与超时(3)电性输出连接,所述超时(3)通过导线与心跳标志位是否为1(4)电性输出连接,且心跳标志位是否为1(4)通过导线与否认单元(5)电性输出连接,所述确认单元(6)通过导线与心跳标志位是否为1(4)电性输入连接,且确认单元(6)通过导线与连接错误(7)电性输出连接,所述等待数据(2)通过导线与接收到数据包(8)电性输出连接,且接收到数据包(8)通过导线与数据处理(9)电性输出连接,所述等待数据(2)通过导线与接收到心跳回复,置标志位0(10)电性输出连接。2.根据权利要求X所述的一种虚拟交换方法,其特征在于:所述发送心跳包,置心跳标志位1(1)、等待数据(2)和超时(3)之间通过导线电性串联连接,且等待数据(2)通过导线分别与超时(3)、接收到数据包(8)和接收到心跳回复,置标志位0(10)电性串联连接。3.根据权利要求X所述的一种虚拟交换方法,其特征在于:所述否认单元(5)和确认单元(6)均通过导线与心跳标志位是否为1(4)电性相连...
【专利技术属性】
技术研发人员:金潇枫,
申请(专利权)人:南京极域信息科技有限公司,
类型:发明
国别省市:江苏,32
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。