Application execution managing method, application execution server computer, and repeater
First Claim
1. An application execution status managing method that manages an execution status of an application provided in a computer system that includes a first computer, a second computer connected to the first computer through a network, and a cache management device connected to the first computer and the second computer, the application execution status managing method comprising:
- receiving, by the cache management device, a request relating to the application from the second computer;
judging, by the cache management device, whether a response corresponding to the request is stored in a cache data area of the cache management device;
if the response is stored in the cache data area, sending, by the cache management device, the response to the second computer;
if the response is not stored in the cache data area, sending, by the cache management device, the request to the first computer;
upon receiving the request by the first computer, inserting, by the first computer, a unique identifier and a program code, which instructs the second computer to execute a first inspection to determine whether a cookie including the unique identifier as a cookie name exists in a cookie data area of the second computer when the second computer receives the response corresponding to the request and to delete the cookie having the unique identifier as the cookie name after the first inspection, into a web page that is included in the response corresponding to the request received from the cache management device;
inserting, by the first computer, an instruction, which sets the cookie having the unique identifier as the cookie name in the second computer, into a header of the response corresponding to the request received from the cache management device;
sending, by the first computer, the web page and the response including the header to the second computer via the cache management device; and
storing, by the cache management device, the response received from the first computer, except for the instruction inserted into the header, in the cache data area,wherein the response sent to the second computer enables the second computer to execute the instruction inserted into the header of the response before the program code.
1 Assignment
0 Petitions
Accused Products
Abstract
A cache hit determining method in a server client system, such as a web system, which can determine whether a response received by a client is a response generated by a server or a response returned from a cache in the server client system. In the cache hit determining method, when the server generates the response, the serve adds a program for a cache hit determination and data to the response and the client executes the program included in the response, thereby realizing a cache hit determination.
-
Citations
13 Claims
-
1. An application execution status managing method that manages an execution status of an application provided in a computer system that includes a first computer, a second computer connected to the first computer through a network, and a cache management device connected to the first computer and the second computer, the application execution status managing method comprising:
-
receiving, by the cache management device, a request relating to the application from the second computer; judging, by the cache management device, whether a response corresponding to the request is stored in a cache data area of the cache management device; if the response is stored in the cache data area, sending, by the cache management device, the response to the second computer; if the response is not stored in the cache data area, sending, by the cache management device, the request to the first computer; upon receiving the request by the first computer, inserting, by the first computer, a unique identifier and a program code, which instructs the second computer to execute a first inspection to determine whether a cookie including the unique identifier as a cookie name exists in a cookie data area of the second computer when the second computer receives the response corresponding to the request and to delete the cookie having the unique identifier as the cookie name after the first inspection, into a web page that is included in the response corresponding to the request received from the cache management device; inserting, by the first computer, an instruction, which sets the cookie having the unique identifier as the cookie name in the second computer, into a header of the response corresponding to the request received from the cache management device; sending, by the first computer, the web page and the response including the header to the second computer via the cache management device; and storing, by the cache management device, the response received from the first computer, except for the instruction inserted into the header, in the cache data area, wherein the response sent to the second computer enables the second computer to execute the instruction inserted into the header of the response before the program code. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 13)
-
-
10. A cache hit determining method in a computer system that includes a first computer, a second computer, a cache management device and a network used to connect the first computer, the second computer and the cache management device, the cache hit determining method comprising:
-
receiving, by the cache management device, a request relating to an application from the second computer; judging, by the cache management device, whether a response corresponding to the request is stored in a cache data area of the cache management device; if the response is stored in the cache data area, sending, by the cache management device, the response to the second computer; if the response is not stored in the cache data area, sending, by the cache management device, the request to the first computer; upon receiving the request by the first computer, inserting, by the first computer, in the response to the request, unique identifier and a program code, which instructs the second computer to execute a first inspection to determine whether cookie data including the unique identifier as a cookie name exists in a cookie data area of the second computer when the second computer receives the response corresponding to the request and delete a cookie having the cookie name after the first inspection, into a web page that is included in the response corresponding to the request received from the cache management device; inserting, by the first computer, an instruction, for the second computer to set the unique identifier as the cookie name of the response in the second computer, in a header of the response corresponding to the request received from the cache management device; returning the response corresponding to the request received from the cache management device to the second computer via the cache management device; and storing, by the cache management device, the response received from the first computer, except for the instruction inserted into the header, in the cache data area, wherein the response sent to the second computer enables the second computer to execute the instruction inserted into the header of the response before the program code.
-
-
11. A non-transitory computer readable medium containing instructions for performing a method of operating a repeater, where the repeater is connected to a first computer and a second computer, the method comprising:
-
receiving, by the repeater, a request relating to an application from the second computer; judging, by the repeater, whether a response corresponding to the request is stored in a data area of the repeater; if the response is stored in the data area, sending, by the repeater, the response to the second computer; if the response is not stored in the data area, sending, by the repeater, the request to the first computer; upon receiving the request by the first computer, inserting, by the first computer, a unique identifier of a web page included in a body of the response corresponding to the request from the second computer and a program code, which instructs the second computer to execute a first inspection to determine whether a cookie including the unique identifier as a cookie name exists in a cookie data area of the second computer when the second computer receives the response corresponding to the request and to delete the cookie after the first inspection, in the web page of the response corresponding to the request received from the repeater; inserting an instruction, by the first computer, that sets a cookie using the unique identifier as a cookie name in the second computer, into a header of the response corresponding to the request received from the repeater; transmitting, by the first computer, the response corresponding to the request received from the repeater to the second computer via the repeater; and storing, by the repeater, the response received from the first computer, except for the instruction inserted into the header, in the data area, wherein the response sent to the second computer enables the second computer to execute the instruction inserted into the header of the response before the program code.
-
-
12. A non-transitory computer readable medium containing instructions for performing a method of operating a server computer that is connected to a client computer through a network, where a cache management device is connected to the server computer and the client computer through the network, the method comprising:
-
receiving, by the cache management device, a request from the client computer for an application executed by the server computer; judging, by the cache management device, whether a response corresponding to the request is stored in a cache data area of the cache management device; if the response is stored in the cache data area, sending, by the cache management device, the response to the client computer; if the response is not stored in the cache data area, sending, by the cache management device, the request to the server computer; upon receiving the request by the server computer, inserting, by the server computer, a unique identifier for each response with respect to the request and a program code, which instructs the client computer to execute a first inspection to determine whether a cookie including the unique identifier as a cookie name exists in a cookie data area of the client computer when the client computer receives each response corresponding to the request and to delete the cookie after the first inspection, into a web page included in the response corresponding to the request received from the cache management device; inserting an instruction, by the server computer, which sets the unique identifier as an attribute value of the response in the client computer, into a header of the response corresponding to the request received from the cache management device; transmitting the response to the client computer via the cache management device; and storing, by the cache management device, the response received from the server computer, except for the instruction inserted into the header, in the cache data area, wherein the response sent to the client computer enables the client computer to execute the instruction inserted into the header of the response before the program code.
-
Specification