Communication Apparatus Protocol Selection for Response Time
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing communication protocols like HTTP/1.1 and HTTP/2 face inefficiencies in response times due to limitations in TCP connections, and the need for protocol upgrades can prolong communication times, especially when handling multiple requests.
Innovation Solution
A communication apparatus that dynamically selects between HTTP/1.1 and HTTP/2 based on the number of messages and TCP connections available, optimizing protocol choice to minimize response times and avoid unnecessary upgrades.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If HTTP/2 is used with protocol upgrade mechanism, then parallel request transmission capability is improved, but communication time increases due to additional upgrade transaction
Solution Approach 1:
The system performs preliminary assessment of the number of requests to be transmitted before initiating communication. Based on this advance knowledge, it pre-selects the appropriate protocol (HTTP/1.1 or HTTP/2) without requiring protocol upgrade transactions during actual communication, thereby eliminating the time overhead of protocol upgrades while maintaining the ability to use parallel transmission when needed.
Solution Approach 2:
The system dynamically selects between HTTP/1.1 and HTTP/2 protocols based on the actual number of requests to be transmitted. When the number of requests exceeds the number of TCP connections, HTTP/2 is selected to enable parallel transmission. This dynamic adaptation allows the system to optimize for parallelism only when necessary, avoiding the time penalty of protocol upgrades in single-request scenarios.
2Productivity
If HTTP/1.1 is used with multiple TCP connections, then parallel request transmission is enabled, but device complexity increases
Solution Approach 1:
The system changes the protocol parameter (from HTTP/1.1 to HTTP/2) based on the number of requests, rather than changing the number of TCP connections. By using HTTP/2's multiplexing capability on a single connection when parallel transmission is needed, the system achieves parallel request handling without increasing the number of TCP connections, thus avoiding the complexity associated with managing multiple connections.
3Productivity
If protocol upgrade is performed to switch between HTTP/1.1 and HTTP/2, then communication efficiency is optimized, but communication time increases due to additional transaction
Solution Approach 1:
The system performs preliminary determination of the optimal protocol based on the number of requests before communication begins. This advance decision eliminates the need for protocol upgrade transactions during communication, as the appropriate protocol is selected in advance based on whether parallel transmission is required.
Solution Approach 2:
The invention extracts and removes the protocol upgrade transaction from the communication process. By making the protocol selection decision beforehand based on the known number of requests, the system eliminates the additional transaction overhead that would otherwise be required to switch protocols, thereby optimizing communication efficiency without the time penalty of upgrades.
Data Source
AI summary
A communication apparatus includes a first acquisition unit and a determination unit. The first acquisition unit acquires a number of messages to be transmitted to another communication apparatus. The determination unit determines, based on the number of messages acquired by the first acquisition unit, a communication protocol to be used for a communication with the another communication apparatus from a plurality of communication protocols.


