IPIP Packet Processing for Windows Service Access

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The Linux server clustering system, specifically the Tencent Gateway (TGW) project, faces challenges in accessing Windows services due to the lack of support for IP tunneling technology in Windows systems, making it difficult to efficiently and transparently access Windows services.

Innovation Solution

A packet processing method and background server system that receive and process Internet Protocol over Internet Protocol (IPIP) packets by removing reverse proxy and Windows server IP addresses, changing the destination IP address, and encapsulating them to create an IP packet, allowing access to Windows services via an IP tunnel.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If IP tunneling technology is used to access services, then efficient and transparent service access is achieved, but Windows systems cannot support this technology

Engineering Contradiction:
Improveservice access efficiencyVSAvoidsystem compatibility
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent introduces a gateway server as an intermediary between the IP tunnel and the Windows service. The gateway server receives IPIP packets from the IP tunnel, extracts the inner IP packet, and forwards it to the Windows service. This mediator enables Windows services to be accessed through the IP tunnel infrastructure that they natively cannot support.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If a gateway server is introduced to enable Windows service access via IP tunnel, then Windows service accessibility is improved, but system complexity increases

Engineering Contradiction:
ImproveWindows service accessibilityVSAvoidsystem architecture complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The gateway server is designed to handle multiple protocols and packet types, serving as a universal access point for both Linux and Windows services through the IP tunnel. It can process IPIP packets, perform IP address translation, and route to different backend services, making it a multi-functional component that reduces overall system complexity despite adding a layer.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The gateway server creates a virtual representation of the Windows service that is accessible through the IP tunnel protocol. By copying the service interface and making it compatible with the tunnel protocol, the system allows standard IP tunnel clients to access Windows services without modifying the Windows service itself or requiring native Windows tunnel support.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS9843514B2Packet processing method and background server
Publication Date: 2017.12.12 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US9843514B2 patent drawing
  • US9843514B2 patent drawing
  • US9843514B2 patent drawing

AI summary

A packet processing method and a background server are provided. The packet processing method includes: receiving, by a bearer system of a background server, an IPIP packet sent by an access server via an IP tunnel; and removing a reverse proxy IP address and a windows server IP address that are in an outer layer of the IPIP packet, and changing a destination IP address in the IPIP packet, of which the reverse proxy IP address and the windows server IP address are removed, into the windows server IP address, to obtain an IP packet.