Gateway Hot Upgrade Handover for Graceful Parent Process Exit

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing gateway hot upgrade solutions fail to ensure a graceful exit of the parent process during upgrades, leading to potential service interruptions and unreliability due to the parent process exiting without receiving a reply within a waiting time period.

Innovation Solution

A method and system that cuts off the connection between the parent process and the child process in response to an exit signal, allowing the child process to receive port and file descriptor information, and processes the service request through the child process, ensuring a graceful exit of the parent process.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If the parent process mechanically waits for a time period to exit, then the exit process is simple to implement, but the parent process may exit without receiving a reply within the waiting time period, causing service interruption

Engineering Contradiction:
Improveexit process simplicityVSAvoidservice availability
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The child process sends a feedback message to the parent process after successfully receiving the file descriptor, allowing the parent process to know when to safely exit. This feedback mechanism ensures the parent process waits for the child process to be ready before exiting, preventing service interruption while maintaining a simple exit process.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The child process performs preliminary actions by first receiving the file descriptor from the parent process, then sending a notification message before the parent process exits. This preliminary action sequence ensures that all necessary data transfer and connection establishment are completed before the parent process terminates, guaranteeing service continuity.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If the parent process exits without proper connection handling, then the upgrade process is faster, but the service request may not receive a reply within the waiting time period

Engineering Contradiction:
Improveupgrade speedVSAvoidresponse delivery
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The child process performs preliminary data reception and connection establishment before the parent process exits. The parent process transfers the file descriptor to the child process, which then sends a notification message to confirm readiness. This preliminary action sequence enables fast upgrade while ensuring reliable response delivery, as the child process is already ready to handle incoming requests when the parent exits.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20260044336A1Gateway and gateway hot upgrade method and system
Publication Date: 2026.02.12 CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PTE LTD
  • US20260044336A1 patent drawing
  • US20260044336A1 patent drawing
  • US20260044336A1 patent drawing

AI summary

The present disclosure discloses a gateway and a gateway hot upgrade method and system, related to the field of cloud computing. The method includes that: a connection between a parent process before a hot upgrade of a service request and a child process after the hot upgrade of the service request is cut off in response to receiving an exit signal, where the service request is used for establishing the connection between the child process after the hot upgrade and the parent process before the hot upgrade, and the child process is used for receiving port information and file descriptor information transferred by the parent process after the connection is established; and the parent process is exited, and the service request is processed based on the port information and the file descriptor information through the child process.