WO2014065634A1 - Method and apparatus for accelerating web service with proxy server - Google Patents
Method and apparatus for accelerating web service with proxy server Download PDFInfo
- Publication number
- WO2014065634A1 WO2014065634A1 PCT/KR2013/009596 KR2013009596W WO2014065634A1 WO 2014065634 A1 WO2014065634 A1 WO 2014065634A1 KR 2013009596 W KR2013009596 W KR 2013009596W WO 2014065634 A1 WO2014065634 A1 WO 2014065634A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- web server
- server
- web
- authentication
- client
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/02—Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
- H04L63/0281—Proxies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0884—Network architectures or network communication protocols for network security for authentication of entities by delegation of authentication, e.g. a proxy authenticates an entity to be authenticated on behalf of this entity vis-à-vis an authentication entity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/562—Brokering proxy services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0823—Network architectures or network communication protocols for network security for authentication of entities using certificates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/16—Implementing security features at a particular protocol layer
- H04L63/166—Implementing security features at a particular protocol layer at the transport layer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
Definitions
- the present disclosure relates to a method and apparatus for providing an accelerated web service for client using a proxy server.
- a client In order to safely receive web pages or Hyper Text Transfer Protocol (HTTP) data from a web server, a client has to perform predetermined preliminary procedures. Such preliminary procedures each require at least one Round Trip Time (RTT) to exchange messages between the client and the web server.
- RTT Round Trip Time
- TCP Transmission Control Protocol
- a method for providing a web service includes obtaining authentication information of at least one web server from the at least one web server to establish a session in advance and storing the authentication information in a database; searching the database for authentication information of a particular web server, upon reception of a request from a client for access to the particular web server; and performing web server access acceleration if the particular web server exists.
- a method for receiving a web service includes sending a request for access to a particular web server, and receiving authentication information of the particular web server and a random number through a proxy server; performing authentication on the particular web server based on the authentication information of the particular web server and the random number, and generating encrypted web page request information based on a result of performing the authentication; and sending the result of performing the authentication and the encrypted web page request information to the proxy server.
- a method for providing a web service in a web server includes receiving from a proxy server that establishes a session in advance a result of authentication of the web server performed by a client that requests access to the web server, and web page request information encrypted based on the result of authentication; creating response information to the web page request information; and encrypting the response information with the result of authentication and sending the encrypted response information to the proxy server.
- a proxy server for providing a web service.
- the proxy server includes a database configured to obtain and store authentication information of at least one web server from the at least one web server to establish a session in advance.
- the proxy server further includes a web server access acceleration determiner configured to search the database for authentication information of a particular web server upon reception of a request for access to the particular web server; and to perform web server access acceleration if the authentication of the particular web server exists.
- a terminal for receiving a web service.
- the terminal includes a transceiver configured to send a request for access to a particular web server, and to receive authentication information of the particular web server and a random number through a proxy server.
- the terminal further includes a controller configured to perform authentication on the particular web server based on the authentication information of the particular web server and the random number; to create web page request information encrypted based on a result of performing the authentication; and to control the transceiver to send the proxy server the result of performing the authentication and the encrypted web page request information.
- a web server for providing a web service.
- the web server includes a transceiver configured to receive, from a proxy server that establishes a session in advance a result of authentication of the web server performed by a client that requests access to the web server, web page request information encrypted based on the result of authentication.
- the web server further includes a controller configured to create response information to the web page request information; to encryp the response information based on the result of authentication; and to control the transceiver to send the encrypted response information to the proxy server.
- FIG. 1 is a signaling chart illustrating conventional operations for web server connection
- FIG. 2A illustrates a system for providing web services, according to embodiments of the present disclosure
- FIG. 2B illustrates protocol stacks of constituent elements of a system for providing web services, according to embodiments of the present disclosure
- FIG. 3 is a signaling chart illustrating operations for web server connection, according to embodiments of the present disclosure
- FIG. 4 is a flowchart illustrating operations of a proxy server, according to embodiments of the present disclosure
- FIG. 5 is a schematic block diagram illustrating a proxy server, according to embodiments of the present disclosure.
- FIG. 6 is a schematic block diagram illustrating a client terminal or a web server, according to embodiments of the present disclosure.
- FIGURES 1 through 6, discussed below, and the various embodiments used to describe the principles of the present disclosure in this patent document are by way of illustration only and should not be construed in any way to limit the scope of the disclosure. Those skilled in the art will understand that the principles of the present disclosure may be implemented in any suitably arranged electronic device.
- Like numbers refer to like elements throughout.
- first, second, third, etc. may be used herein to describe various elements, components, regions, layers and/or sections, these elements, components, regions, layers and/or sections should not be limited by these terms. These terms are only used to distinguish one element, component, region, layer or section from another region, layer or section. Thus, a first element, component, region, layer or section discussed below could be termed a second element, component, region, layer or section without departing from the teachings of the present disclosure. Descriptions shall be understood as to include any and all combinations of one or more of the associated listed items when the items are described by using the conjunctive term " ⁇ and/or ⁇ ," or the like.
- FIG. 1 is a signaling chart illustrating conventional operations for web server connection. It is assumed herein that a User Equipment (UE) on a client 100 side (hereinafter, briefly called client 100) has completed an initial attach procedure with a mobile communication network that includes, e.g., a Remote Area Network (RAN) and a gateway (GW).
- UE User Equipment
- client 100 has completed an initial attach procedure with a mobile communication network that includes, e.g., a Remote Area Network (RAN) and a gateway (GW).
- RAN Remote Area Network
- GW gateway
- the client 100 performs a Transmission Control Protocol (TCP) session setup procedure, a Transport Layer Security (TLS) procedure, and a Hyper Text Transfer Protocol (HTTP) handshake procedure to access a web server 106.
- TCP Transmission Control Protocol
- TLS Transport Layer Security
- HTTP Hyper Text Transfer Protocol
- the TCP session setup procedure is performed for the client 100 to send the web server 106 a connection request.
- the client 100 sends a TCP session request to the web server 106.
- the web server 106 sends the client 100 a TCP session response to the TCP session request.
- the TLS handshake procedure is performed to establish a Secure Socket Layer (SSL) session for guaranteeing privacy of transactions with the web server 106.
- the client 100 can authenticate a website provided by the web server 106, encrypt data to be exchanged between the client 100 and the web server 106, prevent data modification during data communication, and so on.
- the client 100 sends the web server 106 a client hello message to request the SSL session setup.
- the client hello message includes information that can be requested by the web server 106 for the SSL session setup.
- the client hello message includes the SSL version number of the client 100, cipher settings, SSL session related session-specific data, etc.
- the SSL version number is a random number that is randomly generated by the client 100.
- the web server 106 sends the client 100 a server hello message in response to the client hello message.
- the server hello message also includes information requested by the client 100 for the SSL session setup.
- the server hello message includes the SSL version number of the web server 106, cypher settings, SSL session-specific data, etc.
- the SSL version number of the web server 106 is also a random number that is randomly generated by the web server 106.
- step 124 the client 100 authenticates the web server 106 via the information obtained in step 122. If the authentication of the web server 106 is failed, the client 100 notifies the web server 106 that, as the authentication result, it is impossible to support the SSL. In this embodiment, it is assumed that the authentication of the web server 106 has been successfully completed. In this case, in step 124, the client 100 creates a Pre-Master Key (Pre-MK) for the SSL session and encrypts the Pre-MK with a public key of the web server 106, which is obtained from a certificate of the web server 106.
- Pre-MK Pre-Master Key
- the client 100 creates a master key and a credential as the authentication results of the client 100 via the encrypted Pre-MK and the SSL version number of the web server 106. Furthermore, the client 100 sends the authentication result of the client 100 to the web server 106 together with a Finished message indicating that the client 100 has completed the TLS handshake procedure.
- step 126 based on the authentication results of the client 100, the web server 106 encrypts the Finished message and sends the encrypted Finished message to the client 100.
- an SSL session is set up between the client 100 and the web server 106.
- the client 100 then performs the HTTP handshake procedure in the SSL session to request and obtain a desired web address.
- the client 100 sends the web server 106 a web address request in an HTTP request message in the SSL session.
- the web server 106 sends the client 100 an HTTP response message that includes the web address.
- the client 100 can perform a procedure to obtain desired web pages from the web server 106 based on the web address, and steps 130 to 132 can be repeated if desired by the client 100.
- the present disclosure provides a method for providing an accelerated web service by introducing a proxy server to simplify such typical procedures for web server connection.
- FIG. 2A illustrates a system for providing web services, according to embodiments of the present disclosure.
- the system includes, e.g., a client 200 to get a particular web service, a mobile communication network 205, a proxy server 210, and multiple web servers 215a-215d that provide various web services.
- the web servers 215a to 215d each include a web server 215 with a typical site address for providing users with typical web-based services, e.g., search engine services, buying services, banking services, etc., a web server 215b having high frequency of access from the client 200, a web server 215c most recently accessed by the client 200, and a web server 215d for providing other particular services.
- the client 200 has performed the initial attach procedure with the mobile communication network 205 and is connected to the mobile communication network 205 with a terminal accessible to the mobile communication network 205 to receive a particular web service.
- the proxy server 210 has already established a session with the terminal of the client 200 (briefly referred to as client 200) over the mobile communication network 205 and web servers 215a to 215d on the Internet, and simplifies the TLS and HTTP procedures by taking the place of parts of the client 200 and web servers 215a to 215d to access the web server.
- client 200 the terminal of the client 200
- web servers 215a to 215d the Internet
- FIG. 2A the proxy server 210 is illustrated to be within the mobile communication network 205. However, in other embodiments, the proxy server 210 can be located outside of the mobile communication network 205.
- FIG. 2B illustrates protocol stacks of constituent elements of the system for providing web services, according to embodiments of the present disclosure.
- respective protocol stacks of the client 200, the proxy server 210, and one of the web servers 215a to 251d, e.g., the web server 215c have TCP, TLS, SPDY (SPeeDY) and TLS layers.
- the protocol stacks of the client 200 and web server 215c further include HTTP layers on their top.
- the protocol stacks of the client 200, proxy server 210 and web server 215c have the SPDY layer between TLS layers in common. That is, in the embodiment of the present disclosure, the SPDY protocol is used to reduce transmission latency.
- the SPDY layer is used for the proxy server 306 to obtain authentication information of at least one of the web servers 215a to 215d in advance by establishing an SPDY based session with the at least one web server before the client 200 sends a new web connection request.
- the SPDY protocol is illustrated herein by way of example, but in other embodiments any other protocol can be used.
- FIG. 3 is a signaling chart illustrating operations for web server connection, according to embodiments of the present disclosure. It is assumed herein that a client 300 has performed the initial attach procedure with a mobile communication network with, e.g., RAN and GW.
- a mobile communication network with, e.g., RAN and GW.
- the client 300 has established a session with a web server 308 through a proxy server 304.
- the session is assumed to be an SPDY session that operates based on the SPDY protocol introduced for transmission latency.
- other sessions based on other protocols than the SPDY protocol can be used.
- the proxy server 304 is illustrated herein to establish a session with one web server, the web server 308.
- the proxy server 304 can establish sessions with multiple web servers in advance.
- the proxy server 304 has not yet obtained information about a web service to be requested by the client 300.
- the proxy server 304 can obtain web server access history of the client 300, and establish sessions in advance after selecting web servers based on the web server access history or after arbitrarily selecting web servers that provide typical web-based services.
- the web server access history includes information regarding a web server with high frequency of access of the client 300 relative to a threshold value, a web server most recently accessed by the client 300, a web server estimated from a URL included in content of a web page previously accessed by the client 300, or the like.
- the proxy server 304 establishes an SPDY session with the selected web servers. By doing this, the client 300 may not have to perform the TCP session setup procedure otherwise involved in a new web access request. Accordingly, time for the TCP session setup can be reduced.
- the proxy server 304 obtains and stores authentication information of the selected web servers while establishing the SPDY session with them. Specifically, for example, while setting up the SPDY session with the web server 308, the proxy server 304 obtains and stores authentication information of the web server 308. In connecting first TLS layers polled between the proxy server 304 and the web server 308 in the SPDY session setup procedure, the proxy server 304 obtains and stores a certificate of the web server 308 as the authentication information while connecting its TLS layer located under its SPDY layer in its protocol stack as shown in FIG. 2B to the TLS layer of the web server 308, which is also located under the SPDY layer in the protocol stack of the web server 308, as shown in FIG. 2B.
- the proxy server 304 obtains and stores certificates of the selected web servers as the authentication information in the procedure of connecting first TLS layers therebetween.
- the proxy server 304 maps server information, such as Internet Protocol (IP) addresses and domain names of the web servers whose first TLS layers are connected to the first TLS of the proxy server 304 to their respective certificates, and stores the mapping results in an authentication information database (DB).
- IP Internet Protocol
- DB authentication information database
- the client 300 sends the proxy server 304 a client hello message to request setup of a new TLS session with the web server 308.
- the new TLS session refers to a connection among TLS layers above their respective SPDY layers in their respective protocol stacks of the client 300, the proxy server 304, and the web server 308, as shown in FIG. 2B.
- the client hello message includes information regarding the web server 308 to be connected by the client 300, such as IP address and domain name of the web server 308, a random number randomly assigned by the client 300 (hereinafter, referred to as a 'client random number'), etc.
- the proxy server 304 searches its authentication information DB for the certificate of a web server, i.e., the web server 308 matched to the IP address or domain name. If the certificate of the web server 308 is searched for in the authentication information DB, the proxy server 304 performs a Hypertext Transfer Protocol over Secure Socket Layer (HTTPS) acceleration function according to an embodiment of the present disclosure.
- HTTPS acceleration function helps simplify the web server access procedure by introducing the proxy server 304, thus reducing time consumption for the web server access procedure.
- the proxy server 304 sends the client 300 a server hello message that includes the certificate of the web server 308 searched for in the authentication information DB and a random number randomly created by the proxy server 304 (hereinafter, referred to as a 'proxy random number').
- the proxy random number represents a replacement value for the SSL version number created by the web server as illustrated in step 122 of FIG. 1.
- the client 300 creates a Pre-MK with the proxy random number and the certificate of the web server 308.
- the client 300 then encrypts the Pre-MK with a public key included in the certificate of the web server 308.
- the client 300 creates a master key and a credential (hereinafter, referred to as 'client authentication information') with the encrypted Pre-MK and the proxy random number.
- the client 300 sends the proxy server 304 an intermediate TLS connection message that includes the master key and the client authentication information.
- the client 300 then creates an HTTP header and HTTP body encrypted with the master key and sends them to the proxy server 304 with the intermediate TLS connection message.
- the HTTP header and HTTP body are information regarding a web page that the client 300 wishes to obtain from the web server 308 (hereinafter, called 'web page request information').
- the proxy server 304 forwards the web server 308 the HTTP header and HTTP body with the client hello message, server hello message, and the intermediate TLS connection message in the ongoing SPDY session.
- the proxy server 304 creates an HTTP accelerator indicator to indicate that HTTPS acceleration function is performed, and sends the web server 308 the HTTP accelerator indicator with the aforementioned messages and the HTTP header and HTTP body.
- the web server 308 decrypts the Pre-MK obtained from the intermediate TLS connection message with a private key paired with the certificate of the web server 308, and then creates a master key with the decrypted Pre-MK, the client random number, and the proxy random number.
- the web server 308 determines whether the credential created by the client 300 matches a credential included in the certificate of the web server 308. If the credentials match each other, the web server 308 reconstruct an HTTP request by decrypting the HTTP header and HTTP body with the master key.
- the web server 308 creates an HTTP response to the reconstructed HTTP request by performing an HTTP server function.
- the web server 308 encrypts the HTTP response with the master key.
- the web server 308 sends the proxy server 304 the HTTP response encrypted with the master key, and a Finished message to indicate that the TLS connection has been completed.
- the proxy server 304 sends the client 300 the Finished message with the HTTP response encrypted with the master key.
- the client 300 determines from the Finished message that TLS connection with the web server 308 has been completed, and decrypts the HTTP response message with the master key created in step 320.
- the client 300 can repeat sending a new web page request to the web server 308 on request and receiving a response from the web server 308 to the new web page request.
- FIG. 4 is a flowchart illustrating operations of the proxy server, according to embodiments of the present disclosure.
- the proxy server selects at least one web server to establish a session before a new web access is requested by the client. Specifically, the proxy server selects at least one web server based on a web access history of the client, which is obtained over the mobile communication network, or selects at least one web server that provides typical web-based service.
- the proxy server establishes a session with the selected at least one web server, obtains authentication information of the web server during the session setup procedure, and stores the authentication information of the web server in its authentication information DB.
- the session established between the proxy server and the web server can be, e.g., an SPDY session that operates based on the SPDY protocol.
- the authentication information DB is managed by mapping server information, such as an IP address, domain name, etc. of the web server to a certificate of the web server for each authentication information obtained during the session setup procedure.
- the proxy server checks if a client hello message to request initial access to the web server has been received from the client. If the client hello message has not been received, the proxy server waits until reception of the client hello message.
- the proxy server determines whether to perform an HTTPS acceleration function. That is, the proxy server searches its authentication information DB for a web server to be accessed based on the client hello message.
- the client hello message includes an IP address and domain name of the web server, and a client random number. If there is no web server to be accessed in the authentication information DB, in step 420, the proxy server performs an ordinary web server access procedure. That is, as shown in FIG. 1, the proxy server only serves to relay the client message received from the client to the web server.
- the ordinary web server access procedure was described in connection with FIG. 1, so the description will be omitted herein.
- the proxy server performs the HTTPS acceleration function, assigns a proxy random number in the place of the web server, and sends a server hello message to the client.
- the sever hello message includes a certificate of the web server, which is obtained from the authentication information DB, and the proxy random number.
- the proxy server creates an HTTP accelerator indicator, and sends the web server the HTTP accelerator indicator, client authentication information received from the client, and web page request information, simultaneously.
- the client authentication information includes a Finished message encrypted with a master key and a Pre-MK encrypted with a public key of the web server.
- the master key is created with the Pre-MK created using the proxy random number and the certificate of the web server, a client random number, and the proxy random number.
- the web page request information includes an HTTP header and body encrypted with the master key.
- the proxy server forwards the client a response to the web page request, which is received from the web server.
- FIG. 5 is a schematic block diagram illustrating a proxy server 500, according to embodiments of the present disclosure.
- the proxy server 500 includes an HTTPS acceleration function determiner 502, a transceiver 504, an authentication information DB 506, and a session setup unit 508.
- the constituent elements of the proxy server 500 are classified by functions of an embodiment of the present disclosure, for convenience of explanation. However, in other embodiments of the present disclosure, they can be incorporated in a single unit or can be subdivided into sub units.
- the proxy server 500 can be installed inside of a mobile communication network or can be installed independently of the mobile communication network.
- the session setup unit 508 selects at least one web server based on a web access history of a client, or selects at least one web server that provides typical web-based service, as the web server to establish a session before a new web access request is sent from the client.
- the session setup unit 508 then establishes a session with the selected at least one web server.
- the session established between the proxy server and the web server can be, e.g., an SPDY session that operates based on the SPDY protocol.
- the authentication information DB 506 is managed by mapping a certificate of the at least one web server, which is obtained during the session setup procedure, to server information.
- the server information corresponds to, e.g., an IP address and/or domain name of the web server.
- the HTTPS acceleration function determiner 502 recognizes that the transceiver has received a client hello message from the client, it searches the authentication information DB 506 for a web server to be newly accessed based on the client hello message. If the web server is searched for in the authentication information DB 506, the HTTPS acceleration function determiner 502 performs the HTTPS acceleration function, and creates an HTTP accelerator indicator and assigns a proxy random number in the place of the web server. The transceiver 504 forwards a server hello message to the client under control of the HTTPS acceleration function determiner 502.
- the HTTPS acceleration function determiner 502 controls the transceiver 504 to send the web server the HTTP accelerator indicator, the client authentication information, and the web page request information of the client, simultaneously. If the transceiver 504 receives a response to the web page request from the web server, the HTTPS acceleration function determiner 502 controls the transceiver 504 to forward the client the response to the web page request to the client.
- FIG. 6 is a schematic block diagram illustrating a client terminal or web server 600, according to embodiments of the present disclosure.
- the constituent elements of the client terminal or web server 600 are classified by functions of embodiments of the present disclosure, for convenience of explanation. However, in other embodiments of the present disclosure, they can be incorporated in a single unit or can be subdivided into sub units.
- the terminal or web server 600 includes a controller 602, a transceiver 604, an authentication unit 606, and a web page information generator 608.
- the transceiver 604 sends the proxy server a client hello message for access to a new web server under control of the controller 602.
- the client hello message includes the same information as a typical client hello message.
- the transceiver 604 then receives a server hello message through the proxy server 306.
- the sever hello message includes a certificate of the web server indicated by the client hello message, and a proxy random number.
- the authentication unit 606 creates a Pre-MK with the proxy random number and the certificate of the web server.
- the authentication unit 606 encrypts the Pre-MK with a public key included in the certificate of the web server, and creates a client certificate and a master key with the encrypted Pre-MK, the client random number, and the proxy random number.
- the controller 602 controls the transceiver 604 to send the proxy server an intermediate TLS connection message that includes the master key and the client certificate.
- the web page information generator 608 creates web page request information, i.e., HTTP header and HTTP body, encrypted with the master key.
- the controller 602 controls the transceiver 604 to send the proxy server the web page request information with the intermediate TLS connection message.
- the transceiver 604 receives a Finished message of the web server, which includes a response to the web page request information through the proxy server.
- the apparatus 600 operates as the web server.
- the transceiver 604 receives the HTTP accelerator indicator, the client authentication information, and the web page request information through the proxy server, under control of the controller 602.
- the client authentication information includes the certificate of the client and the master key.
- the master key is created with the Pre-MK created using the proxy random number and the certificate of the web server, a client random number, and the proxy random number.
- the web page request information includes an HTTP header and body encrypted with the master key.
- the web page information generator 608 creates a web page response to the web page request information, under control of the controller 602.
- the controller 602 encrypts the web page response with the master key, and controls the transceiver 604 to send the proxy server the encrypted web page response together with the Finished message.
- the authentication unit 606 performs authentication based on information obtained from the client hello message received by the transceiver 604 and creates a server hello message as the authentication result.
- a proxy server supporting an HTTPS acceleration function since a proxy server supporting an HTTPS acceleration function is introduced, a client and a web server may not perform TCP session setup during the web access procedure and the client can send a web page request with its authentication information. Likewise, the web server may not send its authentication information directly to the client. Accordingly, the web access procedure can be simplified, thus reducing time consumption for the web access procedure.
- a response to an HTTPS request can be received as soon as secure Transport Layer Security (TLS) connection is made between a client and a web server using a proxy server, thus giving an advantage of reduced web page loading time.
- TLS Transport Layer Security
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
A method provides a web service. The method includes obtaining authentication information of at least one web server from the at least one web server to establish a session in advance and storing the authentication information in a database; searching the database for authentication information of a particular web server, upon reception of a request from a client for access to the particular web server; and performing web server access acceleration if the particular web server exists.
Description
The present disclosure relates to a method and apparatus for providing an accelerated web service for client using a proxy server.
In general, in order to safely receive web pages or Hyper Text Transfer Protocol (HTTP) data from a web server, a client has to perform predetermined preliminary procedures. Such preliminary procedures each require at least one Round Trip Time (RTT) to exchange messages between the client and the web server.
If the web server accessible on the Internet is far distant from the client that requests a service, then a Transmission Control Protocol (TCP) connection setup procedure performed between the web server and the client, which is one of the preliminary procedures, takes significant time.
Furthermore, it is also time-consuming for a web browser of the client to connect to multiple HTTP servers from multiple domains and obtain respective web pages.
Thus, a method for providing a client with accelerated web services is required.
To address the above-discussed deficiencies, it is a primary object to provide a method and apparatus for providing an accelerated web service by simplifying procedures of providing web services to a client with a proxy server.
In accordance with an aspect of the present disclosure, provided is a method for providing a web service. The method includes obtaining authentication information of at least one web server from the at least one web server to establish a session in advance and storing the authentication information in a database; searching the database for authentication information of a particular web server, upon reception of a request from a client for access to the particular web server; and performing web server access acceleration if the particular web server exists.
In accordance with another aspect of the present disclosure, provided is a method for receiving a web service. The method includes sending a request for access to a particular web server, and receiving authentication information of the particular web server and a random number through a proxy server; performing authentication on the particular web server based on the authentication information of the particular web server and the random number, and generating encrypted web page request information based on a result of performing the authentication; and sending the result of performing the authentication and the encrypted web page request information to the proxy server.
In accordance with another aspect of the present disclosure, provided is a method for providing a web service in a web server. The method includes receiving from a proxy server that establishes a session in advance a result of authentication of the web server performed by a client that requests access to the web server, and web page request information encrypted based on the result of authentication; creating response information to the web page request information; and encrypting the response information with the result of authentication and sending the encrypted response information to the proxy server.
In accordance with another aspect of the present disclosure, provided is a proxy server for providing a web service. The proxy server includes a database configured to obtain and store authentication information of at least one web server from the at least one web server to establish a session in advance. The proxy server further includes a web server access acceleration determiner configured to search the database for authentication information of a particular web server upon reception of a request for access to the particular web server; and to perform web server access acceleration if the authentication of the particular web server exists.
In accordance with another aspect of the present disclosure, provided is a terminal for receiving a web service. The terminal includes a transceiver configured to send a request for access to a particular web server, and to receive authentication information of the particular web server and a random number through a proxy server. The terminal further includes a controller configured to perform authentication on the particular web server based on the authentication information of the particular web server and the random number; to create web page request information encrypted based on a result of performing the authentication; and to control the transceiver to send the proxy server the result of performing the authentication and the encrypted web page request information.
In accordance with another aspect of the present disclosure, provided is a web server for providing a web service. The web server includes a transceiver configured to receive, from a proxy server that establishes a session in advance a result of authentication of the web server performed by a client that requests access to the web server, web page request information encrypted based on the result of authentication. The web server further includes a controller configured to create response information to the web page request information; to encryp the response information based on the result of authentication; and to control the transceiver to send the encrypted response information to the proxy server.
Other aspects, advantages, and salient features of the disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses embodiments of the invention
Before undertaking the DETAILED DESCRIPTION below, it may be advantageous to set forth definitions of certain words and phrases used throughout this patent document: the terms "include" and "comprise," as well as derivatives thereof, mean inclusion without limitation; the term "or", is inclusive, meaning and/or; the phrases "associated with" and "associated therewith," as well as derivatives thereof, may mean to include, be included within, interconnect with, contain, be contained within, connect to or with, couple to or with, be communicable with, cooperate with, interleave, juxtapose, be proximate to, be bound to or with, have, have a property of, or the like; and the term "controller" means any device, system or part thereof that controls at least one operation, such a device may be implemented in hardware, firmware or software, or some combination of at least two of the same. It should be noted that the functionality associated with any particular controller may be centralized or distributed, whether locally or remotely. Definitions for certain words and phrases are provided throughout this patent document, those of ordinary skill in the art should understand that in many, if not most instances, such definitions apply to prior, as well as future uses of such defined words and phrases.
For a more complete understanding of the present disclosure and its advantages, reference is now made to the following description taken in conjunction with the accompanying drawings, in which like reference numerals represent like parts:
FIG. 1 is a signaling chart illustrating conventional operations for web server connection;
FIG. 2A illustrates a system for providing web services, according to embodiments of the present disclosure;
FIG. 2B illustrates protocol stacks of constituent elements of a system for providing web services, according to embodiments of the present disclosure;
FIG. 3 is a signaling chart illustrating operations for web server connection, according to embodiments of the present disclosure;
FIG. 4 is a flowchart illustrating operations of a proxy server, according to embodiments of the present disclosure;
FIG. 5 is a schematic block diagram illustrating a proxy server, according to embodiments of the present disclosure; and
FIG. 6 is a schematic block diagram illustrating a client terminal or a web server, according to embodiments of the present disclosure.
Throughout the drawings, like reference numerals will be understood to refer to like parts, components, and structures.
FIGURES 1 through 6, discussed below, and the various embodiments used to describe the principles of the present disclosure in this patent document are by way of illustration only and should not be construed in any way to limit the scope of the disclosure. Those skilled in the art will understand that the principles of the present disclosure may be implemented in any suitably arranged electronic device. The disclosure references the accompanying drawings, in which illustrative embodiments of the disclosure are shown. Embodiments of the present disclosure may take many different forms and the disclosure is not limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. Like numbers refer to like elements throughout.
It will be understood that, although the terms first, second, third, etc., may be used herein to describe various elements, components, regions, layers and/or sections, these elements, components, regions, layers and/or sections should not be limited by these terms. These terms are only used to distinguish one element, component, region, layer or section from another region, layer or section. Thus, a first element, component, region, layer or section discussed below could be termed a second element, component, region, layer or section without departing from the teachings of the present disclosure. Descriptions shall be understood as to include any and all combinations of one or more of the associated listed items when the items are described by using the conjunctive term "~ and/or ~," or the like.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure.
It is to be understood that the singular forms "a", "an," and "the" include plural references unless the context clearly dictates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Unless otherwise defined, all terms including technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
FIG. 1 is a signaling chart illustrating conventional operations for web server connection. It is assumed herein that a User Equipment (UE) on a client 100 side (hereinafter, briefly called client 100) has completed an initial attach procedure with a mobile communication network that includes, e.g., a Remote Area Network (RAN) and a gateway (GW).
Referring to FIG. 1, the client 100 performs a Transmission Control Protocol (TCP) session setup procedure, a Transport Layer Security (TLS) procedure, and a Hyper Text Transfer Protocol (HTTP) handshake procedure to access a web server 106.
First, the TCP session setup procedure is performed for the client 100 to send the web server 106 a connection request. Specifically, in step 110, the client 100 sends a TCP session request to the web server 106. In step 112, the web server 106 sends the client 100 a TCP session response to the TCP session request.
Next, the TLS handshake procedure is performed to establish a Secure Socket Layer (SSL) session for guaranteeing privacy of transactions with the web server 106. Specifically, once the SSL session is established, the client 100 can authenticate a website provided by the web server 106, encrypt data to be exchanged between the client 100 and the web server 106, prevent data modification during data communication, and so on. More specifically, in step 120, the client 100 sends the web server 106 a client hello message to request the SSL session setup. The client hello message includes information that can be requested by the web server 106 for the SSL session setup. For example, the client hello message includes the SSL version number of the client 100, cipher settings, SSL session related session-specific data, etc. The SSL version number is a random number that is randomly generated by the client 100.
Similarly, in step 122, the web server 106 sends the client 100 a server hello message in response to the client hello message. The server hello message also includes information requested by the client 100 for the SSL session setup. For example, the server hello message includes the SSL version number of the web server 106, cypher settings, SSL session-specific data, etc. The SSL version number of the web server 106 is also a random number that is randomly generated by the web server 106.
Then, in step 124, the client 100 authenticates the web server 106 via the information obtained in step 122. If the authentication of the web server 106 is failed, the client 100 notifies the web server 106 that, as the authentication result, it is impossible to support the SSL. In this embodiment, it is assumed that the authentication of the web server 106 has been successfully completed. In this case, in step 124, the client 100 creates a Pre-Master Key (Pre-MK) for the SSL session and encrypts the Pre-MK with a public key of the web server 106, which is obtained from a certificate of the web server 106. In addition, the client 100 creates a master key and a credential as the authentication results of the client 100 via the encrypted Pre-MK and the SSL version number of the web server 106. Furthermore, the client 100 sends the authentication result of the client 100 to the web server 106 together with a Finished message indicating that the client 100 has completed the TLS handshake procedure.
In step 126, based on the authentication results of the client 100, the web server 106 encrypts the Finished message and sends the encrypted Finished message to the client 100.
With steps 110 to 126 completed, an SSL session is set up between the client 100 and the web server 106. The client 100 then performs the HTTP handshake procedure in the SSL session to request and obtain a desired web address. Specifically, in step 130, the client 100 sends the web server 106 a web address request in an HTTP request message in the SSL session. In step 132, the web server 106 sends the client 100 an HTTP response message that includes the web address.
After this, although not shown in FIG. 1, the client 100 can perform a procedure to obtain desired web pages from the web server 106 based on the web address, and steps 130 to 132 can be repeated if desired by the client 100.
Consequently, in order for a client to get a desired web service, typical procedures for web server connection have had to be performed, as shown in FIG. 1. The present disclosure provides a method for providing an accelerated web service by introducing a proxy server to simplify such typical procedures for web server connection.
FIG. 2A illustrates a system for providing web services, according to embodiments of the present disclosure.
Referring to FIG. 2A, the system includes, e.g., a client 200 to get a particular web service, a mobile communication network 205, a proxy server 210, and multiple web servers 215a-215d that provide various web services. The web servers 215a to 215d each include a web server 215 with a typical site address for providing users with typical web-based services, e.g., search engine services, buying services, banking services, etc., a web server 215b having high frequency of access from the client 200, a web server 215c most recently accessed by the client 200, and a web server 215d for providing other particular services.
For convenience of explanation, it is assumed that the client 200 has performed the initial attach procedure with the mobile communication network 205 and is connected to the mobile communication network 205 with a terminal accessible to the mobile communication network 205 to receive a particular web service.
The proxy server 210 has already established a session with the terminal of the client 200 (briefly referred to as client 200) over the mobile communication network 205 and web servers 215a to 215d on the Internet, and simplifies the TLS and HTTP procedures by taking the place of parts of the client 200 and web servers 215a to 215d to access the web server. In FIG. 2A, the proxy server 210 is illustrated to be within the mobile communication network 205. However, in other embodiments, the proxy server 210 can be located outside of the mobile communication network 205.
FIG. 2B illustrates protocol stacks of constituent elements of the system for providing web services, according to embodiments of the present disclosure.
Referring to FIG. 2B, respective protocol stacks of the client 200, the proxy server 210, and one of the web servers 215a to 251d, e.g., the web server 215c have TCP, TLS, SPDY (SPeeDY) and TLS layers. The protocol stacks of the client 200 and web server 215c further include HTTP layers on their top.
In an embodiment of the present disclosure, the protocol stacks of the client 200, proxy server 210 and web server 215c have the SPDY layer between TLS layers in common. That is, in the embodiment of the present disclosure, the SPDY protocol is used to reduce transmission latency. The SPDY layer is used for the proxy server 306 to obtain authentication information of at least one of the web servers 215a to 215d in advance by establishing an SPDY based session with the at least one web server before the client 200 sends a new web connection request. Detailed operations of the proxy server 210 will be described later in connection with FIG. 3. The SPDY protocol is illustrated herein by way of example, but in other embodiments any other protocol can be used.
FIG. 3 is a signaling chart illustrating operations for web server connection, according to embodiments of the present disclosure. It is assumed herein that a client 300 has performed the initial attach procedure with a mobile communication network with, e.g., RAN and GW.
After the initial attach procedure, referring to FIG. 3, it is assumed that in steps 312a and 312b, the client 300 has established a session with a web server 308 through a proxy server 304. For example, the session is assumed to be an SPDY session that operates based on the SPDY protocol introduced for transmission latency. In certain embodiments, other sessions based on other protocols than the SPDY protocol can be used.
For convenience of explanation, the proxy server 304 is illustrated herein to establish a session with one web server, the web server 308. However, the proxy server 304 can establish sessions with multiple web servers in advance. The proxy server 304 has not yet obtained information about a web service to be requested by the client 300. Thus, the proxy server 304 can obtain web server access history of the client 300, and establish sessions in advance after selecting web servers based on the web server access history or after arbitrarily selecting web servers that provide typical web-based services. The web server access history includes information regarding a web server with high frequency of access of the client 300 relative to a threshold value, a web server most recently accessed by the client 300, a web server estimated from a URL included in content of a web page previously accessed by the client 300, or the like. The proxy server 304 establishes an SPDY session with the selected web servers. By doing this, the client 300 may not have to perform the TCP session setup procedure otherwise involved in a new web access request. Accordingly, time for the TCP session setup can be reduced.
In step 312b, the proxy server 304 obtains and stores authentication information of the selected web servers while establishing the SPDY session with them. Specifically, for example, while setting up the SPDY session with the web server 308, the proxy server 304 obtains and stores authentication information of the web server 308. In connecting first TLS layers polled between the proxy server 304 and the web server 308 in the SPDY session setup procedure, the proxy server 304 obtains and stores a certificate of the web server 308 as the authentication information while connecting its TLS layer located under its SPDY layer in its protocol stack as shown in FIG. 2B to the TLS layer of the web server 308, which is also located under the SPDY layer in the protocol stack of the web server 308, as shown in FIG. 2B. That is, the proxy server 304 obtains and stores certificates of the selected web servers as the authentication information in the procedure of connecting first TLS layers therebetween. The proxy server 304 maps server information, such as Internet Protocol (IP) addresses and domain names of the web servers whose first TLS layers are connected to the first TLS of the proxy server 304 to their respective certificates, and stores the mapping results in an authentication information database (DB).
In step 314, for example, the client 300 sends the proxy server 304 a client hello message to request setup of a new TLS session with the web server 308. The new TLS session refers to a connection among TLS layers above their respective SPDY layers in their respective protocol stacks of the client 300, the proxy server 304, and the web server 308, as shown in FIG. 2B. The client hello message includes information regarding the web server 308 to be connected by the client 300, such as IP address and domain name of the web server 308, a random number randomly assigned by the client 300 (hereinafter, referred to as a 'client random number'), etc.
In step 316, the proxy server 304 searches its authentication information DB for the certificate of a web server, i.e., the web server 308 matched to the IP address or domain name. If the certificate of the web server 308 is searched for in the authentication information DB, the proxy server 304 performs a Hypertext Transfer Protocol over Secure Socket Layer (HTTPS) acceleration function according to an embodiment of the present disclosure. The HTTPS acceleration function helps simplify the web server access procedure by introducing the proxy server 304, thus reducing time consumption for the web server access procedure.
In step 318, the proxy server 304 sends the client 300 a server hello message that includes the certificate of the web server 308 searched for in the authentication information DB and a random number randomly created by the proxy server 304 (hereinafter, referred to as a 'proxy random number'). The proxy random number represents a replacement value for the SSL version number created by the web server as illustrated in step 122 of FIG. 1.
In step 320, the client 300 creates a Pre-MK with the proxy random number and the certificate of the web server 308. The client 300 then encrypts the Pre-MK with a public key included in the certificate of the web server 308. The client 300 creates a master key and a credential (hereinafter, referred to as 'client authentication information') with the encrypted Pre-MK and the proxy random number. The client 300 sends the proxy server 304 an intermediate TLS connection message that includes the master key and the client authentication information. The client 300 then creates an HTTP header and HTTP body encrypted with the master key and sends them to the proxy server 304 with the intermediate TLS connection message. The HTTP header and HTTP body are information regarding a web page that the client 300 wishes to obtain from the web server 308 (hereinafter, called 'web page request information').
In step 322, the proxy server 304 forwards the web server 308 the HTTP header and HTTP body with the client hello message, server hello message, and the intermediate TLS connection message in the ongoing SPDY session. The proxy server 304 creates an HTTP accelerator indicator to indicate that HTTPS acceleration function is performed, and sends the web server 308 the HTTP accelerator indicator with the aforementioned messages and the HTTP header and HTTP body.
In step 324, the web server 308 decrypts the Pre-MK obtained from the intermediate TLS connection message with a private key paired with the certificate of the web server 308, and then creates a master key with the decrypted Pre-MK, the client random number, and the proxy random number. The web server 308 determines whether the credential created by the client 300 matches a credential included in the certificate of the web server 308. If the credentials match each other, the web server 308 reconstruct an HTTP request by decrypting the HTTP header and HTTP body with the master key. The web server 308 creates an HTTP response to the reconstructed HTTP request by performing an HTTP server function. The web server 308 encrypts the HTTP response with the master key. The web server 308 sends the proxy server 304 the HTTP response encrypted with the master key, and a Finished message to indicate that the TLS connection has been completed. In step 326, the proxy server 304 sends the client 300 the Finished message with the HTTP response encrypted with the master key.
The client 300 determines from the Finished message that TLS connection with the web server 308 has been completed, and decrypts the HTTP response message with the master key created in step 320.
Although not shown in FIG. 3, the client 300 can repeat sending a new web page request to the web server 308 on request and receiving a response from the web server 308 to the new web page request.
FIG. 4 is a flowchart illustrating operations of the proxy server, according to embodiments of the present disclosure.
Referring to FIG. 4, in step 400, the proxy server selects at least one web server to establish a session before a new web access is requested by the client. Specifically, the proxy server selects at least one web server based on a web access history of the client, which is obtained over the mobile communication network, or selects at least one web server that provides typical web-based service.
In step 405, the proxy server establishes a session with the selected at least one web server, obtains authentication information of the web server during the session setup procedure, and stores the authentication information of the web server in its authentication information DB. The session established between the proxy server and the web server can be, e.g., an SPDY session that operates based on the SPDY protocol. The authentication information DB is managed by mapping server information, such as an IP address, domain name, etc. of the web server to a certificate of the web server for each authentication information obtained during the session setup procedure.
In step 410, the proxy server checks if a client hello message to request initial access to the web server has been received from the client. If the client hello message has not been received, the proxy server waits until reception of the client hello message.
If the client hello message has been received, in step 415, the proxy server determines whether to perform an HTTPS acceleration function. That is, the proxy server searches its authentication information DB for a web server to be accessed based on the client hello message. The client hello message includes an IP address and domain name of the web server, and a client random number. If there is no web server to be accessed in the authentication information DB, in step 420, the proxy server performs an ordinary web server access procedure. That is, as shown in FIG. 1, the proxy server only serves to relay the client message received from the client to the web server. The ordinary web server access procedure was described in connection with FIG. 1, so the description will be omitted herein.
If there is a web server to be accessed in the authentication information DB, in step 425, the proxy server performs the HTTPS acceleration function, assigns a proxy random number in the place of the web server, and sends a server hello message to the client. The sever hello message includes a certificate of the web server, which is obtained from the authentication information DB, and the proxy random number.
In step 430, the proxy server creates an HTTP accelerator indicator, and sends the web server the HTTP accelerator indicator, client authentication information received from the client, and web page request information, simultaneously. The client authentication information includes a Finished message encrypted with a master key and a Pre-MK encrypted with a public key of the web server. The master key is created with the Pre-MK created using the proxy random number and the certificate of the web server, a client random number, and the proxy random number. The web page request information includes an HTTP header and body encrypted with the master key. The proxy server forwards the client a response to the web page request, which is received from the web server.
FIG. 5 is a schematic block diagram illustrating a proxy server 500, according to embodiments of the present disclosure.
Referring to FIG. 5, the proxy server 500 includes an HTTPS acceleration function determiner 502, a transceiver 504, an authentication information DB 506, and a session setup unit 508. The constituent elements of the proxy server 500 are classified by functions of an embodiment of the present disclosure, for convenience of explanation. However, in other embodiments of the present disclosure, they can be incorporated in a single unit or can be subdivided into sub units. The proxy server 500 can be installed inside of a mobile communication network or can be installed independently of the mobile communication network.
The session setup unit 508 selects at least one web server based on a web access history of a client, or selects at least one web server that provides typical web-based service, as the web server to establish a session before a new web access request is sent from the client. The session setup unit 508 then establishes a session with the selected at least one web server. The session established between the proxy server and the web server can be, e.g., an SPDY session that operates based on the SPDY protocol.
The authentication information DB 506 is managed by mapping a certificate of the at least one web server, which is obtained during the session setup procedure, to server information. The server information corresponds to, e.g., an IP address and/or domain name of the web server.
If the HTTPS acceleration function determiner 502 recognizes that the transceiver has received a client hello message from the client, it searches the authentication information DB 506 for a web server to be newly accessed based on the client hello message. If the web server is searched for in the authentication information DB 506, the HTTPS acceleration function determiner 502 performs the HTTPS acceleration function, and creates an HTTP accelerator indicator and assigns a proxy random number in the place of the web server. The transceiver 504 forwards a server hello message to the client under control of the HTTPS acceleration function determiner 502.
After that, if the transceiver 504 receives client authentication information and web page request information from the client, the HTTPS acceleration function determiner 502 controls the transceiver 504 to send the web server the HTTP accelerator indicator, the client authentication information, and the web page request information of the client, simultaneously. If the transceiver 504 receives a response to the web page request from the web server, the HTTPS acceleration function determiner 502 controls the transceiver 504 to forward the client the response to the web page request to the client.
FIG. 6 is a schematic block diagram illustrating a client terminal or web server 600, according to embodiments of the present disclosure. The constituent elements of the client terminal or web server 600 are classified by functions of embodiments of the present disclosure, for convenience of explanation. However, in other embodiments of the present disclosure, they can be incorporated in a single unit or can be subdivided into sub units.
Referring to FIG. 6, the terminal or web server 600 includes a controller 602, a transceiver 604, an authentication unit 606, and a web page information generator 608.
Assuming that the apparatus 600 operates as a client terminal (also called a client), the transceiver 604 sends the proxy server a client hello message for access to a new web server under control of the controller 602. The client hello message includes the same information as a typical client hello message. The transceiver 604 then receives a server hello message through the proxy server 306. The sever hello message includes a certificate of the web server indicated by the client hello message, and a proxy random number.
The authentication unit 606 creates a Pre-MK with the proxy random number and the certificate of the web server. The authentication unit 606 encrypts the Pre-MK with a public key included in the certificate of the web server, and creates a client certificate and a master key with the encrypted Pre-MK, the client random number, and the proxy random number. The controller 602 controls the transceiver 604 to send the proxy server an intermediate TLS connection message that includes the master key and the client certificate. The web page information generator 608 creates web page request information, i.e., HTTP header and HTTP body, encrypted with the master key. The controller 602 controls the transceiver 604 to send the proxy server the web page request information with the intermediate TLS connection message. The transceiver 604 receives a Finished message of the web server, which includes a response to the web page request information through the proxy server.
Next, it is assumed that the apparatus 600 operates as the web server.
The transceiver 604 receives the HTTP accelerator indicator, the client authentication information, and the web page request information through the proxy server, under control of the controller 602. The client authentication information includes the certificate of the client and the master key. The master key is created with the Pre-MK created using the proxy random number and the certificate of the web server, a client random number, and the proxy random number. The web page request information includes an HTTP header and body encrypted with the master key.
The web page information generator 608 creates a web page response to the web page request information, under control of the controller 602. The controller 602 encrypts the web page response with the master key, and controls the transceiver 604 to send the proxy server the encrypted web page response together with the Finished message.
If the transceiver has not received the HTTP accelerator indicator under control of the controller 602, the authentication unit 606 performs authentication based on information obtained from the client hello message received by the transceiver 604 and creates a server hello message as the authentication result.
As described above, according to embodiments of the present disclosure, since a proxy server supporting an HTTPS acceleration function is introduced, a client and a web server may not perform TCP session setup during the web access procedure and the client can send a web page request with its authentication information. Likewise, the web server may not send its authentication information directly to the client. Accordingly, the web access procedure can be simplified, thus reducing time consumption for the web access procedure.
According to various embodiments of the present disclosure, a response to an HTTPS request can be received as soon as secure Transport Layer Security (TLS) connection is made between a client and a web server using a proxy server, thus giving an advantage of reduced web page loading time.
Several embodiments have been described in connection with, e.g., mobile communication terminals, but a person of ordinary skill in the art will understand and appreciate that various modifications can be made without departing the scope of the present disclosure. Although the present disclosure has been described with an exemplary embodiment, various changes and modifications may be suggested to one skilled in the art. It is intended that the present disclosure encompass such changes and modifications as fall within the scope of the appended claims.
Claims (16)
- A method for providing a web service, the method comprising:obtaining authentication information of at least one web server from the at least one web server to establish a session in advance and storing the authentication information in a database;searching the database for authentication information of a particular web server, upon reception of a request from a client for access to the particular web server; andperforming web server access acceleration if the particular web server exists.
- The method of claim 1, wherein performing web server access acceleration comprises:assigning an arbitrary random number and sending the random number and the authentication information of the particular web server to the client; andforwarding a result of authentication of the particular web server and web page request information received from the client to the particular web server.
- The method of claim 2, wherein forwarding a result of authentication of the particular web server and web page request information comprises:sending the particular web server an indicator indicating that the web server access acceleration is performed.
- The method of claim 3, further comprising:forwarding to the client a notification that access to the particular web server has been completed and response information to the web page request information, which are received from the particular web server.
- The method of claim 1, further comprising:selecting at least one web server to establish a session in advance, based on a web access history of the client obtained over a mobile communication network.
- A method for receiving a web service, the method comprising:sending a request for access to a particular web server, and receiving authentication information of the particular web server and a random number through a proxy server;performing authentication on the particular web server based on the authentication information of the particular web server and the random number, and generating encrypted web page request information based on a result of performing the authentication; andsending the result of performing the authentication and the encrypted web page request information to the proxy server.
- The method of claim 6, wherein the random number is a number arbitrarily assigned by the proxy server.
- The method of claim 6, further comprising:receiving a notification that access to the particular web server has been completed and response information to the web page request information, through the proxy server.
- A method for providing a web service in a web server, the method comprising:receiving from a proxy server that establishes a session in advance a result of authentication of the web server performed by a client that requests access to the web server, and web page request information encrypted based on the result of authentication;creating response information to the web page request information; andencrypting the response information with the result of authentication and sending the encrypted response information to the proxy server.
- The method of claim 9, wherein sending the encrypted response information to the proxy server comprises:sending, to the proxy server, a notification that access to the web server has been completed.
- A proxy server for providing a web service, the proxy server comprising:a database configured to obtain and store authentication information of at least one web server from the at least one web server to establish a session in advance; anda web server access acceleration determiner configured to search the database for authentication information of a particular web server upon reception of a request for access to the particular web server, and perform web server access acceleration if the authentication information of the particular web server exists.
- The proxy server of claim 11, wherein the proxy server implemented according to one of claims 2 to 5.
- A terminal for receiving a web service, the terminal comprising:a transceiver configured to send a request for access to a particular web server, and receive authentication information of the particular web server and a random number through a proxy server; anda controller configured to perform authentication on the particular web server based on the authentication information of the particular web server and the random number; to create web page request information encrypted based on a result of performing the authentication; and to control the transceiver to send the proxy server the result of performing the authentication and the encrypted web page request information.
- The terminal of claim 13, wherein the terminal implemented according to one of claims 7 to 8.
- A web server for providing a web service, the web server comprising:a transceiver configured to receive, from a proxy server that establishes a session in advance a result of authentication of the web server performed by a client that requests access to the web server, web page request information encrypted based on the result of authentication; anda controller configured to create response information to the web page request information; to encrypt the response information based on the result of authentication; and to control the transceiver to send the encrypted response information to the proxy server.
- The web server of claim 15, wherein the controller is configured to control the transceiver to send notification that access to the web server has been completed with the encrypted response information to the proxy server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP13848954.7A EP2912824B1 (en) | 2012-10-25 | 2013-10-25 | Method and apparatus for accelerating web service with proxy server |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020120119134A KR20140052703A (en) | 2012-10-25 | 2012-10-25 | Method and apparatus for accelerating web service using a proxy server |
KR10-2012-0119134 | 2012-10-25 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014065634A1 true WO2014065634A1 (en) | 2014-05-01 |
Family
ID=50544932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/KR2013/009596 WO2014065634A1 (en) | 2012-10-25 | 2013-10-25 | Method and apparatus for accelerating web service with proxy server |
Country Status (4)
Country | Link |
---|---|
US (1) | US10084888B2 (en) |
EP (1) | EP2912824B1 (en) |
KR (1) | KR20140052703A (en) |
WO (1) | WO2014065634A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021130514A1 (en) * | 2019-12-27 | 2021-07-01 | Avnet, Inc. | Methods, devices, nodes and computer programs for of establishing a cryptographically secured data communication channel |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102015108B1 (en) * | 2013-03-12 | 2019-10-22 | 한국전자통신연구원 | Method and user device and web server for providing using cache into browser among heterogeneous service |
US10437681B2 (en) | 2013-10-30 | 2019-10-08 | Trilio Data, Inc. | Method and apparatus of managing application workloads on backup and recovery system |
US9848067B2 (en) * | 2014-04-25 | 2017-12-19 | Cisco Technology, Inc. | Managing sequence values with added headers in computing devices |
JP6429559B2 (en) | 2014-09-26 | 2018-11-28 | キヤノン株式会社 | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, INFORMATION PROCESSING METHOD, AND PROGRAM |
US10567476B2 (en) | 2014-10-30 | 2020-02-18 | Amazon Technologies, Inc. | Rule-based action triggering in a provider network |
US10397128B2 (en) * | 2014-10-30 | 2019-08-27 | Amazon Technologies, Inc. | Routing handler for rule-based action triggering |
FR3028373A1 (en) * | 2014-11-07 | 2016-05-13 | Orange | DELEGATION OF INTERMEDIATION ON AN EXCHANGE OF FIGURES. |
CN105991518B (en) * | 2015-01-29 | 2019-08-06 | 杭州迪普科技股份有限公司 | Network access verifying method and device |
US9787643B2 (en) * | 2015-01-30 | 2017-10-10 | Facebook, Inc. | Transport layer security latency mitigation |
US20170026414A1 (en) * | 2015-05-07 | 2017-01-26 | Saguna Networks Ltd. | Methods Circuits Devices Systems and Functionally Associated Computer Executable Code for Managing a Data Access Network |
CN105471896B (en) * | 2015-12-28 | 2019-01-15 | 深信服科技股份有限公司 | Proxy Method, apparatus and system based on SSL |
CN107172001B (en) * | 2016-03-07 | 2020-09-01 | 阿里巴巴集团控股有限公司 | Control method and device of website proxy server and key proxy server |
US10397006B2 (en) * | 2017-02-13 | 2019-08-27 | Amazon Technologies, Inc. | Network security with surrogate digital certificates |
US10778642B2 (en) * | 2017-12-23 | 2020-09-15 | Mcafee, Llc | Decrypting transport layer security traffic without man-in-the-middle proxy |
CN110493318B (en) * | 2019-07-23 | 2022-03-15 | 北京字节跳动网络技术有限公司 | HTTP request information processing method, device, medium and equipment |
EP3633952B1 (en) * | 2019-10-21 | 2021-12-22 | Xertified AB | Systems and methods for receiving and transmitting communication signals |
US11361112B2 (en) * | 2020-07-07 | 2022-06-14 | Mastercard International Incorporated | Managing secure document exchanges |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002031668A1 (en) * | 2000-10-06 | 2002-04-18 | Redline Networks, Inc. | Network data transfer acceleration system and method |
US20080134311A1 (en) * | 2006-12-01 | 2008-06-05 | Microsoft Corporation | Authentication delegation based on re-verification of cryptographic evidence |
US20090132808A1 (en) * | 2007-11-19 | 2009-05-21 | Michael Baentsch | System and method of performing electronic transactions |
KR20100026152A (en) * | 2008-08-29 | 2010-03-10 | 주식회사 엘지텔레콤 | Method and system for providing moving picture file |
EP2369808A1 (en) * | 2010-03-22 | 2011-09-28 | Thomson Telecom Belgium | Method of securing access to data or a service that is accessible via a device implementing the method and corresponding device |
Family Cites Families (31)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6643774B1 (en) * | 1999-04-08 | 2003-11-04 | International Business Machines Corporation | Authentication method to enable servers using public key authentication to obtain user-delegated tickets |
KR100319256B1 (en) * | 1999-12-30 | 2002-01-05 | 서평원 | Method for operating communication protocol |
US6947440B2 (en) * | 2000-02-15 | 2005-09-20 | Gilat Satellite Networks, Ltd. | System and method for internet page acceleration including multicast transmissions |
US20040015725A1 (en) * | 2000-08-07 | 2004-01-22 | Dan Boneh | Client-side inspection and processing of secure content |
US7055028B2 (en) * | 2000-10-10 | 2006-05-30 | Juniper Networks, Inc. | HTTP multiplexor/demultiplexor system for use in secure transactions |
US8051176B2 (en) | 2002-11-07 | 2011-11-01 | Hewlett-Packard Development Company, L.P. | Method and system for predicting connections in a computer network |
US20050102514A1 (en) * | 2003-11-10 | 2005-05-12 | Telefonaktiebolaget Lm Ericsson (Publ) | Method, apparatus and system for pre-establishing secure communication channels |
US7584500B2 (en) * | 2003-11-19 | 2009-09-01 | Hughes Network Systems, Llc | Pre-fetching secure content using proxy architecture |
US8136149B2 (en) * | 2004-06-07 | 2012-03-13 | Check Point Software Technologies, Inc. | Security system with methodology providing verified secured individual end points |
US8613071B2 (en) * | 2005-08-10 | 2013-12-17 | Riverbed Technology, Inc. | Split termination for secure communication protocols |
US8478986B2 (en) * | 2005-08-10 | 2013-07-02 | Riverbed Technology, Inc. | Reducing latency of split-terminated secure communication protocol sessions |
US20070074282A1 (en) * | 2005-08-19 | 2007-03-29 | Black Jeffrey T | Distributed SSL processing |
US8316429B2 (en) * | 2006-01-31 | 2012-11-20 | Blue Coat Systems, Inc. | Methods and systems for obtaining URL filtering information |
US8230214B2 (en) * | 2006-08-21 | 2012-07-24 | Citrix Systems, Inc. | Systems and methods for optimizing SSL handshake processing |
US8095787B2 (en) * | 2006-08-21 | 2012-01-10 | Citrix Systems, Inc. | Systems and methods for optimizing SSL handshake processing |
US8214635B2 (en) * | 2006-11-28 | 2012-07-03 | Cisco Technology, Inc. | Transparent proxy of encrypted sessions |
US8190875B2 (en) * | 2007-03-22 | 2012-05-29 | Cisco Technology, Inc. | Reducing processing load in proxies for secure communications |
US20080306875A1 (en) * | 2007-06-11 | 2008-12-11 | Ebay Inc. | Method and system for secure network connection |
US20090210712A1 (en) * | 2008-02-19 | 2009-08-20 | Nicolas Fort | Method for server-side detection of man-in-the-middle attacks |
US8086846B2 (en) * | 2008-04-24 | 2011-12-27 | International Business Machines Corporation | Providing non-proxy TLS/SSL support in a content-based load balancer |
US8260938B2 (en) * | 2009-01-23 | 2012-09-04 | Google Inc. | Predicting user requests to reduce network connection latency |
US8769121B2 (en) | 2009-03-15 | 2014-07-01 | Daren French | Multi-session web acceleration |
US8621204B2 (en) * | 2009-12-23 | 2013-12-31 | Citrix Systems, Inc. | Systems and methods for evaluating and prioritizing responses from multiple OCSP responders |
US9479480B2 (en) * | 2010-01-29 | 2016-10-25 | Citrix Systems, Inc. | Systems and methods of using SSL pools for WAN acceleration |
US8700892B2 (en) * | 2010-03-19 | 2014-04-15 | F5 Networks, Inc. | Proxy SSL authentication in split SSL for client-side proxy agent resources with content insertion |
US9015469B2 (en) * | 2011-07-28 | 2015-04-21 | Cloudflare, Inc. | Supporting secure sessions in a cloud-based proxy service |
JP5769133B2 (en) * | 2011-09-27 | 2015-08-26 | 日本電気株式会社 | Communication relay device, data processing system, and communication relay method |
US9531691B2 (en) * | 2011-12-16 | 2016-12-27 | Akamai Technologies, Inc. | Providing forward secrecy in a terminating TLS connection proxy |
US9344405B1 (en) * | 2012-06-15 | 2016-05-17 | Massachusetts Institute Of Technology | Optimized transport layer security |
US9363240B2 (en) * | 2012-08-30 | 2016-06-07 | Excalibur Ip, Llc | Method and system for reducing network latency |
US9565180B2 (en) * | 2012-09-28 | 2017-02-07 | Symantec Corporation | Exchange of digital certificates in a client-proxy-server network configuration |
-
2012
- 2012-10-25 KR KR1020120119134A patent/KR20140052703A/en not_active Application Discontinuation
-
2013
- 2013-10-25 WO PCT/KR2013/009596 patent/WO2014065634A1/en active Application Filing
- 2013-10-25 EP EP13848954.7A patent/EP2912824B1/en not_active Not-in-force
- 2013-10-25 US US14/063,988 patent/US10084888B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002031668A1 (en) * | 2000-10-06 | 2002-04-18 | Redline Networks, Inc. | Network data transfer acceleration system and method |
US20080134311A1 (en) * | 2006-12-01 | 2008-06-05 | Microsoft Corporation | Authentication delegation based on re-verification of cryptographic evidence |
US20090132808A1 (en) * | 2007-11-19 | 2009-05-21 | Michael Baentsch | System and method of performing electronic transactions |
KR20100026152A (en) * | 2008-08-29 | 2010-03-10 | 주식회사 엘지텔레콤 | Method and system for providing moving picture file |
EP2369808A1 (en) * | 2010-03-22 | 2011-09-28 | Thomson Telecom Belgium | Method of securing access to data or a service that is accessible via a device implementing the method and corresponding device |
Non-Patent Citations (1)
Title |
---|
See also references of EP2912824A4 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021130514A1 (en) * | 2019-12-27 | 2021-07-01 | Avnet, Inc. | Methods, devices, nodes and computer programs for of establishing a cryptographically secured data communication channel |
Also Published As
Publication number | Publication date |
---|---|
US10084888B2 (en) | 2018-09-25 |
EP2912824B1 (en) | 2019-05-01 |
EP2912824A4 (en) | 2016-07-06 |
US20140122578A1 (en) | 2014-05-01 |
KR20140052703A (en) | 2014-05-07 |
EP2912824A1 (en) | 2015-09-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2014065634A1 (en) | Method and apparatus for accelerating web service with proxy server | |
WO2017181894A1 (en) | Method and system for connecting virtual private network by terminal, and related device | |
JP5942503B2 (en) | Service request apparatus, service request method, and service request program | |
EP2705642B1 (en) | System and method for providing access credentials | |
CN101128805B (en) | Connection supporting device and gateway device | |
WO2018010146A1 (en) | Response method, apparatus and system in virtual network computing authentication, and proxy server | |
US20070079368A1 (en) | Connection assistance apparatus and gateway apparatus | |
RU2002131451A (en) | MANAGEMENT OF A PROTECTED COMMUNICATION LINE IN DYNAMIC NETWORKS | |
JP2006121510A (en) | Encryption communications system | |
US20140067996A1 (en) | Method and system for reducing network latency | |
EP3120591A1 (en) | User identifier based device, identity and activity management system | |
CN104767742A (en) | Safe communication method, gateway, network side server and system | |
JP2017108417A (en) | Network communication system and method | |
WO2013040957A1 (en) | Single sign-on method and system, and information processing method and system | |
WO2015026143A1 (en) | Method and device for distributing traffic by using plurality of network interfaces in wireless communication system | |
JP3296514B2 (en) | Encryption communication terminal | |
CN102932359B (en) | Streaming media service requesting method, device and system | |
CN102801685A (en) | Web authentication method and system | |
JP2012165199A (en) | Network connection control system and connection control method | |
WO2013189398A2 (en) | Application data push method, device, and system | |
WO2019017525A1 (en) | User authentication server and system | |
JP4472566B2 (en) | Communication system and call control method | |
US20130268584A1 (en) | Methods and apparatus for publishing and subscribing electronic documents using intermediate rendezvous servers | |
CN114301968B (en) | Access method, system, equipment and storage medium of server | |
CN102075567A (en) | Authentication method, client, server, feedthrough server and authentication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13848954 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2013848954 Country of ref document: EP |