Gateway backup method and street lamp system
The invention provides a gateway backup method. The method comprises the steps that a server judges whether a first gateway is in a connectable state or not; when the server judges that the first gateway is in the non-connectable state, first gateway information is newly added in the state list; the...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a gateway backup method. The method comprises the steps that a server judges whether a first gateway is in a connectable state or not; when the server judges that the first gateway is in the non-connectable state, first gateway information is newly added in the state list; the server regularly checks information stored in the state list; when the server judges that the access time of the first gateway information is greater than or equal to the preset time, the server sends an address of a node connected to the first gateway to a second gateway, so that the second gateway establishes connection with the node according to the address of the node; and the server obtains the node information from the second gateway and stores the node information in the memory.
本申请提供一种网关备援方法包含:服务器判断第一网关是否处于可连接状态;当服务器判断第一网关处于不可连接状态,于状态清单新增第一网关信息;服务器定期检查状态列表所储存的信息;当服务器判断第一网关信息的访问时间大于等于预设时间,将连接于第一网关的节点的地址发送至第二网关,使第二网关根据节点的地址与节点建立连接;服务器自第二网关获取节点信息,并储存至内存。 |
---|