JP2010086141A - System and method for refunding season ticket - Google Patents

System and method for refunding season ticket Download PDF

Info

Publication number
JP2010086141A
JP2010086141A JP2008252351A JP2008252351A JP2010086141A JP 2010086141 A JP2010086141 A JP 2010086141A JP 2008252351 A JP2008252351 A JP 2008252351A JP 2008252351 A JP2008252351 A JP 2008252351A JP 2010086141 A JP2010086141 A JP 2010086141A
Authority
JP
Japan
Prior art keywords
refund
record
commuter pass
cancellation
request
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
JP2008252351A
Other languages
Japanese (ja)
Inventor
Makoto Ishikawa
誠 石川
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 JP2008252351A priority Critical patent/JP2010086141A/en
Publication of JP2010086141A publication Critical patent/JP2010086141A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Devices For Checking Fares Or Tickets At Control Points (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a season ticket refund system securely regenerating a season ticket and notifying a card corporate server of a refund amount even after the season ticket is refunded. <P>SOLUTION: Even after refund processing is performed, a credit server in the season ticket refund system records information to the effect that the refund has been performed into a sales record, and maintains the sales record. Also, even after refund cancellation processing is performed, the credit server records information to the effect that the refund has been canceled into a refund record, and maintains the refund record. Further, even after the cancellation processing of the refund cancellation is performed, the credit server records information to the effect that the cancellation of the refund cancellation into a refund cancellation record, and maintains the refund cancellation record. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、定期券払戻システム及び定期券払戻方法に関する。   The present invention relates to a commuter pass refund system and a commuter pass refund method.

現在、鉄道等の乗車に関して、ICチップが埋め込まれたIC定期券を使用することが一般的になっている。IC定期券は、通常、デポジット(保証金)を支払うことにより鉄道事業者より発行され、SF(Stored Fare:前払運賃)をチャージすることも可能である。そして、IC定期券の購入は、クレジットカードで行い、デポジット及びSFの支払いは現金で行われることが少なくない。   At present, it is common to use an IC commuter pass in which an IC chip is embedded for riding on a railway or the like. An IC commuter pass is usually issued by a railway operator by paying a deposit (guaranteed money), and it is possible to charge SF (Stored Fare). And the IC commuter pass is purchased with a credit card, and the deposit and SF are often paid in cash.

利用者は、クレジットカードでIC定期券を購入した後、有効期間の満了前に当該定期券を使用することをやめ、残りの有効期間に対応する金額を銀行口座振込みによって受け取り、デポジット及びSF残額を現金で受け取ることがある。
クレジットカードによって購入した定期券や乗車券を読取って、購入者の銀行口座に払い戻す技術が開示されている(例えば特許文献1、特許文献2)。
After purchasing an IC commuter pass with a credit card, the user ceases to use the commuter pass before the expiration date, receives the amount corresponding to the remaining validity period by bank account transfer, deposit and SF balance May be received in cash.
Techniques have been disclosed in which a commuter pass or a ticket purchased with a credit card is read and returned to the purchaser's bank account (for example, Patent Document 1 and Patent Document 2).

昭61−114392号公報(「発明の概要」等)Sho 61-114392 ("Summary of Invention" etc.) 特開平4−340691号公報(段落0004)Japanese Patent Laid-Open No. 4-340691 (paragraph 0004)

利用者からIC定期券の払戻依頼があり、IC定期券そのもの(媒体)を回収した後、利用者から払戻の取消の依頼を受ける場合がある。この場合、鉄道事業者のシステムは、新たな媒体を作成し、売上金額(払戻後の期間に係る金額ではなく、発売時の金額)、乗車駅、降車駅等を媒体に記憶・印字させ利用者に交付する一方、クレジットカード会社に対し払戻金額(払戻後の期間に係る金額)を利用者の銀行口座から引き落とす旨の通知をする必要がある。
しかしながら、売上金額、乗車駅、降車駅、払戻金額等の情報は払戻時に失われており、利用者又は駅員がわざわざシステムに入力し直さなければならない。
特許文献1、2の技術は、払戻までの処理を自動化したものであり、払戻の取消、さらにその取消の取消については、全く対応できない。
There is a case where there is a request for refund of the IC commuter pass from the user, and after the IC commuter pass itself (medium) is collected, a request for cancellation of the refund is received from the user. In this case, the railway operator's system creates a new medium and stores and prints the sales amount (the amount at the time of release, not the amount related to the period after the refund), the boarding station, the exit station, etc. On the other hand, it is necessary to notify the credit card company that the refund amount (the amount related to the period after the refund) is withdrawn from the user's bank account.
However, information such as sales amount, boarding station, getting-off station, refund amount, etc. are lost at the time of refund, and the user or station staff has to bother to re-enter the system.
The techniques of Patent Documents 1 and 2 automate the processing up to the refund, and the cancellation of the refund and the cancellation of the cancellation cannot be handled at all.

そこで、本発明は、定期券の払戻があった後も、定期券の再作成や、カード会社サーバに対する払戻金額の通知を確実に行う定期券払戻システムを提供することを目的とする。   Therefore, an object of the present invention is to provide a commuter pass refund system that reliably recreates a commuter pass and notifies a refund amount to a card company server even after the commuter pass is refunded.

本発明に係る定期券払戻システムのクレジットサーバは、払戻の処理があった後も、払戻があった旨の情報を売上レコードに記録したうえで当該売上レコードを維持し、払戻取消の処理があった後も、払戻取消があった旨の情報を前記払戻レコードに記録したうえで当該払戻レコードを維持し、払戻取消の取消の処理があった後も、払戻取消の取消があった旨の情報を前記払戻取消レコードに記録したうえで当該払戻取消レコードを維持する。   The credit server of the commuter pass refund system according to the present invention records the information indicating that there was a refund in the sales record after the refund process, maintains the sales record, and performs the refund cancellation process. After that, after recording the information that the refund has been canceled in the refund record, the refund record is maintained, and the information indicating that the refund has been canceled even after the cancellation of the refund has been processed. Is recorded in the withdrawal cancellation record, and the withdrawal cancellation record is maintained.

本発明によれば、定期券の払戻があった後も、定期券の再作成や、カード会社サーバに対する払戻金額の通知を確実に行う定期券払戻システムを提供することが可能になる。   According to the present invention, it is possible to provide a commuter pass refund system that reliably recreates a commuter pass and notifies the card company server of the refund amount even after the commuter pass is refunded.

以降、本発明を実施するための最良の形態(「本実施形態」と言う)を、図等を参照しながら詳細に説明する。   Hereinafter, the best mode for carrying out the present invention (referred to as “the present embodiment”) will be described in detail with reference to the drawings and the like.

(IC定期券の払戻及び払戻取消)
まず、IC定期券の払戻及び払戻取消について簡単に説明する。
図1は、IC定期券の現金での払戻及びその取消を説明する図である。
例えば、2007年12月25日、駅システム(従来の一般的な鉄道事業者のシステムをいう)は、ある利用者にIC定期券を現金で発売したとする(図1(a)符号51参照)。乗車駅は「王子神谷」であり、降車駅は「飯田橋」であり、経由は「本駒込」であり、有効期限は「20.6.24」であり、IC定期券の売上金額は「30000円」であり、売上日は「12月25日」であり、IC定期券のカードIDは「0001」である。これらの情報はIC定期券のICチップに記憶されると同時に、表面に印字される。
さらに、発売と同時に、駅システムは、利用者からデポジット「500円」を受領したとする。この金額もまた、ICチップに記憶される。さらに、利用者が駅構内のチャージ機器等でSFを入金する度に、又は、IC定期券の指定乗車区間以外の乗車や売店等での購入を行う度に、SF残額は増減し、駅システムはその増減後の残額を、ICチップに記憶する。
(IC commuter pass refund and refund cancellation)
First, the IC commuter pass refund and refund cancellation will be briefly described.
FIG. 1 is a diagram for explaining the withdrawal and cancellation of an IC commuter pass in cash.
For example, on December 25, 2007, it is assumed that a station system (referred to as a conventional general railway operator system) sells an IC commuter pass in cash to a certain user (see reference numeral 51 in FIG. 1 (a)). ). The boarding station is “Oji Kamiya”, the getting-off station is “Iidabashi”, the transit is “Honkomagome”, the expiration date is “20.6.24”, and the IC commuter pass sales amount is “30000” Yen ”, the sales date is“ December 25 ”, and the card ID of the IC commuter pass is“ 0001 ”. These pieces of information are stored on the IC chip of the IC commuter pass and simultaneously printed on the surface.
Further, it is assumed that the station system receives a deposit “500 yen” from the user at the same time as the sale. This amount is also stored in the IC chip. Furthermore, every time a user deposits SF with a charging device or the like in the station premises, or whenever he / she purchases at an IC commuter pass other than the specified boarding section or at a store, the SF remaining amount increases or decreases, and the station system Stores the remaining amount after the increase / decrease in the IC chip.

2008年4月21日、駅システムは、当該IC定期券の払戻を受け付けたとする(図1(a)符号52参照)。駅システムは、まず、残り日数の日割り計算等により、定期券残額を計算する。この例では、2008年4月22日〜2008年6月24日に対応する定期券残額が「10000円」である。また、払戻時点でのSF残額は、1000円である。このとき、駅システムは、「定期券残額10000円+SF残額1000円+デポジット500円−払戻手数料800円=10700円」を利用者に現金で払い戻す。そして、駅システムは、媒体(IC定期券)を回収する。   On April 21, 2008, it is assumed that the station system has received a refund for the IC commuter pass (see reference numeral 52 in FIG. 1 (a)). The station system first calculates the commuter pass balance by, for example, prorated calculation of the remaining days. In this example, the commuter pass balance corresponding to April 22, 2008 to June 24, 2008 is “10000 yen”. The remaining SF amount at the time of refund is 1000 yen. At this time, the station system pays back to the user with “commuter pass balance 10000 yen + SF balance 1000 yen + deposit 500 yen−refund fee 800 yen = 10700 yen”. Then, the station system collects the medium (IC commuter pass).

2008年4月21日、駅システムは、払戻の直後、利用者から払戻の取消を受け付けたとする。このとき、駅システムは、利用者から、払戻時に駅システムが発行した明細書等の提示を受け、現金「10700円」を受領する(図1(b)符号53参照)。
このとき、再発行されるIC定期券そのもの(図1(b)符号54)は、元のIC定期券の媒体ではなく新たに発行された媒体である(カードIDは0002である)。なぜなら、駅システムは、一旦払戻に応じて回収された媒体に対し、不正使用防止のため使用不能とする処理(廃券処理)を行うからである。
また、新たなIC定期券のICチップに、乗車駅「王子神谷」、降車駅「飯田橋」、経由「本駒込」、売上金額等「30000円」等を記憶させ、又、これらをIC定期券に印字するために、駅システムに対し、利用者又は駅員がそれらの情報を再度入力する必要がある。
On April 21, 2008, it is assumed that the station system accepts a cancellation of the refund from the user immediately after the refund. At this time, the station system receives a statement such as a statement issued by the station system at the time of withdrawal from the user and receives cash “10700 yen” (see reference numeral 53 in FIG. 1B).
At this time, the IC commuter pass to be reissued itself (reference numeral 54 in FIG. 1B) is a newly issued medium (card ID is 0002), not the original IC commuter pass medium. This is because the station system performs a process of making it unusable (abandoned ticket process) to prevent unauthorized use of the medium once collected in response to the refund.
In addition, the IC chip of the new IC commuter pass stores the boarding station “Oji Kamiya”, the getting-off station “Iidabashi”, via “Homomagome”, sales amount, etc. “30000 yen”, etc. In order to print the information, the user or the station staff needs to input the information again to the station system.

図2は、IC定期券のクレジットでの払戻及びその取消を説明する図である。
2007年12月25日、駅システムは、ある利用者に前記と同じIC定期券(図2(a)符号55)をクレジットカードで発売したとする。そして、2008年4月21日、駅システムは、当該IC定期券の払戻を受け付けたとする。この際の処理は2つに分かれる。駅システムは、第一に、クレジットカードで発売した定期券部分「定期券残額10000円−払戻手数料800円=9200円」を、利用者の銀行口座に払い込む通知をカード会社サーバに送信する(図2(a)符号56)。第二に、「SF残額1000円+デポジット500円=1500円」を現金で利用者に支払う(図2(a)符号57)。そして、媒体は回収され廃券処理される。
FIG. 2 is a diagram for explaining the refund and cancellation of IC commuter pass credits.
On December 25, 2007, the station system sells the same IC commuter pass (reference numeral 55 in FIG. 2 (a)) to a certain user as a credit card. Then, on April 21, 2008, the station system accepts a refund of the IC commuter pass. The processing at this time is divided into two. First of all, the station system sends a notice to pay the user's bank account of the commuter pass part “the commuter pass balance 10000 yen−refund fee 800 yen = 9200 yen” released by credit card to the card company server (see FIG. 2 (a) code 56). Secondly, “SF remaining amount 1000 yen + deposit 500 yen = 1500 yen” is paid to the user in cash (reference numeral 57 in FIG. 2A). Then, the medium is collected and discarded.

2008年4月21日、駅システムは、払戻の直後、利用者から払戻の取消を受け付けたとする。このとき、駅システムは、第一に、利用者から、払戻時に駅システムが発行した明細書等の提示を受け、現金「1500円」を受領する(図2(b)符号58)。第二に、「9200円」を、利用者の銀行口座から引き落とす通知をカード会社サーバに送信する(図2(b)符号59)。そして、駅システムは元のIC定期券を復元し利用者に発行する(図2(b)符号60)。
このとき、発行されるIC定期券そのもの(媒体)が元のIC定期券そのものではなく新たに発行される媒体である(カードIDは0002である)こと、及び、新たなIC定期券のICチップに、乗車駅「王子神谷」、降車駅「飯田橋」、経由「本駒込」、売上金額「30000円」等を記憶させ、又、これらをIC定期券に印字するために、駅システムに対し、利用者又は駅員がそれらの情報を再度入力する必要があることは、図1の説明と同じである。
On April 21, 2008, it is assumed that the station system accepts a cancellation of the refund from the user immediately after the refund. At this time, the station system first receives a statement such as a statement issued by the station system at the time of withdrawal from the user, and receives cash “1500 yen” (reference numeral 58 in FIG. 2B). Secondly, a notice of debiting “9200 yen” from the bank account of the user is transmitted to the card company server (reference numeral 59 in FIG. 2 (b)). Then, the station system restores the original IC commuter pass and issues it to the user (reference numeral 60 in FIG. 2 (b)).
At this time, the issued IC commuter pass itself (medium) is not the original IC commuter pass itself but a newly issued medium (card ID is 0002), and the IC chip of the new IC commuter pass In order to store the boarding station “Oji Kamiya”, the getting-off station “Iidabashi”, via “Hongomagome”, the sales amount “30000 yen”, etc., and to print these on the IC commuter pass, It is the same as the description of FIG. 1 that the user or station staff needs to input such information again.

本実施形態は、クレジットでの払戻(図2(a))の終了を前提として、その後の払戻取消等に係るIC定期券の再作成、クレジット会社サーバへの通知をいかに行うか(図2(b))、に係るものである。   In the present embodiment, on the premise that the credit is refunded (FIG. 2A), how to re-create the IC commuter pass related to the subsequent refund cancellation, etc., and notify the credit company server (FIG. 2 ( b)).

図3は、本実施形態に係る定期券払戻システムの全体構成図である。
駅務端末装置2、クレジットサーバ3及びカード会社サーバ4がネットワーク5を介して接続されている。定期券払戻システム1は、そのうち、駅務端末装置2とクレジットサーバ3を含む。
FIG. 3 is an overall configuration diagram of the commuter pass refund system according to the present embodiment.
A station service terminal device 2, a credit server 3 and a card company server 4 are connected via a network 5. The commuter pass refund system 1 includes a station service terminal device 2 and a credit server 3 among them.

駅務端末装置2は、一般的なコンピュータであり、相互にバスで接続された中央制御装置11、主記憶装置12、補助記憶装置13、ディスプレイ14、キーボード15、通信インタフェース(IF)16、IC定期券7に記憶されている情報を読み取り、かつ、IC定期券7に対し必要な情報を記憶させるICカードリーダライタ17、及びクレジットカード6に記憶されている情報を読取るクレジットカードリーダ18を有する。IC定期券処理部19はプログラムである。   The station service terminal device 2 is a general computer, and is connected to each other via a central control device 11, a main storage device 12, an auxiliary storage device 13, a display 14, a keyboard 15, a communication interface (IF) 16, an IC. An IC card reader / writer 17 that reads information stored in the commuter pass 7 and stores necessary information for the IC commuter pass 7 and a credit card reader 18 that reads information stored in the credit card 6 are provided. . The IC commuter pass processing unit 19 is a program.

クレジットサーバ3は、一般的なコンピュータであり、中央制御装置21、主記憶装置22、補助記憶装置23、入力装置24、出力装置25及び通信インタフェース(IF)26を有する。補助記憶装置23は、売上情報データベース30を格納している。クレジット売上管理部27、クレジット払戻管理部28及びクレジット払戻取消管理部29はプログラムである。
以降、駅務端末装置2及びクレジットサーバ3について、「○○部は」と主体を記した場合は、それは、中央制御装置11、21が、補助記憶装置13、23から各プログラムを読み出し、主記憶装置12、22にロードした上で、各プログラムの機能を実行するものとする。
The credit server 3 is a general computer and includes a central control device 21, a main storage device 22, an auxiliary storage device 23, an input device 24, an output device 25, and a communication interface (IF) 26. The auxiliary storage device 23 stores a sales information database 30. The credit sales management unit 27, the credit withdrawal management unit 28, and the credit withdrawal cancellation management unit 29 are programs.
Thereafter, for the station service terminal device 2 and the credit server 3, when the subject is described as “XX section is”, the central control device 11, 21 reads each program from the auxiliary storage devices 13, 23, It is assumed that the functions of the respective programs are executed after being loaded into the storage devices 12 and 22.

カード会社サーバ4は、クレジットサーバ3から情報を受信し、利用者の銀行口座から所定の金額を引き落とす、あるいはその口座に所定の金額を振り込む処理を行うコンピュータである。カード会社サーバ4の内部構成等は、本発明に直接関係しないので記載を省略する。   The card company server 4 is a computer that receives information from the credit server 3 and performs a process of withdrawing a predetermined amount from the bank account of the user or transferring a predetermined amount to the account. Since the internal configuration of the card company server 4 is not directly related to the present invention, the description is omitted.

駅務端末装置2は、通常、鉄道事業者により運営され、典型的には駅窓口に設置され、駅員によって操作される。図3では1台を記したが、1又は複数台存在するものとする。
クレジットサーバ3は、通常、鉄道事業者により運営され、典型的には主要駅又は本部に設置される。通常は1台存在するものとするが、複数台存在してもよい。
更に、駅務端末装置2とクレジットサーバ3が、それぞれ別の筐体を有するものとして図示したが、これらは同一の筐体を構成していてもよい。
The station service terminal device 2 is normally operated by a railway operator, typically installed at a station window, and operated by a station staff. Although FIG. 3 shows one unit, it is assumed that one or more units exist.
The credit server 3 is usually operated by a railway operator and is typically installed at a main station or headquarters. Normally, one unit is present, but a plurality of units may be present.
Further, although the station service terminal device 2 and the credit server 3 are illustrated as having separate casings, they may constitute the same casing.

(売上情報データベース)
図4は、本実施形態に係る売上情報データベースの一例を示す図である。図4では、売上情報データベース30が上下の部分に分かれているが、本実施形態では1つの連続したデータベースであり、上段右端が下段左端に繋がっている(後記して説明する図6(b)、図8(c)、図10(b)、図11(a)(b)及び図13(b)も同様)。
売上情報データベース30は、利用者のクレジットカード6によるIC定期券7の発売、払戻、払戻取消及び払戻取消の取消を管理するデータベースである。
処理日欄101に記憶された処理日に関連付けて、端末ID欄102には端末IDが、処理ID欄103には処理IDが、カードID欄104にはカードIDが、クレジットID欄105にはクレジットIDが、業務区分欄106には業務区分が、削除フラグ欄107には削除フラグが、払戻済フラグ欄108には払戻フラグが、売上金額欄109には売上金額が、乗車駅欄110には乗車駅の名称が、降車駅欄111には降車駅の名称が、経由欄112には経由駅の名称が、払戻金額欄113には払戻金額が、元処理日欄114には元処理日が、元端末ID欄115には元端末IDが、元処理ID欄116には元処理IDが、元カードID欄117には元カードIDが、元売上・払戻金額欄118には元売上・払戻金額が、それぞれ記憶されている。
(Sales information database)
FIG. 4 is a diagram showing an example of a sales information database according to the present embodiment. In FIG. 4, the sales information database 30 is divided into upper and lower parts, but in the present embodiment, it is one continuous database, and the upper right end is connected to the lower left end (FIG. 6B described later). , FIG. 8 (c), FIG. 10 (b), FIG. 11 (a), (b) and FIG. 13 (b) are the same).
The sales information database 30 is a database that manages the release, withdrawal, withdrawal cancellation and withdrawal cancellation of the IC commuter pass 7 by the user's credit card 6.
In association with the processing date stored in the processing date column 101, the terminal ID column 102 has a terminal ID, the processing ID column 103 has a processing ID, the card ID column 104 has a card ID, and the credit ID column 105 has a processing ID. Credit ID, business category column 106, business category, deletion flag column 107, deletion flag, refunded flag column 108, refund flag, sales amount column 109, sales amount, boarding station column 110 Is the name of the boarding station, the name of the getting-off station in the getting-off station column 111, the name of the transit station in the via-column 112, the refunding amount in the withdrawal amount column 113, and the original processing date in the original processing date column 114 However, the original terminal ID column 115 has the original terminal ID, the original process ID column 116 has the original process ID, the original card ID column 117 has the original card ID, and the original sales / refund amount column 118 has the original sales / Each refund amount is memorized To have.

処理日欄101の処理日は、IC定期券7の発売、払戻、払戻取消又は払戻取消の取消に係る処理があった日である。
端末ID欄102の端末IDは、利用者から、IC定期券7の発売、払戻、払戻取消又は払戻取消の取消に係る処理を受け付けた駅務端末装置2を一意に特定する識別子(第1の識別子)である。
処理ID欄103の処理IDは、IC定期券7の発売、払戻、払戻取消又は払戻取消の取消に係る処理を一意に特定する識別子(第2の識別子)である。
カードID欄104のカードIDは、IC定期券7そのもの(媒体)を一意に特定する識別子(第3の識別子)である。
クレジットID欄105のクレジットIDは、利用者のクレッジットカード6を一意に特定する識別子(第4の識別子)である。
業務区分欄106の業務区分は、処理の区分を示す数字であり、「1」は「売上」(鉄道事業者にとっての収入が増加する処理)を示し、「4」は「払戻」(鉄道事業者にとっての収入が減少する処理)を示す。
The processing date in the processing date column 101 is a date on which the processing related to the sale, refund, refund cancellation, or refund cancellation of the IC commuter pass 7 is performed.
The terminal ID in the terminal ID field 102 is an identifier (first ID) that uniquely identifies the station service terminal device 2 that has received processing related to the release of the IC commuter pass 7, refund, refund cancellation or refund cancellation from the user. Identifier).
The process ID in the process ID column 103 is an identifier (second identifier) that uniquely identifies a process related to the sale, refund, refund cancellation, or refund cancellation of the IC commuter pass 7.
The card ID in the card ID column 104 is an identifier (third identifier) that uniquely identifies the IC commuter pass 7 itself (medium).
The credit ID in the credit ID column 105 is an identifier (fourth identifier) that uniquely identifies the credit card 6 of the user.
The business category in the business category column 106 is a number indicating the category of processing, “1” indicates “sales” (processing in which revenue for the railway operator increases), and “4” indicates “refund” (railway business). Process to reduce the income for the person).

削除フラグ欄107の削除フラグは「0」又は「1」の何れかである。「0」は、そのレコードが有効であることを示す。「1」はレコードが削除されずに残っているが、無効であることを示す。「第3のレコードを無効にする旨を記録」には、この削除フラグ「1」が相当する。
払戻済フラグ欄108の払戻フラグは、「0」、「1」、「3」又は「4」の何れかである。
「0」は、そのレコードが「初期値」である(そのレコードに係る発売又は払戻を相殺するような払戻又は払戻取消に係る他レコードが存在しない)ことを示す。
「1」は、そのレコードが「払戻済」である(そのレコードに係る発売を相殺するような払戻に係る他レコードが存在する)ことを示す。
「3」は、そのレコードが「払戻取消済」である(そのレコードに係る払戻を相殺するような払戻取消に係る有効な他レコードが存在する)ことを示す。
「4」は、そのレコードが「払戻取消用処理」である(そのレコードが、払戻処理を相殺する払戻取消の取消に係るレコードである)ことを示す。
「第2(第3、第4)の要求を受け付けた旨を記録」には、これらの払戻済フラグが相当する。
The deletion flag in the deletion flag column 107 is either “0” or “1”. “0” indicates that the record is valid. “1” indicates that the record remains without being deleted but is invalid. This “deletion flag“ 1 ”corresponds to“ recording that the third record is invalidated ”.
The withdrawal flag in the withdrawal flag column 108 is any one of “0”, “1”, “3”, or “4”.
“0” indicates that the record is “initial value” (there is no other record related to a refund or refund cancellation that cancels the sale or refund related to the record).
“1” indicates that the record is “refunded” (there is another record related to a refund that offsets the sale related to the record).
“3” indicates that the record is “refund canceled” (there is a valid other record related to refund cancellation that offsets the refund related to the record).
“4” indicates that the record is “refund cancellation processing” (the record is a record related to cancellation of cancellation canceling out the cancellation processing).
“Recording that the second (third, fourth) request has been received” corresponds to these refunded flags.

売上金額欄109の売上金額は、鉄道事業者にとっての収入の増加となる金額である。
乗車駅欄110の乗車駅の名称は、IC定期券7の乗車区間を2つの駅で特定する場合の一方の駅の名称である。
降車駅欄111の降車駅の名称は、IC定期券7の乗車区間を2つの駅で特定する場合の他方の駅の名称である。
経由欄112の経由駅の名称は、乗車区間が乗車駅の名称及び降車駅の名称によって特定されない場合の、乗車区間の途中駅の名称である。
The sales amount in the sales amount column 109 is an amount that increases the revenue for the railway operator.
The name of the boarding station in the boarding station column 110 is the name of one station when the boarding section of the IC commuter pass 7 is specified by two stations.
The name of the getting-off station in the getting-off station column 111 is the name of the other station when the boarding section of the IC commuter pass 7 is specified by two stations.
The name of the transit station in the transit column 112 is the name of the intermediate station in the boarding section when the boarding section is not specified by the name of the boarding station and the name of the getting-off station.

払戻金額欄113の払戻金額は、鉄道事業者にとっての収入の減少となる金額である。
元処理日欄114の元処理日は、IC定期券7の払戻又は払戻取消の処理において、その処理が相殺する対象となる発売又は払戻の処理の処理日である。
元端末ID欄115の元端末IDは、IC定期券7の払戻又は払戻取消の処理において、その処理が相殺する対象となる発売又は払戻の処理を受け付けた駅務端末装置2の端末IDである。
元処理ID欄116の元処理IDは、IC定期券7の払戻又は払戻の取消処理において、その処理が相殺する対象となる発売又は払戻の処理の処理IDである。
元カードID欄117の元カードIDは、IC定期券7の払戻又は払戻取消の処理において、その処理が相殺する対象となる発売又は払戻の処理にて発行又は回収されたIC定期券7そのもの(媒体)のカードIDである。
元売上・払戻金額欄118の元売上・払戻金額は、IC定期券7の払戻又は払戻取消の処理において、その処理が相殺する対象となる発売又は払戻の処理の売上金額又は払戻金額である。
The refund amount in the refund amount column 113 is an amount that reduces the revenue for the railway operator.
The original processing date in the original processing date column 114 is the processing date of the sale or refund process that is the target of the cancellation of the IC commuter pass 7 in the refund or refund cancellation process.
The former terminal ID in the former terminal ID column 115 is the terminal ID of the station service terminal device 2 that has received the release or refund process for which the process cancels out in the refund or refund cancellation process of the IC commuter pass 7. .
The original process ID in the original process ID column 116 is a process ID of a sale or refund process for which the process cancels out in the refund process or refund cancellation process of the IC commuter pass 7.
The original card ID of the original card ID column 117 is the IC commuter pass 7 itself issued or collected in the process of sale or refund that is subject to cancellation in the process of refunding or refunding the IC commuter pass 7 ( Medium) card ID.
The original sales / refund amount in the original sales / refund amount column 118 is the sales amount or refund amount of the sale or refund process to be offset by the processing in the refund or refund cancellation processing of the IC commuter pass 7.

売上情報データベース30の欄のうち二重線よりも右の欄は、すべて欄の名称が「元○○」となっている。このことは、それぞれの欄が、「元」の語を除いた「○○」の名称を有する欄と対応していることを示している。
例えば、図4の行120の元処理日欄114〜元売上・払戻金額欄118の情報は、行119の処理日欄101〜カードID欄104の情報及び売上金額欄109の情報と、それぞれ同じである。
同様に、行121の元処理日欄114〜元売上・払戻金額欄118の情報は、行120の処理日欄101〜カードID欄104の情報及び払戻金額欄113の情報と、それぞれ同じである。つまり、元処理日欄114〜元売上・払戻金額欄118の情報のすべて又は一部を検索キーにすると、行121のレコード→行120のレコード→行119のレコードというように遡って検索することができる。
Of the columns in the sales information database 30, the columns to the right of the double line all have the column names “original XX”. This indicates that each column corresponds to a column having the name “XX” excluding the word “original”.
For example, the information in the original processing date column 114 to the original sales / refund amount column 118 in the row 120 in FIG. 4 is the same as the information in the processing date column 101 to the card ID column 104 and the information in the sales amount column 109 in the row 119, respectively. It is.
Similarly, the information in the original processing date column 114 to the original sales / refund amount column 118 in the row 121 is the same as the information in the processing date column 101 to the card ID column 104 and the information in the refund amount column 113 in the row 120, respectively. . That is, when all or part of the information in the original processing date column 114 to the original sales / refund amount column 118 is used as a search key, the search is performed retroactively in the order of the record in the row 121 → the record in the row 120 → the record in the row 119 Can do.

「第1の項目群」には、処理日、端末ID、処理ID、カードID、クレジットID、売上金額及び払戻金額が相当する。
「第2の項目群」には、元処理日、元端末ID、元処理ID、元カードID及び元売上・払戻金額が相当する。
「第3の項目群」には、乗車駅の名称、降車駅の名称及び経由駅の名称が相当する。
The “first item group” corresponds to a processing date, a terminal ID, a processing ID, a card ID, a credit ID, a sales amount, and a refund amount.
The “second item group” corresponds to the original process date, the original terminal ID, the original process ID, the original card ID, and the original sales / refund amount.
The “third item group” corresponds to the name of the boarding station, the name of the disembarking station, and the name of the transit station.

(売上情報データベースのレコードの種類)
図4の売上情報データベース30のレコードは、売上レコード(第1のレコード)、払戻レコード(第2のレコード)及び払戻取消レコード(第3のレコード)の3種類に分けられる。この3種類のレコードの区別は、業務区分、削除フラグ及び払戻済フラグによって行われる。
売上レコードの例は、図4のレコード119である。業務区分欄106には常に「1」が記憶される。削除フラグ欄107には常に「0」が記憶される。払戻済フラグ欄108には「0」又は「1」の何れかが記憶される。そして、払戻金額欄113〜元売上・払戻金額欄118は、常に空欄となっている。売上レコードは、IC定期券7の発売の都度、新たに作成され、数は最も多い。
払戻レコードの例は、図4のレコード120である。業務区分欄106には常に「4」が記憶される。削除フラグ欄107には常に「0」が記憶される。払戻済フラグ欄108には「0」又は「3」の何れかが記憶される。そして、売上金額欄109〜経由欄112は、常に空欄となっている。払戻レコードは、IC定期券7の払戻の都度、新たに作成され、数は売上レコードに次いで多い。
払戻取消レコードの例は、図4のレコード121である。業務区分欄106には常に「1」が記憶される。削除フラグ欄107には「0」又は「1」が記憶される。払戻済フラグ欄108には常に「4」が記憶される。そして、乗車駅欄110〜払戻金額欄113は、常に空欄となっている。払戻レコードは、IC定期券7の払戻取消の都度、新たに作成され、数は最も少ない。
(Record type of sales information database)
The records in the sales information database 30 in FIG. 4 are divided into three types: sales records (first records), refund records (second records), and refund cancellation records (third records). The three types of records are distinguished by the business category, the deletion flag, and the refunded flag.
An example of the sales record is the record 119 in FIG. In the business category column 106, “1” is always stored. The deletion flag column 107 always stores “0”. Either “0” or “1” is stored in the refunded flag column 108. The refund amount column 113 to the former sales / refund amount column 118 are always blank. The sales record is newly created each time the IC commuter pass 7 is released, and the number is the largest.
An example of the payout record is the record 120 in FIG. In the business category column 106, “4” is always stored. The deletion flag column 107 always stores “0”. In the refunded flag column 108, either “0” or “3” is stored. The sales amount column 109 to the via column 112 are always blank. A refund record is newly created each time the IC commuter pass 7 is refunded, and the number is the second largest after the sales record.
An example of the withdrawal cancellation record is the record 121 of FIG. In the business category column 106, “1” is always stored. The deletion flag column 107 stores “0” or “1”. The refunded flag column 108 always stores “4”. The boarding station column 110 to the refund amount column 113 are always blank. The refund record is newly created every time the IC commuter pass 7 is canceled, and the number is the smallest.

以上より、払戻レコードは、業務区分が「4」であるレコードであり、払戻取消レコードは、業務区分が「1」でありかつ払戻済フラグが「4」であるレコードであり、売上レコードは、業務区分が「1」でありかつ払戻済フラグが「4」ではないレコードである、といえる。   From the above, the refund record is a record whose business category is “4”, the refund cancellation record is a record whose business category is “1” and the refunded flag is “4”, and the sales record is It can be said that the business classification is “1” and the refunded flag is not “4”.

(売上レコード)
売上レコード119は以下の事柄を意味する。すなわち、2007年12月25日、端末IDが「1281」である駅務端末装置2は、利用者からクレジットIDが「12345678」であるクレジットカード6の提示を受け、カードIDが「5001」であるIC定期券7を発行したこと、そのIC定期券7の乗車駅の名称が「王子神谷」であり、降車駅の名称が「飯田橋」であり、経由駅の名称が「本駒込」であり、売上金額が「30000円」であること、そして、この処理の処理IDは「0010」であることである。
なお、払戻フラグが「1」であるので、売上レコード119を相殺するような払戻レコードが存在することもわかる。その払戻レコードが具体的には「符号120」であることは、売上レコード119の情報からだけではわからない。
(Sales record)
The sales record 119 means the following matters. That is, on December 25, 2007, the station service terminal device 2 with the terminal ID “1281” receives the presentation of the credit card 6 with the credit ID “12345678” from the user, and the card ID is “5001”. Issuing a certain IC commuter pass 7, the name of the boarding station of the IC commuter pass 7 is "Oji Kamiya", the name of the disembarking station is "Iidabashi", and the name of the transit station is "Honkomagome" The sales amount is “30000 yen”, and the process ID of this process is “0010”.
Since the payout flag is “1”, it can be seen that there is a payout record that offsets the sales record 119. That the payout record is specifically “reference numeral 120” cannot be understood from the information of the sales record 119 alone.

(払戻レコード)
払戻レコード120は以下の事柄を意味する。すなわち、2008年4月21日、端末IDが「3471」である駅務端末装置2は、利用者からクレジットIDが「12345678」であるクレジットカード6の提示を受け、売上レコード119の処理(符号120のレコードの元処理日欄114〜元売上・払戻金額欄118の情報から符号119のレコードが特定できる)によって発売したIC定期券7の払戻を行ったこと、カードIDが「5001」であるIC定期券7を回収したこと、払戻金額は「10000円」であること、そして、この処理の処理IDは「0020」であることである。
なお、払戻済フラグが「0」であるので、払戻レコード120を相殺するような有効な払戻取消レコードが存在しないこともわかる。
(Refund record)
The refund record 120 means the following matters. That is, on April 21, 2008, the station service terminal device 2 whose terminal ID is “3471” receives the presentation of the credit card 6 whose credit ID is “12345678” from the user, and processes the processing record 119 (code Refund of the IC commuter pass 7 released by the information in the original processing date column 114 to the original sales / refund amount column 118 of the 120 records), and the card ID is “5001”. This means that the IC commuter pass 7 has been collected, the refund amount is “10000 yen”, and the process ID of this process is “0020”.
Note that since the refunded flag is “0”, it can be seen that there is no valid refund cancellation record that offsets the refund record 120.

(払戻取消レコード)
払戻取消レコード121は以下の事柄を意味する。すなわち、2008年4月21日、端末番号が「3471」である駅務端末装置2は、利用者からクレジットIDが「12345678」であるクレジットカード6の提示を受け、払戻レコード120の処理(符号121のレコードの元処理日欄114〜元売上・払戻金額欄118の情報から符号120のレコードが特定できる)の取消を行ったこと、その際、カードIDが「6001」であるIC定期券7を発行したこと、売上金額が「10000円」であること、この処理の処理IDは「0030」であること、そして、更に、この払戻取消が取消されたことである。払戻取消が取消されたことは、削除フラグが「1」になっていることでわかる。
(Refund cancellation record)
The withdrawal cancellation record 121 means the following matters. That is, on April 21, 2008, the station service terminal device 2 whose terminal number is “3471” receives the presentation of the credit card 6 whose credit ID is “12345678” from the user, and processes the refund record 120 (code IC record commuter pass 7 having a card ID of “6001” at that time is cancelled (record 120 can be identified from information in original processing date column 114 to original sales / refund amount column 118 of 121 record). Is issued, the sales amount is “10000 yen”, the processing ID of this processing is “0030”, and the cancellation of the refund is canceled. The cancellation of the refund cancellation can be recognized by the deletion flag being “1”.

(IC定期券の発行状態)
例えば、カードID「5001」を有するレコードが、売上レコードとしてしか存在しない場合は、必ずその払戻済フラグは「0」である。この場合は、最も多い場合であり、発売の後、払戻が発生していない。すなわち、IC定期券は発行状態である。
また、カードID「5001」を有するレコードが、売上レコードと払戻レコードとして存在し、かつ、元カードID「5001」を有する払戻取消レコードが存在しない場合は、売上レコードの払戻済フラグは「1」であり、払戻レコードの払戻済フラグは「0」である。この場合は、発売の後、払戻が発生している。すなわちIC定期券は回収(廃券処理済)状態である。
(IC commuter pass issuance status)
For example, when a record having the card ID “5001” exists only as a sales record, the refunded flag is always “0”. This is the most frequent case and no refund has occurred after the release. That is, the IC commuter pass is in the issued state.
When a record having the card ID “5001” exists as a sales record and a refund record, and there is no refund cancellation record having the original card ID “5001”, the refunded flag of the sales record is “1”. The refunded flag of the refund record is “0”. In this case, a refund has occurred after the release. In other words, the IC commuter pass is in a collected (sold ticket processed) state.

更に、カードID「5001」を有するレコードが、売上レコードと払戻レコードとして存在し、かつ、元カードID「5001」を有する払戻取消レコードも存在する場合は、2つのパターンに分かれる。
第一のパターンは、売上レコードの払戻済フラグが「0」であり、払戻レコードの払戻済フラグが「3」であり、払戻取消レコードの削除フラグが「0」であるパターンである。このパターンでは、発売の後、払戻が発生し、更にその後、払戻取消が発生している。すなわち、IC定期券は発行状態である。
第二のパターンは、売上レコードの払戻済フラグが「1」であり、払戻レコードの払戻済フラグが「0」であり、払戻取消レコードの削除フラグが「1」であるパターンである。このパターンでは、発売の後、払戻が発生し、その後、払戻取消が発生し、更にその後、払戻取消の取消が発生している。すなわち、IC定期券は回収(廃券処理済)状態である。図4のレコード119、120、121の状態は、この第二のパターンに相当する。
Furthermore, when a record having a card ID “5001” exists as a sales record and a refund record, and there is also a refund cancellation record having an original card ID “5001”, there are two patterns.
The first pattern is a pattern in which the refunded flag of the sales record is “0”, the refunded flag of the refunded record is “3”, and the deletion flag of the refunded cancellation record is “0”. In this pattern, after the release, a refund occurs, and after that, a refund cancellation occurs. That is, the IC commuter pass is in the issued state.
The second pattern is a pattern in which the refunded flag of the sales record is “1”, the refunded flag of the refunded record is “0”, and the deletion flag of the refunded cancellation record is “1”. In this pattern, after the release, a refund occurs, after that, a refund cancellation occurs, and after that, a refund cancellation cancels. That is, the IC commuter pass is in a collected (spent ticket processed) state. The states of the records 119, 120, and 121 in FIG. 4 correspond to this second pattern.

(売上レコード、払戻レコードの残存)
従来、IC定期券の払戻があった場合は、駅システムは、本実施形態の売上レコードに相当する情報を削除(消去)していた。そのため、前記したように、払戻取消が発生し、新たな媒体に記憶・印字する情報を、改めて駅システムに手動入力する必要があった。本実施形態では、払戻の際、売上レコードを削除せずに残しておく。
さらに、従来、IC定期券の払戻が発生し、その処理が終了した場合、本実施形態の払戻レコードに相当する情報を削除(消去)していた。そのため、前記したように、その後、払戻取消が発生した場合、カード会社サーバ4に対して送信する払戻金額(払戻の結果として利用者の銀行口座に入金される払戻金額を相殺するために、同額を同口座から引き落とす通知をする)を駅システムに手動入力する必要があった。本実施形態では、払戻後も、払戻レコードを削除せずに残しておく。
(Remaining sales and refund records)
Conventionally, when an IC commuter pass is refunded, the station system has deleted (erased) information corresponding to the sales record of this embodiment. For this reason, as described above, refund cancellation occurred, and it was necessary to manually input information to be stored / printed on a new medium to the station system again. In this embodiment, at the time of refund, the sales record is left without being deleted.
Further, conventionally, when the IC commuter pass is refunded and the processing is completed, the information corresponding to the refund record of the present embodiment is deleted (erased). Therefore, as described above, if a refund cancellation occurs thereafter, the refund amount transmitted to the card company server 4 (the same amount is offset to offset the refund amount deposited in the user's bank account as a result of the refund). Need to be manually entered into the station system. In the present embodiment, the payout record is left without being deleted even after the payout.

(フラグの機能)
各フラグは、前記のように、IC定期券の発行状態を明らかにするだけでなく、後記するように検索キーとして使用されることによって、検索速度を上げることにも資する。
さらに、クレジットサーバ3の負担削減のために、例えば、払戻があった売上レコードや、払戻レコードだけを分別してクレジットサーバ3外に格納する際等、その分別を確実に行うことにも資する。
(Flag function)
As described above, each flag not only makes the IC commuter pass issuance state clear, but also contributes to an increase in search speed by being used as a search key as will be described later.
Furthermore, in order to reduce the burden on the credit server 3, for example, when the sales record that has been paid back or only the payout record is sorted and stored outside the credit server 3, the sorting is surely performed.

以降、処理手順を説明する。処理手順には、(1)発売処理手順、(2)払戻処理手順、(3)払戻取消処理手順及び(4)払戻取消の取消処理手順がある。(2)は(1)が終了していることを前提としている。(3)は(2)が終了していることを前提としている。(4)は(3)が終了していることを前提としている。
なお、「第1の処理」、「第2の処理」、「第3の処理」及び「第4の処理」には、それぞれ、発売処理、払戻処理、払戻取消処理及び払戻取消の取消処理が相当する。
Hereinafter, the processing procedure will be described. The processing procedure includes (1) release processing procedure, (2) refund processing procedure, (3) refund cancellation processing procedure, and (4) cancellation processing cancellation processing procedure. (2) assumes that (1) has been completed. (3) assumes that (2) has been completed. (4) assumes that (3) has been completed.
The “first process”, “second process”, “third process”, and “fourth process” include a release process, a refund process, a refund cancellation process, and a refund cancellation process, respectively. Equivalent to.

(発売処理手順)
図5は、本実施形態に係る発売処理手順のフローチャートである。
図6は、本実施形態に係る発売処理手順の説明のために売上情報データベース等を示す図である。以降では、図5に沿って、適宜図6を参照しながら発売処理手順を説明する。
(Release processing procedure)
FIG. 5 is a flowchart of the sales process procedure according to the present embodiment.
FIG. 6 is a diagram showing a sales information database and the like for explaining the sale processing procedure according to the present embodiment. Hereinafter, the sales process procedure will be described with reference to FIG.

ステップS301において、駅務端末装置2のIC定期券処理部19は、IC定期券7の必要情報の入力を受け付ける。
具体的には、IC定期券処理部19は、利用者又は駅員がキーボード15を介して入力した、乗車駅の名称、降車駅の名称、及び経由駅の名称を受け付ける。
In step S <b> 301, the IC commuter pass processing unit 19 of the station service terminal device 2 accepts input of necessary information of the IC commuter pass 7.
Specifically, the IC commuter pass processing unit 19 receives the name of the boarding station, the name of the disembarking station, and the name of the transit station, which are input by the user or the station staff via the keyboard 15.

ステップS302において、IC定期券処理部19は、クレジットIDを読取る。
具体的には、IC定期券処理部19は、クレジットカードリーダ18を介して、利用者が提示するクレジットカード6のクレジットIDを読取る。
In step S302, the IC commuter pass processing unit 19 reads the credit ID.
Specifically, the IC commuter pass processing unit 19 reads the credit ID of the credit card 6 presented by the user via the credit card reader 18.

ステップS303において、IC定期券処理部19は、クレジットサーバ3に対して、IC定期券7の発売要求を送信する。
具体的には、IC定期券処理部19は、第一に、欄が空白の発売要求31(図6(a))を作成する。
第二に、処理IDとカードIDを採番する。
第三に、所定の方法によって、売上金額を計算する。
第四に、ステップS301において受け付けた乗車駅の名称、降車駅の名称及び経由駅の名称を発売要求31の乗車駅欄137、降車駅欄138及び経由欄139にそれぞれ記憶し、ステップS302において読取ったクレジットIDを、発売要求31のクレジットID欄135に記憶し、「第二」において採番した処理ID及びカードIDを発売要求31の処理ID欄133及びカードID欄134にそれぞれ記憶し、「第三」において計算した売上金額を発売要求31の売上金額欄136に記憶し、売上日(当日の日付)及び端末IDを発売要求の売上日欄131及び端末ID欄132に記憶し、発売要求31を完成させる。
第五に、クレジットサーバ3に対して、発売要求31を送信する。
ここで送信される発売要求31は、図6(a)の通りである。「第1の要求」には発売要求31が相当する。
In step S <b> 303, the IC commuter pass processing unit 19 transmits a release request for the IC commuter pass 7 to the credit server 3.
Specifically, the IC commuter pass processing unit 19 first creates a sale request 31 (FIG. 6A) with a blank column.
Second, the process ID and card ID are numbered.
Third, the sales amount is calculated by a predetermined method.
Fourth, the name of the boarding station, the name of the boarding station, and the name of the transit station received in step S301 are stored in the boarding station column 137, the boarding station column 138, and the transit column 139 of the release request 31, respectively, and read in step S302. Are stored in the credit ID column 135 of the sale request 31, and the process ID and card ID numbered in the “second” are stored in the process ID column 133 and the card ID column 134 of the sale request 31, respectively. The sales amount calculated in “third” is stored in the sales amount column 136 of the release request 31, and the sales date (date of the day) and the terminal ID are stored in the sales date column 131 and the terminal ID column 132 of the release request, and the release request is stored. Complete 31.
Fifth, a sale request 31 is transmitted to the credit server 3.
The sale request 31 transmitted here is as shown in FIG. The “first request” corresponds to the sale request 31.

ステップS304において、クレジットサーバ3のクレジット売上管理部27は、カード会社サーバ4に売上金額等を送信する。
具体的には、クレジット売上管理部27は、第一に、発売要求31を受信する。
第二に、発売要求31の情報のうち、売上日、クレジットID及び売上金額をカード会社サーバ4に送信する。「第1の口座引落通知」には、この送信が相当する。
第三に、カード会社サーバ4から、発売承諾を受け取る。カード会社サーバ4は、クレジットIDに係る利用者の信用状況を任意の方法で調査し、当該利用者に対し売上金額分の与信を行うと判断した場合、発売承諾をクレジットサーバ3に送信するものとする(図示せず)。
ちなみに、図示しないが、カード会社サーバ4は、所定のルールにしたがって、売上金額を鉄道事業者に支払う一方、所定の期日にクレジットIDに係る利用者の銀行口座から、売上金額を引き落とす。
In step S <b> 304, the credit sales management unit 27 of the credit server 3 transmits the sales amount and the like to the card company server 4.
Specifically, the credit sales management unit 27 first receives the release request 31.
Secondly, the sales date, the credit ID, and the sales amount in the information of the sale request 31 are transmitted to the card company server 4. This transmission corresponds to the “first account withdrawal notification”.
Third, a release consent is received from the card company server 4. The card company server 4 investigates the credit status of the user related to the credit ID by an arbitrary method, and when it is determined that the user will be credited for the sales amount, the card company server 4 sends a release approval to the credit server 3. (Not shown).
Incidentally, although not shown, the card company server 4 pays the sales amount to the railway operator according to a predetermined rule, and withdraws the sales amount from the bank account of the user related to the credit ID on a predetermined date.

ステップS305において、クレジット売上管理部27は、売上レコードを作成する。
具体的には、クレジット売上管理部27は、第一に、新たな売上レコードを作成し、ステップS304において受信した発売要求31の売上日、端末ID、処理ID、カードID、クレジットID、売上金額、乗車駅の名称、降車駅の名称及び経由駅の名称を、作成した売上レコードの、処理日欄101、端末ID欄102、処理ID欄103、カードID欄104、クレジットID欄105、売上金額欄109、乗車駅欄110、降車駅欄111及び経由欄112に、それぞれ記憶する。
第二に、作成した売上レコードの業務区分欄106に「1」を、削除フラグ欄107に「0」を、払戻済フラグ欄108に「0」を記憶する。
In step S305, the credit sales management unit 27 creates a sales record.
Specifically, the credit sales management unit 27 first creates a new sales record, and the sales date, terminal ID, processing ID, card ID, credit ID, sales amount of the sales request 31 received in step S304. The name of the boarding station, the name of the getting-off station, and the name of the transit station, the processing date column 101, the terminal ID column 102, the processing ID column 103, the card ID column 104, the credit ID column 105, the sales amount of the created sales record The data are stored in the column 109, the boarding station column 110, the getting-off station column 111, and the transit column 112, respectively.
Second, “1” is stored in the business category column 106 of the created sales record, “0” is stored in the deletion flag column 107, and “0” is stored in the refunded flag column 108.

ステップS306において、クレジット売上管理部27は、駅務端末装置2に対して、IC定期券7の発売指示を送信する。「第1の指示」には、この発売指示が相当する。ステップS306が終了した時点で、売上情報データベース30の売上レコードは、図6(b)の状態になっている。   In step S <b> 306, the credit sales management unit 27 transmits a sale instruction for the IC commuter pass 7 to the station service terminal device 2. This “first instruction” corresponds to this release instruction. When step S306 is completed, the sales record in the sales information database 30 is in the state shown in FIG.

ステップS307において、駅務端末装置2のIC定期券処理部19は、IC定期券を発行する。
具体的には、IC定期券処理部19は、第一に、IC定期券7そのもの(媒体)のICチップに対し、ICカードリーダライタ17を介して、発売要求31の売上日、端末ID、カードID、売上金額、乗車駅の名称、降車駅の名称及び経由駅の名称を記憶する。
第二に、媒体の表面にICカードリーダライタ17を介して、発売要求31の売上日(「○月○日から」のように印字される)、カードID、売上金額、乗車駅の名称、降車駅の名称及び経由駅の名称を印字する。
IC定期券の有効期限(図1では「20.6.24」)についても、IC定期券に記憶され、表示される。しかし、これらの情報は、本発明の処理内容に直接関係しないので記載を省略する。
第三に、クレジット明細を出力する。
ここで、発売処理手順は終了する。
In step S307, the IC commuter pass processing unit 19 of the station service terminal device 2 issues an IC commuter pass.
Specifically, the IC commuter pass processing unit 19 firstly, for the IC chip of the IC commuter pass 7 itself (medium) via the IC card reader / writer 17, the sales date, terminal ID, The card ID, the sales amount, the name of the boarding station, the name of the getting-off station, and the name of the transit station are stored.
Secondly, the sales date of the release request 31 (printed as “from XX month and day”), the card ID, the sales amount, the name of the boarding station, via the IC card reader / writer 17 on the surface of the medium, The name of the exit station and the name of the transit station are printed.
The expiration date of the IC commuter pass (“20.6.24” in FIG. 1) is also stored in the IC commuter pass and displayed. However, since these pieces of information are not directly related to the processing contents of the present invention, the description is omitted.
Third, a credit statement is output.
Here, the sales process procedure ends.

(払戻処理手順)
図7は、本実施形態に係る払戻処理手順のフローチャートである。
図8は、本実施形態に係る払戻処理手順の説明のために売上情報データベース等を示す図である。以降では、図7に沿って、適宜図8を参照しながら払戻処理手順を説明する。
(Refund processing procedure)
FIG. 7 is a flowchart of a refund processing procedure according to the present embodiment.
FIG. 8 is a diagram showing a sales information database and the like for explaining the refund processing procedure according to the present embodiment. Hereinafter, the refund processing procedure will be described along FIG. 7 with reference to FIG. 8 as appropriate.

ステップS321において、駅務端末装置2のIC定期券処理部19は、IC定期券7の情報を読取る。
具体的には、IC定期券処理部19は、ICカードリーダライタ17を介して、利用者が提示するIC定期券7の、売上日、端末ID、カードID及び売上金額を読取る。
In step S321, the IC commuter pass processing unit 19 of the station service terminal device 2 reads the information of the IC commuter pass 7.
Specifically, the IC commuter pass processing unit 19 reads the sales date, terminal ID, card ID, and sales amount of the IC commuter pass 7 presented by the user via the IC card reader / writer 17.

ステップS322において、IC定期券処理部19は、クレジットIDを読取る。
具体的には、IC定期券処理部19は、クレジットカードリーダ18を介して、利用者が提示するクレジットカード6のクレジットIDを読取る。
In step S322, the IC commuter pass processing unit 19 reads the credit ID.
Specifically, the IC commuter pass processing unit 19 reads the credit ID of the credit card 6 presented by the user via the credit card reader 18.

ステップS323において、IC定期券処理部19は、払戻金額を算出する。
具体的には、IC定期券処理部19は、ステップS321にて読取った、売上金額、売上日、及び別途入力される有効期限に基づいて、日割り計算をすることにより払戻金額を算出する。
In step S323, the IC commuter pass processing unit 19 calculates a refund amount.
Specifically, the IC commuter pass processing unit 19 calculates a refund amount by performing a daily calculation based on the sales amount, the sales date, and the expiration date separately input read in step S321.

ステップS324において、IC定期券処理部19は、IC定期券の払戻要求32を作成する。
具体的には、IC定期券処理部19は、第一に、欄が空白の払戻要求32(図8(a))を作成する。
第二に、処理IDを採番する。
第三に、ステップS321において読取った、売上日、端末ID、カードID、及び売上金額を、払戻要求32の元処理日欄147、元売上端末ID欄148、元カードID欄149、及び元売上金額欄150に、それぞれ記憶する。カードIDは、カードID欄144にも記憶する。
第四に、ステップS322において読取ったクレジットID及びステップS323において算出した払戻金額を払戻要求32のクレジットID欄145及び払戻金額欄146にそれぞれ記憶する。
第五に、払戻日、端末ID、及び「第二」において採番した処理IDを、払戻要求32の払戻日欄141、端末ID欄142及び処理ID欄143にそれぞれ記憶する。
「第2の要求」には、払戻要求32が相当する。
In step S324, the IC commuter pass processing unit 19 creates an IC commuter pass refund request 32.
Specifically, the IC commuter pass processing unit 19 first creates a refund request 32 (FIG. 8A) with a blank column.
Second, a processing ID is assigned.
Third, the sales date, terminal ID, card ID, and sales amount read in step S321 are the original processing date column 147, original sales terminal ID column 148, original card ID column 149, and original sales of the refund request 32. Each is stored in the amount column 150. The card ID is also stored in the card ID column 144.
Fourth, the credit ID read in step S322 and the refund amount calculated in step S323 are stored in the credit ID column 145 and the refund amount column 146 of the refund request 32, respectively.
Fifth, the refund date, the terminal ID, and the process ID assigned in the “second” are stored in the refund date column 141, the terminal ID column 142, and the process ID column 143 of the refund request 32, respectively.
A refund request 32 corresponds to the “second request”.

ステップS325において、IC定期券処理部19は、クレジットサーバ3に対して、IC定期券の払戻要求32を送信する(図8(a)参照)。   In step S325, the IC commuter pass processing unit 19 transmits an IC commuter pass refund request 32 to the credit server 3 (see FIG. 8A).

ステップS326において、クレジットサーバ3のクレジット払戻管理部28は、売上レコードを検索する。
具体的には、クレジット払戻管理部28は、第一に、払戻要求32を受信する。
第二に、払戻要求32の、クレジットID、元処理日、元売上端末ID、元カードID、元売上金額、及び業務区分「1」を検索キーとして、売上情報データベース30を検索する。
このとき、該当する売上レコードが発見できない場合は、その旨駅務端末装置2に対して通知して払戻処理手順を終了する(図示せず)。この例では、発見できたものとして説明を続ける。
In step S326, the credit withdrawal management unit 28 of the credit server 3 searches for a sales record.
Specifically, the credit withdrawal management unit 28 first receives the withdrawal request 32.
Second, the sales information database 30 is searched using the credit ID, the original processing date, the original sales terminal ID, the original card ID, the original sales amount, and the business category “1” of the refund request 32 as search keys.
At this time, if a corresponding sales record cannot be found, the station service terminal device 2 is notified to that effect and the refund processing procedure is terminated (not shown). In this example, the description is continued assuming that it has been found.

ステップS327において、クレジット払戻管理部28は、媒体継続使用希望があるか否かを判断する。
具体的には、クレジット払戻管理部28は、定期券部分なしのプリペイドカードとして引き続き媒体を使用することを利用者が希望しているか否かを駅務端末装置2に問合せ、その回答が「NO」である場合(ステップS327“NO”)は、駅務端末装置2に対して、デポジット及びSF残額を現金で払い戻すように指示し(ステップS328)、その後ステップS329へ進む。それ以外の場合(ステップS327“YES”)は、直ちにステップS329に進む。なお、駅務端末装置2は、利用者の希望の有無を予め登録しておくものとする。
In step S327, the credit withdrawal management unit 28 determines whether there is a desire to continue using the medium.
Specifically, the credit refund management unit 28 inquires to the station service terminal device 2 whether or not the user desires to continue using the medium as a prepaid card without a commuter pass portion. ”(Step S327“ NO ”), the station service terminal device 2 is instructed to pay back the deposit and SF balance in cash (step S328), and then the process proceeds to step S329. In other cases (step S327 “YES”), the process immediately proceeds to step S329. Note that the station service terminal device 2 registers in advance whether or not the user desires.

ステップS329において、クレジット払戻管理部28は、カード会社サーバ4に払戻金額等を送信する。
具体的には、クレジット払戻管理部28は、第一に、払戻要求32の情報のうち、払戻日、クレジットID及び払戻金額(図8(b))を、カード会社サーバ4に送信する。「口座払戻通知」には、この送信が相当する。
第二に、カード会社サーバ4から、払戻承諾を受け取る。カード会社サーバ4は、クレジットIDに係る利用者の銀行口座が存在すること等を確認し、払戻承諾をクレジットサーバ3に送信するものとする(図示せず)。
ちなみに、図示しないが、カード会社サーバ4は、所定のルールにしたがって、払戻金額を鉄道事業者から受領する一方、所定の期日にクレジットIDに係る利用者の銀行口座に対し、払戻金額を入金する。
In step S329, the credit refund management unit 28 transmits the refund amount and the like to the card company server 4.
Specifically, the credit withdrawal management unit 28 first transmits the withdrawal date, the credit ID, and the withdrawal amount (FIG. 8B) of the information of the withdrawal request 32 to the card company server 4. This transmission corresponds to the “account refund notification”.
Second, a refund consent is received from the card company server 4. The card company server 4 confirms that the bank account of the user related to the credit ID exists, and transmits a refund consent to the credit server 3 (not shown).
Incidentally, although not shown, the card company server 4 receives the refund amount from the railway operator according to the predetermined rule, and deposits the refund amount to the bank account of the user related to the credit ID on the predetermined date. .

ステップS330において、クレジット払戻管理部28は、売上情報データベース30のレコードを作成、更新する。
具体的には、クレジット払戻管理部28は、第一に、ステップS326にて検索した結果である売上レコードの払戻済フラグを「0」から「1」に変更する。
第二に、新たな払戻レコードを作成する。
このとき、払戻要求32の払戻日、端末ID、処理ID、クレジットID、元カードID及び払戻金額を、新たな払戻レコードの処理日欄101、端末ID欄102、処理ID欄103、クレジットID欄105、カードID欄104及び払戻金額欄113に、それぞれ記憶する。また、ステップS326にて検索した結果である売上レコードの処理日、端末ID、処理ID、カードID及び売上金額を、新たな払戻レコードの元処理日欄114、元端末ID欄115、元処理ID欄116、元カードID欄117及び元売上・払戻金額欄118に、それぞれ記憶する。さらに、新たな払戻レコードの業務区分欄106には「4」を、削除フラグ欄107には「0」を、払戻済フラグ欄108には「0」を記憶する。
この時点で、売上レコード及び払戻レコードは、図8(c)の状態になっている。
In step S330, the credit withdrawal management unit 28 creates and updates a record in the sales information database 30.
Specifically, the credit withdrawal management unit 28 first changes the withdrawal flag of the sales record that is the result of the search in step S326 from “0” to “1”.
Second, create a new refund record.
At this time, the refund date of the refund request 32, the terminal ID, the process ID, the credit ID, the original card ID, and the refund amount are displayed in the process date column 101, the terminal ID column 102, the process ID column 103, and the credit ID column of the new refund record. 105, and stored in the card ID column 104 and the refund amount column 113, respectively. In addition, the processing date, terminal ID, processing ID, card ID, and sales amount of the sales record that is the result of the search in step S326 are changed to the original processing date column 114, the original terminal ID column 115, and the original processing ID of the new refund record. Stored in the column 116, the original card ID column 117, and the original sales / refund amount column 118, respectively. Further, “4” is stored in the work category column 106 of the new refund record, “0” is stored in the deletion flag column 107, and “0” is stored in the refunded flag column 108.
At this point, the sales record and the refund record are in the state shown in FIG.

ステップS331において、クレジット払戻管理部28は、駅務端末装置2に対して、IC定期券7の払戻指示を送信する。「第2の指示」には、この払戻指示が相当する。   In step S <b> 331, the credit withdrawal management unit 28 transmits a withdrawal instruction for the IC commuter pass 7 to the station service terminal device 2. This refund instruction corresponds to the “second instruction”.

ステップS332において、駅務端末装置2のIC定期券処理部19は、IC定期券7の廃券処理を行う。
具体的には、IC定期券処理部19は、第一に、定期券部分なしのプリペイドカードとして引き続き媒体を使用することを利用者が希望している場合は、IC定期券のICチップから定期券に関する情報を削除し、IC定期券7の表面から定期券に関する情報を消去する。
それ以外の場合は、IC定期券7そのもの(媒体)を回収して、不正使用防止のため使用不能とする処理をする。
第二に、クレジット明細を出力する。
ここで、払戻処理手順は終了する。
In step S <b> 332, the IC commuter pass processing unit 19 of the station service terminal device 2 performs waste ticket processing of the IC commuter pass 7.
Specifically, the IC commuter pass processing unit 19 first determines the period from the IC chip of the IC commuter pass if the user wishes to continue using the medium as a prepaid card without a commuter pass portion. The information on the ticket is deleted, and the information on the commuter pass is deleted from the surface of the IC commuter pass 7.
In other cases, the IC commuter pass 7 itself (medium) is collected and processed to make it unusable to prevent unauthorized use.
Second, a credit statement is output.
Here, the refund processing procedure ends.

(払戻取消処理手順)
図9は、本実施形態に係る払戻取消処理手順のフローチャートである。
図10、11は、本実施形態に係る払戻取消処理手順の説明のために売上情報データベース等を示す図である。以降では、図9に沿って、適宜図10、11を参照しながら払戻取消処理手順を説明する。
(Refund cancellation procedure)
FIG. 9 is a flowchart of a withdrawal cancellation processing procedure according to the present embodiment.
FIGS. 10 and 11 are views showing a sales information database and the like for explaining the refund cancellation processing procedure according to the present embodiment. Hereinafter, the refund cancellation processing procedure will be described with reference to FIGS.

前提として、払戻取消は、払戻を行った日と同日かつ、払戻を行った駅務端末装置2と同一の駅務端末装置2によって、処理が開始されるものとする。
ステップS341において、駅務端末装置2のIC定期券処理部19は、クレジットIDを読取る。
具体的には、IC定期券処理部19は、クレジットカードリーダ18を介して、利用者が提示するクレジットカード6のクレジットIDを読取る。
As a premise, processing of refund cancellation is started on the same day as the date of refund and by the station service terminal device 2 that is the same as the station service terminal device 2 that performed the refund.
In step S341, the IC commuter pass processing unit 19 of the station service terminal device 2 reads the credit ID.
Specifically, the IC commuter pass processing unit 19 reads the credit ID of the credit card 6 presented by the user via the credit card reader 18.

ステップS342において、IC定期券処理部19は、必要情報の入力を受け付ける。
具体的には、IC定期券処理部19は、利用者又は駅員がキーボード15を介して入力した、払戻日、払戻端末IDを受け付ける。払戻日(払戻を行った日)、払戻端末ID(払戻を行った駅務端末装置2の端末ID)は、クレジット明細によって知ることができる。
In step S342, the IC commuter pass processing unit 19 receives input of necessary information.
Specifically, the IC commuter pass processing unit 19 receives a refund date and a refund terminal ID input by the user or station staff via the keyboard 15. The refund date (the date on which the refund was made) and the refund terminal ID (the terminal ID of the station service terminal device 2 that made the refund) can be known from the credit details.

ステップS343において、IC定期券処理部19は、IC定期券の払戻取消要求33を作成する。
具体的には、IC定期券処理部19は、第一に、欄が空白の払戻取消要求33(図10(a))を作成する。
第二に、処理IDを採番する。
第三に、ステップS341において読取ったクレジットID、ステップS342において受け付けた払戻日及び払戻端末IDを、払戻取消要求33のクレジットID欄154、払戻日欄151及び払戻端末ID欄152に、それぞれ記憶する。
第四に、「第二」にて採番した処理IDを払戻取消要求33の払戻取消端末処理ID欄153に記憶する。「第3の要求」には、払戻取消要求33が相当する。
In step S343, the IC commuter pass processing unit 19 creates an IC commuter pass refund cancellation request 33.
Specifically, the IC commuter pass processing unit 19 first creates a refund cancellation request 33 (FIG. 10A) with a blank column.
Second, a processing ID is assigned.
Third, the credit ID read in step S341 and the refund date and refund terminal ID received in step S342 are stored in the credit ID column 154, the refund date column 151, and the refund terminal ID column 152 of the refund cancellation request 33, respectively. .
Fourth, the process ID numbered in “second” is stored in the refund cancellation terminal process ID column 153 of the refund cancellation request 33. The “third request” corresponds to a refund cancellation request 33.

ステップS344において、IC定期券処理部19は、クレジットサーバ3に対して、IC定期券の払戻取消要求33を送信する。   In step S344, the IC commuter pass processing unit 19 transmits an IC commuter pass refund cancellation request 33 to the credit server 3.

ステップS345において、クレジットサーバ3のクレジット払戻取消管理部29は、払戻レコードを検索する。
具体的には、クレジット払戻取消管理部29は、第一に、払戻取消要求33を受信する。
第二に、払戻取消要求33の払戻日、払戻端末ID、クレジットID及び業務区分「4」を検索キーとして、売上情報データベース30を検索する。該当する払戻レコードが、図10(b)の通りであったとする。
このとき、該当払戻レコードが発見できない場合は、その旨駅務端末装置2に対して通知して払戻取消処理手順を終了する(図示せず)。この例では、発見できたものとして説明を続ける。
In step S345, the credit refund cancellation management unit 29 of the credit server 3 searches for a refund record.
Specifically, the credit refund cancellation management unit 29 first receives the refund cancellation request 33.
Second, the sales information database 30 is searched using the refund date, the refund terminal ID, the credit ID, and the business category “4” of the refund cancellation request 33 as search keys. Assume that the corresponding payout record is as shown in FIG.
At this time, if a corresponding refund record cannot be found, the station service terminal device 2 is notified to that effect and the refund cancellation processing procedure is terminated (not shown). In this example, the description is continued assuming that it has been found.

ステップS346において、クレジット払戻取消管理部29は、払戻時の媒体回収があったか否かを判断する。
具体的には、クレジット払戻取消管理部29は、払戻時に媒体の回収があったか否かを駅務端末装置2に問合せ、その回答が「YES」である場合(ステップS346“YES”)は、駅務端末装置2に対して、デポジット及びSF残額を現金で受領するように指示し(ステップS347)、その後ステップS348へ進む。それ以外の場合(ステップS346“NO”)は、直ちにステップS348に進む。なお、駅務端末装置2は、回収の有無を予め登録しておくものとする。
In step S346, the credit refund cancellation management unit 29 determines whether the medium has been collected at the time of refund.
Specifically, the credit refund cancellation management unit 29 inquires of the station service terminal device 2 whether or not the medium has been collected at the time of the refund, and when the answer is “YES” (step S346 “YES”), The service terminal device 2 is instructed to receive the deposit and SF balance in cash (step S347), and then the process proceeds to step S348. In other cases (step S346 “NO”), the process immediately proceeds to step S348. In addition, the station service terminal device 2 shall register the presence or absence of collection | recovery beforehand.

ステップS348において、クレジット払戻取消管理部29は、カード会社サーバ4に売上金額等を送信する。
具体的には、クレジット払戻取消管理部29は、第一に、ステップS345にて検索の結果該当した払戻レコードの情報のうち、処理日、クレジットID、及び払戻金額(カード会社サーバ4に送信する情報としては「売上金額」)を、カード会社サーバ4に送信する(図10(c))。「第2の口座引落通知」には、この送信が相当する。
第二に、カード会社サーバ4から、払戻取消承諾を受け取る。カード会社サーバ4は、クレジットIDに係る利用者の信用状況を任意の方法で調査し、当該顧客に対し払戻金額分の与信を行うと判断した場合、払戻取消承諾をクレジットサーバ3に送信するものとする(図示せず)。
ちなみに、図示しないが、カード会社サーバ4は、所定のルールにしたがって、払戻金額を鉄道事業者に支払う一方、所定の期日にクレジットIDに係る利用者の銀行口座から、払戻金額を引き落とす。これらの処理は、ステップS329に記載した、カード会社サーバ4が行った処理を相殺する処理である。
In step S348, the credit refund cancellation management unit 29 transmits the sales amount and the like to the card company server 4.
Specifically, the credit refund cancellation management unit 29 first transmits the processing date, the credit ID, and the refund amount (information to the card company server 4) in the information of the refund record corresponding to the search result in step S345. Information “sales amount”) is transmitted to the card company server 4 (FIG. 10C). This transmission corresponds to the “second account withdrawal notification”.
Second, a refund cancellation consent is received from the card company server 4. The card company server 4 investigates the credit status of the user related to the credit ID by an arbitrary method, and when it is determined that the customer will be credited for the refund amount, the credit company server 4 sends a refund cancellation consent to the credit server 3. (Not shown).
Incidentally, although not shown, the card company server 4 pays the refund amount to the railway operator according to a predetermined rule, and withdraws the refund amount from the bank account of the user related to the credit ID on a predetermined date. These processes are processes that cancel the process performed by the card company server 4 described in step S329.

ステップS349において、クレジット払戻取消管理部29は、売上レコードを検索する。
具体的には、クレジット払戻取消管理部29は、業務区分「1」、払戻済フラグ「1」、ステップS345にて検索の結果該当した払戻レコードの元処理日、元端末ID、元処理ID、元カードID及び元売上・払戻金額を検索キーとして売上情報データベース30を検索する。該当する売上レコードが、図11(a)の1行目のレコードであったとする(払戻済フラグはこの時点では「1」である)。
In step S349, the credit refund cancellation management unit 29 searches for a sales record.
Specifically, the credit refund cancellation management unit 29 sets the business classification “1”, the refunded flag “1”, the original processing date, the original terminal ID, the original processing ID, and the original processing date of the corresponding refund record as a result of the search in step S345. The sales information database 30 is searched using the original card ID and the original sales / refund amount as search keys. Assume that the corresponding sales record is the record in the first row of FIG. 11A (the refunded flag is “1” at this time).

ステップS350において、クレジット払戻取消管理部29は、売上情報データベース30のレコードを作成、更新する。
具体的には、クレジット払戻取消管理部29は、第一に、ステップS349にて検索した結果である売上レコードの払戻済フラグを「1」から「0」に変更する。
第二に、ステップS345にて検索した結果である払戻レコードの払戻済フラグを「0」から「3」に変更する。
第三に、新たな払戻取消レコードを作成する(図11(a)の3行目参照)。
このとき、払戻取消要求33の払戻日、払戻端末ID、払戻取消端末処理ID、及びクレジットIDを、処理日欄101、端末ID欄102、処理ID欄103、及びクレジットID欄105にそれぞれ記憶する。また、カードIDを採番し、カードID欄104に記憶する。ステップS345において検索した結果である払戻レコードの処理日、端末ID、処理ID、カードIDを、元処理日欄114、元端末ID欄115、元処理ID欄116、元カードID欄117にそれぞれ記憶する。更に、ステップS345において検索した結果である払戻レコードの払戻金額を、売上金額欄109と元売上・払戻金額欄118の両方に記憶する。「1」を業務区分欄106に、「0」を削除フラグ欄107に、「4」を払戻済フラグ欄108に記憶する。
この時点で、売上レコード、払戻レコード及び払戻取消レコードは、図11(a)の状態になっている。
In step S350, the credit refund cancellation management unit 29 creates and updates a record in the sales information database 30.
Specifically, the credit refund cancellation management unit 29 first changes the refunded flag of the sales record that is the result of the search in step S349 from “1” to “0”.
Second, the refunded flag of the refund record that is the result of the search in step S345 is changed from “0” to “3”.
Third, a new withdrawal cancellation record is created (see the third line in FIG. 11A).
At this time, the withdrawal date, withdrawal terminal ID, withdrawal cancellation terminal processing ID, and credit ID of the withdrawal cancellation request 33 are stored in the processing date column 101, the terminal ID column 102, the processing ID column 103, and the credit ID column 105, respectively. . Also, the card ID is numbered and stored in the card ID column 104. The processing date, terminal ID, processing ID, and card ID of the refund record that is the result of the search in step S345 are stored in the original processing date column 114, the original terminal ID column 115, the original processing ID column 116, and the original card ID column 117, respectively. To do. Further, the refund amount of the refund record as a result of the search in step S345 is stored in both the sales amount column 109 and the original sales / refund amount column 118. “1” is stored in the work category column 106, “0” is stored in the deletion flag column 107, and “4” is stored in the refunded flag column 108.
At this time, the sales record, the refund record, and the refund cancellation record are in the state of FIG.

ステップS351において、クレジット払戻取消管理部29は、駅務端末装置2に対して、IC定期券の払戻取消指示34を送信する。
具体的には、クレジット払戻取消管理部29は、第一に、欄が空白の払戻取消指示34(図11(b))を作成する。
第二に、ステップS349にて検索した結果である売上レコードの処理日、端末ID、カードID、クレジットID、売上金額、乗車駅の名称、降車駅の名称及び経由駅の名称を、払戻取消指示34の売上日欄161、売上端末ID欄163、売上時カードID欄165、クレジットID欄167、売上金額欄168、乗車駅欄170、降車駅欄171及び経由欄172にそれぞれ記憶する。ステップS345にて検索した結果である払戻レコードの処理日、端末ID及び払戻金額を、払戻取消指示34の払戻取消日欄162、払戻取消端末ID欄164及び払戻金額欄169にそれぞれ記憶する。ステップS350にて作成した払戻取消レコードのカードIDを、払戻取消指示34の払戻取消時カードID欄166に記憶する。
第三に、払戻取消指示34を駅務端末装置2に対して送信する。
「第3の指示」には、払戻取消指示34が相当する。
In step S <b> 351, the credit refund cancellation management unit 29 transmits an IC commuter pass refund cancellation instruction 34 to the station service terminal device 2.
Specifically, the credit refund cancellation management unit 29 first creates a refund cancellation instruction 34 (FIG. 11B) with a blank column.
Secondly, the processing date of the sales record, the terminal ID, the card ID, the credit ID, the sales amount, the name of the boarding station, the name of the getting-off station, and the name of the transit station as a result of the search in step S349 34 sales date column 161, sales terminal ID column 163, sales time card ID column 165, credit ID column 167, sales amount column 168, boarding station column 170, alighting station column 171 and via column 172. The processing date, the terminal ID, and the refund amount of the refund record as a result of the search in step S345 are stored in the refund cancellation date column 162, the refund cancellation terminal ID column 164, and the refund amount column 169 of the refund cancellation instruction 34, respectively. The card ID of the withdrawal cancellation record created in step S350 is stored in the withdrawal cancellation card ID column 166 of the withdrawal cancellation instruction 34.
Third, a refund cancellation instruction 34 is transmitted to the station service terminal device 2.
The “third instruction” corresponds to a refund cancellation instruction 34.

ステップS352において、駅務端末装置2のIC定期券処理部19は、IC定期券7を発行する。
具体的には、IC定期券処理部19は、第一に、新たなIC定期券7そのもの(媒体)のICチップに対し、ICカードリーダライタ17を介して、払戻取消指示34の売上日、払戻取消日、売上端末ID、払戻取消端末ID、売上時カードID、払戻取消時カードID、売上金額、払戻金額、乗車駅の名称、降車駅の名称及び経由駅の名称を記憶する。
第二に、媒体の表面にICカードリーダライタ17を介して、払戻取消指示34の売上日(○月○日からのように印字される)、払戻取消時カードID、売上金額、乗車駅の名称、降車駅の名称及び経由駅の名称を印字する。
IC定期券7の有効期限(図1では「20.6.24」)についても、IC定期券に記憶され、表示される。
第三に、クレジット明細を出力する。
ここで、払戻取消処理手順は終了する。
In step S <b> 352, the IC commuter pass processing unit 19 of the station service terminal device 2 issues the IC commuter pass 7.
Specifically, the IC commuter pass processing unit 19 firstly applies the IC card reader / writer 17 to the sales date of the refund cancellation instruction 34 for the IC chip of the new IC commuter pass 7 itself (medium), Refund cancellation date, sales terminal ID, refund cancellation terminal ID, sales card ID, refund cancellation card ID, sales amount, refund amount, boarding station name, exit station name, and transit station name are stored.
Secondly, the sales date of the refund cancellation instruction 34 is printed on the surface of the medium via the IC card reader / writer 17, the card ID at the time of cancellation cancellation, the sales amount, The name, the name of the exit station, and the name of the transit station are printed.
The expiration date of the IC commuter pass 7 (“20.6.24” in FIG. 1) is also stored and displayed in the IC commuter pass.
Third, a credit statement is output.
Here, the refund cancellation processing procedure ends.

(払戻取消の取消処理手順)
図12は、本実施形態に係る払戻取消の取消処理手順のフローチャートである。
図13は、本実施形態に係る払戻取消の取消処理手順の説明のために売上情報データベース等を示す図である。以降では、図12に沿って、適宜図13を参照しながら払戻取消の取消処理手順を説明する。
(Reversal cancellation cancellation procedure)
FIG. 12 is a flowchart of a cancellation processing procedure for withdrawal cancellation according to the present embodiment.
FIG. 13 is a view showing a sales information database and the like for explaining the cancellation processing procedure of the refund cancellation according to the present embodiment. Hereinafter, with reference to FIG. 12, the refund cancellation process procedure will be described with reference to FIG. 13 as appropriate.

前提として、払戻取消の取消は、払戻取消を行った日と同日かつ、払戻取消を行った駅務端末装置2と同一の駅務端末装置2によって、処理が開始されるものとする。
ステップS361において、駅務端末装置2のIC定期券処理部19は、IC定期券7の情報を読取る。
具体的には、IC定期券処理部19は、ICカードリーダライタ17を介して、利用者が提示するIC定期券7の、払戻取消日、払戻取消端末ID、払戻取消時カードID、及び払戻金額を読取る。
As a premise, the processing for the cancellation of the refund cancellation is started by the same station service terminal device 2 as the station service terminal device 2 on which the refund cancellation is performed on the same day as the date of the cancellation of the refund.
In step S361, the IC commuter pass processing unit 19 of the station service terminal device 2 reads the information of the IC commuter pass 7.
Specifically, the IC commuter pass processing unit 19 uses the IC card reader / writer 17 to issue a refund cancellation date, a refund cancellation terminal ID, a refund cancellation card ID, and a refund amount of the IC commuter pass 7 presented by the user. Read the forehead.

ステップS362において、IC定期券処理部19は、クレジットIDを読取る。
具体的には、IC定期券処理部19は、クレジットカードリーダ18を介して、利用者が提示するクレジットカード6のクレジットIDを読取る。
In step S362, the IC commuter pass processing unit 19 reads the credit ID.
Specifically, the IC commuter pass processing unit 19 reads the credit ID of the credit card 6 presented by the user via the credit card reader 18.

ステップS363において、IC定期券処理部19は、IC定期券の払戻取消の取消要求35を作成する。
具体的には、IC定期券処理部19は、第一に、欄が空白の払戻取消の取消要求35(図13(a))を作成する。
第二に、処理IDを採番する。
第三に、ステップS361において記憶した払戻取消日、払戻取消端末ID、払戻取消時カードID、払戻金額、ステップS362において記憶したクレジットID、「第二」にて取得した処理IDを、払戻取消の取消要求35の、払戻取消日欄181、払戻取消端末ID欄182、払戻取消時カードID欄184、払戻取消金額欄186、クレジットID欄185、払戻取消の取消端末処理ID欄183に、それぞれ記憶する。
「第4の要求」には、払戻取消の取消要求35が相当する。
In step S363, the IC commuter pass processing unit 19 creates an IC commuter pass refund cancellation request 35.
Specifically, the IC commuter pass processing unit 19 first creates a refund cancellation request 35 (FIG. 13A) with a blank column.
Second, a processing ID is assigned.
Third, the refund cancellation date, the refund cancellation terminal ID, the refund cancellation card ID, the refund amount, the credit ID stored in step S362, and the processing ID acquired in “second” are stored in step S361. Stored in the withdrawal request 35, withdrawal cancellation date column 181, withdrawal cancellation terminal ID column 182, withdrawal cancellation card ID column 184, withdrawal withdrawal amount column 186, credit ID column 185, withdrawal cancellation cancellation terminal processing ID column 183, respectively. To do.
The “fourth request” corresponds to a refund cancellation request 35.

ステップS364において、IC定期券処理部19は、クレジットサーバ3に対して、IC定期券の払戻取消の取消要求35を送信する。   In step S364, the IC commuter pass processing unit 19 transmits an IC commuter pass refund cancellation request 35 to the credit server 3.

ステップS365において、クレジットサーバ3のクレジット払戻取消管理部29は、払戻取消レコードを検索する。
具体的には、クレジット払戻取消管理部29は、第一に、払戻取消の取消要求35を受信する。
第二に、払戻取消の取消要求35の、払戻取消日、払戻取消端末ID、払戻取消時カードID、クレジットID、払戻取消金額、及び払戻済フラグ「4」を検索キーとして、売上情報データベース30を検索する。
このとき、該当する払戻取消レコードが発見できない場合は、その旨駅務端末装置2に対して通知して払戻取消の取消処理手順を終了する(図示せず)。この例では、発見できたものとして説明を続ける。
In step S365, the credit refund cancellation management unit 29 of the credit server 3 searches for a refund cancellation record.
Specifically, the credit withdrawal cancellation management unit 29 first receives a withdrawal cancellation request 35.
Second, the sales information database 30 is used with the refund cancellation request 35 of the cancellation request 35 as a search key using the refund cancellation date, refund cancellation terminal ID, refund cancellation card ID, credit ID, refund cancellation amount, and refunded flag “4”. Search for.
At this time, if the corresponding refund cancellation record cannot be found, the station service terminal device 2 is notified to that effect and the cancellation processing procedure for the cancellation is terminated (not shown). In this example, the description is continued assuming that it has been found.

ステップS366において、クレジット払戻取消管理部29は、媒体継続使用希望があるか否かを判断する
具体的には、クレジット払戻取消管理部29は、定期券部分なしのプリペイドカードとして引き続き媒体を使用することを利用者が希望しているか否かを駅務端末装置2に問合せ、その回答が「NO」である場合(ステップS366“NO”)は、駅務端末装置2に対して、デポジット及びSF残額を現金で払い戻すように指示し(ステップS367)、その後ステップS368へ進む。それ以外の場合(ステップS366“YES”)は、直ちにステップS368に進む。なお、駅務端末装置2は、利用者の希望の有無を予め登録しておくものとする。
In step S366, the credit refund cancellation management unit 29 determines whether there is a desire to continue using the medium. Specifically, the credit refund cancellation management unit 29 continues to use the medium as a prepaid card without a commuter pass portion. The station service terminal device 2 is inquired as to whether or not the user desires this, and when the answer is “NO” (step S366 “NO”), the deposit and SF are sent to the station service terminal device 2. An instruction is given to refund the remaining amount in cash (step S367), and then the process proceeds to step S368. In other cases (step S366 “YES”), the process immediately proceeds to step S368. Note that the station service terminal device 2 registers in advance whether or not the user desires.

ステップS368において、クレジット払戻取消管理部29は、カード会社サーバ4に払戻取消の取消を通知する。
具体的には、クレジット払戻取消管理部29は、第一に、カード会社サーバ4に対して、払戻取消処理手順のステップS348においてカード会社サーバ4に送信した内容を取消す旨の通知を送信する。「第2の口座引落通知を取消す旨の通知」には、この通知が相当する。
第二に、カード会社サーバ4から、通知承諾を受け取る。
In step S368, the credit refund cancellation management unit 29 notifies the card company server 4 of cancellation of the refund cancellation.
Specifically, the credit refund cancellation management unit 29 first transmits to the card company server 4 a notice to cancel the content transmitted to the card company server 4 in step S348 of the refund cancellation processing procedure. This notification corresponds to the “notification of canceling the second account withdrawal notification”.
Second, a notification consent is received from the card company server 4.

ステップS369において、クレジット払戻取消管理部29は、払戻レコードを検索する。
具体的には、クレジット払戻取消管理部29は、ステップS365における検索の結果である払戻取消レコードの、元処理日、元端末ID、元処理ID、元カードID、元売上・払戻金額及び業務区分「4」を検索キーとして売上情報データベース30を検索し、該当した払戻レコードを取得する。
In step S369, the credit refund cancellation management unit 29 searches for a refund record.
Specifically, the credit refund cancellation management unit 29 sets the original processing date, the original terminal ID, the original processing ID, the original card ID, the original sales / refund amount, and the business classification of the refund cancellation record as a result of the search in step S365. The sales information database 30 is searched using “4” as a search key, and the corresponding payout record is acquired.

ステップS370において、クレジット払戻取消管理部29は、売上レコードを検索する。
具体的には、クレジット払戻取消管理部29は、業務区分「1」、払戻済フラグ「0」、ステップS369にて検索の結果該当した払戻レコードの元処理日、元端末ID、元処理ID、元カードID及び元売上・払戻金額を検索キーとして売上情報データベース30を検索し、該当した売上レコードを取得する。
In step S370, the credit refund cancellation management unit 29 searches for a sales record.
Specifically, the credit refund cancellation management unit 29 sets the business classification “1”, the refunded flag “0”, the original processing date, the original terminal ID, the original processing ID, and the original processing date of the corresponding refund record as a result of the search in step S369. The sales information database 30 is searched using the original card ID and the original sales / refund amount as a search key, and the corresponding sales record is acquired.

ステップS371において、クレジット払戻取消管理部29は、売上情報データベース30のレコードを更新する。
具体的には、クレジット払戻取消管理部29は、第一に、ステップS370にて検索した結果である売上レコードの払戻済フラグを「0」から「1」に変更する。
第二に、ステップS369にて検索した結果である払戻レコードの払戻済フラグを「3」から「0」に変更する。
第三に、ステップS365にて検索した結果である払戻取消レコードの削除フラグを「0」から「1」に変更する。
この時点で、売上レコード、払戻レコード及び払戻取消レコードは、図13(b)の状態になっている。
In step S <b> 371, the credit refund cancellation management unit 29 updates the record of the sales information database 30.
Specifically, the credit refund cancellation management unit 29 first changes the refunded flag of the sales record, which is the result of the search in step S370, from “0” to “1”.
Second, the refunded flag of the payout record that is the result of the search in step S369 is changed from “3” to “0”.
Third, the deletion flag of the withdrawal cancellation record that is the result of the search in step S365 is changed from “0” to “1”.
At this time, the sales record, the refund record, and the refund cancellation record are in the state shown in FIG.

ステップS372において、クレジット払戻取消管理部29は、駅務端末装置2に対して、IC定期券7の払戻取消の取消指示を送信する。「第4の指示」には、この払戻取消の取消指示が相当する。   In step S <b> 372, the credit refund cancellation management unit 29 transmits an instruction to cancel the cancellation of the IC commuter pass 7 to the station service terminal device 2. The “fourth instruction” corresponds to the cancellation instruction for the refund cancellation.

ステップS373において、駅務端末装置2のIC定期券処理部19は、IC定期券の廃券処理を行う。
具体的には、IC定期券処理部19は、第一に、定期券部分なしのプリペイドカードとして引き続き媒体を使用することを利用者が希望している場合は、IC定期券7のICチップから定期券に関する情報を削除し、IC定期券7の表面から定期券に関する情報を消去する。
それ以外の場合は、IC定期券7そのもの(媒体)を回収して、不正使用防止のため使用不能とする処理をする。
第二に、クレジット明細を出力する。
ここで、払戻処理手順は終了する。
In step S373, the IC commuter pass processing unit 19 of the station service terminal device 2 performs the IC commuter pass scrap ticket processing.
Specifically, the IC commuter pass processing unit 19 firstly, from the IC chip of the IC commuter pass 7 if the user wishes to continue using the medium as a prepaid card without a commuter pass portion. The information on the commuter pass is deleted, and the information on the commuter pass is deleted from the surface of the IC commuter pass 7.
In other cases, the IC commuter pass 7 itself (medium) is collected and processed to make it unusable to prevent unauthorized use.
Second, a credit statement is output.
Here, the refund processing procedure ends.

(その後の処理手順)
払戻取消の取消処理手順があった後、払戻取消レコードは無効(削除フラグに「1」が立っている)となっている。つまり、売上情報データベース30は、払戻処理手順が終了した直後の、IC定期券が回収された状態となっている。
したがって、払戻取消の取消が発生した後に、さらにその取消(IC定期券7を発行する要求)があった場合は、払戻取消処理手順を実行することになる。
このようにして、(実際には頻度が少ないと思われるが)取消が繰り返されるたびに、「払戻取消処理手順」→「払戻取消の取消処理手順」→「払戻取消処理手順」→「払戻取消の取消処理手順」→・・・を循環的に実行することとなる。
(Subsequent processing procedure)
After the cancellation processing procedure for refund cancellation, the refund cancellation record is invalid ("1" is set in the deletion flag). That is, the sales information database 30 is in a state in which the IC commuter pass is collected immediately after the refund processing procedure is completed.
Therefore, if there is a further cancellation (request to issue the IC commuter pass 7) after the cancellation of the cancellation of the refund, the procedure for the processing of cancellation cancellation is executed.
In this way, each time a cancellation is repeated (which seems to be infrequently), “Refund Cancellation Procedure” → “Refund Cancellation Processing Procedure” → “Refund Cancellation Processing Procedure” → “Refund Cancellation” The "cancellation process procedure" is executed cyclically.

IC定期券の現金での払戻及びその取消を説明する図である。It is a figure explaining refund of the IC commuter pass in cash and its cancellation. IC定期券のクレジットでの払戻及びその取消を説明する図である。It is a figure explaining refund with the credit of IC commuter pass, and the cancellation. 本実施形態に係る定期券払戻システムの全体構成図である。1 is an overall configuration diagram of a commuter pass withdrawal system according to the present embodiment. 本実施形態に係る売上情報データベースの一例を示す図である。It is a figure which shows an example of the sales information database which concerns on this embodiment. 本実施形態に係る発売処理手順のフローチャートである。It is a flowchart of the sales process procedure which concerns on this embodiment. 本実施形態に係る発売処理手順の説明のために売上情報データベース等を示す図である。It is a figure which shows a sales information database etc. for description of the sales process procedure which concerns on this embodiment. 本実施形態に係る払戻処理手順のフローチャートである。It is a flowchart of the refund process procedure which concerns on this embodiment. 本実施形態に係る払戻処理手順の説明のために売上情報データベース等を示す図である。It is a figure which shows a sales information database etc. for description of the refund process procedure which concerns on this embodiment. 本実施形態に係る払戻取消処理手順のフローチャートである。It is a flowchart of the refund cancellation processing procedure which concerns on this embodiment. 本実施形態に係る払戻取消処理手順の説明のために売上情報データベース等を示す図である。It is a figure which shows a sales information database etc. for description of the refund cancellation processing procedure which concerns on this embodiment. 本実施形態に係る払戻取消処理手順の説明のために売上情報データベース等を示す図である。It is a figure which shows a sales information database etc. for description of the refund cancellation processing procedure which concerns on this embodiment. 本実施形態に係る払戻取消の取消処理手順のフローチャートである。It is a flowchart of the cancellation processing procedure of withdrawal cancellation according to the present embodiment. 本実施形態に係る払戻取消の取消処理手順の説明のために売上情報データベース等を示す図である。It is a figure which shows a sales information database etc. for description of the cancellation processing procedure of withdrawal cancellation which concerns on this embodiment.

符号の説明Explanation of symbols

1 定期券払戻システム
2 駅務端末装置
3 クレジットサーバ
4 カード会社サーバ
5 ネットワーク
6 クレジットカード
7 IC定期券
11、21 中央制御装置(制御部)
12、22 主記憶装置(記憶部)
13、23 補助記憶装置(記憶部)
17 ICカードリーダライタ
18 クレジットカードリーダ
19 IC定期券処理部
27 クレジット売上管理部
28 クレジット払戻管理部
29 クレジット払戻取消管理部
30 売上情報データベース
31 発売要求(第1の要求)
32 払戻要求(第2の要求)
33 払戻取消要求(第3の要求)
34 払戻取消指示
35 払戻取消の取消要求(第4の要求)
1 commuter pass refund system 2 station service terminal device 3 credit server 4 card company server 5 network 6 credit card 7 IC commuter pass 11, 21 central controller (control unit)
12, 22 Main storage device (storage unit)
13, 23 Auxiliary storage device (storage unit)
17 IC card reader / writer 18 Credit card reader 19 IC commuter pass processing unit 27 Credit sales management unit 28 Credit refund management unit 29 Credit refund cancellation management unit 30 Sales information database 31 Release request (first request)
32 Refund request (second request)
33 Refund cancellation request (third request)
34 Refund cancellation instruction 35 Refund cancellation request (fourth request)

Claims (12)

クレジットカードによってなされる定期券の、発売、払戻、払戻取消及び払戻取消の取消に関する処理を受け付ける端末装置と、
前記端末装置にネットワークを介して接続され、前記処理を管理するクレジットサーバと、
を有する定期券払戻システムであって、
前記クレジットサーバの記憶部は、
前記定期券の発売に係る情報を記録した第1のレコードと、前記定期券の払戻に係る情報を記録した第2のレコードと、前記定期券の払戻取消及び払戻取消の取消に係る情報を記録した第3のレコードと、を記憶した売上情報データベースを備え、
前記クレジットサーバの制御部は、
前記払戻の処理があった後も、前記払戻があった旨の情報を前記第1のレコードに記録したうえで当該第1のレコードを維持し、
前記払戻取消の処理があった後も、前記払戻取消があった旨の情報を前記第2のレコードに記録したうえで当該第2のレコードを維持し、
前記払戻取消の取消の処理があった後も、前記払戻取消の取消があった旨の情報を前記第3のレコードに記録したうえで当該第3のレコードを維持する、
ことを特徴とする定期券払戻システム。
A terminal device that accepts processing related to release, refund, refund cancellation, and refund cancellation of a commuter pass made by a credit card;
A credit server connected to the terminal device via a network and managing the processing;
A commuter pass refund system,
The storage unit of the credit server is
A first record that records information related to the release of the commuter pass, a second record that records information related to the refund of the commuter pass, and information related to cancellation of the refund and cancellation of the commuter pass A sales information database storing the third record,
The control unit of the credit server
Even after the processing of the refund, the information indicating that the refund has been recorded is recorded in the first record, and then the first record is maintained.
Even after the refund cancellation process, the information indicating that the refund cancellation has been recorded in the second record, and then the second record is maintained.
Even after the processing for canceling the refund cancellation, information indicating that the cancellation of the cancellation has been recorded is recorded in the third record, and the third record is maintained.
This is a commuter pass refund system.
前記クレジットサーバの制御部は、
前記端末装置から、前記定期券の発行を行う旨の第1の要求を受け付けると、
前記第1の要求に含まれる情報を含む新たな第1のレコードを作成する第1の処理を行い、
前記端末装置から、前記定期券の払戻を行う旨の第2の要求を受け付けると、
前記第2の要求に基づいて前記第1のレコードを検索し、
該当した前記第1のレコードに前記第2の要求を受け付けた旨を記録し、
前記第2の要求と前記第1のレコードに基づいて前記第2のレコードを新たに作成する第2の処理を行い、
前記端末装置から、前記定期券の払戻取消を行う旨の第3の要求を受け付けると、
前記第3の要求に基づいて前記第2のレコードを検索し、
該当した前記第2のレコードに前記第3の要求を受け付けた旨を記録し、
該当した前記第2のレコードに基づいて前記第1のレコードを検索し、
該当した前記第1のレコードに前記第3の要求を受け付けた旨を記録し、
前記第3の要求と前記第2のレコードに基づいて前記第3のレコードを新たに作成する第3の処理を行い、
前記端末装置から、前記定期券の払戻取消の取消を行う旨の第4の要求を受け付けると、
前記第4の要求に基づいて前記第3のレコードを検索し、
該当した前記第3のレコードに前記第4の要求を受け付けた旨を記録し、
該当した前記第3のレコードに基づいて前記第2のレコードを検索し、
該当した前記第2のレコードに前記第4の要求を受け付けた旨を記録し、
該当した前記第2のレコードに基づいて前記第1のレコードを検索し、
該当した前記第1のレコードに前記第4の要求を受け付けた旨を記録し、
前記第3のレコードに対して当該第3のレコードを無効にする旨を記録する第4の処理を行う、
ことを特徴とする請求項1に記載の定期券払戻システム。
The control unit of the credit server
When receiving a first request to issue the commuter pass from the terminal device,
Performing a first process of creating a new first record that includes the information contained in the first request;
When receiving a second request for refunding the commuter pass from the terminal device,
Searching the first record based on the second request;
Record that the second request has been accepted in the corresponding first record,
Performing a second process of newly creating the second record based on the second request and the first record;
When receiving a third request from the terminal device to cancel the refund of the commuter pass,
Searching the second record based on the third request;
Record in the corresponding second record that the third request has been accepted,
Search for the first record based on the second record of interest,
Record that the third request is accepted in the corresponding first record,
Performing a third process for newly creating the third record based on the third request and the second record;
When receiving a fourth request from the terminal device to cancel the refund of the commuter pass,
Searching the third record based on the fourth request;
Record that the fourth request is accepted in the corresponding third record,
Search the second record based on the corresponding third record,
Record that the fourth request has been accepted in the corresponding second record,
Search for the first record based on the second record of interest,
Record that the fourth request is accepted in the corresponding first record,
Performing a fourth process of recording that the third record is invalidated with respect to the third record;
The commuter pass refund system according to claim 1.
前記売上情報データベースにおいては、
定期券の売上、払戻又は払戻取消についての、処理日、前記端末装置を一意に特定する第1の識別子、処理を一意に特定する第2の識別子、定期券を一意に特定する第3の識別子、クレジットカードを一意に特定する第4の識別子、売上金額及び払戻金額の一部又は全部を含む第1の項目群に関連付けて、
前記払戻が相殺する対象となる売上又は前記払戻取消が相殺する対象となる払戻についての、前記処理日、前記第1の識別子、前記第2の識別子、前記第3の識別子及び前記売上金額の一部又は全部を含む第2の項目群と、
乗車駅の名称、降車駅の名称及び経由駅の一部又は全部を含む第3の項目群と、が記憶されており、
前記第1の要求は、前記第1のレコードについての前記第1の項目群及び前記第3の項目群の情報を含み、
前記第2の要求は、前記第2のレコードについての前記第1の項目群及び前記第1のレコードについての前記第2の項目群の情報を含み、
前記第3の要求は、前記第3のレコードについての前記第1の項目群及び前記第2のレコードについての前記第2の項目群の情報を含み、
前記第4の要求は、前記第3のレコードについての前記第1の項目群の情報を含み、
前記クレジットサーバの制御部は、
前記第2の処理においては、前記第1のレコードについての前記第2の項目群に含まれる任意の情報を検索キーとして、前記第1のレコードを検索し、
前記第3の処理においては、前記第2のレコードについての前記第2の項目群に含まれる任意の情報を検索キーとして、前記第2のレコードを検索し、
該当した前記第2のレコードの前記第2の項目群に含まれる任意の情報を検索キーとして前記第1のレコードを検索し、
前記第4の処理においては、前記第3のレコードについての前記第1の項目群に含まれる任意の情報を検索キーとして、前記第3のレコードを検索し、
該当した前記第3のレコードの前記第2の項目群に含まれる任意の情報を検索キーとして前記第2のレコードを検索し、
該当した前記第2のレコードの前記第2の項目群に含まれる任意の情報を検索キーとして前記第1のレコードを検索する、
ことを特徴とする請求項2に記載の定期券払戻システム。
In the sales information database,
Processing date, first identifier that uniquely identifies the terminal device, second identifier that uniquely identifies the process, and third identifier that uniquely identifies the commuter pass for sales, refunds or refund cancellations of commuter passes A fourth identifier that uniquely identifies the credit card, a first item group that includes part or all of the sales amount and the refund amount,
One of the processing date, the first identifier, the second identifier, the third identifier, and the sales amount for the sales for which the refund is offset or the refund for which the refund cancellation is offset A second group of items including parts or all;
The name of the boarding station, the name of the getting-off station, and the third item group including part or all of the transit station are stored,
The first request includes information on the first item group and the third item group for the first record;
The second request includes information on the first item group for the second record and the second item group for the first record;
The third request includes information on the first item group for the third record and the second item group for the second record;
The fourth request includes information on the first group of items for the third record,
The control unit of the credit server
In the second process, the first record is searched using any information included in the second item group for the first record as a search key,
In the third process, the second record is searched using any information included in the second item group for the second record as a search key,
Search the first record using any information included in the second item group of the corresponding second record as a search key,
In the fourth process, the third record is searched using any information included in the first item group for the third record as a search key,
Search the second record using any information included in the second item group of the corresponding third record as a search key,
Search the first record using any information included in the second item group of the corresponding second record as a search key;
The commuter pass refund system according to claim 2.
前記クレジットサーバの制御部は、
前記第1の処理においては、カード会社サーバに対して、前記第1の要求に含まれる前記処理日及び前記第4の識別子及び前記売上金額を付した第1の口座引落通知を送信し、
前記第2の処理においては、カード会社サーバに対して、前記検索に該当した前記第1のレコードに含まれる前記処理日、前記第4の識別子及び前記払戻金額を付した口座払戻通知を送信し、
前記第3の処理においては、カード会社サーバに対して、前記検索に該当した前記第2のレコードに含まれる前記処理日、前記第4の識別子及び前記払戻金額を付した第2の口座引落通知を送信し、
前記第4の処理においては、カード会社サーバに対して、前記第2の口座引落通知を取消す旨の通知を送信する、
ことを特徴とする請求項3に記載の定期券払戻システム。
The control unit of the credit server
In the first process, to the card company server, send the first account withdrawal notification with the processing date and the fourth identifier and the sales amount included in the first request,
In the second process, an account refund notification is sent to the card company server with the processing date, the fourth identifier and the refund amount included in the first record corresponding to the search. ,
In the third process, a second account withdrawal notification with the processing date, the fourth identifier, and the refund amount included in the second record corresponding to the search is sent to the card company server. Send
In the fourth process, a notification to cancel the second account withdrawal notification is transmitted to the card company server.
The commuter pass refund system according to claim 3.
前記クレジットサーバの制御部は、
前記第1の処理においては、前記端末装置に対して定期券の発券を指示する第1の指示を送信し、
前記第2の処理においては、前記端末装置に対して定期券の廃券処理を指示する第2の指示を送信し、
前記第3の処理においては、前記端末装置に対して、前記検索に該当した前記第1のレコードに含まれる情報を送信するとともに、前記定期券の発券を指示する第3の指示を送信し、
前記第4の処理においては、前記端末装置に対して定期券の廃券処理を指示する第4の指示を送信する、
ことを特徴とする請求項4に記載の定期券払戻システム。
The control unit of the credit server
In the first process, a first instruction that instructs the terminal device to issue a commuter pass is transmitted,
In the second process, a second instruction is sent to the terminal device to instruct the commuter pass disposal process,
In the third process, to the terminal device, the information included in the first record corresponding to the search is transmitted, and a third instruction for instructing the issuance of the commuter pass is transmitted.
In the fourth process, a fourth instruction is sent to the terminal device to instruct the commuter pass disposal process.
The commuter pass refund system according to claim 4.
前記端末装置の制御部は、
前記第1の指示を受け付けると、前記定期券の発券を実行し、
前記第2の指示を受け付けると、前記定期券の廃券処理を実行し、
前記第3の指示を受け付けると、前記定期券の発券を実行し、
前記第4の指示を受け付けると、前記定期券の廃券処理を実行する、
ことを特徴とする請求項5に記載の定期券払戻システム。
The control unit of the terminal device
When the first instruction is received, the commuter pass is issued,
When the second instruction is received, the commuter pass scrap processing is executed,
When the third instruction is accepted, the commuter pass is issued,
When the fourth instruction is accepted, the pass ticket processing for the commuter pass is executed.
The commuter pass refund system according to claim 5.
前記クレジットサーバの制御部は、
前記第2の要求を受け付けた直後の前記第1のレコードの検索に失敗すると、前記端末装置に対してその旨を送信し、処理を終了し、
前記第3の要求を受け付けた直後の前記第2のレコードの検索に失敗すると、前記端末装置に対してその旨を送信し、処理を終了し、
前記第4の要求を受け付けた直後の前記第3のレコードの検索に失敗すると、前記端末装置に対してその旨を送信し、処理を終了する、
ことを特徴とする請求項2に記載の定期券払戻システム。
The control unit of the credit server
If the search for the first record immediately after receiving the second request fails, the fact is transmitted to the terminal device, and the process is terminated.
If the search for the second record immediately after receiving the third request fails, the fact is transmitted to the terminal device, and the process is terminated.
If the search for the third record immediately after receiving the fourth request fails, the fact is transmitted to the terminal device, and the process is terminated.
The commuter pass refund system according to claim 2.
前記定期券は、情報を記憶するICチップを有する定期券であり、
前記端末装置は、前記ICチップに対する情報の読み出し及び書込みが可能なリーダライタを有する、
ことを特徴とする請求項6に記載の定期券払戻システム。
The commuter pass is a commuter pass having an IC chip for storing information,
The terminal device includes a reader / writer capable of reading and writing information with respect to the IC chip.
The commuter pass refund system according to claim 6.
前記端末装置は、前記クレジットカードから前記第4の識別子を読取るリーダを有する、
ことを特徴とする請求項4に記載の定期券払戻システム。
The terminal device includes a reader that reads the fourth identifier from the credit card.
The commuter pass refund system according to claim 4.
前記クレジットサーバの制御部は、
前記第2の処理においては、
前記端末装置に対し、前記定期券の継続使用の希望の有無を確認し、当該希望がない場合は、当該定期券に記録されたデポジット又は前払い運賃を現金で払い戻す旨の指示を行い、
前記第3の処理においては、
前記端末装置に対し、前記定期券の回収の事実の有無を確認し、当該事実があった場合は、当該定期券に記録すべきデポジット又は前払い運賃を現金で受領する旨の指示を行い、
前記第4の処理においては、
前記端末装置に対し、前記定期券の継続使用の希望の有無を確認し、当該希望がない場合は、当該定期券に記録されたデポジット又は前払い運賃を現金で払い戻す旨の指示を行う、
ことを特徴とする請求項8に記載の定期券払戻システム。
The control unit of the credit server
In the second process,
The terminal device is confirmed whether or not the commuter pass is desired to be used continuously, and if there is no such request, the deposit recorded in the commuter pass or an instruction to refund the prepaid fare in cash,
In the third process,
Check the terminal device for the fact that the commuter pass has been collected, and if there is, give instructions to receive the deposit or prepaid fare to be recorded on the commuter pass in cash,
In the fourth process,
Confirming the terminal device whether or not there is a desire to continue using the commuter pass, and if there is no such request, instructs the terminal device to refund the deposit or prepaid fare recorded in the commuter pass,
The commuter pass refund system according to claim 8.
前記クレジットサーバの制御部は、
前記端末装置から第4の要求を受け付けた後、更に、当該第4の要求を取消す要求を受け付けると、前記第3の処理を行い、
前記端末装置から、当該第4の要求を取消す要求を取消す要求を受け付けると、前記第4の処理を行う、
ことを特徴とする請求項2に記載の定期券払戻システム。
The control unit of the credit server
After accepting a fourth request from the terminal device, further accepting a request to cancel the fourth request, the third process is performed,
When a request to cancel the request to cancel the fourth request is received from the terminal device, the fourth process is performed.
The commuter pass refund system according to claim 2.
クレジットカードによってなされる定期券の、発売、払戻、払戻取消及び払戻取消の取消に関する処理を受け付ける端末装置と、
前記端末装置にネットワークを介して接続され、前記処理を管理するクレジットサーバと、
を有する定期券払戻システムを用いた定期券払戻方法であって、
前記クレジットサーバの記憶部は、
前記定期券の発売に係る情報を記録した第1のレコードと、前記定期券の払戻に係る情報を記録した第2のレコードと、前記定期券の払戻取消及び払戻取消の取消に係る情報を記録した第3のレコードと、を記憶した売上情報データベースを備え、
前記クレジットサーバの制御部は、
前記払戻の処理があった後も、前記払戻があった旨の情報を前記第1のレコードに記録したうえで当該第1のレコードを維持し、
前記払戻取消の処理があった後も、前記払戻取消があった旨の情報を前記第2のレコードに記録したうえで当該第2のレコードを維持し、
前記払戻取消の取消の処理があった後も、前記払戻取消の取消があった旨の情報を前記第3のレコードに記録したうえで当該第3のレコードを維持する、
ことを特徴とする定期券払戻方法。
A terminal device that accepts processing related to release, refund, refund cancellation, and refund cancellation of a commuter pass made by a credit card;
A credit server connected to the terminal device via a network and managing the processing;
A commuter pass refund method using a commuter pass refund system comprising:
The storage unit of the credit server is
A first record that records information related to the release of the commuter pass, a second record that records information related to the refund of the commuter pass, and information related to cancellation of the refund and cancellation of the commuter pass A sales information database storing the third record,
The control unit of the credit server
Even after the processing of the refund, the information indicating that the refund has been recorded is recorded in the first record, and then the first record is maintained.
Even after the refund cancellation process, the information indicating that the refund cancellation has been recorded in the second record, and then the second record is maintained.
Even after the processing for canceling the refund cancellation, information indicating that the cancellation of the cancellation has been recorded is recorded in the third record, and the third record is maintained.
This is a commuter pass refund method.
JP2008252351A 2008-09-30 2008-09-30 System and method for refunding season ticket Pending JP2010086141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008252351A JP2010086141A (en) 2008-09-30 2008-09-30 System and method for refunding season ticket

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008252351A JP2010086141A (en) 2008-09-30 2008-09-30 System and method for refunding season ticket

Publications (1)

Publication Number Publication Date
JP2010086141A true JP2010086141A (en) 2010-04-15

Family

ID=42250064

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008252351A Pending JP2010086141A (en) 2008-09-30 2008-09-30 System and method for refunding season ticket

Country Status (1)

Country Link
JP (1) JP2010086141A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011040034A1 (en) 2009-10-01 2011-04-07 パナソニック株式会社 Terminal station apparatus, base station apparatus, transmission method and control method
JP2018156585A (en) * 2017-03-21 2018-10-04 株式会社東芝 Monitor, and monitoring system
JP2020173648A (en) * 2019-04-11 2020-10-22 株式会社東芝 Station service apparatus, station service processing method, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011040034A1 (en) 2009-10-01 2011-04-07 パナソニック株式会社 Terminal station apparatus, base station apparatus, transmission method and control method
EP3691154A1 (en) 2009-10-01 2020-08-05 Sun Patent Trust Terminal station apparatus, base station apparatus, transmission method and control method
EP4009553A1 (en) 2009-10-01 2022-06-08 Sun Patent Trust Terminal station apparatus, base station apparatus, transmission method and control method
JP2018156585A (en) * 2017-03-21 2018-10-04 株式会社東芝 Monitor, and monitoring system
JP2020173648A (en) * 2019-04-11 2020-10-22 株式会社東芝 Station service apparatus, station service processing method, and program

Similar Documents

Publication Publication Date Title
JP7209036B2 (en) Information processing system, information processing device, information processing method, and program
JP2003536175A (en) GUI traveler service system for accessing multiple travel service providers
CN106228357A (en) For the method and apparatus providing location-based content to transmit
JP6471045B2 (en) Parking lot management system
JP2010086141A (en) System and method for refunding season ticket
JP2010097268A (en) System and method for vending discount commuter ticket
US20040088204A1 (en) Method of retrieving a travel transaction record and an image of its supporting documentation
JP2005018453A (en) Process and system for using means of transportation
JP2005038086A (en) Point management method, ic card and ic card terminal
JP2002260018A (en) Ticket issuing system and ticket issuing processing program
JP2010266936A (en) Petty cash settlement device and method, and computer program
JP2001331815A (en) Method for applying for railway ticket purchase, method for selling railway ticket, station service device, automatic ticket checking and collecting machine, automatic fare adjusting machine, terminal device and managing device
JP5811701B2 (en) Management server and station service system
JPH04313155A (en) Paperless account system
KR0150790B1 (en) Method for performing transaction
JP3849869B2 (en) Passage ticket seat designation system, seat designation server, and ride ticket seat designation method
JP6752306B2 (en) Parking lot management system
JP7414470B2 (en) Server equipment, programs, user terminal equipment, and systems
JP3755563B2 (en) Settlement device for ticket gates and ticket gates for transportation
JP2003067846A (en) Cleaning business information network system
JP2000003463A (en) Commuter pass boarding system
JP3684362B2 (en) Automatic ticket gate system and ticket check method in automatic ticket gate system
JP6761533B2 (en) Fare settlement system and fare settlement method
JP2005301501A (en) Lost article management method and system
JPH0887626A (en) Passenger ticket processor