KR20090083496A - Method to improve speed by socket tunneling in http data transfer system - Google Patents

Method to improve speed by socket tunneling in http data transfer system Download PDF

Info

Publication number
KR20090083496A
KR20090083496A KR1020080009305A KR20080009305A KR20090083496A KR 20090083496 A KR20090083496 A KR 20090083496A KR 1020080009305 A KR1020080009305 A KR 1020080009305A KR 20080009305 A KR20080009305 A KR 20080009305A KR 20090083496 A KR20090083496 A KR 20090083496A
Authority
KR
South Korea
Prior art keywords
socket
tunnel
layer
tunnel socket
server
Prior art date
Application number
KR1020080009305A
Other languages
Korean (ko)
Inventor
엄태광
Original Assignee
주식회사 인프라웨어
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 인프라웨어 filed Critical 주식회사 인프라웨어
Priority to KR1020080009305A priority Critical patent/KR20090083496A/en
Publication of KR20090083496A publication Critical patent/KR20090083496A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/329Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the application layer [OSI layer 7]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a method of increasing data communication efficiency by providing a socket tunneling layer in an HTTP transmission technique. According to an aspect of the present invention, there is provided a data communication method using TCP / IP, the method comprising: separating a data communication request received from an HTTP application layer into a tunnel socket object by providing a tunnel socket layer; Generating one Tunnel Socket Segment and reassembly (SAR) module for each server by tying Tunnel Socket objects connecting to the same server in the Tunnel Socket Layer; Creating a socket in a tunnel socket segment and reassembly (SAR) module and communicating with a corresponding server; Transmitting a request received from a plurality of Tunnel Socket objects requesting to connect to the same server in a Tunnel Socket SAR; Distributing data from sockets connected in the Tunnel Socket SAR to the appropriate Tunnel Socket objects, respectively; It is achieved through a data communication method using a tunnel socket layer characterized in that it comprises a.

Description

Method to improve speed by socket tunneling in HTTP data transfer system

The present invention relates to an Internet data communication method using a TCP / IP system, and more particularly, to a method of increasing data communication efficiency by providing a socket tunneling layer in a TCP / IP system.

TCP / IP is a combination of TCP and IP. TCP stands for Transmission Control Protocol. It is a protocol that controls transmission. IP is an Internet Protocol that contains methods and procedures for specifying a specific location on the Internet. Data communication on the Internet interprets and processes only the header that precedes the data.

6 shows an SOI 7 model and a TCP / IP model. TCP / IP divides the structure of OSI 7 Layer into four layers. What each layer of the OSI 7 Layer does is the same in TCP / IP. Only the upper three layers of OSI 7 Layer are expressed in one term of Application in TCP / IP. In addition, the physical and data link layers at the bottom are represented by a network interface.

If you look at the TCP / IP Suite, you will see TCP and UDP at the TCP layer, and there are also ARP (Address Resolution Protocol) and ICMP (Internet Control Message Protocol). These various protocols, including TCP and IP, operate organically to enable data communication.

7 shows communication between a client and a server using TCP / IP. When a client (client) who wants to use Web, one of the Internet services, connects to a web server on the Internet and surfs the web, the TCP / IP stack communication process occurs. Try to connect using your own TCP / IP to retrieve This is carried over the actual physical line. TCP / IP of Web Server solves data received from own physical device in reverse order with Web Client and finally delivers to Web Server Application.

Each layer of TCP / IP communicates organically with its neighbors. The information created in the upper layer is sent to the lower layer and the lower layer is transferred to the adjacent lower layer. In the process of data transmission, data that was originally a chunk is divided into MTUs suitable for transmission, and important headers necessary for transmission are added one by one and finally, they are delivered in the form of physical data.

The information used in each layer of TCP / IP is encapsulated before the data received from the upper layer and descends to the lower layer. The receiving side TCP / IP uses the information included in each layer in the reverse order and uploads it to the upper layer.

  1) Application Layer

The application layer of TCP / IP is a layer on which software is executed for a specific purpose used by a user. These programs are based on the reliability of the lower layers.

  2) TCP Layer

TCP, belonging to the transport layer of the OSI 7 layer, is a layer that controls transport. First of all, the transmission must be on the receiving side, and the connection with the receiving side must be preceded. After the connection is established, a function is needed to transmit data securely and reliably. TCP divides the data received from the application layer into segments, which are logical pieces of data. The divided segment is assigned a serial number called Sequence Number, which is transmitted by TCP. The receiver uses this serial number to reassemble the received segment. In this process, TCP recovers the segment that caused the loss or error. The control object of TCP is the transmission speed of data sent and received. UDP (User Datagram Protocol) is in the same layer as TCP but is a protocol that focuses on transport rather than the connections and controls described earlier.

  3) IP Layer

The IP layer performs the function of the network layer of the OSI 7 layer. An important function of the IP layer is address assignment and route selection. The IP layer processes data received from the upper TCP layer in units of packets. This packet contains the parent, the data, and the header. Packets in the IP layer tell us where the destination network is and what protocols on the top it is related to. Every host on the network has a unique address. The IP Layer performs various functions related to these addresses and route assignments.

  4) Network Interface Layer

The network interface layer is a layer in which the data link layer and the physical layer of the OSI 7 layer are combined and are involved in logical and physical transmission of data of a higher layer. Data from the upper layer is repackaged according to the type of Network Interface Layer and transmitted through the interface.

The conventional TCP / IP system has a problem in that web surfing speed is lowered in a relatively slow network environment such as a mobile terminal.

In order to improve the data transmission speed even in a relatively slow network environment such as a mobile terminal, the present invention provides a method for improving the speed by using a tunnel socket layer instead of a socket used for HTTP communication.

According to an aspect of the present invention, there is provided a data communication method using TCP / IP, the method comprising: separating a data communication request received from an HTTP application layer into a tunnel socket object by providing a tunnel socket layer; Generating one Tunnel Socket Segment and reassembly (SAR) module for each counterpart server to which a Tunnel Socket object connecting to the same server is connected in a Tunnel Socket Layer; Creating a socket in a tunnel socket segment and reassembly (SAR) module and communicating with a corresponding server; Transmitting a request received from a plurality of Tunnel Socket objects requesting to connect to the same server in a Tunnel Socket SAR; Distributing data from sockets connected in the Tunnel Socket SAR to the appropriate Tunnel Socket objects, respectively; It is achieved through a data communication method using a tunnel socket layer characterized in that it comprises a.

In addition, the present invention provides a data communication method using TCP / IP, comprising: separating a data communication request coming from an HTTP application layer into each tunnel socket object by providing a tunnel socket layer; Generating one Tunnel Socket Segment and reassembly (SAR) module for each counterpart server to which a Tunnel Socket object connecting to the same server is connected in a Tunnel Socket Layer; Creating a socket in a tunnel socket segment and reassembly (SAR) module and communicating with a corresponding server; Transmitting a request received from a plurality of Tunnel Socket objects requesting to connect to the same server in a Tunnel Socket SAR; Distributing data from sockets connected in the Tunnel Socket SAR to the appropriate Tunnel Socket objects, respectively; In the data communication method using the Tunnel Socket Layer, the data communication method includes a priority for each Tunnel Socket object to specify a transmission priority between the HTTP objects and process the data.

In addition, the present invention provides a data communication method using TCP / IP, comprising: separating a data communication request coming from an HTTP application layer into each tunnel socket object by providing a tunnel socket layer; Generating one Tunnel Socket Segment and reassembly (SAR) module for each counterpart server to which a Tunnel Socket object connecting to the same server is connected in a Tunnel Socket Layer; Creating a socket in a tunnel socket segment and reassembly (SAR) module and communicating with a corresponding server; Transmitting a request received from a plurality of Tunnel Socket objects requesting a connection to the same server in a Tunnel Socket SAR; Distributing data from sockets connected in the Tunnel Socket SAR to the appropriate Tunnel Socket objects, respectively; In the data communication method using a Tunnel Socket Layer, a client in a mobile environment transmits a processing state to a server, and accordingly, a data communication method for different QoS processing is achieved in the server.

By using the present invention, TCP / IP handshake time can be reduced when there are multiple requests for the same server. You can download multiple HTTP objects in parallel to a single socket. You can preferentially receive the data you need from multiple HTTP objects. There is no conflict with the existing standard due to the independent and simple additional layer structure. It is extensible and has no conflicting issues with existing HTTP extensions. Overcome the shortcomings of the HTTP pipeline. You can receive other objects even if you have not received all of the existing HTTP objects. By using network resources efficiently, the browser can shorten the overall page load time.

Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. In the following description of the present invention, when it is determined that the detailed description of the related public notice or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted. In addition, terms to be described below are terms defined in consideration of functions in the present invention, which may vary according to intention or precedent of a user or an operator, and thus, the meaning of each term should be interpreted based on the contents throughout the present specification. .

1 shows a network protocol stack according to the present invention. In the existing TCP / IP system, the HTTP application layer is directly connected to the socket layer. However, in the data communication system according to the present invention, a new socket tunneling layer is provided between the HTTP application layer and the socket layer, and the application layer (HTTP) is an existing socket layer. Use Tunnel Socket Layer instead.

8 shows a sequence diagram according to the present invention. The processing in the Socket Tunneling Layer goes through the following steps.

1. Create each Tunnel Socket object in response to HTTP Request in HTTP Application Layer.

2. Multiple Tunnel Socket objects connecting to the same server in the Tunnel Socket Layer create one Tunnel Socket Segment and reassembly (SAR) module.

3. Tunnel Socket Segment and reassembly (SAR) module creates one socket and integrates the requests of multiple Tunnel Sockets to prepare for TCP / IP communication according to the existing method.

4. Tunnel Socket SAR sends Tunnel Socket Header after adding Tunnel Socket Header to each request.

5. Tunnel Socket SAR distributes to appropriate Tunnel Socket objects by using Tunnel Socket Header in response data coming from connected Socket.

At this time, priority is given to each Tunnel Socket object to control the transmission priority between HTTP objects. Also, the server of Mobile environment is properly transmitted to the server so that the server can properly process QoS (Quality of Service). Can improve the efficiency of data transmission.

2 is an object diagram for transmitting a plurality of HTTP objects when there is a proxy server. If there is a proxy server, most HTTP application requests are provided by one server, so each request can be processed through one Tunnel Socket SAR module.

3 is an object diagram for transmitting a plurality of HTTP objects of the same server when there is no proxy server. In this case, as in the case of the proxy server, the requests requested by the HTTP application are provided by one server, so each request can be processed through one Tunnel Socket SAR module.

4 is an object diagram for transmitting a plurality of HTTP objects of multiple servers when there is no proxy server. Even in this case, since a plurality of requests requested by the HTTP application are provided by the same server, one Tunnel Socket SAR module can be generated and processed for each server.

5 shows a data packet structure when using the data communication method according to the present invention. In the data communication according to the present invention, as shown in FIG. 5, a tunnel socket header exists between the TCP / IP header and the HTTP header.

In the data communication method according to the present invention, the Tunnel Socket Header component is Tunnel Socket ID, Priority, Control (Create, Delete, etc ..), Packet Size, QoS Param, Expand Param, CheckSum, and the like. The function and description of each important component is as follows.

Tunnel Socket ID: Unique ID to identify Tunnel Socket object in Tunnel Socket SAR module.

Priority: A value for handling the communication priority between Tunnel Socket objects in the Tunnel Socket SAR module.

Control (Create, Delete, etc ..): Information to transmit processing information related to Tunnel Socket object of Client to Server. The server uses this information to refer to the data transfer process to the socket.

QoS Param: Status information that the client is transmitting and processing. Server uses this information to refer to transmission priority processing.

Although the above is limited to the preferred embodiment of the present invention, the present invention is not limited thereto, and various changes, modifications, and equivalents may be used. Therefore, the present invention can be appropriately modified and applied to these embodiments, it will be obvious that such applications also fall within the scope of the present invention based on the technical idea described in the claims.

1 is a diagram showing a network protocol stack according to the present invention.

Figure 2: An object diagram that transmits multiple HTTP objects when there is a proxy server

Figure 3: Object diagram that transmits multiple HTTP objects of the same server when there is no proxy server

Figure 4: Object diagram that transmits multiple HTTP objects of multiple servers when there is no proxy server

5 is a data packet structure when using the data communication method according to the present invention

Figure 6: OSI 7 Layer Model and TCP / IP Model

Figure 7: Ethernet Configuration

Figure 8: Sequence diagram according to the present invention

Claims (3)

In the data communication method using TCP / IP, Placing a tunnel socket layer to classify data communication requests coming from the HTTP application layer into respective tunnel socket objects; Generating one Tunnel Socket Segment and reassembly (SAR) module for each counterpart server to which a Tunnel Socket object connecting to the same server is connected in a Tunnel Socket Layer; Creating a socket in a tunnel socket segment and reassembly (SAR) module and communicating with a corresponding server; Transmitting a request received from a plurality of Tunnel Socket objects requesting to connect to the same server in a Tunnel Socket SAR; Distributing data from sockets connected in the Tunnel Socket SAR to the appropriate Tunnel Socket objects, respectively; Data communication method using a tunnel socket layer characterized in that it comprises a The method according to claim 1, Data communication method that prioritizes transmission priority between HTTP objects by setting Priority for each Tunnel Socket object The method according to claim 1, Data communication method that transmits processing status of client in mobile environment to server and accordingly different QoS processing in server
KR1020080009305A 2008-01-30 2008-01-30 Method to improve speed by socket tunneling in http data transfer system KR20090083496A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080009305A KR20090083496A (en) 2008-01-30 2008-01-30 Method to improve speed by socket tunneling in http data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080009305A KR20090083496A (en) 2008-01-30 2008-01-30 Method to improve speed by socket tunneling in http data transfer system

Publications (1)

Publication Number Publication Date
KR20090083496A true KR20090083496A (en) 2009-08-04

Family

ID=41204269

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080009305A KR20090083496A (en) 2008-01-30 2008-01-30 Method to improve speed by socket tunneling in http data transfer system

Country Status (1)

Country Link
KR (1) KR20090083496A (en)

Similar Documents

Publication Publication Date Title
CN113411313B (en) Data transmission method, device and system
TWI444079B (en) Method, processor, computer program product, and apparatus for binding/aggregating multiple interfaces at application layer layer
US8458280B2 (en) Apparatus and method for packet transmission over a high speed network supporting remote direct memory access operations
US9467895B2 (en) Increasing access point throughput by exceeding A-MPDU buffer size limitation in a 802.11 compliant station
US20060133371A1 (en) Communication data relay system and method
KR101378435B1 (en) Handoff and optimization module of a network protocol stack
AU2007320794B2 (en) Selective session interception method
JP2016541048A (en) Method, device and system for transferring data using service proxy
CN111262715B (en) Virtual intranet acceleration method and system and computer equipment
US20150127837A1 (en) Relay apparatus and data transfer method
US20220407799A1 (en) Method and network device for multi-path communication
CN115002023B (en) Link aggregation method, link aggregation device, electronic equipment and storage medium
CN108093041B (en) Single-channel VDI proxy service system and implementation method
US7564848B2 (en) Method for the establishing of connections in a communication system
US8443057B1 (en) System, method, and/or apparatus for establishing peer-to-peer communication
US8650313B2 (en) Endpoint discriminator in network transport protocol startup packets
CN109005150B (en) Non-link communication method and system based on Ethernet MAC address
CN111669364B (en) Data transmission method, device, electronic equipment and medium
KR20090083496A (en) Method to improve speed by socket tunneling in http data transfer system
CN103368841A (en) Message forwarding method and device thereof
US8880644B2 (en) Programmable logic controller
JP2005011267A (en) Real-time data communication system, real-time data communication device and method for real-time communication
WO2006064561A1 (en) Virtual private network system
TWI483605B (en) Deployment method and computer system for network system
CN103391271B (en) Data packet forwarding method and device

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination