WO2012134216A2 - 웹 환경에서 캐싱 효율을 높인 서버, 단말기 및 그 방법 - Google Patents

웹 환경에서 캐싱 효율을 높인 서버, 단말기 및 그 방법 Download PDF

Info

Publication number
WO2012134216A2
WO2012134216A2 PCT/KR2012/002369 KR2012002369W WO2012134216A2 WO 2012134216 A2 WO2012134216 A2 WO 2012134216A2 KR 2012002369 W KR2012002369 W KR 2012002369W WO 2012134216 A2 WO2012134216 A2 WO 2012134216A2
Authority
WO
WIPO (PCT)
Prior art keywords
file
user terminal
additional
server
caching
Prior art date
Application number
PCT/KR2012/002369
Other languages
English (en)
French (fr)
Other versions
WO2012134216A3 (ko
Inventor
김영채
Original Assignee
(주)네오위즈게임즈
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by (주)네오위즈게임즈 filed Critical (주)네오위즈게임즈
Publication of WO2012134216A2 publication Critical patent/WO2012134216A2/ko
Publication of WO2012134216A3 publication Critical patent/WO2012134216A3/ko

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems

Definitions

  • the present invention relates to a server, a terminal, and a method for improving caching efficiency in a web environment. More specifically, additional files generated by using a source file uploaded from a user terminal in a web environment may be uploaded later. Therefore, the present invention relates to a server, a terminal, and a method of determining whether to use caching using a timestamp, thereby reducing the number of file transfers and increasing caching efficiency.
  • Cache refers to a temporary place in computer science where data or values are copied. Used when accessing original data takes longer than access time of cache or when you want to save time recalculating values. By copying the data ahead of time in the cache, you can access the data faster without any computation or access time.
  • caches include the CPU cache, which is a small memory mounted inside or next to the CPU chip for fast access to a large main memory, the disk cache, which is a small memory that stores data input / output on a disk, and the main memory of the operating system. Some page caches are copied to disk.
  • the CPU cache is managed through hardware, and other caches are usually managed in software.
  • caching a technique of storing and transmitting data in a separate space as needed, is frequently used to store and transmit data transmitted and received between networks in a network with low reliability (eg, Ethernet). For example, data may be quickly transmitted by storing content having a lot of user requests in a separate server and transmitting data.
  • web browsers cache recently visited sites, and many Internet providers and operators of large networks can save network bandwidth by storing caches of popular web pages on proxy servers to respond to web page requests. .
  • the present invention was created to solve the above-mentioned problems, and it is determined whether to use caching by using a timestamp or the like for an additional file generated by using a source file uploaded by a user terminal. It is an object of the present invention to provide a server, a terminal, and a method thereof that can reduce the number of file transfers and increase caching efficiency.
  • a server having improved caching efficiency includes a file storage unit for storing a source file uploaded by a user terminal and an additional file generation unit for generating an additional file using the source file. And a file transmission unit for transmitting the source file or the additional file to the user terminal in response to a request of the user terminal, and repeatedly receiving a download request of the additional file from the user terminal. And a caching determination unit that determines whether to use the additional file cached in the user terminal.
  • the terminal with improved caching efficiency in the web environment according to the present invention for achieving the above object is a file upload unit for uploading a source file to the server and a file for downloading the additional file generated using the source file from the server And a caching enabler that caches the downloaded additional file and uses the cached additional file by using comparison information when the downloaded additional file is cached.
  • the method for improving the caching efficiency in the web environment according to the present invention for achieving the above object comprises the steps of storing the source file uploaded by the user terminal, generating an additional file using the source file and the user terminal Transmitting the source file or the additional file to the user terminal according to a request of the user, repeatedly receiving a download request of the additional file from the user terminal, and additional files cached in the user terminal using comparison information. Determining whether to use may include.
  • a method of improving caching efficiency in a web environment according to the present invention for achieving the above object includes the steps of uploading a source file to a server and downloading an additional file generated using the source file from the server; Caching the downloaded additional file and determining whether to use the cached additional file by using comparison information when the additional file is to be downloaded again.
  • the invention also includes a computer readable recording medium having recorded thereon a program for executing the above methods.
  • a server According to a server, a terminal, and a method for improving caching efficiency in a web environment according to the present invention, network traffic and server costs can be significantly reduced by not requesting the same file after an initial file request in a web browser of a user terminal. And the caching efficiency can be improved.
  • FIG. 1 is a configuration diagram of a system for improving caching efficiency in a web environment according to the present invention.
  • FIG. 2 illustrates an embodiment of a source file uploaded by a user terminal.
  • FIG. 3 illustrates an embodiment of an additional file created using a source file.
  • FIG. 4 is a block diagram of a server having improved caching efficiency in a web environment according to the present invention.
  • FIG. 5 illustrates an embodiment of a system for improving caching efficiency in a web environment according to the present invention.
  • FIG. 6 is a block diagram of a terminal having improved caching efficiency in a web environment according to the present invention.
  • FIG. 7 through 8 are flowcharts of a method for increasing caching efficiency in a web environment according to the present invention.
  • the present invention relates to a server, a terminal, and a method for improving caching efficiency in a web environment, and additional files generated by using a source file uploaded from a user terminal in a web environment may be uploaded again later.
  • the present invention relates to a server, a terminal, and a method of determining whether to use caching using a stamp to reduce the number of file transfers and to increase caching efficiency.
  • FIG. 1 is a configuration diagram of a system for improving caching efficiency in a web environment according to the present invention. Referring to FIG. 1, a system for increasing caching efficiency in a web environment will be described.
  • a system having improved caching efficiency is connected to a plurality of user terminals 200 and a server 100 through a network (including all types of networks including various types of networks such as a telephone network, the Internet, and a wireless communication network), and the server 100 Is a server that improves caching efficiency in web environment and includes Database Management System (DBMS).
  • DBMS Database Management System
  • the user terminal 200 is a communication device capable of accessing a web page of a specific site or the like through a network.
  • various communication devices such as a wireless communication terminal such as a smartphone, a computer, and an internet accessable TV may be used. have. Therefore, the user can conveniently and quickly access a web page such as a specific site by using PC communication, wired / wireless internet, telephone network, and the like.
  • the user terminal 200 is preferably installed with a web browser (Web Brower), which is software that helps the user's computer to access the Internet to view a variety of information obtained from a web server, Internet Explorer (Internet) Explorer, Mozilla FireFox, Google Chrome, Apple Safari, Opera, etc. are not limited to specific types.
  • Web Brower is software that helps the user's computer to access the Internet to view a variety of information obtained from a web server, Internet Explorer (Internet) Explorer, Mozilla FireFox, Google Chrome, Apple Safari, Opera, etc. are not limited to specific types.
  • the server 100 having improved caching efficiency in the web environment includes a file storage unit 110, an additional file generation unit 120, a file transfer unit 130, a caching determination unit 140, and a file DB 300.
  • the server 100 receives a specific resource request from the web browser of the user terminal 200 using HTTP, and responds to the HTTP according to the content of the corresponding resource, such as HTML document, picture, style sheet, JavaScript, etc. It can also be a web server.
  • the file storage unit 110 stores the source file uploaded from the user terminal 200 in the file DB 300, which refers to a file generated by receiving information from the user.
  • FIG. 2 illustrates an embodiment of a source file uploaded from a user terminal, wherein user information of a smartphone application, user information of a web site, etc. are uploaded when registering as a service user and are generated based on information received from a user. It is common to be. Therefore, the user information file of the smart phone application and the user information file of the web site may be a representative example of the source file.
  • the file storage unit 110 Since the source file is often uploaded by the user several times due to a change or modification, the file storage unit 110 stores the file name differently when the user terminal 200 uploads the same source file. In this case, the time stamp when uploading the source file may be used to store the file name differently.
  • a timestamp is a string that represents a particular time of day. It is designed for convenient use in comparing two or more times or calculating durations, and is expressed in a consistent format. In a filesystem, a timestamp can mean the time at which the stored file was created or modified, or in the form "2005-10-30 T 10:45 UTC" or "Sat Jul 23 02:16:57 2005".
  • the file storage unit 110 stores the URL (Uniform Resource Locator) information and time stamp of the stored file together in the file DB (300).
  • URL Uniform Resource Locator
  • the additional file generator 120 generates an additional file using the source file and stores the additional file in the file DB 300.
  • the additional file refers to a file additionally generated by using the source file uploaded by the user.
  • FIG. 3 illustrates an embodiment of an additional file generated by using a source file, wherein a user profile picture of a smartphone application, a profile picture according to user information on a web site, and the like are uploaded together when registering as a service user.
  • a user profile picture of a smartphone application a profile picture according to user information on a web site, and the like are uploaded together when registering as a service user.
  • photos are uploaded separately, and after uploading, you need to adjust the size and resolution to suit the characteristics of the application or site.
  • thumbnails are thumbnails of your photos, making them easier to navigate as you browse through them, and allow you to treat them like regular string indexes.
  • the source file in the form of a picture file uploaded by the user uses HTML encoding or a separate program that directly reduces the picture size to generate additional files.
  • the additional file generation unit 120 stores at least one of information on a time at which the additional file is generated and URL information of a storage location in the file DB 300, and the additional file to the user terminal 200. Send the download information to download.
  • the download information may include at least one of a location, a path, and a timestamp value of the server capable of downloading the additional file, and the location of the downloadable server may include the file transfer unit 130 described below. Location.
  • the file transmitter 130 transmits the source file or the additional file to the user terminal 200 at the request of the user terminal 200.
  • the request of the user terminal 200 may be a direct request by the user of the user terminal 200, and in many cases, it is a request required to display a page in a web browser.
  • the caching determination unit 140 determines whether to use the additional file cached in the user terminal 200 by using the comparison information. do. That is, even if the additional file has already been transmitted to the user terminal 200, the user terminal 200 repeatedly requests the additional file to display a page in the web browser. Therefore, in such a case, if additional files are repeatedly transmitted from the server 100 to the user terminal 200, network traffic is problematic, and since the server 100 is overloaded, it is necessary to use the additional files cached in the user terminal 200.
  • the caching determination unit 140 determines whether the cached additional file is available by determining whether the cached additional file is the final file. Accordingly, the user terminal 200 requests the download while transmitting the file information of the file to be downloaded to the server 100 together with the time stamp information.
  • the caching determination unit 140 determines to use the cached file in the user terminal 200 when the comparison information is the same as the file information requested for download by the user terminal 200.
  • the comparison information is generated using a timestamp, and the caching determination unit 140 generates comparison information using the same timestamp in a predetermined time unit, and uses the same timestamp when the predetermined maximum specified time is exceeded. Generate comparison information.
  • the comparison information is always generated using the same time stamp. Therefore, when the user terminal 200 requests the download after 10 minutes, the time stamp of the requested file information and the time stamp of the caching determination unit 140 are the same, and thus, the user terminal 200 is added to the user terminal 200. It is possible to use the additional file cached in the user terminal 200 without retransmitting the file.
  • comparison information is generated by using a time stamp for each unit of time. Therefore, when the user terminal 200 requests a download, if the time stamp value of the file information of the requested file and the comparison information are different, the additional file is transmitted to the user terminal 200.
  • the cached files in the user terminal 200 can be used without a separate download process, thereby increasing caching efficiency and preventing network traffic and server load.
  • the source file is received from the user terminal 200 in the file storage unit 110 and stored in the file DB 300.
  • the additional file generator 120 generates an additional file such as a thumbnail image by using the received source file, and adds file information such as a creation time of the additional file and a timestamp at the time of creation together with the additional file. 300).
  • the additional file is downloaded from the file transmission unit 130 to the user terminal 200 at least once. However, after that, whenever the download request is received from the user terminal 200, the caching determination unit 140 determines whether to download or use the file cached in the user terminal 200.
  • the file information of the requested file and the comparison information generated by the caching determination unit 140 are compared with each other to determine. If the comparison information including the time stamp and the like are identical, the same file is already cached. The cached file is used instead of being transferred to the server. However, if different, the file transmission unit 130 transmits the requested file.
  • FIG. 5 illustrates an embodiment of a system for improving caching efficiency in a web environment according to the present invention.
  • the configuration of the system is divided into modules in one server, but the load of the server is improved and the efficiency of management is improved.
  • each configuration module may be configured as a separate server as shown in FIG. 5.
  • the user file upload server serves as the file storage unit 110 and may be configured as a separate server in order to distribute the load due to the user's source file (image, etc.).
  • the source file is received from the user terminal 200 (1), the source file is stored in the file DB 300 (2).
  • additional files need to be generated asynchronously such as thumbnails, a default image may be copied in advance.
  • the queue server acts as an additional file generation unit 120, and generates additional files asynchronously with respect to the source file, and processes them according to priority (3).
  • the priority may be the order in which the source files are uploaded. Alternatively, the priority may be set in the queue server or the user file upload server. It is preferable to store (4) the generated additional file in the file DB 300 and also store URL information including the time stamp of the stored file.
  • the user terminal 200 transmits a location, a path, and a timestamp value of a user file download server (User File Download Server) capable of downloading additional files (5). Of course, such information may be transmitted to the user file upload server as a return value upon receiving the source file.
  • User File Download Server User File Download Server
  • the user file download server When the user terminal 200 requests a file transfer to the user file download server (6), the user file download server performs the role of caching determination unit 140. That is, the user terminal 200 compares the file information including the timestamp value of the requested file with the comparison information to determine whether to transmit an additional file or to use a cached file. For example, if the timestamp value is different, the file cached in the user terminal 200 is not an additional file that is finally generated, so that an additional file is requested to the file DB 300 (7), and the user terminal 200 (8). Therefore, the user file download server may also perform the role of the file transmitter 130.
  • the caching determination unit 140 that determines whether to use the file cached in the user terminal in this way may exist as a configuration module in the server 100 or may be implemented as a separate server, the user terminal 200 requesting file transfer
  • the cached file may be determined. That is, it is determined whether the cached file is to be used before requesting the file transfer in the user terminal 200, and if the cached file is not available, the server 100 requests the file.
  • FIG. 6 is a block diagram of a terminal having improved caching efficiency in a web environment according to the present invention, and includes a file upload unit 210, a file download unit 220, and a caching use unit 230 to determine whether to use a cached file. do.
  • the file upload unit 210 uploads a source file to a server.
  • the user terminal 200 receives an HTML form for uploading from a web server providing a service, and uploads the necessary information by the user. Done.
  • the file download unit 220 downloads an additional file generated by using the source file from the server 100. However, when the additional file is downloaded from the server 100 every time, the server 100 is also loaded and there is a network traffic problem, so the caching utilization unit 230 caches the downloaded additional file and repeats the additional file. In case of downloading by using the comparison information, the cached additional file is used. The repetition means two or more times.
  • the comparison information is generated using the same time stamp in the predetermined time unit in the caching using unit 230, and is generated using the same time stamp when the predetermined maximum specified time is exceeded. Therefore, the caching user 230 may use the cached additional file when the comparison information is the same as the file information of the additional file, thereby eliminating the need for a separate download request to the server 200.
  • FIGS. 7 to 8 are flowcharts of a method for increasing caching efficiency in a web environment according to the present invention.
  • FIG. 7 is a method for increasing caching efficiency in a server
  • FIG. 8 is a method for increasing caching efficiency in a user terminal.
  • the server stores a source file uploaded by a user terminal (S10), and generates an additional file using the source file (S20).
  • Source file or additional file is sent to the user terminal according to the request of the user terminal.
  • the additional file cached in the user terminal before using the additional file is used. Determine whether it can (S50). Since the determination is the same as that of the server which improves the caching efficiency in the web environment, the cached file is used if the same time is compared by comparing the timestamp of the additional cached file with the current timestamp value generated in a predetermined time unit (S70). ). If not the same, the additional file is transmitted to the user terminal (S60).
  • the user terminal may determine whether the cached file is used. Therefore, as shown in FIG. 8, the user terminal uploads a source file to the server (S100). Download the additional file generated using the source file from the server (S120). The additional file downloaded is cached (S120). Since the additional file may need to be downloaded again as needed, it is determined whether to use the cached additional file by using the comparison information or to download it again from the server when it is necessary to download again (S130).
  • the comparison information is the same as described above, preferably using a time stamp. As a result of the determination using the comparison information, if the cached additional file is available, the cached additional file is used, and if it is difficult to use the cached additional file, it is downloaded from the server again (S140).
  • the invention also includes a computer readable recording medium having recorded thereon a program for executing the above methods.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

본 발명은 웹 환경에서 캐싱 효율을 높인 서버, 단말기 및 그 방법에 관한 것으로, 보다 상세하게는 웹 환경에서 사용자단말에서 업로드한 소스 파일을 이용하여 생성되는 추가 파일들은 추후 소스 파일들이 다시 업로드될 가능성이 있으므로, 타임스탬프를 이용하여 캐싱 이용 여부를 판별하여 파일의 전송 횟수를 줄이고 캐싱 효율을 높인 서버, 단말기 및 그 방법에 관한 것이다.

Description

웹 환경에서 캐싱 효율을 높인 서버, 단말기 및 그 방법
본 발명은 웹 환경에서 캐싱 효율을 높인 서버, 단말기 및 그 방법에 관한 것으로, 보다 상세하게는 웹 환경에서 사용자단말에서 업로드한 소스 파일을 이용하여 생성되는 추가 파일들은 추후 소스 파일들이 다시 업로드될 가능성이 있으므로, 타임스탬프를 이용하여 캐싱 이용 여부를 판별하여 파일의 전송 횟수를 줄이고 캐싱 효율을 높인 서버, 단말기 및 그 방법에 관한 것이다.
캐시(cache)는 컴퓨터 과학에서 데이터나 값을 미리 복사해 놓는 임시 장소를 가리킨다. 캐시의 접근 시간에 비해 원래 데이터를 접근하는 시간이 오래 걸리는 경우나 값을 다시 계산하는 시간을 절약하고 싶은 경우에 사용한다. 캐시에 데이터를 미리 복사해 놓으면 계산이나 접근 시간 없이 더 빠른 속도로 데이터에 접근할 수 있다.
이러한 캐시의 종류로는 대용량의 메인 메모리 접근을 빠르게 하기 위해 CPU 칩 내부나 바로 옆에 탑재하는 작은 메모리인 CPU 캐시, 디스크에 입출력되는 데이터를 저장하는 작은 메모리인 디스크 캐시, 운영체제의 메인 메모리를 하드 디스크에 복사해 놓는 페이지 캐시 등이 있다. CPU 캐시는 하드웨어를 통해 관리되고, 그 밖의 다른 캐시들은 대개 소프트웨어적으로 관리된다.
이처럼, 필요에 따라 별도의 공간에 데이터를 저장해서 전송하는 기술인 캐싱(caching)은 신뢰성이 적은 네트워크(이더넷 등)에서, 네트워크 사이에 주고 받는 데이터를 저장하고 전송하기 위해서 자주 사용된다. 이를테면, 사용자의 요청이 많은 콘텐츠를 별도 서버에 저장하여 데이터를 전송함으로써 데이터를 빨리 전송할 수 있다. 또한, 웹 브라우저는 최근 방문한 사이트를 캐시에 저장해 놓고, 많은 인터넷 제공업체들과 대규모 네트워크의 운영자들은 인기있는 웹 페이지의 캐시를 프록시 서버에 저장하여 웹 페이지 요청을 응답하게 함으로써 네트워크 대역폭을 아낄 수 있다.
그러나, 사용자단말에서 업로드한 소스 파일을 이용하여 비동기적으로 생성되는 추가 파일들은 생성기간을 정확히 판단하기 어렵고, 더욱이 추후에 다시 사용자단말에 의해 소스 파일이 다시 업로드될 가능성이 있어서 웹서버 또는 웹브라우저 캐싱을 사용하기 어렵다는 문제점이 있다. 즉, 캐싱된 추가 파일을 이용하는 경우에 차후에 변경된 부분이 추가 파일에 반영되지 않게 되고, 차후의 변경 가능성 때문에 캐싱을 이용하지 않는다면 서버나 서버에서 사용자단말로 동일한 파일을 반복적으로 전송해야하므로 비효율적이다.
본 발명은 상술한 문제점을 해결하기 위하여 창출된 것으로, 사용자단말에서 업로드한 소스 파일을 이용하여 생성되는 추가 파일에 대하여 타임스탬프 등을 이용하여 캐싱 이용 여부를 판별하여 추후 파일이 업로드 되거나 변경되는 것을 반영하면서도 파일 전송 횟수를 줄이고 캐싱 효율을 높일 수 있는 서버, 단말기 및 그 방법을 제공하는 데 목적이 있다.
상기의 목적을 달성하기 위한 본 발명에 따른 웹 환경에서 캐싱 효율을 높인 서버는, 사용자단말이 업로드한 소스 파일을 저장하는 파일저장부와 상기 소스 파일을 이용하여 추가 파일을 생성하는 추가파일생성부와 상기 사용자단말의 요청에 따라 상기 소스 파일 또는 상기 추가 파일을 상기 사용자단말로 전송하는 파일전송부 및 상기 사용자단말로부터 상기 추가 파일의 다운로드 요청을 반복하여 수신하는 경우에, 비교 정보를 이용하여 상기 사용자단말에 캐싱된 추가 파일의 이용 여부를 결정하는 캐싱결정부를 포함한다.
또한, 상기의 목적을 달성하기 위한 본 발명에 따른 웹 환경에서 캐싱 효율을 높인 단말기는 서버로 소스 파일을 업로드하는 파일업로드부와 상기 서버로부터 상기 소스 파일을 이용하여 생성된 추가 파일을 다운로드하는 파일다운로드부 및 상기 다운로드한 추가 파일을 캐싱하고, 상기 추가 파일을 다시 다운로드하고자 하는 경우에 비교 정보를 이용하여 상기 캐싱된 추가 파일을 이용하는 캐싱이용부를 포함한다.
한편, 상기의 목적을 달성하기 위한 본 발명에 따른 웹 환경에서 캐싱 효율을 높이는 방법은 사용자단말이 업로드한 소스 파일을 저장하는 단계와 상기 소스 파일을 이용하여 추가 파일을 생성하는 단계와 상기 사용자단말의 요청에 따라 상기 소스 파일 또는 상기 추가 파일을 상기 사용자단말로 전송하는 단계와 상기 사용자단말로부터 상기 추가 파일의 다운로드 요청을 반복하여 수신하는 단계 및 비교 정보를 이용하여 상기 사용자단말에 캐싱된 추가 파일의 이용 여부를 결정하는 단계를 포함할 수 있다.
또는, 상기의 목적을 달성하기 위한 본 발명에 따른 웹 환경에서 캐싱 효율을 높이는 방법은 서버로 소스 파일을 업로드하는 단계와 상기 서버로부터 상기 소스 파일을 이용하여 생성된 추가 파일을 다운로드하는 단계와 상기 다운로드한 추가 파일을 캐싱하는 단계 및 상기 추가 파일을 다시 다운로드하고자 하는 경우에 비교 정보를 이용하여 상기 캐싱된 추가 파일을 이용할지 결정하는 단계를 포함할 수 있다.
또한, 본 발명은 상기의 방법들을 실행시키기 위한 프로그램이 기록된 컴퓨터로 읽을 수 있는 기록매체를 포함한다.
본 발명에 따른 웹 환경에서 캐싱 효율을 높인 서버, 단말기 및 그 방법에 의하면, 사용자단말의 웹 브라우저에서 최초 파일 요청 이후에는 같은 파일에 대한 요청을 하지 않도록 함으로써 네트워크 트래픽 및 서버 비용을 현저히 감소시킬 수 있고, 캐싱 효율을 높일 수 있다.
도 1은 본 발명에 따른 웹 환경에서 캐싱 효율을 높인 시스템의 구성도이다.
도 2는 사용자단말에서 업로드하는 소스 파일의 실시예를 도시한 것이다.
도 3은 소스 파일을 이용하여 생성된 추가 파일의 실시예를 도시한 것이다.
도 4는 본 발명에 따른 웹 환경에서 캐싱 효율을 높인 서버의 구성도이다.
도 5는 본 발명에 따른 웹 환경에서 캐싱 효율을 높인 시스템의 일 실시예를 도시한 것이다.
도 6은 본 발명에 따른 웹 환경에서 캐싱 효율을 높인 단말기의 구성도이다.
도 7 내지 도 8은 본 발명에 따라 웹 환경에서 캐싱 효율을 높이는 방법의 흐름도이다.
이하 첨부된 도면을 참조하면서 본 발명에 따른 바람직한 실시예를 상세히 설명하기로 한다. 이에 앞서, 본 명세서 및 청구범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 아니 되며, 발명자는 그 자신의 발명을 가장 최선의 방법으로 설명하기 위해 용어의 개념을 적절하게 정의할 수 있다는 원칙에 입각하여, 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야만 한다.
따라서, 본 명세서에 기재된 실시예와 도면에 도시된 구성은 본 발명의 가장 바람직한 일 실시예에 불과할 뿐이고 본 발명의 기술적 사상을 모두 대변하는 것은 아니므로, 본 출원시점에 있어서 이들을 대체할 수 있는 다양한 균등물과 변형예들이 있을 수 있음을 이해하여야 한다.
본 발명은 웹 환경에서 캐싱 효율을 높인 서버, 단말기 및 그 방법에 관한 것으로, 웹 환경에서 사용자단말에서 업로드한 소스 파일을 이용하여 생성되는 추가 파일들은 추후 소스 파일들이 다시 업로드될 가능성이 있으므로, 타임스탬프를 이용하여 캐싱 이용 여부를 판별하여 파일의 전송 횟수를 줄이고 캐싱 효율을 높인 서버, 단말기 및 그 방법에 관한 것이다.
도 1은 본 발명에 따른 웹 환경에서 캐싱 효율을 높인 시스템의 구성도로, 도 1을 참조하여 웹 환경에서 캐싱 효율을 높인 시스템을 설명한다.
웹 환경에서 캐싱 효율을 높인 시스템은 네트워크(전화망, 인터넷, 무선 통신망 등 다양한 형태의 모든 네트워크를 포함)를 통하여 다수의 사용자단말(200)과 서버(100)가 연결되어 있고, 상기 서버(100)는 웹 환경에서 캐싱 효율을 높인 서버로, 데이터베이스관리시스템(DBMS - DataBase Management System)을 포함한다.
상기 사용자단말(200)는 네트워크를 통하여 특정 사이트 등의 웹 페이지에 접속할 수 있는 통신장치이며, 예를 들어, 스마트폰 등과 같은 무선 통신 단말기, 컴퓨터, 인터넷 접속 가능한 TV 등의 다양한 통신 장치가 사용될 수 있다. 따라서, 사용자는 PC 통신, 유무선 인터넷, 전화망 등을 이용하여 편리하고 신속하게 특정 사이트 등의 웹 페이지에 접속할 수 있다.
또한, 상기 사용자단말(200)에는 사용자의 컴퓨터가 인터넷에 접속되어 웹 서버로부터 가져온 여러 가지 정보를 볼 수 있도록 도와주는 소프트웨어인 웹 브라우저(Web Brower)가 설치되어 있는 것이 바람직하며, 인터넷 익스플로러(Internet Explorer), 모질라 파이어폭스(Mozilla FireFox), 구글크롬(Google Chrome), 애플 사파리(Apple Safari), 오페라(Opera) 등 그 종류는 특정한 것이 한정되지 않는다.
상기 웹 환경에서 캐싱 효율을 높인 서버(100)는 파일저장부(110), 추가파일생성부(120), 파일전송부(130), 캐싱결정부(140), 파일DB(300)를 포함한다. 이때, 상기 서버(100)는 상기 사용자단말(200)의 웹 브라우저로부터 HTTP를 사용하여 특정 리소스 요청을 받아들이고, HTML 문서, 그림, 스타일 시트, 자바스크립트 등의 해당 리소스의 콘텐츠에 따라 HTTP에 반응하는 웹 서버일 수도 있다.
상기 파일저장부(110)는 사용자단말(200)에서 업로드한 소스 파일을 파일DB(300)에 저장하는데, 소스 파일은 사용자로부터 정보를 받아서 생성되는 파일을 의미한다.
도 2는 사용자단말에서 업로드하는 소스 파일의 실시예를 도시한 것으로, 스마트폰 어플리케이션의 사용자 정보, 웹 사이트의 사용자 정보 등은 서비스 이용자로 등록할 때 업로드 되고, 사용자로부터 입력받은 정보를 바탕으로 생성되는 것이 일반적이다. 따라서 이와 같은 스마트폰 어플리케이션의 사용자 정보 파일, 웹 사이트의 사용자 정보 파일은 소스 파일의 대표적인 예라고 할 수 있다.
이러한 소스 파일은 변경 또는 수정 등의 이유로 사용자에 의하여 여러 번 업로드되는 경우가 많으므로 상기 파일저장부(110)는 상기 사용자단말(200)이 동일한 소스 파일을 업로드하는 경우에 파일명을 다르게 저장한다. 이때, 파일명을 다르게 저장하기 위하여 상기 소스 파일 업로드시의 타임스탬프를 이용할 수 있다.
타임스탬프(timestamp)는 특정한 시각을 나타내는 문자열로서, 둘 이상의 시각을 비교하거나 기간을 계산할 때 편리하게 사용하기 위해 고안되었으며, 일관성있는 형식으로 표현된다. 파일시스템에서 타임스탬프는 저장된 파일이 생성되거나 변경된 시각을 뜻하기도 하며, "2005-10-30 T 10:45 UTC" 또는 "Sat Jul 23 02:16:57 2005" 이러한 형태로 표시되기도 한다.
이처럼, 파일 업로드시 동일한 소스 파일에 대해서 타임스탬프를 이용하여 파일명을 달리 저장함으로써 파일의 변경 여부를 파악할 수 있게 되며, 파일의 변경 여부를 알게 되면 사용자단말(200)로 별도로 추가 파일을 전송하지 않고, 상시 사용자단말(200) 내에 캐싱된 추가 파일을 이용할 수 있는지 결정할 수 있게 된다. 따라서, 상기 파일저장부(110)는 저장된 파일의 URL(Uniform Resource Locator) 정보 및 타임스탬프를 파일DB(300)에 함께 저장한다.
상기 추가파일생성부(120)는 상기 소스 파일을 이용하여 추가 파일을 생성하고 파일DB(300)에 저장한다. 추가 파일은 사용자가 업로드한 상기 소스 파일을 이용하여 추가적으로 생성되는 파일을 의미한다.
도 3은 소스 파일을 이용하여 생성된 추가 파일의 실시예를 도시한 것으로, 스마트폰 어플리케이션의 사용자 프로필 사진, 웹 사이트에서 사용자 정보에 따른 프로필 사진 등은 서비스 이용자로 등록할 때에 함께 업로드되는 경우도 많지만, 별도로 사진만 업로드되는 경우가 많고, 업로드 된 이후에도 어플리케이션이나 사이트의 특성에 맞게 사이즈나 해상도 등을 조절해줘야 하므로 별도의 작업을 통해 추가 파일을 생성할 필요가 있다.
특히, 프로필 사진의 경우, 사용자가 그림 파일 형태로 업로드하면, 썸네일(thumbnail) 형태로 바꾸어 추가 파일을 생성하는 것이 일반적이다. 썸네일은 사진의 축소판으로서, 사진을 탐색하면서 알아보기 쉽게 만들어주며 그림을 일반 문자열 색인과 같게 취급할 수 있도록 한다. 뿐만 아니라, 사진 크기를 직접 줄임으로써 네트워크 트래픽 및 다운로드 시간을 줄일 수 있기 때문에 많이 이용되고 있다. 따라서, 사용자가 업로드한 그림 파일 형태의 소스 파일을 HTML 인코딩을 사용하거나, 직접 사진 크기를 줄이는 별도의 프로그램을 사용하여 추가 파일을 생성하게 된다.
또한, 프로필 사진은 한번 업로드 되더라도 수정되는 경우가 많고, 사용자 간에 채팅을 하거나, 친구 목록을 보여주는 경우에 기본적으로 제공되는 경우가 많기 때문에 그 변경 내용이 실시간으로 반영되어야 한다. 이와 같이, 사용자에 의한 변경에 따라 추가 파일을 생성해야하고, 그 결과를 실시간으로 반영해야하기 때문에, 매번 서버로부터 추가 파일을 전송받아 사용자단말에서 출력하고자 한다면 네트워크의 트래픽이 증가하고 서버의 비용도 증가하게 된다. 이러한 문제점을 해결하기 위하여 사용자단말(200) 내에 캐싱된 데이터 즉, 캐싱된 추가 파일을 적절하게 이용하면, 서버로부터 추가 파일을 전송받는 횟수가 줄어들면서도 변경 내용을 반영할 수 있어 효율적이다. 캐싱된 추가 파일을 이용하는 것에 대해서는 하기에 더욱 상세히 설명하기로 한다.
또한, 상기 추가파일생성부(120)는 상기 추가 파일이 생성된 시간에 관한 정보 및 저장할 위치의 URL 정보 중 적어도 하나를 파일DB(300)에 저장하고, 상기 사용자단말(200)로 상기 추가 파일을 다운받을 수 있는 다운로드 정보를 전송한다. 이때, 다운로드 정보는 상기 추가 파일을 다운받을 수 있는 서버의 위치, 경로 및 타임스탬프 값 중 적어도 하나를 포함할 수 있으며, 상기 다운받을 수 있는 서버의 위치는 하기에 설명한 파일전송부(130)의 위치가 된다.
상기 파일전송부(130)는 사용자단말(200)의 요청에 따라 상기 소스 파일 또는 상기 추가 파일을 상기 사용자단말(200)로 전송한다. 사용자단말(200)의 요청은 사용자단말(200)의 사용자에 의한 직접적인 요청도 있을 수 있으며, 웹 브라우저에 페이지를 표시하기 위하여 필요한 요청인 경우도 많다.
상기 캐싱결정부(140)는 상기 사용자단말(200)로부터 상기 추가 파일의 다운로드 요청을 반복하여 수신하는 경우에, 비교 정보를 이용하여 상기 사용자단말(200)에 캐싱된 추가 파일의 이용 여부를 결정한다. 즉, 추가 파일을 상기 사용자단말(200)로 이미 전송하였더라도, 사용자단말(200)에서는 웹 브라우저에 페이지를 표시하기 위하여 반복적으로 추가 파일을 요청하게 된다. 따라서 이러한 경우마다 반복적으로 서버(100)에서 사용자단말(200)로 추가 파일을 전송하면 네트워크 트래픽이 문제되고, 서버(100)에도 과부하가 오므로 사용자단말(200)에 캐싱된 추가 파일을 이용하는 것이 효율적이다. 다만, 캐싱된 추가 파일이 최종 변경 내용이 반영된 최종 파일이어야 하므로, 캐싱된 추가 파일이 최종 파일인지 판단하여 캐싱된 추가 파일을 이용할 수 있는지 여부를 캐싱결정부(140)에서 판단하게 된다. 따라서, 사용자단말(200)은 다운로드를 요청할 파일의 파일 정보를 서버(100)로 함께 전송하면서 다운로드를 요청하며, 상기 파일 정보에는 타임스탬프 정보를 포함하고 있다.
따라서, 상기 캐싱결정부(140)는 비교 정보가 상기 사용자단말(200)에서 다운로드를 요청한 파일 정보와 동일한 경우에 상기 사용자단말(200)에 캐싱된 파일을 이용하도록 결정한다. 상기 비교 정보는 타임스탬프를 이용하여 생성되는데, 상기 캐싱결정부(140)는 기설정된 시간 단위로 같은 타임스탬프를 이용하여 비교 정보를 생성하고, 기설정된 최대 지정 시간이 넘으면 동일한 타임스탬프를 이용하여 비교 정보를 생성한다.
예를 들어서, 썸네일 이미지로 추가 파일을 생성하는 경우에 최대 5분 내지 최대 10분의 시간이 소요된다고 하는 경우에, 상기 캐싱결정부(140)에서 최대 지정 시간을 10분으로 지정해두면, 10분이 지난 이후에는 항상 동일한 타임스탬프를 이용하여 비교 정보를 생성하게 된다. 따라서, 10분이 지난 이후에 사용자단말(200)에서 다운로드를 요청하는 경우에, 요청하는 파일 정보의 타임스탬프와 캐싱결정부(140)에서 가지고 있는 타임스탬프는 동일하므로, 사용자단말(200)로 추가 파일을 재전송하지 않고, 상기 사용자단말(200)에 캐싱된 추가 파일을 사용하도록 할 수 있게 된다.
하지만, 썸네일 이미지로 추가 파일을 생성하는 그 중간 과정에는 추가 파일의 변경 여부를 체크하고, 새로운 추가 파일을 받아야 할 필요가 있으므로 시간 단위별로 타임스탬프를 이용하여 비교 정보를 생성하게 된다. 따라서, 상기 사용자단말(200)에서 다운로드를 요청하는 경우에 요청하는 파일의 파일 정보와 비교 정보의 타임스탬프 값이 다르게 되면 사용자단말(200)로 추가 파일을 전송하게 된다.
이와 같이, 비교 정보를 시간 단위로 생성하도록 함으로써, 같은 시간 단위 내에서는 동일한 추가 파일로 보고 별도의 다운로드를 수행하지 않으므로 파일의 전송 횟수를 줄여 효율을 높일 수 있고, 최대 지정 시간 이후에는 수정 또는 변경될 가능성이 적으므로, 별도의 다운로드 과정이 없이 사용자단말(200) 내의 캐싱된 파일을 이용할 수 있도록 함으로써 캐싱 효율을 높이고 네트워크 트래픽 및 서버의 부하를 방지할 수 있다.
도 4는 본 발명에 따른 웹 환경에서 캐싱 효율을 높인 서버의 구성도로, 상술한 바와 같이, 사용자단말(200)로부터 소스 파일을 파일저장부(110)에서 수신하여 파일DB(300)에 저장한다. 그리고 수신한 소스 파일을 이용하여 썸네일 이미지 등의 추가 파일을 상기 추가파일생성부(120)에서 생성하고, 추가 파일의 생성 시간, 생성시의 타임스탬프 등의 파일 정보를 추가 파일과 함께 파일DB(300)에 저장한다. 상기 추가 파일은 적어도 한 번은 상기 파일전송부(130)에서 사용자단말(200)로 다운로드 된다. 그러나, 그 이후에는 사용자단말(200)로부터 다운로드 요청을 수신할 때마다 다운로드를 할 것인지, 사용자단말(200) 내에 캐싱된 파일을 이용하도록 할 것인지 여부를 상기 캐싱결정부(140)에서 결정한다. 이때는 요청하는 파일의 파일 정보와 캐싱결정부(140)에서 생성된 비교 정보를 상호 비교하여 결정하는데, 타임스탬프 등을 포함한 비교 정보와 파일 정보가 동일하면 이미 동일한 파일이 캐싱되어 있는 것이므로 사용자단말(200)로 전송하지 않고 캐싱된 파일을 이용하도록 한다. 다만, 다를 경우에는 상기 파일전송부(130)에서 요청한 파일을 전송한다.
도 5는 본 발명에 따른 웹 환경에서 캐싱 효율을 높인 시스템의 일 실시예를 도시한 것으로, 지금까지는 하나의 서버에서 그 구성을 모듈별로 나누어 설명하였지만, 서버의 부하를 방지하고 관리의 효율성을 높이기 위하여 도 5와 같이 각각의 구성 모듈이 별도의 서버로 구성될 수도 있다.
유저파일업로드서버(User File Upload Server)는 파일저장부(110)의 역할을 하며 사용자의 소스 파일(이미지 등)로 인한 부하를 분산시키기 위하여 이와 같이 별도 서버로 구성할 수 있다. 사용자단말(200)로부터 소스 파일을 수신하면(①), 소스 파일을 파일DB(300)에 저장한다(②). 이때, 썸네일과 같이 비동기적으로 추가 파일을 생성해야 하는 경우에 기본 이미지(Default Image)를 미리 복사해둘 수도 있다.
큐서버(Queue Server)는 추가파일생성부(120)의 역할을 하며, 추가 파일을 소스 파일에 대해서 비동기적으로 생성하는데, 이때 우선 순위에 따라 처리한다(③). 상기 우선 순위는 소스 파일이 업로드된 순서일 수 있으며, 그 외 큐서버 또는 유저파일업로드서버에서 우선 순위를 설정할 수도 있다. 생성된 추가 파일을 파일DB(300)에 저장(④)하고, 저장된 파일의 타임스탬프를 포함한 URL 정보도 함께 저장하는 것이 바람직하다. 또한, 사용자단말(200)로 추가 파일을 다운받을 수 있는 유저파일다운로드서버(User File Download Server)의 위치와 경로, 타임스탬프 값을 전송한다(⑤). 물론, 이와 같은 정보는 상기 유저파일업로드서버에서 소스 파일 수신시 리턴값으로 전송하도록 할 수 있음은 물론이다.
사용자단말(200)에서 상기 유저파일다운로드서버로 파일 전송을 요청하면(⑥), 상기 유저파일다운로드서버는 캐싱결정부(140)의 역할을 수행한다. 즉, 사용자단말(200)이 요청한 파일의 타임스탬프 값을 포함한 파일 정보와 비교 정보를 비교하여 추가 파일을 전송할 것인지 캐싱된 파일을 사용하도록 할 것인지 여부를 결정한다. 예를 들어, 타임스탬프 값이 다른 경우 상기 사용자단말(200)에 캐싱된 파일은 최종적으로 생성된 추가 파일이 아니므로 파일DB(300)에 추가 파일을 요청하여(⑦), 사용자단말(200)로 전송한다(⑧). 따라서 상기 유저파일다운로드서버는 파일전송부(130)의 역할도 함께 수행할 수 있다.
다만, 이와 같이 사용자단말에 캐싱된 파일을 이용할 것인지 결정하는 캐싱결정부(140)는 서버(100) 내에 구성 모듈로 존재하거나 별도의 서버로 구현될 수도 있지만, 파일 전송을 요청하는 사용자단말(200) 내에 구비함으로써 파일 전송을 요청할지 여부를 결정하는 과정에서 캐싱된 파일 이용 여부를 판단할 수도 있다. 즉, 사용자단말(200) 내에서 파일 전송을 요청하기 이전에 캐싱된 파일을 이용할지 판단하고, 판단결과 캐싱된 파일을 이용할 수 없는 경우에는 서버(100)로 파일을 요청하는 것이다.
도 6은 본 발명에 따른 웹 환경에서 캐싱 효율을 높인 단말기의 구성도로, 캐싱된 파일을 이용할지 판단하기 위하여 파일업로드부(210), 파일다운로드부(220) 및 캐싱이용부(230)를 포함한다.
상기 파일업로드부(210)는 서버로 소스 파일을 업로드하는데, 일반적으로 사용자단말(200)은 서비스를 제공하는 웹 서버로부터 업로드를 위한 HTML Form을 제공받으므로 여기에 사용자가 필요한 사항을 입력하여 업로드하게 된다.
상기 파일다운로드부(220)는 상기 서버(100)로부터 상기 소스 파일을 이용하여 생성된 추가 파일을 다운로드 한다. 다만, 추가 파일을 매번 서버(100)로부터 다운받으면, 서버(100)에도 부하가 걸리고, 네트워크 트래픽 문제도 있으므로 상기 캐싱이용부(230)는 상기 다운로드한 추가 파일을 캐싱하고, 상기 추가 파일을 반복하여 다운로드하고자 하는 경우에 비교 정보를 이용하여 상기 캐싱된 추가 파일을 이용한다. 상기 반복의 의미는 2회 이상을 의미한다.
상기 비교 정보는 상기 캐싱이용부(230)에서 기설정된 시간 단위로 같은 타임스탬프를 이용하여 생성되고, 기설정된 최대 지정 시간이 넘으면 동일한 타임스탬프를 이용하여 생성된다. 따라서 상기 캐싱이용부(230)는 상기 비교 정보가 상기 추가 파일의 파일 정보와 동일한 경우에 상기 캐싱된 추가 파일을 이용하도록 함으로써, 서버(200)로 별도의 다운로드 요청을 할 필요가 없게 된다.
한편, 도 7 내지 도 8은 본 발명에 따라 웹 환경에서 캐싱 효율을 높이는 방법의 흐름도로, 도 7은 서버에서 캐싱 효율을 높이는 방법이고, 도 8은 사용자단말에서 캐싱 효율을 높이는 방법이다.
먼저, 도 7에 도시된 바와 같이 서버는 사용자단말이 업로드한 소스 파일을 저장(S10)하고, 상기 소스 파일을 이용하여 추가 파일을 생성한다(S20). 사용자단말의 요청에 따라 소스 파일 또는 추가 파일을 사용자단말로 전송하는데, 사용자단말로부터 추가 파일의 다운로드 요청을 다시 받는 경우(S40), 추가 파일을 전송하기 이전에 사용자단말에 캐싱된 추가 파일을 이용할 수 있는지 판단한다(S50). 이러한 판단은 웹 환경에서 캐싱 효율을 높인 서버에서와 동일하므로, 캐싱된 추가 파일의 타임스탬프와 기설정된 시간 단위로 생성된 현재의 타임스탬프 값을 비교하여 동일하면 캐싱된 파일을 이용하도록 한다(S70). 또한, 동일하지 않으면 추가 파일을 사용자단말로 전송한다(S60).
또한, 상술한 바와 같이, 캐싱된 파일의 이용 여부를 사용자단말에서 판단할 수도 있다. 따라서, 도 8에 도시된 바와 같이 사용자단말은 서버로 소스 파일을 업로드하고(S100). 서버로부터 소스 파일을 이용하여 생성된 추가 파일을 다운로드 받고(S120). 다운로드한 추가 파일을 캐싱한다(S120). 추가 파일은 필요에 따라 다시 다운로드해야 하는 경우가 있으므로, 다시 다운로드를 해야 하는 경우에 비교 정보를 이용하여 캐싱된 추가 파일을 그래도 이용할 것인지, 서버로부터 다시 다운로드받을 것인지 결정한다(S130). 상기 비교 정보는 상술한 바와 동일하며 타임스탬프를 이용하는 것이 바람직하다. 비교 정보를 이용하여 판단한 결과, 캐싱된 추가 파일을 이용할 수 있다면 캐싱된 추가 파일을 이용하고, 캐싱된 추가 파일의 이용이 어려운 경우에는 서버로부터 다시 다운로드 받는다(S140).
또한, 본 발명은 상기의 방법들을 실행시키기 위한 프로그램이 기록된 컴퓨터로 읽을 수 있는 기록매체를 포함한다.
이상과 같이, 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 이것에 의해 한정되지 않으며 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 본 발명의 기술 사상과 아래에 기재될 청구범위의 균등 범위 내에서 다양한 수정 및 변형이 가능함은 물론이다.

Claims (13)

  1. 사용자단말이 업로드한 소스 파일을 저장하는 파일저장부;
    상기 소스 파일을 이용하여 추가 파일을 생성하는 추가파일생성부;
    상기 사용자단말의 요청에 따라 상기 소스 파일 또는 상기 추가 파일을 상기 사용자단말로 전송하는 파일전송부; 및
    상기 사용자단말로부터 상기 추가 파일의 다운로드 요청을 반복하여 수신하는 경우에, 비교 정보를 이용하여 상기 사용자단말에 캐싱된 추가 파일의 이용 여부를 결정하는 캐싱결정부;를 포함하는 웹 환경에서 캐싱 효율을 높인 서버.
  2. 제 1 항에 있어서,
    상기 파일저장부는,
    상기 사용자단말이 동일한 소스 파일을 업로드하는 경우에 파일명을 다르게 저장하는 것을 특징으로 하는 웹 환경에서 캐싱 효율을 높인 서버.
  3. 제 2 항에 있어서,
    상기 파일저장부는,
    상기 파일명을 다르게 저장하는 경우에, 상기 소스 파일 업로드시의 타임스탬프(timestamp)를 이용하는 것을 특징으로 하는 웹 환경에서 캐싱 효율을 높인 서버.
  4. 제 1 항에 있어서,
    상기 추가파일생성부는,
    상기 추가 파일이 생성된 시간에 관한 정보 및 저장할 위치의 URL 정보 중 적어도 하나를 데이터베이스에 저장하는 것을 특징으로 하는 웹 환경에서 캐싱 효율을 높인 서버.
  5. 제 4 항에 있어서,
    상기 추가파일생성부는,
    상기 사용자단말로 상기 추가 파일을 다운받을 수 있는 다운로드 정보를 전송하는 것을 특징으로 하는 웹 환경에서 캐싱 효율을 높인 서버.
  6. 제 5 항에 있어서,
    상기 다운로드 정보는,
    상기 추가 파일을 다운받을 수 있는 서버의 위치, 경로 및 타임스탬프 값 중 적어도 하나를 포함하는 것을 특징으로 하는 웹 환경에서 캐싱 효율을 높인 서버.
  7. 제 1 항에 있어서,
    상기 비교 정보는,
    상기 캐싱결정부에서 기설정된 시간 단위로 같은 타임스탬프를 이용하여 생성되고, 기설정된 최대 지정 시간이 넘으면 동일한 타임스탬프를 이용하여 생성되는 것을 특징으로 하는 웹 환경에서 캐싱 효율을 높인 서버.
  8. 제 7 항에 있어서,
    상기 캐싱결정부는,
    상기 비교 정보가 상기 사용자단말에서 다운로드를 요청한 파일 정보와 동일한 경우에 상기 사용자단말에 캐싱된 파일을 이용하도록 결정하는 것을 특징으로 하는 웹 환경에서 캐싱 효율을 높인 서버.
  9. 서버로 소스 파일을 업로드하는 파일업로드부;
    상기 서버로부터 상기 소스 파일을 이용하여 생성된 추가 파일을 다운로드하는 파일다운로드부; 및
    상기 다운로드한 추가 파일을 캐싱하고, 상기 추가 파일을 반복하여 다운로드하고자 하는 경우에 비교 정보를 이용하여 상기 캐싱된 추가 파일을 이용하는 캐싱이용부;를 포함하는 웹 환경에서 캐싱 효율을 높인 단말기.
  10. 제 9 항에 있어서,
    상기 비교 정보는,
    상기 캐싱이용부에서 기설정된 시간 단위로 같은 타임스탬프를 이용하여 생성되고, 기설정된 최대 지정 시간이 넘으면 동일한 타임스탬프를 이용하여 생성되는 것을 특징으로 하는 웹 환경에서 캐싱 효율을 높인 단말기.
  11. 제 10 항에 있어서,
    상기 캐싱이용부는,
    상기 비교 정보가 상기 추가 파일의 파일 정보와 동일한 경우에 상기 캐싱된 추가 파일을 이용하는 것을 특징으로 하는 웹 환경에서 캐싱 효율을 높인 단말기.
  12. 사용자단말이 업로드한 소스 파일을 저장하는 단계;
    상기 소스 파일을 이용하여 추가 파일을 생성하는 단계;
    상기 사용자단말의 요청에 따라 상기 소스 파일 또는 상기 추가 파일을 상기 사용자단말로 전송하는 단계;
    상기 사용자단말로부터 상기 추가 파일의 다운로드 요청을 반복하여 수신하는 단계; 및
    비교 정보를 이용하여 상기 사용자단말에 캐싱된 추가 파일의 이용 여부를 결정하는 단계;를 포함하는 웹 환경에서 캐싱 효율을 높이는 방법.
  13. 서버로 소스 파일을 업로드하는 단계;
    상기 서버로부터 상기 소스 파일을 이용하여 생성된 추가 파일을 다운로드하는 단계;
    상기 다운로드한 추가 파일을 캐싱하는 단계; 및
    상기 추가 파일을 반복하여 다운로드하고자 하는 경우에 비교 정보를 이용하여 상기 캐싱된 추가 파일을 이용할지 결정하는 단계;를 포함하는 웹 환경에서 캐싱 효율을 높이는 방법.
PCT/KR2012/002369 2011-04-01 2012-03-30 웹 환경에서 캐싱 효율을 높인 서버, 단말기 및 그 방법 WO2012134216A2 (ko)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2011-0030171 2011-04-01
KR1020110030171A KR101376320B1 (ko) 2011-04-01 2011-04-01 웹 환경에서 캐싱 효율을 높인 서버, 단말기 및 그 방법

Publications (2)

Publication Number Publication Date
WO2012134216A2 true WO2012134216A2 (ko) 2012-10-04
WO2012134216A3 WO2012134216A3 (ko) 2012-12-27

Family

ID=46932159

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2012/002369 WO2012134216A2 (ko) 2011-04-01 2012-03-30 웹 환경에서 캐싱 효율을 높인 서버, 단말기 및 그 방법

Country Status (2)

Country Link
KR (1) KR101376320B1 (ko)
WO (1) WO2012134216A2 (ko)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112671899A (zh) * 2020-12-23 2021-04-16 中移(杭州)信息技术有限公司 一种文件传输方法、文件传输装置及系统
CN113950133A (zh) * 2021-10-13 2022-01-18 维沃移动通信有限公司 一种网络连接控制方法、装置、电子设备及可读存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102004970B1 (ko) 2016-11-17 2019-07-30 에스케이플래닛 주식회사 클라우드 스트리밍 서비스 제공 방법 및 이를 위한 장치

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020024887A (ko) * 2000-09-27 2002-04-03 윤종용 무선 인터넷 환경에서 컨텐츠 서비스 방법 및 그 서버시스템
KR20030056548A (ko) * 2001-12-28 2003-07-04 삼성전자주식회사 캐싱기법을 이용한 mpeg-4 시스템 단말의 제어방법
KR20040038340A (ko) * 2002-10-31 2004-05-08 엘지전자 주식회사 이동 컴퓨팅 환경에서 트랜잭션 캐시 일관성 유지 시스템및 방법
KR20110025055A (ko) * 2009-09-01 2011-03-09 한국전자통신연구원 단말기에서의 다운로드 방법
WO2011031957A2 (en) * 2009-09-10 2011-03-17 Motorola Mobility, Inc. Method and apparatus for loading a photo

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100261267B1 (ko) 1997-10-16 2000-07-01 정선종 데이터 베이스의 내용과 캐쉬 메모리에 저장된 내용의 일치 방법
KR100825721B1 (ko) * 2005-12-08 2008-04-29 한국전자통신연구원 객체 기반 스토리지 시스템에서 사용자 파일 관리자 내의시간 기반 캐쉬 일관성 유지 시스템 및 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020024887A (ko) * 2000-09-27 2002-04-03 윤종용 무선 인터넷 환경에서 컨텐츠 서비스 방법 및 그 서버시스템
KR20030056548A (ko) * 2001-12-28 2003-07-04 삼성전자주식회사 캐싱기법을 이용한 mpeg-4 시스템 단말의 제어방법
KR20040038340A (ko) * 2002-10-31 2004-05-08 엘지전자 주식회사 이동 컴퓨팅 환경에서 트랜잭션 캐시 일관성 유지 시스템및 방법
KR20110025055A (ko) * 2009-09-01 2011-03-09 한국전자통신연구원 단말기에서의 다운로드 방법
WO2011031957A2 (en) * 2009-09-10 2011-03-17 Motorola Mobility, Inc. Method and apparatus for loading a photo

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112671899A (zh) * 2020-12-23 2021-04-16 中移(杭州)信息技术有限公司 一种文件传输方法、文件传输装置及系统
CN112671899B (zh) * 2020-12-23 2022-12-13 中移(杭州)信息技术有限公司 一种文件传输方法、文件传输装置及系统
CN113950133A (zh) * 2021-10-13 2022-01-18 维沃移动通信有限公司 一种网络连接控制方法、装置、电子设备及可读存储介质
CN113950133B (zh) * 2021-10-13 2024-05-28 维沃移动通信有限公司 一种网络连接控制方法、装置、电子设备及可读存储介质

Also Published As

Publication number Publication date
KR20120111598A (ko) 2012-10-10
KR101376320B1 (ko) 2014-03-21
WO2012134216A3 (ko) 2012-12-27

Similar Documents

Publication Publication Date Title
US10225362B2 (en) Processing DNS queries to identify pre-processing information
CN103002010B (zh) 一种基于增量数据的数据更新方法、装置和系统
EP2294515B1 (en) Request routing using network computing components
US20130268673A1 (en) Method and apparatus for reducing network resource transmission size using delta compression
US6868453B1 (en) Internet home page data acquisition method
US10469560B1 (en) Reduced latency for subresource transfer
CN102902802B (zh) 一种网页转码方法和装置
WO2013170715A1 (en) Method and system for loading file in webgame
WO2015147354A1 (ko) Spdy에 기초한 웹 가속 방법 및 이를 위한 spdy 프록시
WO2014112727A1 (ko) 단축 url의 관리 방법, 관리 장치 및 그 관리를 수행하는 컴퓨터 프로그램을 저장한 저장 매체
CN109992564A (zh) 文件存储系统及方法
CN103401926A (zh) 一种提高网络资源访问速度的方法及装置
JP3984086B2 (ja) キャッシュサーバ、データ転送装置及びプログラム
WO2012134216A2 (ko) 웹 환경에서 캐싱 효율을 높인 서버, 단말기 및 그 방법
CN104462367A (zh) 一种计算设备的浏览器及其缩略图显示方法
CN103269353A (zh) Web缓存回源优化方法及Web缓存系统
JP6381426B2 (ja) 情報処理装置、制御方法、及びプログラム
JP2018533092A (ja) ネットワークリクエスト及びレスポンスの処理方法、端末、サーバ及び記憶媒体
US11182452B2 (en) Web acceleration via learning
US20140337708A1 (en) Method and apparatus for providing web browsing service
CN103313285A (zh) 网络资源传输处理装置和网络资源传输处理方法
CN103561068A (zh) 一种提高网页浏览速度的方法及装置
US10826870B2 (en) Method, device and server for processing access request
KR100812394B1 (ko) 이동통신 단말기의 데이터 관리 서비스 방법 및 이를 위한장치
WO2015165034A1 (zh) 加载网页的方法和装置

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: 12764034

Country of ref document: EP

Kind code of ref document: A2

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12764034

Country of ref document: EP

Kind code of ref document: A2