Patent ID: 9137334
Filing Date: 2015-09-15
Classification: H04L

Abstract:
1. An interconnection method, comprising: initiating a Hypertext Transfer Protocol (HTTP) tunnel establishment connection to a remote Socket invocation server, and establishing an HTTP tunnel; obtaining an information about a first Socket application programming interface (API) function invoked by a service client, wherein the first Socket API function is a Socket API function for performing a network data interaction by using a Socket connection established by the remote Socket invocation server, wherein a source Internet Protocol (IP) address and a source port of the Socket connection are an IP address and a port of a local area network where the remote Socket invocation server is located, and a destination IP address and a destination port of the Socket connection are an IP address and a port of a service server that is on the same local area network as the remote socket invocation server; encapsulating the information about the first Socket API function to a message structure; and sending the message structure to the remote Socket invocation server through the HTTP tunnel to enable the remote Socket invocation server to execute a second Socket API function corresponding to the first Socket API function in the message structure.