Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4820841B2 - Data management system - Google Patents
[go: Go Back, main page]

JP4820841B2 - Data management system - Google Patents

Data management system Download PDF

Info

Publication number
JP4820841B2
JP4820841B2 JP2008118910A JP2008118910A JP4820841B2 JP 4820841 B2 JP4820841 B2 JP 4820841B2 JP 2008118910 A JP2008118910 A JP 2008118910A JP 2008118910 A JP2008118910 A JP 2008118910A JP 4820841 B2 JP4820841 B2 JP 4820841B2
Authority
JP
Japan
Prior art keywords
data file
server
sql
store
sql data
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
JP2008118910A
Other languages
Japanese (ja)
Other versions
JP2009271587A (en
Inventor
正人 大石
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Tec Corp
Original Assignee
Toshiba Tec Corp
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 Toshiba Tec Corp filed Critical Toshiba Tec Corp
Priority to JP2008118910A priority Critical patent/JP4820841B2/en
Publication of JP2009271587A publication Critical patent/JP2009271587A/en
Application granted granted Critical
Publication of JP4820841B2 publication Critical patent/JP4820841B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

この発明は、少なくとも1つがデータベースを有する複数の機器からなり、これら機器の相互間でデータベースに対する操作用のデータを共有するベース管理システムに関する。   The present invention relates to a base management system that includes a plurality of devices, at least one of which has a database, and shares operation data for the database among these devices.

少なくとも1つがデータベースを有する複数の機器からなり、これら機器の相互間でデータベースに対する操作用のデータを送受信する業務システムがある(例えば特許文献1)。   There is a business system in which at least one device includes a plurality of devices having a database, and data for operating the database is transmitted and received between these devices (for example, Patent Document 1).

このような業務システムでは、データベースに対する操作用のデータを各機器で共有する際に、データを送る側の機器におけるデータのフォーマット形式がデータを受取る側の機器におけるデータのフォーマット形式と合致しない場合がある。この場合、送るデータのフォーマット形式を受取り側のフォーマット形式に合せて変換する処理プログラムたとえばEXEファイルを作成し、それを送り側の機器に格納しておく必要がある。
特開平11―66164号公報
In such a business system, when data for operating the database is shared by each device, the data format in the device that sends the data may not match the data format in the device that receives the data. is there. In this case, it is necessary to create a processing program such as an EXE file that converts the format of the data to be sent in accordance with the format of the receiving side, and store it in the sending side device.
Japanese Patent Laid-Open No. 11-66164

しかしながら、EXEファイル等の処理プログラムの作成には、多くのコストと手間がかかるという問題がある。   However, the creation of a processing program such as an EXE file has a problem that it takes a lot of cost and labor.

この発明は、上記の事情を考慮したもので、その目的は、データベースに対する操作用のデータを、低コストで簡単に、各機器の相互間で共有することが可能なデータ管理システムを提供することにある。   The present invention has been made in consideration of the above circumstances, and an object of the present invention is to provide a data management system capable of easily sharing data for operation with respect to a database between devices at low cost. It is in.

請求項1に係る発明のデータ管理システムは、データベースを有するセンターサーバおよびこのセンターサーバにネットワーク接続された複数の店舗サーバからなるものであって、前記センターサーバに設けられ、前記データベースに対する操作用のSQLデータファイルが記憶されたSQLデータファイルフォルダと、前記センターサーバに設けられ、前記SQLデータファイルフォルダ内のSQLデータファイルを本部のホストサーバおよび前記各店舗サーバに適したフォーマット形式に変換するためのストアドプロシージャが記憶されたSPフォルダと、前記センターサーバに設けられた制御部と、を備える。制御部は、前記ホストサーバまたは前記各店舗サーバから前記SQLデータファイルの要求があったとき、前記SQLデータファイルフォルダ内のSQLデータファイルを読出す手段と、前記要求元が前記ホストサーバである場合、前記読出したSQLデータファイルを前記SPフォルダ内のストアドプロシージャにより前記ホストサーバに適したフォーマット形式のデータファイルに変換して保持する手段と、前記要求元が前記店舗サーバである場合、前記読出したSQLデータファイルを前記SPフォルダ内のストアドプロシージャにより前記各店舗サーバに適したフォーマット形式のデータファイルに変換して保持する手段と、前記保持したデータファイルを前記要求元のサーバに提供する手段と、を含む。 The data management system of the invention according to claim 1 is composed of a center server having a database and a plurality of store servers connected to the center server via a network, and is provided in the center server for operating the database. An SQL data file folder in which an SQL data file is stored and an SQL data file provided in the center server for converting the SQL data file in the SQL data file folder into a format suitable for the host server of the headquarters and each store server An SP folder in which stored procedures are stored and a control unit provided in the center server. The control unit is configured to read a SQL data file in the SQL data file folder when the host server or each store server requests the SQL data file, and the request source is the host server. Means for converting the read SQL data file into a data file in a format suitable for the host server by a stored procedure in the SP folder, and storing the read data when the request source is the store server Means for converting an SQL data file into a data file in a format suitable for each store server by a stored procedure in the SP folder, and means for providing the held data file to the requesting server; including.

このデータ管理システムによれば、データベースに対する操作用のデータを、低コストで簡単に、各機器の相互間で共有することが可能となる。   According to this data management system, operation data for a database can be easily shared between devices at low cost.

以下、この発明の一実施形態について図面を参照して説明する。
図1に示すように、複数の機器たとえばセンターサーバ1および店舗サーバ20が通信ネットワーク10を介して相互に接続され、いわゆるクライアント・サーバ・システム型のデータ管理システムが構成されている。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
As shown in FIG. 1, a plurality of devices such as a center server 1 and a store server 20 are connected to each other via a communication network 10 to constitute a so-called client server system type data management system.

このデータ管理システムは、例えばPOS等の商品販売処理装置に適用されるもので、センターサーバ1が販売センターに設置され、その販売センターにより管理される複数の店舗にそれぞれ店舗サーバ20が設置される。   This data management system is applied to a merchandise sales processing apparatus such as a POS, for example. The center server 1 is installed in a sales center, and the store servers 20 are installed in a plurality of stores managed by the sales center. .

センターサーバ1は、制御部2、制御プログラム記憶用のROM3、データ記憶用のRAM4、大容量の記憶手段であるハードディスクドライブ(HDD)5、表示部6、操作部7、およびネットワークインターフェース(I/F)8、およびプリンタ9などを有している。   The center server 1 includes a control unit 2, a ROM 3 for storing control programs, a RAM 4 for data storage, a hard disk drive (HDD) 5, which is a large-capacity storage means, a display unit 6, an operation unit 7, and a network interface (I / F) 8 and a printer 9 or the like.

上記ROM3には、後述のストアドプロシージャを実行するためのSP処理アプリケーションプログラムが格納されている。   The ROM 3 stores an SP processing application program for executing a stored procedure described later.

上記ハードディスクドライブ5には、例えば図2に示す複数のデータテーブルA1,A2,B,…Cが記憶されたデータベース(DB)5a、このデータベース5aに対する操作用(検索操作、更新操作、削除操作など)の複数のSQL(Structured Query Language)データファイルが記憶されたSQLデータファイルフォルダ(第1記憶手段)5b、このSQLデータファイルフォルダ5b内の各SQLデータファイルを本部のホストサーバ(図示しない)や各店舗サーバ20に適したフォーマット形式に変換するためのストアドプロシージャ(SP)が記憶されたSPフォルダ(第2記憶手段)5cなどが格納されている。   The hard disk drive 5 includes a database (DB) 5a in which a plurality of data tables A1, A2, B,... C shown in FIG. 2 are stored, and operations for the database 5a (search operation, update operation, delete operation, etc.) ) SQL data file folder (first storage means) 5b in which a plurality of SQL (Structured Query Language) data files are stored, and each SQL data file in the SQL data file folder 5b is stored in a host server (not shown) of the headquarters or An SP folder (second storage means) 5c in which stored procedures (SP) for conversion into a format suitable for each store server 20 are stored is stored.

データベース5a内のデータテーブルA1,A2,B,…Cのうち、A1は親データテーブル、A2は親データテーブルA1を基本マスタとして生成される子データテーブルである。親データテーブルA1は所定の項目を主キーとして有し、その主キーと同じ内容の外部キーを子データテーブルA2が有し、この主キーおよび外部キーのリレーションにより、親データテーブルA1と子データテーブルA2が互いにリンクする関係となっている。   Of the data tables A1, A2, B,... C in the database 5a, A1 is a parent data table, and A2 is a child data table generated using the parent data table A1 as a basic master. The parent data table A1 has a predetermined item as a primary key, and the child data table A2 has a foreign key having the same contents as the primary key. By the relation between the primary key and the foreign key, the parent data table A1 and the child data are stored. Table A2 is linked to each other.

また、各店舗サーバ20は、制御部21、制御プログラム記憶用のROM22、データ記憶用のRAM23、データ記憶用のハードディスクドライブ(HDD)24、表示部25、操作部26、およびネットワークインターフェース(I/F)27などを有している。   Each store server 20 includes a control unit 21, a ROM 22 for storing a control program, a RAM 23 for data storage, a hard disk drive (HDD) 24 for data storage, a display unit 25, an operation unit 26, and a network interface (I / F) 27 and the like.

このような構成のデータ管理システムにおいて、センターサーバ1における制御部2は、データベース管理に関する主要な機能として、次の(1)(2)を有している。
(1)ROM3内のSP処理アプリケーションプログラムを起動してSPフォルダ5c内のストアドプロシージャを実行し、これによりSQLデータファイルフォルダ5b内の各SQLデータファイルをホストサーバや各店舗サーバ20に適したフォーマット形式に変換する制御手段。各SQLデータファイルの内容として、例えば引数1(ファイル名),引数2(対象日付),…引数nがある。
In the data management system having such a configuration, the control unit 2 in the center server 1 has the following (1) and (2) as main functions related to database management.
(1) The SP processing application program in the ROM 3 is started and the stored procedure in the SP folder 5c is executed, whereby each SQL data file in the SQL data file folder 5b is formatted suitable for the host server or each store server 20. Control means to convert to format. The contents of each SQL data file include, for example, argument 1 (file name), argument 2 (target date),.

(2)上記変換されたデータファイルをホストサーバや各店舗サーバ20からの要求に応じて同サーバに提供する提供手段。具体的には、変換されたデータファイルをファイルフォルダ5dに一旦保持し、その保持したデータファイルを要求元のサーバの受取り形式に合せて提供する。   (2) Providing means for providing the converted data file to the server in response to a request from the host server or each store server 20. Specifically, the converted data file is temporarily held in the file folder 5d, and the held data file is provided in accordance with the reception format of the requesting server.

つぎに、図3および図4を参照しながら作用について説明する。
センターサーバ1に他のサーバからSQLデータファイルの要求があると、センターサーバ1のSQLデータファイルフォルダ5bにおける各SQLデータファイルの1つが読出される(ステップ101)。そして、読出されたSQLデータファイルが、カンマで区切られたCSV(Comma Separated Values)であるか、テーブルデータそのままのBCP(Bridge Control Protocol)であるかが、判定される(ステップ102)。
Next, the operation will be described with reference to FIGS.
When the center server 1 receives a SQL data file request from another server, one of the SQL data files in the SQL data file folder 5b of the center server 1 is read (step 101). Then, it is determined whether the read SQL data file is a comma separated values (CSV) separated by commas or a BCP (Bridge Control Protocol) with table data as it is (step 102).

読出されたSQLデータファイルがCSVの場合、店舗別作成フラグが“1”で(ステップ103の“1”)、本部から販売センターに対してSQLデータファイルが要求されていれば、ストアドプロシージャの実行により、SQLデータファイルが本部のホストサーバに適したフォーマット形式のデータファイルに変換される(ステップ104)。変換されたデータファイルは、ファイルフォルダ5dに保持される。   If the read SQL data file is CSV, the store-specific creation flag is “1” (“1” in step 103), and if the SQL data file is requested from the head office to the sales center, the stored procedure is executed. Thus, the SQL data file is converted into a data file in a format suitable for the headquarters host server (step 104). The converted data file is held in the file folder 5d.

店舗別作成フラグが“0”で(ステップ103の“0”)、各店舗から販売センターに対してSQLデータファイルが要求されている状況では、ストアドプロシージャの実行により、SQLデータファイルが各店舗サーバ20に適したフォーマット形式のデータファイルにそれぞれ変換される(ステップ105)。変換されたデータファイルは、ファイルフォルダ5dに保持される。   When the store-specific creation flag is “0” (“0” in step 103) and an SQL data file is requested from each store to the sales center, the SQL data file is stored in each store server by executing the stored procedure. Each data file is converted into a data file having a format suitable for the file 20 (step 105). The converted data file is held in the file folder 5d.

ここで、店舗ヘッダ付加フラグが“0”であれば(ステップ106の“0”)、店舗ヘッダが作成され、それが上記保持されたデータファイルに付加される(ステップ107)。店舗ヘッダ付加フラグが“1”の場合(ステップ106の“1”)、店舗ヘッダは作成されない。   If the store header addition flag is “0” (“0” in step 106), a store header is created and added to the stored data file (step 107). When the store header addition flag is “1” (“1” in step 106), the store header is not created.

続いて、HDS(Hierarchy Data Set)ファイル付加フラグが“0”であれば(ステップ108の“0”)、HDSヘッダが作成され、それが上記保持されたデータファイルに付加される(ステップ109)。つまり、上記店舗別作成フラグが“0”となっていれば店舗コードとして実際の店舗コードがセットされたHDSヘッダが付加され、店舗別作成付加フラグが“1”となっていれば店舗コードとしてホストコードがセットされたHDSヘッダが付加される。HDSファイル付加フラグが“1”の場合(ステップ108の“1”)、HDSファイルヘッダは付加されない。 Subsequently, if the HDS (Hierarchy Data Set) file addition flag is “0” (“0” in step 108), an HDS header is created and added to the held data file (step 109). . That is, if the store- specific creation flag is “0”, an HDS header in which the actual store code is set as a store code is added, and if the store- specific creation flag is “1”, the store code is An HDS header in which the host code is set is added. When the HDS file addition flag is “1” (“1” in step 108), the HDS file header is not added.

さらに、日付時刻付加フラグが“0”であれば(ステップ110の“0”)、上記保持されたデータファイルに現時点の日付及び時刻データが付加される(ステップ111)。日付時刻付加フラグが“1”の場合(ステップ110の“1”)、日付及び時刻データは付加されない。   Further, if the date / time addition flag is “0” (“0” in step 110), the current date and time data are added to the held data file (step 111). When the date / time addition flag is “1” (“1” in step 110), date and time data are not added.

そして、上記保持されたデータファイルを受取る側のサーバの受取り形式がFTP(File Transfer Protocol)であるか指定フォルダであるかが判定される(ステップ112)。受取り形式がFTPであれば、上記保持されたデータファイルがFTP形式で受取り側のサーバに送信される。受取り形式が指定フォルダであれば、上記保持されたデータファイルが受取り側のサーバからのアクセスにより同サーバ内の指定フォルダにコピーされる。   Then, it is determined whether the receiving format of the server that receives the held data file is FTP (File Transfer Protocol) or a designated folder (step 112). If the receiving format is FTP, the held data file is transmitted to the receiving server in FTP format. If the receiving format is a designated folder, the stored data file is copied to the designated folder in the server by access from the receiving server.

一方、上記読出されたSQLデータファイルがBCPの場合(ステップ102のBCP)、そのBCPの出力形式が全件であるか一部であるかが判定される(ステップ115)。全件であれば、上記読出されたSQLデータファイルの全件が抽出されてファイルフォルダ5dに一旦保持される(ステップ116)。一部であれば、上記読出されたSQLデータファイルの一部のみ抽出されてファイルフォルダ5dに一旦保持される(ステップ117)。   On the other hand, if the read SQL data file is a BCP (BCP in step 102), it is determined whether the output format of the BCP is all or part (step 115). If there are all cases, all cases of the read SQL data file are extracted and temporarily held in the file folder 5d (step 116). If it is a part, only a part of the read SQL data file is extracted and temporarily held in the file folder 5d (step 117).

ここで、HDS(Hierarchy Data Set)ファイル付加フラグが“0”であれば(ステップ108の“0”)、HDSヘッダが作成され、それが上記保持されたSQLデータファイルに付加される(ステップ109)。すなわち、店舗別作成フラグが“0”となっていれば、店舗コードとして実際の店舗コードがセットされたHDSヘッダが付加される。店舗別作成フラグが“1”となっていれば、店舗コードとしてホストコードがセットされたHDSヘッダが付加される。HDSファイル付加フラグが“1”の場合(ステップ108の“1”)、HDSファイルヘッダは付加されない。 If the HDS (Hierarchy Data Set) file addition flag is “0” (“0” in step 108), an HDS header is created and added to the stored SQL data file (step 109). ). That is, if the store- specific creation flag is “0”, an HDS header in which an actual store code is set as a store code is added. If the store- specific creation flag is “1”, an HDS header in which a host code is set as a store code is added. When the HDS file addition flag is “1” (“1” in step 108), the HDS file header is not added.

さらに、日付時刻付加フラグが“0”であれば(ステップ110の“0”)、上記保持されたSQLデータファイルに現時点の日付及び時刻データが付加される(ステップ111)。日付時刻付加フラグが“1”の場合(ステップ110の“1”)、日付及び時刻データは付加されない。   Further, if the date / time addition flag is “0” (“0” in step 110), the current date and time data are added to the held SQL data file (step 111). When the date / time addition flag is “1” (“1” in step 110), date and time data are not added.

そして、上記保持されたSQLデータファイルの受取り側のサーバの受取り形式がFTP(File Transfer Protocol)であるか指定フォルダであるかが判定される(ステップ112)。受取り形式がFTPであれば、上記保持されたSQLデータファイルがFTP形式で受取り側のサーバに送信される。受取り形式が指定フォルダあれば、上記保持されたSQLデータファイルが受取り側のサーバからのアクセスにより同サーバ内の指定フォルダにコピーされる。   Then, it is determined whether the reception format of the server on the side of receiving the held SQL data file is FTP (File Transfer Protocol) or a designated folder (step 112). If the receiving format is FTP, the held SQL data file is transmitted to the receiving server in FTP format. If the receiving format is a designated folder, the held SQL data file is copied to the designated folder in the server by access from the receiving server.

以上のように、センターサーバ1のデータベース5aに対する操作用のSQLデータファイルを同センターサーバ1に記憶しておき、さらに、SQLデータファイルを他のサーバに適したフォーマット形式に変換するためのストアドプロシージャを同センターサーバ1に記憶しておき、センターサーバ1に対し他のサーバからSQLデータファイルの要求があるとき、SQLデータファイルを要求元のサーバに適したフォーマット形式のデータファイルに変換して同要求元に提供する構成としたので、多くのコストと手間のかかるEXEファイル等の処理プログラムを要することなく、データベース5aに対する操作用のデータファイルを、低コストで簡単に、各サーバの相互間で共有することが可能となる。   As described above, an SQL data file for operation with respect to the database 5a of the center server 1 is stored in the center server 1, and a stored procedure for converting the SQL data file into a format suitable for another server is stored. Are stored in the center server 1, and when there is a request for an SQL data file from another server to the center server 1, the SQL data file is converted into a data file in a format suitable for the requesting server. Since it is configured to be provided to the requester, a data file for operation on the database 5a can be easily and inexpensively exchanged between the servers without requiring a processing program such as an EXE file that requires a lot of cost and labor. It becomes possible to share.

なお、上記実施形態では、センターサーバ1および複数の店舗サーバ20からなるクライアント・サーバ・システム型のデータ管理システムを例に説明したが、データベースを有するものであれば、他のシステムにも同様に適用可能である。その他、この発明は上記実施形態に限定されるものではなく、要旨を変えない範囲で種々変形実施可能である。   In the above embodiment, the client server system type data management system including the center server 1 and the plurality of store servers 20 has been described as an example. However, as long as it has a database, the same applies to other systems. Applicable. In addition, the present invention is not limited to the above embodiment, and various modifications can be made without departing from the scope of the invention.

一実施形態の全体的な構成を示す図。The figure which shows the whole structure of one Embodiment. 一実施形態におけるデータベースの記憶内容を示す図。The figure which shows the memory content of the database in one Embodiment. 一実施形態におけるセンターサーバの主な処理を説明するための図。The figure for demonstrating the main processes of the center server in one Embodiment. 一実施形態の作用を説明するためのフローチャート。The flowchart for demonstrating the effect | action of one Embodiment.

符号の説明Explanation of symbols

1…センターサーバ、2…制御部、4…RAM、5…ハードディスクドライブ、5a…データベース、5b…SQLデータファイルフォルダ、5c…SPフォルダ、5d…ファイルフォルダ、10…通信ネットワーク、20…店舗サーバ(クライアント)、21…制御部   DESCRIPTION OF SYMBOLS 1 ... Center server, 2 ... Control part, 4 ... RAM, 5 ... Hard disk drive, 5a ... Database, 5b ... SQL data file folder, 5c ... SP folder, 5d ... File folder, 10 ... Communication network, 20 ... Store server ( Client), 21 ... control unit

Claims (3)

データベースを有するセンターサーバおよびこのセンターサーバにネットワーク接続された複数の店舗サーバからなるデータ管理システムにおいて、
前記センターサーバに設けられ、前記データベースに対する操作用のSQLデータファイルが記憶されたSQLデータファイルフォルダと、
前記センターサーバに設けられ、前記SQLデータファイルフォルダ内のSQLデータファイルを本部のホストサーバおよび前記各店舗サーバに適したフォーマット形式に変換するためのストアドプロシージャが記憶されたSPフォルダと、
前記センターサーバに設けられた制御部と、
を備え、
前記制御部は、
前記ホストサーバまたは前記各店舗サーバから前記SQLデータファイルの要求があったとき、前記SQLデータファイルフォルダ内のSQLデータファイルを読出す手段と、
前記要求元が前記ホストサーバである場合、前記読出したSQLデータファイルを前記SPフォルダ内のストアドプロシージャにより前記ホストサーバに適したフォーマット形式のデータファイルに変換して保持する手段と、
前記要求元が前記店舗サーバである場合、前記読出したSQLデータファイルを前記SPフォルダ内のストアドプロシージャにより前記各店舗サーバに適したフォーマット形式のデータファイルに変換して保持する手段と、
前記保持したデータファイルを前記要求元のサーバに提供する手段と、
を含むことを特徴とするデータ管理システム。
In a data management system comprising a center server having a database and a plurality of store servers network-connected to the center server ,
An SQL data file folder provided in the center server and storing an SQL data file for operating the database;
An SP folder that is provided in the center server and stores a stored procedure for converting an SQL data file in the SQL data file folder into a format suitable for a host server of the headquarters and each store server;
A control unit provided in the center server;
With
The controller is
Means for reading a SQL data file in the SQL data file folder when the host server or each store server requests the SQL data file;
When the request source is the host server, the read SQL data file is converted into a data file in a format suitable for the host server by a stored procedure in the SP folder, and stored,
When the request source is the store server, means for converting the read SQL data file into a data file in a format suitable for each store server by a stored procedure in the SP folder,
Means for providing the retained data file to the requesting server;
Data management system, which comprises a.
前記制御部は、
前記ホストサーバまたは前記各店舗サーバから前記SQLデータファイルの要求があったとき、前記SQLデータファイルフォルダ内のSQLデータファイルを読出す手段と、
前記読出したSQLデータファイルがCSVであるかBCPであるか判定する手段と、
前記判定の結果がCSVで、かつ前記要求元が前記ホストサーバである場合、前記読出したSQLデータファイルを前記SPフォルダ内のストアドプロシージャにより前記ホストサーバに適したフォーマット形式のデータファイルに変換して保持する手段と、
前記判定の結果がCSVで、かつ前記要求元が前記店舗サーバである場合、前記読出したSQLデータファイルを前記SPフォルダ内のストアドプロシージャにより前記各店舗サーバに適したフォーマット形式のデータファイルに変換して保持する手段と、
必要に応じて店舗ヘッダを作成し前記保持したデータファイルに付加する手段と、
必要に応じて店舗コードまたはホストコードがセットされたHDSヘッダを作成し前記保持したデータファイルに付加する手段と、
前記判定の結果がBCPの場合、そのBCPの出力形式が全件であるか一部であるか判定する手段と、
前記判定の結果が全件であれば、前記読出したSQLデータファイルの全件を抽出して保持する手段と、
前記判定の結果が一部であれば、前記読出したSQLデータファイルの一部のみ抽出して保持する手段と、
必要に応じて店舗コードまたはホストコードがセットされたHDSヘッダを作成し前記保持したSQLデータファイルに付加する手段と、
前記保持したデータファイルまたはSQLデータファイルを前記要求元のサーバに提供する手段と、
を含む、
ことを特徴とする請求項1記載のデータ管理システム。
The controller is
Means for reading a SQL data file in the SQL data file folder when the host server or each store server requests the SQL data file;
Means for determining whether the read SQL data file is CSV or BCP;
If the determination result is CSV and the request source is the host server, the read SQL data file is converted into a data file in a format suitable for the host server by a stored procedure in the SP folder. Means for holding;
When the determination result is CSV and the request source is the store server, the read SQL data file is converted into a data file in a format suitable for each store server by the stored procedure in the SP folder. Means to hold and
Means for creating a store header as needed and adding it to the retained data file;
Means for creating an HDS header in which a store code or a host code is set as necessary and adding it to the held data file;
If the result of the determination is BCP, means for determining whether the output format of the BCP is all cases or a part thereof;
If the determination result is all cases, means for extracting and holding all cases of the read SQL data file;
Means for extracting and holding only a part of the read SQL data file if the result of the determination is a part;
Means for creating an HDS header in which a store code or a host code is set as needed and adding it to the held SQL data file;
Means for providing the retained data file or SQL data file to the requesting server;
including,
The data management system according to claim 1, wherein:
前記提供する手段は、前記保持したデータファイルまたはSQLデータファイルを前記要求元のサーバの受取り形式に合わせてその要求元のサーバに提供する、
ことを特徴とする請求項1または請求項2記載のデータ管理システム。
The providing means provides the held data file or the SQL data file to the requesting server in accordance with the receiving format of the requesting server.
The data management system according to claim 1 or 2, characterized by the above.
JP2008118910A 2008-04-30 2008-04-30 Data management system Expired - Fee Related JP4820841B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008118910A JP4820841B2 (en) 2008-04-30 2008-04-30 Data management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008118910A JP4820841B2 (en) 2008-04-30 2008-04-30 Data management system

Publications (2)

Publication Number Publication Date
JP2009271587A JP2009271587A (en) 2009-11-19
JP4820841B2 true JP4820841B2 (en) 2011-11-24

Family

ID=41438111

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008118910A Expired - Fee Related JP4820841B2 (en) 2008-04-30 2008-04-30 Data management system

Country Status (1)

Country Link
JP (1) JP4820841B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0765032A (en) * 1993-08-27 1995-03-10 Toshiba Corp Information processing system with database language conversion function
JP3277654B2 (en) * 1993-12-20 2002-04-22 株式会社日立製作所 Heterogeneous database access system
JP2000305823A (en) * 1999-04-23 2000-11-02 Mitsubishi Electric Corp Data conversion shared data server and combined data generation device
JP2001034634A (en) * 1999-07-26 2001-02-09 Nec Software Chugoku Ltd Data base retrieval system and program recording medium for the system
JP2002108886A (en) * 2000-09-28 2002-04-12 Yamatake Sangyo Systems Co Ltd Database management system
JP2002259238A (en) * 2001-03-05 2002-09-13 Nippon Telegr & Teleph Corp <Ntt> Network device management apparatus and method, program and recording medium
JP4485872B2 (en) * 2004-07-23 2010-06-23 東芝テック株式会社 Data relay device
JP2007328623A (en) * 2006-06-08 2007-12-20 Fuji Xerox Co Ltd Access controller

Also Published As

Publication number Publication date
JP2009271587A (en) 2009-11-19

Similar Documents

Publication Publication Date Title
US10891305B2 (en) Synchronization of data between systems
US9460307B2 (en) Managing sensitive data in cloud computing environments
US10476936B1 (en) Plugin-based file transfer systems and/or methods
EP2779583A1 (en) Telecommunication method and system
KR102032583B1 (en) Access to supplemental data based on identifier derived from corresponding primary application data
JP2013152666A (en) Management system, image forming apparatus, control method of management system, control method of image forming apparatus and program
JP7404715B2 (en) Information processing device and program
JP4820841B2 (en) Data management system
US11567922B2 (en) Method and system for using external content type object types
US8024800B2 (en) File attachment processing method and system
JP6973067B2 (en) Data processing programs, data processing methods, and data processing equipment
CN118054932A (en) Method and system for operating object storage service based on proxy server, and electronic device
US10467077B2 (en) Configuration item integrity
CN114911580A (en) Mirror image state processing method and device and computing equipment
JP5351746B2 (en) Data processing apparatus and method
CN101506805A (en) Method and apparatus for multi-format data exchange
JP4492569B2 (en) File operation control device, file operation control system, file operation control method, and file operation control program
JP2007079773A (en) Software distribution server and method for distributing software
JP5302148B2 (en) Multi-tenant database system, access control method and program
JP2015162159A (en) Information processing system, control method thereof, and program
JP2006279725A (en) Data relay method and data relay device
TW201403362A (en) Managing large data sets through page based information tracking in multi-master environments
JP5601028B2 (en) Database replication system, database replication method, information processing apparatus, and program
JP4724491B2 (en) Resource distribution management program, resource distribution management method, and resource distribution management apparatus
JP4898299B2 (en) Authentication information integration system, authentication information integration method, and authentication information integration program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110502

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110517

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110715

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110809

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110905

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140909

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4820841

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees