WO2011105488A1 - ストレージ装置、サーバ装置、ストレージシステム、データベース装置、データの提供方法、及び、プログラム - Google Patents

ストレージ装置、サーバ装置、ストレージシステム、データベース装置、データの提供方法、及び、プログラム Download PDF

Info

Publication number
WO2011105488A1
WO2011105488A1 PCT/JP2011/054145 JP2011054145W WO2011105488A1 WO 2011105488 A1 WO2011105488 A1 WO 2011105488A1 JP 2011054145 W JP2011054145 W JP 2011054145W WO 2011105488 A1 WO2011105488 A1 WO 2011105488A1
Authority
WO
WIPO (PCT)
Prior art keywords
record
file
information
unit
latest
Prior art date
Application number
PCT/JP2011/054145
Other languages
English (en)
French (fr)
Inventor
福田 昌弘
尚志 城田
ロマン シュティフ
Original Assignee
楽天株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 楽天株式会社 filed Critical 楽天株式会社
Priority to EP11747448.6A priority Critical patent/EP2541422B1/en
Priority to US13/581,121 priority patent/US20120323966A1/en
Priority to CN201180010533.2A priority patent/CN102763089B/zh
Priority to ES11747448.6T priority patent/ES2694521T3/es
Publication of WO2011105488A1 publication Critical patent/WO2011105488A1/ja

Links

Images

Classifications

    • 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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures

Definitions

  • the present invention relates to a storage device, a server device, a storage system, a database device, a data providing method, and a program that function as a database cache.
  • Patent Document 1 As a system using a database, one described in Patent Document 1 below is known.
  • the database system described in Patent Document 1 has a data holding unit that caches data in the database. This data holding unit improves the response speed of the database and reduces the load on the database.
  • the data may be updated in the database. Therefore, a device that has acquired cached data from a database may need to inquire whether the data is the latest data stored in the database. It is required to reduce the load on the database for this inquiry.
  • An object of the present invention is to provide a storage device, a server device, a storage system, a database device, a data providing method, and a program that can reduce the load on the database device.
  • One embodiment of the present invention is a storage device that caches a plurality of records stored in a plurality of database devices.
  • a storage apparatus includes a record acquisition unit, a storage unit, a reception unit, a search unit, and a file transmission unit.
  • this storage device provides data stored in the database device. That is, the record acquisition unit acquires each of the plurality of records stored in the plurality of database devices as a file including a plurality of items included in the record.
  • the items included in the file are first information for identifying a record, second information indicating the newness of the record, and a database device storing the record among a plurality of database devices.
  • the third information is included.
  • the file has a file name that can be specified based on the first information.
  • the storage unit stores the file acquired by the record acquisition unit.
  • the receiving unit receives first information included in any of the records stored in the plurality of databases from the server device connected to the storage device.
  • a search part searches the file specified based on the 1st information received by the receiving part from a storage part.
  • the file transmission unit transmits the file searched by the search unit to the server device.
  • the computer may be operated as a storage device by a program that causes the computer to function as a record acquisition unit, a storage unit, a reception unit, a search unit, and a file transmission unit.
  • This storage device functions as a cache for the database device, contributing to a reduction in database load.
  • this storage device provides a file including the second information and the third information to the server device, the server device can provide the second information, only to the database device specified based on the third information, That is, it is possible to make an inquiry using information indicating the newness of the acquired record. This reduces the load on the database device that is not the target of the inquiry.
  • the database apparatus that has received the inquiry can determine whether or not the acquired data is the latest.
  • the server device includes an acquisition request reception unit, an acquisition request transmission unit, a file reception unit, a data transmission unit, a latest record request transmission unit, a response reception unit, and a latest data transmission unit.
  • the acquisition request receiving unit of the server apparatus receives an acquisition request for a record stored in a plurality of databases from the terminal and including the first information included in the record.
  • the acquisition request transmission unit of the server device transmits the first information included in the acquisition request received by the acquisition request reception unit of the server device to the storage device.
  • the file reception unit of the server apparatus receives a file transmitted from the file transmission unit of the storage apparatus in response to the first information transmitted by the acquisition request transmission unit of the server apparatus.
  • the file includes a plurality of items included in the record specified by the first information.
  • the item included in the file includes, in addition to the first information for identifying the record, second information indicating the novelty of the record, and a database storing the record among a plurality of database devices 3rd information for specifying a device is included.
  • the data transmission unit of the server device transmits the file received by the file reception unit of the server device or an item included in the file to the terminal.
  • the server device may further include a latest record request transmission unit, a response reception unit, and a latest data transmission unit.
  • the latest data is provided as described below. That is, the latest record request transmitting unit responds to a predetermined request from a terminal connected to the server device, and the database device specified based on the third information included in the file received by the file receiving unit, The latest record acquisition request including the first information and the second information included in the file is transmitted.
  • the database device that has received the latest record acquisition request is a record that includes the first information included in the latest record acquisition request and that is newer than the record specified by the second information included in the latest record acquisition request.
  • the response receiving unit When having a record, the response receiving unit receives the latest record from the database device as a file including an item included in the latest record. If the latest record does not exist, the response receiving unit receives information indicating that the latest record does not exist from the database device.
  • the latest data transmission unit transmits the file received by the response reception unit or the item included in the file to the terminal.
  • the program causes the computer to function as an acquisition request receiver, an acquisition request transmitter, a file receiver, a data transmitter, a latest record request transmitter, a response receiver, and a latest data transmitter.
  • the computer may be operated as a server device.
  • the program may further cause the computer to function as a latest record request transmission unit, a response reception unit, and a latest data transmission unit.
  • the server apparatus receives the record of the database apparatus from the storage apparatus as a file including the first information, the second information, and the third information. Therefore, the latest record can be inquired only by using the first information and the second information only to the database device specified based on the third information.
  • Another aspect of the present invention is a storage system including the storage device described above and the server device described above. This storage system can reduce the load on the database device.
  • a storage apparatus includes a record acquisition unit, a storage unit, an acquisition request reception unit, a search unit, and a data transmission unit.
  • This storage apparatus provides data as described below. That is, the record acquisition unit acquires each of the plurality of records stored in the plurality of database devices as a file including a plurality of items included in the record.
  • the items included in the file are first information for identifying a record, second information indicating the newness of the record, and a database device storing the record among a plurality of database devices.
  • the third information is included.
  • the file has a file name that can be specified based on the first information.
  • the storage unit stores the file acquired by the record acquisition unit.
  • the acquisition request receiving unit receives an acquisition request for a record stored in a plurality of databases from the terminal, the acquisition request including the first information of the record.
  • the search unit searches the file specified based on the first information included in the acquisition request received by the acquisition request reception unit from the storage unit.
  • the data transmission unit transmits a file searched by the search unit or a plurality of items included in the file to the terminal.
  • This storage device functions as a cache for the database device, contributing to a reduction in database load. Further, this storage apparatus can make an inquiry only to the database apparatus specified based on the third information using the second information, that is, information indicating the newness of the acquired record. This reduces the load on the database device that is not the target of the inquiry. In addition, the database apparatus that has received the inquiry can determine whether or not the acquired data is the latest.
  • the storage device may further include a latest record request transmission unit, a response reception unit, and a latest data transmission unit.
  • the storage apparatus of this embodiment can operate as described below. That is, the latest record request transmission unit is included in the file in the database device identified based on the third information included in the file searched by the search unit in response to a predetermined request transmitted from the terminal.
  • the latest record acquisition request including the first information and the second information is transmitted.
  • the database device that has received the latest record acquisition request is a record that includes the first information included in the latest record acquisition request and that is newer than the record specified by the second information included in the latest record acquisition request.
  • the response receiving unit receives the latest record from the database device as a file including an item included in the latest record. If the latest record does not exist, the response receiving unit receives information indicating that the latest record does not exist from the database device.
  • the latest data transmission unit transmits the file received by the response reception unit or a plurality of items included in the file to the terminal.
  • the computer may be operated as a storage device by a program that causes the computer to function as a code acquisition unit, a storage unit, an acquisition request reception unit, a search unit, and a data transmission unit.
  • the program may further cause the computer to function as a latest record request transmission unit, a response reception unit, and a latest data transmission unit.
  • Still another aspect of the present invention is a database device.
  • This database device is a database device that provides a record to an external device, and includes a storage unit, a file creation unit, and a file transmission unit.
  • the storage unit stores a record including a plurality of items.
  • the record includes first information for specifying the record and second information indicating the newness of the record.
  • the file creation unit creates a file including a plurality of items included in the record stored in the storage unit.
  • the file creation unit includes a file that can be specified based on the first information, including the first information and the second information in the record, and the third information for specifying the database device. Give a name.
  • the file transmission unit transmits the file created by the file creation unit to the storage device connected to the database device.
  • This database device provides a record as a file including third information for specifying the database device. Therefore, an external device that has received this file can make an inquiry only to the database device specified by the third information in the file.
  • the database device may include a latest record request receiving unit and a response unit.
  • the latest record request receiving unit receives the latest record request including the first information and the second information of the record stored in the storage unit from an external device.
  • the latest record request receiving unit includes, in the storage unit, a record that includes the first information included in the latest record request received by the latest record request receiving unit and is newer than the record specified by the second information. Is stored, a file including the item included in the latest record is created, and the file is transmitted to an external device.
  • the response unit transmits information indicating that the latest record does not exist to an external device. This database device can reduce the amount of information required for a response to an external device when it does not have the latest record to be transmitted to the external device.
  • the computer may be operated as a database device by a program that causes the computer to function as a storage unit, a file creation unit, and a file transmission unit.
  • the program may further cause the computer to function as a latest record request receiving unit and a response unit.
  • a storage device As described above, according to the present invention, there are provided a storage device, a server device, a storage system, a database device, a data providing method, and a program that can reduce the load on the database device.
  • FIG. 1 is a diagram showing a storage system according to an embodiment. It is a figure which shows the database apparatus of one Embodiment in detail. It is a figure which shows an example of the record stored in the storage part of a database apparatus. It is a figure which shows an example of the file produced by the file preparation part. It is a figure which shows an example of the record stored in the storage part of a database apparatus. It is a figure which shows an example of the file produced by the response part. It is a figure which shows the storage apparatus which concerns on one Embodiment. It is a figure which shows the server apparatus which concerns on one Embodiment. It is a figure which shows the flow of a process in the storage system of one Embodiment.
  • FIG. 3 is a diagram illustrating a configuration of a program that causes a computer to operate as a storage apparatus 42.
  • FIG. 1 is a diagram showing a storage system according to an embodiment.
  • the storage system 10 includes a storage device 12 and a server device 14.
  • the storage system 10 may further include a plurality of database devices 16.
  • the storage device 12, the server device 14, and the database device 16 are connected to each other via a network N1.
  • the connection of the storage device 12, the server device 14, and the database device 16 can take any connection form.
  • this connection can be realized by any connection such as the Internet, a local area network, and a leased line network.
  • the storage system 10 receives a request from the terminal 18 via the network N2, and provides the data stored in the database device 16 to the terminal 18 in response to the request.
  • the storage system 10 will be described according to an example of providing product data to the terminal 18.
  • the storage system 10 may provide arbitrary data other than the product data.
  • FIG. 2 is a diagram showing in detail the database apparatus according to the embodiment.
  • the database device 16 illustrated in FIG. 2 is a device that stores one or more records including a plurality of information items related to one or more products.
  • the database device 16 includes a storage unit 16a, a file creation unit 16b, and a file transmission unit 16c. In one embodiment, the database device 16 may further include a latest record request receiving unit 16d and a response unit 16e.
  • FIG. 3 is a diagram illustrating an example of a record stored in the storage unit of the database device.
  • the storage unit 16 a can store a record including a plurality of information items related to each product.
  • the record shown in FIG. 3 includes a type, ID (first information), version (second information), product name, description, retail price, and catalog price as information items.
  • the information item “type” is an information item for specifying the type of product, and the information item “type” in the record R1 shown in FIG. 3 includes information “jpitem”.
  • the information item “ID” is an information item that gives identification information of the record R1.
  • the record R1 includes identification information “340960930” as an ID.
  • the information item “version” is an information item that specifies the newness of the record. In the record R1, information “3” is included as a version.
  • the information item “product name” is an information item that specifies the name of the product. In the record R1, information “Hokkaido crab” is included as a product name.
  • the information item “explanation” is an information item that describes details of a product.
  • the information item “retail price” is an information item that specifies the retail price of the product.
  • information specifying an amount of “2980” is included as a retail price.
  • catalog price is an information item that specifies the catalog price of a product.
  • information specifying the amount of money “3500” is included as a catalog price.
  • the file creation unit 16b is a part that creates a file to be provided to the storage apparatus 12.
  • the file creation unit 16b creates a file based on the records stored in the storage unit 16a.
  • FIG. 4 is a diagram illustrating an example of a file created by the file creation unit.
  • the file creation unit 16b creates a file including information items in the records stored in the storage unit 16a.
  • the example shown in FIG. 4 shows the file F1 created by the file creation unit 16b, and shows the file F1 including the information item in the record R1 stored in the storage unit 16a.
  • the file creation unit 16b includes issuer information in this file.
  • This issuer information includes specific information (third information) for specifying the database device 16 having a record corresponding to the file.
  • the issuer information includes specific information “ba_unit_2”.
  • the file creation unit 16b gives a file name including an ID (first information) to the created file.
  • the file name “jpitem_340960930” including the ID “340960930” in part is given to the file F1.
  • this file name becomes a search key in the storage apparatus 12.
  • the file shown in FIG. 4 is a structured document file such as XML in which information is associated with tags such as type and ID. However, this file can be any type of file.
  • the file transmission unit 16 c is a part that transmits the file created by the file creation unit 16 b to the storage device 12.
  • the file creation unit 16b and the file transmission unit 16c create a file based on a new record or a changed record when a new record is registered in the storage unit 16a or an existing record is changed.
  • the file is transmitted to the storage device 12.
  • the latest record request receiving unit 16d receives the latest record acquisition request transmitted via the server device 14 when a predetermined request from the terminal occurs.
  • This latest record acquisition request is for requesting the latest record corresponding to the record provided to the storage apparatus 12. Therefore, the latest record acquisition request includes ID (first information), version (second information), and specific information.
  • FIG. 5 is a diagram showing an example of a record stored in the storage unit of the database device.
  • the updated record R2 of the record R1 is stored in the storage unit 16a after the file F1 corresponding to the record R1 shown in FIG.
  • the record R2 is not provided as a file to the storage apparatus 12 due to a delay until the file is provided to the storage apparatus 12.
  • the record R2 has a version “4” that is a value larger than the version “3” of the record R1. That is, the version of the record R2 indicates that the record R2 is newer than the record R1.
  • the retail price is updated with respect to the record R1.
  • the record R2 may be stored by overwriting the record R1 in the storage unit 16a.
  • the latest record R2 may be stored in the storage unit 16a so that the record R1 that is newer than that is overwritten.
  • This latest record acquisition request in the URL format includes specific information “ba_unit_2”, ID “340960930”, and version “3”. Therefore, this latest record acquisition request is received only by the database device specified by the specific information “ba_unit_2” among the plurality of database devices 16.
  • the response unit 16e is a record specified by the ID included in the latest record acquisition request in the storage unit 16a in response to the latest record request reception unit 16d receiving the latest record acquisition request, and depending on the version It is determined whether there is a latest record that is newer than the identified record.
  • the response unit 16e creates the above-described file based on the latest record. Then, the response unit 16e transmits the file to the server device 14.
  • the latest record does not exist, that is, when the record R2 illustrated in FIG. 5 does not exist
  • the response unit 16e transmits information indicating that the latest record does not exist to the server device 14. For example, in the case of the example of FIG.
  • the response unit 16e sends the file F2 corresponding to the record R2 (see FIG. 6). ) And send the file to the server device 14.
  • FIG. 7 is a diagram illustrating a storage apparatus according to an embodiment.
  • the storage device 12 is a device that caches data stored in the database device 16 and provides the cached data to the server device 14.
  • the storage apparatus 12 includes a record acquisition unit 12a, a storage unit 12b, a reception unit 12c, a search unit 12d, and a file transmission unit 12e.
  • the record acquisition unit 12a is a part that acquires a record stored in the database device 16 as a file. More specifically, the record acquisition unit 12a acquires the above-described file (for example, see the file F1 in FIG. 4 or the file F2 in FIG. 6) transmitted by the file transmission unit 16c of the database device 16, and the file Is stored in the storage unit 12b. As described above, since a file is given a file name specified by an ID in a record corresponding to the file, files created from records having the same ID have the same file name. Therefore, the existing file in the storage unit 12b is overwritten by a file having the same file name transmitted later.
  • the receiving unit 12 c receives the ID transmitted from the server device 14.
  • the search unit 12d searches the storage unit 12b for a file having a file name specified by the ID. For example, when the receiving unit 12c receives the ID “340960930”, the searching unit 12d searches for a file including “340960930” in the file name. In this case, if the file F1 shown in FIG. 4 is stored in the storage unit 12b, the search unit 12d searches the file F1 because the ID “340960930” is included in the file name “jpitem_340960930” of the file F1. can do.
  • the file transmission unit 12e transmits the file searched by the search unit 12d to the server device 14.
  • FIG. 8 is a diagram illustrating a server device according to an embodiment.
  • the server device 14 is a web server that provides a web page for ordering goods to the terminal 18 and processes a request transmitted from the terminal 18 based on an input at the terminal 18 for the web page. To do.
  • the server device 14 may further include a request reception unit 14f, a latest record request transmission unit 14g, a response reception unit 14h, and a latest data transmission unit 14i.
  • the acquisition request receiving unit 14 a receives an acquisition request for data related to the product selected by the terminal 18 on the web page provided from the server device 14 to the terminal 18.
  • this acquisition request is a request for a record stored in the database device 16 and corresponding to the selected product.
  • This acquisition request includes the first information that is the ID of the product, that is, the ID of the record stored in the database device 16.
  • the acquisition request is “http://shop1.rakuten.jp/item/340960930” in the URL format including the ID “340960930” of the record R1.
  • And can take the form of
  • the acquisition request transmission unit 14b transmits the ID included in the acquisition request to the storage device 12 in response to the acquisition request reception unit 14a receiving the acquisition request.
  • This ID is “340960930” when the above URL format acquisition request has been received.
  • the ID transmitted by the acquisition request transmission unit 14b is received by the reception unit 12c of the storage apparatus 12.
  • the file reception unit 14c receives the file transmitted from the file transmission unit 12e of the storage apparatus 12 in response to the transmission of the ID from the acquisition request transmission unit 14b, and stores the file in the storage unit 14d. For example, when the acquisition request transmission unit 14b transmits the ID “340960930” to the storage device 12, the file F1 illustrated in FIG. 4 is provided from the storage device 12, and the file reception unit 14c stores the file F1 in the storage unit 14d. To store.
  • the storage unit 14d can store the file received by the file receiving unit 14c in the shopping cart for the terminal 18. This shopping card registers various data (for example, files) in association with information specifying the user of the terminal 18.
  • the data transmission unit 14e transmits the file received by the file reception unit 14c or the data included in the file to the terminal 18 that transmitted the acquisition request.
  • the data transmission unit 14e can provide the terminal 18 with information items of products included in the file.
  • the request receiving unit 14 f receives a predetermined request from the terminal 18.
  • the predetermined request include a request transmitted from the terminal 18 when the terminal 18 purchases (checks out) a product corresponding to the file stored in the corresponding shopping cart, and the terminal 18 There is a request transmitted from the terminal 18 when obtaining the latest version of the record corresponding to the file stored in the shopping cart.
  • This issuer information includes specific information “ba_unit_2” for specifying the database device 16 having the file F1, ID “340960930” in the file F1, and version “3” in the file F1.
  • the latest record request transmission unit 14 g transmits the created latest record acquisition request to the specific database device 16. That is, since the issuer information includes specific information, only the database device 16 specified by the specific information is a processing target for responding to the latest record acquisition request.
  • the response reception unit 14h receives a response transmitted from the database device 16 in response to the latest record acquisition request transmitted by the latest record request transmission unit 14g.
  • This response is based on the latest record when there is a newest record that is newer than the record (newness) specified by the version that includes the ID included in the sent latest record acquisition request. It is a file created by the database device 16.
  • the latest record does not exist in the database device 16 that is, a record that includes the ID included in the transmitted latest record acquisition request and is newer than the record (newness) specified by the version is stored in the database. If the device 16 does not exist, information indicating that the latest record does not exist, for example, information “NotModify” is returned from the database device 16 as a response.
  • the response receiving unit 14h When receiving the file, the response receiving unit 14h overwrites the old file corresponding to the file with this file.
  • the database device 16 may transmit information items in records instead of files. In this case, the response receiving unit 14h updates the existing corresponding file using the transmitted information item.
  • the latest data transmitting unit 14 i transmits the file or the information item in the file to the terminal 18. Thereby, the terminal 18 is provided with the latest data relating to the product.
  • FIG. 9 is a diagram illustrating a flow of processing in the storage system according to the embodiment. Reference is now made to FIG.
  • the file creation unit 16b uses the above-described file (for example, File F1 in FIG. 4 or file F2 in FIG. 6).
  • the file transmission unit 16c transmits the file to the storage device 12.
  • step S13 the record acquisition unit 12a of the storage device 12 receives the file transmitted by the file transmission unit 16c, and stores the file in the storage unit 12b. With the above operation, the storage apparatus 12 caches the record stored in the database apparatus 16.
  • a record acquisition request is transmitted from the terminal 18 at a certain point in time.
  • the acquisition request is for requesting the data of the product with the ID “340960930”
  • acquisition of “http://shop1.rakuten.jp/item/340960930” from the terminal 18 A request is sent.
  • the acquisition request receiving unit 14a of the server device 14 receives the acquisition request.
  • the acquisition request transmission unit 14b transmits the ID included in the acquisition request to the storage device 12 in step S16.
  • the acquisition request transmission unit 14 b transmits the ID “340960930” to the storage device 12.
  • step S ⁇ b> 17 the receiving unit 12 c of the storage device 12 receives the ID transmitted from the acquisition request transmitting unit 14 b of the server device 14.
  • the search unit 12d searches the storage unit 12b for a file having the file name specified by the ID. For example, when the ID is “340960930” and the file F1 is stored in the storage unit 12b, the file F1 having the file name “jpitem_340960930” is searched.
  • the file transmission unit 12e transmits the file searched by the search unit 12d to the server device 14.
  • the file reception unit 14c of the server device 14 receives the file in step S20.
  • this file is stored in the storage unit 14d in association with information for specifying the terminal 18 that has transmitted the acquisition request in step S14.
  • the data transmission unit 14e transmits the data to the terminal 18. More specifically, the data transmission unit 14e transmits the file received by the file reception unit 14c or the information item in the file to the terminal 18.
  • a predetermined request as described above is transmitted from the terminal 18 to the server device 14 as shown in step S22.
  • the request receiving unit 14f of the server device 14 receives the predetermined request in subsequent step S23.
  • the response reception unit 14h of the server device 14 receives the response in subsequent step S27.
  • the response receiving unit 14h stores (overwrites) the file in the storage unit 14d.
  • the latest data transmitting unit 14i of the server device 14 transmits the latest data to the terminal 18 in the subsequent step S28. That is, the latest file or the information item in the file is transmitted to the terminal 18.
  • data is requested from the storage device 12 instead of the database device 16 except when an important event such as checkout occurs. Therefore, the load on the database device 16 is reduced. Further, when an important event such as checkout occurs, the latest data is acquired from the database device 16. Further, as described above, when acquiring the latest data, only a specific database device 16 is inquired. Therefore, the load on the database device that is not the target of the inquiry is reduced. Therefore, it is possible to obtain the latest data while reducing the load on the database device 16.
  • a file including a plurality of item information in a record stored in the database device 16 is stored in the storage device 12.
  • Each file contains not only information such as the ID and price of the corresponding record, but also version information indicating the newness of the record when the file was created and the latest information of the record corresponding to the file in any database device. Contains publisher information indicating whether it is stored. Therefore, even if the storage device 12 is connected to a plurality of database devices, it can be known from the data (file) cached in the storage device 12 which database device has a record to be queried, and the storage device The new information of the record (file) held in 12 can be compared with the newness of the record stored in the database device 16 by the version information. Therefore, in the storage apparatus 12, it is possible to perform caching with consistency in data freshness while reducing the load on the database apparatus 16.
  • the server device 14 can make inquiries to the specific database device 16 as the inquiry destination with the information of the newness of the data. It is possible to make an inquiry to the storage destination database device. Furthermore, since the newness of the data can be known only by the version information without acquiring various other information, if the server device 14 already has the latest data, the data is read from the database device 16. It is possible to realize a process of not acquiring / transmitting. Therefore, the amount of data during transmission can be reduced.
  • the storage device 12 Since the storage device 12 has the cache data in a file, even if the configuration (table configuration) in the database device changes, only the contents to be written to the file need be changed, which is versatile. That is, for example, if the storage device 12 has cache data in a table, if the way the database device 16 holds the table changes, the storage device 12 must be changed accordingly. Such problems are unlikely to occur.
  • FIG. 10 is a diagram illustrating a configuration of a computer according to an embodiment.
  • FIG. 11 is a perspective view of a computer according to a unique embodiment.
  • the computer 100 stores a reading device 112 such as a floppy disk drive device, a CD-ROM drive device, a DVD drive device, a working memory (RAM) 114 in which an operating system is resident, and a program stored in the recording medium 110. And a display device 118 such as a display, a mouse 120 and a keyboard 122 as input devices, a communication device 124 for transmitting and receiving data and the like, and a CPU 126 for controlling execution of a program.
  • the computer 100 can access the program stored in the recording medium 110 from the reading device 112, and can operate the computer 100 according to the program.
  • 10 and 11 are merely examples, and any type of computer can be operated as the database device 16, the storage device 12, or the server device 14.
  • the program may be provided via a network as a computer data signal 140 superimposed on a carrier wave.
  • FIG. 12 is a diagram showing a configuration of a program P16 that causes the computer to operate as the database device 16.
  • the program P16 illustrated in FIG. 12 may include a control module P16x, a storage module P16a, a file creation module P16b, a file transmission module P16c, a latest record request reception module P16d, and a response module P16e.
  • the control module P16x supervises processing performed by other modules in the program P16.
  • the functions that the storage module P16a, the file creation module P16b, the file transmission module P16c, the latest record request reception module P16d, and the response module P16e cause the computer 100 to execute are the storage unit 16a, the file creation unit 16b, the file transmission unit 16c, and the latest The function is the same as each of the record request receiving unit 16d and the response unit 16e.
  • FIG. 13 is a diagram showing a configuration of a program P12 that causes a computer to operate as the storage apparatus 12.
  • the program P12 illustrated in FIG. 13 may include a control module P12x that controls processing, a record acquisition module P12a, a storage module P12b, a reception module P12c, a search module P12d, and a file transmission module P12e.
  • the functions that the computer 100 executes by the record acquisition module P12a, storage module P12b, reception module P12c, search module P12d, and file transmission module P12e are the record acquisition unit 12a, storage unit 12b, reception unit 12c, search unit 12d, and file transmission unit The function is the same as 12e.
  • FIG. 14 is a diagram showing a configuration of a program P14 that causes a computer to function as the server device 14.
  • the program P14 shown in FIG. 14 includes a control module P14x that controls processing, an acquisition request reception module P14a, an acquisition request transmission module P14b, a file reception module P14c, a storage module P14d, a data transmission module P14e, a request reception module P14f, and the latest record request.
  • a transmission module P14g, a response reception module P14h, and a latest data transmission module P14i may be provided.
  • Acquisition request reception module P14a, acquisition request transmission module P14b, file reception module P14c, storage module P14d, data transmission module P14e, request reception module P14f, latest record request transmission module P14g, response reception module P14h, latest data transmission module P14i are computers
  • the functions to be executed by 100 include an acquisition request receiving unit 14a, an acquisition request transmitting unit 14b, a file receiving unit 14c, a storage unit 14d, a data transmitting unit 14e, a request receiving unit 14f, a latest record request transmitting unit 14g, a response receiving unit 14h,
  • the functions are the same as those of the latest data transmitter 14i.
  • FIG. 15 is a diagram showing a storage system according to another embodiment.
  • a storage system 40 shown in FIG. 15 includes a storage device 42 having the functions of the storage device 12 and the server device 14 described above.
  • FIG. 16 is a diagram showing a storage apparatus according to another embodiment. 16 includes a record acquisition unit 42a, a storage unit 42b, an acquisition request reception unit 42c, a search unit 42d, a data transmission unit 42e, a request reception unit 42f, a latest record request transmission unit 42g, a response reception unit 42h, And the latest data transmission part 42i may be provided.
  • the record acquisition unit 42a acquires a file from the database device 16 in the same manner as the record acquisition unit 12a of the storage device 12, and stores the file in the storage unit 42b.
  • the acquisition request receiving unit 42 c receives an acquisition request from the terminal 18, similarly to the acquisition request receiving unit 14 a of the server device 14.
  • This acquisition request can take the form of a URL format, for example, “http://shop1.rakuten.jp/item/340960930”, as with the acquisition request received by the acquisition request receiver 14a.
  • the search unit 42c searches the storage unit 42b for a file specified based on the ID included in the acquisition request. For example, when the acquisition request is “http://shop1.rakuten.jp/item/340960930” and the file F1 is stored in the storage unit 42b, the acquisition request includes the ID “340960930”. Therefore, the search unit 42c can search for the file F1 by specifying the file name “jpitem_340960930” based on the ID. If the acquisition request is generated when a product is selected, the search unit 42c can store the searched file in the shopping cart for the terminal 18 in the storage unit 42b.
  • the data transmission unit 42e receives the file searched by the search unit 42c, and transmits the file or the information item in the file to the terminal 18 in the same manner as the data transmission unit 14e of the server device 14.
  • the request reception unit 42 f receives a predetermined request from the terminal 18, similarly to the request reception unit 14 f of the server device 14.
  • the latest record request transmission unit 42g transmits the latest record acquisition request to the database device 16 in response to the request reception unit 42f receiving a predetermined request, similarly to the latest record request transmission unit 14g of the server device 14.
  • the response receiving unit 42h indicates a response returned from the database device 16 in response to the latest record acquisition request, that is, the latest file or the latest file does not exist. Information (eg, “NotModify”) is received.
  • the response receiving unit 42h overwrites the file corresponding to the latest file among the existing files stored in the storage unit 42b with the latest file.
  • the latest data transmission unit 42 i sends the latest file or the information item in the latest file to the terminal 18 when the latest file is obtained. Send.
  • FIG. 17 is a diagram showing the flow of processing in the storage system 40. In the following, reference is made to FIG.
  • step S41 a file is created in the database device 16 as in step S11.
  • the file created from the database device 16 to the storage device 42 is transmitted as in step S12.
  • the record acquisition unit 42a of the storage device 42 receives the file transmitted from the database device 16 and stores the file in the storage unit 42b as in step S13.
  • an acquisition request is transmitted from the terminal 18 as in step S14.
  • the acquisition request can take a URL format such as “http://shop1.rakuten.jp/item/340960930”, for example.
  • step S45 as in step S15, the acquisition request receiving unit 42c of the storage apparatus 42 receives the acquisition request transmitted from the terminal 18.
  • the search unit 42d stores the file having the file name specified based on the ID included in the acquisition request in the same manner as in step S18. Search from.
  • the retrieved file is associated with information for specifying the terminal 18. That is, it is registered in the shopping cart for the terminal 18.
  • the data transmission unit 42e transmits the file or the information item included in the file to the terminal 18 as in step S21.
  • this request is transmitted from the terminal 18 as shown in step S52.
  • this request may be a request such as a checkout or a request for updating to the latest data.
  • the request receiving unit 42f of the storage apparatus 42 receives this request in the subsequent step S53.
  • the request reception unit 42f receives a predetermined request
  • the latest record request transmission unit 42g creates the latest record acquisition request and sends the latest record acquisition request to the database device 16 as in step S42. And send.
  • step S55 as in step S25, the latest record request receiving unit 16d of the database device 16 receives the latest record acquisition request.
  • step S56 as in step S26, the response unit 16e of the database device 16 transmits a file based on the latest record or information indicating that the latest record does not exist to the storage device 42.
  • step S57 the response receiving unit 42h of the storage device 42 receives the response from the response unit 16e of the database device 16.
  • the response is a file
  • the existing file corresponding to the file is overwritten by the file in the storage unit 42b.
  • step S58 when the response is a file, the latest data transmission unit 42i of the storage device 42 transmits the file or the information item in the file to the terminal 18.
  • the storage system 40 also provides data to the terminal 18 from the storage device 12 instead of the database device 16 except when an important event such as checkout occurs. Therefore, the load on the database device 16 is reduced. Further, when an important event such as checkout occurs, the latest data is acquired from the database device 16. Further, as described above, when acquiring the latest data, only a specific database device 16 is inquired. Therefore, it is possible to acquire the latest data while reducing the load on the database device 16.
  • the storage device 42 stores a file containing version information and issuer information in a record stored in the database device 16. Therefore, in the storage device 42, it is possible to perform caching with consistency in data freshness while reducing the load on the database device 16.
  • the storage device 42 can make inquiries to the specific database device 16 to which the inquiry is made with information on the newness of the data. It is possible to make an inquiry to the storage destination database device. Furthermore, the amount of data during transmission can be reduced.
  • the storage device 42 since the storage device 42 has the cache data in a file, even if the configuration (table configuration) in the database device is changed, only the contents to be written to the file need be changed, which is versatile.
  • FIG. 18 is a diagram illustrating a configuration of a program that causes a computer to operate as the storage apparatus 42.
  • the program P42 shown in FIG. 18 can be provided by being stored in the recording medium 110.
  • the program P42 may be provided via a network as a computer data signal 140 superimposed on a carrier wave.
  • the program P42 includes a control module P42x that controls processing, a record acquisition module P42a, a storage module P42b, an acquisition request reception module P42c, a search module P42d, a data transmission module P42e, a request reception module P42f, and the latest record.
  • a request transmission module P42g, a response reception module P42h, and a latest data transmission module P42i may be provided.
  • Record acquisition module P42a storage module P42b, acquisition request reception module P42c, search module P42d, data transmission module P42e, request reception module P42f, latest record request transmission module P42g, response reception module P42h, latest data transmission module P42i
  • the functions to be implemented are: record acquisition unit 42a, storage unit 42b, acquisition request reception unit 42c, search unit 42d, data transmission unit 42e, request reception unit 42f, latest record request transmission unit 42g, response reception unit 42h, latest data transmission unit
  • Each function is the same as 42i.
  • the present invention is not limited to these embodiments, and various modifications can be made.
  • the provided data is product data.
  • the idea of the present invention can be applied to data related to an arbitrary object other than the product.
  • the record of the database device may include information items such as coupon information about the product.
  • SYMBOLS 10 Storage system, 12 ... Storage apparatus, 12a ... Record acquisition part, 12b ... Storage part, 12c ... Reception part, 12d ... Search part, 12e ... File transmission part, 14 ... Server apparatus, 14a ... Acquisition request reception part, 14b ... acquisition request transmission unit, 14c ... file reception unit, 14d ... storage unit, 14e ... data transmission unit, 14f ... request reception unit, 14g ... latest record request transmission unit, 14h ... response reception unit, 14i ... latest data transmission unit, DESCRIPTION OF SYMBOLS 16 ... Database apparatus, 16a ... Storage part, 16b ... File creation part, 16c ... File transmission part, 16d ...

Landscapes

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

Abstract

 一実施形態に係るストレージ装置では、レコード取得部が、複数のデータベース装置に格納された複数のレコードのそれぞれを、当該レコードに含まれる複数のアイテムを含むファイルとして取得する。ファイル内のアイテムは、レコードを特定するための第1の情報、当該レコードの新しさを示す第2の情報、当該レコードを格納しているデータベース装置を特定するための第3の情報を含む。ファイルは、第1の情報に基づいて特定し得るファイル名を有する。格納部が、上記ファイルを格納する。受信部が、サーバ装置から、複数のデータベースに格納された何れかのレコードに含まれる第1の情報を受信する。検索部が、格納部から、受信部によって受信された第1の情報に基づいて特定されるファイルを検索する。ファイル送信部が、サーバ装置に、検索部によって検索されたファイルを送信する。

Description

ストレージ装置、サーバ装置、ストレージシステム、データベース装置、データの提供方法、及び、プログラム
 本発明は、データベースのキャッシュとして機能するストレージ装置、サーバ装置、ストレージシステム、データベース装置、データの提供方法、及び、プログラムに関するものである。
 データベースを用いたシステムとして、下記の特許文献1に記載されたものが知られている。特許文献1に記載されたデータベースシステムは、データベース内のデータをキャッシュするデータ保持部を有している。このデータ保持部により、データベースのレスポンスの速度向上、データベースの負荷軽減が図られている。
特開2009-265840号公報
 ところで、データベースからデータがキャッシュされた後に、データベースにおいて当該データが更新されることがある。したがって、データベースからキャッシュされたデータを取得した装置は、当該データがデータベースに格納されている最新のデータであるか否かを問い合わせる必要が生じ得る。この問い合わせに対するデータベースの負荷を軽減することが要請されている。
 本発明は、データベース装置の負荷を軽減し得るストレージ装置、サーバ装置、ストレージシステム、データベース装置、データの提供方法、及び、プログラムを提供することを目的としている。
 本発明の一態様は、複数のデータベース装置に格納された複数のレコードをキャッシングするストレージ装置である。
 一実施形態に係るストレージ装置は、レコード取得部、格納部、受信部、検索部、及び、ファイル送信部を備える。このストレージ装置は、以下に説明するように、データベース装置に格納されたデータを提供する。即ち、レコード取得部が、複数のデータベース装置に格納された複数のレコードのそれぞれを、当該レコードに含まれる複数のアイテムを含むファイルとして取得する。ファイル内に含まれるアイテムは、レコードを特定するための第1の情報、当該レコードの新しさを示す第2の情報、複数のデータベース装置のうち当該レコードを格納しているデータベース装置を特定するための第3の情報を含む。ファイルは、第1の情報に基づいて特定し得るファイル名を有している。格納部が、レコード取得部によって取得されたファイルを格納する。受信部が、ストレージ装置に接続されたサーバ装置から、複数のデータベースに格納された何れかのレコードに含まれる第1の情報を受信する。検索部が、格納部から、受信部によって受信された第1の情報に基づいて特定されるファイルを検索する。ファイル送信部が、サーバ装置に、検索部によって検索されたファイルを送信する。
 一実施形態においては、コンピュータをレコード取得部、格納部、受信部、検索部、及び、ファイル送信部として機能させるプログラムにより、当該コンピュータをストレージ装置として動作させてもよい。
 本ストレージ装置は、データベース装置のキャッシュとして機能するので、データベースの負荷の削減に寄与する。また、このストレージ装置は、第2の情報と第3の情報を含むファイルをサーバ装置に提供するので、サーバ装置は、第3の情報に基づき特定されるデータベース装置にのみ、第2の情報、即ち、取得したレコードの新しさを示す情報を用いて問い合わせすることが可能となる。これにより、問い合わせの対象でないデータベース装置の負荷が削減される。また、問い合わせを受けたデータベース装置では、取得されたデータが最新のものか否かを判断することが可能となる。
 本発明の別の一態様は、複数のデータベース装置に格納された複数のレコードをキャッシングするストレージ装置及び当該複数のデータベース装置に接続されたサーバ装置である。このサーバ装置は、サーバ装置は、取得要求受信部、取得要求送信部、ファイル受信部、データ送信部、最新レコード要求送信部、応答受信部、及び、最新データ送信部を備える。サーバ装置の取得要求受信部は、端末から、複数のデータベースに格納されたレコードに対する取得要求であって当該レコードに含まれる第1の情報を含む取得要求を受信する。サーバ装置の取得要求送信部は、当該サーバ装置の取得要求受信部によって受信された取得要求に含まれる第1の情報をストレージ装置に送信する。サーバ装置のファイル受信部は、当該サーバ装置の取得要求送信部によって送信された第1の情報に応答してストレージ装置のファイル送信部から送信されるファイルを受信する。当該ファイルは第1の情報によって特定されるレコードに含まれる複数のアイテムを含む。当該ファイル内に含まれるアイテムは、該レコードを特定するための第1の情報に加え、該レコードの新しさを示す第2の情報、及び複数のデータベース装置のうち該レコードを格納しているデータベース装置を特定するための第3の情報を含む。サーバ装置のデータ送信部は、当該サーバ装置のファイル受信部によって受信されたファイル又は当該ファイル内に含まれるアイテムを端末に送信する。
 一実施形態においては、サーバ装置は、最新レコード要求送信部、応答受信部、及び、最新データ送信部を更に備え得る。本一実施形態のサーバ装置では、以下に説明するように最新のデータが提供される。即ち、最新レコード要求送信部が、サーバ装置に接続された端末からの所定の要求に応答して、ファイル受信部によって受信されたファイルに含まれる第3の情報に基づき特定されるデータベース装置に、当該ファイルに含まれる第1の情報及び第2の情報を含む最新レコード取得要求を送信する。最新レコード取得要求を受信したデータベース装置が、当該最新レコード取得要求に含まれる第1の情報を含むレコードであって当該最新レコード取得要求に含まれる第2の情報によって特定されるレコードより新しい最新のレコードを有する場合に、応答受信部が、データベース装置から当該最新のレコードを、当該最新のレコードに含まれるアイテムを含むファイルとして受信する。最新のレコードが存在しない場合には、応答受信部が、データベース装置から、最新のレコードが存在しないことを示す情報を受信する。最新データ送信部が、応答受信部によって受信されたファイル又は当該ファイル内に含まれるアイテムを端末に送信する。
 一実施形態においては、コンピュータを、取得要求受信部、取得要求送信部、ファイル受信部、データ送信部、最新レコード要求送信部、応答受信部、及び、最新データ送信部として、機能させるプログラムにより、当該コンピュータをサーバ装置として動作させてもよい。また、更に別の一実施形態では、プログラムは、当該コンピュータを、最新レコード要求送信部、応答受信部、及び、最新データ送信部として更に機能させてもよい。
 本サーバ装置は、データベース装置のレコードを、第1の情報、第2の情報、及び、第3の情報を含むファイルとして、ストレージ装置から受信する。したがって、第3の情報に基づき特定されるデータベース装置にのみ、第1の情報及び第2の情報を用いて最新のレコードの問い合わせを行うことができる。
 本発明の別の一態様は、上述したストレージ装置と、上述したサーバ装置とを含むストレージシステムである。本ストレージシステムは、データベース装置の負荷を軽減することができる。
 本発明の別の一実施形態に係るストレージ装置は、レコード取得部、格納部、取得要求受信部、検索部、及びデータ送信部を備える。このストレージ装置は、以下に説明するようにデータを提供する。即ち、レコード取得部が、複数のデータベース装置に格納された複数のレコードのそれぞれを、当該レコードに含まれる複数のアイテムを含むファイルとして取得する。ファイル内に含まれるアイテムは、レコードを特定するための第1の情報、当該レコードの新しさを示す第2の情報、複数のデータベース装置のうち当該レコードを格納しているデータベース装置を特定するための第3の情報を含む。当該ファイルは、第1の情報に基づいて特定し得るファイル名を有している。格納部が、レコード取得部によって取得されたファイルを格納する。取得要求受信部が、端末から、複数のデータベースに格納されたレコードに対する取得要求であって、当該レコードの第1の情報を含む取得要求を受信する。検索部が、格納部から、取得要求受信部によって受信された取得要求に含まれる第1の情報に基づいて特定されるファイルを検索する。データ送信部が、端末に、検索部によって検索されたファイル、又は、当該ファイル内に含まれる複数のアイテムを送信する。
 本ストレージ装置は、データベース装置のキャッシュとして機能するので、データベースの負荷の削減に寄与する。また、このストレージ装置は、第3の情報に基づき特定されるデータベース装置にのみ、第2の情報、即ち、取得したレコードの新しさを示す情報を用いて問い合わせすることができる。これにより、問い合わせの対象でないデータベース装置の負荷が削減される。また、問い合わせを受けたデータベース装置では、取得されたデータが最新のものか否かを判断することが可能となる。
 一実施形態においては、ストレージ装置は、最新レコード要求送信部、応答受信部、及び、最新データ送信部を更に備え得る。この実施形態のストレージ装置は、以下に説明するように、動作し得る。即ち、最新レコード要求送信部が、端末から送信される所定の要求に応答して、検索部によって検索したファイルに含まれる第3の情報に基づいて特定されるデータベース装置に、当該ファイルに含まれる第1の情報及び第2の情報を含む最新レコード取得要求を送信する。最新レコード取得要求を受信したデータベース装置が、当該最新レコード取得要求に含まれる第1の情報を含むレコードであって当該最新レコード取得要求に含まれる第2の情報によって特定されるレコードより新しい最新のレコードを有する場合に、応答受信部が、当該データベース装置から当該最新のレコードを、当該最新のレコードに含まれるアイテムを含むファイルとして受信する。最新のレコードが存在しない場合には、応答受信部が、最新のレコードが存在しないことを示す情報をデータベース装置から受信する。最新データ送信部が、端末に応答受信部によって受信されたファイル、又は、当該ファイル内に含まれる複数のアイテムを送信する。
 一実施形態においては、コンピュータを、コード取得部、格納部、取得要求受信部、検索部、及びデータ送信部として機能させるプログラムにより、当該コンピュータをストレージ装置として動作させてもよい。また、プログラムは、当該コンピュータを、更に、最新レコード要求送信部、応答受信部、及び、最新データ送信部として機能させてもよい。
 本発明の更に別の態様は、データベース装置である。本データベース装置は、レコードを外部の装置に提供するデータベース装置であって、格納部、ファイル作成部、及び、ファイル送信部を、備える。格納部は、複数のアイテムを含むレコードを格納する。レコードは、当該レコードを特定するための第1の情報、及び、当該レコードの新しさを示す第2の情報を含む。ファイル作成部は、格納部に格納されたレコード内に含まれる複数のアイテムを含むファイルを作成する。ファイル作成部は、当該ファイルに、レコード内の第1の情報及び第2の情報、並びに、当該データベース装置を特定するための第3の情報を含め、第1の情報に基づいて特定し得るファイル名を与える。ファイル送信部は、ファイル作成部によって作成されたファイルを、当該データベース装置に接続されたストレージ装置に送信する。
 このデータベース装置は、当該データベース装置を特定するための第3の情報を含むファイルとしてレコードを提供する。したがって、このファイルを受けた外部の装置は、ファイル内の第3の情報によって特定される当該データベース装置にのみ問い合わせを行うことができる。
 一実施形態においては、データベース装置は、最新レコード要求受信部及び応答部を備え得る。最新レコード要求受信部は、格納部に格納されたレコードの第1の情報及び第2の情報を含む最新レコード要求を外部の装置から受信する。最新レコード要求受信部は、格納部に、最新レコード要求受信部によって受信された最新レコード要求に含まれる第1の情報を含むレコードであって第2の情報によって特定されるレコードより新しい最新のレコードが格納されている場合には、当該最新のレコードに含まれるアイテムを含むファイルを作成して、外部の装置へ当該ファイルを送信する。応答部は、格納部に当該最新のレコードが存在しない場合には、最新のレコードが存在しないことを示す情報を外部の装置へ送信する。このデータベース装置は、外部の装置に送信すべき最新のレコードを有していない場合に、外部の装置への応答に要する情報量を低減することができる。
 一実施形態においては、コンピュータを、格納部、ファイル作成部、及び、ファイル送信部として機能させるプログラムにより、当該コンピュータをデータベース装置として動作させてもよい。また、プログラムは、当該コンピュータを、最新レコード要求受信部及び応答部として更に機能させてもよい。
 以上説明したように、本発明によれば、データベース装置の負荷を軽減し得るストレージ装置、サーバ装置、ストレージシステム、データベース装置、データの提供方法、及び、プログラムが提供される。
一実施形態に係るストレージシステムを示す図である。 一実施形態のデータベース装置を詳細に示す図である。 データベース装置の格納部に格納されているレコードの一例を示す図である。 ファイル作成部よって作成されるファイルの一例を示す図である。 データベース装置の格納部に格納されているレコードの一例を示す図である。 応答部によって作成されるファイルの一例を示す図である。 一実施形態に係るストレージ装置を示す図である。 一実施形態に係るサーバ装置を示す図である。 一実施形態のストレージシステムでの処理の流れを示す図である。 一実施形態に係るコンピュータの構成を示す図である。 一意実施形態に係るコンピュータの斜視図である。 コンピュータをデータベース装置16として動作させるプログラムP16の構成を示す図である。 コンピュータをストレージ装置12として動作させるプログラムP12の構成を示す図である。 コンピュータをサーバ装置14として機能させるプログラムP14の構成を示す図である。 別の一実施形態に係るストレージシステムを示す図である。 別の一実施形態に係るストレージ装置を示す図である。 別の一実施形態のストレージシステムでの処理の流れを示す図である。 コンピュータをストレージ装置42として動作させるプログラムの構成を示す図である。
 以下、図面を参照して本発明の種々の実施形態について詳細に説明する。なお、各図面において同一又は相当の部分に対しては同一の符号を附すこととする。
 図1は、一実施形態に係るストレージシステムを示す図である。図1に示すように、ストレージシステム10は、ストレージ装置12及びサーバ装置14を備えている。一実施形態においては、ストレージシステム10は、複数のデータベース装置16を更に備え得る。
 ストレージ装置12、サーバ装置14、及びデータベース装置16は、ネットワークN1を介して相互に接続されている。ストレージ装置12、サーバ装置14、及びデータベース装置16の接続は、任意の接続形態をとり得る。例えば、この接続は、インターネット、ローカルエリアネットワーク、専用線ネットワークといった任意の接続により実現され得る。
 ストレージシステム10は、端末18からの要求を、ネットワークN2を介して受信し、当該要求に応じて、データベース装置16に格納されているデータを、当該端末18に提供する。
 以下、商品データを端末18に提供する一例に従って、ストレージシステム10について、説明する。しかしながら、ストレージシステム10は、商品データ以外の任意のデータを提供してもよい。
 図2は、一実施形態のデータベース装置を詳細に示す図である。図2に示すデータベース装置16は、一以上の商品に関する複数の情報アイテムを含む一以上のレコードを格納する装置である。
 データベース装置16は、格納部16a、ファイル作成部16b、及び、ファイル送信部16cを備えている。一実施形態においては、データベース装置16は、最新レコード要求受信部16d、及び、応答部16eを更に備え得る。
 図3は、データベース装置の格納部に格納されているレコードの一例を示す図である。図3に示すように、格納部16aは、各商品に関する複数の情報アイテムを含むレコードを格納することができる。図3に示すレコードは、情報アイテムとして、タイプ、ID(第1の情報)、バージョン(第2の情報)、商品名、説明、小売価格、及び、カタログ価格を含んでいる。
 情報アイテム「タイプ」は、商品の種別を特定する情報アイテムであり、図3に示すレコードR1における情報アイテム「タイプ」は、「jpitem」との情報を含んでいる。情報アイテム「ID」は、レコードR1の識別情報を与える情報アイテムである。レコードR1においては、IDとして「340960930」という識別情報が含まれている。情報アイテム「バージョン」は、レコードの新しさを特定する情報アイテムである。レコードR1においては、バージョンとして「3」という情報が含まれている。情報アイテム「商品名」は、商品の名称を特定する情報アイテムである。レコードR1においては、商品名として「北海道のカニ」という情報が含まれている。情報アイテム「説明」は、商品の詳細を説明する情報アイテムである。レコードR1においては、説明として、「このカニは・・・」との情報が含まれている。情報アイテム「小売価格」は、商品の小売価格を特定する情報アイテムである。レコードR1においては「2980」という金額を特定する情報が小売価格として含まれている。情報アイテム「カタログ価格」は、商品のカタログ価格を特定する情報アテイムである。レコードR1においては、カタログ価格として「3500」という金額を特定する情報が含まれている。
 ファイル作成部16bは、ストレージ装置12に提供するファイルを作成する部分である。ファイル作成部16bは、格納部16aに格納されているレコードに基づいてファイルを作成する。
 図4は、ファイル作成部よって作成されるファイルの一例を示す図である。ファイル作成部16bは、格納部16aに格納されたレコード内の情報アイテムを含むファイルを作成する。図4に示す例は、ファイル作成部16bが作成したファイルF1を示しており、格納部16aに格納されたレコードR1内の情報アイテムを含むファイルF1を示している。
 また、ファイル作成部16bは、このファイル内に、発行元情報を含める。この発行元情報には、当該ファイルに対応するレコードを有するデータベース装置16を特定する特定情報(第3の情報)が含まれている。図4に示す例では、発行元情報内に、「ba_unit_2」との特定情報が含まれている。
 また、ファイル作成部16bは、作成したファイルにID(第1の情報)を含むファイル名を与える。図4に示す例では、ファイルF1に、ID「340960930」を一部に含む「jpitem_340960930」というファイル名が与えられている。このファイル名は、後述するように、ストレージ装置12における検索キーとなる。なお、図4に示すファイルは、タイプ、IDといったタグに情報が対応付けられたXMLといった構造化文書ファイルとなっている。しかしながら、このファイルは任意の形式のファイルとし得る。
 ファイル送信部16cは、ファイル作成部16bによって作成されたファイルをストレージ装置12に送信する部分である。ファイル作成部16b及びファイル送信部16cは、格納部16aに新たなレコードの登録、又は、既存のレコードの変更が生じた際に、新たなレコード又は変更されたレコードに基づくファイルを作成して、当該ファイルをストレージ装置12へ送信する。
 最新レコード要求受信部16dは、端末からの所定の要求が発生したときに、サーバ装置14を介して送信される最新レコード取得要求を受信する。この最新レコード取得要求は、ストレージ装置12に提供されたレコードに対応する最新のレコードを要求するものである。そのため、最新レコード取得要求には、ID(第1の情報)、バージョン(第2の情報)、特定情報が含まれている。
 図5は、データベース装置の格納部に格納されているレコードの一例を示す図である。ここで、図3に示したレコードR1に対応するファイルF1がストレージ装置12に提供された後に、レコードR1の更新版のレコードR2が格納部16aに格納されたことを想定する。この時点で、レコードR2は、ファイルをストレージ装置12に提供するまでの遅延のために、ファイルとしてストレージ装置12に提供されていないものとする。なお、レコードR2は、図5に示す例では、レコードR1のバージョン「3」より大きな値であるバージョン「4」を有する。即ち、レコードR2のバージョンは、レコードR2がレコードR1より新しいことを示している。また、レコードR2では、小売価格がレコードR1に対して更新されている。なお、レコードR2は、格納部16aにおいて、レコードR1を上書きして格納されていていてもよい。すなわち、タイプが「jpitem」で且つIDが「340960930」のレコードについて、最新のレコードR2がそれより新しさに欠けるレコードR1を上書きするようにして、格納部16aに保存されていてもよい。
 上述した時点において最新レコード要求受信部16dが受信する最新レコード取得要求、例えば、レコードR1に対応する最新のレコードの要求は、「http://ba_unit_2/jpitem?id=340960930&ver=3」とのURL形式をとることができる。このURL形式の最新レコード取得要求は、特定情報「ba_unit_2」、ID「340960930」、及び、バージョン「3」を含んでいる。したがって、この最新レコード取得要求は、複数のデータベース装置16のうち特定情報「ba_unit_2」によって特定されるデータベース装置のみによって受信される。
 応答部16eは、最新レコード要求受信部16dが最新レコード取得要求を受信したことに応答して、格納部16aに、最新レコード取得要求に含まれるIDによって特定されるレコードであり、且つ、バージョンによって特定されるレコードより新しい最新のレコードが存在するか否かを判定する。応答部16eは、最新のレコードが存在する場合には、当該最新のレコードに基づいて上述したファイルを作成する。そして、応答部16eは、当該ファイルを、サーバ装置14に送信する。一方、最新のレコードが存在しない場合、つまり図5に示されたレコードR2が存在しない場合には、応答部16eは、最新のレコードが存在しないことを示す情報をサーバ装置14に送信する。例えば、上述した図5の例の場合には、格納部16aにレコードR1のバージョンより新しいバージョンのレコード(R2)が存在するので、応答部16eは、レコードR2に対応するファイルF2(図6参照)を作成して、当該ファイルをサーバ装置14に送信する。
 次に、ストレージ装置12について説明する。図7は、一実施形態に係るストレージ装置を示す図である。ストレージ装置12は、データベース装置16に格納されているデータをキャッシングし、キャッシングしたデータをサーバ装置14に提供する装置である。
 図7に示すように、ストレージ装置12は、レコード取得部12a、格納部12b、受信部12c、検索部12d、及び、ファイル送信部12eを有している。
 レコード取得部12aは、データベース装置16に格納されているレコードをファイルとして取得する部分である。より詳細には、レコード取得部12aは、データベース装置16のファイル送信部16cによって送信される上述のファイル(例えば、図4のファイルF1又は図6のファイルF2を参照)を取得して、当該ファイルを格納部12bに格納する。なお、上述したように、ファイルには当該ファイルに対応するレコード内のIDによって特定されるファイル名が与えられるので、同じIDを有するレコードから作成されるファイルは同一のファイル名を有する。したがって、格納部12b内の既存のファイルは、後に送信される同じファイル名を有するファイルによって上書きされる。
 受信部12cは、サーバ装置14から送信されるIDを受信する。検索部12dは、受信部12cがIDを受信したことに応答して、当該IDによって特定されるファイル名を有するファイルを格納部12bから検索する。例えば、受信部12cがID「340960930」を受信した場合には、検索部12dは、「340960930」をファイル名に含む、ファイルを検索する。この場合に、図4に示すファイルF1が格納部12bに格納されていると、ファイルF1のファイル名「jpitem_340960930」にID「340960930」が含まれているので、検索部12dは、ファイルF1を検索することができる。ファイル送信部12eは、検索部12dによって検索されたファイルを、サーバ装置14に送信する。
 次に、サーバ装置14について説明する。図8は、一実施形態に係るサーバ装置を示す図である。本例では、サーバ装置14は、端末18に、商品注文用のウェブページを提供し、当該ウェブページに対する端末18での入力に基づき端末18から送信される要求を処理するウェブサーバであるものとする。
 図8に示すサーバ装置14は、取得要求受信部14a、取得要求送信部14b、ファイル受信部14c、格納部14d、及び、データ送信部14eを備えている。一実施形態においては、サーバ装置14は、要求受信部14f、最新レコード要求送信部14g、応答受信部14h、及び、最新データ送信部14iを更に備え得る。
 取得要求受信部14aは、端末18にサーバ装置14から提供したウェブページにおいて当該端末18によって選択された商品に関するデータの取得要求を受信する。本例では、この取得要求は、データベース装置16に格納されたレコードであって選択された商品に対応するレコードに対する要求である。この取得要求は、商品のID、即ち、データベース装置16に格納された当該レコードのIDである第1の情報を含む。例えば、端末18によってレコードR1に対応する商品が選択された場合には、取得要求は、レコードR1のID「340960930」を含むURL形式の「http://shop1.rakuten.jp/item/340960930」との形態をとり得る。
 取得要求送信部14bは、取得要求受信部14aが上記取得要求を受信したことに応答して、当該取得要求に含まれているIDをストレージ装置12に送信する。このIDは、上述したURL形式の取得要求が受信されている場合には、「340960930」である。取得要求送信部14bによって送信されたIDは、ストレージ装置12の受信部12cによって受信される。
 ファイル受信部14cは、取得要求送信部14bからのIDの送信に応答してストレージ装置12のファイル送信部12eから送信されるファイルを受信し、当該ファイルを格納部14dに格納する。例えば、取得要求送信部14bがID「340960930」をストレージ装置12に送信した場合には、図4に示すファイルF1がストレージ装置12から提供され、ファイル受信部14cは、当該ファイルF1を格納部14dに格納する。なお、格納部14dは、端末18用のショッピングカート内にファイル受信部14cによって受信されたファイルを格納することができる。このショッピングカードは、端末18のユーザを特定する情報に対応付けて、各種のデータ(例えば、ファイル)を登録するものである。
 データ送信部14eは、ファイル受信部14cによって受信されたファイル、又は当該ファイル内に含まれるデータを、取得要求を送信した端末18へ送信する。例えば、データ送信部14eは、ファイル内に含まれる商品の情報アイテムを、端末18へ提供することができる。
 要求受信部14fは、端末18からの所定の要求を受信する。所定の要求としては、例えば、端末18が対応のショッピングカートに格納されたファイルに対応する商品の購入(チェックアウト)をする場合に当該端末18から送信される要求、また、端末18が対応のショッピングカートに格納されたファイルに対応するレコードの最新版を入手する場合に当該端末18から送信される要求がある。
 最新レコード要求送信部14gは、要求受信部14fが所定の要求を端末18から受信したことに応答して、データベース装置16に最新レコード取得要求を送信する。より詳細には、最新レコード要求送信部14gは、所定の要求を送信した端末18用に格納部14dに格納しているファイルを参照して、最新レコード取得要求を作成する。例えば、端末18用にファイルF1が格納されている場合には、ファイルF1に含まれている発行元情報「http://ba_unit_2/jpitem?id=340960930&ver=3」が最新レコード取得要求となる。この発行元情報には、ファイルF1を有するデータベース装置16を特定する特定情報「ba_unit_2」、ファイルF1内のID「340960930」、ファイルF1内のバージョン「3」が含まれている。最新レコード要求送信部14gは、作成した最新レコード取得要求を特定のデータベース装置16に送信する。即ち、発行元情報には、特定情報が含まれているので、この特定情報によって特定されるデータベース装置16のみが、最新レコード取得要求に応答するための処理対象となる。
 応答受信部14hは、最新レコード要求送信部14gによって送信された最新レコード取得要求に応じて、データベース装置16から送信される応答を受信する。この応答は、送信された最新レコード取得要求に含まれるIDを含むレコードであってバージョンによって特定されるレコード(新しさ)より新しい最新のレコードが存在する場合には、当該最新のレコードに基づいてデータベース装置16で作成されるファイルである。一方、当該最新のレコードがデータベース装置16に存在しない場合には、つまり送信された最新レコード取得要求に含まれるIDを含むレコードであってバージョンによって特定されるレコード(新しさ)より新しいレコードがデータベース装置16に存在しない場合には、応答として、データベース装置16から、最新のレコードが存在しない旨の情報、例えば、情報「NotModify」がデータベース装置16から返される。
 応答受信部14hは、ファイルを受信した場合には、このファイルで当該ファイルに対応する古いファイルを上書きする。なお、データベース装置16からはファイルではなくレコード内の情報アイテムが送信されてもよい。この場合には、応答受信部14hは、既存の対応のファイルを、送信された情報アイテムを用いて更新する。
 最新データ送信部14iは、応答受信部14hがファイルを受信した場合には、当該ファイル、又は当該ファイル内の情報アイテムを端末18に送信する。これにより、端末18に、商品に関する最新のデータが提供される。
 以下、ストレージシステム10での処理の流れについて説明し、これと同時に一実施形態に係るデータ提供方法を説明する。図9は、一実施形態のストレージシステムでの処理の流れを示す図である。以下、図9を参照する。
 まず、データベース装置16に新たにレコードが登録されるか、又は、既存のレコードに対する更新がなされると、ステップS11に示すように、ファイル作成部16bが当該レコードに基づいて上述のファイル(例えば、図4のファイルF1又は図6のファイルF2を参照)を作成する。ファイルが作成されると、ステップS12に示すように、ファイル送信部16cによって、ストレージ装置12に当該ファイルが送信される。
 次いで、ステップS13において、ストレージ装置12のレコード取得部12aが、ファイル送信部16cによって送信されたファイルを受信して、当該ファイルを格納部12bに格納する。以上の動作により、ストレージ装置12がデータベース装置16に格納されたレコードをキャッシングする。
 ステップS14に示すように、ある時点において、端末18からレコードの取得要求が送信される。上述したように、この取得要求が、ID「340960930」の商品のデータを要求するもので有る場合には、端末18から、「http://shop1.rakuten.jp/item/340960930」との取得要求が送信される。
 取得要求が送信されると、ステップS15において、サーバ装置14の取得要求受信部14aがこの取得要求を受信する。この取得要求を取得要求受信部14aが受信したことに応答して、ステップS16において、取得要求送信部14bが、取得要求に含まれるIDをストレージ装置12に送信する。例えば、取得要求が「http://shop1.rakuten.jp/item/340960930」である場合には、取得要求送信部14bは、ID「340960930」をストレージ装置12へ送信する。
 続くステップS17において、ストレージ装置12の受信部12cがサーバ装置14の取得要求送信部14bから送信されたIDを受信する。このIDを受信部12cが受信したことに応答して、ステップS18において、検索部12dが、当該IDによって特定されるファイル名を有するファイルを格納部12bから検索する。例えば、IDが「340960930」であり、ファイルF1が格納部12bに格納されている場合には、ファイル名「jpitem_340960930」を有するファイルF1が検索される。
 続くステップS19において、ファイル送信部12eが、検索部12dによって検索されたファイルを、サーバ装置14に送信する。ファイルがストレージ装置12のファイル送信部12eからサーバ装置14へ送信されると、ステップS20において、サーバ装置14のファイル受信部14cが、当該ファイルを受信する。このファイルは、例えば、ステップS14にて取得要求を送信した端末18を特定する情報に対応付けて格納部14dに格納される。
 続くステップS21において、データ送信部14eが、データを端末18に送信する。より詳細には、データ送信部14eは、ファイル受信部14cによって受信されたファイル又は当該ファイル内の情報アイテムを、端末18に送信する。
 その後のある時点で、ステップS22に示すように、上述したような所定の要求が端末18からサーバ装置14へ送信される。所定の要求が送信されると、続くステップS23において、サーバ装置14の要求受信部14fが当該所定の要求を受信する。
 要求受信部14fが所定の要求を受信したことに応答して、続くステップS24において、最新レコード要求送信部14gが最新レコード取得要求をデータベース装置16に送信する。より詳細には、最新レコード要求送信部14gは、端末18用に格納されたファイル内の発行元情報を送信する。例えば、端末18用にファイルF1が格納部14dに格納されている場合には、「http://ba_unit_2/jpitem?id=340960930&ver=3」が最新レコード取得要求として送信される。
 続くステップS25において、最新レコード取得要求内の特定情報によって特定されるデータベース装置16の最新レコード要求受信部16dが、最新レコード取得要求を受信する。例えば、「http://ba_unit_2/jpitem?id=340960930&ver=3」が最新レコード取得要求である場合には、「ba_unit_2」で特定されるデータベース装置16の最新レコード要求受信部16dが、当該最新レコード取得要求を受信する。
 最新レコード要求受信部16dが最新レコード取得要求を受信すると、続くステップS26において、応答部16eが、サーバ装置14へ応答を返す。より詳細には、最新レコード取得要求に含まれるIDを含むレコードであって最新レコード取得要求に含まれるバージョンより新しいバージョンを有する最新のレコードが存在する場合には、応答部16eは、当該最新のレコードからファイルを作成し、当該ファイルをサーバ装置14へ送信する。例えば、取得要求が「http://ba_unit_2/jpitem?id=340960930&ver=3」である場合に、レコードR2が存在する場合には、レコードR2に対応するファイルF2が、サーバ装置14に返される。一方、上述した最新のレコードが存在しない場合には、応答部16eは、最新のレコードが存在しない旨の情報(例えば、「NotModify」)をサーバ装置14に返す。
 応答部16eから応答が送信されると、続くステップS27において、サーバ装置14の応答受信部14hが、当該応答を受信する。応答としてファイルが送信されている場合には、応答受信部14hは、当該ファイルを格納部14dに格納する(上書きする)。応答受信部14hが応答を受信したことに応じて、続くステップS28においてサーバ装置14の最新データ送信部14iが、最新のデータを端末18に送信する。即ち、最新のファイル、又は、当該ファイル内の情報アイテムを、端末18に送信する。
 以上説明したように、ストレージシステム10では、チェックアウトといった重要なイベントの発生時を除き、データベース装置16ではなく、ストレージ装置12にデータが要求される。したがって、データベース装置16の負荷が軽減される。また、チェックアウトといった重要なイベントが発生したときには、データベース装置16から最新のデータが取得される。また、上述したように、最新のデータの取得の際には、特定のデータベース装置16のみに問い合わせが行われる。したがって、問い合わせの対象でないデータベース装置の負荷が軽減される。よって、データベース装置16の負荷を軽減しつつ、最新のデータの取得が可能である。
 特に、ストレージシステム10では、ストレージ装置12において、データベース装置16に格納されているレコード内の複数のアイテム情報を含むファイルが保存されている。そして、各ファイルには、該当するレコードのIDや価格といった情報のみならず、ファイルが作られたときのレコードの新しさを示すバージョン情報及び何れのデータベース装置にファイルに対応するレコードの最新情報が格納されているかを示す発行元情報が含まれている。そのため、ストレージ装置12が複数のデータベース装置と接続されていたとしても、どのデータベース装置に問い合わせたいレコードが存在するのかをストレージ装置12にキャッシュされたデータ(ファイル)から知ることができ、しかもストレージ装置12で持っているレコードの情報(ファイル)の新しさとデータベース装置16に格納されているレコードの新しさとが、バージョン情報によって比較可能となっている。そのため、ストレージ装置12では、データベース装置16の負荷を軽減しつつ、データの新しさについて整合性をとったキャッシングが可能となっている。
 また、チェックアウトといったような最新の情報が必要な場面では、サーバ装置14は、データの新しさの情報を持って、問い合わせ先の特定のデータベース装置16に問い合わせることができるため、迷うことなく正しい格納先のデータベース装置に問い合わせをすることが可能となる。さらに、データの新しさについて、他の諸々の情報を取得することなくバージョン情報だけで知ることができるため、最新データを既にサーバ装置14側で持っている場合には、データベース装置16からデータを取得・送信をしない、という処理を実現することができる。そのため、送信の際のデータ量を少なくすることができる。
 ストレージ装置12では、キャッシュデータはファイルで持っているため、データベース装置における構成(テーブルの構成)が変わったとしても、ファイルに書き出す内容が変わるだけでよく、汎用性がある。つまり、例えばストレージ装置12においてキャッシュデータをテーブルで持っていたとすると、データベース装置16でのテーブルの持ち方が変わった場合、それに合わせてストレージ装置12も変えないといけなくなるところ、ストレージ装置12はファイルで持っているためそういった問題がおきにくい。
 以下、コンピュータを、データベース装置16、ストレージ装置12、又は、サーバ装置14として動作させるためのプログラムについて説明する。
 図10は、一実施形態に係るコンピュータの構成を示す図である。図11は、一意実施形態に係るコンピュータの斜視図である。図10及び図11に示すコンピュータ100に、対応のプログラムをインストールすることにより、当該コンピュータ100を、データベース装置16、ストレージ装置12、又は、サーバ装置14として動作させることができる。
 コンピュータ100は、フロッピーディスクドライブ装置、CD-ROMドライブ装置、DVDドライブ装置等の読取装置112と、オペレーティングシステムを常駐させた作業用メモリ(RAM)114と、記録媒体110に記憶されたプログラムを記憶するメモリ116と、ディスプレイといった表示装置118と、入力装置であるマウス120及びキーボード122と、データ等の送受を行うための通信装置124と、プログラムの実行を制御するCPU126と、を備えている。コンピュータ100は、記録媒体110が読取装置112に挿入されると、読取装置112から記録媒体110に格納されたプログラムにアクセス可能になり、当該プログラムに従って、コンピュータ100を動作させることができる。なお、図10及び図11に示すコンピュータは単なる例示であり、任意のタイプのコンピュータを、データベース装置16、ストレージ装置12、又は、サーバ装置14として動作させることが可能である。また、プログラムは、搬送波に重畳されたコンピュータデータ信号140としてネットワークを介して提供されるものであってもよい。
 図12は、コンピュータをデータベース装置16として動作させるプログラムP16の構成を示す図である。図12に示すプログラムP16は、制御モジュールP16x、格納モジュールP16a、ファイル作成モジュールP16b、ファイル送信モジュールP16c、最新レコード要求受信モジュールP16d、及び、応答モジュールP16eを備え得る。制御モジュールP16xは、プログラムP16における他のモジュールが行う処理を統括する。格納モジュールP16a、ファイル作成モジュールP16b、ファイル送信モジュールP16c、最新レコード要求受信モジュールP16d、応答モジュールP16eがコンピュータ100に実行させる機能は、上述した格納部16a、ファイル作成部16b、ファイル送信部16c、最新レコード要求受信部16d、応答部16eとそれぞれ同様の機能である。
 図13は、コンピュータをストレージ装置12として動作させるプログラムP12の構成を示す図である。図13に示すプログラムP12は、処理を統括する制御モジュールP12x、レコード取得モジュールP12a、格納モジュールP12b、受信モジュールP12c、検索モジュールP12d、及び、ファイル送信モジュールP12eを備え得る。
 レコード取得モジュールP12a、格納モジュールP12b、受信モジュールP12c、検索モジュールP12d、ファイル送信モジュールP12eがコンピュータ100に実行させる機能は、レコード取得部12a、格納部12b、受信部12c、検索部12d、ファイル送信部12eとそれぞれ同様の機能である。
 図14は、コンピュータをサーバ装置14として機能させるプログラムP14の構成を示す図である。図14に示すプログラムP14は、処理を統括する制御モジュールP14x、取得要求受信モジュールP14a、取得要求送信モジュールP14b、ファイル受信モジュールP14c、格納モジュールP14d、データ送信モジュールP14e、要求受信モジュールP14f、最新レコード要求送信モジュールP14g、応答受信モジュールP14h、及び、最新データ送信モジュールP14iを備え得る。
 取得要求受信モジュールP14a、取得要求送信モジュールP14b、ファイル受信モジュールP14c、格納モジュールP14d、データ送信モジュールP14e、要求受信モジュールP14f、最新レコード要求送信モジュールP14g、応答受信モジュールP14h、最新データ送信モジュールP14iがコンピュータ100に実施させる機能は、取得要求受信部14a、取得要求送信部14b、ファイル受信部14c、格納部14d、データ送信部14e、要求受信部14f、最新レコード要求送信部14g、応答受信部14h、最新データ送信部14iとそれぞれ同様の機能である。
 以下、別の一実施形態に係るストレージシステムについて説明する。図15は、別の一実施形態に係るストレージシステムを示す図である。図15に示すストレージシステム40は、上述したストレージ装置12とサーバ装置14の機能を合わせ持つストレージ装置42を備えている。
 図16は、別の一実施形態に係るストレージ装置を示す図である。図16に示すストレージ装置42は、レコード取得部42a、格納部42b、取得要求受信部42c、検索部42d、データ送信部42e、要求受信部42f、最新レコード要求送信部42g、応答受信部42h、及び、最新データ送信部42iを備え得る。
 レコード取得部42aは、ストレージ装置12のレコード取得部12aと同様に、データベース装置16からファイルを取得し、当該ファイルを格納部42bに格納する。
 取得要求受信部42cは、サーバ装置14の取得要求受信部14aと同様に、端末18から取得要求を受信する。この取得要求は、取得要求受信部14aが受信する取得要求と同様に、例えば、「http://shop1.rakuten.jp/item/340960930」とのURL形式の形態をとり得る。
 検索部42cは、取得要求に含まれるIDに基づいて特定されるファイルを格納部42bから検索する。例えば、取得要求が「http://shop1.rakuten.jp/item/340960930」であり、ファイルF1が格納部42bに格納されている場合には、当該取得要求にID「340960930」が含まれているので、検索部42cは、当該IDに基づいてファイル名「jpitem_340960930」を特定することにより、ファイルF1を検索することができる。なお、取得要求が商品の選択時に発生するものであれば、検索部42cは、検索したファイルを、格納部42bにおいて端末18用のショッピングカートに格納することができる。
 データ送信部42eは、検索部42cによって検索されたファイルを受け、サーバ装置14のデータ送信部14eと同様に、当該ファイル又は当該ファイル内の情報アイテムを端末18に送信する。
 要求受信部42fは、サーバ装置14の要求受信部14fと同様に、端末18からの所定の要求を受信する。最新レコード要求送信部42gは、サーバ装置14の最新レコード要求送信部14gと同様に、要求受信部42fが所定の要求を受信したことに応答して、最新レコード取得要求を、データベース装置16に送信する。例えば、端末18用のファイルとしてファイルF1が含まれている場合には、最新レコード取得要求として「http://ba_unit_2/jpitem?id=340960930&ver=3」が送信される。
 応答受信部42hは、サーバ装置14の応答受信部14hと同様に、データベース装置16から最新レコード取得要求に応じて返される応答、即ち、最新のファイル、又は、最新のファイルが存在しないことを示す情報(例えば、「NotModify」)を受信する。また、応答受信部42hは、格納部42bに格納されている既存のファイルのうち当該最新のファイルに対応するファイルを、当該最新のファイルで上書きする。
 最新データ送信部42iは、サーバ装置14の最新データ送信部14iと同様に、最新のファイルを得た場合には、当該最新のファイル、又は当該最新のファイル内の情報アイテムを、端末18へと送信する。
 以下、ストレージシステム40での処理の流れについて説明する。図17は、ストレージシステム40での処理の流れを示す図である。以下、図17を参照する。
 まず、ステップS41において、データベース装置16において、ステップS11と同様に、ファイルが作成される。続くステップS42において、ステップS12と同様に、データベース装置16からストレージ装置42に作成されたファイルが送信される。続くステップS43において、ストレージ装置42のレコード取得部42aが、ステップS13と同様に、データベース装置16から送信されたファイルを受信して、当該ファイルを格納部42bに格納する。
 その後、ある時点において、ステップS44に示すように、ステップS14と同様に、端末18から取得要求が送信される。取得要求は、例えば、「http://shop1.rakuten.jp/item/340960930」といったURL形式をとり得る。
 続くステップS45において、ステップS15と同様に、ストレージ装置42の取得要求受信部42cが、端末18から送信された取得要求を受信する。取得要求受信部42cが取得要求を受信すると、続くステップS48において、検索部42dが、ステップS18と同様に、取得要求に含まれるIDに基づいて特定されるファイル名を有するファイルを、格納部42bから検索する。このとき、検索されたファイルは、端末18を特定する情報に対応付けられる。即ち、端末18用のショッピングカートに登録される。
 検索部42dによってファイルが検索されると、続くステップS51において、ステップS21と同様に、データ送信部42eが、当該ファイル、又は当該ファイルに含まれる情報アイテムを端末18へと送信する。
 その後、ある時点において、ステップS52に示すように、端末18から所定の要求が送信される。この要求は、上述したように、チェックアウトや最新データへの更新要求といった要求であってもよい。
 所定の要求が送信されると、続くステップS53において、ストレージ装置42の要求受信部42fが、この要求を受信する。要求受信部42fが所定の要求を受信すると、続くステップS54において、最新レコード要求送信部42gが、ステップS42と同様に、最新レコード取得要求を作成し、当該最新レコード取得要求を、データベース装置16へと送信する。例えば、端末18用にファイルF1が格納されている場合には、最新レコード取得要求は、「http://ba_unit_2/jpitem?id=340960930&ver=3」となる。
 続くステップS55において、ステップS25と同様に、データベース装置16の最新レコード要求受信部16dが、最新レコード取得要求を受信する。次いで、ステップS56において、ステップS26と同様に、データベース装置16の応答部16eが、最新のレコードに基づくファイル、又は、最新のレコードが存在しないことを示す情報を、ストレージ装置42へ送信する。
 続くステップS57において、ステップS27と同様に、ストレージ装置42の応答受信部42hが、データベース装置16の応答部16eからの応答を受信する。この応答がファイルである場合には、格納部42bにおいて、当該ファイルに対応する既存のファイルが、当該ファイルによって上書きされる。
 続くステップS58において、ステップS28と同様に、応答がファイルである場合には、ストレージ装置42の最新データ送信部42iが、当該ファイル又は当該ファイル内の情報アイテムを、端末18に送信する。
 以上説明したように、ストレージシステム40も、チェックアウトといった重要なイベントの発生時を除き、データベース装置16ではなく、ストレージ装置12からデータが端末18に提供される。したがって、データベース装置16の負荷が軽減される。また、チェックアウトといった重要なイベントが発生したときには、データベース装置16から最新のデータが取得される。また、上述したように、最新のデータの取得の際には、特定のデータベース装置16のみに問い合わせが行われる。したがって、データベース装置16の負荷を軽減しつつ、最新のデータの取得が可能である。
 特に、ストレージシステム40では、ストレージ装置42において、データベース装置16に格納されているレコード内のバージョン情報及び発行元情報を含むファイルが保存されている。そのため、ストレージ装置42では、データベース装置16の負荷を軽減しつつ、データの新しさについて整合性をとったキャッシングが可能となっている。
 また、チェックアウトといったような最新の情報が必要な場面では、ストレージ装置42は、データの新しさの情報を持って、問い合わせ先の特定のデータベース装置16に問い合わせることができるため、迷うことなく正しい格納先のデータベース装置に問い合わせをすることが可能となる。さらには、送信の際のデータ量を少なくすることもできる。
 また、ストレージ装置42では、キャッシュデータはファイルで持っているため、データベース装置における構成(テーブルの構成)が変わったとしても、ファイルに書き出す内容が変わるだけでよく、汎用性がある。
 以下、コンピュータをストレージ装置42として動作させるプログラムについて説明する。図18は、コンピュータをストレージ装置42として動作させるプログラムの構成を示す図である。図18に示すプログラムP42は、記録媒体110に格納されることによって提供され得る。或いは、プログラムP42は、搬送波に重畳されたコンピュータデータ信号140としてネットワークを介して提供されるものであってもよい。
 図18に示すように、プログラムP42は、処理を統括する制御モジュールP42x、レコード取得モジュールP42a、格納モジュールP42b、取得要求受信モジュールP42c、検索モジュールP42d、データ送信モジュールP42e、要求受信モジュールP42f、最新レコード要求送信モジュールP42g、応答受信モジュールP42h、及び、最新データ送信モジュールP42iを備え得る。
 レコード取得モジュールP42a、格納モジュールP42b、取得要求受信モジュールP42c、検索モジュールP42d、データ送信モジュールP42e、要求受信モジュールP42f、最新レコード要求送信モジュールP42g、応答受信モジュールP42h、最新データ送信モジュールP42iがコンピュータ100に実施させる機能は、レコード取得部42a、格納部42b、取得要求受信部42c、検索部42d、データ送信部42e、要求受信部42f、最新レコード要求送信部42g、応答受信部42h、最新データ送信部42iとそれぞれ同様の機能である。
 以上、本発明の種々の実施形態について説明したが、本発明はこれら実施形態に限定されることなく、種々の変形態様を構成することができる。例えば、上述した実施形態では、提供されるデータが商品のデータであったが、商品以外の任意の対象に関するデータに対しても本発明の思想は適用され得る。また、商品のデータが提供される場合には、データベース装置のレコードには、商品に関するクーポン情報といった情報アイテムがふくまれていてもよい。
 10…ストレージシステム、12…ストレージ装置、12a…レコード取得部、12b…格納部、12c…受信部、12d…検索部、12e…ファイル送信部、14…サーバ装置、14a…取得要求受信部、14b…取得要求送信部、14c…ファイル受信部、14d…格納部、14e…データ送信部、14f…要求受信部、14g…最新レコード要求送信部、14h…応答受信部、14i…最新データ送信部、16…データベース装置、16a…格納部、16b…ファイル作成部、16c…ファイル送信部、16d…最新レコード要求受信部、16e…応答部、40…ストレージシステム、42…ストレージ装置、42a…レコード取得部、42b…格納部、42c…取得要求受信部、42c…検索部、42c…取得要求受信部、42d…検索部、42e…データ送信部、42f…要求受信部、42g…最新レコード要求送信部、42h…応答受信部、42i…最新データ送信部。

Claims (15)

  1.  複数のデータベース装置に格納された複数のレコードをキャッシングするストレージ装置であって、
     複数のデータベース装置に格納された複数のレコードのそれぞれを、各レコードに含まれる複数のアイテムを含むファイルとして取得するレコード取得部であって、各ファイル内に含まれるアイテムは、該ファイルに対応するレコードを特定するための第1の情報、該レコードの新しさを示す第2の情報、及び前記複数のデータベース装置のうち該レコードを格納しているデータベース装置を特定するための第3の情報を含み、各ファイルは、該ファイルに含まれる第1の情報に基づいて特定し得るファイル名を有している、該レコード取得部と、
     前記レコード取得部によって取得されたファイルを格納する格納部と、
     該ストレージ装置に接続されたサーバ装置から、前記複数のデータベースに格納された何れかのレコードに含まれる第1の情報を受信する受信部と、
     前記格納部から、前記受信部によって受信された前記第1の情報に基づいて特定されるファイルを検索する検索部と、
     前記サーバ装置に、前記検索部によって検索された前記ファイルを送信するファイル送信部と、
    を備えるストレージ装置。
  2.  コンピュータを、
     複数のデータベース装置に格納された複数のレコードのそれぞれを、各レコードに含まれる複数のアイテムを含むファイルとして取得するレコード取得部であって、各ファイル内に含まれるアイテムは、該ファイルに対応するレコードを特定するための第1の情報、該レコードの新しさを示す第2の情報、及び前記複数のデータベース装置のうち該レコードを格納しているデータベース装置を特定するための第3の情報を含み、各ファイルは、該ファイルに含まれる第1の情報に基づいて特定し得るファイル名を有している、該レコード取得部と、
     前記レコード取得部によって取得されたファイルを格納する格納部と、
     該ストレージ装置に接続されたサーバ装置から、前記複数のデータベースに格納された何れかのレコードに含まれる第1の情報を受信する受信部と、
     前記格納部から、前記受信部によって受信された前記第1の情報に基づいて特定されるファイルを検索する検索部と、
     前記サーバ装置に、前記検索部によって検索された前記ファイルを送信するファイル送信部と、
    として機能させるプログラム。
  3.  複数のデータベース装置に格納された複数のレコードをキャッシングするストレージ装置及び該複数のデータベース装置に接続されたサーバ装置であって、
     端末から、前記複数のデータベースに格納されたレコードに対する取得要求であって、レコードを特定するための情報である第1の情報を含む該取得要求を受信する取得要求受信部と、
     前記取得要求受信部によって受信された前記取得要求に含まれる前記第1の情報を前記ストレージ装置に送信する取得要求送信部と、
     前記取得要求送信部によって送信された前記第1の情報に基づいて前記ストレージ装置から送信されるファイルを受信し、該ファイルは前記第1の情報によって特定されるレコードに含まれる複数のアイテムを含み、該ファイル内に含まれるアイテムは、該レコードを特定するための前記第1の情報に加え、該レコードの新しさを示す第2の情報、及び前記複数のデータベース装置のうち該レコードを格納しているデータベース装置を特定するための第3の情報を含む、ファイル受信部と、
     前記ファイル受信部によって受信された前記ファイル又は該ファイル内に含まれるアイテムを前記端末に送信するデータ送信部と、
    を備えるサーバ装置。
  4.  該サーバ装置に接続された端末からの所定の要求に応答して、前記ファイル受信部によって受信された前記ファイルに含まれる前記第3の情報に基づき特定されるデータベース装置に、該ファイルに含まれる前記第1の情報及び前記第2の情報を含む最新レコード取得要求を送信する最新レコード要求送信部と、
     前記最新レコード取得要求を受信した前記データベース装置が、該最新レコード取得要求に含まれる前記第1の情報を含むレコードであって該最新レコード取得要求に含まれる第2の情報によって特定される新しさより新しい最新のレコードを有する場合に、該データベース装置から該最新のレコードを、該最新のレコードに含まれるアイテムを含むファイルとして受信し、該最新のレコードが存在しない場合には、最新のレコードが存在しないことを示す情報を受信する応答受信部と、
     前記応答受信部によって受信された前記ファイル又は該ファイル内に含まれるアイテムを前記所定の要求をしてきた前記端末に送信する最新データ送信部と、
    を更に備える請求項3に記載のサーバ装置。
  5.  コンピュータを、
     複数のデータベース装置に格納された複数のレコードをキャッシングするストレージ装置及び該複数のデータベース装置に接続されたサーバ装置であって、
     端末から、前記複数のデータベースに格納されたレコードに対する取得要求であって、レコードを特定するための情報である前記第1の情報を含む該取得要求を受信する取得要求受信部と、
     該サーバ装置の前記取得要求受信部によって受信された前記取得要求に含まれる前記第1の情報を前記ストレージ装置に送信する取得要求送信部と、
     前記取得要求送信部によって送信された前記第1の情報に基づいて前記ストレージ装置から送信されるファイルを受信し、該ファイルは前記第1の情報によって特定されるレコードに含まれる複数のアイテムを含み、該ファイル内に含まれるアイテムは、該レコードを特定するための前記第1の情報に加え、該レコードの新しさを示す第2の情報、及び前記複数のデータベース装置のうち該レコードを格納しているデータベース装置を特定するための第3の情報を含む、ファイル受信部と、
     前記ファイル受信部によって受信された前記ファイル又は該ファイル内に含まれるアイテムを前記端末に送信するデータ送信部と、を備えるサーバ装置
    として機能させるプログラム。
  6.  前記コンピュータを、
      該サーバ装置に接続された端末からの所定の要求に応答して、前記ファイル受信部によって受信された前記ファイルに含まれる前記第3の情報に基づき特定されるデータベース装置に、該ファイルに含まれる前記第1の情報及び前記第2の情報を含む最新レコード取得要求を送信する最新レコード要求送信部と、
      前記最新レコード取得要求を受信した前記データベース装置が、該最新レコード取得要求に含まれる前記第1の情報を含むレコードであって該最新レコード取得要求に含まれる第2の情報によって特定される新しさより新しい最新のレコードを有する場合に、該データベース装置から該最新のレコードを、該最新のレコードに含まれるアイテムを含むファイルとして受信し、該最新レコード取得要求に含まれる前記第1の情報を含むレコードであって該最新レコード取得要求に含まれる第2の情報によって特定される新しさより新しい最新のレコードが存在しない場合には、最新のレコードが存在しないことを示す情報を受信する応答受信部と、
      前記応答受信部によって受信された前記ファイル又は該ファイル内に含まれるアイテムを前記所定の要求をしてきた前記端末に送信する最新データ送信部と、を更に備えるサーバ装置
    として機能させる請求項5に記載のプログラム。
  7.  請求項1に記載のストレージ装置と、
     請求項3又は4に記載のサーバ装置と、
    を備えるストレージシステム。
  8.  ストレージ装置のレコード取得部が、複数のデータベース装置に格納された複数のレコードのそれぞれを、各レコードに含まれる複数のアイテムを含むファイルとして取得するステップであって、各ファイル内に含まれるアイテムは、該ファイルに対応するレコードを特定するための第1の情報、該レコードの新しさを示す第2の情報、及び前記複数のデータベース装置のうち該レコードを格納しているデータベース装置を特定するための第3の情報を含み、各ファイルは、前記第1の情報に基づいて特定し得るファイル名を有している、該ステップと、
     前記ストレージ装置のファイル格納部が、レコード取得部によって取得されたファイルを格納するステップと、
     前記ストレージ装置の受信部が、該ストレージ装置に接続されたサーバ装置から、前記複数のデータベースに格納された何れかのレコードに含まれる第1の情報を受信するステップと、
     前記ストレージ装置の検索部が、前記格納部から、前記受信部によって受信された前記第1の情報に基づいて特定されるファイルを検索するステップと、
     前記ストレージ装置のファイル送信部が、前記サーバ装置に、前記検索部によって検索された前記ファイルを送信するステップと、
    を含む方法。
  9.  複数のデータベース装置に格納された複数のレコードをキャッシングするストレージ装置であって、
     複数のデータベース装置に格納された複数のレコードのそれぞれを、各レコードに含まれる複数のアイテムを含むファイルとして取得するレコード取得部であって、各ファイル内に含まれるアイテムは、該ファイルに対応するレコードを特定するための第1の情報、該レコードの新しさを示す第2の情報、及び前記複数のデータベース装置のうち該レコードを格納しているデータベース装置を特定するための第3の情報を含み、各ファイルは、前記第1の情報に基づいて特定し得るファイル名を有している、該レコード取得部と、
     前記レコード取得部によって取得されたファイルを格納する格納部と、
     端末から、前記複数のデータベースに格納されたレコードに対する取得要求であって、レコードを特定するための情報である第1の情報を含む該取得要求を受信する取得要求受信部と、
     前記格納部から、前記取得要求受信部によって受信された前記取得要求に含まれる前記第1の情報に基づいて特定されるファイルを検索する検索部と、
     前記端末に、前記検索部によって検索された前記ファイル、又は、該ファイル内に含まれる複数のアイテムを送信するデータ送信部と、
    を備えるストレージ装置。
  10.  前記端末から送信される所定の要求に応答して、前記検索部によって検索した前記ファイルに含まれる第3の情報に基づいて特定されるデータベース装置に、該ファイルに含まれる第1の情報及び第2の情報を含む最新レコード取得要求を送信する最新レコード要求送信部と、
     前記最新レコード取得要求を受信した前記データベース装置が、該最新レコード取得要求に含まれる前記第1の情報を含むレコードであって該最新レコード取得要求に含まれる第2の情報によって特定される新しさより新しい最新のレコードを有する場合に、該データベース装置から該最新のレコードを、該最新のレコードに含まれるアイテムを含むファイルとして受信し、該最新レコード取得要求に含まれる前記第1の情報を含むレコードであって該最新レコード取得要求に含まれる第2の情報によって特定される新しさより新しい最新のレコードが存在しない場合には、最新のレコードが存在しないことを示す情報を受信する応答受信部と、
     前記端末に前記応答受信部によって受信された前記ファイル、又は、該ファイル内に含まれる複数のアイテムを送信する最新データ送信部と、
    を更に備える、請求項9に記載のストレージ装置。
  11.  ストレージ装置のレコード取得部が、複数のデータベース装置に格納された複数のレコードのそれぞれを、各レコードに含まれる複数のアイテムを含むファイルとして取得するステップであって、各ファイル内に含まれるアイテムは、該ファイルに対応するレコードを特定するための第1の情報、該レコードの新しさを示す第2の情報、及び前記複数のデータベース装置のうち該レコードを格納しているデータベース装置を特定するための第3の情報を含み、各ファイルは、前記第1の情報に基づいて特定し得るファイル名を有している、該ステップと、
     前記ストレージ装置の格納部が、前記レコード取得部によって取得されたファイルを格納するステップと、
     前記ストレージ装置の取得要求受信部が、端末から、前記複数のデータベースに格納されたレコードに対する取得要求であって、レコードを特定するための情報である第1の情報を含む該取得要求を受信するステップと、
     前記ストレージ装置の検索部が、前記格納部から、前記取得要求受信部によって受信された前記取得要求に含まれる前記第1の情報に基づいて特定されるファイルを検索するステップと、
     前記ストレージ装置のデータ送信部が、前記端末に、前記検索部によって検索された前記ファイル、又は、該ファイル内に含まれる複数のアイテムを送信するステップと、
    を含む方法。
  12.  コンピュータを、
     複数のデータベース装置に格納された複数のレコードのそれぞれを、各レコードに含まれる複数のアイテムを含むファイルとして取得するレコード取得部であって、各ファイル内に含まれるアイテムは、該ファイルに対応するレコードを特定するための第1の情報、該レコードの新しさを示す第2の情報、及び前記複数のデータベース装置のうち該レコードを格納しているデータベース装置を特定するための第3の情報を含み、各ファイルは、前記第1の情報に基づいて特定し得るファイル名を有している、該レコード取得部と、
     前記レコード取得部によって取得されたファイルを格納する格納部と、
     端末から、前記複数のデータベースに格納されたレコードに対する取得要求であって、レコードを特定するための情報である第1の情報を含む該取得要求を受信する取得要求受信部と、
     前記格納部から、前記取得要求受信部によって受信された前記取得要求に含まれる前記第1の情報に基づいて特定されるファイルを検索する検索部と、
     前記端末に、前記検索部によって検索された前記ファイル、又は、該ファイル内に含まれる複数のアイテムを送信するデータ送信部と、
    として機能させるプログラム。
  13.  レコードを外部の装置に提供するデータベース装置であって、
     複数のアイテムを含むレコードを格納する格納部であって、該レコードは、該レコードを特定するための第1の情報、及び、該レコードの新しさを示す第2の情報を含む、該格納部と、
     前記格納部に格納されたレコード内に含まれる複数のアイテムを含むファイルを作成するファイル作成部であって、該ファイルに、前記レコード内の第1の情報及び第2の情報、並びに、該データベース装置を特定するための第3の情報を含め、前記第1の情報に基づいて特定し得るファイル名を与える、該ファイル作成部と、
     前記ファイル作成部によって作成されたファイルを、該データベース装置に接続されたストレージ装置に送信するファイル送信部と、
    を備える、データベース装置。
  14.  前記格納部に格納されたレコードの第1の情報及び第2の情報を含む最新レコード要求を外部の装置から受信する最新レコード要求受信部と、
     前記格納部に、前記最新レコード要求受信部によって受信された前記最新レコード要求に含まれる前記第1の情報を含むレコードであって前記第2の情報によって特定される新しさより新しい最新のレコードが格納されている場合に、該最新のレコードに含まれるアイテムを含むファイルを作成して、前記外部の装置へ該ファイルを送信し、前記格納部に該最新のレコードが存在しない場合には、最新のレコードが存在しないことを示す情報を送信する応答部と、
    を更に備える請求項13に記載のデータベース装置。
  15.  コンピュータを、
     複数のアイテムを含むレコードを格納する格納部であって、該レコードは、該レコードを特定するための第1の情報、及び、該レコードの新しさを示す第2の情報を含む、該格納部と、
     前記格納部に格納されたレコード内に含まれる複数のアイテムを含むファイルを作成するファイル作成部であって、該ファイルに、前記レコード内の第1の情報及び第2の情報、並びに、該データベース装置を特定するための第3の情報を含め、前記第1の情報に基づいて特定し得るファイル名を与える、該ファイル作成部と、
     前記ファイル作成部によって作成されたファイルを、該データベース装置に接続されたストレージ装置に送信するファイル送信部と、
    として機能させるプログラム。
PCT/JP2011/054145 2010-02-25 2011-02-24 ストレージ装置、サーバ装置、ストレージシステム、データベース装置、データの提供方法、及び、プログラム WO2011105488A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP11747448.6A EP2541422B1 (en) 2010-02-25 2011-02-24 Storage device, server device, storage system, database device, provision method of data, and program
US13/581,121 US20120323966A1 (en) 2010-02-25 2011-02-24 Storage device, server device, storage system, database device, provision method of data, and program
CN201180010533.2A CN102763089B (zh) 2010-02-25 2011-02-24 存储装置、服务器装置、存储系统、数据库装置、数据的提供方法
ES11747448.6T ES2694521T3 (es) 2010-02-25 2011-02-24 Dispositivo de almacenamiento, dispositivo de servidor, sistema de almacenamiento, dispositivo de base de datos, método de provisión de datos y programa

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2010-040346 2010-02-25
JP2010040346A JP5483561B2 (ja) 2010-02-25 2010-02-25 ストレージ装置、サーバ装置、ストレージシステム、データベース装置、データの提供方法、及び、プログラム

Publications (1)

Publication Number Publication Date
WO2011105488A1 true WO2011105488A1 (ja) 2011-09-01

Family

ID=44506889

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2011/054145 WO2011105488A1 (ja) 2010-02-25 2011-02-24 ストレージ装置、サーバ装置、ストレージシステム、データベース装置、データの提供方法、及び、プログラム

Country Status (6)

Country Link
US (1) US20120323966A1 (ja)
EP (1) EP2541422B1 (ja)
JP (1) JP5483561B2 (ja)
CN (1) CN102763089B (ja)
ES (1) ES2694521T3 (ja)
WO (1) WO2011105488A1 (ja)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3021789A1 (ja) * 2014-05-30 2015-12-04 Amadeus Sas
CN107222522B (zh) * 2017-05-04 2021-02-05 和宇健康科技股份有限公司 移动存储方法

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003006036A (ja) * 2001-06-26 2003-01-10 Hitachi Ltd クラスタ化したアプリケーションサーバおよびデータベース構造を持つWebシステム
JP2004240575A (ja) * 2003-02-04 2004-08-26 Hitachi Ltd データ処理方法及びその実施装置並びにその処理プログラム
JP2006185169A (ja) * 2004-12-27 2006-07-13 Toshiba Corp キャッシュ制御装置、キャッシュ制御方法およびキャッシュ制御プログラム
JP2007086946A (ja) * 2005-09-21 2007-04-05 Yokogawa Electric Corp データキャッシュ及びそれを用いたコンピュータシステム
JP2008146380A (ja) * 2006-12-11 2008-06-26 Sony Computer Entertainment Inc キャッシュサーバ、キャッシュサーバの制御方法、プログラム及び情報記憶媒体
JP2008287660A (ja) * 2007-05-21 2008-11-27 Hitachi Ltd キャッシュサーバ、キャッシュ管理方法、およびキャッシュ管理プログラム
JP2009123047A (ja) * 2007-11-16 2009-06-04 Nec Corp 端末キャッシュ管理装置、端末キャッシュ管理方法及びプログラム
JP2009265840A (ja) 2008-04-23 2009-11-12 Internatl Business Mach Corp <Ibm> データベースのキャッシュシステム

Family Cites Families (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6119151A (en) * 1994-03-07 2000-09-12 International Business Machines Corp. System and method for efficient cache management in a distributed file system
US5920873A (en) * 1996-12-06 1999-07-06 International Business Machines Corporation Data management control system for file and database
GB2333864B (en) * 1998-01-28 2003-05-07 Ibm Distribution of software updates via a computer network
JP3844588B2 (ja) * 1998-03-05 2006-11-15 富士通株式会社 情報管理システム、ローカルコンピュータ、及び情報取得プログラムを記録したコンピュータ読み取り可能な記録媒体
US6330561B1 (en) * 1998-06-26 2001-12-11 At&T Corp. Method and apparatus for improving end to end performance of a data network
US6460052B1 (en) * 1999-08-20 2002-10-01 Oracle Corporation Method and system for performing fine grain versioning
WO2001039043A2 (en) * 1999-11-23 2001-05-31 Microsoft Corporation Content-specific filename systems
US6816944B2 (en) * 2000-02-02 2004-11-09 Innopath Software Apparatus and methods for providing coordinated and personalized application and data management for resource-limited mobile devices
US20020049760A1 (en) * 2000-06-16 2002-04-25 Flycode, Inc. Technique for accessing information in a peer-to-peer network
US6775792B2 (en) * 2001-01-29 2004-08-10 Snap Appliance, Inc. Discrete mapping of parity blocks
JP2002297559A (ja) * 2001-03-30 2002-10-11 Sony Corp データ処理方法、データ処理装置および記録媒体
JP3693958B2 (ja) * 2001-04-05 2005-09-14 松下電器産業株式会社 分散型文書検索方法及び装置、並びに分散型文書検索プログラム及びそのプログラムを記録した記録媒体
US7016901B2 (en) * 2001-07-31 2006-03-21 Ideal Scanners & Systems, Inc. System and method for distributed database management of graphic information in electronic form
US7444317B2 (en) * 2002-06-28 2008-10-28 Microsoft Corporation System and method for managing file names for file system filter drivers
US20050246193A1 (en) * 2002-08-30 2005-11-03 Navio Systems, Inc. Methods and apparatus for enabling transaction relating to digital assets
JP4327481B2 (ja) * 2003-03-17 2009-09-09 株式会社日立製作所 データベースシステム、サーバ、問い合わせ投入方法及びデータ更新方法
KR101056676B1 (ko) * 2003-09-30 2011-08-22 소니 주식회사 콘텐츠 취득 방법
US20050091231A1 (en) * 2003-10-24 2005-04-28 Shankar Pal System and method for storing and retrieving XML data encapsulated as an object in a database store
US7447775B1 (en) * 2003-11-07 2008-11-04 Cisco Technology, Inc. Methods and apparatus for supporting transmission of streaming data
JP2005234860A (ja) * 2004-02-19 2005-09-02 Hitachi Ltd バージョン管理システム、バージョン管理サーバ装置、及び記憶デバイス制御装置
US20060064467A1 (en) * 2004-09-17 2006-03-23 Libby Michael L System and method for partial web page caching and cache versioning
US8065689B2 (en) * 2005-02-03 2011-11-22 Kyocera Mita Corporation Release-dependant filenames for device drivers
TW200707417A (en) * 2005-03-18 2007-02-16 Sony Corp Reproducing apparatus, reproducing method, program, program storage medium, data delivery system, data structure, and manufacturing method of recording medium
JP4110154B2 (ja) * 2005-06-10 2008-07-02 キヤノン株式会社 情報処理装置、情報処理装置の制御方法、コンピュータプログラム、記憶媒体
JP4645320B2 (ja) * 2005-06-22 2011-03-09 ブラザー工業株式会社 通信装置
US20070162702A1 (en) * 2006-01-06 2007-07-12 Yang Lei System and method for acquiring data from a cache in a distributed network
JP2007265249A (ja) * 2006-03-29 2007-10-11 Toshiba Corp データ検索表示装置、データ検索表示システム、検索表示処理プログラムおよびデータ検索表示方法
US8024762B2 (en) * 2006-06-13 2011-09-20 Time Warner Cable Inc. Methods and apparatus for providing virtual content over a network
JP4961606B2 (ja) * 2006-08-29 2012-06-27 アイシン・エィ・ダブリュ株式会社 データ管理システム、更新用ファイル生成システム、及び、データ更新方法
US20080133269A1 (en) * 2006-10-31 2008-06-05 Ching Peter N Apparatus and methods for collecting, sharing, managing and analyzing data
US9104599B2 (en) * 2007-12-06 2015-08-11 Intelligent Intellectual Property Holdings 2 Llc Apparatus, system, and method for destaging cached data
WO2008069125A1 (ja) * 2006-12-08 2008-06-12 Nec Corporation データ管理装置
US8606996B2 (en) * 2008-03-31 2013-12-10 Amazon Technologies, Inc. Cache optimization
US8204969B2 (en) * 2008-08-05 2012-06-19 Canon Kabushiki Kaisha Method for retrieving updates via the internet
US8060470B2 (en) * 2008-12-23 2011-11-15 Apple Inc. Heterogeneous database management system
US8078570B2 (en) * 2009-05-01 2011-12-13 International Business Machines Corporation Versioning data warehouses
US10264029B2 (en) * 2009-10-30 2019-04-16 Time Warner Cable Enterprises Llc Methods and apparatus for packetized content delivery over a content delivery network
JP2011172021A (ja) * 2010-02-18 2011-09-01 Nec Corp キャッシュサーバ制御装置、コンテンツ配信システム、コンテンツ配信方法、及びプログラム
US8554645B1 (en) * 2011-01-04 2013-10-08 Intuit Inc. Method and system for identifying business expenditures with vendors and automatically generating and submitting required forms

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003006036A (ja) * 2001-06-26 2003-01-10 Hitachi Ltd クラスタ化したアプリケーションサーバおよびデータベース構造を持つWebシステム
JP2004240575A (ja) * 2003-02-04 2004-08-26 Hitachi Ltd データ処理方法及びその実施装置並びにその処理プログラム
JP2006185169A (ja) * 2004-12-27 2006-07-13 Toshiba Corp キャッシュ制御装置、キャッシュ制御方法およびキャッシュ制御プログラム
JP2007086946A (ja) * 2005-09-21 2007-04-05 Yokogawa Electric Corp データキャッシュ及びそれを用いたコンピュータシステム
JP2008146380A (ja) * 2006-12-11 2008-06-26 Sony Computer Entertainment Inc キャッシュサーバ、キャッシュサーバの制御方法、プログラム及び情報記憶媒体
JP2008287660A (ja) * 2007-05-21 2008-11-27 Hitachi Ltd キャッシュサーバ、キャッシュ管理方法、およびキャッシュ管理プログラム
JP2009123047A (ja) * 2007-11-16 2009-06-04 Nec Corp 端末キャッシュ管理装置、端末キャッシュ管理方法及びプログラム
JP2009265840A (ja) 2008-04-23 2009-11-12 Internatl Business Mach Corp <Ibm> データベースのキャッシュシステム

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2541422A4

Also Published As

Publication number Publication date
EP2541422A1 (en) 2013-01-02
ES2694521T3 (es) 2018-12-21
JP2011175547A (ja) 2011-09-08
EP2541422B1 (en) 2018-10-10
US20120323966A1 (en) 2012-12-20
CN102763089A (zh) 2012-10-31
JP5483561B2 (ja) 2014-05-07
CN102763089B (zh) 2015-08-12
EP2541422A4 (en) 2016-10-26

Similar Documents

Publication Publication Date Title
JP5693600B2 (ja) ウェブサービスインターフェイス及びクエリ検索
EP2122561B1 (en) Web data usage platform
JP3738355B2 (ja) 第1ロケーションから第2ロケーションへ輸送される物体に関するデータを通信するための方法、システム及びコンピュータプログラム
KR100881668B1 (ko) 웹 페이지 프리페치 장치 및 방법
US8069223B2 (en) Transferring data between applications
US20060026194A1 (en) System and method for enabling indexing of pages of dynamic page based systems
CN101425922B (zh) 跟踪和定位web服务更新过程中的改变的方法和装置
US20030187841A1 (en) Method and structure for federated web service discovery search over multiple registries with result aggregation
CN102609488A (zh) 客户端及其数据查询方法、服务端和数据查询系统
JP5483561B2 (ja) ストレージ装置、サーバ装置、ストレージシステム、データベース装置、データの提供方法、及び、プログラム
JP2007179324A (ja) 個品遷移情報管理システム及び個品遷移情報管理方法
US20110131229A1 (en) Query generating apparatus,query generating method and database search system
US9524076B2 (en) Web page management method and apparatus and storage medium thereof
KR101813512B1 (ko) 웹 어플리케이션 설치 시스템 및 방법
JP5256263B2 (ja) 情報処理装置、情報処理システムおよびプログラム
KR20040048199A (ko) 검색 결과와 상응하는 상세 정보를 이용한 웹 화면 변경방법 및 시스템
US20110126090A1 (en) Component cooperation device, a component cooperation method, a method of updating components of a web page and a program thereof
US20060085438A1 (en) Obtaining and displaying information related to a selection within a hierarchical data structure
JP2000330852A (ja) 検索システムおよび記録媒体
JP6104729B2 (ja) コンテンツ検索システム、コンテンツ検索方法、及びコンテンツ検索プログラム
JP2008171262A (ja) 検索方法、装置及びプログラム
WO2002080000A1 (fr) Programme de creation de bandeau personnel
JP2007199987A (ja) 特許情報検索システム
JP2001325280A (ja) データベース検索システム
JP5942508B2 (ja) サーバ装置、検索方法及びプログラム

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180010533.2

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11747448

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 6984/CHENP/2012

Country of ref document: IN

WWE Wipo information: entry into national phase

Ref document number: 2011747448

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 13581121

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE