Socket Identifier Binding for Application-Level Traffic Selection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for selecting packet data connections in terminals are unable to differentiate traffic at the application level, limiting user control and adaptability due to differences in operating systems, particularly across single-process and multi-process environments.

Innovation Solution

A method and apparatus that utilize a connection management application and a TCP/IP protocol stack to obtain and modify SOCKET identifiers and file description information, allowing for user-intentional selection of packet data links across applications and services by transmitting SOCKET identifiers and modification instructions, enabling IP binding across single-process and multi-process operating systems.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If routing configuration is used to differentiate packet data traffic, then network segment differentiation is achieved, but application-level traffic selection is unable

Engineering Contradiction:
Improveapplication-level traffic selectionVSAvoidrouting configuration limitation
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent introduces a connection management application as an intermediary layer between the application layer and TCP/IP protocol stack. This mediator obtains SOCKET identifiers from applications, translates them into IP addresses through querying a SOCKET identifier and IP address correspondence table, and binds them together. This intermediary mechanism enables application-level traffic selection without requiring changes to the underlying routing configuration, thus resolving the contradiction between adaptability and device complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If IP address binding is performed manually for traffic differentiation, then application-level selection is possible, but operation becomes complex across different operating systems

Engineering Contradiction:
Improveapplication-level traffic differentiationVSAvoidmanual IP binding operation
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The connection management application automatically performs IP address binding without requiring manual user intervention. When an application creates a SOCKET, the connection management application automatically obtains the SOCKET identifier, queries the corresponding IP address from the correspondence table, and completes the binding operation. This self-service mechanism eliminates the need for users to manually configure IP bindings, making the system easy to operate across different operating systems while maintaining application-level traffic differentiation capability.

Inventive Principle:
Principle #25Self-service

3Extent of automation

If SOCKET identifier and IP address correspondence table is used, then automatic IP binding is achieved, but information storage and retrieval complexity increases

Engineering Contradiction:
Improveautomatic IP bindingVSAvoidcorrespondence table management
Core Design Contradiction:
Extent of automationVSDevice complexity

Solution Approach 1:

The SOCKET identifier and IP address correspondence table is pre-established and maintained before actual traffic selection is needed. The system proactively builds and updates this correspondence table as applications create and use SOCKETs, so that when traffic selection is required, the IP address is already available for immediate binding. This preliminary action approach automates the binding process while managing information storage complexity through structured, pre-organized data relationships.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10278229B2Method for processing socket, method and apparatus for transmitting packet data
Publication Date: 2019.04.30 ZTE CORP
  • US10278229B2 patent drawing
  • US10278229B2 patent drawing
  • US10278229B2 patent drawing

AI summary

Disclosed is a method for processing a SOCKET, a method and an apparatus for transmitting packet data, wherein, the method for processing a SOCKET comprises: a connection management application obtaining a SOCKET identifier corresponding to each service application, and transmitting the SOCKET identifier and a modification instruction to a TCP/IP (Transmission Control Protocol/Internet Protocol) protocol stack; the TCP/IP protocol stack searching for SOCKET file description information corresponding to the SOCKET identifier, and modifying the SOCKET file description information according to the modification instruction. After adopting the technical solution mentioned above, the IP binding operation across applications can be performed on a single-process or multi-process operating system, and the application level traffic selection of the different data connection can be performed according to intention of a user.