Information processing device, information processing method, and program

The information processing apparatus addresses the issue of large cookie sizes causing transmission errors by selectively deleting cookies, ensuring efficient and error-free access to Web services.

JP2025089554AActive Publication Date: 2025-06-12RAKUTEN GROUP INC
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2025055999
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2025-06-12
Estimated Expiration
2043-03-31

AI Technical Summary

Technical Problem

As the number of Web services increases, large amounts of cookies are stored in Web browsers, leading to potential errors when these cookies are transmitted to Web servers due to excessive header sizes, resulting in errors and inability to access desired Web services.

Method used

An information processing apparatus that includes a receiving unit for HTTP requests, a transmitting unit for HTTP responses, a selecting unit that identifies cookies to be deleted, and a deletion processing unit that instructs the terminal to delete these cookies, thereby controlling the size of cookies stored in the terminal.

Benefits of technology

This solution effectively manages cookie sizes, preventing errors caused by large cookie transmissions and ensuring uninterrupted access to Web services by deleting cookies when their total data size exceeds a threshold.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025089554000001_ABST
    Figure 2025089554000001_ABST
Patent Text Reader

Abstract

To provide an information processing device, an information processing method, and a program that allows a user to control the size of cookies stored on a terminal.SOLUTION: An information processing device includes a receiving unit that receives, from a terminal, an HTTP request including a cookie stored in the terminal, a transmitting unit that transmits an HTTP response to the terminal, a selecting unit that, when a request is received from the terminal, selects a cookie to be deleted from among the cookies stored in the terminal, and a deletion processing unit that instructs the terminal to delete the cookie to be deleted selected by the selecting unit.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an information processing apparatus, an information processing method, and a program.

Background Art

[0002] A technique for managing the state between a Web server and a Web browser by storing a character string called a cookie in the Web browser is known. For example, Patent Document 1 discloses a behavior history analysis system that more accurately determines a behavior pattern by identifying and associating a user who has accessed the Internet with cookie information or the like.

Prior Art Documents

Patent Documents

[0003]

Patent Document 1

Summary of the Invention

Problems to be Solved by the Invention

[0004] With the increase in Web services and the like, various cookies are stored in the Web browser of the terminal. The cookies stored in the terminal are transmitted from the terminal to the Web server when the Web browser of the terminal accesses the Web server. However, if the data size of the cookies stored in the terminal is too large, the Web server will receive an HTTP (Hypertext Transfer Protocol) request containing a large number of cookies, and may return an error to the terminal. Thus, when an error is returned from the Web server, the terminal cannot receive the desired Web service.

[0005] Therefore, an object of the present invention is to provide an information processing apparatus, an information processing method, and a program that enable control of the size of cookies stored in a terminal.

Means for Solving the Problems

[0006] An information processing apparatus according to an aspect of the present invention includes a receiving unit that receives, from a terminal, an HTTP request including cookies stored in the terminal, a transmitting unit that transmits an HTTP response to the terminal, a selecting unit that selects, when a request is received from the terminal, cookies to be deleted from among the cookies stored in the terminal, and a deletion processing unit that instructs the terminal to delete the cookies to be deleted selected by the selecting unit.

Effects of the Invention

[0007] According to the present invention, it is possible to provide an information processing apparatus, an information processing method, and a program that enable control of the size of cookies stored in a terminal.

Brief Description of the Drawings

[0008]

Figure 1

Figure 2

Figure 3

Figure 4

Figure 5

Figure 6

Figure 7

Figure 8

Embodiments for Carrying Out the Invention

[0009] Embodiments of the present invention will be described with reference to the accompanying drawings. In each figure, those denoted by the same reference numerals have the same or similar configurations.

[0010] <System Configuration> FIG. 1 is a diagram showing an example of a Web system 1 according to the present embodiment. The Web system 1 includes a Web server 10 and a terminal 20. The terminal 20 can communicate with the Web server 10 via a communication network N.

[0011] The Web server 10 is a server that provides various Web sites. The Web sites provided by the Web server 10 are not particularly limited, and examples include an EC (Electronic Commerce) site, an online banking site, and a travel reservation site. Note that the Web server 10 may be realized by a plurality of servers.

[0012] The terminal 20 is a terminal operated by a user and includes various terminals equipped with a Web browser, such as a smartphone, a tablet terminal, a mobile phone, a personal computer (PC), a notebook PC, a personal digital assistant (PDA), and a home game device.

[0013] The Web server 10 issues a cookie to the terminal 20 that accesses the Web site as necessary. The issued cookie is stored in the terminal 20. When the terminal 20 accesses the same Web site again, the stored cookie is transmitted to the Web server 10. The Web server 10 can grasp the actions of the terminal 20 within the Web site based on the received cookie.

[0014] When issuing a cookie, the Web server 10 can specify the domain for which the cookie is valid. A cookie with a specified domain becomes valid for the specified domain and subdomains under the specified domain. On the other hand, if no domain is specified at the time of cookie issuance, the cookie becomes valid only for the domain where it was issued. For example, if cookie A with the domain xxx.com is stored on the terminal 20, the terminal 20 will send cookie A to the Web server 10 regardless of whether it accesses the Web site of xxx.com or the Web site of aaa.xxx.com. On the other hand, if cookie B issued by xxx.com without specifying a domain is stored on the terminal 20, the terminal 20 will send cookie B when accessing the Web site of xxx.com, but will not send cookie B when accessing the Web site of aaa.xxx.com.

[0015] Here, if the Web server 10 provides a large number of Web sites for the same domain and subdomains under the domain, and each Web site issues various cookies independently, a large number of cookies will be stored on the terminal 20. Also, when the terminal 20 accesses a Web site, the cookies that are valid for the domain of the Web site and subdomains under the domain will be sent to the Web server 10 all at once.

[0016] Since cookies are included in the headers of HTTP requests, if the amount of cookies to be sent is large, the header size will also increase. In addition, the Web server 10 may have a limit on the upper limit of the header size of the HTTP request. Therefore, when a large number of cookies are sent from the terminal 20, the Web server 10 determines that the header size exceeds the upper limit and returns an error, and the terminal 20 cannot access the website. In the present embodiment, in order to prevent such a situation, when the total data size of the cookies stored in the terminal is equal to or greater than the threshold value, the Web server 10 deletes the cookies stored in the Web browser of the terminal 20 so that the total data size of the cookies becomes equal to or less than the threshold value.

[0017] Next, when a large number of websites are provided under the same domain or subdomains under the domain, and each website issues various cookies independently, it is assumed that it becomes difficult to manage what kind of cookies are being issued by the entire Web server 10. In addition, since the content of the website is frequently updated due to service changes, etc., some of the cookies may include cookies that are no longer used. In such a situation, it is not easy for the administrator of the website to continuously and accurately grasp all the issued cookies. Therefore, the Web server 10 according to the present embodiment accumulates and analyzes the cookies included in the HTTP requests received from the plurality of terminals 20, and creates a database indicating what kind of cookies are issued from the Web server 10 and the data size of each cookie. As a result, for example, the administrator of the Web server 10 can centrally manage what kind of cookies are issued from the Web server 10 by referring to the database. In addition, the administrator can classify the issued cookies into deletable cookies and cookies that should not be deleted by, for example, confirming with the creators of each website.

[0018] <Hardware Configuration> FIG. 2 is a diagram showing an example of the hardware configuration of the Web server 10. The Web server 10 includes a processor 11 such as a CPU (Central Processing Unit) and a GPU (Graphical Processing Unit), a memory (for example, RAM or ROM), a storage device 12 such as an HDD (Hard Disk Drive) and / or an SSD (Solid State Drive), a network IF (Network Interface) 13 that performs wired or wireless communication, an input device 14 that receives an input operation, and an output device 15 that outputs information. The input device 14 is, for example, a keyboard, a touch panel, a mouse, and / or a microphone, etc. The output device 15 is, for example, a display, a touch panel, and / or a speaker, etc.

[0019] The Web server 10 may be configured from one or more physical servers or the like, may be configured using a virtual server operating on a hypervisor, or may be configured using a cloud server. The Web server 10 may be called an information processing device.

[0020] <Functional block configuration> FIG. 3 is a diagram showing an example of the functional block configuration of the Web server 10. The Web server 10 includes a storage unit 100, a receiving unit 101, a transmitting unit 102, a selection unit 103, a deletion processing unit 104, a collection unit 105, and an analysis unit 106. The storage unit 100 can be realized using a storage device 12 provided in the Web server 10. Further, the receiving unit 101, the transmitting unit 102, the selection unit 103, the deletion processing unit 104, the collection unit 105, and the analysis unit 106 can be realized by the processor 11 of the Web server 10 executing a program stored in the storage device 12. Further, the program can be stored in a storage medium. The storage medium storing the program may be a computer-readable non-transitory storage medium (Non-transitory computer readable medium). The non-transitory storage medium is not particularly limited, and may be, for example, a storage medium such as a USB (Universal Serial Bus) memory or a CD-ROM (Compact Disc Read-Only Memory).

[0021] The storage unit 100 stores a cookie list 100a that manages cookies to be deleted or not to be deleted, a log DB (Data Base) 100b that stores the history (log) of cookies deleted from the terminal 20, a cookie collection DB 100c that collects cookies received by the Web server 10 from the terminal 20, and a cookie management DB 100d that stores the results of analyzing the cookies collected in the cookie collection DB 100c. The cookie list 100a may be generated, for example, by an administrator of the Web server 10 based on the results of checking the data size and usage of the cookies recorded in the cookie management DB 100d. Note that the storage unit 100 may be realized by the storage units of a plurality of servers. For example, the cookie list 100a, the log DB 100b, the cookie collection DB 100c, and the cookie management DB 100d may be stored in separate servers, respectively.

[0022] The receiving unit 101 receives an HTTP request including cookies stored in the terminal 20 from the terminal 20.

[0023] The transmission unit 102 transmits an HTTP response to the HTTP request to the terminal 20. Further, the transmission unit 102 may transmit an HTTP response including a script. The script may cause the terminal 20 to execute a process of determining whether or not to make a cookie deletion request to the web server 10. The script may be called a program. Also, the script may be JavaScript (registered trademark).

[0024] Further, the transmission unit 102 may include "target information" indicating a target terminal and / or domain for which a cookie deletion request is to be made in the HTTP response and transmit it. Also, the script may cause the terminal 20 to determine whether or not to make a cookie deletion request based on the target information. Further, for each domain, the proportion of terminals for which a cookie deletion request is to be made is associated with the target information, and the script may cause the terminal 20 to determine whether or not to make a cookie deletion request based on the proportion when the domain specified in the HTTP request is included in the target information. The proportion may be a value (%) determined by an administrator or the like, for example.

[0025] When the selection unit 103 receives a cookie deletion request from the terminal 20 (more specifically, the script transmitted to the terminal 20), it selects a cookie to be deleted from among the cookies stored in the terminal 20.

[0026] The deletion processing unit 104 instructs the terminal 20 to delete the cookie to be deleted selected by the selection unit 103.

[0027] The collection unit 105 collects the cookies included in the HTTP requests received from a plurality of terminals 20 and stores them in the cookie collection DB 100c.

[0028] The analysis unit 106 analyzes the cookies collected by the collection unit 105 in the same cookie unit and stores the analysis results in the cookie management DB100d (database). In addition, the analysis unit 106 analyzes the minimum data size, average data size, and maximum data size of the cookies with the same name among the collected cookies and stores them in the cookie management DB100d.

[0029] FIG. 4 is a diagram showing an example of the cookie list 100a. As shown in A of FIG. 4, the cookie list 100a includes a deletion cookie list indicating cookies to be deleted and, as shown in B of FIG. 4, a non-deletion target cookie list (protect cookie) indicating cookies that are not targets for deletion. "Cookie name" and "domain" indicate the name of the cookie and the domain in which the cookie becomes valid. When the domain name starts with a dot ".", as in cookies Aa and Bb in FIG. 4, it indicates that the domain is specified and the cookie is valid for both the domain with the same name and the subdomains under that domain. On the other hand, when the domain name starts with a letter, as in cookie Cc in FIG. 4, it indicates that the domain is not specified and the cookie is valid only for the domain with the same name.

[0030] "Deletion target size" means the size of the cookie to be deleted. For example, in A of FIG. 4, the size of cookie Aa is described as 1 kbyte or more, which means that cookie Aa becomes a deletion target when the size of cookie Aa stored in the terminal 20 is 1 kbyte or more. Note that there are cookies with a fixed data size and cookies with a variable data size. Therefore, by specifying the "deletion target size", it is possible to target cookies for deletion only when the data size is equal to or greater than a predetermined size. On the other hand, by not specifying the "deletion target size", it is possible to target cookies for deletion regardless of the data size.

[0031] FIG. 5 shows an example of the cookie management DB 100d. "Cookie name" and "domain" are the same as those in FIG. 4. "Minimum size", "average size", and "maximum size" indicate the minimum size, average size, and maximum size of each cookie received by the web server 10 from the terminal 20 in the past. "Number of users" indicates the number of terminals 20 from which the web server 10 has received cookies during a predetermined period in the past (for example, in the past year). For example, in the example of FIG. 5, it means that the web server 10 has received the cookie KKt from 500,000 terminals 20 in the past.

[0032] <Processing procedure> FIG. 6 is a diagram showing an example of the processing procedure performed by the web system 1.

[0033] In step S10, when the web browser of the terminal 20 receives an instruction from the user to access a website provided by the web server 10, it sends an HTTP request including all cookies valid for the domain of the website and subdomains under the domain to the web server 10. The receiving unit of the web server 10 receives the HTTP request from the terminal 20.

[0034] In step S11, the collection unit 105 of the web server 10 stores the cookies received from the terminal 20 in the cookie collection DB 100c. Note that the analysis unit 106 may update the cookie management DB 100d by analyzing the data accumulated in the cookie collection DB 100c at regular intervals (for example, every month).

[0035] In step S12, the transmission unit 102 of the web server 10 sends an HTTP response including a script and target information to the terminal 20.

[0036] In step S13, the web browser of the terminal 20 executes the script included in the received HTTP response. The terminal 20 that has executed the script determines whether to execute a cookie deletion request based on the target information. If the terminal 20 determines to execute the cookie deletion request, it proceeds to the processing procedure of step S14. If the terminal 20 determines not to execute the cookie deletion request, it ends the process without proceeding to the processing procedure of step S14.

[0037] In step S14, the web browser of the terminal 20 sends an HTTP request including a cookie deletion request to the web server 10. Note that the HTTP request also includes all cookies that are valid for the domain of the website being accessed and subdomains under that domain. Note that the domain to be specified in the HTTP request may be embedded in the script in advance. Also, the domain to be specified in the HTTP request may be the top-level domain among the domains of the websites provided by the web server 10. Thereby, more cookies can be included in the HTTP request including the cookie deletion request. Also, sending an HTTP request including a cookie deletion request may be to call an API (Application Programming Interface) provided in the web server 10 for accepting a cookie deletion request.

[0038] In step S15, the selection unit 103 of the web server 10 selects one or more cookies to be deleted by comparing the cookie list 100a with all the cookies received in the processing procedure of step S14.

[0039] In step S16, the deletion processing unit 104 of the Web server 10 transmits an HTTP response including information instructing the deletion of the cookie selected in the processing procedure of step S15 to the terminal 20. Specifically, the information instructing the deletion of the cookie corresponds to information instructing to change the expiration date stored in the cookie to be deleted to a time in the past from the current time. Also, the deletion processing unit 104 of the Web server 10 records the cookie for which deletion has been instructed in the log DB 100b in association with the identifier of the terminal 20. The identifier of the terminal 20 is arbitrary. For example, a cookie issued to uniquely identify the terminal 20 may be used.

[0040] In step S17, the Web browser of the terminal 20 deletes the cookie whose expiration date has been changed to the past.

[0041] FIG. 7 is a flowchart showing an example of a processing procedure for determining whether or not the terminal 20 executes a cookie deletion request. The processing procedure in FIG. 7 corresponds to the processing procedure in step S13 in FIG. 6.

[0042] In step S100, the terminal 20 that has executed the script included in the HTTP response determines whether or not to execute a cookie deletion request by determining whether or not the terminal 20 itself is included in the target information included in the HTTP response. If the terminal 20 itself is included, it is determined that the cookie deletion request is to be executed, and the process proceeds to the processing procedure in step S101. If the terminal 20 itself is not included, it is determined that the cookie deletion request is not to be executed, and the process ends.

[0043] For example, the terminal 20 may determine whether or not its own identifier is included in the target information. Alternatively, the terminal 20 may determine that its own identifier is included in the target information when a numerical value obtained as a result of performing a predetermined operation on the identifier for uniquely identifying the terminal 20 is included in the target information.

[0044] Also, the terminal 20 that executes the script included in the HTTP response may determine whether to execute a cookie deletion request by determining whether the domain of the Web server 10 that sent the HTTP response is included in the target information. If the domain of the Web server 10 is included in the target information, the terminal 20 determines to execute a cookie deletion request and proceeds to the processing procedure of step S101. Also, if it is not included in the target information, the terminal 20 determines not to execute a cookie deletion request and ends the process. Note that, for each domain, the ratio of the terminals 20 that execute a cookie deletion request may be associated with the target information. For example, assume that 10% is associated as a ratio with the domain (XXX.com) of the target information. In this case, when the domain of the Web server 10 that sent the HTTP response is XXX.com, the terminal 20 may determine to execute a cookie deletion request with a probability of 10%.

[0045] In step S101, the terminal 20 sends an HTTP request including a cookie deletion request to the Web server 10.

[0046] FIG. 8 is a flowchart showing an example of a processing procedure in which the Web server 10 selects cookies to be deleted. The processing procedure of FIG. 8 corresponds to the processing procedure of step S15 in FIG. 6.

[0047] In step S200, the selection unit 103 of the Web server 10 acquires the cookies stored in the terminal 20. For example, the selection unit 103 of the Web server 10 acquires all the cookies included in the header of the HTTP request (step S14 in FIG. 6) including the cookie deletion request.

[0048] In step S201, the selection unit 103 of the Web server 10 determines whether the total data size of the cookies acquired in the processing procedure of step S200 is equal to or greater than a threshold value. If it is the threshold value, the process proceeds to the processing procedure of step S202. If it is less than the threshold value, it is determined that cookie deletion is unnecessary and the process ends. Note that the threshold value may be referred to as a first threshold value.

[0049] In step S202, the selection unit 103 of the Web server 10 selects the cookie to be deleted.

[0050] (Cookie Selection Method for Deletion Target) Subsequently, the selection unit 103 will explain a plurality of specific examples of how to select the cookie to be deleted. Note that the deletion methods described below can be arbitrarily combined.

[0051] [Deletion Method 1] If there is a cookie in the cookies stored in the terminal 20 that is included in the deletion cookie list (deletion target list), the selection unit 103 may select such a cookie as the cookie to be deleted. For example, if the cookie shown in A of FIG. 4 is included in the deletion cookie list, the selection unit 103 may select the cookie with the cookie name Aa, Bb, or Cc as the deletion target. Note that in deletion method 1, the cookie without the specification of "deletion target size" in the deletion cookie list may be selected as the cookie to be deleted. In this case, the selection unit 103 may select the cookie with the cookie name Cc as the deletion target.

[0052] [Deletion Method 2] If there is a cookie in the cookies stored in the terminal 20 that is included in the deletion cookie list (deletion target list) and the size of the cookie stored in the terminal 20 is equal to or greater than the "deletion target size" of the deletion cookie list, the selection unit 103 may select such a cookie as the cookie to be deleted. For example, if the size of the cookie Aa stored in the terminal 20 is 0.5 kbyte, the selection unit 103 does not select the cookie Aa as the deletion target. On the other hand, if the size of the cookie Aa stored in the terminal 20 is 1.5 kbyte, the selection unit 103 selects the cookie Aa as the deletion target.

[0053] [Deletion Method 3] The selection unit 103 may select, as cookies to be deleted, cookies among those stored in the terminal 20 that are not included in the non-deletion target list. For example, when the cookie shown in B of FIG. 4 is included in the non-deletion target cookie list, the selection unit 103 may select, as cookies to be deleted, among cookies other than the cookies Mm, Nn, and Pp.

[0054] [Deletion method 4] The selection unit 103 may select, as cookies to be deleted, among the cookies stored in the terminal 20, in descending order of data size, until the size of the cookies stored in the terminal 20 becomes equal to or less than a predetermined threshold when the cookies are deleted. Note that, in deletion method 4, the selection unit 103 may select, as cookies to be deleted, among cookies not included in the non-deletion target list.

[0055] Further, the selection unit 103 may select, as cookies to be deleted, according to the above-described deletion method 1 and / or 2, and may further execute the deletion method 4 when the size of the cookies stored in the terminal 20 exceeds a predetermined threshold when the selected cookies are deleted.

[0056] For example, assume that there are cookie A1, cookie A2, and cookie A3 in the terminal 20, and their data sizes are 100 bytes, 200 bytes, and 500 bytes, respectively. Also assume that the size of the cookies stored in the terminal 20 (more precisely, the size of the cookies that are valid for the domain of the website and the subdomains under the domain notified in the HTTP request among all the cookies stored in the terminal 20) is 5.5 kbyte. Also assume that the predetermined threshold is 5 kbyte. In this case, the selection unit 103 selects cookie A3 as a cookie to be deleted, but does not select cookie A1 and A2 as cookies to be deleted. Also assume that the size of the cookies stored in the terminal 20 is 5.7 kbyte. In this case, the selection unit 103 selects cookie A3 and A2 as cookies to be deleted, but does not select cookie A1 as a cookie to be deleted. The predetermined threshold may be referred to as a second threshold.

[0057] Further, the selection unit 103 may select cookies to be deleted in the order of deletion method 1, deletion method 2, and deletion method 4. For example, the selection unit 103 selects, according to the above-described deletion method 1, cookies in the deletion cookie list for which the deletion target size is not specified. Subsequently, when the size of the cookies stored in the terminal 20 exceeds a predetermined threshold when the cookies selected according to the selection method 1 are deleted, the selection unit 103 further selects, according to the deletion method 2, cookies in the deletion cookie list for which the deletion target size is specified as the cookies to be deleted. Subsequently, when the size of the cookies stored in the terminal 20 exceeds the predetermined threshold when the cookies selected by the deletion method 2 are deleted, the selection unit 103 further executes the deletion method 4.

[0058] <Summary> According to the embodiment described above, the Web server 10 can delete the cookies held by the terminal 20. As a result, it becomes possible to provide an information processing apparatus, an information processing method, and a program capable of controlling the size of the cookies stored in the terminal 20.

[0059] The embodiments described above are for facilitating the understanding of the present invention and are not for limiting and interpreting the present invention. The flowcharts, sequences, each element included in the embodiments, and their arrangements, materials, conditions, shapes, sizes, etc. described in the embodiments are not limited to those illustrated and can be changed as appropriate. Also, it is possible to partially replace or combine the configurations shown in different embodiments.

[0060] <Supplementary Note> (Supplementary Note 1) a receiving unit that receives, from the terminal, an HTTP request including cookies stored in the terminal; a transmitting unit that transmits an HTTP response to the terminal; a selection unit that selects, when a request is received from the terminal, cookies to be deleted from among the cookies stored in the terminal; A deletion processing unit that instructs the terminal to delete the cookie to be deleted selected by the selection unit; An information processing apparatus having

[0061] (Appendix 2) The transmission unit transmits the HTTP response including the program, When the selection unit receives the request from the program transmitted to the terminal, the selection unit selects the cookie to be deleted. The information processing apparatus according to Appendix 1.

[0062] (Appendix 3) The program causes the terminal to execute a process of determining whether the terminal makes the request. The information processing apparatus according to Appendix 2.

[0063] (Appendix 4) The transmission unit transmits the HTTP response including the target information indicating the target terminal and / or domain for which the request is made. The program causes the terminal to determine whether to make the request based on the target information. The information processing apparatus according to Appendix 3.

[0064] (Appendix 5) A ratio is associated with each domain in the target information, When the domain of the HTTP request is included in the target information, the program causes the terminal to determine whether to make the request based on the ratio. The information processing apparatus according to Appendix 4.

[0065] (Appendix 6) When the total data size of the cookies stored in the terminal is equal to or greater than a threshold value, the selection unit selects the cookie to be deleted from the cookies stored in the terminal. The information processing apparatus according to any one of Appendices 1 to 5.

[0066] (Appendix 7) When there is a cookie included in the deletion target list among the cookies stored in the terminal, the selection unit selects the cookie as a cookie to be deleted. The information processing apparatus according to any one of Appendices 1 to 6.

[0067] (Appendix 8) The selection unit selects, as the cookies to be deleted, the cookies among the cookies stored in the terminal that are not included in the non-deletion target list. The information processing apparatus according to any one of Appendices 1 to 7.

[0068] (Appendix 9) When deleting a cookie, the selection unit selects, in descending order of data size among the cookies stored in the terminal, the cookies to be deleted until the size of the cookies stored in the terminal becomes equal to or less than a predetermined threshold. The information processing apparatus according to any one of Appendices 1 to 8.

[0069] (Appendix 10) A collection unit that collects cookies included in HTTP requests received from a plurality of terminals; An analysis unit that analyzes the cookies collected by the collection unit in units of the same cookie and stores the analysis results in a database. The information processing apparatus according to any one of Appendices 1 to 9.

[0070] (Appendix 11) The analysis unit analyzes the minimum data size, average data size, and maximum data size of cookies with the same name for the collected cookies and stores them in the database. The information processing apparatus according to Appendix 10.

[0071] (Appendix 12) An information processing method executed by an information processing apparatus, Receiving, from a terminal, an HTTP request including cookies stored in the terminal; A step of sending an HTTP response to the terminal; When a request is received from the terminal, a step of selecting a cookie to be deleted from among the cookies stored in the terminal; A step of instructing the terminal to delete the selected cookie to be deleted; An information processing method including the above.

[0072] (Appendix 13) On a computer, A step of receiving, from a terminal, an HTTP request including cookies stored in the terminal; A step of sending an HTTP response to the terminal; When a request is received from the terminal, a step of selecting a cookie to be deleted from among the cookies stored in the terminal; A step of instructing the terminal to delete the selected cookie to be deleted; A program for causing the above to be executed.

Explanation of Reference Numerals

[0073] 1 Web system, 10 Web server, 11 Processor, 12 Storage device, 13 Network interface, 14 Input device, 15 Output device, 20 Terminal, 100 Storage unit, 100a Cookie list, 100b Log DB, 100c Cookie collection DB, 100d Cookie management DB, 101 Receiver, 102 Transmitter, 103 Selection unit, 104 Deletion processing unit, 105 Collection unit, 106 Analysis unit

Claims

1. A receiving unit that receives an HTTP request including a cookie stored in the terminal from the terminal; A transmission unit that transmits an HTTP response to the terminal; a selection unit that selects cookies to be deleted from among the cookies stored in the terminal when a request is received from the terminal; a deletion processing unit that instructs the terminal to delete the cookie to be deleted selected by the selection unit; having the selection unit selects the cookies to be deleted from among the cookies stored in the terminal based on a data size of the cookies stored in the terminal; Information processing device.

2. The selection unit selects, from among the cookies stored in the terminal, cookies that are not included in the list of cookies not to be deleted as the cookies to be deleted. The information processing device according to claim 1 .

3. A collection unit that collects cookies included in HTTP requests received from a plurality of terminals; and an analysis unit that analyzes the cookies collected by the collection unit on a per-cookie basis and stores the analysis results in a database. The information processing device according to claim 1 .

4. The analysis unit analyzes the minimum data size, average data size, and maximum data size of the collected cookies with the same name, and stores the results in the database. The information processing device according to claim 3 .

5. An information processing method executed by an information processing device, receiving an HTTP request from a terminal, the HTTP request including a cookie stored on the terminal; sending an HTTP response to the terminal; selecting a cookie to be deleted from among the cookies stored in the terminal when a request is received from the terminal; instructing the terminal to delete the selected cookie to be deleted; Including, the selecting step includes selecting the cookies to be deleted from among the cookies stored in the terminal based on a data size of the cookies stored in the terminal; Information processing methods.

6. On the computer, receiving an HTTP request from a terminal, the HTTP request including a cookie stored on the terminal; sending an HTTP response to the terminal; selecting a cookie to be deleted from among the cookies stored in the terminal when a request is received from the terminal; instructing the terminal to delete the selected cookie to be deleted; Run the command, the selecting step includes selecting the cookies to be deleted from among the cookies stored in the terminal based on a data size of the cookies stored in the terminal; program.

Citation Information

Patent Citations

  • Method and program for managing cookie information

    JP2005339454A

  • Information processing apparatus, control method of information processing apparatus, and program

    JP2020080042A

  • Method and system for managing cookies in web communications

    US20110072223A1

  • Web cookie virtualization

    US20170169100A1

  • Size based eviction implementation

    US7512737B2