JPH06295304A - Reserved sales method - Google Patents

Reserved sales method

Info

Publication number
JPH06295304A
JPH06295304A JP8177393A JP8177393A JPH06295304A JP H06295304 A JPH06295304 A JP H06295304A JP 8177393 A JP8177393 A JP 8177393A JP 8177393 A JP8177393 A JP 8177393A JP H06295304 A JPH06295304 A JP H06295304A
Authority
JP
Japan
Prior art keywords
computer system
sales
reservation
file
sale
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.)
Pending
Application number
JP8177393A
Other languages
Japanese (ja)
Inventor
Kunihiro Nomura
訓弘 野村
Koji Fukuda
浩至 福田
Katsunori Ishibashi
勝典 石橋
Tsutomu Tashiro
勤 田代
Susumu Oguchi
晋 小口
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP8177393A priority Critical patent/JPH06295304A/en
Publication of JPH06295304A publication Critical patent/JPH06295304A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the load of a CPU at the peak of selling. CONSTITUTION:A train file RF and a seat file ZF stored in a host computer 11 are divided into plural file servers 1 to n and loaded down, and in a high period of selling frequency, selling processing is executed in each file server without accessing host computer 11. When the peak of selling has passed, data left in the file servers are loaded up to the host computer 11 and uniformly managed by the host computer. When stock in the host computer 11 disappears before the up-loading, file servers having remainders are searched and the remainders are loaded up.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、交通機関の便や座席の
予約、コンサート、野球場等のチケットの販売方法に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of selling tickets for transportation, seat reservations, concerts, baseball fields and the like.

【0002】[0002]

【従来の技術】従来は、販売を管理するファイルをすべ
てホストコンピュータで一元管理し、所定の日時に一斉
に販売を開始していた。
2. Description of the Related Art Conventionally, all files for managing sales have been centrally managed by a host computer, and sales have been started all together at a predetermined date and time.

【0003】[0003]

【発明が解決しようとする課題】そのため、その時刻に
は、トランザクションがホストコンピュータに集中し、
応答時間が遅くなる、という問題があった。本発明で
は、トランザクションが多数発生しても、ホストコンピ
ュータに負荷が集中しないようにする。
Therefore, at that time, transactions concentrate on the host computer,
There was a problem that the response time was slow. The present invention prevents the load from being concentrated on the host computer even if a large number of transactions occur.

【0004】[0004]

【課題を解決するための手段】ホストコンピュータで管
理している販売に必要なファイル(以下在庫ファイルと
いう)を分割してファイルサーバーに記憶させ、ホスト
とファイルサーバーはLANで接続する。顧客からの販
売の問合せは、端末を用い、ファイルサーバーと端末は
公衆回線網で接続する。端末から販売の問合せがあった
場合、その端末と接続されているファイルサーバーは、
そのファイルがファイルサーバーに格納されていて、か
つまだ在庫がある場合は、そこで販売の手続きを終了
し、ホストコンピュータにアクセスしない。そうでない
場合だけホストコンピュータにアクセスする。これによ
って、ホストコンピュータへの負荷集中が軽減できる。
Means for Solving the Problems A file (hereinafter referred to as an inventory file) managed by a host computer and required for sale is divided and stored in a file server, and the host and the file server are connected by a LAN. The customer inquires about the sales by using the terminal, and the file server and the terminal are connected by the public line network. If there is a sales inquiry from the terminal, the file server connected to that terminal will
If the file is stored on the file server and it is still in stock, it ends the sale procedure and does not access the host computer. Otherwise, access the host computer. This can reduce the load concentration on the host computer.

【0005】[0005]

【作用】列車の指定席券の販売を例にとって説明する。
ホストコンピュータには、出発日時、列車名、及びその
座席数を記憶した列車ファイル(RF)と座席別に販売
状況を記憶した座席ファイル(ZF)がある。販売開始
直前にホストコンピュータは、各列車の在庫を(一部分
をホストコンピュータに残して)単数または複数のファ
イルサーバーに、分割してダウンロードする。ダウンロ
ードされたRF、ZFの1つのファイルをそれぞれR
F’、ZF’と呼ぶ。ZFには、座席ごとの販売状況
(空席または販売済み)または、ファイルサーバーで販
売中の場合はダウンロード先のファイルサーバーの番号
を記憶させておく。
[Operation] An example of selling reserved seat tickets for a train will be described.
The host computer has a train file (RF) that stores the departure date and time, the train name, and the number of seats, and a seat file (ZF) that stores the sales status for each seat. Immediately before the start of sales, the host computer divides and downloads the stock of each train to one or more file servers (leaving a part of the stock in the host computer). Each downloaded RF and ZF file is R
Call them F'and ZF '. The ZF stores the sales status of each seat (vacant seats or sold), or the file server number of the download destination if the file server is on sale.

【0006】端末から販売の問合せがあった場合、その
端末と接続されているファイルサーバーは、該当する列
車のRF’、ZF’を参照し、在庫があれば、その座席
を販売する。在庫がなければ、ホストコンピュータにア
クセスする。
When there is a sales inquiry from the terminal, the file server connected to the terminal refers to the RF 'and ZF' of the corresponding train, and if there is stock, sells the seat. If not in stock, access the host computer.

【0007】販売開始からある所定の時間が経過、ある
いは所定の割合の枚数を販売、あるいは所定時間あたり
の売上枚数が一定値以下になった場合は、RF’、Z
F’をホストコンピュータにアップロードする。
When a predetermined time has elapsed from the start of sales, or when a predetermined number of sheets are sold, or when the number of sold sheets per a predetermined time falls below a certain value, RF ', Z
Upload F'to the host computer.

【0008】また、ホストコンピュータに在庫がなくな
れば、売れ残っているファイルサーバーを検索し、アッ
プロードする。このようにして、販売ニーズがあるにも
かかわらず、売れ残りが生じる、ということがないよう
にする。
When the host computer runs out of stock, the unsold file server is searched and uploaded. In this way, there is no need for unsold sales despite the need for sales.

【0009】他の実現方法として、「列車の始発駅の発
車時刻を指定席券の販売開始時刻とする」という方法が
ある。販売前にホストコンピュータに準備したRF、Z
Fをロックしておき、タイマーを監視し、販売開始時刻
になれば、該当するRF、ZFをアンロックし、販売を
受け付けられるようにする。
As another implementation method, there is a method in which "the departure time of the first train station of the train is set as the sale start time of the reserved seat ticket". RF and Z prepared in the host computer before sale
F is locked, the timer is monitored, and when the sale start time comes, the corresponding RF and ZF are unlocked so that the sale can be accepted.

【0010】[0010]

【実施例】本発明は、列車の指定席券やコンサートのチ
ケット販売に適用可能であるが、ここでは、前者を例に
述べる。現状の技術と比べて、第1のコンピュータに集
中しているファイルを分散する方法と、販売開始時刻を
列車の発車時刻にする、という2つの異なったアプロー
チを考える。第1、第2の実施例では、販売開始時刻は
ある特定時刻(現状のシステム)のままで、ファイルを
分散する方法について述べる。
The present invention is applicable to reserved seat tickets for trains and ticket sales for concerts. Here, the former will be taken as an example. Consider two different approaches compared to the current state of the art: a method of distributing files that are concentrated on the first computer, and a start time of the train being the departure time of the train. In the first and second embodiments, a method of distributing files while the sale start time remains a certain specific time (current system) will be described.

【0011】図1にシステム構成図を示す。ホストコン
ピュータ11とファイルサーバー1、2、・・・nをL
AN12で接続する。各ファイルサーバーには、公衆回
線網10、20、30を介して、端末を接続する。例え
ば、ファイルサーバー1には、端末1aから端末1zま
での端末を、ファイルサーバー2には、端末2aから端
末2zまでの端末を接続する。
FIG. 1 shows a system configuration diagram. The host computer 11 and the file servers 1, 2, ...
Connect with AN12. A terminal is connected to each file server via the public line networks 10, 20, 30. For example, the file server 1 is connected to terminals 1a to 1z, and the file server 2 is connected to terminals 2a to 2z.

【0012】ファイルサーバーがダウンした時の対策に
は公知の技術を利用する。以下、3つの方法が考えられ
る。
A known technique is used as a countermeasure when the file server goes down. Hereinafter, three methods can be considered.

【0013】(1)各ファイルサーバーを2重化する。(1) Each file server is duplicated.

【0014】(2)所定の時間待ってもファイルサーバ
ーから端末への回答がない時は、ファイルサーバーがダ
ウンした、と端末は判断し、ファイルサーバーに出した
トランザクションをキャンセルし、ホストコンピュータ
11と直接取引を行う(トランザクションを発生させ
る)。
(2) If there is no reply from the file server to the terminal even after waiting for a predetermined time, the terminal judges that the file server is down, cancels the transaction issued to the file server, and cancels the transaction with the host computer 11. Make a direct transaction (generate a transaction).

【0015】(3)ファイルサーバーにトランザクショ
ンが発生する時に、ホストコンピュータ11にもそのト
ランザクションの内容のバックアップを記憶させてお
く。ファイルサーバーがダウンせず、無事に処理が終了
すれば、ホストコンピュータ11のバックアップをキャ
ンセルし、ファイルサーバーがダウンした時には、ホス
トコンピュータ11に記憶させたバックアップのトラン
ザクションを処理する。ファイルサーバーが回復後、ダ
ウン中に(ファイルサーバーで処理できず)ホストコン
ピュータ11で処理を行ったトランザクションをキャン
セルする。
(3) When a transaction occurs in the file server, the host computer 11 also stores a backup of the contents of the transaction. If the file server does not go down and the processing ends normally, the backup of the host computer 11 is canceled, and when the file server goes down, the backup transaction stored in the host computer 11 is processed. After the file server is recovered, the transaction processed by the host computer 11 is canceled while the file server is down (cannot be processed by the file server).

【0016】次にファイルの分散方法を述べる。販売開
始直後には、多数の端末からホストコンピュータ11に
負荷が集中するので、販売開始前に、列車ファイルRF
(列車ごとの残席数を示すファイル)と座席ファイルZ
F(座席ごとの販売状況を示すファイル)を分割して、
ファイルサーバー1からファイルサーバーnにダウンロ
ードしておく(ホストコンピュータ11にも一部分残し
ておく)。図2に分割した概要を示す。CPU101、
102、103はそれぞれファイルサーバ1、2、3の
CPUである。例えば、ひかりA号のRF、ZFをA
0、A1、A2、A3、・・・に分割し、A0をホスト
コンピュータ11の磁気ディスクに残し、A1、A2、
A3をそれぞれファイルサーバー1、2、3に分割し
て、記憶させる。ひかりB号、C号も同様である。
Next, a file distribution method will be described. Immediately after the sale starts, the load is concentrated on the host computer 11 from many terminals.
(File showing the number of remaining seats for each train) and seat file Z
Divide F (file showing sales status for each seat),
It is downloaded from the file server 1 to the file server n (a part of the host computer 11 also remains). FIG. 2 shows an outline of the division. CPU101,
Reference numerals 102 and 103 denote CPUs of the file servers 1, 2, and 3, respectively. For example, the RF and ZF of Hikari A is A
0, A1, A2, A3, ..., A0 is left on the magnetic disk of the host computer 11, A1, A2,
A3 is divided into file servers 1, 2 and 3, respectively, and stored. The same applies to Hikari B and C.

【0017】表1にホスト側のRF、表2にホスト側の
ZF、表3にファイルサーバー側のZF’を示す。表1
には、ホストコンピュータ11に記憶させるRFの内の
3列車だけの例を示した。
Table 1 shows RF on the host side, Table 2 shows ZF on the host side, and Table 3 shows ZF 'on the file server side. Table 1
Shows an example of only three trains of the RF stored in the host computer 11.

【0018】[0018]

【表1】 [Table 1]

【0019】ここでの残席数は、現在ホストコンピュー
タ11で管理している残席数であり、ファイルサーバー
で販売中の座席数は含まれていない。ファイルサーバー
稼働フラグとは、ファイルサーバーで販売中か(1)、
既に販売を終了し、ホストコンピュータ11に販売状況
を報告(アップロード)したか(0)を示している。も
し、ホストコンピュータ11での残席がなくなれば稼働
中のファイルサーバーにアクセスすればよい。例えば、
ホストコンピュータ11には「ひかり3号のグリーンの
禁煙席」の残席はないが、ファイルサーバー1と2では
販売中であることを示しているので、ファイルサーバー
1または2にアクセスする。ここでは、1列車につきフ
ァイルサーバー稼働フラグを1つだけの例を示したが、
普通席の喫煙、禁煙別、グリーン席の喫煙、禁煙別に該
フラグを設定することや、各号車ごとに該フラグを設定
することはもちろん可能である。表1からファイルサー
バー稼働フラグを除いたものが、ファイルサーバー側の
RF’である。以後、残席のことを在庫と言う。
The number of seats left here is the number of seats currently managed by the host computer 11, and does not include the number of seats on sale at the file server. What is the file server operating flag? Is it on sale on the file server (1),
It indicates whether the sale has already been completed and the sale status has been reported (uploaded) to the host computer 11 (0). If there are no more seats left in the host computer 11, it is possible to access the file server in operation. For example,
Although the host computer 11 does not have the remaining "Hikari No. 3 green non-smoking seat", it indicates that the file servers 1 and 2 are on sale, so the file server 1 or 2 is accessed. Here, only one file server operating flag is shown for each train,
It is, of course, possible to set the flag for smoking or non-smoking in normal seats, smoking or smoking in green seats, or to set the flag for each car. RF 'on the file server side is obtained by removing the file server operation flag from Table 1. Hereafter, the remaining seats are called inventory.

【0020】表2にホストで管理している(ある1列車
の3車両の)座席別の販売状況を示す。
Table 2 shows the sales status of each seat (three cars of one train) managed by the host.

【0021】[0021]

【表2】 [Table 2]

【0022】16号車、15号車は、それぞれファイル
サーバー1、2に分割し、14号車はホストで管理して
いることを示している。表中の各座席のフラグを説明す
る。’00’はまだ空席であることを意味している。’
01’はファイルサーバーへアサインした座席で、この
ファイル(ZF)では、空席かどうか不明であることを
示している。’10’は予約済みだがまだ発券はしてお
らず、’11’は発券がすんだことを意味している。
Cars 16 and 15 are divided into file servers 1 and 2, respectively, and car 14 is managed by the host. The flags of each seat in the table will be described. '00' means that there are still empty seats. '
01 'is a seat assigned to the file server, and this file (ZF) indicates that it is unknown whether the seat is empty. '10' means reserved but not issued yet, '11' means ticket issued.

【0023】16号車の各座席のフラグは、’01’以
外になっているので、ファイルサーバー1からは販売状
況が報告され、ホストで販売が出来る状態にある、こと
を意味している。’10’は、予約の受け付けだけはし
たが、まだ発券はしていない状態で、発券をすれば、’
11’になる。したがって、’10’の座席はキャンセ
ルされるまでは、他人に売ってはならない。15号車の
各フラグはすべて’01’なので、ファイルサーバー2
へダウンロードされたままで、まだアップロードはされ
ていないことを意味している。この車両の全座席は、ア
ップロードされた時に、’00’、’10’、’11’
のいずれかに設定される。
Since the flag of each seat of the 16th car is other than "01", it means that the file server 1 reports the sales status and the host is ready to sell. '10' only accepts reservations but has not issued tickets yet
11 '. Therefore, the '10' seat must not be sold to others until canceled. All the flags of car No. 15 are '01', so file server 2
Means that it has been downloaded to and not yet uploaded to. All seats in this vehicle are '00', '10', '11' when uploaded
Is set to either.

【0024】表3にある1つのファイルサーバーで管理
している(ある1列車のある1車両の)座席別の販売状
況を示す。
Table 3 shows the sales situation by seat (for one vehicle with one train) managed by one file server shown in Table 3.

【0025】[0025]

【表3】 [Table 3]

【0026】この車両が既に、アップロードされている
(1)か、未だアップロードされていない(0)かを示
すフラグを設けた。このフラグは各車両ごとに設定して
もよいし、RF’に各車両ごとの状態(アップロード済
or未)を記憶させる項目を設けてもよい。表3では、
まだ、アップロードされていなければ、各座席は’0
0’、’10’、’11’のいずれかを示す。もし、ア
ップロードされていれば、各座席の状態は何を設定して
も無視されるが、念のため、’01’を設定してもよ
い。
A flag indicating whether the vehicle has already been uploaded (1) or not yet uploaded (0) is provided. This flag may be set for each vehicle, or RF 'may be provided with an item for storing the state (uploaded or not) for each vehicle. In Table 3,
Each seat is '0' if not already uploaded
Indicates either 0 ',' 10 ', or' 11 '. If it is uploaded, the state of each seat is ignored regardless of what is set, but to be on the safe side, '01' may be set.

【0027】図3にチケットを販売する時の手順を示
す。 ステップ301:販売開始前に、ホストで管理している
RF、ZFを(一部分をホストに残して)ファイルサー
バーにダウンロードする。 ステップ302:ファイルサーバーは端末からの予約ま
たは販売の問合せが発生するのを待つ。発生すれば、ス
テップ303へ。 ステップ303:操作している端末と接続されたファイ
ルサーバーのファイルにアクセス可であるか否かを判断
する。ホストからファイルサーバーにダウンロード中、
またはファイルサーバーからホストへアップロード中あ
るいは、ファイルサーバーで当該ファイルにアクセス中
であれば、ファイルサーバーにアクセスできないので、
ステップ307へ進みホストで処理する。ファイルサー
バーにアクセス可ならステップ304へ。 ステップ304:乗客の希望する列車の在庫がファイル
サーバーにあるか否かRF’を調べる。在庫があれば、
ステップ305へ、なければステップ307へ。
FIG. 3 shows a procedure for selling tickets. Step 301: Before sales start, RF and ZF managed by the host are downloaded to the file server (leaving a part of the host). Step 302: The file server waits for a reservation or sales inquiry from the terminal. If it occurs, go to step 303. Step 303: It is judged whether or not the file of the file server connected to the operating terminal can be accessed. Downloading from host to file server,
Or, while uploading from the file server to the host, or while accessing the file on the file server, you cannot access the file server.
The process proceeds to step 307 and is processed by the host. If the file server is accessible, go to step 304. Step 304: Check RF 'whether the passenger's desired train inventory is in the file server. If in stock,
If not, go to step 305.

【0028】ステップ305:ZF’から空席の座席を
見つけ、販売する。 ステップ306:RF’の在庫数を減算し、ZF’のフ
ラグを’10’(予約のみで未発券)または’11’
(発券済み)にする。 ステップ307:ファイルサーバーで販売できない時、
ホストで販売する。 ステップ308:販売のピークは過ぎたか否か、を判断
する。判断の方法は何通りか考えられる。例えば、販売
開始からある所定の時間が経過、あるいは所定の割合の
枚数を販売、あるいは所定時間あたりの売上枚数が一定
値以下になった場合、等がある。これらの場合は、ピー
クを過ぎた、と判断し、ステップ309へ、そうでなけ
ればステップ302へ進む。 ステップ309:ZF’、RF’をホストへアップロー
ドし、ホストでZF、RFを更新する。
Step 305: Find an empty seat from ZF 'and sell it. Step 306: Subtract the inventory quantity of RF 'and set the flag of ZF' to '10' (reservation only but not issued) or '11'.
(Ticket issued) Step 307: When you cannot sell on the file server,
Sell by host. Step 308: Determine whether the peak of sales has passed. There are several methods of judgment. For example, there is a case where a predetermined time has elapsed from the start of selling, or a predetermined number of sheets are sold, or the number of sold sheets per a predetermined time is below a certain value. In these cases, it is determined that the peak has passed, and the process proceeds to step 309, and otherwise proceeds to step 302. Step 309: Upload ZF 'and RF' to the host and update ZF and RF on the host.

【0029】ステップ303で、ファイルサーバにアク
セス不可の場合、ここでは、「ホストへアクセスする」
と述べたが、他にも方法は考えられる。 (1)当該ファイルへのダウンロード等のアクセスが終
わるまで、端末からの問合せを待たせる。 (2)1列車を1ファイルとしてZF’を構成すると
(ZF’1、ZF’2、・・)、ある列車ファイルへは
アクセス不可でも他の列車へは、アクセス可能となる。
また、同一ファイルへ2つのトランザクションがアクセ
スしようとした時でも、該ファイルへのアクセスが可と
なるまで、1つのトランザクションからの問合せを待た
せる。 (3)1列車を1車両ごとに分けて別ファイルとしてZ
F’を構成し、該ファイルへのアクセスが可となるま
で、端末からの問合せを待たせる。または、他の車両の
ファイルにアクセスする。
If the file server cannot be accessed at step 303, "access the host" is used here.
However, other methods are possible. (1) The inquiry from the terminal is made to wait until the access such as downloading to the file is completed. (2) If ZF 'is configured with one train as one file (ZF'1, ZF'2, ...), even if one train file cannot be accessed, another train can be accessed.
Further, even when two transactions try to access the same file, the inquiry from one transaction is made to wait until the file can be accessed. (3) Separate one train for each car and use Z as a separate file.
F'is configured, and the inquiry from the terminal is kept waiting until the file can be accessed. Or access files on other vehicles.

【0030】(2)や(3)の場合は、待ち時間は
(1)と比べて、極めて小さい。
In the cases of (2) and (3), the waiting time is extremely smaller than that of (1).

【0031】図3では省略したが、先に述べたように、
ステップ307でホストに在庫がなければ、RFを調
べ、稼働中のファイルサーバーにアクセスして、在庫を
検索し、販売を行う。稼働中のすべてのファイルサーバ
ーに在庫がなければ、売り切れということになる。
Although omitted in FIG. 3, as described above,
If there is no stock in the host in step 307, the RF is checked, the file server in operation is accessed, the stock is searched, and the product is sold. If all file servers in production are out of stock, it's sold out.

【0032】図3ではファイルサーバーのファイルにア
クセス不可の場合はホストコンピュータにアクセスす
る、と述べたが、1つのファイルサーバーに複数のトラ
ンザクションが集中した時は、それらのトランザクショ
ンを振り分けて、特定のファイルサーバーに処理が集中
しないようにする。表4にホストコンピュータ、各ファ
イルサーバーで現在稼働中のトランザクション数(a0
からan)と、同時に処理できる件数の上限(L0から
Ln)を示す。
In FIG. 3, it is described that the host computer is accessed when the file of the file server cannot be accessed. However, when a plurality of transactions are concentrated on one file server, those transactions are distributed and specified. Avoid processing intensively on the file server. Table 4 shows the number of transactions currently running on the host computer and each file server (a0
To an) and the maximum number of cases that can be processed simultaneously (L0 to Ln).

【0033】[0033]

【表4】 [Table 4]

【0034】表4はホストコンピュータ11に記憶さ
せ、各ファイルサーバーの部分は各ファイルサーバーに
記憶させる。各ファイルサーバーは処理を始める時に、
表中の稼働中の件数を1加算し、処理が終了すれば、1
減算する。
Table 4 is stored in the host computer 11, and each file server part is stored in each file server. When each file server starts processing,
1 is added to the number of active items in the table, and if the process is completed, 1
Subtract.

【0035】図4にトランザクションを分散させる処理
フローを示す。図3と異なるステップのみ説明する。 ステップ401:操作している端末と接続されたファイ
ルサーバーで稼働中のトランザクションが現在何件ある
か、ファイルサーバーで調べる。所定の件数(表4参
照)未満であれば、該ファイルサーバーで処理を受付、
そうでなければ、ステップ402へ進む。 ステップ402:ホストコンピュータ11での稼働中の
トランザクション数が、所定の件数より(L0)少なけ
れば、ステップ403へ、L0以上であれば、ステップ
404へ進む。 ステップ403:表1のRFで、ホストコンピュータ1
1に在庫があるかどうか調べる。在庫があればステップ
307へ進み、在庫がなければステップ404へ進む。 ステップ404:表4にて、現在稼働中のトランザクシ
ョン数が少なく、表1でファイルサーバー稼働フラグが
1であるファイルサーバーを探す。該当するファイルサ
ーバーがなく、ホストコンピュータ11に在庫があれ
ば、ホストコンピュータ11の待ち行列に並び、ホスト
コンピュータ11に在庫がなければ、売り切れであるの
で、処理を終了し、ステップ308へ進む。該当するフ
ァイルサーバーがある時は、そこにアクセスし、ステッ
プ304へ進む。このファイルサーバーに在庫がなく、
ホストコンピュータ11に在庫がある時は、ホストコン
ピュータ11の待ち行列に並ぶ。本ステップに該当する
すべてのファイルサーバーとホストコンピュータ11に
在庫がないときは売り切れである。
FIG. 4 shows a processing flow for distributing transactions. Only steps different from those in FIG. 3 will be described. Step 401: The file server checks how many transactions are currently running on the file server connected to the operating terminal. If the number is less than the specified number (see Table 4), the file server accepts processing,
Otherwise, go to step 402. Step 402: If the number of active transactions in the host computer 11 is less than the predetermined number (L0), proceed to step 403. If not, proceed to step 404. Step 403: Host computer 1 with RF in Table 1
Check if 1 is in stock. If there is stock, the process proceeds to step 307, and if there is no stock, the process proceeds to step 404. Step 404: In Table 4, search for a file server in which the number of transactions currently in operation is small and the file server operation flag in Table 1 is 1. If there is no corresponding file server and the host computer 11 is in stock, it is lined up in the queue of the host computer 11, and if there is no stock in the host computer 11, it is sold out, so the process is terminated and the process proceeds to step 308. If there is a corresponding file server, access it and proceed to step 304. This file server is out of stock,
When the host computer 11 is in stock, it is in the queue of the host computer 11. When all the file servers and host computers 11 corresponding to this step are out of stock, they are sold out.

【0036】ステップ404以降の処理フローを図5に
示す。以下、各ステップの説明を行う。 ステップ501:処理しているトランザクションの数が
所定の件数以下で、RFが1である(まだファイルサー
バーに在庫がある可能性がある)ファイルサーバーを探
す。ファイルサーバーがあればステップ502へ、なけ
ればステップ505へ進む。 ステップ502:そのファイルサーバーに在庫はあるか
否かを調べる。在庫があればそれを販売し、なければス
テップ503へ進む。 ステップ503:ホストコンピュータ11に在庫がある
か否かを調べる。在庫があればそれを販売し、なければ
ステップ504へ進む。 ステップ504:ステップ501で調べたファイルサー
バーの中で、まだ該当するファイルサーバーがあれば、
ステップ502へ進み、なければ売り切れである、と判
断する。 ステップ505:アクセスすべきファイルサーバーがな
いので、ホストコンピュータ11に在庫があるか否かを
調べる。在庫があればそれを販売し、なければ売り切れ
である、と判断する。また在庫がなければ、ステップ4
01で最初にアクセスしようとしたファイルサーバーが
処理しているトランザクション数が減るのを待って、そ
こにアクセスしても良い。
The processing flow after step 404 is shown in FIG. Hereinafter, each step will be described. Step 501: Look for a file server that has less than a predetermined number of transactions being processed and an RF of 1 (may be still in the file server). If there is a file server, proceed to step 502, and if not, proceed to step 505. Step 502: Check whether the file server is in stock. If there is an inventory, sell it, otherwise proceed to step 503. Step 503: Check whether the host computer 11 is in stock. If it is in stock, sell it, otherwise go to step 504. Step 504: If there is a corresponding file server among the file servers checked in Step 501,
If it does not proceed to step 502, it is determined that it is sold out. Step 505: Since there is no file server to be accessed, it is checked whether the host computer 11 has an inventory. If it is in stock, it is sold, and if it is not, it is sold out. If there is no more stock, step 4
It is possible to wait until the number of transactions processed by the file server first trying to access at 01 decreases and then to access there.

【0037】次に、ファイルサーバーの一部に在庫があ
るにもかかわらず、ホストコンピュータ11に在庫がな
くなった時、あるいは在庫がなくなる直前の対処を図6
を用いて説明する。 ステップ601:RFのファイルサーバー稼働フラグの
中で’1’になっているファイルサーバーを探す。 ステップ602:’1’になっているファイルサーバー
があればステップ603へ進む。しかし、すべてのファ
イルサーバーが’0’ならば、アップロード済みである
ので、ホストコンピュータ11に在庫がなければ、売り
切れたことになる。 ステップ603:その中から、販売速度の遅いファイル
サーバーを選ぶ。その方法は、(1)売上枚数が最小の
もの(2)売上枚数/アサイン枚数が最小のもの、
(3)残枚数が最大のもの(4)残枚数/アサイン枚数
が最大のもの、等がある。そのために、RF,ZF以外
に、列車ごとにホスト、各ファイルサーバーに何枚ずつ
アサインしたかを記憶させておくファイルを、ダウンロ
ード時に準備しておく。販売速度の遅いファイルサーバ
ーが決まったら、ホストへアップロードさせる。 ステップ604:アップロードしたファイルサーバーの
RF’、ZF’を減算し、ホストのRF、ZFを加算す
る。
Next, when the host computer 11 runs out of stock, or just before the stock runs out, even though a part of the file server is in stock, FIG.
Will be explained. Step 601: Search for a file server that is set to "1" in the file server operation flag of RF. Step 602: If there is a file server that is “1”, the process proceeds to step 603. However, if all the file servers are “0”, it has already been uploaded, so if there is no stock in the host computer 11, it is sold out. Step 603: From among them, select a file server with a slow sales rate. The method is as follows: (1) The smallest number of sales, (2) The smallest number of sales / assignment,
(3) The number of remaining sheets is the maximum (4) The number of remaining sheets / the number of assigned sheets is the maximum. Therefore, in addition to RF and ZF, a file for storing the number of sheets assigned to each host and each file server for each train is prepared at the time of downloading. If you decide on a file server that sells slowly, upload it to the host. Step 604: Subtract RF 'and ZF' of the uploaded file server and add RF and ZF of the host.

【0038】その他、ファイルサーバーへダウンロード
後、所定の時間が過ぎれば、ホストコンピュータ11へ
アップロードさせる、という方法でも良い。
Alternatively, a method of uploading to the host computer 11 when a predetermined time has passed after downloading to the file server may be used.

【0039】これによって、ファイルサーバーに在庫が
あるにもかかわらず、乗客がチケットを購入できない、
という不都合を解消する。なお、図1の構成では、ホス
トコンピュータ11が1台、ファイルサーバーが複数台
の例を述べたが、ホストコンピュータが複数台でもよい
し、ファイルサーバーが1台でも本実施例は適用可能で
あることは言うまでもない。
As a result, the passenger cannot purchase the ticket even though the file server has inventory.
Eliminate the inconvenience. In the configuration of FIG. 1, an example in which one host computer 11 and a plurality of file servers are described has been described, but a plurality of host computers may be used, or even one file server may be applied to the present embodiment. Needless to say.

【0040】第1の実施例では、ファイルのダウンロー
ド、アップロードの権限は、ホストコンピュータ11に
あった。第2の実施例では、ファイルサーバーにその権
限を持たせ、ファイルサーバーが上記指示を行うものと
する。ファイルの管理の容易性からピーク時以外のファ
イルの格納場所はホストコンピュータ11とする。ファ
イルサーバー1、2、・・・nが、権限を持ったRF
を、それぞれ列車1、列車2、・・・列車nとする。表
5にファイルサーバーの権限とRF名の関係を示す。
In the first embodiment, the host computer 11 has the authority to download and upload files. In the second embodiment, it is assumed that the file server has the authority and the file server gives the above-mentioned instruction. For ease of file management, the storage location of the file is set to the host computer 11 except during peak hours. File servers 1, 2, ... n have RF with authority
Are train 1, train 2, ... Train n, respectively. Table 5 shows the relationship between the file server authority and the RF name.

【0041】[0041]

【表5】 [Table 5]

【0042】表中dにフラグ1が立っているのは、「ダ
ウンロードの指示が出来る」を意味し、uにフラグ1が
立っているのは、「アップロードすることができる」を
意味している。例えば、ファイルサーバー1は、’列車
1’というファイルのダウンロードを指示することがで
き、アップロードすることもできる。また、それ以外の
ファイルに対しては、アップロードすることはできる
が、ダウンロードを指示することはできない、というこ
とを示している。「ダウンロードを指示する」とは、ど
のファイルサーバーに何席アサインするか、ということ
であり、表6にその内容を示す。
In the table, the flag 1 being set means that "download can be instructed", and the flag 1 being set to u means "upload is possible". . For example, the file server 1 can instruct to download the file “train 1” and can also upload it. It also indicates that the other files can be uploaded but cannot be instructed to be downloaded. “Instructing download” means which file server and how many seats to assign, and Table 6 shows the contents.

【0043】[0043]

【表6】 [Table 6]

【0044】列車1というファイルをダウンロードする
権限を持つファイルサーバー1は、ホストコンピュータ
11(ファイルサーバー0)及び、ファイルサーバー1
からnまで、表6のように’座席xx’というZFをア
サインすることを示している。’座席xx’というZF
の内容は、号車番号と座席番号の集合で、空席か否かを
示す。詳しくは、表2に示した。権限のあるファイルサ
ーバーは必要な時に、ZFの座席数の変更を行うことも
できる。
The file server 1 that has the authority to download a file called train 1 is a host computer 11 (file server 0) and a file server 1.
It is shown that ZF of'seat xx 'is assigned from Tables 1 to n as shown in Table 6. ZF called'seat xx '
The content of is a set of the car number and the seat number, and indicates whether or not the seat is vacant. Details are shown in Table 2. The authoritative file server can also change the number of ZF seats when needed.

【0045】表6のかわりに表7のように車両番号で管
理してもよい。
Instead of Table 6, the vehicle number may be managed as shown in Table 7.

【0046】[0046]

【表7】 [Table 7]

【0047】この列車の1、2号車はホストコンピュー
タ11に、3、4号車はファイルサーバー1にダウンロ
ードすることを示している。表5、表6(または表7)
をホストコンピュータ11に配置し、販売前に、権限の
有るファイルサーバーからの指示に基づき、RF、ZF
をホストコンピュータ11から各ファイルサーバーにダ
ウンロードする。
Cars 1 and 2 of this train are downloaded to the host computer 11, and cars 3 and 4 are downloaded to the file server 1. Table 5, Table 6 (or Table 7)
Is placed on the host computer 11, and RF, ZF is set based on the instruction from the authorized file server before sales.
Is downloaded from the host computer 11 to each file server.

【0048】図7に本実施例の手順を示す。 ステップ701:販売前に、各ファイルサーバーが権限
を持ったファイルをどう分配するのか、ホストコンピュ
ータ11に指示をする。ホストコンピュータ11は、表
5を参照し、権限のあるファイルサーバーであるかをチ
ェックした後、各ファイルサーバーからの指示に従っ
て、ダウンロードする。 ステップ702:ファイルサーバーは端末からの予約ま
たは販売の問合せの発生を待つ。問合せが発生すれば、
ステップ703へ進む。 ステップ703:ファイルサーバーに在庫があれば、ス
テップ705へ進み、なければ、ステップ704へ進
む。 ステップ704:ホストコンピュータ11で予約または
販売を受け付ける。 ステップ705:RF’の在庫数を減算する。 ステップ706:ファイルサーバーが有している座席を
販売する。 ステップ707:ZF’のフラグを’10’または’1
1’にする。 ステップ708:各ファイルサーバーには、自分に権限
のあるファイルと他のファイルサーバーからアサインし
てもらった2種類の性格を持ったファイルを有してい
る。この2種類のファイルともホストコンピュータ11
へアップロードする権限は、(表5で示したように)今
そのファイルが存在しているファイルサーバーにある、
とする。アップロードする(販売を終了する)ならステ
ップ709へ、まだアップロードしない(販売を続け
る)ならステップ702へ進む。 ステップ709:ホストコンピュータ11へアップロー
ドして、ファイルサーバーでは、RF’、ZF’を更新
し該ファイルサーバーでの販売は終了する。ホストコン
ピュータ11では、RF、ZFを更新する。
FIG. 7 shows the procedure of this embodiment. Step 701: Instruct the host computer 11 how each file server distributes authorized files before selling. The host computer 11 refers to Table 5 and checks whether the file server is an authorized file server, and then downloads according to the instruction from each file server. Step 702: The file server waits for an inquiry about reservation or sale from the terminal. If a query occurs,
Go to step 703. Step 703: If the file server has stock, go to Step 705, otherwise go to Step 704. Step 704: The host computer 11 accepts reservation or sale. Step 705: The stock quantity of RF 'is subtracted. Step 706: Sell the seat owned by the file server. Step 707: Set the ZF 'flag to' 10 'or' 1.
Set to 1 '. Step 708: Each file server has a file that it has authority for and a file that has two types of personality assigned by another file server. Both these two types of files are the host computer 11
The permission to upload to is on the file server where the file currently resides (as shown in Table 5),
And If uploading (end of sales), proceed to step 709. If not uploading (continue sales), proceed to step 702. Step 709: Upload to the host computer 11, the file server updates RF 'and ZF', and the sale on the file server ends. The host computer 11 updates RF and ZF.

【0049】本実施例では、各ファイルサーバーを有し
ている組織が、他の組織に販売を依頼する量、自分が販
売を引き受ける量を決めることができるので、柔軟な販
売方法ができる。
In this embodiment, since the organization having each file server can determine the amount of sales to be requested to other organizations and the amount of sales to be undertaken by itself, a flexible selling method can be realized.

【0050】また、ステップ708で、「アップロード
する権限は、今そのファイルが存在しているファイルサ
ーバーにある」と述べたが、ファイルサーバーで売れ残
っても何の損失もファイルサーバー側になければ、ファ
イルサーバー側からは、積極的には、アップロードしな
いことが考えられる。その場合は、各ファイルに対し
て、アップロードする権限もダウンロードする権限のあ
るファイルサーバーに持たせればよい。
Also, at step 708, it is stated that "the authority to upload is on the file server where the file now exists", but if there is no loss on the file server side and there is no loss on the file server side, From the file server side, it is possible that they do not actively upload. In that case, each file may be given to a file server that has the authority to upload and the authority to download.

【0051】そのために、表5、及び表6または表7を
ホストコンピュータ11だけでなく、各ファイルサーバ
ーにも持たせる。例えば、表5で列車1というRFは、
ダウンロードもアップロードもその権限はファイルサー
バー1のみに持たせる。この場合、ファイルサーバー1
に在庫が少なくなれば、ファイルサーバー1は他のファ
イルサーバー、ホストコンピュータ11に在庫を問合せ
る。在庫を参照されたファイルサーバー(及びホストコ
ンピュータ11)は、表5でファイルサーバー1は列車
1というRFをアップロード(ホストコンピュータ11
に対してはダウンロード)させる権限を持っているファ
イルサーバーであるか否かをチェックする。権限が有
る、と確認できれば、表6または表7で、自分が有して
いる列車1のZFを検索し、在庫数を回答する。また
は、ZFを検索するかわりに、各ZFの残席数を管理す
るファイルを用意しておき、その値を回答しても良い。
Therefore, Table 5 and Table 6 or Table 7 are provided not only in the host computer 11 but also in each file server. For example, the RF of train 1 in Table 5 is
Only the file server 1 has the authority to download and upload. In this case, file server 1
If the stock becomes low, the file server 1 inquires of the other file servers and the host computer 11 about the stock. The file server (and the host computer 11) whose inventory is referred to is that the file server 1 uploads the RF train 1 in Table 5 (the host computer 11
Check if the file server has the authority to download). If it can be confirmed that the user has the authority, in Table 6 or Table 7, the ZF of the train 1 he owns is searched, and the inventory quantity is answered. Alternatively, instead of searching ZF, a file for managing the number of remaining seats of each ZF may be prepared and the value may be answered.

【0052】ファイルサーバー1は、在庫の多いファイ
ルサーバーにアップロードを指示したり、ホストコンピ
ュータ11にファイルサーバー1にダウンロードするよ
うに指示したりする。指示を受けたファイルサーバー及
びホストコンピュータ11は、自分が有しているZFを
そのファイルサーバーからホストコンピュータ11にア
ップロードしたり、ホストコンピュータ11からファイ
ルサーバー1にダウンロードしたりする。
The file server 1 instructs a file server having a large inventory to upload or instructs the host computer 11 to download to the file server 1. Upon receiving the instruction, the file server and the host computer 11 upload the ZF owned by itself to the host computer 11 from the file server, or download the ZF from the host computer 11 to the file server 1.

【0053】上記の説明では、表5、及び表6または表
7をホストコンピュータ11、全ファイルサーバーに記
憶させる、と述べたが、表5を分割し、ダウンロードさ
せる権限を持ったファイルサーバーの表をホストコンピ
ュータ11に、アップロードさせる権限を持ったファイ
ルサーバーの表を全ファイルサーバーに記憶させても良
い。表6、表7も分割し、ファイルサーバーに持たせる
情報は、自ファイルサーバーが有しているZF名だけに
限定しても良い。例えば表5において、ファイルサーバ
ー1に記憶させるZFは、’座席14’、’座席1
5’、’座席16’、’座席17だけにしてもよい。
In the above description, it has been stated that Table 5 and Table 6 or Table 7 are stored in the host computer 11 and all file servers, but Table 5 is divided into tables of file servers that have the authority to download. The host computer 11 may store the table of the file servers having the authority to upload the file in all the file servers. The information given to the file server may be limited to only the ZF name of the own file server by dividing Table 6 and Table 7 as well. For example, in Table 5, ZF stored in the file server 1 is'seat 14 ',' seat 1 '
Only 5 ',' seat 16 ', and'seat 17 may be used.

【0054】この例では、各ファイルサーバーを有して
いる組織が、他の組織に販売を依頼する量を決めたり、
売れ行きを見て、依頼を取りやめて自分で販売をする、
と決めることができるので、柔軟な販売方法ができる。
In this example, the organization having each file server decides the amount to be sold to another organization,
See the sales, cancel the request and sell it yourself,
Because you can decide, you can have a flexible sales method.

【0055】第1、第2の実施例では、すべての列車の
販売開始を1日のある特定時刻に集中していた。第3の
実施例では、販売の開始時刻を「列車の発車日の1ヶ月
前の日の始発駅発車時刻」として、説明する。
In the first and second embodiments, the start of sales of all trains is concentrated at a specific time of day. In the third embodiment, the sales start time will be described as "the departure time from the first departure station on the day one month before the departure date of the train".

【0056】表8に特殊な日の販売開始日テーブルを示
す。
Table 8 shows a sales start date table for a special day.

【0057】[0057]

【表8】 [Table 8]

【0058】前月同一日がない日への対応表である。3
月29日のチケットの販売日は、2月29日が対応する
が、うるう年でない年は、3月29日のチケットの販売
日は、3月1日にする。
It is a correspondence table to the day when there is no same day in the previous month. Three
The ticket sale date of 29th of month corresponds to February 29th, but in the year which is not a leap year, the ticket sale date of March 29th is March 1st.

【0059】表9は、始発駅発車時刻別のRF、ZF管
理表を示す。
Table 9 shows an RF and ZF management table for each departure time of the first departure station.

【0060】[0060]

【表9】 [Table 9]

【0061】すべての列車の始発駅を発車する時刻と、
そのRF名、ZF名を記憶させる。a時b分には2列
車、a時(b+1)分には4列車が始発駅を発車し、そ
の時刻が指定席券販売開始時刻となる。また、a時(b
+2)分には、始発駅を発車する列車がない、ことを示
している。
The time of departure from the starting station of all trains,
The RF name and ZF name are stored. Two trains depart from the starting station at a time b and a train at a time (b + 1), and the time becomes the designated ticket sales start time. Also, at a time (b
It means that there is no train departing from the starting station at +2) minutes.

【0062】図8に、本実施例のフローチャートを示
す。なお、ここでは、RF、ZFはすべてホストコンピ
ュータ11に存在しているものとする(ファイルはホス
ト集中)。 ステップ801:販売開始前にホストコンピュータ11
にRF、ZFを準備し、それらのファイルロックをす
る。誤って端末から販売依頼のアクセスをされても、販
売開始時刻になるまでは、販売を拒否できる。 ステップ802:本日販売を開始する列車の乗車日を算
出する。前月同一日を計算し、その日がなければ、表8
を参照する。 ステップ803:0時0分からスタートし、1分経過す
るごとに、ステップ804へ進む。 ステップ804:(ステップ803から進んできた時の
時刻をa時b分として)始発駅をa時b分に発車する列
車があるかどうか、表9で調査する。あれば、ステップ
805へ、なければステップ803へ進む。 ステップ805:該当する列車があれば、その列車のR
F、ZFをアンロックする。これによって、端末からこ
れらのファイルにアクセス可となる。 ステップ806:チケットの販売を続けるか、どうか判
断する。続けるのなら、ステップ803へ、続けないの
なら処理を終了する。
FIG. 8 shows a flowchart of this embodiment. Here, it is assumed that RF and ZF are all present in the host computer 11 (files are concentrated on the host). Step 801: Host computer 11 before sales start
Prepare RF and ZF and lock their files. Even if the sales request is accidentally accessed from the terminal, the sales can be refused until the sales start time. Step 802: Calculate the boarding date of the train to be sold today. If the same day of the previous month is calculated and there is no such day, Table 8
Refer to. Step 803: Start from 0:00, and proceed to step 804 every 1 minute. Step 804: In Table 9, it is investigated whether or not there is a train departing from the starting station at a time b minutes (when the time when the vehicle has advanced from step 803 is a time b minute). If yes, go to step 805; if no, go to step 803. Step 805: If there is a corresponding train, R of that train
Unlock F and ZF. This makes these files accessible from the terminal. Step 806: Determine whether to continue selling tickets. If it is to continue, the process proceeds to step 803.

【0063】ここでは、RF、ZFはすべてホストコン
ピュータ11に常駐したままの例を述べたが、第1、第
2の実施例で述べたように、動的にファイルを移動させ
てもよい。ピークが予想される前に、ファイルサーバー
に在庫ファイルを用意し、ある時間間隔が経過したり、
ホストコンピュータの在庫が少なくなれば、在庫が多い
ファイルサーバーを探し、ホストコンピュータにアップ
ロードさせればよい。そのために、表1のように各ファ
イルサーバーの稼働状況を示す表が必要である。
Although the RF and ZF are all resident in the host computer 11 here, the files may be dynamically moved as described in the first and second embodiments. Have inventory files on your file server before a peak is expected, and after a certain time interval
If the host computer is low in inventory, you can find a file server with high inventory and upload it to the host computer. Therefore, as shown in Table 1, a table showing the operating status of each file server is required.

【0064】第4の実施例として図9に、図3と図8を
組み合わせたフローチャートを示す。(ファイルを動的
に移動させる例である。)ステップ801、802、3
01がホストコンピュータ11側での処理であり、それ
以降がファイルサーバー側での処理である。ファイルサ
ーバー側では、図9の処理と並行して、図8のステップ
803、804、805、806の処理を行い、RF、
ZFのファイルのアンロックを行う。これによって、ス
テップ303でファイルサーバーのファイルにアクセス
可となる。
As a fourth embodiment, FIG. 9 shows a flowchart combining FIG. 3 and FIG. (This is an example of dynamically moving a file.) Steps 801, 802, 3
01 is a process on the host computer 11 side, and the subsequent processes are a process on the file server side. On the file server side, in parallel with the processing of FIG. 9, the processing of steps 803, 804, 805, and 806 of FIG.
Unlock the ZF file. As a result, the file of the file server can be accessed in step 303.

【0065】第4の実施例では、ファイルのダウンロー
ド、アップロードの権限が、ホストコンピュータ11に
あるが、その権限をファイルサーバーに持たせることも
可能である。ステップ301で、ステップ701のよう
に、各ファイルサーバーがRF、ZFの分割の仕方を指
示し、ホスト側では、ステップ803、804、80
5、806でファイルをアンロックし、アンロックした
ファイルをステップ301の指示に従って、各ファイル
サーバーにダウンロードする、という方法がある。
In the fourth embodiment, the host computer 11 has the authority to download and upload files, but it is also possible to give the authority to the file server. In step 301, each file server instructs how to divide RF and ZF as in step 701, and in the host side, steps 803, 804, 80
5, there is a method of unlocking the file and downloading the unlocked file to each file server according to the instruction of step 301.

【0066】その他、ステップ301で指示すれば、す
ぐにファイルサーバーにダウンロードし、ファイルサー
バー側でステップ803からステップ806の処理を繰
り返して、ファイルをアンロックする、という方法でも
よい。
Alternatively, the method may be such that, if instructed in step 301, the file is immediately downloaded to the file server, and the file server side repeats the processing of steps 803 to 806 to unlock the file.

【0067】また、第2の実施例で述べたように、ある
ファイルに対してアップロードもダウンロードの権限も
有るファイルサーバーが、自ファイルサーバー内に在庫
が少なくなったり、またはダウンロード後、ある時間が
経過すれば、他のファイルサーバーから自ファイルサー
バーに在庫ファイルを移動させたり、ホストコンピュー
タにアップロードさせたり、ホストコンピュータにある
在庫ファイルを自ファイルサーバーにダウンロードさせ
たりすることは、もちろん可能である。
Also, as described in the second embodiment, a file server that has the authority to upload and download a certain file may run out of stock in its own file server, or some time after downloading. After the passage of time, it is of course possible to move the inventory file from another file server to the own file server, upload it to the host computer, or download the inventory file on the host computer to the own file server.

【0068】第3、第4の実施例では、図1の構成を引
用したが、ホストコンピュータが複数台あってもよい
し、ファイルサーバーが1台でも本実施例は適用可能で
あることは言うまでもない。
In the third and fourth embodiments, the configuration of FIG. 1 is cited, but it goes without saying that there may be a plurality of host computers or one file server, and this embodiment is applicable. Yes.

【0069】第3、第4の実施例では、負荷のピークが
特定時刻に集中しない、という効果がある。
The third and fourth embodiments have the effect that the peak load does not concentrate at a specific time.

【0070】第1から第4の実施例では、列車のチケッ
ト販売を例にとって説明したが、コンサート、野球場
等、在庫が限られていて、販売開始時に申込みが集中す
るシステムに適用可能であることは言うまでもない。
In the first to fourth embodiments, the ticket sales for trains have been described as an example, but the present invention can be applied to concerts, baseball fields, etc. where stocks are limited and applications are concentrated at the start of sales. Needless to say.

【0071】[0071]

【発明の効果】本発明によれば、販売のピーク時の負荷
を軽減することができる。
According to the present invention, the load at the peak of sales can be reduced.

【図面の簡単な説明】[Brief description of drawings]

【図1】ホストコンピュータ、ファイルサーバー、端末
等のシステム構成図。
FIG. 1 is a system configuration diagram of a host computer, a file server, a terminal, and the like.

【図2】データの分散の仕方の例を示す図。FIG. 2 is a diagram showing an example of how data is distributed.

【図3】ファイルを移動する方法のフローチャート。FIG. 3 is a flowchart of a method for moving a file.

【図4】トランザクションを処理するコンピュータを決
定するフローチャート。
FIG. 4 is a flowchart of determining a computer to process a transaction.

【図5】在庫のあるコンピュータを探すフローチャー
ト。
FIG. 5 is a flowchart for searching for a computer in stock.

【図6】ホストに在庫がなくなった時の対応策のフロー
チャート。
FIG. 6 is a flowchart of countermeasures when the host is out of stock.

【図7】ファイルを移動する方法のフローチャート。FIG. 7 is a flowchart of a method for moving a file.

【図8】販売開始時刻をずらした時の販売方法のフロー
チャート。
FIG. 8 is a flowchart of a selling method when the selling start time is shifted.

【図9】販売開始時刻をずらした時の販売方法のフロー
チャート。
FIG. 9 is a flowchart of a sales method when the sales start time is shifted.

【符号の説明】[Explanation of symbols]

1、2、、、n・・・ファイルサーバー、11・・・ホ
ストコンピュータ、12・・・LAN、10、20、3
0・・・公衆回線網、1a、1b、2a,na・・・端
末。
File server, 11 ... Host computer, 12 ... LAN, 10, 20, 3
0 ... Public line network, 1a, 1b, 2a, na ... Terminal.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 田代 勤 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内 (72)発明者 小口 晋 神奈川県川崎市幸区鹿島田890番地の12 株式会社日立製作所情報システム事業部内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Tsutomu Tashiro, 1099, Ozenji, Aso-ku, Kawasaki-shi, Kanagawa, Ltd. Inside the Hitachi, Ltd. Systems Development Laboratory (72) Inventor, Susumu 12: 890, Kashimada, Kawasaki-shi, Kanagawa Information Systems Division, Hitachi, Ltd.

Claims (21)

【特許請求の範囲】[Claims] 【請求項1】交通機関の便や座席の予約、コンサート、
野球場等のチケットの販売を行ういわゆる予約・販売コ
ンピュータシステムにおいて、予約・販売開始前にファ
イルを記憶している第1のコンピュータシステムから、
第2のコンピュータシステムに予約・販売を受け付ける
ファイルを抽出して配置し、予約あるいは販売開始後の
ある時間間隔は第2のコンピュータシステムで予約また
は販売を受け付けることを特徴とした予約販売方法。
[Claim 1] Transportation flights and seat reservations, concerts,
In the so-called reservation / sale computer system that sells tickets for baseball fields, etc., from the first computer system that stores files before the start of reservation / sale,
A reservation and sales method characterized in that a file for accepting reservations / sales is extracted and arranged in a second computer system, and reservations or sales are accepted by the second computer system at a certain time interval after the start of reservations or sales.
【請求項2】交通機関の便や座席の予約、コンサート、
野球場等のチケットの販売を行ういわゆる予約・販売コ
ンピュータシステムにおいて、予約・販売開始前にファ
イルを記憶している第1のコンピュータシステムから、
第2のコンピュータシステムに予約・販売を受け付ける
ファイルを抽出して配置し、予約あるいは販売開始後の
ある時間間隔は第2のコンピュータシステムで予約また
は販売を受け付け、第2のコンピュータシステムに在庫
がない時、または第2のコンピュータシステムにアクセ
スできない時は、第1のコンピュータシステムで予約ま
たは販売を受け付けることを特徴とした予約販売方法。
[Claim 2] Transportation flights, seat reservations, concerts,
In the so-called reservation / sale computer system that sells tickets for baseball fields, etc., from the first computer system that stores files before the start of reservation / sale,
A file for accepting reservations / sales is extracted and arranged in the second computer system, reservations or sales are accepted by the second computer system for a certain time interval after the start of reservation or sales, and there is no inventory in the second computer system. A pre-sale method, wherein the first computer system accepts reservations or sales when the second computer system cannot be accessed.
【請求項3】交通機関の便や座席の予約、コンサート、
野球場等のチケットの販売を行ういわゆる予約・販売コ
ンピュータシステムにおいて、予約・販売開始前にファ
イルを記憶している第1のコンピュータシステムから、
複数の第2のコンピュータシステムに予約・販売を受け
付けるファイルを抽出して配置し、予約あるいは販売開
始後のある時間間隔は第2のコンピュータシステムで予
約または販売を受け付け、第2のコンピュータシステム
に在庫がない時、または第2のコンピュータシステムに
アクセスできない時は、第1のコンピュータシステムで
予約または販売を受け付け、第1のコンピュータにも在
庫がない時は、前記とは異なる第2のコンピュータシス
テムにアクセスすることを特徴とした予約販売方法。
[Claim 3] Transportation flights and seat reservations, concerts,
In the so-called reservation / sale computer system that sells tickets for baseball fields, etc., from the first computer system that stores files before the start of reservation / sale,
A file that accepts reservations / sales is extracted and arranged in a plurality of second computer systems, and reservations or sales are accepted by the second computer system at a certain time interval after the start of the reservation or sales, and the inventory is stored in the second computer system. When the first computer system accepts reservations or sales when the second computer system cannot be accessed or when the second computer system cannot be accessed, the second computer system different from the above is used when the first computer also has no stock. Reservation sales method characterized by access.
【請求項4】予約・販売開始日時を、交通機関の発車
日、発車時刻や、コンサートの公演日、公演時刻から関
連づけて設定し、予約・販売の申込みが、1日の特定時
刻へ集中させないようにすることを特徴とした予約販売
方法。
[Claim 4] The reservation / sales start date and time is set in association with the departure date and time of transportation, the concert performance date, and the performance time so that reservation / sales applications are not concentrated at specific times of the day. Reservation sales method characterized by doing so.
【請求項5】請求項4において、予約・販売を受け付け
るためのファイルをある1つのコンピュータシステムに
記憶させておくことを特徴とした予約販売方法。
5. The reservation sales method according to claim 4, wherein a file for accepting reservations / sales is stored in one computer system.
【請求項6】請求項4において、チケット等の予約・販
売開始前に、予約・販売を受け付けるためのファイル
を、それを記憶している第1のコンピュータシステムか
ら、予約・販売を受け付ける第2のコンピュータシステ
ムへ移動させ、予約・販売開始後のある時間間隔は第2
のコンピュータシステムで予約・販売を受け付けること
を特徴とした予約販売方法。
6. The second aspect of claim 4, wherein a file for accepting reservation / sales is stored from a first computer system storing the file for accepting reservation / sales before starting reservation / sale of a ticket or the like. Move to the computer system of
Reservation and sales method characterized by accepting reservations and sales with the computer system of.
【請求項7】請求項4において、チケット等の予約・販
売開始前に、予約・販売を受け付けるためのファイル
を、それを記憶している第1のコンピュータシステムか
ら、予約・販売を受け付ける第2のコンピュータシステ
ムへ移動させ、予約・販売開始後のある時間間隔は第2
のコンピュータシステムで予約・販売を受け付け、第2
のコンピュータに在庫がない時、または第2のコンピュ
ータにアクセスできない時は、第1のコンピュータで予
約・販売を受け付けることを特徴とした予約販売方法。
7. The method according to claim 4, wherein a file for accepting reservation / sales is started from the first computer system storing the file for reservation / sales before starting the reservation / sales of the ticket. Move to the computer system of
Accepting reservations and sales through our computer system
The reservation sales method, wherein the first computer accepts the reservation / sale when the second computer is out of stock or the second computer cannot be accessed.
【請求項8】請求項1、2、6、7のいずれかにおい
て、第2のコンピュータシステムに配置したファイル
を、ある時間間隔が経過したら、第1のコンピュータシ
ステムに再び移動させることを特徴とした予約販売方
法。
8. The method according to claim 1, wherein the files arranged in the second computer system are moved again to the first computer system after a certain time interval has passed. How to make a reservation sale.
【請求項9】請求項1、2、6、7のいずれかにおい
て、第1のコンピュータシステムで販売するチケット等
の予約・販売対象物がある一定量以下になれば、チケッ
ト等の予約・販売を受け付けるためのファイルを保有し
ている第2のコンピュータシステムを探し、第1のコン
ピュータシステムに、予約・販売を受け付けるためのフ
ァイルを移動させることを特徴とした予約販売方法。
9. A reservation / sale of a ticket or the like according to any one of claims 1, 2, 6 and 7, when an object of reservation / sale of a ticket or the like to be sold by the first computer system falls below a certain amount. A reservation selling method characterized by locating a second computer system having a file for accepting reservations and moving the file for accepting reservations / sales to the first computer system.
【請求項10】請求項1、2、3、4のいずれかにおい
て、第1のコンピュータに、残席数及び、第2のコンピ
ュータが稼働中か、それとも第1のコンピュータにファ
イルを移動済みか、を示すテーブルを設けて、第1のコ
ンピュータシステムで販売するチケット等の予約・販売
対象物がある一定量以下になれば、チケット等の予約・
販売を受け付けるためのファイルを保有している第2の
コンピュータシステムの中から、在庫を持っている第2
のコンピュータシステムを該テーブルから探し、第1の
コンピュータシステムに、予約・販売を受け付けるため
のファイルを移動させることを特徴とした予約販売方
法。
10. The number of seats remaining in the first computer and whether the second computer is operating, or whether the files have been moved to the first computer according to any one of claims 1, 2, 3, and 4. , A reservation for tickets, etc. to be sold on the first computer system.
From the second computer system that holds the file for accepting the sale, the second computer system that holds the inventory
The reservation selling method characterized by locating the computer system of the above from the table and moving the file for accepting the reservation and sale to the first computer system.
【請求項11】請求項1、2、3、4のいずれかにおい
て、第1のコンピュータに、残席数及び、第2のコンピ
ュータが稼働中か、それとも第1のコンピュータにファ
イルを移動済みか、を示すテーブルを設けて、第1のコ
ンピュータシステムで販売するチケット等の予約・販売
対象物がある一定量以下になれば、チケット等の予約・
販売を受け付けるためのファイルを保有している第2の
コンピュータシステムの中から、在庫を持っている第2
のコンピュータシステムを該テーブルから探し、その中
から第1のコンピュータシステムに、予約・販売を受け
付けるためのファイルを移動させることを特徴とした予
約販売方法。
11. The number of seats remaining in the first computer and whether the second computer is operating, or whether the file has been moved to the first computer according to any one of claims 1, 2, 3, and 4. , A reservation for tickets, etc. to be sold on the first computer system.
From the second computer system that holds the file for accepting the sale, the second computer system that holds the inventory
The method of pre-sale is characterized in that the computer system is searched from the table, and the file for accepting the reservation / sale is moved to the first computer system from the table.
【請求項12】請求項1、2、3、4のいずれかにおい
て、第1のコンピュータに、残席数及び、第2のコンピ
ュータが稼働中か、それとも第1のコンピュータにファ
イルを移動済みか、を示すテーブルを設けて、第1のコ
ンピュータシステムで販売するチケット等の予約・販売
対象物がある一定量以下になれば、チケット等の予約・
販売を受け付けるためのファイルを保有している第2の
コンピュータシステムの中から、在庫を持っている第2
のコンピュータシステムを該テーブルから探し、販売速
度の遅い第2のコンピュータシステムの中から、第1の
コンピュータシステムに、予約・販売を受け付けるため
のファイルを移動させることを特徴とした予約販売方
法。
12. The number of seats remaining in the first computer and whether the second computer is operating, or whether the files have been moved to the first computer according to any one of claims 1, 2, 3, and 4. , A reservation for tickets, etc. to be sold on the first computer system.
From the second computer system that holds the file for accepting the sale, the second computer system that holds the inventory
Is searched from the table, and the file for accepting reservation / sales is moved from the second computer system having a slow sales speed to the first computer system.
【請求項13】請求項12において、販売速度が遅いと
は、 (1)予約・売上げ枚数が少ない、 (2)予約・売上げ枚数/割当て枚数が少ない (3)在庫数が多い (4)在庫数/割当て枚数が多い のいずれかであることを特徴とした予約販売方法。
13. The slow selling speed in claim 12 means (1) a small number of reservations / sales, (2) a small number of reservations / sales / allocated (3) a large number of stocks (4) a stock The pre-sale method is characterized in that either the number / the number of allocated sheets is large.
【請求項14】請求項1、2、3、6、7、8のいずれ
かにおいて、ファイルの移動の指示は第1のコンピュー
タシステムが出すことを特徴とした予約販売方法。
14. A reservation selling method according to any one of claims 1, 2, 3, 6, 7, and 8, wherein an instruction to move a file is issued by a first computer system.
【請求項15】請求項1、2、3、6、7、8のいずれ
かにおいて、ファイルの移動の指示は第2のコンピュー
タシステムが出すことを特徴とした予約販売方法。
15. The reservation selling method according to any one of claims 1, 2, 3, 6, 7, and 8, wherein an instruction to move a file is issued by a second computer system.
【請求項16】請求項1、2、6のいずれかにおいて、
第1、第2のコンピュータシステムは、それぞれ単数で
も複数でも、予約・販売の受け付けを実現することを特
徴とした予約販売方法。
16. The method according to claim 1, 2, or 6,
A reservation and sales method characterized in that the first and second computer systems realize reception of reservations and sales, respectively, singular or plural.
【請求項17】請求項3において、第1のコンピュータ
システムは、単数でも複数でも、予約・販売の受け付け
を実現することを特徴とした予約販売方法。
17. The reservation sales method according to claim 3, wherein the first computer system realizes reception of reservations and sales regardless of whether the first computer system is single or plural.
【請求項18】請求項1、2、3、6、7、8のいずれ
かにおいて、ある時間間隔とは、 (1)販売開始からある所定の時間が経過した (2)所定の割合の枚数を販売した (3)所定時間当たりの売上げ枚数が一定以下になった 場合のいずれかであることを特徴とした予約販売方法。
18. The time interval according to any one of claims 1, 2, 3, 6, 7, and 8 means (1) a predetermined time has elapsed from the start of sales, and (2) a predetermined number of sheets. (3) The pre-sale method, which is one of the cases where the number of sales per predetermined time is below a certain level.
【請求項19】請求項1、2、3、6のいずれかにおい
て、ある1つの第2のコンピュータシステムで販売する
チケット等の予約・販売対象物がある一定量以下になる
か、またはある所定の時間が経過したら、チケット等の
予約・販売を受け付けるためのファイルを保有している
他の第2のコンピュータシステムを探し、前記の第2の
コンピュータシステムに、予約・販売を受け付けるため
のファイルを移動させることを特徴とした予約販売方
法。
19. The reservation / sale object such as a ticket sold by a certain second computer system according to any one of claims 1, 2, 3 and 6, or a predetermined amount or less, or a predetermined value. After the lapse of time, a search is made for another second computer system that has a file for accepting reservation / sales of tickets, and the file for accepting reservation / sales is stored in the second computer system. Reservation sales method characterized by moving.
【請求項20】請求項1、2、3、6のいずれかにおい
て、ある1つの第2のコンピュータシステムで販売する
チケット等の予約・販売対象物がある一定量以下になる
か、またはある所定の時間が経過したら、チケット等の
予約・販売を受け付けるためのファイルを保有している
他の第2のコンピュータシステムを探し、第1のコンピ
ュータシステムに、予約・販売を受け付けるためのファ
イルを移動させることを特徴とした予約販売方法。
20. In any one of claims 1, 2, 3 and 6, a reservation / sales object such as a ticket sold by a certain second computer system is less than a certain amount or a certain predetermined amount. After a lapse of time, the other second computer system having a file for accepting reservation / sales such as tickets is searched for, and the file for accepting reservation / sales is moved to the first computer system. Reservation sales method characterized by that.
【請求項21】請求項1、2、3、6のいずれかにおい
て、ある1つの第2のコンピュータシステムで販売する
チケット等の予約・販売対象物がある一定量以下になる
か、またはある所定の時間が経過したら、チケット等の
予約・販売を受け付けるためのファイルを保有している
第1のコンピュータシステムから、前記の第2のコンピ
ュータシステムに、予約・販売を受け付けるためのファ
イルを移動させることを特徴とした予約販売方法。
21. In any one of claims 1, 2, 3 and 6, a reservation / sales object such as a ticket to be sold by a certain second computer system is below a certain amount, or a predetermined amount. After the time elapses, moving the file for accepting reservations / sales from the first computer system having the files for accepting reservations / sales such as tickets to the second computer system. Reservation sales method featuring.
JP8177393A 1993-04-08 1993-04-08 Reserved sales method Pending JPH06295304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8177393A JPH06295304A (en) 1993-04-08 1993-04-08 Reserved sales method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8177393A JPH06295304A (en) 1993-04-08 1993-04-08 Reserved sales method

Publications (1)

Publication Number Publication Date
JPH06295304A true JPH06295304A (en) 1994-10-21

Family

ID=13755802

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8177393A Pending JPH06295304A (en) 1993-04-08 1993-04-08 Reserved sales method

Country Status (1)

Country Link
JP (1) JPH06295304A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001069471A1 (en) * 2000-03-14 2001-09-20 Kabushiki Kaisha Toshiba Method for receiving order by automatically issuing reference number and order receiving terminal
JP2005168742A (en) * 2003-12-10 2005-06-30 Konami Co Ltd Card game system and card used for the same
JP2007525118A (en) * 2004-01-29 2007-08-30 ウーンディ,リチャード,エム. Head-end fail software operation system and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001069471A1 (en) * 2000-03-14 2001-09-20 Kabushiki Kaisha Toshiba Method for receiving order by automatically issuing reference number and order receiving terminal
JP2005168742A (en) * 2003-12-10 2005-06-30 Konami Co Ltd Card game system and card used for the same
JP2007525118A (en) * 2004-01-29 2007-08-30 ウーンディ,リチャード,エム. Head-end fail software operation system and method
US8443415B2 (en) 2004-01-29 2013-05-14 Ngna, Llc System and method of supporting transport and playback of signals
US8505064B2 (en) 2004-01-29 2013-08-06 Ngna, Llc Method and system of providing signals

Similar Documents

Publication Publication Date Title
CN103201755B (en) Method and system for realizing fulfiling management
WO2019139693A1 (en) Distributed partitioned map reduce using a data fabric
US7499924B2 (en) Method for releasing update locks on rollback to savepoint
AU2002237846B2 (en) System and methods for continuous fare shopping and virtual grouping of itinerary requests
US9631938B2 (en) Route planning system and method
MXPA03004731A (en) On-line parts location and transaction system.
US20150154511A1 (en) Availability watching
CN103392330B (en) For the system and method with independent external system session synchronization
JP2013501973A (en) Account parallel processing method and system
CA2364121A1 (en) Allocating inventory based on allocation priorities
WO2012123544A1 (en) Method and system for providing a session involving a plurality of software applications
KR20020026868A (en) Inventory allotment managing method and inventory allotment managing system
AU2002237846A1 (en) System and methods for continuous fare shopping and virtual grouping of itinerary requests
JPH06295304A (en) Reserved sales method
JPH1166199A (en) Distributed transaction processing method
US20030046258A1 (en) Method and system for removal of resource manager affinity during restart in a transaction processing system
US11494717B2 (en) System and method for supply chain management
CA2903654A1 (en) Corporate recognition for travel related services
EP2998746A1 (en) Corporate recognition for travel related services
EP1158432A1 (en) Service fee determination method and system
US20230306315A1 (en) Method and system for low-impact transfer of provider-dependent items
EP1236133A2 (en) System and method for allocating business to one of a plurality of sellers in a buyer driven electronic commerce system
JP2022177136A (en) Game system and computer program used therefor
JP2001167190A (en) Method and system for distribution of information
FR3103916A1 (en) System and method for differential access control of shared data