IoT device connected to server via NAT, and IoT communication method
AssigneeKorea Electronics Technology Institute
InventorsSeong Yun Kim, Seung Myeong Jeong, Ji Ho Lee
Life of this patent
Estimating the term…
Abstract
Provided are an IoT device and an IoT communication method. The IoT device may: be connected to a server via NAT; execute a first session for service connection; and execute a second session for calculating a particular keep-alive value corresponding to a period in which an IP address mapped by the NAT expires. The present invention can minimize transmission of a keep-alive value of an IoT device, enables an IoT device to share a particular keep-alive value with other IoT devices, and thus can minimize a network load which may be caused by a keep-alive value of an IoT communication device.
Claims4
An Internet of things (IoT) device connected with a server via a network address translation (NAT), the IoT device comprising:
- a communication unit configured to connect to the server via the NAT;
- and
- a controller configured to execute a first session for service connection,
- when the communication unit connects to a new network, identify whether a specific keep alive value corresponding to a corresponding network environment is stored in the server,
- when the specific keep alive value is stored, set the communication unit to communicate with the corresponding specific keep alive value, and
- when the specific keep alive value is not stored in the server, execute a second session for calculating a specific keep alive value corresponding to a period in which an IP address mapped by the NAT expires, by:
- controlling the communication unit to transmit a first time value to the server in the second session;
- identifying whether a response is received from the server after a time corresponding to the first time value is elapsed;
- when the response is received, increasing the first time value by a unit time and iteratively retransmitting the increased first time value to the server;
- when the response is not received, setting a time value which is the unit time subtracted from the corresponding first time value as a specific keep alive value of the first session;
- and
- finishing the second session, and
- wherein the controller is configured to transmit a connection IP address, connection environment information, device information for calculating the specific keep alive value, and the calculated specific keep alive value to the server,
- wherein the specific keep alive value corresponds to a maximum value of a time during which the IP address is maintained without being changed.
An Internet of things (IoT) communication method by an IoT device connected with a server via a network address translation (NAT), the method comprising:
- connecting to the server via the NAT;
- executing a first session for service connection;
- when a communication unit connects to a new network, identifying whether a specific keep alive value corresponding to a corresponding network environment is stored in the server;
- when the specific keep alive value is stored, setting the communication unit to communicate with the corresponding specific keep alive value;
- when the specific keep alive value is not stored in the server, executing a second session for calculating a specific keep alive value corresponding to a period in which an IP address mapped by the NAT expires;
- controlling the communication unit to transmit a first time value to the server in the second session;
- identifying whether a response is received from the server after a time corresponding to the first time value is elapsed;
- when the response is received, increasing the first time value by a unit time and iteratively retransmitting the increased first time value to the server;
- when the response is not received, setting a time value which is the unit time subtracted from the corresponding first time value as a specific keep alive value of the first session;
- finishing the second session;
- and
- transmitting a connection IP address, connection environment information, device information for calculating the specific keep alive value, and the calculated specific keep alive value to the server,
- wherein the specific keep alive value corresponds to a maximum value of a time during which the IP address is maintained without being changed.
Dependencies are inferred from the claim text.