The invention discloses a network high availability replacement algorithm in the field of automatic kitchen, which includes the following steps: when the terminal device transmits data through the network, it identifies the device number and asymmetrically encrypts the transmission data; when the terminal device transmits the detection package to the background, the background decrypts the received data and returns it accordingly. Retaliation receives the message; terminal equipment obtains the communication rate of each network through packettrain algorithm and bandwidth measurement rate; when the bandwidth rate of network communication in use is lower than the set value, it automatically switches the other bandwidth rates higher than the set bandwidth rate value through the stable period algorithm; when the network is abnormally disconnected, it detects the transmission. When the probe packet fails, the other network communication is automatically switched. The invention maximizes the reliability and improves the performance; the network anomaly can keep seamless switching to ensure the normal operation of the equipment; the network anomaly interruption can independently discover and switch the standby network; the data loss can be eliminated; and the stability and efficiency of data communication can be improved.
【技术实现步骤摘要】
一种自动厨房领域的网络高可用性替换算法
本专利技术涉及智能厨房领域,具体是一种自动厨房领域的网络高可用性替换算法。
技术介绍
现有的自动化控制技术应用比较成熟,但是在网络传输异常的情况行下为了保证数据正常传输,需要人为发现并切换其他网络通讯方式,这就导致以后对设备效率就会比较低,不能够满足现有需求,自动化采用网络通讯传输数据会导致的问题有三点:1)出现网络延迟传输数据慢,响应不及时,需人为发现切换其他网络通讯;2)出现网络中断,数据发送失败,需人为发现切换其他网络通讯;3)数据信息丢失频繁。因此,针对这一现状,迫切需要开发一种自动厨房领域的网络高可用性替换算法,以克服当前实际应用中的不足。
技术实现思路
本专利技术的目的在于提供一种自动厨房领域的网络高可用性替换算法,以解决上述
技术介绍
中提出的问题。为实现上述目的,本专利技术提供如下技术方案:一种自动厨房领域的网络高可用性替换算法,包括以下步骤:1)终端设备通过网络传输数据时,后台不采取设备网络IP进行识别,而是对设备号识别,并且传输数据采用非对称加密;2)终端设备通过有线、WLAN和4G网络发送探测包到后台,后台将收到的数据进行解密,并作对应回复收到报文;3)终端设备收到后台回复数据时,通过packettrain算法及实现带宽测算速率得出各网络通讯的速率;4)当正在使用的网络通讯带宽速率低于设定值时,通过稳定周期算法自动切换其他高于设定带宽速率值的带宽速率;5)网络异常断开,当检测发送探测包失败时,自动切换其他网络通讯。作为本专利技术进一步的方案:在步骤3)中,由终端向平台发送一列测试流,它由N个大小为L的数 ...
【技术保护点】
1.一种自动厨房领域的网络高可用性替换算法,其特征在于,包括以下步骤:1)终端设备通过网络传输数据时,后台不采取设备网络IP进行识别,而是对设备号识别,并且传输数据采用非对称加密;2)终端设备通过有线、WLAN和4G网络发送探测包到后台,后台将收到的数据进行解密,并作对应回复收到报文;3)终端设备收到后台回复数据时,通过packet train算法及实现带宽测算速率得出各网络通讯的速率;4)当正在使用的网络通讯带宽速率低于设定值时,通过稳定周期算法自动切换其他高于设定带宽速率值的带宽速率;5)网络异常断开,当检测发送探测包失败时,自动切换其他网络通讯。
【技术特征摘要】
1.一种自动厨房领域的网络高可用性替换算法,其特征在于,包括以下步骤:1)终端设备通过网络传输数据时,后台不采取设备网络IP进行识别,而是对设备号识别,并且传输数据采用非对称加密;2)终端设备通过有线、WLAN和4G网络发送探测包到后台,后台将收到的数据进行解密,并作对应回复收到报文;3)终端设备收到后台回复数据时,通过packettrain算法及实现带宽测算速率得出各网络通讯的速率;4)当正在使用的网络通讯带宽速率低于设定值时,通过稳定周期算法自动切换其他高于设定带宽速率值的带宽速率;5)网络异常断开,当检测发送探测包失败时,自动切换其他网络通讯。2.根据权利要求1所述的自动厨房领域的网络高可用性替换算法,其特征在于,在步骤3)中,由终端向平台发送一列测试流,它由N个大小为L的数据包组成,相邻数据包的发送间隔为零,假设第一个数据包到达接收端的时间为T1,第N...
【专利技术属性】
技术研发人员:黄俊升,
申请(专利权)人:深圳市智汇牛科技有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。