Relay Device UDP Control for Non-Continuous Communication
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In communication systems with non-continuous connections, establishing and maintaining communication is inefficient due to the need for continuous UDP packet transmission and the risk of line disconnection during data transmission, especially when multiple terminals are involved.
Innovation Solution
A communication system using a relay device that receives UDP packets from a first communication device, transmits control signals to a second communication device, and allows the second device to establish a TCP connection upon demand, optimizing the process by limiting UDP packet transmission and managing connection states to prevent line disconnection.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the terminal continuously transmits UDP packets to the server to report its IP address, then the server can promptly establish connection when communication is needed, but the terminal wastes energy and network resources by continuously transmitting even when no communication is required
Solution Approach 1:
The terminal performs preliminary action by transmitting UDP packets periodically to register its IP address with the server before actual communication is needed. This ensures the server has the terminal's current IP address ready for immediate connection establishment when communication demand arises, resolving the contradiction between connection reliability and energy consumption by preparing connection information in advance rather than maintaining continuous active transmission.
Solution Approach 2:
Instead of continuous transmission, the terminal uses periodic action by sending UDP packets at predetermined time intervals. This periodic transmission pattern reduces energy consumption compared to continuous transmission while still ensuring the server receives updated IP address information, thereby balancing connection reliability with energy efficiency.
2Reliability
If multiple terminals continuously transmit UDP packets to the server, then each terminal can be promptly connected when needed, but the server is overwhelmed by substantial load from all terminals
Solution Approach 1:
Terminals perform preliminary IP address registration via UDP packet transmission before actual communication sessions are needed. This preliminary action allows the server to store connection information in advance, so when communication is required, the server can quickly establish connections without receiving continuous UDP packets from all terminals, thereby reducing server load while maintaining connection reliability.
Solution Approach 2:
Terminals use periodic UDP packet transmission instead of continuous transmission to report their IP addresses. This periodic action pattern ensures the server receives necessary registration information at appropriate intervals without creating constant processing pressure, thus balancing the server's productivity requirements with the need for reliable connection establishment.
3Loss of energy
If the communication line is disconnected when no traffic is generated for a prescribed time, then network resources are saved, but communication state cannot be maintained and recovery processing becomes complicated
Solution Approach 1:
The system performs preliminary action by establishing TCP connection and completing data transmission before the communication line may be disconnected due to inactivity. By finishing all necessary communication tasks before disconnection occurs, the system avoids complicated recovery processing while still allowing the line to be disconnected for resource savings, thus resolving the contradiction between network resource consumption and state management complexity.
Data Source
AI summary
An object of the present invention is to provide a technique capable of promptly and efficiently starting a communication processing when a demand is generated, in a communication system including a terminal for a non-continuous connection. A communication terminal and a device can be connected through a relay device, and when the communication terminal transmits a UDP packet to the device, the relay device receives the UDP packet and transmits a control signal to the device. The device makes a dial-up connection to establish a PPP session, and establishes a TCP connection with the relay device. By using this TCP connection, the communication terminal transmits an inspection instruction file to the device. The device conducts an inspection in accordance with the inspection instruction file, prepares an inspection result file, and returns it to the communication terminal. Then, the device disconnects the TCP connection, the PPP session, and the dial-up line network.


