JP4516896B2 - POS system and its POS control system - Google Patents
POS system and its POS control system Download PDFInfo
- Publication number
- JP4516896B2 JP4516896B2 JP2005192026A JP2005192026A JP4516896B2 JP 4516896 B2 JP4516896 B2 JP 4516896B2 JP 2005192026 A JP2005192026 A JP 2005192026A JP 2005192026 A JP2005192026 A JP 2005192026A JP 4516896 B2 JP4516896 B2 JP 4516896B2
- Authority
- JP
- Japan
- Prior art keywords
- pos
- pos terminal
- priority
- control
- priority system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Landscapes
- Loading And Unloading Of Fuel Tanks Or Ships (AREA)
- Cash Registers Or Receiving Machines (AREA)
Description
本発明は、POS(Point Of Sales)システム及びそのPOS制御システムに係り、とくにガソリンスタンド(給油所)向けPOSシステムにおける2種のPOS端末から同一機器への制御に関する。 The present invention relates to a POS (Point Of Sales) system and a POS control system thereof, and more particularly, to control from two types of POS terminals to the same device in a POS system for a gas station (gas station).
近年、ガソリンスタンドでは、給油客が給油のために用意されたレーンに車両を進入・停車後に屋外端末(POS端末)を操作して、給油したい油種等の指示を行って計量機を給油可能な状態にした後で、計量機の給油ノズルを使って自ら給油作業を行うタイプのセルフガソリンスタンドが増加している。 In recent years, at gas stations, refueling customers can operate the outdoor terminal (POS terminal) after entering / stopping the vehicle in the lane prepared for refueling, and can instruct the oil type to be refueled to refuel the meter. The number of self-gas stations that perform refueling work using the refueling nozzles of the weighing machines has increased.
このようなセルフガソリンスタンドで用いられるPOSシステムとして、例えば特許文献1に記載されているセルフ給油システムがある。このシステムでは、複数の計量機と、複数の外設端末と、両者間を接続するPOS装置とを備え、POS装置により、外設端末で読み取られた金融カードの情報と選択されたサービスに応じて計量機の給油の可否を判断し、金融カードが正規なものかどうかを外部に接続されたセンター側に確認した後、カード種別に応じた処理を許容するようになっている。
従来のセルフガソリンスタンド等で用いられるPOSシステムでは、POS端末及び計量機間の通信で用いる一般的なインタフェースとして、RS485方式の機器制御を行うものが使用されている。 In a POS system used in a conventional self-gas station or the like, an RS485 system control device is used as a general interface used for communication between a POS terminal and a weighing machine.
RS485方式の機器制御では、ポーリング/セレクティング方式が採用されている。この方式では、制御を行う側の制御機器(以下、「主局」と呼ぶ)が制御を受ける側の制御対象機器(以下、「従局」と呼ぶ)に対し送出データの有無を問い合わせる「ポーリング」を行い、各従局はこのポーリングが自分宛に来たときのみデータを送出する。また、主局が従局に対しデータを送出したい場合は、主局が従局に対して送信の可否を問う「セレクティング」を行ってからデータを送出する。 In RS485 system control, a polling / selecting system is employed. In this method, a control device (hereinafter referred to as “master station”) that performs control inquires of a control target device (hereinafter referred to as “slave station”) that receives control about the presence or absence of transmission data. Each slave station sends data only when this polling is addressed to itself. When the master station wants to send data to the slave station, the master station sends the data after performing “selecting” asking the slave station whether transmission is possible.
このようなポーリング/セレクティング方式を用いると、主局からその従局として同一機器を制御する場合、主局は通常1つしか存在できない。このため、ガソリンスタンド向けPOSシステムにおいて、2つのPOSシステム(2系)の主局からその従局として同一の制御対象機器(計量機等)を制御しようとする場合は、次のような課題が想定される。 When such a polling / selecting method is used, when the same device is controlled as a slave station from the master station, there is usually only one master station. For this reason, in a POS system for a gas station, when trying to control the same controlled device (such as a weighing machine) as a slave station from the master station of two POS systems (system 2), the following problems are assumed. Is done.
図6(a)及び(b)は、2系のシステム構成の一例を示す。 6A and 6B show an example of the system configuration of the second system.
図6(a)の例では、ガソリンスタンド向けPOSシステムにおけるポーリング/セレクティング方式の主局(主局A、B)として、2つのPOS端末A、B(110、120)を備える。このうち、POS端末A(110)には、その従局として屋外端末A1〜A3(111〜113)がネットワークを介して通信可能に接続される。POS端末B(120)には、その従局として屋外端末B1〜B3(121〜123)がネットワークを介して通信可能に接続される。2つのPOS端末A、B(110、120)に共有される同一RS485機器の従局(従局1〜3)として、計量機1〜3(131〜133)がネットワークを介して接続される。屋外端末A1〜A3(111〜113)、屋外端末B1〜B3(121〜123)、及び計量機1〜3(131〜133)は、ガソリンスタンドのレーン1〜3毎にそれぞれ設置されている。
In the example of FIG. 6A, two POS terminals A and B ( 110 , 120 ) are provided as main stations (main stations A, B) of a polling / selecting method in a POS system for a gas station. Among these, outdoor terminals A1 to A3 (111 to 113) as slave stations are connected to the POS terminal A ( 110 ) so as to be communicable via a network. Outdoor terminals B1 to B3 (121 to 123 ) as slave stations are connected to the POS terminal B ( 120 ) via a network.
図6(a)の例に示すように、単にPOS端末A、B(110、120)と、計量機1〜3(131〜133)とを接続するだけでは、複数(図の例では2つ)の主局となるPOS端末が同一ネットワーク上に存在することになる。このため、実際には、図6(a)に示すような機器構成をとることができない。
As shown in the example of FIG. 6A, by simply connecting the POS terminals A and B ( 110 , 120 ) and the
そこで、2系のシステム構成とする場合は、図6(b)の例に示すように、各POS端末に接続される計量機が同一ネットワーク上に存在しない機器構成をとらなければならない。図6(b)の例では、POS端末A(110)に屋外端末A1、A2(111、112)、計量機1、2(131、132)が、POS端末B(120)に屋外端末B3(123)、計量機3(133)がそれぞれネットワーク接続されている。この構成では、決済手段として、屋外端末A1、A2(111、112)を用いる場合はレーン1、2へ移動し、屋外端末B3(123)を用いる場合はレーン3へ移動するというように給油客の動線が制約されることとなり、それが給油の回転率低下、しいては売上の損失へとつながる可能性が高まることが考えられる。
Therefore, in the case of a two-system system configuration, as shown in the example of FIG. 6B, it is necessary to take a device configuration in which the weighing machines connected to each POS terminal do not exist on the same network. In the example of FIG. 6 (b), an outdoor terminal to the POS terminal A (110) A1, A2 (111 and 112), the weighing machine 1 (131, 132) is an outdoor to the POS terminal B (120) terminal B3 ( 123) and weighing machine 3 (133) are connected to the network. In this configuration, the refueling customer moves to
図7の例は、図6(a)に示すような2系のシステム構成を可能とするため、POS端末A、B(110、120)と、計量機1〜3(131〜133)との結合部分にRS485データ中継装置140を介在させた場合の例を示す。この場合のデータ送受信シーケンス例を図8(a)及び(b)に示す。
In the example of FIG. 7, in order to enable a two-system system configuration as shown in FIG. 6A, the POS terminals A and B ( 110 , 120 ) and the
図7の例では、POS端末A、B(110、120)が共有する計量機1〜3(131〜133)を制御するためのポーリング/セレクティング動作でやり取りされる電文について、POS端末A、B(110、120)からの制御電文をどちらも公平に計量機1〜3(131〜133)に送信してしまっては、制御電文のシーケンスが成り立たない場合が存在する。
In the example of FIG. 7, the POS terminal A, the telegram exchanged in the polling / selecting operation for controlling the
例えば、図8(a)のデータ送受信シーケンス例(1)に示すように、POS端末A(110)からの給油許可の制御電文をRS485データ中継装置140を介して計量機1(131)に送信し(ステップS101、S102)、その後、POS端末B(120)からの給油停止の制御電文をRS485データ中継装置140を介して計量機1(131)に送信した場合(ステップS103、S104)を考える。この場合、POS端末A(110)で保持する計量機1(131)の状態は、給油許可状態であるが、計量機1(131)はPOS端末B(120)からの給油停止の制御電文を受けて給油停止状態にあるため、POS端末A(110)と計量機1(131)との間で不整合が生じる。
For example, as shown in the data transmission / reception sequence example (1) in FIG. 8A, a control message for refueling permission from the POS terminal A ( 110 ) is transmitted to the weighing machine 1 (131) via the RS485
また、上記とは逆に、POS端末A、B(110、120)が共有する計量機1〜3(131〜133)からの応答電文をいずれのPOS端末A、B(110、120)に送信すればよいのかの判断基準がないため、POS端末A、B(110、120)が意図しない電文を受信し、これにより不都合を引き起こす場合も考えられる。
The transmission, contrary to the above, the POS terminal A, B (110, 120) which of the POS terminal A a reply message from the
例えば、図8(a)のデータ送受信シーケンス例(2)に示すように、POS端末A(110)からの給油許可の制御電文をRS485データ中継装置140を介して計量機1(131)に送信し(ステップS111、S112)、その後、計量機1(131)からの給油終了の電文をRS485データ中継装置140を介してPOS端末A、B(110、120)にそれぞれ送信した場合(ステップS113〜S115)を考える。この場合、POS端末A(110)では、意図した電文が受信されるが、POS端末B(120)では、意図しない電文が受信されるため、不正が生じる可能性がある。
For example, as shown in the data transmission / reception sequence example (2) of FIG. 8A, a control message for refueling permission from the POS terminal A ( 110 ) is transmitted to the weighing machine 1 (131) via the RS485
従って、図7の例では、図8(a)及び(b)に示すように、POS端末側で管理する状態と計量機自体の状態との間で不整合が生じたり、POS端末側で意図しない電文を受信することにより不都合を引き起こしたりするといった課題がある。 Therefore, in the example of FIG. 7, as shown in FIGS. 8 (a) and 8 (b), there is a mismatch between the state managed on the POS terminal side and the state of the weighing machine itself, or the intention on the POS terminal side. There is a problem that inconvenience is caused by receiving a message not to be received.
本発明は、このような従来の事情を考慮してなされたもので、ポーリング/セレクティング方式の機器制御において、従局となる同一機器に対して主局となる複数のPOSシステムからの制御を実現することを目的とする。 The present invention has been made in consideration of such conventional circumstances, and in the device control of the polling / selecting method, realizes control from a plurality of POS systems serving as master stations for the same device serving as a slave station. The purpose is to do.
上記目的を達成するため、本発明に係るPOSシステムは、ポーリング/セレクティング動作の主局として機能する第1のPOS端末と、ポーリング/セレクティング動作の主局として機能する第2のPOS端末と、ポーリング/セレクティング動作の従局として機能する制御対象機器と、前記第1及び第2のPOS端末と、前記制御対象機器との間で、ポーリング/セレクティング動作による電文の授受を制御するPOS制御システムとを備え、前記POS制御システムは、前記第1のPOS端末に通信可能に接続され、当該第1のPOS端末の従局として機能する第1の従局インタフェースと、前記第2のPOS端末に通信可能に接続され、当該第2のPOS端末の従局として機能する第2の従局インタフェースと、前記制御対象機器に通信可能に接続され、当該制御対象機器の主局として機能する主局インタフェースと、前記第1及び第2のPOS端末の一方と前記制御対象機器との間で、前記ポーリング/セレクティング動作により所定の電文を授受する際、所定の制御シーケンスが完了するまでの間、前記第1及び第2のPOS端末の一方を優先系として設定する優先系設定手段と、前記優先系設定手段により設定された優先系に基づいて、前記第1及び第2のPOS端末と前記制御対象機器との間で、前記第1及び第2の従局インタフェースと、前記主局インタフェースとを介して、前記電文を排他的に振り分けて送受信し、前記POS端末のうち、優先系として設定されていない前記POS端末からの前記制御対象機器への電文は送信しない電文送受信手段とを有することを特徴とする。
To achieve the above object, a POS system according to the present invention includes a first POS terminal that functions as a main station for polling / selecting operation, and a second POS terminal that functions as a main station for polling / selecting operation; POS control for controlling transmission / reception of telegrams by polling / selecting operation between a control target device functioning as a slave station for polling / selecting operation, the first and second POS terminals, and the control target device The POS control system is communicably connected to the first POS terminal and communicates with the first POS terminal functioning as a slave station of the first POS terminal and the second POS terminal. A second slave station interface connected to the second POS terminal and capable of functioning as a slave station of the second POS terminal; A predetermined connection by the polling / selecting operation between one of the first and second POS terminals and the control target device. When the electronic message is exchanged, the priority system setting means for setting one of the first and second POS terminals as the priority system and the priority system setting means until the predetermined control sequence is completed. Based on the priority system, the electronic message is exclusive between the first and second POS terminals and the control target device via the first and second slave interface and the master station interface. and received by distributing, out of the POS terminal, message to the control target device from the POS terminal that is not set as the priority system having a a message transmission and reception means does not transmit It is characterized in.
本発明において、前記優先系設定手段は、前記第1及び第2のPOS端末のいずれか一方に対応する優先系の設定データを格納する格納部と、前記優先系を設定するための条件データを登録する条件テーブルと、前記第1の従局インタフェース、前記第2の従局インタフェース、又は前記主局インタフェースを介して受信された受信電文のデータと、前記格納部に格納されている現在の優先系の設定データと、前記条件テーブルに登録されている条件データとに基づいて前記優先系を決定する手段と、決定された優先系を、前記優先系の設定データとして前記格納部に設定する手段とを有してもよい。 In the present invention, the priority system setting means includes a storage unit that stores priority system setting data corresponding to one of the first and second POS terminals, and condition data for setting the priority system. A condition table to be registered; data of a received message received via the first slave station interface, the second slave station interface, or the master station interface; and the current priority system stored in the storage unit Means for determining the priority system based on setting data and condition data registered in the condition table; and means for setting the determined priority system in the storage unit as the priority system setting data. You may have.
また、本発明において、前記第1のPOS端末の従局として機能する第1の屋外端末と、前記第2のPOS端末の従局として機能する第2の屋外端末とをさらに有し、前記制御対象機器は、RS485機器であってもよい。前記RS485機器は、ガソリンスタンド用の計量機を有してもよい。前記所定の制御シーケンスは、前記計量機による給油開始から給油終了までの制御シーケンスであってもよい。 In the present invention, the apparatus further includes a first outdoor terminal that functions as a slave station of the first POS terminal, and a second outdoor terminal that functions as a slave station of the second POS terminal. May be an RS485 device. The RS485 device may have a meter for a gas station. The predetermined control sequence may be a control sequence from the start of refueling to the end of refueling by the weighing machine.
本発明に係るPOS制御システムは、ポーリング/セレクティング動作の主局として機能する第1のPOS端末と、ポーリング/セレクティング動作の主局として機能する第2のPOS端末と、ポーリング/セレクティング動作の従局として機能する制御対象機器とを有するPOSシステムで用いられ、前記第1及び第2のPOS端末と、前記制御対象機器との間で、ポーリング/セレクティング動作による電文の授受を制御するPOS制御システムであって、前記第1のPOS端末に通信可能に接続され、当該第1のPOS端末の従局として機能する第1の従局インタフェースと、前記第2のPOS端末に通信可能に接続され、当該第2のPOS端末の従局として機能する第2の従局インタフェースと、前記制御対象機器に通信可能に接続され、当該制御対象機器の主局として機能する主局インタフェースと、前記第1及び第2のPOS端末の一方と前記制御対象機器との間で、前記ポーリング/セレクティング動作により所定の電文を授受する際、所定の制御シーケンスが完了するまでの間、前記第1及び第2のPOS端末の一方を優先系として設定する優先系設定手段と、前記優先系設定手段により設定された優先系に基づいて、前記第1及び第2のPOS端末と前記制御対象機器との間で、前記第1及び第2の従局インタフェースと、前記主局インタフェースとを介して、前記電文を排他的に振り分けて送受信し、前記POS端末のうち、優先系として設定されていない前記POS端末からの前記制御対象機器への電文は送信しない電文送受信手段とを有することを特徴とする。 A POS control system according to the present invention includes a first POS terminal that functions as a main station for polling / selecting operation, a second POS terminal that functions as a main station for polling / selecting operation, and a polling / selecting operation. The POS system is used in a POS system having a control target device functioning as a slave station of the mobile station, and controls transmission / reception of messages by polling / selecting operations between the first and second POS terminals and the control target device. A control system communicably connected to the first POS terminal, connected to the first POS terminal functioning as a slave station of the first POS terminal, and communicatively connected to the second POS terminal; A second slave interface that functions as a slave station of the second POS terminal and a communicable connection to the control target device A predetermined telegram is exchanged by the polling / selecting operation between the main station interface functioning as the main station of the control target device and one of the first and second POS terminals and the control target device. In this case, based on the priority system set by the priority system setting means and the priority system setting means for setting one of the first and second POS terminals as the priority system until the predetermined control sequence is completed. Thus, the telegrams are exclusively distributed between the first and second POS terminals and the control target device via the first and second slave interface and the master station interface. and, among the POS terminals, message to the control target device from the POS terminal that is not set as the priority system and characterized by having a message transmission and reception means does not transmit That.
本発明によれば、ポーリング/セレクティング方式の機器制御において、従局となる同一機器に対して主局となる複数のPOSシステムからの制御を実現することができる。 According to the present invention, in the polling / selecting device control, it is possible to realize control from a plurality of POS systems serving as master stations for the same device serving as a slave station.
次に、本発明に係るPOS制御システム及びこれを用いたガソリンスタンド向けPOSシステムを実施するための最良の形態について、図面を参照して詳細に説明する。 Next, a best mode for carrying out a POS control system according to the present invention and a POS system for a gas station using the same will be described in detail with reference to the drawings.
本実施の形態は、ガソリンスタンド向けPOSシステムにおける一般的なインタフェースとして用いられているRS485方式の機器制御において、同一の制御対象機器であるRS485機器(計量機等)に対して2種のPOSシステムからの制御を実現するものである。以降の説明では、2種のPOSシステムの構成を「2系」と呼ぶ。
In this embodiment, in the RS485 system device control used as a general interface in a POS system for a gas station, two types of POS systems are used for RS485 devices (such as weighing machines) which are the same control target devices. The control from is realized. In the following description, the configuration of the two types of POS systems is referred to as “
図1は、本実施の形態に係るガソリンスタンド向けPOSシステムの概要を説明するものである。 FIG. 1 explains the outline of a POS system for a gas station according to the present embodiment.
図1に示すガソリンスタンド向けPOSシステムは、給油客が自ら給油を行うセルフガソリンスタンドに適用されるもので、RS485方式の機器制御を行う2系のPOSシステムとして、ポーリング/セレクティング方式の主局A、Bを構成する2つのPOS端末A、B(10、20)と、POS端末A(10)の従局を構成する複数(図中の例では3つ)の屋外端末A1〜A3(11〜13)と、POS端末B(20)の従局を構成する複数(図中の例では3つ)の屋外端末B1〜B3(21〜23)とを有する。これら2系のPOSシステムにより制御される制御対象機器としては、RS485機器である計量機1〜3(31〜33)が設けられる。
The POS system for a gas station shown in FIG. 1 is applied to a self-gas station where a refueling customer refuels himself. As a two-point POS system for RS485 system control, the main station of the polling / selecting system Two POS terminals A and B (10, 20) constituting A and B and a plurality (three in the example in the figure) of outdoor terminals A1 to A3 (11 to 11) constituting slave stations of the POS terminal A (10) 13) and a plurality of (three in the example in the figure) outdoor terminals B1 to B3 (21 to 23) constituting the slave stations of the POS terminal B (20). As control target devices controlled by these two POS systems,
POS端末A(10)と屋外端末A1〜A3(11〜13)は、互いにPOS−屋外端末系ネットワークケーブル14を介してポーリング/セレクティング動作による電文授受が可能に接続される。同様に、POS端末B(20)と屋外端末B1〜B3(21〜23)は、互いにPOS−屋外端末系ネットワークケーブル24を介してポーリング/セレクティング動作による電文授受が可能に接続される。
The POS terminal A (10) and the outdoor terminals A1 to A3 (11 to 13) are connected to each other via a POS-outdoor terminal
2つのPOS端末A、B(10、20)は、ガソリンスタンドの店内に配置され、屋外端末A1〜A3(11〜13)、屋外端末B1〜B3(21〜23)、及び計量機1〜3(31〜33)は、ガソリンスタンドの給油するための車両進入路及び停車場所となる複数のレーン(図中の例では3つのレーン1〜3)毎に割り当てて配置される。
The two POS terminals A and B (10, 20) are arranged in a gas station store, the outdoor terminals A1 to A3 (11 to 13), the outdoor terminals B1 to B3 (21 to 23), and the weighing
この構成において、本実施の形態では、2つのPOS端末A、B(10、20)と計量機1〜3(31〜33)との間に、各POS端末A、B(10、20)からのポーリング/セレクティング動作による制御電文を仲介する機器(以下、「2系統制御システム」と称する)40が接続される。 In this configuration, in the present embodiment, each POS terminal A, B (10, 20) is connected between the two POS terminals A, B (10, 20) and the weighing machines 1-3 (31-33). A device 40 (hereinafter referred to as a “two-system control system”) that mediates a control telegram by the polling / selecting operation is connected.
図1に示すように、POS端末A、B(10、20)が、2系統制御システム40を介して複数のRS485機器である計量機1〜3(31〜33)を共有することで、同一レーンに、各々のPOS端末A、B(10、20)に接続される屋外端末A1〜A3(11〜13)、B1〜B3(21〜23)を設置し、両屋外端末A1〜A3(11〜13)、B1〜B3(21〜23)から計量機1〜3(31〜33)を制御する。図1の例では、ガソリンスタンドにおいて、代表的なRS485機器である計量機を例としている。以降、図中で示す計量機は、RS485機器を表すものとする。
As shown in FIG. 1, POS terminals A and B (10, 20) are identical by sharing weighing
図2は、2系統制御システム40の内部構成を示す。なお、図中の表記では、後述するRS485ネットワークインタフェースについては、便宜上「インタフェース」としている。
FIG. 2 shows the internal configuration of the two-
図2において、2系統制御システム40は、POS端末A(10)の従局として機能する従局RS485ネットワークインタフェース(第1の従局インタフェース)44と、POS端末B(20)の従局として機能する従局RS485ネットワークインタフェース(第2の従局インタフェース)45と、計量機1〜3(31〜33)の主局として機能する主局RS485ネットワークインタフェース(主局インタフェース)46と、制御中枢を担うCPU(Central Processing Unit)47と、CPU47により実行される各種制御プログラム及び制御データを記憶する記憶手段としての主記憶装置48及びメモリ49とを有し、これら各要素44〜49がバスを介して電気的に接続されている。
In FIG. 2, the two-
従局RS485ネットワークインタフェース44は、POS端末A(10)に搭載された主局RS485ネットワークインタフェース15にRS485系ネットワークケーブル41を介して通信可能に接続される。
The slave
従局RS485ネットワークインタフェース45は、POS端末B(20)に搭載された主局RS485ネットワークインタフェース25にRS485系ネットワークケーブル42を介して通信可能に接続される。
The slave
主局RS485ネットワークインタフェース46は、計量機1〜3(31〜33)に搭載された従局RS485ネットワークインタフェース61〜63にRS485系ネットワークケーブル43を介して通信可能に接続される。
The master station
2系統制御システム40は、このように2系のPOSシステムからの接続を受ける2つの従局RS485ネットワークインタフェース44、45と、下位のRS485機器である計量機1〜3(31〜33)への接続を行う1つの主局RS485ネットワークインタフェース46とを有し、互いに送受信された電文内容を判断して排他的に振り分け動作を行うプログラム制御が可能なデータ処理装置である。
The two-
これによれば、2系のPOS端末A、B(10、20)からポーリング/セレクティング動作により送信される電文を、2系統制御システム40の従局RS485ネットワークインタフェース44、45で受信し、実際に制御される制御対象機器である計量機1〜3(31〜33)に対しては唯一のPOS(主局)として動作することを可能としている。これにより、2系のPOS端末A、B(10、20)からの制御電文をバッティングさせることなく、計量機1〜3(31〜33)の接続が可能となる。
According to this, a message transmitted by the polling / selecting operation from the 2 system POS terminals A and B (10, 20) is received by the slave RS485 network interfaces 44 and 45 of the 2
主記憶装置48には、2系統制御システム40の基本ソフトウェアの中核を成すOS(Operating System)50内の制御プログラム及び制御データの一部として、予め設定された2系統制御プログラム51、条件テーブル52、及びRS485データ送受信プログラム54が実装される。
The
メモリ49には、起動時に、主記憶装置48から、2系統制御プログラム51、条件テーブル52、及びRS485データ送受信プログラム54を含むOS50の制御プログラム及び制御データが展開されると共に、展開されたOS50内に優先系(後述参照)の設定状態を保持するための格納部である記憶領域(以下、「優先系状態」と呼ぶ)53も確保される。
In the
なお、以下の説明では、2つの従局RS485ネットワークインタフェース44、45において、電文の送受信を有効としている系を指して、「優先系」と呼称する。優先系の設定状態には、「系1」、「系2」、「設定なし」の3状態のいずれかが保有される。本実施の形態では、2つの従局RS485ネットワークインタフェース44、45の各々に対して、それぞれ「系1」、「系2」に割り当てるように意味付け(関連付け)を行っている。
In the following description, in the two slave RS485 network interfaces 44 and 45, a system that enables transmission / reception of electronic messages is referred to as a “priority system”. Any of the three states of “
また、優先系が「設定なし」の状態に対応する初期状態には、「系1」、「系2」、「両系」の3種類がある。両系とは、その両従局RS485ネットワークインタフェース44、45における送受信が有効であることを指している。ここで示す「送受信の有効状態」は、実際にネットワーク44、45を切断状態にするのではなく、各従局RS485ネットワークインタフェースで受信した電文を送信先機器へ送信しないことを意味している。
There are three types of initial states corresponding to the state where the priority system is “no setting”: “
条件テーブル52は、電文制御の排他を行うもので、特定の計量機1〜3(31〜33)および送受信の電文に基づいて、電文をどちらの系のPOS端末A、B(10、20)に対して送受信させるかを排他的に振り分けるためのものである。
The condition table 52 performs exclusive control of the message control. Based on the specific weighing
図3は、条件テーブル52の構成例を示す。 FIG. 3 shows a configuration example of the condition table 52.
図3に示す条件テーブル52には、条件データ毎に「対象電文」、「対象機器」、「受信(受信した系)」、「優先系状態」、「設定する優先系」、「コマンド」の各項目のデータが登録されている。 The condition table 52 shown in FIG. 3 includes “target message”, “target device”, “reception (reception system)”, “priority system status”, “priority system to be set”, and “command” for each condition data. Data for each item is registered.
「対象電文」には、給油許可電文、給油終了電文、給油取消電文等の制御対象電文に対応するデータが登録される。 In the “target message”, data corresponding to control target messages such as a refueling permission message, a refueling end message, and a refueling cancellation message are registered.
「対象機器」には、送信先の制御対象機器(RS485機器)に対応するデータが設定される。本実施の形態では、計量機1〜3(31〜33)が対象となる。
In the “target device”, data corresponding to the control target device (RS485 device) of the transmission destination is set. In this embodiment, the weighing
「受信(受信した系)」には、2系のPOS端末A、B(10、20)のうち、電文を受信した系に対応するデータが設定される。図3の例では、POS端末A(10)が「系1」、POS端末B(20)が「系2」にそれぞれ対応している。
In “Reception (Received System)”, data corresponding to the system that has received the message is set out of the second system POS terminals A and B (10, 20). In the example of FIG. 3, the POS terminal A (10) corresponds to “
「優先系状態」には、メモリ49上に現在登録されている優先系状態53に対応するデータが登録されている。図3の例では、「系1」、「系2」、「設定なし」のいずれかに対応する。
In the “priority system state”, data corresponding to the
「設定する優先系」には、条件合致(後述参照)の場合にメモリ49上の優先系状態53に設定すべき優先系に対応するデータが設定されている。図3の例では、「系1」、「系2」、「設定なし」のいずれかに対応する。
In the “priority system to be set”, data corresponding to the priority system to be set in the
「コマンド」には、制御シーケンス上に整合性を欠く場合にこれを補うことを目的として、任意の電文を送信したり、優先系の設定を行ったりする場合に、これを実行するための制御コマンドが登録される。図3の例では、この制御コマンドは使用されない。 The “command” has a control to execute it when an arbitrary message is sent or a priority system is set for the purpose of compensating for the inconsistency in the control sequence. The command is registered. In the example of FIG. 3, this control command is not used.
図3の例では、条件テーブル52には、以下の4つの条件データが登録されている。 In the example of FIG. 3, the following four condition data are registered in the condition table 52.
1)条件データ1(対象電文:給油許可、対象機器:計量機、受信:系1、優先系状態:設定なし、設定する優先系:系1、コマンド:なし)
2)条件データ2(対象電文:給油終了、対象機器:計量機、受信:系1、優先系状態:系1、設定する優先系:設定なし、コマンド:なし)
3)条件データ3(対象電文:給油許可、対象機器:計量機、受信:系2、優先系状態:設定なし、設定する優先系:系2、コマンド:なし)
4)条件データ4(対象電文:給油終了、対象機器:計量機、受信:系2、優先系状態:系2、設定する優先系:設定なし、コマンド:なし)
CPU47は、メモリ49上の2系統制御プログラム51及びRS485データ送受信プログラム54を含むOS50を成す各プログラムを実行する。
1) Condition data 1 (target message: refueling permission, target device: weighing machine, reception:
2) Condition data 2 (target message: refueling completed, target device: weighing machine, reception:
3) Condition data 3 (target message: refueling permission, target device: weighing machine, reception:
4) Condition data 4 (target message: refueling end, target device: weighing machine, reception:
The CPU 47 executes each program constituting the
2系統制御プログラム51及びRS485データ送受信プログラム54は、CPU47により実行されることにより、次のような動作を行う。
The two-
すなわち、RS485データ送受信プログラム54は、2系のPOS端末A、B(10、20)から従局RS485ネットワークインタフェース44、45にて受信した電文を、主局RS485ネットワークインタフェース46から電文に格納されている宛先のRS485機器である計量機1〜3(31〜33)へ送信する。この送信は、メモリ49上の優先系状態53に設定されている系が受信した系と合致した場合、あるいは、優先系(後述参照)が設定されている場合のみ、行われる。
That is, the RS485 data transmission /
また、RS485データ送受信プログラム54は、上記とは逆に、主局RS485ネットワークインタフェース46で受信した電文は、メモリ49上の優先系状態53に設定されている系、あるいは、優先系が設定されていない場合には予め設定されている初期状態(後述参照)の系に対応する従局RS485ネットワークインタフェース44、45からPOS端末A、B(10、20)へ送信する。
In contrast to the above, the RS485 data transmission /
2系統制御プログラム51は、RS485データ送受信プログラム54と連携して動作する。まず、RS485データ送受信プログラム54は、各従局RS485ネットワークインタフェース44、45にて電文を受信すると、2系統制御プログラム51に通知し、受信電文を渡す。すると、2系統制御プログラム51は、この通知を待ち受け、通知されたことをトリガにして、優先系を決定する(後述参照)。優先系の決定に際して、条件テーブル52を基に、受信電文や、現優先系の状態によって、決定された優先系を、メモリ49上の優先系状態53に書き込む。条件テーブル52のいずれの条件に合致しない場合は、これは行われない。優先系の決定は、優先系を初期状態に戻すことも含まれる。
The two-
上記により、2系のPOSシステムにおける電文シーケンスの一貫性を保ち、あたかも各々のPOSシステムからみると、自身に接続されている唯一の計量機を保有しているかのごとき動作を実現する。 As described above, the consistency of the message sequence in the two-system POS system is maintained, and the operation as if it has only one weighing machine connected to itself is realized as viewed from each POS system.
次に、図4を参照して、2系統制御プログラム51による条件テーブル52を用いた優先系設定処理を説明する。ここでは、優先系における系の呼称については、POS端末A(10)を「系1」、POS端末B(20)を「系2」としている。
Next, the priority system setting process using the condition table 52 by the two-
図4は、2系統制御プログラム51の処理手順を示すフローチャートである。
FIG. 4 is a flowchart showing the processing procedure of the two-
図4において、まず、2系統制御プログラム51は、RS485データ送受信プログラム54からの受信電文の通知を受けると、この通知をトリガとして、条件テーブル52に登録されている条件データの総数に応じた回数分、受信電文のデータと、メモリ49上の優先系状態53のデータとが、条件データの「対象電文」、「対象機器」、「受信」、「優先系状態」の各項目の登録データと一致するか否かの比較判定を繰り返し実行する。その結果、全て一致していると判定された条件データが存在する場合は、同条件データの「設定する優先系」項目の登録データを優先系として決定し、決定された優先系をメモリ49上の優先系状態53に設定し、全て一致していると判定された条件データが存在しない場合は、優先系を決定せずに終了する(ステップS1)。
In FIG. 4, first, when the two-
具体的には、上記の比較判定では、まず、条件テーブル52上の対象とする条件データに対し、同条件データの「対象電文」、「対象機器」、「受信」、「優先系状態」の各項目の登録データと、受信電文のデータと、受信時のメモリ49上に設定されている優先系状態53の設定データとの突合せを行う(ステップS2〜S6)。
Specifically, in the comparison determination described above, first, with respect to the target condition data on the condition table 52, the “target message”, “target device”, “reception”, and “priority state” of the same condition data. The registration data of each item, the data of the received message, and the setting data of the
この突合せに際し、最初に、受信電文のデータと、条件テーブル52上の対象とする条件データの「対象電文」項目の登録データとを比較し、両データが一致するか否かを判定する(ステップS2)。比較は、例えば前方一致で行う。 At the time of this matching, first, the data of the received message is compared with the registered data of the “target message” item of the target condition data on the condition table 52, and it is determined whether or not both data match (step S1). S2). The comparison is performed by, for example, front matching.
上記判定で両データが一致した場合は、同条件データの「対象機器」項目の登録データと、受信電文のデータに含まれる送信先の機器(例えば、計量機)を示すデータとを比較し、両データが一致するか否かを判定する(ステップS3)。 When both data match in the above determination, the registration data of the “target device” item of the same condition data is compared with the data indicating the transmission destination device (for example, the weighing machine) included in the received telegram data, It is determined whether or not both data match (step S3).
上記判定で一致した場合は、同条件データの「受信(受信した系)」項目の登録データとを比較し、両データが一致するか否かを判定する(ステップS4)。 If they match in the above determination, the registered data in the “reception (received system)” item of the same condition data is compared to determine whether or not the two data match (step S4).
上記判定で一致した場合は、メモリ49上の優先系状態53に現在設定されている優先系を取得し(ステップS5)、取得された優先系と、同条件データの「優先系状態」の登録データとを比較し、両データが一致するか否かを判定する(ステップS6)。
If they match, the priority system currently set in the
上記判定で一致し、従っていずれかの条件データの「対象電文」、「対象機器」、「受信」、「優先系状態」の各項目の登録データと全て合致した場合は、同条件データの「設定する優先系」項目の設定データとして登録されている優先系をメモリ49上の優先系状態53に設定(更新)する(ステップS7)。また、同条件データの「コマンド」項目に登録されているコマンドが存在する場合(ステップS8)、そのコマンドを実行する(ステップS9)。コマンド実行により、電文送信が行われる。なお、このコマンドについては、本実施形態では、使用していない。
If it matches in the above judgment and therefore matches all the registered data of each item of “target message”, “target device”, “reception”, “priority status” of any condition data, The priority system registered as the setting data of the “priority system to be set” item is set (updated) in the
次に、図5を参照して、POS端末A、B(10、20)と計量機1〜3(31〜33)との間のデータ通信のシーケンスを説明する。
Next, the sequence of data communication between the POS terminals A and B (10, 20) and the weighing
図5は、縦軸に時間、横方向はデータの向きを記すことで、時系列なデータ通信の様子を表す。なお、図5の例では、S1は、POS端末A(10)と接続される従局RS485ネットワークインタフェース44、S2:POS端末B(20)と接続される従局RS485ネットワークインタフェース45、Mは、計量機1〜3(31〜33)と接続する主局RS485ネットワークインタフェース46をそれぞれ示す。
FIG. 5 shows a state of time-series data communication by indicating time on the vertical axis and data direction on the horizontal direction. In the example of FIG. 5, S1 is a slave
ここでは、POS端末A(10)から給油指示電文が送信された時点から、優先系が決定され、その後、計量機1(31)から給油終了電文が送信され、優先系が解除されるまでの制御シーケンスを説明する。 Here, the priority system is determined from the time when the refueling instruction message is transmitted from the POS terminal A (10), and then the refueling end message is transmitted from the measuring machine 1 (31) until the priority system is released. A control sequence will be described.
まず、給油客により屋外端末A1(11)から給油操作が行われた場合を考える。この場合、屋外端末A1(11)に接続されたPOS端末A(10)から計量機1(31)に向けた給油許可電文が送信される(ステップS11)。この給油許可電文は、POS端末A(10)から2系統制御システム40の従局RS485ネットワークインタフェース44(S1)にて受信される。この時点で、2系統制御システム40のメモリ49上の優先系状態53には、優先系は設定されていないため、上記の給油許可電文は、主局RS485ネットワークインタフェース46(M)を介して計量機1(11)へ送信される(ステップS12)。
First, consider a case where a refueling operation is performed from the outdoor terminal A1 (11) by a refueling customer. In this case, a refueling permission message directed to the weighing machine 1 (31) is transmitted from the POS terminal A (10) connected to the outdoor terminal A1 (11) (step S11). This refueling permission message is received from the POS terminal A (10) by the slave RS485 network interface 44 (S1) of the two-
次いで、2系統制御システム40にて、上記で受信した給油許可電文に対し、図3に示す条件テーブル52を参照し、図4に示す優先系設定処理を行う(ステップS13)。この場合、「対象電文」が「給油許可」、「対象機器」が「計量機」、「受信」が「系1」、「優先系状態」が「設定なし」に該当するため、条件データ1の登録データと合致している。従って、上記の優先系設定処理にて、優先系として条件データ1の「設定する優先系」項目の登録データである「系1」が決定され、メモリ49上の優先系状態53に設定される。
Next, the two-
次いで、計量機1(31)にて給油が開始されると、POS端末A(10)に向けて給油開始電文が送信される(ステップS14)。この給油開始電文は、計量機1(31)から2系統制御システム40の主局RS485ネットワークインタフェース46(M)にて受信される。この時点では、2系統制御システム40のメモリ49上の優先系状態53には、優先系として「系1」が設定されているため、従局RS485ネットワークインタフェース44(S1)を介して系1に対応するPOS端末A(10)に送信される(ステップS15)。
Next, when refueling is started in the weighing machine 1 (31), a refueling start message is transmitted to the POS terminal A (10) (step S14). This refueling start message is received from the measuring machine 1 (31) by the main station RS485 network interface 46 (M) of the two-
次いで、2系統制御システム40にて、上記で受信した給油開始電文に対し、図3に示す条件テーブル52を参照して、図4に示す優先系設定処理が実行される(ステップS16)。この場合、給油開始電文が、条件データ1〜4の「対象電文」のいずれにも合致しないため、メモリ49上の優先系状態53に設定されている優先系は、現状態である「系1」が継続される。
Next, in the two-
その後、屋外端末B1(21)にて給油指示操作が行われた場合を考える。この場合、POS端末B(20)からの給油許可電文が2系統制御システム40の従局RS485ネットワークインタフェース45(S2)にて受信される(ステップS17)。この時点で、メモリ49上の現在の優先系状態53は「系1」であるため、受信された給油許可電文は、計量機1(31)には送信されない。また、2系統制御システム40にて、図3に示す条件テーブル52を参照して、図4に示す優先系設定処理も行われる(ステップS18)。この優先系設定処理では、「対象電文」が「給油許可」、「対象機器」が「計量機」、「受信」が「系1」までは条件データ3に合致するが、同条件データ3の「優先系状態」が「設定なし」に対し、メモリ49上の現在の優先系状態53は「系1」に設定されているため、優先系についても、現状態である「系1」が継続される。
Then, the case where refueling instruction | indication operation is performed in outdoor terminal B1 (21) is considered. In this case, the refueling permission message from the POS terminal B (20) is received by the slave RS485 network interface 45 (S2) of the two-system control system 40 (step S17). At this time, since the current
更に、屋外端末B1(21)にて給油指示取消操作が行われた場合を考える。この場合、POS端末B(21)からの給油取消電文が2系統制御システム40の従局RS485ネットワークインタフェース45(S2)にて受信される(ステップS19)。この時点で、メモリ49上の現在の優先系状態53は「系1」であるため、受信された給油許可電文は、計量機1(31)には送信されない。また、2系統制御システム40にて、図3に示す条件テーブル52を参照して、図4に示す優先系設定処理も行われる(ステップS20)。この場合、給油取消電文が、条件データ1〜4の「対象電文」のいずれにも合致しないため、メモリ49上の優先系状態53に設定されている優先系は、現状態である「系1」が継続される。
Further, consider a case where a refueling instruction cancellation operation is performed at the outdoor terminal B1 (21). In this case, the refueling cancellation message from the POS terminal B (21) is received by the slave RS485 network interface 45 (S2) of the two-system control system 40 (step S19). At this time, since the current
次いで、計量機1(31)にて給油を終了すると、POS端末A(11)に向けて給油終了電文が送信される(ステップS21)。この給油終了電文は、2系統制御システム40の主局RS485ネットワークインタフェース46(M)にて受信される。この時点で、メモリ49上の現在の優先系状態53は「系1」に設定されているため、上記の給油許可電文は、従局RS485ネットワークインタフェース44(S1)を介して系1に対応するPOS端末A(11)に送信される(ステップS22)。
Next, when refueling is completed in the weighing machine 1 (31), a refueling end message is transmitted to the POS terminal A (11) (step S21). This refueling end message is received by the main station RS485 network interface 46 (M) of the two-
次いで、2系統制御システム40にて、図3に示す条件テーブル52を参照して、図4に示す優先系設定処理が行われる(ステップS23)。この場合、「対象電文」が「給油終了」、「対象機器」が「計量機」、「受信」が「系1」、「優先系状態」が「系1」に該当するため、条件データ2の登録データと合致している。従って、上記の優先系設定処理にて、優先系として条件データ2の「設定する優先系」項目の登録データである「設定なし」が決定され、メモリ49上の優先系状態53に設定される。
Next, in the two-
なお、上述の優先系は、POS端末A、B(10、20)及び単一のRS485機器(計量機)間で管理されるため、複数機器における排他制御の重複はない。 In addition, since the above-mentioned priority system is managed between the POS terminals A and B (10, 20) and a single RS485 device (metering device), there is no duplication of exclusive control in a plurality of devices.
次に、図1〜図5を参照して、本実施の形態の全体動作を説明する。 Next, the overall operation of the present embodiment will be described with reference to FIGS.
まず、図1に示すセルフガソリンスタンドにおいて、給油客を乗せた車両が3つのレーン1〜3のうちいずれかのレーン1〜3に進入及び停車し、レーン1〜3毎に設置されている屋外端末A1〜A3(11〜13)、B1〜B3(21〜23)で計量機1〜3(31〜33)を給油可能な状態にするための操作を行う。
First, in the self-gas station shown in FIG. 1, a vehicle carrying a refueling customer enters and stops in any one of
屋外端末A1〜A3(11〜13)、B1〜B3(21〜23)は、2系のPOS端末A、B(10、20)に接続される2台がレーン毎に設置されており、給油客が望む決済手段が利用可能な屋外端末A1〜A3(11〜13)、B1〜B3(21〜23)を選択する。決済手段における屋外端末A1〜A3(11〜13)、B1〜B3(21〜23)での操作手順については、本発明に直接関与しないなため、その説明は割愛する。 Two outdoor terminals A1 to A3 (11 to 13) and B1 to B3 (21 to 23) connected to the 2 system POS terminals A and B (10, 20) are installed for each lane. The outdoor terminals A1 to A3 (11 to 13) and B1 to B3 (21 to 23) that can use the payment means desired by the customer are selected. Since the operation procedures at the outdoor terminals A1 to A3 (11 to 13) and B1 to B3 (21 to 23) in the settlement means are not directly related to the present invention, the description thereof is omitted.
次いで、給油客は、屋外端末A1(11)を利用して、給油したい油種(レギュラー、ハイオク、軽油などがある)を指示したとする。このとき、屋外端末A(11)に接続されるPOS端末A(10)から送信される給油許可電文は、2系統制御システム40を通過して計量機1(31)に到達する。これにより、計量機1(31)は給油可能な状態になる(図5:ステップS11、S12)。
Next, it is assumed that the refueling customer uses the outdoor terminal A1 (11) to instruct the type of oil to be refueled (regular, high-octane, light oil, etc.). At this time, the refueling permission message transmitted from the POS terminal A (10) connected to the outdoor terminal A (11) passes through the two-
このとき、2系統制御システム40では、優先系が設定されていないニュートラルな状態の場合、予めどちらの系を有効とするか、もしくは、両系を有効とするための環境設定を保有している。本実施の形態では、優先系が設定されておらず、両系を有効とした環境設定が行われているものとする。
At this time, the two
次いで、2系統制御システム40にて、従局RS485ネットワークインタフェース44及び主局RS485ネットワークインタフェース46を介して通過した給油許可電文のデータを捕捉し、これと、条件テーブル53を基に、前述した優先系設定処理が行われる(図5:ステップS13)。ここで、給油許可状態となった場合、他方のPOS端末B(21)からの計量機制御を抑止したいため、条件テーブル53には、図3の条件データ1、3に示すように、受信した系に対して優先系を設定するための条件が予め格納されている。
Next, the two-
そこで、メモリ49上の優先系状態53には、給油許可電文を受信した系、すなわちPOS端末A(11)に対応する「系1」が優先系として設定される。この優先系は、POS端末A(11)と計量機1(31)間の系であって、他の計量機2、3(32、33)との系については、対象としない。つまり、POS端末B(21)と計量機2、3(32、33)との通信は可能であることを意味する。
Therefore, in the
その後、他の給油客が、操作する屋外端末を間違えて、屋外端末B1(21)を操作した場合を考える。この場合、POS端末B(21)から計量機1(21)へ給油許可電文が送信される。この時点では、メモリ49上の優先系状態53には、優先系としてPOS端末A(11)に対応する「系1」が設定されているため、送信された給油許可電文は2系統制御システム40にて破棄され、計量機1(31)へは到達しない(図5:ステップS17、S18)。この場合、屋外端末B1(21)は、給油指示操作を行っているが、給油指示の取消操作を行うことで、元の状態に戻る(図5:ステップS19、S20)。
Then, consider a case where another refueling customer operates the outdoor terminal B1 (21) by mistakenly operating the outdoor terminal. In this case, a refueling permission message is transmitted from the POS terminal B (21) to the weighing machine 1 (21). At this time, since “
次いで、給油客が計量機1(31)にて給油作業を行い、給油ノズルを計量機1(31)に戻すことで給油を終える。給油が終了すると、計量機1から給油終了電文が送信される(図5:ステップS21)。この給油終了電文は、2系統制御システム40を通過し、優先系が設定されている「系1」に対応するPOS端末A(11)へ送信される(図5:ステップS22)。
Next, the refueling customer performs a refueling operation with the measuring machine 1 (31), and the refueling nozzle is returned to the measuring machine 1 (31) to finish refueling. When refueling is completed, a refueling end message is transmitted from the weighing machine 1 (FIG. 5: step S21). This refueling end message passes through the two-
次いで、2系統制御システム40にて、通過した給油終了電文のデータを捕捉し、条件テーブル53を参照して、優先系設定処理が行われる(図5:ステップS23)。給油終了では、計量機の占有を解除したいため、条件テーブル53には、図3の条件データ2、4に示すように、優先系を解除するための条件が格納されている。そこで、メモリ49上の優先系状態53には「設定なし」が設定され、これにより計量機1(31)への優先系の設定が解除される。
Next, the two-
以上の手順によって、給油客はどちらの屋外端末(POSシステム)を利用しても同一の計量機を使用して給油を可能としている。 With the above procedure, the refueling customer can refuel using the same weighing machine regardless of which outdoor terminal (POS system) is used.
従って、本実施の形態によれば、次のような効果が得られる。 Therefore, according to the present embodiment, the following effects can be obtained.
1)2系のPOSシステムにつき、各々に計量機などのRS485機器を専用に用意する必要がなくなるため、費用においてコスト削減が可能となる(費用効果)。 1) Since there is no need to prepare a dedicated RS485 device such as a weighing machine for each of the two POS systems, it is possible to reduce costs in terms of cost (cost effect).
2)2系のPOSシステムにつき、各々に計量機などのRS485機器を専用に用意する必要がなくなるため、設備の敷設面積において半分ですむことになる(設置面積効果)。 2) Since there is no need to prepare a dedicated RS485 device such as a weighing machine for each POS system, the installation area of the equipment can be halved (installation area effect).
3)従来では、2系のPOSシステムにつき、各々に計量機などのRS485機器を専用に用意する場合、顧客は給油に入ったレーンにて自身の望む決済方法が許容されるPOSシステムと連動していないレーンに入ってしまうことも想定され、その際はその決済が許されるPOSシステムと連動しているレーンへの移動を余儀なくされる。これに対し、本システムを適用すれば、給油に来店された顧客は、その決済方法の如何に関わらずレーンを選択し、そのレーンにおける2系のPOSの何れかから決済を行えるPOSを選択することが可能となる(顧客誘導の簡潔効果)。 3) Conventionally, when RS485 equipment such as a weighing machine is prepared for each of the 2 system POS systems, the customer works in conjunction with the POS system in which the settlement method desired by the customer is allowed in the lane in which refueling is entered. It is also assumed that the vehicle enters a lane that is not, and in that case, it is forced to move to a lane that is linked to a POS system that allows the settlement. On the other hand, if this system is applied, a customer who visits refueling selects a lane regardless of the settlement method, and selects a POS that can perform settlement from one of the two POS systems in the lane. (Convenient effect of customer guidance).
4)従来の店舗構成においては、基本的に一つのPOSシステムにおける制御の元、RS485機器を制御するため、その店舗の運用はそのPOSの仕様に限定される。例として、新しい決済方法や新しいRS485機器を店舗運用において導入したい場合、従来であれば、1)「新しい決済方法や機器を導入されているPOSシステムに対応させる」もしくは、2)「対応している別のPOSを導入しなおす」などの方法が考えられる。しかし、上記1)の方法においては、POSにより改造費用の発生及び、改造自体が受け入れられない可能性があり、この場合、上記1)の方法は適用できない。また、上記2)の方法においては、新しく導入するPOSシステムが前のPOSの機能を全て網羅しているとは限らず、既存のシステムでの必要機能が切り替えるPOSにて満たされないような場合、上記2)の方法は適用できない。こういった事例においても、本システムの適用は有効である。その理由は、既存システムに加え、店舗運用上望まれる機能を具備したPOSシステムを追加で設置することを可能とするため、既存のシステムでの機能要件を損なうことがほぼないためである(運用の多様化可能効果)。 4) In the conventional store configuration, since the RS485 device is basically controlled under the control of one POS system, the operation of the store is limited to the specifications of the POS. For example, if you want to introduce a new payment method or a new RS485 device in store operation, conventionally 1) “Make the new payment method or device compatible with the installed POS system” or 2) “ For example, a method of reintroducing another POS that is already present can be considered. However, in the method 1), the cost of remodeling may be generated by POS and the remodeling itself may not be accepted. In this case, the method 1) cannot be applied. In the above method 2), the newly introduced POS system does not necessarily cover all the functions of the previous POS, and the necessary functions in the existing system are not satisfied by the POS to be switched. The method 2) is not applicable. Even in such cases, the application of this system is effective. The reason is that in addition to the existing system, it is possible to additionally install a POS system having functions desired for store operation, so that the functional requirements of the existing system are hardly impaired (operation Diversification effect).
なお、本実施の形態では、RS485機器として計量機を例として提示したが、電文制御における判断条件の生成次第で、PIF、積算計、油面計、洗車機などのさまざまなRS485機器についても排他、共有制御可能であることの仕組みについて相違はなく、適用可能である。 In the present embodiment, the weighing machine is presented as an example of the RS485 device. However, depending on the generation of judgment conditions in the telegram control, various RS485 devices such as a PIF, a total meter, an oil level meter, and a car wash machine are also excluded. There is no difference in the mechanism of sharing control being possible, and it can be applied.
また、本実施の形態では、ガソリンスタンド向けPOSへの適用を示しているが、上記方式による機器制御を行う限り、ガソリンスタンド向けPOS以外においても適用は可能である。 Further, in the present embodiment, application to a POS for a gas station is shown. However, as long as device control is performed by the above method, the present invention can be applied to a POS other than a POS for a gas station.
さらに、本実施の形態では、2系のPOSシステムから同一機器への制御を示しているが、本発明は2系に限定されず、3系以上でも適用可能である。 Furthermore, in the present embodiment, control from a 2-system POS system to the same device is shown, but the present invention is not limited to 2-system and can be applied to 3 or more systems.
本発明によれば、RS485におけるポーリング/セレクティング方式で機器制御を行うPOSシステムへの適用が可能である。 According to the present invention, the present invention can be applied to a POS system that performs device control by the polling / selecting method in RS485.
10 POS端末A(主局A)
11〜13 POS端末A1〜A3
14 POS−屋外端末系ネットワーク
15 主局RS485ネットワークインタフェース(POS端末A)
20 POS端末B(主局B)
21〜23 POS端末B1〜B3
24 POS−屋外端末系ネットワーク
25 主局RS485ネットワークインタフェース(POS端末B)
31〜33 計量機1〜3(従局1〜3)
40 2系統制御システム
41〜43 RS485系ネットワークケーブル
44、45 従局RS485ネットワークインタフェース(2系統制御システム)
46 主局RS485ネットワークインタフェース(2系統制御システム)
47 CPU
48 主記憶装置
49 メモリ
50 OS
51 2系統制御プログラム
52 条件テーブル
53 優先系状態
54 RS485データ送受信プログラム
10 POS terminal A (main station A)
11-13 POS terminals A1-A3
14 POS-
20 POS terminal B (main station B)
21-23 POS terminals B1-B3
24 POS-
31-33 Weighing machines 1-3 (slave stations 1-3)
40 2 system control system 41-43 RS485
46 Main station RS485 network interface (2 system control system)
47 CPU
48
51 Two-
Claims (6)
ポーリング/セレクティング動作の主局として機能する第2のPOS端末と、
ポーリング/セレクティング動作の従局として機能する制御対象機器と、
前記第1及び第2のPOS端末と、前記制御対象機器との間で、ポーリング/セレクティング動作による電文の授受を制御するPOS制御システムとを備え、
前記POS制御システムは、
前記第1のPOS端末に通信可能に接続され、当該第1のPOS端末の従局として機能する第1の従局インタフェースと、
前記第2のPOS端末に通信可能に接続され、当該第2のPOS端末の従局として機能する第2の従局インタフェースと、
前記制御対象機器に通信可能に接続され、当該制御対象機器の主局として機能する主局インタフェースと、
前記第1及び第2のPOS端末の一方と前記制御対象機器との間で、前記ポーリング/セレクティング動作により所定の電文を授受する際、所定の制御シーケンスが完了するまでの間、前記第1及び第2のPOS端末の一方を優先系として設定する優先系設定手段と、
前記優先系設定手段により設定された優先系に基づいて、前記第1及び第2のPOS端末と前記制御対象機器との間で、前記第1及び第2の従局インタフェースと、前記主局インタフェースとを介して、前記電文を排他的に振り分けて送受信し、前記POS端末のうち、優先系として設定されていない前記POS端末からの前記制御対象機器への電文は送信しない電文送受信手段とを有することを特徴とするPOSシステム。 A first POS terminal functioning as a main station for polling / selecting operation;
A second POS terminal functioning as a main station for polling / selecting operation;
A controlled device that functions as a slave station for polling / selecting operation;
A POS control system for controlling transmission and reception of telegrams by polling / selecting operations between the first and second POS terminals and the control target device;
The POS control system is
A first slave station interface communicably connected to the first POS terminal and functioning as a slave station of the first POS terminal;
A second slave station interface communicably connected to the second POS terminal and functioning as a slave station of the second POS terminal;
A main station interface that is communicably connected to the control target device and functions as a main station of the control target device;
When a predetermined telegram is exchanged by the polling / selecting operation between one of the first and second POS terminals and the device to be controlled, the first control sequence is completed until a predetermined control sequence is completed. And priority system setting means for setting one of the second POS terminals as a priority system;
Based on the priority system set by the priority system setting means, the first and second slave station interfaces, the master station interface, between the first and second POS terminals and the control target device, The electronic message is transmitted and received exclusively via the network, and a message transmission / reception unit that does not transmit a message from the POS terminal that is not set as a priority system to the control target device among the POS terminals is provided. POS system characterized by
前記第1及び第2のPOS端末のいずれか一方に対応する優先系の設定データを格納する格納部と、
前記優先系を設定するための条件データを登録する条件テーブルと、
前記第1の従局インタフェース、前記第2の従局インタフェース、又は前記主局インタフェースを介して受信された受信電文のデータと、前記格納部に格納されている現在の優先系の設定データと、前記条件テーブルに登録されている条件データとに基づいて前記優先系を決定する手段と、
決定された優先系を、前記優先系の設定データとして前記格納部に設定する手段とを有することを特徴とする請求項1記載のPOSシステム。 The priority system setting means includes:
A storage unit for storing priority setting data corresponding to one of the first and second POS terminals;
A condition table for registering condition data for setting the priority system;
Received telegram data received via the first slave interface, the second slave interface, or the master interface; current priority system setting data stored in the storage; and the condition Means for determining the priority system based on condition data registered in a table;
2. The POS system according to claim 1, further comprising means for setting the determined priority system in the storage unit as the priority system setting data.
前記第2のPOS端末の従局として機能する第2の屋外端末とをさらに有し、
前記制御対象機器は、RS485機器であることを特徴とする請求項1又は2に記載のPOSシステム。 A first outdoor terminal that functions as a slave station of the first POS terminal;
A second outdoor terminal that functions as a slave station of the second POS terminal;
The POS system according to claim 1, wherein the control target device is an RS485 device.
ポーリング/セレクティング動作の主局として機能する第2のPOS端末と、
ポーリング/セレクティング動作の従局として機能する制御対象機器とを有するPOSシステムで用いられ、前記第1及び第2のPOS端末と、前記制御対象機器との間で、ポーリング/セレクティング動作による電文の授受を制御するPOS制御システムであって、
前記第1のPOS端末に通信可能に接続され、当該第1のPOS端末の従局として機能する第1の従局インタフェースと、
前記第2のPOS端末に通信可能に接続され、当該第2のPOS端末の従局として機能する第2の従局インタフェースと、
前記制御対象機器に通信可能に接続され、当該制御対象機器の主局として機能する主局インタフェースと、
前記第1及び第2のPOS端末の一方と前記制御対象機器との間で、前記ポーリング/セレクティング動作により所定の電文を授受する際、所定の制御シーケンスが完了するまでの間、前記第1及び第2のPOS端末の一方を優先系として設定する優先系設定手段と、
前記優先系設定手段により設定された優先系に基づいて、前記第1及び第2のPOS端末と前記制御対象機器との間で、前記第1及び第2の従局インタフェースと、前記主局インタフェースとを介して、前記電文を排他的に振り分けて送受信し、前記POS端末のうち、優先系として設定されていない前記POS端末からの前記制御対象機器への電文は送信しない電文送受信手段とを有することを特徴とするPOS制御システム。 A first POS terminal functioning as a main station for polling / selecting operation;
A second POS terminal functioning as a main station for polling / selecting operation;
Used in a POS system having a control target device functioning as a slave station for polling / selecting operation, and a message by a polling / selecting operation is transmitted between the first and second POS terminals and the control target device. A POS control system for controlling exchange,
A first slave station interface communicably connected to the first POS terminal and functioning as a slave station of the first POS terminal;
A second slave station interface communicably connected to the second POS terminal and functioning as a slave station of the second POS terminal;
A main station interface that is communicably connected to the control target device and functions as a main station of the control target device;
When a predetermined telegram is exchanged by the polling / selecting operation between one of the first and second POS terminals and the device to be controlled, the first control sequence is completed until a predetermined control sequence is completed. And priority system setting means for setting one of the second POS terminals as a priority system;
Based on the priority system set by the priority system setting means, the first and second slave station interfaces, the master station interface, between the first and second POS terminals and the control target device, through the transmit and receive are distributed exclusively of the telegram, among the POS terminals, message to the control target device from the POS terminal that is not set as a priority system that has a message receiving means does not transmit POS control system characterized by
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005192026A JP4516896B2 (en) | 2005-06-30 | 2005-06-30 | POS system and its POS control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005192026A JP4516896B2 (en) | 2005-06-30 | 2005-06-30 | POS system and its POS control system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2007011705A JP2007011705A (en) | 2007-01-18 |
| JP4516896B2 true JP4516896B2 (en) | 2010-08-04 |
Family
ID=37750112
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2005192026A Expired - Lifetime JP4516896B2 (en) | 2005-06-30 | 2005-06-30 | POS system and its POS control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4516896B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4535966B2 (en) * | 2005-08-18 | 2010-09-01 | トキコテクノ株式会社 | Fuel supply system |
| CN108428308B (en) * | 2018-04-25 | 2024-02-02 | 福建升腾资讯有限公司 | Single-board safety protection device of double-CPU intelligent POS machine |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6352293A (en) * | 1986-08-21 | 1988-03-05 | カシオ計算機株式会社 | Data transmission method |
| JP2002032866A (en) * | 2000-07-14 | 2002-01-31 | Sharp Corp | Control system for sales data |
| JP2002175270A (en) * | 2000-12-06 | 2002-06-21 | Mitsubishi Electric Corp | Exclusive control of bus |
-
2005
- 2005-06-30 JP JP2005192026A patent/JP4516896B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2007011705A (en) | 2007-01-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106257420B (en) | Method for updating ECU using differential update package | |
| US10027672B2 (en) | Access restriction device, on-board communication system and method for communication restriction | |
| KR101675885B1 (en) | Method and system for operating parkingspace autonomous smart car | |
| US6801835B2 (en) | System and method for controlling an automated fueling station | |
| CN112532678B (en) | In-vehicle control device, information processing device, network system for vehicle, application program providing method, and non-volatile storage medium | |
| WO2014088740A2 (en) | Electric vehicle charging station, system, and methods | |
| CN103166821A (en) | Method, device and system capable of achieving serial port communication | |
| JP2019102055A (en) | Parking management device, parking management system and parking management method | |
| JP2013027204A (en) | Method for charging electric vehicle and its facility | |
| CN100552726C (en) | System and method for group control of ticket checking equipment | |
| JP2016094158A (en) | Vehicle information distribution system | |
| US20220231997A1 (en) | Setting device, communication system, and vehicle communication management method | |
| JP4516896B2 (en) | POS system and its POS control system | |
| WO2008030738A1 (en) | Vehicle identification system | |
| JP2016139399A (en) | Control means, in-vehicle program rewriting device equipped with the same, and in-vehicle program rewriting method | |
| JP2013137597A (en) | Parking lot management system | |
| CN104363284A (en) | Reservation providing method of mobile application and service base station thereof | |
| CN113064650A (en) | Loading system of avionics equipment for heterogeneous bus interconnection | |
| JP4621963B2 (en) | Information processing system, information processing apparatus, and information processing method | |
| CN110943760A (en) | Dual-network communication method, device, equipment and readable storage medium | |
| JP2023131710A (en) | Software update system and software update method | |
| JPH1191892A (en) | Gas station management system | |
| KR102689894B1 (en) | Vehicle and vehicle diagnosis method | |
| JP2019046352A (en) | Station service equipment, station service system, and settlement processing method | |
| JP2000339581A (en) | Vehicle rental system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070816 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20080520 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091120 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091126 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100121 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20100506 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100517 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4516896 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130521 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140521 Year of fee payment: 4 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| EXPY | Cancellation because of completion of term |