Installer Port Blocking for Conflict-Free Application Installation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for installing applications on computational devices often fail due to port conflicts, leading to errors when a required port is already in use by another application, necessitating reinstallation.

Innovation Solution

An installer application that blocks a selected port prior to installation, binds a socket to it, and then unblocks it after installation to test the application's functions without causing errors or requiring reinstallation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If an application is installed without blocking the port first, then the installation process is simple and fast, but port conflicts occur causing installation errors and requiring reinstallation

Engineering Contradiction:
Improveinstallation success rateVSAvoidreinstallation time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The installer application performs preliminary actions by blocking the required port before attempting to install the application. This advance preparation ensures that no other application can use the port during installation, preventing port conflict errors and eliminating the need for reinstallation.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If the installer checks port availability before installation, then port conflicts are avoided, but the installation process becomes more complex

Engineering Contradiction:
Improveport conflict avoidanceVSAvoidinstaller complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The port blocking functionality is extracted as a separate, dedicated operation within the installer application. Rather than implementing complex port availability checking and conflict resolution logic, the installer simply blocks the required port in advance, isolating the port management concern from the rest of the installation process.

Inventive Principle:
Principle #2Taking out (Extraction)

3Reliability

If the port is blocked during installation, then the application can bind to the port successfully, but the port cannot be used by other applications during installation

Engineering Contradiction:
Improveport binding successVSAvoidport availability for other applications
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The installer application applies preliminary anti-action by blocking the port before installation to prevent other applications from binding to it. This temporary restriction ensures that the port is exclusively available for the installation process, guaranteeing successful port binding without interference from other applications.

Inventive Principle:
Principle #9Preliminary anti-action

Data Source

PatentUS9875176B2Blocking a selected port prior to installation of an application
Publication Date: 2018.01.23 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US9875176B2 patent drawing
  • US9875176B2 patent drawing
  • US9875176B2 patent drawing

AI summary

An installer application implemented in a computational device receives a command to install a test application in the computational device. The installer application determines whether a selected port of a plurality of ports of the computational device is to be blocked prior to installing the test application in the computational device. In response to determining that the selected port is to be blocked prior to installing the test application in the computational device, the installer application blocks the selected port, installs the test application by binding a socket to the selected port of the plurality of ports, and tests functions of the test application by executing one or more code paths of the test application, in response to installing the test application.