JPH0630110B2 - Taxi operation data collection device - Google Patents
Taxi operation data collection deviceInfo
- Publication number
- JPH0630110B2 JPH0630110B2 JP30792986A JP30792986A JPH0630110B2 JP H0630110 B2 JPH0630110 B2 JP H0630110B2 JP 30792986 A JP30792986 A JP 30792986A JP 30792986 A JP30792986 A JP 30792986A JP H0630110 B2 JPH0630110 B2 JP H0630110B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- time
- business
- tariff
- time series
- 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
- 238000013480 data collection Methods 0.000 title claims description 22
- 238000005259 measurement Methods 0.000 claims description 23
- 230000004044 response Effects 0.000 claims description 12
- 238000013500 data storage Methods 0.000 claims description 9
- 238000000034 method Methods 0.000 description 66
- 238000012545 processing Methods 0.000 description 34
- 230000006870 function Effects 0.000 description 31
- 230000005540 biological transmission Effects 0.000 description 30
- 238000010586 diagram Methods 0.000 description 11
- 238000001514 detection method Methods 0.000 description 4
- 235000014676 Phragmites communis Nutrition 0.000 description 3
- 238000003780 insertion Methods 0.000 description 3
- 230000037431 insertion Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000029305 taxis Effects 0.000 description 2
- 229910017435 S2 In Inorganic materials 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 230000004397 blinking Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07B—TICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
- G07B13/00—Taximeters
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Devices For Checking Fares Or Tickets At Control Points (AREA)
- Time Recorders, Dirve Recorders, Access Control (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、タクシーの運行情況に関するデータを収集す
るタクシー運行データ収集装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Industrial field of use] The present invention relates to a taxi operation data collection device for collecting data on taxi operation conditions.
タクシーには、基本料金と一定走行距離毎のじ後料金と
を加算した運賃を計数し表示するタクシーメータが設置
されることになっている。このタクシーメータには、上
述のような基本機能の他に、タクシー会社による運転
者、車両などの管理のための種々の付加機能が付与され
ている。この付加機能は、運転者が一回の営業毎に記録
する乗務日報の集計を行うのに利用するメータ指数デー
タを作成するものである。The taxi is to be equipped with a taxi meter that counts and displays the fare obtained by adding the basic fare and the same fare for each fixed mileage. In addition to the basic functions described above, the taxi meter is provided with various additional functions for managing drivers, vehicles, etc. by taxi companies. This additional function is to create meter index data used by the driver to aggregate daily crew reports recorded for each business.
運転者が作成する乗務日報には、乗客を乗せる毎に、発
時刻、発地、着地、人員、運賃(現金、未収)、運行種
別(無線、呼止など)が記録される。メータ指数データ
は、営業回数の累計、じ後回数の累計、営業距離の累
計、全走行距離の累計、加算料金などからなり、これら
データを格納しているメモリから選択的に読み出し、表
示器に表示させることができるようになっている。そし
て、運転者は1日の運行の始めと終りにこれらのデータ
を読み取り乗務日報に記録し、その差により1日の運行
の集計を簡単に行えるようになっている。In the daily crew report created by the driver, the departure time, departure point, landing point, personnel, fare (cash, unpaid), operation type (radio, call stop, etc.) are recorded each time a passenger is placed. The meter index data consists of the total number of times of business, the total number of times after that, the total of operating distance, the total of total mileage, additional charge, etc., which are selectively read from the memory storing these data and displayed on the display unit. It can be displayed. Then, the driver reads these data at the beginning and the end of the daily operation and records them in the daily crew report, and the difference between them makes it easy to total the daily operation.
なお、メータ指数データの記録を運転者に任せ切りにす
ると不正などの発生の原因になりかねないので、運行の
始めと終りの記録と実際のメータ指数データの指示値と
の照合を運転者とは別個の人によって行うようにしてい
る。このような照合作業はタクシー1台毎に行わなけれ
ばならず、車両数が多くなると、専属の要員を確保しな
ければならなくなる。In addition, if you leave the recording of the meter index data to the driver, it may cause fraud, so check the record of the beginning and end of the operation with the actual meter index data indicated value with the driver. Is done by a separate person. Such a collation work must be performed for each taxi, and when the number of vehicles increases, it becomes necessary to secure dedicated personnel.
以上のように、運行データを収集するのに運転者の多く
の労力が必要で、かつ多くの人手を要するなどの欠点が
あった。As described above, there are drawbacks such that a lot of labor is required for the driver to collect the operation data and a lot of manpower is required.
そこで、タクシーメータから各営業の終了毎にメータ指
数データを出力するようにし、該データのうちの運賃デ
ータのみを記憶、蓄積しておき、一日の運行の終了時
に、該蓄積している運賃データとメータ指数データとを
処理して集計しその結果をプリントアウトすることによ
り、運転者の労力を軽減すると共に人手による照合作業
を不用にした装置が例えば特開昭58−200385号
公報において提案されている。Therefore, the taximeter outputs meter index data at the end of each business, only the fare data of the data is stored and stored, and at the end of the day's operation, the stored fare data is stored. An apparatus that reduces the labor of the driver and eliminates the need for manual collation work by processing the data and the meter index data and totaling them and printing out the results is proposed in, for example, Japanese Patent Laid-Open No. 58-200385. Has been done.
ところで、運転者は1日の運行を終えて入庫したとき、
上記提案の装置によって総営収金額を知り、該金額と手
持ちの現金を照合して誤りがないことを確認した上で、
事務所の経理に納金することになっている。しかし、乗
客のなかには現金でなく、チケットやクレジットカード
で運賃を支払う人がいる。このような場合、現金と総営
収金額が一致しなくなり、照合作業が面倒になる。By the way, when the driver finished the day's operation and entered the parking lot,
After knowing the total revenue amount by the above-mentioned proposed device and checking that there is no error by collating the amount with the cash on hand,
Payment is to be made to the accounting of the office. However, some passengers pay the fare with tickets or credit cards instead of cash. In such a case, the cash and the total revenue will not match, and the collation work will be troublesome.
そこで本発明は上述した点に鑑みてなされたもので、タ
クシーの各営業毎の運行データと共に運賃の現収及び未
収の別を示すデータをも収集できるようにしたタクシー
運行データ収集装置を提供しようとするものである。Therefore, the present invention has been made in view of the above points, and provides a taxi operation data collection device capable of collecting operation data for each business of taxis as well as data indicating whether a fare is currently received or not. It is what
上記問題点を解決するため本発明によりなされたタクシ
ー運行データ収集装置は、第1図の基本構成図に示すよ
うに、タクシーの一定距離の走行毎に1個の距離パルス
を発生する走行センサ4と、タクシーのタリフ状態を切
換えるタリフ切換手段1bと、運賃未収時に操作される
未収情報入力手段2eと、前記走行センサ4からの距離
パルス及び前記タリフ切換手段1bのタリフ状態によ
り、タクシーの運行状況を計測し、該計測結果を前記タ
リフ切換手段1bの空車タリフ状態への切換えに応じて
運賃データを含む運行データとして発生する運行データ
発生手段1aと、前記タリフ切換手段1bが空車タリフ
以外の営業タリフ状態にあるときの前記未収情報入力手
段2eの操作に応じて未収を示す情報を発生する未収情
報発生手段2a−1と、前記タリフ切換手段1bの空車
タリフ状態への切換えに応じて、前記運行データ発生手
段1aが発生する運行データと前記未収情報発生手段2
a−1が発生する未収情報を含む1営業の営業時系列デ
ータを作成する営業時系列データ作成手段2a−2と、
該営業時系列データ作成手段2a−2により作成された
営業時系列データが順次格納される時系列データ記憶手
段2bと、前記タリフ切換手段1bが空車タリフ状態に
あるときの前記未収情報入力手段2eの操作に応じて、
前記時系列データ記憶手段2a−2に記憶されている最
後の前記営業時系列データに未収を示す情報を付加する
未収情報書込手段2a−3と、前記時系列データ記憶手
段2bに格納されている開業時系列データをデータ要求
に応じて読み出し出力する出力手段2a−4とを備える
ことを特徴としている。As shown in the basic configuration diagram of FIG. 1, a taxi operation data collection device made according to the present invention to solve the above-mentioned problems, a traveling sensor 4 that generates one distance pulse for each traveling of a certain distance of a taxi. , The tariff switching means 1b for switching the tariff status of the taxi, the uncollected information input means 2e operated when the fare is unpaid, the distance pulse from the travel sensor 4 and the tariff status of the tariff switching means 1b, whereby the taxi operation status Operation data generating means 1a for generating the operation result as operation data including fare data in accordance with the switching of the tariff switching means 1b to the empty vehicle tariff state, and the tariff switching means 1b for sales other than the empty vehicle tariff. The unpaid information generating means 2a-1 which generates information indicating unpaid money according to the operation of the unpaid information input means 2e in the tariff state. The tariff switching means 1b according to switching to the unladen tariff state of the the operational data the operational data generating unit 1a generates unsettled information generating means 2
A business time series data creating means 2a-2 for creating business time series data of one business including uncollected information generated by a-1;
The time-series data storage means 2b in which the business time-series data created by the business time-series data creation means 2a-2 are sequentially stored, and the uncollected information input means 2e when the tariff switching means 1b is in the empty vehicle tariff state. According to the operation of
Stored in the unsuccessful information writing means 2a-3 for adding information indicating unpaidness to the last business time series data stored in the time series data storage means 2a-2 and the time series data storage means 2b. The present invention is characterized by including output means 2a-4 for reading out and outputting the opening business time series data in response to a data request.
上記構成において、未収情報入力手段2eの操作が営業
中に行われた場合、運行データ発生手段1aが各営業の
終了、すなわち、空車になる毎に発生する運賃データを
含む運行データと共に運賃の未収情報も時系列データ記
憶手段2bに順次格納し、この格納した営業時系列デー
タの全てをデータ要求に応じて出力手段2a−4が出力
する。また、未収情報入力手段2eの操作が営業中に行
われず、営業の終了後に行われた場合でも、未収情報書
込手段2a−3が時系列データ記憶手段2bに記憶され
ている最後の、すなわち、前回の営業時系列データに未
収を示す情報を付加する書き込みを行うようになってい
る。In the above configuration, when the operation of the unpaid information input means 2e is performed during business, the operation data generation means 1a ends each business, that is, the operation data including the fare data generated every time the vehicle becomes vacant, and the fare uncollected. Information is also sequentially stored in the time series data storage means 2b, and all of the stored business time series data is output by the output means 2a-4 in response to a data request. In addition, even when the operation of the uncollected information input unit 2e is not performed during business hours and is performed after the business period ends, the uncollected information writing unit 2a-3 is the last one stored in the time series data storage unit 2b, that is, , The writing is performed by adding information indicating unpayment to the previous business time series data.
従って、上記出力手段2a−4が出力した営業時系列デ
ータを処理することによって、1運行の売上金額と未収
金額を確実に集計することができるようになり、運行終
了後の現金と売上げとの照合を簡単に行うことが可能に
なっている。Therefore, by processing the business time-series data output by the output means 2a-4, the sales amount and unpaid amount of one operation can be surely totaled, and cash and sales after the operation ends. It is possible to collate easily.
以下、本発明によるタクシー運行データ収集装置の実施
例を図に基づいて説明する。An embodiment of a taxi operation data collection device according to the present invention will be described below with reference to the drawings.
第2図はタクシー運行データ収集処理システムの一部と
して構成した本発明によるタクシー運行データ収集装置
の一実施例を示すブロック図である。図において、タク
シー運行データ収集装置は、運行データ発生部1と運行
データ収集部2とを有し、タクシーに搭載される。FIG. 2 is a block diagram showing an embodiment of a taxi operation data collection device according to the present invention which is configured as a part of a taxi operation data collection processing system. In the figure, the taxi operation data collection device has an operation data generation unit 1 and an operation data collection unit 2 and is installed in a taxi.
既存の電子式タクシーメータからなる運行データ発生部
1は、予め定められたプログラムに従って動作して信号
処理などを行う中央処理ユニット(CPU)1a、タク
シーのタリフ状態を切換えるタリフ切換部1b、料金を
表示する料金表示器1c、メータ指数データなどを記憶
するCMOSランダムアクセスメモリ(RAM)からな
るメモリ1d、タリフ状態を表示するウインドサイン3
を駆動するウインドサインドライバ1eなどの他、図示
しない、プログラムや定数などを記憶するリードオンリ
ーメモリ(ROM)、メータ指数データを表示する指数
表示器、該指数表示器に表示する指数データを選択する
選択手段などを有する。The operation data generation unit 1 including an existing electronic taxi meter includes a central processing unit (CPU) 1a that operates according to a predetermined program to perform signal processing, a tariff switching unit 1b that switches a tariff state of a taxi, and a charge. A charge indicator 1c for displaying, a memory 1d composed of a CMOS random access memory (RAM) for storing meter index data and the like, a window sign 3 for displaying a tariff state.
In addition to the wind sign driver 1e for driving, a read-only memory (ROM) (not shown) for storing programs and constants, an index display for displaying meter index data, and index data for display on the index display are selected. It has a selection means.
タリフ切換部1bはタリフを迎車、割増、賃走、空車、
支払などの状態に切換える複数のタリフスイッチからな
り、該タリフ切換部1bにより切換えられたタリフ状態
はCPU1aに入力される。CPU1aには、タクシー
の一定距離の走行毎に1個の距離パルスを発生する走行
センサ4が接続されている。The tariff switching unit 1b accepts tariffs, surcharges, fare, empty cars,
It is composed of a plurality of tariff switches for switching to a payment state, and the tariff state switched by the tariff switching unit 1b is input to the CPU 1a. The CPU 1a is connected to a travel sensor 4 which generates one distance pulse each time a taxi travels a certain distance.
CPU1aは走行センサ4からの距離パルスをタリフ切
換部1bからのタリフ状態信号や予め定められた運賃制
とにより処理して各営業毎の料金を算出して料金表示器
1cに料金を表示させると共に、ウインドサインドライ
バ1eを動作してウインドサイン3にタリフ状態を表示
させる。The CPU 1a processes the distance pulse from the travel sensor 4 by the tariff status signal from the tariff switching unit 1b and a predetermined fare system to calculate the charge for each business and display the charge on the charge display 1c. , The wind sign driver 1e is operated to display the tariff state on the wind sign 3.
CPU1aはまた、各営業の料金を加算した累計、営業
時間の累計、営業走行時間の累計、走行時間の累計、迎
車回数/空転距離の累計、走行距離の累計、営業走行距
離の累計、じ後回数(基本料を越えた度数)の累計、営
業回数の累計などのメータ指数データを作成してメモリ
1dの所定の領域に格納し、これらのメータ指数データ
をタリフ切換部1bの空車タリフ状態への切換えに応じ
て予め定めたフォーマットでシリアルに出力する他、選
択手段によって指数表示器に選択的にその内容を1つづ
つ表示させる。The CPU 1a also sums up the charges of each business, the total of business hours, the total of business travel times, the total of travel times, the total of the number of intercepted vehicles / idling distances, the total of travel distances, the total of business travel distances, and the following. The meter index data such as the total number of times (the number of times exceeding the basic charge) and the total number of business operations is created and stored in a predetermined area of the memory 1d, and these meter index data are put into the empty tariff state of the tariff switching unit 1b. In addition to serially outputting in a predetermined format in accordance with the switching of, the contents are selectively displayed one by one on the index display by the selection means.
なお、CPU1aは上記シリアルデータの出力に先立ち
ストローブ信号を立上げ、これからシリアルデータを出
力することをシリアルデータの受手であるデータ収集部
2に知らせ、また、このシリアルデータの出力は空車タ
リフ状態への切換えがなくても外部からのデータ要求に
応じても行うことができるようになっている。電子式タ
クシーメータ自身は周知であるのでこれ以上の説明は省
略するが、運行データ発生部1からデータ収集部2に伝
送されるメータ指数データのフレーム構成を第3図に示
す。第3図において、メータ指数データは、タクシーメ
ータが搭載されている車両のコード、各営業毎の料金、
当該車両の営業時間、営業走行時間、走行時間、迎車回
数/空転距離、全走行距離、営業走行距離、じ後回数、
営業回数などからなる。The CPU 1a raises the strobe signal prior to the output of the serial data, and notifies the data collection unit 2 which is the recipient of the serial data that the serial data will be output, and the output of the serial data is in the empty tariff state. Even if there is no switching to, it can be performed in response to a data request from the outside. The electronic taxi meter itself is well known and will not be described further, but FIG. 3 shows the frame structure of the meter index data transmitted from the operation data generator 1 to the data collector 2. In Fig. 3, the meter index data is the code of the vehicle equipped with the taxi meter, the charge for each business,
Business hours of the vehicle, business travel time, travel time, number of intercepted vehicles / idling distance, total travel distance, business travel distance, number of times after the same,
It consists of the number of sales.
データ収集部2は、運行データ発生部1が発生する第3
図のデータと、独自に計測して作成するデータとにより
各営業毎のタクシーの運行状況を表わす第4図に示すよ
うな営業時系列データを作成し、これを収集すると共
に、データ要求に応じて該収集した時系列データを出力
する。このために、データ収集部2は予め定めたプログ
ラムに従って動作するCPU2a、時系列データを格納
するCMOS RAMからなるメモリ2b、CPU2a
及びメモリ2bの動作をバックアップするバックアップ
電源2cなどを有する。The data collection unit 2 is the third one generated by the operation data generation unit 1.
Business time-series data as shown in Fig. 4 showing the operation status of taxis for each business is created from the data shown in the figure and the data created by the individual measurement, and this is collected and requested in response to the data request. And outputs the collected time series data. For this purpose, the data collection unit 2 includes a CPU 2a that operates according to a predetermined program, a memory 2b that is a CMOS RAM that stores time series data, and a CPU 2a.
And a backup power supply 2c for backing up the operation of the memory 2b.
データ収集部2はまた未収スイッチ2eを有する。未収
スイッチ2eは当該営業が未収であったか否かをデータ
として収集するためのもので、該スイッチのオンによ
り、当該時系列データの特殊フラグ中の未収ビットに1
がセットされる。尚未収スイッチの操作はACCがオン
で未収ランプ2fが点灯している場合に限られる。そし
て、スイッチ入力が受け付けられると、未収ランプ2f
が消灯する。すなわち、未収ランプ2fが点灯中は未収
スイッチ2eの受付けが可能であることを示し、消灯中
は未収スイッチ2eの受付けが不可であることを示す。
そして、一度未収スイッチ2eが受付けられると未収ラ
ンプ2fが消灯し、次の営業が開始されるまで、点灯さ
れない。The data collection unit 2 also has an uncollected switch 2e. The unearned switch 2e is for collecting as data whether or not the business is unearned, and when the switch is turned on, the unearned bit in the special flag of the time series data is set to 1
Is set. The operation of the uncollected switch is limited to the case where the ACC is on and the uncollected lamp 2f is lit. When the switch input is accepted, the uncollected lamp 2f
Turns off. That is, it means that the uncollected lamp 2f can accept the uncollected switch 2e while the uncollected lamp 2f is on, and it cannot represent the uncollected switch 2e when unlit.
Then, once the uncollected switch 2e is received, the uncollected lamp 2f is turned off and is not turned on until the next business is started.
第4図において、営業時系列データは、運行データ発生
部1からのメータ指数データの他に、各営業の所要時
間、空車停止時間、各タリフ時間、空車停止回数、空車
走行及び停止時間の明細、実車/空車の最高速度、実車
/空車の速度オーバ時間及び回数、並びに特殊フラグな
どからなる。In Fig. 4, the business time-series data is a detailed description of required time for each business, empty vehicle stop time, each tariff time, number of empty vehicle stoppages, empty vehicle travel and stop time, in addition to the meter index data from the operation data generation unit 1. , Actual vehicle / empty vehicle maximum speed, actual vehicle / empty vehicle speed overtime and number of times, and special flag.
CPU2aは、タリフ状態を表わすウインドサイン信
号、走行センサ4からの距離パルス、電子式タクシーメ
ータからなる運行データ発生部1からのストローブ信号
及びシリアルデータを入力し、これらの入力を予め定め
たプログラムに従って信号処理などを行って第4図の営
業時系列データを作成し、この営業時系列データをメモ
リ2bに格納すると共に、出力手段であるプラグ2dを
ターミナル5に挿入したとき発生されるデータ要求信号
に応じてメモリ2bに格納している時系列データをプラ
グ2dを通じてターミナル5に出力する。また、データ
収集部2は、車庫からの出庫時及び出庫への入車時にプ
ラグ2dを通じて入力される要求信号を運行データ発生
部1に送って運行データ発生部1からメータ指数データ
を読み取り、これに基づいて第5図に示すフレーム構成
の出入庫データを作成し、これをメモリ2bに格納す
る。The CPU 2a inputs a wind sign signal indicating a tariff state, a distance pulse from the running sensor 4, a strobe signal and serial data from the operation data generator 1 including an electronic taxi meter, and inputs these according to a predetermined program. A data request signal generated when the business time series data of FIG. 4 is created by performing signal processing, the business time series data is stored in the memory 2b, and the plug 2d which is the output means is inserted into the terminal 5. In response to this, the time series data stored in the memory 2b is output to the terminal 5 through the plug 2d. Further, the data collection unit 2 sends a request signal input through the plug 2d to the operation data generation unit 1 at the time of leaving the garage and at the time of entering the garage to read the meter index data from the operation data generation unit 1, Based on the above, the entry / exit data having the frame structure shown in FIG. 5 is created and stored in the memory 2b.
第5図において出入庫データは、所要時間、入力フラグ
がある他は、第3図のメータ指数データとほぼ同一であ
る。In FIG. 5, the entry / exit data is almost the same as the meter index data in FIG. 3 except for the required time and the input flag.
以上により、外部からの要求により記憶部2bから読み
出されプラグ2dを通じてターミナル5送出される時系
列データは第6図に示すようなフレーム構成となってい
る。すなわち、ターミナル5に伝送される時系列データ
は、データの先頭を表わすヘッダに続く出庫データ及び
入庫データ、営業の順に並んだ営業時系列データ1〜
n、水平パリティ、そしてデータの終端を表わすエンド
マークからなる。As described above, the time-series data read from the storage unit 2b and transmitted to the terminal 5 through the plug 2d in response to a request from the outside has a frame structure as shown in FIG. That is, the time-series data transmitted to the terminal 5 includes the delivery data and the receipt data following the header indicating the beginning of the data, and the business time-series data 1 to 1 arranged in the order of business.
n, horizontal parity, and an end mark indicating the end of data.
ターミナル5に伝送された時系列データは、図示しない
他のターミナルからのものと一緒に中継器6に一時的に
集められ、事務所内に設けられる図示しない例えば、オ
フィスコンピュータなどによるデータ処理にかけられ、
このことによりタキシー会社の全車両についての一日の
運行状況を把握することが可能となる。The time-series data transmitted to the terminal 5 is temporarily collected in the repeater 6 together with data from other terminals (not shown) and subjected to data processing by, for example, an office computer (not shown) provided in the office,
This makes it possible to understand the daily operating status of all vehicles of the taxi company.
データ収集部2のCPU2aは、予め定めたプログラム
に従って動作し、指数データ読出し機能、時系列データ
書込み機能、時系列データプラグ出力機能、所要時間計
測機能、空車停止時間計測機能、空車、停止明細の計測
機能、空車、停止回数計測機能、実車/空車最高速度の
計測機能、実車/空車スピードオーバー時間の計測機
能、実車/空車スピードオーバー回数の計測機能、タリ
フ時間計測機能、未収スイッチ処理機能を有するように
なっている。The CPU 2a of the data collection unit 2 operates according to a predetermined program, and has an index data reading function, a time series data writing function, a time series data plug output function, a required time measuring function, an empty vehicle stop time measuring function, an empty vehicle, and a stop specification. Measurement function, empty vehicle, stop frequency measurement function, actual vehicle / empty vehicle maximum speed measurement function, actual vehicle / empty vehicle speed over time measurement function, actual vehicle / empty vehicle speed over frequency measurement function, tariff time measurement function, unpaid switch processing function It is like this.
以上の機能を以下順に説明する。The above functions will be described below in order.
(指数データ読出し機能) 指数データの読出しは、タクシーメータのタリフが空車
タリフ状態になった時点で運行データ発生部1が指数デ
ータの出力に先立ちストローブ信号を発生するので、デ
ータ要求を出力することなくストローブ信号の入力に応
じて行うが、空車時にプラグ2dがターミナル5のジャ
ック5aに挿入されたときには、データ要求を出力して
運行データ発生部1に指数データを発生させて読出す。
また、読出したデータにエラーがあった場合には、所定
回数まで再読出しを行う。(Index data read function) To read the index data, output the data request because the operation data generator 1 generates a strobe signal before the index data is output when the taxi meter tariff becomes empty. However, when the plug 2d is inserted into the jack 5a of the terminal 5 when the vehicle is empty, a data request is output and the operation data generating unit 1 generates and reads the index data.
If the read data has an error, the data is read again a predetermined number of times.
(時系列データ書込み機能) 時系列データは、第6図について上述したように、出庫
データ、入庫データ、及び各営業毎に作られる営業時系
列データからなる。出庫データは、前回の入庫データと
同一内容で、プラグイン後の最初の営業開始時に作られ
る。入庫データはプラグイン時に作られ、その時点のメ
ータ指数データ及び所要時間などで構成されている。営
業時系列データは、各営業の終了時に作られ、メータ指
数、所要時間、空車停止時間などで構成される。(Time-series data writing function) The time-series data is composed of shipping data, receipt data, and business time-series data created for each business as described above with reference to FIG. The delivery data has the same content as the previous delivery data, and is created at the start of the first business after the plug-in. The warehousing data is created at the time of plug-in, and is composed of the meter index data and the required time at that time. The business time-series data is created at the end of each business and is composed of a meter index, required time, idle time, etc.
メモリ2bは例えば記憶可能最大データ数例えば営業1
00回分の容量を有する。The memory 2b has, for example, the maximum number of data that can be stored, for example, sales 1
It has a capacity of 00 times.
(時系列データプラグ出力機能) タクシーのイグニッションキーのACCオン状態で空車
時のときプラグ2dがターミナル5のジャック5aに挿
入されると、それまでメモリ2bに格納されていたデー
タが入庫データと共にプラグ2dを通じてターミナル5
に伝送される。なお、プラグ2dが差込まれている間デ
ータは繰返し送出される。(Time-series data plug output function) When the plug 2d is inserted into the jack 5a of the terminal 5 when the taxi ignition key is in the ACC ON state and the car is empty, the data stored in the memory 2b until then is plugged together with the receipt data. Terminal 5 through 2d
Be transmitted to. The data is repeatedly sent while the plug 2d is inserted.
(所要時間計測機能) 第7図に示すように、入庫データでの所要時間は、最終
営業の終りからプラグインまでの時間とする。初回の営
業時系列データでの所要時間は、最終プラグインから初
回営業の終りまでの時間とする。その他の営業時系列デ
ータでの所要時間は、前回営業の終りから今回営業の終
りまでの時間とする。なお、最終プラグインの判断は初
回営業開始の時点で行う。(Required time measurement function) As shown in FIG. 7, the required time in the receipt data is the time from the end of the final business to the plug-in. The time required for the first business time series data is the time from the final plug-in to the end of the first business. The time required for other business time series data is the time from the end of the previous business to the end of this business. The final plug-in will be judged when the first business starts.
時間計測は、1秒クロックを基本クロックとしたソフト
ウエアカウンタにより行う。ソフトウエアカウンタは、
例えば60秒カウンタ(前段)とBCDカウンタ(後段
−最大9999分)で構成され、計測時間が9999分
を越えた場合は0分から継続カウントする。データ読出
しは分単位のデータのみとし、秒単位のデータは切り捨
てられる。Time measurement is performed by a software counter that uses a 1-second clock as a basic clock. The software counter is
For example, it is composed of a 60-second counter (first stage) and a BCD counter (second stage-maximum 9999 minutes). When the measurement time exceeds 9999 minutes, continuous counting is performed from 0 minute. Data is read only in minutes, and seconds are truncated.
実際の所要時間の算出は前回BCDカンウタメモリを使
用し、今回カウンタ値と前回カウンタ値の差を求めるこ
とにより行う。これは毎回の営業での切り捨て分を蓄積
しないためである。前回カウンタ値は営業終了時の算出
処理後及びプラグイン処理後今回カウンタ値で更新され
る。ソフトウエアカウンタのクリアは、初回営業終了時
点で行われる。以上により、営業毎に−1〜+1分の誤
差を生じるが、1運行でのトータル誤差も−1〜+1分
の範囲内におさめることができる。The actual required time is calculated by using the previous BCD counter memory and calculating the difference between the present counter value and the previous counter value. This is because the rounded down portion of each business is not accumulated. The previous counter value is updated with the current counter value after the calculation process at the end of business and after the plug-in process. The software counter is cleared at the end of the first business. As a result, an error of -1 to +1 minutes occurs for each business, but the total error in one operation can be kept within the range of -1 to +1 minute.
(空車停止時間計測機能) 空車停止時間を以下のように定義する。(Vacancy stop time measurement function) The idle car stop time is defined as follows.
1運行における初回の営業時系列データの場合(出庫デ
ータ)、出庫時に行う最終プラグインから初回の営業終
了までの間の空車での停止時間の総和とする。In the case of the first business time-series data in one operation (departure data), it is the total stop time in the empty vehicle from the last plug-in performed at the time of departure to the first business end.
1運行における最終営業終了からプラグインまでの場合
(入庫データ)、最終営業終了からプラグインまでの間
の空車での停止時間の総和とする。In the case of from the last business close to the plug-in in one operation (warehousing data), it is the total stop time in the empty car from the last business close to the plug-in.
プラグインからプラグインまでの場合、すなわちプラグ
インが複数間続くときは、プラグインからプラグインま
での間の空車での停止時間の総和とする。In the case of a plug-in to a plug-in, that is, when the plug-in continues for a plurality of times, the total stop time in an empty vehicle from the plug-in to the plug-in is used.
その他の営業時系列データの場合、前回の営業終了から
今回営業終了までの間の空車での停止時間の総和とす
る。In case of other business time series data, it is the total stop time in the empty vehicle from the last business closing to the current business closing.
なお、1運行とは出庫から入庫までのことを云い、本例
では前運行の最終プラグインから最終営業直後のプラグ
インまでとなる。また、停止は停止判定基準時間以上の
連続停止を意味する。It should be noted that one operation means from delivery to receipt, and in this example, from the last plug-in of the previous operation to the plug-in just after the last operation. Further, stop means continuous stop for a stop determination reference time or longer.
停止判定基準時間は、例えば0,1,2,3,5,1
0,15,20,25,30,35,40,45,5
0,55,60分の系16種類の設定が可能である。The stop determination reference time is, for example, 0, 1, 2, 3, 5, 1
0,15,20,25,30,35,40,45,5
It is possible to set 16 kinds of system for 0, 55, 60 minutes.
時間計測は空車での単純停止であることを条件として6
0秒カウンタ(1秒クロックのソフトウエアによるカウ
ンタ)とBCDカウンタ(BCD4桁−最大9999
分)により行う。1秒間に走行センサ4から1個以上の
距離パルスの入力があれば、次の1秒間を走行すること
から、単純停止とは1秒間に走行センサ4からのパルス
がない状態をいう。計測時間が9999分を越えたとき
には、0分から継続カウントする。Time measurement is based on the condition that it is a simple stop with an empty car. 6
0 second counter (1 second clock software counter) and BCD counter (4 digits BCD-9999 maximum)
Minutes). If one or more distance pulses are input from the travel sensor 4 in one second, the vehicle travels for the next one second. Therefore, simple stop means a state in which there is no pulse from the travel sensor 4 in one second. When the measurement time exceeds 9999 minutes, counting is continued from 0 minutes.
空車停止時間の当該営業時系列データへのセットは、各
営業の終了時点で行われ、その際分単位でカウントされ
たBCDカウント値をそのまま記録する。従って、秒単
位のデータは無視されることになる。また、記録後BC
Dカウンタはクリアされるが、60秒カウンタはクリア
されない。The empty vehicle stop time is set in the business time series data at the end of each business, and the BCD count value counted in minutes is recorded as it is. Therefore, the data in units of seconds will be ignored. Also, after recording BC
The D counter is cleared, but the 60 second counter is not.
なお、初回営業終了時には、60秒カウンタもクリアさ
れ、このことにより初回営業終了時が次の計測の基準と
なる。At the end of the first business, the 60-second counter is also cleared, so that the end of the first business becomes the reference for the next measurement.
基準に達しない空車での停止の場合、60秒カウンタを
クリアするが、基準以上の場合は、秒単位のデータをメ
モリしておき、次の基準以上の空車での停止の発生時に
これをプラスするようにしている。In the case of a stop in an empty car that does not reach the standard, the 60-second counter is cleared, but in the case of the standard or more, the data in units of seconds is stored and this is added when a stop in the next empty car or more occurs. I am trying to do it.
(空車、停止明細の計測機能) 1データ内の空車時におけるタクシーの連続した停止時
間のうち大きい順に3回分のデータを発生順に記憶す
る。この明細作成に当っては、停止判定基準時間は設け
ず、必ず上位3つのデータを記憶する。(Measurement function of empty vehicle and stop details) Data of three times of continuous stopping time of a taxi when the vehicle is empty in one data is stored in the order of occurrence in order of occurrence. In creating this specification, the stop determination reference time is not provided, and the upper three data are always stored.
(空車、停止回数計測機能) 1データ内の空車時のタクシーの連続した一定時間以上
の停止回数をカウントする。停止判定基準時間設定は、
空車、停止基準時間と同じであり、設定が0分0秒のと
きは、回数カウントは行わない。(Vacancy and stop count measurement function) Count the number of stops of a taxi for a certain period of time when the taxi is empty in one data. Stop judgment reference time setting is
It is the same as the empty vehicle and stop reference time, and when the setting is 0 minutes 0 seconds, the number of times is not counted.
(実車/空車最高速度の計測機能) 走行センサからのパルス数を1秒毎にカウントし、計測
範囲時間内の最大値を記憶しておく。そして営業時系列
データの記録時に、その最大値を速度に換算して記録す
る。(Actual vehicle / empty vehicle maximum speed measurement function) The number of pulses from the running sensor is counted every second, and the maximum value within the measurement range time is stored. Then, at the time of recording the business time series data, the maximum value is converted into a speed and recorded.
(実車/空車スピードオーバー時間の計測機能) 1秒毎のパルス数のカウント時に、そのパルス数が設定
値以上であれば、オーバー時間カウンタを+1する。ス
ピード設定は、例えば60,70,80,90km/hの
計4種類とする。計測時間は最大9999分として分以
下は30秒以上は切上げ、30秒未満は切捨てる。(Actual vehicle / empty vehicle speed over time measuring function) When counting the number of pulses per second, if the number of pulses is greater than or equal to the set value, the over time counter is incremented by +1. There are four speed settings, for example 60, 70, 80, 90 km / h. The maximum measurement time is 9999 minutes, rounding up less than 30 seconds for minutes and rounding down for less than 30 seconds.
(実車/空車スピードオーバー回数の計測機能) 1データ内の実車/空車毎スピードオーバー回数を計測
する。1秒後の速度判断タイミングにおいてスピード設
定値以上のスピードのとき+1カウントする。計測は最
大9999回とする。(Measurement function of the number of actual vehicle / empty vehicle speed overs) The number of actual vehicle / empty vehicle speed overs in one data is measured. When the speed is equal to or higher than the speed set value at the speed judgment timing after 1 second, +1 is counted. The maximum number of measurements is 9999.
(タリフ時間計測機能) 1営業毎に、賃走、2割増、支払、迎車別に要した時間
を計測し、営業時系列データの一部として記録する。時
間計測は、1秒クロックをCPUが検出し、各タリフに
対応したタリフカウンタをカウントアップすることによ
り行う。タリフカウンタは、60秒カウンタ及びBCD
カウンタ(4桁−最大9999分)で構成される。(Tariff time measurement function) For each business, the time required for rent, 20% increase, payment, and arrival is measured and recorded as part of the business time series data. The time is measured by the CPU detecting the 1-second clock and counting up the tariff counter corresponding to each tariff. Tariff counter is 60 seconds counter and BCD
It consists of a counter (4 digits-maximum 9999 minutes).
記録は、各営業の終了時に行われるが、その際60秒カ
ウンタ値を29捨30入した上で、BCDカウンタ値を
そのまま、当該営業時系列データに格納する。各タリフ
カウンタは、上記格納を終えると、全てクリアされる。
BCDカウンタが9999を越えると0から継続カウン
トする。Recording is performed at the end of each business. At that time, the 60-second counter value is rounded down to 29 and the BCD counter value is stored as it is in the business time-series data. All the tariff counters are cleared when the above storage is completed.
When the BCD counter exceeds 9999, the count continues from 0.
上述した機能を有するデータ収集部2のCPU2aの動
作を第8図に示すフローチャートに従って以下説明す
る。The operation of the CPU 2a of the data collection unit 2 having the above-mentioned functions will be described below with reference to the flowchart shown in FIG.
CPU2aは電源の接続により動作を開始し、その最初
のステップS1において、イグニッションキーのACC
がオンか否かを判定する。このステップS1の判定がY
ESのときは、ステップS2に進み、ここで電源オンフ
ラグをセットした後、ステップS3においてプラグ2d
がターミナル5のジャック7に挿入されているプラグイ
ン状態にあるか否かが判定される。プラグインでなく、
判定がNOのときは、次にステップS4に進み、ここで
営業中か否かが判定される。この判定は、タリフサイン
信号が空車以外であるか否かにより行われ、空車でない
場合には、判定がYESとなりステップS5に進む。The CPU 2a starts its operation by connecting the power source, and in the first step S1, the ACC of the ignition key is set.
It is determined whether or not is on. If the determination in step S1 is Y
In the case of ES, the process proceeds to step S2, where the power-on flag is set, and then the plug 2d is set in step S3.
Is in the plug-in state, which is inserted in the jack 7 of the terminal 5. Not a plugin
If the determination is NO, then the process proceeds to step S4, where it is determined whether or not business is in progress. This determination is made based on whether or not the tariff sign signal is other than an empty vehicle. If not, the determination becomes YES and the process proceeds to step S5.
ステップS5では電源オンフラグをクリアし、その後ス
テップS6においてプラグインフラグが有るか否かを判
定する。フラグが有り判定がYESのときは最初の営業
と判断しステップS7に進み、ここでプラグインフラグ
をクリアし、その後ステップS8に進み、RAM2bに
記憶してある営業時系列データを全てクリアし、続くス
テップS9でデータ要求を運行データ発生部1に送出し
て運行指数データを読み出し、これに基づいて出庫デー
タを作成してステップS10に進む。上記ステップS4
の判定がNOのときは、すなわち2回目以降の営業のと
きにはステップS7〜S9を飛ばしてステップS10に
進む。In step S5, the power-on flag is cleared, and then in step S6, it is determined whether or not there is a plug-in flag. If the flag is present and the determination is YES, it is determined that it is the first business and the process proceeds to step S7, where the plug-in flag is cleared, and then the process proceeds to step S8 where all the business time series data stored in the RAM 2b is cleared, In a succeeding step S9, a data request is sent to the operation data generating unit 1 to read out the operation index data, based on this, delivery data is created and the process proceeds to step S10. Step S4
If the determination is NO, that is, if it is the second or subsequent business, steps S7 to S9 are skipped and the process proceeds to step S10.
ステップS10では、運行データ発生部1から指数デー
タを受信したとして指数データ受信フラグをクリアし、
その後のステップS11で時系列データを作成したとし
て時系列データ作成フラグをクリアすると共に、続くス
テップS12において所要時間クリアフラグをクリアす
る。その後、ステップS13に進み、ここで未収受付ラ
ンプ2fが点灯しているか否かを判定し、判定がYES
のときにはステップS14に進みここで未収スイッチ2
eがオンされたか否かを判定する。In step S10, the index data reception flag is cleared because the index data is received from the operation data generation unit 1,
In the subsequent step S11, the time-series data creation flag is cleared, and the required time clear flag is cleared in the subsequent step S12. Then, it progresses to step S13 and it is determined here whether the uncollected acceptance lamp 2f is lit, and a determination is YES.
If so, the process proceeds to step S14, where the uncollected switch 2
It is determined whether or not e is turned on.
ステップS14の判定がYESのときには、続くステッ
プS15で今回営業時系列データの特殊フラグ中の未収
ビットを1にセットし、続くステップS16で未収受付
ランプ2fを消灯し、ステップS17に進む。なお、上
記ステップS13又はS14の判定がNOのときにはス
テップS15及びS16を飛ばしてステップS17に進
む。If the determination in step S14 is YES, the unpaid bit in the special flag of the current business time series data is set to 1 in the following step S15, the unpaid acceptance lamp 2f is turned off in the following step S16, and the process proceeds to step S17. When the determination in step S13 or S14 is NO, steps S15 and S16 are skipped and the process proceeds to step S17.
ステップS17においては、未収ビットのセットが行わ
れたか否かを判定し、判定がNOのときにはステップS
18において未収受付ランプ2fを点灯した後、判定が
YESのときにはステップS18を飛してステップS1
9に進む。In step S17, it is determined whether or not the uncollected bit has been set. If the determination is NO, step S17
After turning on the uncollected acceptance lamp 2f in step 18, if the determination is YES, step S18 is skipped and step S1 is performed.
Proceed to 9.
ステップS19では営業が賃走であるか否かを判定し、
判定がYESのときはステップS20に進み、賃走時間
を計測する。その後、ステップS21において所要時間
の計測、ステップS22において実車最高速度の計測、
ステップS23において実車速度オーバー時間の計測、
ステップS24において実車速度オーバー回数のカウン
トをそれぞれ行ってステップS3に戻る。In step S19, it is determined whether or not the business is renting,
If the determination is YES, the process proceeds to step S20, and the rent time is measured. After that, the required time is measured at step S21, the actual vehicle maximum speed is measured at step S22,
In step S23, measuring the actual vehicle speed over time,
In step S24, the number of times the actual vehicle speed is exceeded is counted, and the process returns to step S3.
上記ステップS1の判定がYES、ステップS2の判定
がNO、そしてステップS3の判定がYESであり、か
つ賃走状態である限り、上記ステップS1〜S5、S1
0〜S24が繰返し実行される。そして、ステップS4
の判定がNO、すなわち空車になった時点で、ステップ
S25に進み、ここで電源オンフラグが有るか否かを判
定する。このステップの判定は、上記ステップS5にお
いてフラグがクリアされているのでNOであり、この結
果ステップS26に進む。ステップS26では運行デー
タ発生部1からの指数データを受信したか否かを指数デ
ータ受信フラグが有るか否かにより判定する。指数デー
タを受信し判定がYESのときにはステップ指数データ
受信フラグは上記ステップS10においてクリアされて
いるので、今回のステップS26の判定はNOであり、
このことによって次にステップS27に進む。As long as the determination in step S1 is YES, the determination in step S2 is NO, the determination in step S3 is YES, and the vehicle is in the renting state, steps S1 to S5, S1
0 to S24 are repeatedly executed. And step S4
When the determination is NO, that is, when the vehicle is empty, the process proceeds to step S25, where it is determined whether the power-on flag is present. The determination in this step is NO because the flag has been cleared in step S5, and as a result, the process proceeds to step S26. In step S26, it is determined whether or not the index data from the operation data generator 1 has been received, depending on whether or not the index data reception flag is present. When the index data is received and the determination is YES, the step index data reception flag is cleared in step S10, so the determination in step S26 this time is NO,
As a result, the process proceeds to step S27.
ステップS27では、タリフ切換が空車に切換えられる
ことにより運行データ発生部1が発生する指数データを
受信し、その後ステップS28において指数データ受信
フラグをセットする。ステップS28の後はステップS
29に進み、ここで営業時系列データ作成フラグが有る
か否かを判定する。このステップS29の判定がNOの
ときはステップS30に進み、ここで営業時系列データ
を作成する。その後、ステップS31に進み、ここで今
回未収ビットをクリアした後、ステップS32において
営業時系列データ作成フラグをセットし、ステップS3
3に進む。なお、上記ステップS29の判定がYESの
ときには、ステップS30〜S32を飛ばしてステップ
S33に進む。In step S27, the index data generated by the operation data generator 1 when the tariff switching is switched to the empty vehicle is received, and then the index data reception flag is set in step S28. After step S28, step S
In step 29, it is determined whether or not there is a business time series data creation flag. If the determination in step S29 is no, the process proceeds to step S30, where business time series data is created. Then, the process proceeds to step S31, where the unpaid bit is cleared this time, and then the business time series data creation flag is set in step S32, and step S3
Go to 3. If the determination in step S29 is YES, steps S30 to S32 are skipped and the process proceeds to step S33.
ステップS33では、所要時間クリアフラグが有るか否
かを判定し、判定がNOのときには、ステップS34に
進み、ここで所要時間をクリアする。ステップS34の
後はステップS35に進み、ここで所要時間クリアフラ
グをセットし、ステップS36に進む。上記ステップS
33の判定がYESのときは、ステップS34〜S35
を飛ばしステップS36に進む。In step S33, it is determined whether or not the required time clear flag is present. If the determination is NO, the process proceeds to step S34, where the required time is cleared. After step S34, the process proceeds to step S35, where the required time clear flag is set, and the process proceeds to step S36. Step S above
If the determination in 33 is YES, steps S34 to S35.
And skip to step S36.
ステップS26においては、未収受付ランプ2fがオン
か否かを判定し、判定がYESのときにはステップS3
7に進み、ここで未収スイッチ2eがオンしたか否かを
判定する。ステップS37の判定がYESのときは、ス
テップS38に進み、ここで前回営業時間系列データの
未収ビットに1をセットし、その後続くステップS39
において、未収受付ランプ2fをオフし、ステップS4
0に進む。なお、上記ステップS36又は37の判定が
NOのときには、ステップS38〜39を飛ばしてステ
ップS40に進む。In step S26, it is determined whether or not the uncollected receipt lamp 2f is turned on, and when the determination is YES, step S3
7, the process determines whether the uncollected switch 2e is turned on. When the determination in step S37 is YES, the process proceeds to step S38, in which the unpaid bit of the previous business time series data is set to 1, and the subsequent step S39.
In step S4, the uncollected acceptance lamp 2f is turned off.
Go to 0. When the determination in step S36 or 37 is NO, steps S38 to 39 are skipped and the process proceeds to step S40.
ステップS40では空車走行時間の明細を計測し、その
後ステップS41で空車停止時間の明細計測、ステップ
S42で空車再考速度の計測、ステップS43で空車速
度オーバー時間の計測、ステップS44で空車速度オー
バー回数のカウント、ステップS45で所要時間の計
測、ステップS46で空車停止時間の計測そして、ステ
ップS47で空車停止回数のカウントをそれぞれ行った
後ステップS3に戻る。In step S40, the details of the empty vehicle running time are measured, then in step S41, the specification of the empty vehicle stop time is measured, in step S42, the empty vehicle reconsideration speed is measured, in step S43, the empty vehicle speed overtime is measured, and in step S44, the empty vehicle speed over count is displayed. Counting, measuring the required time in step S45, measuring the idle vehicle stop time in step S46, counting the number of idle vehicle stop times in step S47, and then returning to step S3.
なお、上述の説明では、賃走から直接空車になっている
が、実際にはこのようなことはなく、賃走の終りには支
払になるので、ステップS19の判定がNOになり、2
割増か否かの判定を行うステップS48を通じてステッ
プS49に進み、ここで支払か否かの判定が行われる。
この判定がYESの場合はステップS50で支払時間の
計測を行った後ステップS21に進む。In the above description, the vacant car is emptied directly from the fare, but this does not occur in reality, and payment is made at the end of the fare, so the determination in step S19 is NO, and 2
After step S48 for determining whether or not to pay the premium, the process proceeds to step S49, where it is determined whether or not to pay.
If this determination is YES, the payment time is measured in step S50 and then the process proceeds to step S21.
また、2割増の場合にはステップS48の判定がYES
で、ステップS51に進み2割増時間の計測を行った後
ステップS21に進む。賃走、2割増、支払のいずれで
もない場合にはステップS52に進み、ここで迎車か否
かを判定し、判定がYESのときにステップS53で迎
車時間の計測を行った後ステップS21に進む。Further, in the case of 20% increase, the determination in step S48 is YES.
Then, the process proceeds to step S51, the 20% additional time is measured, and then the process proceeds to step S21. If it is neither a rent, a 20% increase, or a payment, the process proceeds to step S52, where it is determined whether or not the vehicle is an intercepting vehicle. When the determination is YES, the intercepting time is measured in step S53, and then the process proceeds to step S21. .
上記ステップS1の判定がNOのとき、すなわちACC
がオフのときには、ステップS46に進む。また、上記
ステップS3の判定がYESのとき、すなわちプラグイ
ンのときには、ステップS54に進み、ここで営業中で
あるか否かを判定する。ステップS54の判定がYES
のときはスタートに戻り、NOのときはステップS55
に進む。When the determination in step S1 is NO, that is, ACC
When is off, the process proceeds to step S46. When the determination in step S3 is YES, that is, when the plug-in is performed, the process proceeds to step S54, where it is determined whether or not the business is in progress. The determination in step S54 is YES
If NO, return to the start; if NO, step S55.
Proceed to.
ステップS55においては、データ要求を運行データ発
生部1に送って指数データを読出し、その後ステップS
56において営業時系列データを作成し、続くステップ
S57において入庫データを作成する。そして、ステッ
プS58においてプラグインフラグをセットし、続くス
テップS59において所要時間をクリアする。次に、ス
テップS60に進み、ここで出・入庫データ及び時系列
データをプラグ2dを通じてターミナル5に送出する。
このデータの送出は続くステップS61においてプラグ
インがなくなったことが判定されるまで繰返し行われ
る。プラグ2dがターミナル5のジャック5aから抜か
れると、スタートに戻る。In step S55, a data request is sent to the operation data generator 1 to read out the index data, and then step S55.
In 56, business time series data is created, and in subsequent step S57, warehousing data is created. Then, the plug-in flag is set in step S58, and the required time is cleared in subsequent step S59. Next, the process proceeds to step S60, where the outgoing / incoming data and the time series data are sent to the terminal 5 through the plug 2d.
This transmission of data is repeated until it is determined in the subsequent step S61 that the plug-in has been exhausted. When the plug 2d is pulled out from the jack 5a of the terminal 5, the process returns to the start.
第2図には、ターミナル5及び中継器6はそれぞれ単一
のブロックとして示されているが、各々はマイクロプロ
セッサを有し、種々の機能を備えている。また、処理部
7はプリンタ、キーボード、CRTなどを備えたパーソ
ナルコンピュータにより構成されうる。Although the terminal 5 and the repeater 6 are shown as a single block in FIG. 2, each has a microprocessor and has various functions. Further, the processing unit 7 can be configured by a personal computer equipped with a printer, a keyboard, a CRT and the like.
ターミナル5は、第9図に示すように、CPU5b、運
行データ収集部2のプラグ2dが挿入されるジャック5
aを有する入力部5c、中継器6との間の送受信を行う
送受信部5d、ジャーナルプリンタ5e、表示器5f、
インジケータ5g及び完了スイッチ5hなどを有し、こ
れはタクシー会社の車庫の適当な場所に設置される。As shown in FIG. 9, the terminal 5 has a jack 5 into which the CPU 5b and the plug 2d of the operation data collection unit 2 are inserted.
an input unit 5c having a, a transmission / reception unit 5d for performing transmission / reception with the repeater 6, a journal printer 5e, a display unit 5f,
It has an indicator 5g, a completion switch 5h, etc., which is installed at an appropriate place in the garage of the taxi company.
なお、ジャック5aにはプラグ2dの挿入に先立って各
乗務室が携帯する乗務員コードを記憶したラムペンが挿
入され、これからプラグ2dを通じて伝送するデータが
どの乗務員の運行データであるかが判るようにしてい
る。Prior to inserting the plug 2d into the jack 5a, a rampen carrying the crew code carried by each cabin is inserted, so that the data transmitted through the plug 2d can be identified as which crew's operation data. There is.
ターミナル5は以下のような機能を有する。The terminal 5 has the following functions.
プラグ2dがジャック5aに挿入されたことを検出し、
これに応じて自からはスタンバイ状態になると共にデー
タ要求信号を出力する。該データ要求信号に続いてプラ
グ2d、ジャック5aを通じて伝送されてくるデータを
受信する。該受信したデータが正常であるか否かを判定
しその結果をインジケータ5gにより指示する。受信デ
ータが異常の場合には再度データを受信する。受信デー
タが正常であることをインジケータ5gの点灯より知り
完了スイッチ5hを操作すると、これを中継器6に伝送
する。Detects that the plug 2d is inserted into the jack 5a,
In response to this, the device itself enters a standby state and outputs a data request signal. Following the data request signal, the data transmitted through the plug 2d and the jack 5a is received. It is determined whether the received data is normal and the result is indicated by the indicator 5g. If the received data is abnormal, the data is received again. When the completion switch 5h is operated by knowing that the received data is normal from the lighting of the indicator 5g, this is transmitted to the repeater 6.
中継器6へのデータ伝送タイミングが他のターミナルと
合致した場合、或いは中継器6が処理部7へデータ伝送
中の場合には、一時待機してこのことを表示器5fの特
殊表示により指示する。When the timing of data transmission to the repeater 6 coincides with that of another terminal, or when the repeater 6 is transmitting data to the processing unit 7, it waits temporarily and indicates this by a special display on the display 5f. .
中継器6に伝送されたデータは中継器6で処理されて返
送されてくる。該返送データには、売上金額、未収金
額、入庫指数、出庫指数、差引指数、日付などが含まれ
ており、これらの内売上金額及び未収金額については表
示器5fに表示し、残りのものはジャーナルプリンタ5
eによりプリントアウトする。The data transmitted to the repeater 6 is processed by the repeater 6 and returned. The return data includes sales amount, unpaid amount, receipt index, delivery index, deduction index, date, etc. Of these, the sales amount and unaccounted amount are displayed on the display 5f, and the rest are Journal printer 5
Print out with e.
上記ジャック5aへのプラグ2dの検出は、第10図
(a)に示すように、プラグ2d自身がジャック5a内の
発光ダイオード5a−1とフィトトランジスタ5a−2
の間に通っている光軸を遮断することにより行われ、プ
ラグ挿入が検出されると、ターミナル5のCPU5bは
プラグ2dからのデータ受信スタンバイとなる。プラグ
挿入が検出された後、プラグ2dが第10(b)に示すよ
うにジャック5a内に更に入ってくると、ジャック5a
内の磁石5a−3によってプラグ2d内のリードリレー
2d−1がオンするようになる。このリードリレー2d
−1のオンが運行データ収集部2のCPU2aへのデー
タ要求信号となり、CPU2aはこの要求信号に応じて
所定時間後にデータ送出を開始する。The detection of the plug 2d into the jack 5a is shown in FIG.
As shown in (a), the plug 2d itself includes the light emitting diode 5a-1 and the phytotransistor 5a-2 in the jack 5a.
When the plug insertion is detected, the CPU 5b of the terminal 5 enters a standby state for receiving data from the plug 2d. After the plug insertion is detected, when the plug 2d further enters the jack 5a as shown in the tenth (b), the jack 5a
The magnet 5a-3 in the inside turns on the reed relay 2d-1 in the plug 2d. This reed relay 2d
When -1 is turned on, it becomes a data request signal to the CPU 2a of the operation data collection unit 2, and the CPU 2a starts data transmission after a predetermined time according to the request signal.
ターミナル5のCPU5bがデータ受信スタンバイとな
った後にリードリレー2d−1がオンし、続いてプラグ
2dの先端の発光ダイオード2d−2がデータが光信号
の形で送られてくると、ジャック5a内のフォトトラン
ジスタ5a−4がこれを受信し、CPU5bに入力す
る。CPU5bは1フレーム分データを読み込む。ここ
でCPU5bがスタンバイとなってから3秒以内にデー
タが送られてこない場合やデータ受信中に3秒以上のデ
ータ途切れがあるとエラーとなる。The reed relay 2d-1 is turned on after the CPU 5b of the terminal 5 is in a data reception standby state, and then the light emitting diode 2d-2 at the tip of the plug 2d sends data in the form of an optical signal. The phototransistor 5a-4 receives the signal and inputs it to the CPU 5b. The CPU 5b reads data for one frame. An error will occur if data is not sent within 3 seconds after the CPU 5b enters standby or if there is a data interruption of 3 seconds or more during data reception.
1フレーム分のデータの読み込みが終了すると、データ
のチェックを行い、エラーの有る場合には、所定回数再
度データの受信を行い、それでもエラーがある場合に
は、NGをインジケータ5gにより指示すると共にエラ
ーメッセージをプリンタ5eによりプリントアウトす
る。When the reading of the data for one frame is completed, the data is checked, if there is an error, the data is received again a predetermined number of times, and if there is still an error, NG is indicated by the indicator 5g and the error is given. The message is printed out by the printer 5e.
乗務員コード、時系列データが正常に入力されると、表
示器5gに乗務員コードを表示すると共にOKをインジ
ケータ5gにより指示され、その後中継器6との伝達に
入る。伝送の開始は完了スイッチ5hによって行われ
る。ターミナル5から中継器6に送出されるデータのフ
ォーマットは第11図に示すようになっている。このデ
ータに基づいて中継器6において売上金額などの算出が
行われ、ターミナル5上に必要データが返送されてく
る。このデータのフォーマットは後述する。中継器6か
らターミナル5にデータが返送されると、表示器5gに
売上金額、未収金額を表示し、プリンタ5eにて必要事
項をプリントアウトする。なお、中継器6からの返送デ
ータにエリアオーバーフロー情報が入っている場合に
は、ターミナルは表示器5fの全桁に8表示して乗務員
に知らせる。この表示は30秒間行われ、その間にプラ
グ2dの挿入があれば、その時点で表示はなくなる。When the crew member code and time-series data are normally input, the crew member code is displayed on the display 5g, and OK is instructed by the indicator 5g, and then the transmission with the repeater 6 is started. The transmission is started by the completion switch 5h. The format of the data transmitted from the terminal 5 to the repeater 6 is as shown in FIG. The sales amount and the like are calculated in the repeater 6 based on this data, and necessary data is returned to the terminal 5. The format of this data will be described later. When the data is returned from the repeater 6 to the terminal 5, the sales amount and the unpaid amount are displayed on the display device 5g, and necessary items are printed out by the printer 5e. When the return data from the repeater 6 includes area overflow information, the terminal displays 8 on all digits of the display 5f to notify the crew. This display is performed for 30 seconds, and if the plug 2d is inserted during that time, the display disappears at that point.
中継器6は、第2図に示すように、CPU6aと、ター
ミナルとの間でデータの送受信を行うターミナル側送受
信部6b、処理部7との間でデータの送受信を行う処理
部側送受信部6c、RAM6d及び時計6eなどを有
し、タクシー会社の事務所内に設置される。As shown in FIG. 2, the repeater 6 includes a terminal-side transceiver 6b that transmits and receives data to and from the CPU 6a and a terminal, and a processor-side transceiver 6c that transmits and receives data to and from the processor 7. , RAM 6d, clock 6e, etc., and are installed in the office of a taxi company.
中継器6は以下のような機能を有する。The repeater 6 has the following functions.
処理部7から料金基礎データを受信し、これを記憶す
る。The basic charge data is received from the processing unit 7 and stored.
ターミナル5からデータを受信すると、入出車指数デー
タに基づいて当日売上金額の算出を行う。この処理の終
了後、第13図に示すようなフォーマットの必要なデー
タをターミナル5に返送する。When the data is received from the terminal 5, the current day sales amount is calculated based on the entry / exit index data. After this processing is completed, the necessary data in the format shown in FIG. 13 is returned to the terminal 5.
ターミナルから受信した第11図の当日データと上記処
理データは、処理部7からの伝送要求があるまでRAM
6aに保持し、要求に応じてデータを送出した後にRA
M6dをクリアする。このデータ送出後、データに入庫
済であることを示すフラグを記入する。The same-day data shown in FIG. 11 and the above-mentioned processed data received from the terminal are stored in the RAM until the processing unit 7 requests transmission.
6a, and after sending data on demand, RA
Clear M6d. After sending this data, a flag indicating that the goods have been stored is entered in the data.
中継器6での処理は、ターミナル5からのデータ入力、
その処理及びターミナル5への返送が最優先に行われ、
処理部7へのデータ出力は空き時間を利用して行う。た
だし、処理部7へのデータ伝送がスタートしている場合
には、1車両分の伝送期間中はターミナル5からの要求
は受け付けない。The processing at the repeater 6 is performed by inputting data from the terminal 5,
The processing and return to Terminal 5 are given top priority,
Data output to the processing unit 7 is performed by using the idle time. However, when the data transmission to the processing unit 7 has started, the request from the terminal 5 is not accepted during the transmission period for one vehicle.
中継器6は、時計6eを内臓し、プラグイン毎にターミ
ナル5から入力されるデータに時刻データを付加する。The repeater 6 incorporates a clock 6e and adds time data to the data input from the terminal 5 for each plug-in.
この時刻データは指数データからなる時系列データを処
理部7において実時間データに変換する際の基準時間と
して利用されうる。This time data can be used as a reference time when the time series data composed of index data is converted into real time data in the processing unit 7.
中継器6は複数のターミナルを以下の如く制御する。通
常、各々ターミナル5からのSRQn信号と処理部7か
らのポーリング(ENQ2)信号を繰返し監視し、それ
らの信号源のうち早く検出されたものから処理を行う。
複数ターミナルから同時に送信要求が発生した場合に
は、ターミナルNOの小さい順に処理を行い、それらの
ターミナル全ての処理が終了するまでは、他の送信要求
は受け付けない。ただし、1つのターミナル処理が終了
毎に処理部7からのENQ信号に対するNAK信号の返
送を行う。The repeater 6 controls a plurality of terminals as follows. Normally, the SRQn signal from the terminal 5 and the polling (ENQ2) signal from the processing unit 7 are repeatedly monitored, and processing is performed from the earlier detected one of those signal sources.
When transmission requests are simultaneously issued from a plurality of terminals, the processes are performed in ascending order of the terminal number, and other transmission requests are not accepted until the processes of all the terminals are completed. However, the NAK signal for the ENQ signal from the processing unit 7 is returned every time one terminal process is completed.
中継器6はまた、処理部7からのセレクティングコード
(ENQ1)信号を受け取ると、処理部7からの料金フ
ァイルデータの受信に専念し、他の処理は一切行わな
い。よって、処理部7からのデータ受信が完了するまで
は、ターミナル5からのSRQ信号を受け付けない。When receiving the selecting code (ENQ1) signal from the processing unit 7, the repeater 6 concentrates on receiving the fee file data from the processing unit 7 and does not perform any other processing. Therefore, the SRQ signal from the terminal 5 is not accepted until the data reception from the processing unit 7 is completed.
ターミナル5と中継器6間の伝送をより詳細に説明する
と、ターミナル5において完了ボタン5bが操作される
と、これに応じてターミナル5から中継器6内に送信要
求(SRQ)信号が出力される。その後、ターミナル5
は中継器6からの送信許可(RQ)信号を持って、まず
出入庫指数を中継器6に出力する。1フレーム分の出入
庫指数の伝送が終了すると、ターミナル5は中継器6か
らのRQ信号を監視し,一定時間内にRQ信号のオンを
検出した場合には、再度中継器6にデータを出力する。
RQ信号のオンが一定時間内に検出されない場合には、
データが正常に送られたものとみなし、SRQ信号をオ
フにした後、中継器6からの返送を待つ。中継器6から
1フレーム分の返送データの受信が終了すると、各種チ
ェックを行い、データに異常があればSRQ信号をオン
し、再度返送データの受信を行う。The transmission between the terminal 5 and the repeater 6 will be described in more detail. When the completion button 5b is operated in the terminal 5, the transmission request (SRQ) signal is output from the terminal 5 into the repeater 6 in response thereto. . After that, Terminal 5
Has a transmission permission (RQ) signal from the repeater 6, and first outputs the entry / exit index to the repeater 6. When the transmission of the entry / exit index for one frame is completed, the terminal 5 monitors the RQ signal from the repeater 6, and if it detects ON of the RQ signal within a certain time, outputs the data to the repeater 6 again. To do.
When the ON of the RQ signal is not detected within a fixed time,
After assuming that the data has been sent normally, the SRQ signal is turned off, and then the reply from the repeater 6 is waited for. When the reception of the return data of one frame from the repeater 6 is completed, various checks are performed. If the data is abnormal, the SRQ signal is turned on and the return data is received again.
以上をタイミングチャートで示すと、第14図に示すよ
うになる。The above is shown in a timing chart as shown in FIG.
図において、t1はターミナルでのSRQ信号のオン及
びデータ伝送(RV)信号スタンバイ時点である。t2
は中継器6におけるSRQ信号の検出によるRQ信号の
オン時点である。t3はターミナル5におけるRQ信号
検出による初送データ送出開始時点である。t4は中継
器6における初送データの第1ワード読込み後のRQ信
号オフ時点、t5はターミナルにおける初送データ終了
時点、t6は中継器6におけるエラー検出によるRQ信
号のオン時点、t7はターミナル5における再送データ
送出開始時点、t8は中継器6における再送データの第
1ワード読込み後のRQ信号オフ時点、t9はターミナ
ルにおける再送データ送出完了時点、t10は中継器6に
おけるエラーチェック終了後のデータ伝送(SD)信号
スタンバイ時点、t11はターミナル5における一定時間
内にRQ信号が検出されず、SRQ信号及びRV信号が
共にオフになる時点、t12/t14は中継器6におけるS
RQ信号検出後の返送データ送出開始時点、返送データ
送出完了時点、一点時間内にSRQ信号検出されない場
合のSD信号オフ時点であり、T1は中継器6における
データ処理時間である。In the figure, t 1 is the time when the SRQ signal is turned on at the terminal and the data transmission (RV) signal is on standby. t 2
Is the ON time of the RQ signal due to the detection of the SRQ signal in the repeater 6. t 3 is the time point at which the initial transmission of data is started by detecting the RQ signal at the terminal 5. t 4 is an RQ signal OFF time after the first word of the initial transmission data is read in the repeater 6, t 5 is an initial transmission data end time in the terminal, t 6 is an RQ signal ON time due to an error detection in the repeater 6, t 7 is a retransmission data transmission start time at the terminal 5, t 8 is an RQ signal off time after the first word of the retransmission data is read at the relay device 6, t 9 is a retransmission data transmission completion time at the terminal, and t 10 is at the relay device 6. After the error check, when the data transmission (SD) signal is on standby, t 11 is the time when the RQ signal is not detected in the terminal 5 within a certain time and both the SRQ signal and the RV signal are turned off, and t 12 / t 14 is relayed S in vessel 6
It is the start time of the return data transmission after the RQ signal detection, the completion time of the return data transmission, the SD signal off time when the SRQ signal is not detected within one point time, and T 1 is the data processing time in the repeater 6.
なお、第15図は中継器6において必要なデータが付加
されて処理部7に伝送されるテキストデータである。Note that FIG. 15 is text data to which necessary data is added in the repeater 6 and transmitted to the processing unit 7.
上述したターミナル5及び中継器6のCPU5b及び6
aのそれぞれの動作を第16図及び第17図のフローチ
ャートに従って以下説明する。CPUs 5b and 6 of the terminal 5 and the repeater 6 described above
Each operation of a will be described below with reference to the flowcharts of FIGS. 16 and 17.
まず、ターミナル5のCPU5bは電源の接続により動
作を開始し、その最初のステップS101において、ラ
ムペンが挿入されたか否かを判定する。このステップS
101はラムペンが挿入されるまで繰返される。ラムペ
ンが挿入され、ステップS101の判定がYESとなる
と、ステップS102に進み、ここでラムペンから乗務
員データを読み込む。読み込まれたデータはチェックさ
れ、エラー有るか否かが次のステップS103において
判定される。First, the CPU 5b of the terminal 5 starts its operation by connecting a power source, and in the first step S101, determines whether or not a rampen has been inserted. This step S
101 is repeated until the rampen is inserted. When the rampen is inserted and the determination in step S101 is YES, the process proceeds to step S102, where crewmember data is read from the rampen. The read data is checked, and it is determined in the next step S103 whether or not there is an error.
エラーがなくステップS103の判定がNOのときには
ステップS104に進み、ここで表示器5fに乗務員コ
ードを表示する。その後ステップS105でプラグ2d
が挿入されたか否かを判定し、プラグ2dが挿入される
までこのステップS105を繰返し実行する。ステップ
S105の判定がYESとなると、すなわちプラグ2d
が挿入されると、ステップS106に進み、ここで運行
データ収集部2のRAM2bに格納している時系列デー
タを読み込み、読み込んだデータをチェックして図示し
ないメモリに一時蓄積する。If there is no error and the determination in step S103 is NO, the process proceeds to step S104, where the crew member code is displayed on the display 5f. After that, in step S105, the plug 2d
Is inserted, and step S105 is repeatedly executed until the plug 2d is inserted. When the determination in step S105 is YES, that is, the plug 2d
When is inserted, the process proceeds to step S106, where the time series data stored in the RAM 2b of the operation data collection unit 2 is read, the read data is checked, and the data is temporarily stored in a memory (not shown).
その後ステップS107に進み、ここで上記チェックの
結果エラーがあったか否かを判定し、判定がYESの場
合にはステップS108でNGをインジケータ5gによ
って指示してステップS101に戻る。After that, the process proceeds to step S107, where it is determined whether or not there is an error as a result of the above check. If the determination is YES, NG is instructed by the indicator 5g in step S108, and the process returns to step S101.
上記ステップS103の判定がYESで、ラムペンエラ
ーがある場合には、ステップS109に進み、ここでラ
ムペンエラーをインジケータ5gにより指示した後、ス
テップS110でラムペンの挿入を確認し、続くステッ
プS111でラムプンからのデータを読み込む。その
後、ステップS102に戻り、上述の判定を再度行う。If the judgment in step S103 is YES and there is a rampen error, the process proceeds to step S109, where after the rampen error is indicated by the indicator 5g, the rampen insertion is confirmed in step S110, and in the subsequent step S111. Read the data from Lamphun. After that, the process returns to step S102 and the above determination is performed again.
上記ステップS107の判定がNOのとき、すなわちプ
ラグ2dを通じて読み込んだデータにエラーがない場合
には、ステップS112に進んでOKをインジケータ5
gにより指示すると共に、続くステップS113におい
て中継器6に送信する第11図に示すようなフォーマッ
トのデータを作成する。その後、ステップS114で完
了スイッチ5hがオンされたか否かを判定し、完了スイ
ッチ5hがオンされたところで、ステップS115に進
み、ここで処理中であることをインジケータ5gにより
指示すると共に、続くステップS116において中継器
6へのデータの送信を行う。When the determination in step S107 is NO, that is, when there is no error in the data read through the plug 2d, the process proceeds to step S112 and the OK indicator 5 is displayed.
At the same time as instructing by g, data of the format as shown in FIG. 11 to be transmitted to the repeater 6 is created in the following step S113. Then, in step S114, it is determined whether or not the completion switch 5h is turned on. When the completion switch 5h is turned on, the process proceeds to step S115, where the indicator 5g indicates that the process is in progress, and the subsequent step S116. At, data is transmitted to the repeater 6.
その後、ステップS117において、中継器6にデータ
にエラーが有るか否かが判定され、判定がYESでエラ
ーがあればステップS101に戻る。判定がNOでエラ
ーがない場合には、ステップS118に進んで中継器6
からの返送データを受信する。該受信した返送データは
チェックされ、その結果エラーが有るか否かをステップ
S119において判定する。Then, in step S117, it is determined whether or not the relay 6 has an error in the data. If the determination is YES and there is an error, the process returns to step S101. When the determination is NO and there is no error, the process proceeds to step S118 and the repeater 6
Receive return data from. The received return data is checked, and it is determined in step S119 whether there is an error as a result.
ステップS119の判定がNOの場合には、すなわちエ
ラーがなければステップS120に進み、ここで返送デ
ータ中の総合収、未収金額、乗務員コードを表示器5f
に表示すると共に、続くステップS121において必要
なデータをプリンタ5eによりプリントアウトする。If the determination in step S119 is NO, that is, if there is no error, the process proceeds to step S120, in which the total receipt, unpaid amount, and crew code in the return data are displayed on the display device 5f.
And the necessary data is printed out by the printer 5e in the following step S121.
上記ステップS119の判定がYESである場合、すな
わちエラーが有る場合には、そのエラーが中継器6のR
AMのエリアオーバーによるか否かをステップS122
において判定し、判定がNOのときはステップS123
においてエラー印字してステップS1に戻る。判定がY
ESのときは、すわなちエリアオーバーのときはステッ
プS124において8を点滅表示する。この表示はラム
ペンが挿入されない限りステップS125において30
秒間待ってステップS101に戻る。When the determination in step S119 is YES, that is, when there is an error, the error is the R of the repeater 6.
Whether or not the AM area is over is determined in step S122.
If the determination is NO, the determination is NO at step S123.
Then, the error is printed and the process returns to step S1. Judgment is Y
In the case of ES, that is, in the case of area over, 8 is displayed blinking in step S124. This display is 30 in step S125 unless the rampen is inserted.
Wait for a second and return to step S101.
次に、中継器6のCPU6aは電源の接続により動作を
開始し、その最初のステップS201において、ターミ
ナル5から送信要求があるか否かが判定される。ステッ
プS201の判定がNOのとき、ステップS202に進
み、処理部7からの受信があるか否かを判定する。ステ
ップS201及びS202の判定がいずれもNOのとき
は、いずれか一方の判定がYESとなるまでステップS
201及びS202を繰返し実行する。Next, the CPU 6a of the repeater 6 starts its operation by connecting the power source, and in the first step S201, it is determined whether or not there is a transmission request from the terminal 5. When the determination in step S201 is no, the process proceeds to step S202 and it is determined whether or not there is a reception from the processing unit 7. If the determinations in steps S201 and S202 are both NO, step S is performed until one of the determinations is YES.
201 and S202 are repeatedly executed.
上記ステップS201の判定がYESのときは、ステッ
プS203に進み、送信要求がどのターミナルからのも
のかを算出し、その後ステップS205において時計6
eから時計データを読み込む。続いて、ステップS20
5においてターミナルからデータを受信し、受信したデ
ータにエラーが有るか否かをステップS206において
判定する、エラーがなく判定がNOのときは、次にステ
ップS207においてRAM6dの格納エリアに空きが
有るか否かを判定し、判定がYESであれば、ステップ
S208において総営収、未収金額などを算出し、該算
出結果と必要データを続くステップS209においてタ
ーミナルに返送する。If the determination in step S201 is YES, the process proceeds to step S203, the terminal from which the transmission request is made is calculated, and then the clock 6 is sent in step S205.
Read clock data from e. Then, step S20.
In step 5, data is received from the terminal, and it is determined in step S206 whether or not there is an error in the received data. If there is no error and the determination is NO, then in step S207, there is a vacancy in the storage area of the RAM 6d. If it is YES, the total revenue, unpaid amount, etc. are calculated in step S208, and the calculation result and necessary data are returned to the terminal in step S209.
上記ステップS206の判定がYES、すなわちエラー
がある場合、及びステップS207の判定がNO、すな
わちエリアに空きがない場合には、ステップS210で
エラー処理してからステップS209に進み、ターミナ
ルにデータを返送する。データの返送後、ステップS2
11において返送データにエラーが有るか否かを判定
し、判定がNOのときにはステップS212で処理部7
に送るためのデータを作成してRAM6dに格納する。
その後、ステップS213で次のターミナルを指定して
からステップS214で未処理のターミナル送信要求が
有るか否かを判定する。判定がYESのときはステップ
S215で処理部7にNAK信号を送信してからステッ
プS203に戻る。If the determination in step S206 is YES, that is, if there is an error, and if the determination in step S207 is NO, that is, if the area is empty, the error processing is performed in step S210, and then the process proceeds to step S209 to return the data to the terminal. To do. After returning the data, step S2
In 11 it is determined whether or not there is an error in the returned data, and if the determination is NO, in step S212 the processing unit 7
Data to be sent to and stored in the RAM 6d.
Then, in step S213, the next terminal is designated, and then in step S214, it is determined whether or not there is an unprocessed terminal transmission request. When the determination is YES, the NAK signal is transmitted to the processing unit 7 in step S215, and then the process returns to step S203.
上記ステップS211の判定がYESのときは、ステッ
プS212〜S213を飛ばしてステップS214に進
む。また、ステップS214の判定がNOのときはステ
ップS201に戻る。When the determination in step S211 is YES, steps S212 to S213 are skipped and the process proceeds to step S214. If the determination in step S214 is no, the process returns to step S201.
上記ステップS202の判定がYESのときは、ステッ
プS216に進み、ここで送信要求であるか否かを判定
する。判定がNOのときはステップS217で受信要求
であるか否かを判定し、このステップS217の判定が
NOのときはステップS201に戻る。When the determination in step S202 is YES, the process proceeds to step S216, where it is determined whether the request is a transmission request. When the determination is NO, it is determined in step S217 whether or not the request is a reception request. When the determination in step S217 is NO, the process returns to step S201.
上記ステップS216の判定がYESのときは、ステッ
プS218で処理部7からデータを受信し、ステップS
219でエラーが有るか否かを判定する。判定がYES
のときはステップS201に戻り、NOのときはステッ
プS220に進み、ここで受信データをRAM6aに格
納してからステップS201に戻る。If the determination in step S216 is YES, the data is received from the processing unit 7 in step S218, and
At 219, it is determined whether there is an error. Judgment is YES
If so, the process returns to step S201. If NO, the process proceeds to step S220, where the received data is stored in the RAM 6a, and then the process returns to step S201.
ステップS217の判定がYESのときは、処理部7へ
送信するデータが有るか否かをステップS221で判定
し、YESのときはステップS222でデータを送信
し、NOのときはステップS223でEOT信号を送信
してからステップS201に戻る。If the determination in step S217 is YES, it is determined in step S221 whether or not there is data to be transmitted to the processing unit 7. If YES, the data is transmitted in step S222, and if NO, the EOT signal is transmitted in step S223. Is transmitted, and the process returns to step S201.
以上説明したように本発明によれば、各営業毎にその終
了時に行われる空車タリフ操作に応じて収集されるその
運賃データを含む運行データなどからなる営業時系列デ
ータに、営業中に行われる未収操作により未収を示す情
報が付加され、また営業中の操作を忘れ営業の終了後で
あっても次の営業が始まるまでの間に未収操作が行われ
ると、既に収集している営業時系列データに未収を示す
情報が追加されるようになっていて、漏れの極めて少な
い未収情報を含んだ営業時系列データを収集できるの
で、この収集した1運行の全ての営業時系列データを集
計処理することにより、未収金額を知ることができるよ
うになり、運転者がタクシー会社に売上金を納金する際
に行われる、現金と売上金との照合作業が非常に簡単に
なり、この作業のための手間を大幅に省くことができ
る。As described above, according to the present invention, the business time series data including operation data including the fare data collected according to the empty vehicle tariff operation performed at the end of each business is performed during business. If the unpaid operation adds information indicating unpaid operation, and if the unpaid operation is performed before the next business starts even after forgetting the operation during business, the business time series already collected Information indicating unpaid income is added to the data, and business time series data including unreceivable information with extremely few omissions can be collected, so all collected business time series data for one operation is aggregated. By doing so, it becomes possible to know the amount of unpaid money, and it becomes very easy for the driver to match the cash and the sales when the sales are paid to the taxi company. It is possible to save the time and effort significantly.
第1図は本発明によるタクシー運行データ収集装置の基
本構成を示すブロック図、第2図は本発明の一実施例を
示すブロック図、第3図は指数データのフレーム構成を
示す説明図、第4図は営業時系列データのフレーム構成
を示す説明図、第5図は出入庫データのフレーム構成を
示す説明図、第6図は時系列データの構成を示す説明
図、第7図は所要時間の計測の仕方を示す説明図、第8
図はデータ収集部のCPUの行う仕事を示すフローチャ
ート図、第9図はターミナルの構成を示すブロック図、
第10図はプラグとジャックの関係を示す断面図、第1
1図はターミナルから中継器へのデータのフォーマット
を示す図、第12図は中継器の構成を示すブロック図、
第13図は中継器からターミナルへの返送データのフォ
ーマットを示す図、第14図はターミナル及び中継器内
の伝送タイミングチャートを示す図、第15図は中継器
から処理部へのデータのフォーマットを示す図、第16
図はターミナルのCPUの仕事を示すフローチャート
図、及び第17図は中継器のCPUの仕事を示すフロー
チャート図である。 1a……運行データ発生手段(CPU)、1b……タリ
フ切換手段(タリフ切換部)、2a−1……未収情報発
生手段(CPU)、2a−2……営業時系列データ作成
手段(CPU)、2a−3……未収情報書込手段(CP
U)、2a−4……出力手段(CPU)、2b……時系
列データ記憶手段(RAM)、2e……未収情報入力手
段(未収スイッチ)、4……走行センサ。1 is a block diagram showing a basic configuration of a taxi operation data collection device according to the present invention, FIG. 2 is a block diagram showing an embodiment of the present invention, and FIG. 3 is an explanatory diagram showing a frame configuration of index data, FIG. 4 is an explanatory diagram showing the frame structure of business time-series data, FIG. 5 is an explanatory diagram showing the frame structure of warehousing / receipt data, FIG. 6 is an explanatory diagram showing the structure of time-series data, and FIG. 7 is required time. Explanatory drawing showing how to measure
FIG. 9 is a flow chart showing the work performed by the CPU of the data collection unit, FIG. 9 is a block diagram showing the configuration of the terminal,
FIG. 10 is a sectional view showing the relationship between the plug and the jack, the first
1 is a diagram showing the format of data from the terminal to the repeater, and FIG. 12 is a block diagram showing the configuration of the repeater.
FIG. 13 shows a format of data returned from the repeater to the terminal, FIG. 14 shows a transmission timing chart in the terminal and the repeater, and FIG. 15 shows a format of data from the repeater to the processing unit. Shown, 16th
FIG. 17 is a flow chart showing the work of the CPU of the terminal, and FIG. 17 is a flow chart showing the work of the CPU of the repeater. 1a ... Operation data generating means (CPU), 1b ... Tariff switching means (tariff switching unit), 2a-1 ... Unaccounted-for information generating means (CPU), 2a-2 ... Business time series data generating means (CPU) 2a-3 ... Accrual information writing means (CP
U), 2a-4 ... Output means (CPU), 2b ... Time-series data storage means (RAM), 2e ... Uncollected information input means (uncollected switch), 4 ... Travel sensor.
フロントページの続き (56)参考文献 特開 昭60−19290(JP,A) 特開 昭56−111985(JP,A) 特開 昭61−75968(JP,A) 特開 昭54−155448(JP,A)Continuation of front page (56) Reference JP-A-60-19290 (JP, A) JP-A-56-111985 (JP, A) JP-A-61-75968 (JP, A) JP-A-54-155448 (JP , A)
Claims (1)
パルスを発生する走行センサと、 タクシーのタリフ状態を切換えるタリフ切換手段と、 運賃未収時に操作される未収情報入力手段と、 前記走行センサからの距離パルス及び前記タリフ切換手
段のタリフ状態により、タクシーの運行状況を計測し、
該計測結果を前記タリフ切換手段の空車タリフ状態への
切換えに応じて運賃データを含む運行データとして発生
する運行データ発生手段と、 前記タリフ切換手段が空車タリフ以外の営業タリフ状態
にあるときの前記未収情報入力手段の操作に応じて未収
を示す情報を発生する未収情報発生手段と、 前記タリフ切換手段の空車タリフ状態への切換えに応じ
て、前記運行データ発生手段が発生する運行データと前
記未収情報発生手段が発生する未収情報を含む1営業の
営業時系列データを作成する営業時系列データ作成手段
と、 該営業時系列データ作成手段により作成された営業時系
列データが順次格納される時系列データ記憶手段と、 前記タリフ切換手段が空車タリフ状態にあるときの前記
未収情報入力手段の操作に応じて、前記時系列データ記
憶手段に記憶されている最後の前記営業時系列データに
未収を示す情報を付加する未収情報書込手段と、 前記時系列データ記憶手段に格納されている営業時系列
データをデータ要求に応じて読み出し出力する出力手段
と を備えることを特徴とするタクシー運行データ収集装
置。1. A travel sensor for generating one distance pulse each time a taxi travels a certain distance, a tariff switching means for switching the tariff status of a taxi, an unpaid information input means operated when a fare is unpaid, and the travel. Measure the operation status of the taxi by the distance pulse from the sensor and the tariff state of the tariff switching means,
Operation data generating means for generating the measurement result as operation data including fare data in accordance with the switching of the tariff switching means to the empty vehicle tariff state, and the tariff switching means when the operating tariff state is other than the empty vehicle tariff state. The uncollected information generating means for generating information indicating uncollected in response to the operation of the uncollected information input means, and the operation data generated by the operation data generating means and the uncollected information in response to the switching of the tariff switching means to the empty vehicle tariff state. Business time series data creating means for creating business time series data of one business including unpaid information generated by the information generating means, and time series in which the business time series data created by the business time series data creating means is sequentially stored In response to the operation of the data storage means and the uncollected information input means when the tariff switching means is in the empty vehicle tariff state, the time-series data The unreceivable information writing means for adding information indicating unpayment to the last business time series data stored in the data storage means, and the business time series data stored in the time series data storage means in response to a data request. A taxi operation data collection device, comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP30792986A JPH0630110B2 (en) | 1986-12-25 | 1986-12-25 | Taxi operation data collection device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP30792986A JPH0630110B2 (en) | 1986-12-25 | 1986-12-25 | Taxi operation data collection device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63163567A JPS63163567A (en) | 1988-07-07 |
| JPH0630110B2 true JPH0630110B2 (en) | 1994-04-20 |
Family
ID=17974868
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP30792986A Expired - Lifetime JPH0630110B2 (en) | 1986-12-25 | 1986-12-25 | Taxi operation data collection device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0630110B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11526937B2 (en) | 2018-04-03 | 2022-12-13 | Global Mobility Service Inc. | Credit screening support system, vehicle-mounted device, vehicle, server, credit screening support method, credit screening support program, and storage medium |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS54155448U (en) * | 1978-04-21 | 1979-10-29 | ||
| JPS584386B2 (en) * | 1980-02-07 | 1983-01-26 | 株式会社 ニシベ計器製作所 | Taximeter cumulative data processing device |
| JPS6019290A (en) * | 1983-07-13 | 1985-01-31 | 株式会社東芝 | Taxi fare totalizer |
| JPS6175968A (en) * | 1984-09-22 | 1986-04-18 | Apollo Metsuku:Kk | Data totalizer |
-
1986
- 1986-12-25 JP JP30792986A patent/JPH0630110B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63163567A (en) | 1988-07-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6559776B2 (en) | Parking status control system and method | |
| US6344806B1 (en) | Parking status control system and method | |
| US5648906A (en) | Networked computerized parking system of networked computerized parking meters and a method of operating said system | |
| US3541308A (en) | Automated parking facility | |
| JP2002504468A (en) | Elevator equipment | |
| EP0463557A1 (en) | A portable and reloadable multi-factor metering device particularly useful as a parking meter and location register | |
| NZ204694A (en) | Taximeter | |
| JP5692901B2 (en) | Ride distance management device | |
| JPH0630110B2 (en) | Taxi operation data collection device | |
| JPH0640354B2 (en) | Taxi operation data collection processing system | |
| KR20070047654A (en) | Logistics terminal automation system and method | |
| JP2006344001A (en) | Operation management system | |
| JP2003150991A (en) | On-street parking fee collecting method and device | |
| JPH021643Y2 (en) | ||
| JP2009048529A (en) | Receipt issuing system and receipt issuing method for taxi | |
| JP3019100B1 (en) | Taxi billing method and system | |
| KR0111953Y1 (en) | Card type taxi fee meter | |
| JP2021086508A (en) | In-vehicle device, driving evaluation system, and operation support system | |
| JPH0755648Y2 (en) | Receipt issuing device in taximeter | |
| JP2000331199A (en) | Method and system for calculating taxi fare | |
| JPH0418055Y2 (en) | ||
| JP2593519Y2 (en) | Sales information recording device for toll meters | |
| JPH0652381A (en) | Data processor for taxi | |
| JP2682590B2 (en) | Taximeter | |
| JP2013109611A (en) | Travel fare calculation device, taximeter, and taximeter system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |