JPH11316722A - Program updating method in handy terminal - Google Patents

Program updating method in handy terminal

Info

Publication number
JPH11316722A
JPH11316722A JP10136038A JP13603898A JPH11316722A JP H11316722 A JPH11316722 A JP H11316722A JP 10136038 A JP10136038 A JP 10136038A JP 13603898 A JP13603898 A JP 13603898A JP H11316722 A JPH11316722 A JP H11316722A
Authority
JP
Japan
Prior art keywords
program
handy terminal
host computer
program stored
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10136038A
Other languages
Japanese (ja)
Inventor
Jun Nakahara
純 中原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pentel Co Ltd
Original Assignee
Pentel Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pentel Co Ltd filed Critical Pentel Co Ltd
Priority to JP10136038A priority Critical patent/JPH11316722A/en
Publication of JPH11316722A publication Critical patent/JPH11316722A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To rewrite into the latest one without being conscious of the edition of a program of its own handy terminal by rewriting into the newest program when the edition number of the program is referred to and the program stored in a host computer is not the newest one. SOLUTION: A handy terminal which receives a communication start instruction telegraphic message transmits an edition number of a program stored in a flash ROM 10 to a host computer. The host computer compares it with the edition number of a program stored in a self-file and when the edition number of the program stored in the ROM 10 is newer than the edition number of the program stored in the file of the host computer, a CPU 9 of the handy terminal transfers a program which is stored in the ROM 10 and a RAM 11 to the host computer. After that, data which is collected by a command of the CPU 9 is transmitted to the host computer.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、携帯情報端末(以
下「ハンディターミナル」と言う。)に関し、詳しくは
そのプログラムの更新方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a portable information terminal (hereinafter referred to as "handy terminal"), and more particularly, to a method of updating a program thereof.

【0002】[0002]

【従来の技術】ハンディターミナルには入出力装置制御
用の基本プログラムや応用プログラム(以下これらを総
称してプログラムと略称する)が書き換え可能な不揮発
性メモリ(FlashROM)やバッテリバックアップされ
たRAM等に搭載されている。上記ハンディタ−ミナル
を日常の業務に使用している時にプログラムの誤り(プ
ログラムバグ)が見つかったり、プログラムの仕様が変
更されることがある。このような場合、稼働中のハンデ
ィターミナルのプログラムを書き換える必要があり、書
き換える為には書き換えプログラムをハンディターミナ
ルに転送するためのホストコンピュータが必要である。
プログラムを製造する側からホストコンピュータ用に書
き換え用の新しいプログラムを配布し、プログラムの書
き換え作業を保有する全台数分のハンディターミナルに
対し個別におこなう必要があった。これら一連の操作は
煩雑であり、ハンディターミナル管理者等の専任者がお
こなうものであった。
2. Description of the Related Art A handy terminal has a rewritable nonvolatile memory (Flash ROM), a battery-backed RAM, etc., in which a basic program for input / output device control and an application program (hereinafter collectively referred to as a program) are rewritten. It is installed. When the above-mentioned handy terminal is used for daily work, an error (program bug) of a program may be found or the specification of the program may be changed. In such a case, it is necessary to rewrite the program of the operating handy terminal, and a host computer for transferring the rewrite program to the handy terminal is required for rewriting.
It was necessary to distribute a new program for rewriting from the manufacturer of the program to the host computer, and perform the rewriting of the program individually for all the handy terminals holding the program rewriting work. These series of operations are complicated and performed by a dedicated person such as a handy terminal administrator.

【0003】[0003]

【発明が解決しようとする課題】ハンディターミナル管
理者は、上記したように保有する全台数の書き換え対象
のハンディターミナルを1台、1台選別し、書き換え未
対処のハンディタ−ミナルを選び出さなければならな
い。書き換え作業は、ハンディターミナル本体に格納さ
れているプログラム書き換え処理の為のプログラムを起
動させ、新しいプログラムをホストコンピュータからハ
ンディターミナルに転送する事によりおこなう。ハンデ
ィターミナルはその機器の性格上、広い地域に分散され
運用(例えば、宅配便の運転手が1人1台のハンディタ
−ミナルを携帯して作業を行う等。)されることが多
い。そこで書き換えは、ハンディターミナル管理者が広
い地域に分散されたハンディターミナルを集め、上述の
作業をおこなう必要があった。また、ハンディターミナ
ルを集結させた場合、代替えのハンディターミナルを準
備するか、運用を休止させる等の処置を講じる必要があ
り、最悪ハンディターミナルの運用を遅滞させる事態も
発生していた。ハンディターミナルのプログラムの書き
換えには専任者の手を借りず、また、業務を遅滞させる
ことなくおこなうことが必要である。
As described above, the handy terminal manager must select one handy terminal to be rewritten, which is the total number of handy terminals, and select a handy terminal that has not been rewritten. No. The rewriting operation is performed by starting a program for rewriting the program stored in the main body of the handy terminal and transferring a new program from the host computer to the handy terminal. Due to the nature of the equipment, handy terminals are often distributed and operated over a wide area (for example, a courier driver carries out a work with one handy terminal per person). Therefore, for the rewriting, it was necessary for the handy terminal manager to collect handy terminals distributed over a wide area and perform the above-mentioned work. In addition, when the handy terminals are gathered, it is necessary to prepare a replacement handy terminal or take measures such as suspending the operation, and in the worst case, the operation of the handy terminal is delayed. It is necessary to rewrite the Handy Terminal program without the help of a dedicated person and without delaying the work.

【0004】[0004]

【課題を解決するための手段】本発明は上記問題に鑑み
なされたものであり、最新のプログラムを格納したハン
ディタ−ミナルと、該ハンディタ−ミナルに蓄積された
デ−タや、各種指令を発するホストコンピュ−タとの間
で行われるプログラムの更新方法であって、前記ハンデ
ィタ−ミナルに格納されているプログラムよりも、ホス
トコンピュ−タに格納されているプログラムが旧く、該
ホストコンピュ−タに格納されているプログラムを新し
いプログラムに更新する場合に、前記ハンディタ−ミナ
ルに格納されているプログラムの版番号を、前記ホスト
コンピュ−タに送信し、前記ホストコンピュ−タ内に格
納されているプログラムの版番号を参照し、ホストコン
ピュ−タに格納されているプログラムが最新のものでな
い場合には、最新のプログラムに書き換えるハンディタ
−ミナルにおけるプログラムの更新方法を提案するもの
である。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and issues a handy terminal storing the latest program, data stored in the handy terminal, and various commands. A method of updating a program performed between the host computer and a host computer, wherein the program stored in the host computer is older than the program stored in the handy terminal, and the program is stored in the host computer. When updating a stored program to a new program, a version number of the program stored in the handy terminal is transmitted to the host computer, and the program stored in the host computer is transmitted. If the program stored on the host computer is not the latest version, refer to the latest version number. Rewriting the program Handita - proposes a method of updating the program in Terminal.

【0005】[0005]

【発明の実施の形態】ハンディターミナルのプログラム
を旧いものから新しいプログラムに書き換える時、既に
プログラムを書き換えたハンディターミナルを1台、使
用者(運用者)の元に届ける。この1台は専任管理者が
プログラムを書き換えたものである。この1台のハンデ
ィターミナルを使用者(運用者)が日常業務で運用する
と、収集データをホストコンピュータにデ−タ伝送する
際、版番号確認の伝送プロトコルで、版番号の違いが検
出されることになる。このハンディターミナルには最新
の版のプログラムが書き込まれているので、この新しい
版のプログラムが、新しい版番号とともにホストコンピ
ュータに転送され蓄えられる。この構成の状態で他のハ
ンディターミナル使用者(運用者)が収集したデータを
ホストコンピュータに転送する日常業務を実施する。こ
の際、版番号確認プロトコルで、ホストコンピュータに
格納されているプログラムの版番号よりハンディターミ
ナルに格納されているプログラムの版が旧いので、ホス
トコンピュータ上に蓄えられた新しい版のプログラムが
ハンディターミナルに転送された後、通常のデータ転送
処理が実施される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS When rewriting a handy terminal program from an old one to a new one, one handy terminal, which has already rewritten the program, is delivered to the user (operator). This one is a program that is rewritten by a full-time administrator. If the user (operator) operates this one handy terminal in daily work, when the collected data is transmitted to the host computer, a difference in the version number is detected by the transmission protocol for version number confirmation. become. Since the latest version of the program is written in the handy terminal, the new version of the program is transferred and stored in the host computer together with the new version number. In this state, daily work of transferring data collected by another handy terminal user (operator) to the host computer is performed. At this time, in the version number confirmation protocol, the version of the program stored in the handy terminal is older than the version number of the program stored in the host computer, so the new version of the program stored on the host computer is transferred to the handy terminal. After the transfer, normal data transfer processing is performed.

【0006】[0006]

【作用】1台の新しい基本プログラムが書き込まれたハ
ンディターミナルを運用する事により、他の旧い版のハ
ンディターミナルにプログラムを書き込むことが可能で
あり、書き換え作業はハンディターミナル使用者(運用
者)に意識させることなく、自動的に実施されることに
なる。
[Operation] By operating a handy terminal in which one new basic program is written, it is possible to write a program to another old version of the handy terminal, and rewriting work is performed by a handy terminal user (operator). It will be performed automatically without being conscious.

【0007】[0007]

【実施例】以下、本発明の詳細を図示実施例に基づいて
説明する。図1は本発明のハンディタ−ミナル1の外観
斜視図を示すものである。参照符号2はLCD表示部で
あり、収集したデ−タやハンディタ−ミナル1本体から
図示しない操作者へのメッセ−ジを表示する部分であ
る。参照符号3はLEDであり、ハンディタ−ミナル1
本体が電源ONになっているときには、点灯するように
なっている。4はブザ−であり、ハンディタ−ミナル1
本体から警告音等を発する部分である。参照符号5はキ
−入力部分であり、収集したデ−タを入力する為にテン
キ−や各種ファンクションキ−が配置されている。参照
符号6は通信用コネクタであり、外部に設けられている
ホストコンピュ−タ(図示せず)と通信を行う為にRS
−232Cケ−ブル(図示せず)等を接続する。参照符
号7は電池パックであり、ハンディタ−ミナル1を稼働
させるための充電可能な電源電池(図示せず)が格納さ
れている。参照符号8は充電端子であり、上記した充電
可能な電源電池を充電する際に、使用する部分である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The details of the present invention will be described below with reference to the illustrated embodiments. FIG. 1 is an external perspective view of a handy terminal 1 of the present invention. Reference numeral 2 denotes an LCD display unit for displaying collected data and a message from the main body of the handy terminal 1 to an operator (not shown). Reference numeral 3 denotes an LED, and a handy terminal 1
When the main body is turned on, it is lit. 4 is a buzzer and a handy terminal 1
This is the part that emits a warning sound from the main unit. Reference numeral 5 denotes a key input portion, on which a numeric keypad and various function keys are arranged for inputting collected data. Reference numeral 6 denotes a communication connector, which is used to communicate with a host computer (not shown) provided outside.
-232C cable (not shown) or the like. Reference numeral 7 denotes a battery pack which stores a rechargeable power supply battery (not shown) for operating the handy terminal 1. Reference numeral 8 denotes a charging terminal, which is used when the above-described rechargeable power supply battery is charged.

【0008】図2は、ハンディターミナル1の電気的ブ
ロック図を示したものである。参照符号9は、ハンディ
タ−ミナル1の制御手段である中央処理装置であり、書
き換え可能なフラッシュROM10またはRAM11に
格納されたプログラムに従って本発明に係わる処理及び
アプリケ−ションプログラムの所定の処理を実行する。
上記したキ−入力部5を操作することにより、電源回路
12を介してLCD表示部2に入力したデ−タを表示す
る。収集したデ−タを外部に設けられている図示しない
ホストコンピュ−タに送信する場合には、外部インタフ
ェ−スである通信コネクタ6に上記したRS−232C
ケ−ブル(図示せず)を接続することにより、CPU9
の指令によりデ−タの送信を行う。参照符号13はカレ
ンダ回路であり、年月日時分秒情報を発生させる為に設
けられており、年月日時分秒情報は図示しないバックア
ップ用のリチウムにより保護される。ブザ−駆動回路4
とLED駆動回路3もそれぞれCPU9の指令により、
所定の動作を行う。
FIG. 2 is an electrical block diagram of the handy terminal 1. As shown in FIG. Reference numeral 9 denotes a central processing unit which is a control means of the handy terminal 1, and executes processing according to the present invention and predetermined processing of an application program according to a program stored in a rewritable flash ROM 10 or RAM 11. .
By operating the key input unit 5 described above, data input to the LCD display unit 2 via the power supply circuit 12 is displayed. When transmitting the collected data to an externally provided host computer (not shown), the above-mentioned RS-232C is connected to the communication connector 6 which is an external interface.
By connecting a cable (not shown), the CPU 9
The data is transmitted in accordance with the command. Reference numeral 13 denotes a calendar circuit, which is provided for generating year / month / day / hour / minute / second information. The year / month / day / hour / minute / second information is protected by backup lithium (not shown). Buzzer drive circuit 4
And the LED drive circuit 3 are also commanded by the CPU 9 respectively.
Perform a predetermined operation.

【0009】図3はハンディターミナル1の本体に設け
られているフラッシュROM10、RAM11に格納さ
れているプログラムの並びを示したものである。参照符
号14はホストコンピュ−タ(図示せず)とハンディタ
−ミナル1を接続し、ハンディタ−ミナル1を接続し、
デ−タ転送を行う通信プロトコルである。参照符号15
は、ハンディタ−ミナル1に格納されているプログラム
の版番号である。参照符号16には版番号確認プロトコ
ルで、図示しないホストコンピュ−タに格納されている
プログラムよりも当該ハンディタ−ミナルのプログラム
の版が旧い場合に、ホストコンピュ−タに格納されてい
る新しい版のプログラムの版を上記当該ハンディタ−ミ
ナルに伝送する為の入出力制御プログラムが格納されて
いる。参照符号17は、当該ハンディタ−ミナル1に様
々な動作を行わせる為の応用プログラムが格納されてい
る。
FIG. 3 shows an arrangement of programs stored in the flash ROM 10 and the RAM 11 provided in the main body of the handy terminal 1. Reference numeral 14 connects a host computer (not shown) to the handy terminal 1, connects the handy terminal 1 and
This is a communication protocol for performing data transfer. Reference numeral 15
Is the version number of the program stored in the handy terminal 1. Reference numeral 16 denotes a version number confirmation protocol, which is a version of a new version stored in the host computer when the version of the program of the handy terminal is older than the program stored in the host computer (not shown). An input / output control program for transmitting a version of the program to the handy terminal is stored. Reference numeral 17 stores an application program for causing the handy terminal 1 to perform various operations.

【0010】次に、図4に示したデ−タ伝送プログラム
の伝送プロトコル(図3の14部分)を基に実際の動作
について説明する。ハンディタ−ミナル1の使用者(運
用者)(図示せず)は日常業務の一環としてハンディタ
−ミナル1とホストコンピュ−タ(図示せず)を接続
し、ハンディタ−ミナル1に収集したデ−タ(商品の在
庫デ−タや売上げデ−タ等)をホストコンピュ−タへ送
信する日常業務を起動する。これはハンディタ−ミナル
1で蓄えたデ−タ(収集デ−タ)をホストコンピュ−タ
へ送信する処理である。この際、ハンディタ−ミナルは
図3の14の伝送プログラムを呼び出し実行する。同様
にホストコンピュ−タでも伝送制御プログラムが実行さ
れる。まずホストコンピュ−タは、ハンディタ−ミナル
1へ通信開始指示電文を送信する(S1)。通信開始指
示電文を受け取ったハンディタ−ミナル1は、フラッシ
ュROM10に格納されているプログラムの版番号をホ
ストコンピュ−タに送信する(S2)。
Next, the actual operation will be described based on the transmission protocol (14 in FIG. 3) of the data transmission program shown in FIG. A user (operator) (not shown) of the handy terminal 1 connects the handy terminal 1 to a host computer (not shown) as part of daily work and collects data collected in the handy terminal 1. Activate daily work to send (stock data, sales data, etc.) to the host computer. This is a process for transmitting the data (collected data) stored in the handy terminal 1 to the host computer. At this time, the handy terminal calls and executes the transmission program 14 in FIG. Similarly, the transmission control program is executed on the host computer. First, the host computer transmits a communication start instruction message to the handy terminal 1 (S1). The handy terminal 1, having received the communication start instruction message, transmits the version number of the program stored in the flash ROM 10 to the host computer (S2).

【0011】上記したハンディタ−ミナル1に格納され
ているプログラムの版番号を受け取ったホストコンピュ
−タは、自己のファイルに格納されているプログラムの
版番号との比較を行う。比較により次の3種類に分別さ
れて処理が行われる。(1)ハンディタ−ミナル1のフ
ラッシュROM10に格納されているプログラムの版番
号が、ホストコンピュ−タのファイルに格納されている
プログラムの版番号より新しい時の処理。(2)ホスト
コンピュ−タに格納されているプログラムの版番号が、
ハンディタ−ミナルに格納されているプログラムの版番
号より新しい時の処理。(3)ホストコンピュ−タに格
納されているプログラムの版番号とハンディタ−ミナル
1に格納されているプログラムの版番号が同じ時の処
理。判定の結果によって上記した3種類に分別されて処
理が行われる。
The host computer that has received the version number of the program stored in the handy terminal 1 compares the version number of the program stored in its own file with the host computer. The processing is performed after being classified into the following three types by comparison. (1) Processing when the version number of the program stored in the flash ROM 10 of the handy terminal 1 is newer than the version number of the program stored in the file of the host computer. (2) The version number of the program stored in the host computer is
Processing when the version is newer than the version number of the program stored in the handy terminal. (3) Processing when the version number of the program stored in the host computer and the version number of the program stored in the handy terminal 1 are the same. According to the result of the determination, the processing is performed after being classified into the above three types.

【0012】ハンディタ−ミナル1に設けられたフラッ
シュROM10に格納されているプログラムの版番号
が、ホストコンピュ−タのファイルに格納されているプ
ログラムの版番号よりも新しい時の処理について説明を
する。ホストコンピュ−タ(図示せず)は、ハンディタ
−ミナル1に対して当該ハンディタ−ミナル1のCPU
9に対して、フラッシュROM10、RAM11に格納
されているプログラムの送信を希望する旨の指示(電文
の送信)を行う(S3)。当該指示(電文)を受け取っ
たハンディタ−ミナル1のCPU9は、フラッシュRO
M10、RAM11に格納されているプログラムをホス
トコンピュ−タに転送する(S4)。ホストコンピュ−
タは転送されてきたハンディタ−ミナル1からのプログ
ラムを、当該ホストコンピュ−タに設けられているファ
イルに蓄積し、最初にハンディタ−ミナル1より送信さ
れたプログラムの版番号を上記ファイルに書き込んだ
後、ホストコンピュ−タからハンディタ−ミナル1に対
して「収集してきたデ−タを送れ」コマンドを含んだ指
示(電文)を送信する(S5)。これに対してハンディ
タ−ミナル1は、CPU9の指令により収集してきたデ
−タ(商品の在庫デ−タや売上げデ−タ等)をホストコ
ンピュ−タに設けられているファイル(図示せず)に送
信(S6)して、処理を終了する。
A process when the version number of the program stored in the flash ROM 10 provided in the handy terminal 1 is newer than the version number of the program stored in the file of the host computer will be described. The host computer (not shown) has a CPU of the handy terminal 1 for the handy terminal 1.
9 is instructed (transmission of an electronic message) to request transmission of the program stored in the flash ROM 10 and RAM 11 (S3). Upon receiving the instruction (telegram), the CPU 9 of the handheld terminal 1 executes the flash RO
M10, the program stored in the RAM 11 is transferred to the host computer (S4). Host computer
The computer accumulates the transferred program from the handy terminal 1 in a file provided in the host computer, and first writes the version number of the program transmitted from the handy terminal 1 in the file. Thereafter, the host computer sends an instruction (telegram) including a command "Send collected data" to the handy terminal 1 (S5). On the other hand, the handy terminal 1 is a file (not shown) provided in the host computer with data (stock data and sales data, etc.) collected by a command from the CPU 9. (S6), and the process ends.

【0013】ここで、図5に示す電文フォ−マットにつ
いて説明する。参照符号18の部分には、16進数で
(02)HEX、STXが入る。19の部分には具体的
なコマンドとして、(00)HEX:開始指示、(0
1)HEX:版番号、(02)HEX:プログラム要
求、(03)HEX:デ−タはプログラム、(04)H
EX:プログラム書き換え指示、(05)HEX:プロ
グラム書き換え準備OK、(06)HEX:収集デ−タ
を要求、(07)HEX:デ−タは収集デ−タ、(0
8)HEX:最終デ−タ、(09)HEX:異常発見、
(0A)HEX:打ち切り、が適宜入る。参照符号20
には、1バイトで電文の長さを記述し、コマンドの種類
によっては長さが0のものもある。21には、最大25
5バイト迄の電文デ−タが格納される。22には、16
進数で(03)HEX、ETXが格納される。23はチ
ェックコ−ドであり、STXからETX迄の値をXOR
した値が格納される。また図6に示すように本実施例で
は、ホストコンピュ−タのファイルに格納されているプ
ログラムの版番号を2、ハンディタ−ミナル1のフラッ
シュROM10に格納されているプログラムの版番号を
1と設定している。
Here, the message format shown in FIG. 5 will be described. The reference numeral 18 contains (02) HEX and STX in hexadecimal. In the part of 19, (00) HEX: start instruction, (0)
1) HEX: version number, (02) HEX: program request, (03) HEX: data is a program, (04) H
EX: program rewrite instruction, (05) HEX: program rewrite preparation OK, (06) HEX: request for collection data, (07) HEX: data is collection data, (0)
8) HEX: final data, (09) HEX: abnormality found,
(0A) HEX: Censored, as appropriate. Reference numeral 20
Describes the length of a message in 1 byte, and some commands have a length of 0 depending on the type of command. 21 has a maximum of 25
The message data of up to 5 bytes is stored. 22 has 16
(03) HEX and ETX are stored in radix. 23 is a check code, and the value from STX to ETX is XORed
The stored value is stored. As shown in FIG. 6, in this embodiment, the version number of the program stored in the file of the host computer is set to 2, and the version number of the program stored in the flash ROM 10 of the handheld terminal 1 is set to 1. doing.

【0014】次にホストコンピュ−タに格納されている
プログラムが、ハンディタ−ミナル1のフラッシュRO
M10に格納されているプログラムよりも、新しい時の
処理について説明する。ホストコンピュ−タはハンディ
タ−ミナル1に対して、「プログラムを書き換えよ」と
いうコマンドを含む指示(電文)を送信する(S7)。
当該電文を受け取ったハンディタ−ミナル1は、フラッ
シュROM10やRAM11に格納されているプログラ
ムを消去し、ホストコンピュ−タに対して「プログラム
書き換え準備OK」のコマンドを送信する(S8)。
「プログラム書き換え準備OK」のコマンドを受信した
ホストコンピュ−タは、当該ホストコンピュ−タのファ
イルに蓄積されている新しいプログラムを、ハンディタ
−ミナル1に送信する(S9)。ハンディタ−ミナル1
は、ホストコンピュ−タより送信されてきた新しいプロ
グラムを受信し、CPU9の指令によりフラッシュRO
M10に書き込みを行う。この後、最初にホストコンピ
ュ−タより送信されたプログラムの版番号をフラッシュ
ROM10に書き込み、上記した処理と同様に、ホスト
コンピュ−タからハンディタ−ミナル1に対して「収集
してきたデ−タを送れ」のコマンドを含んだ指示(電
文)を送信する(S5)。これに対してハンディタ−ミ
ナル1は、CPU9の指令により収集してきたデ−タ
(商品の在庫デ−タや売上げデ−タ等)をホストコンピ
ュ−タに設けられているファイル(図示せず)に送信
(S6)して、処理を終了する。
Next, the program stored in the host computer is the flash RO of the handy terminal 1.
The processing when the program is newer than the program stored in M10 will be described. The host computer transmits an instruction (telegram) including a command of "rewrite the program" to the handy terminal 1 (S7).
The handy terminal 1 having received the message erases the program stored in the flash ROM 10 or the RAM 11 and transmits a "program rewriting preparation OK" command to the host computer (S8).
The host computer that has received the "program rewriting preparation OK" command transmits the new program stored in the file of the host computer to the handy terminal 1 (S9). Handy terminal 1
Receives a new program transmitted from the host computer, and issues a flash RO
Write to M10. Thereafter, the version number of the program transmitted from the host computer is first written into the flash ROM 10, and the data collected from the host computer is transmitted to the handy terminal 1 in the same manner as described above. An instruction (telegram) including the command of "send" is transmitted (S5). On the other hand, the handy terminal 1 is a file (not shown) provided in the host computer with data (stock data and sales data, etc.) collected by a command from the CPU 9. (S6), and the process ends.

【0015】次にホストコンピュ−タに格納されている
プログラムと、ハンディタ−ミナル1に格納されている
プログラムが同じ場合の処理について説明する。この場
合は、プログラムを変更する必要がないので、ホストコ
ンピュ−タはハンディタ−ミナル1に対して「収集デ−
タを送れ」という要求のコマンドを含んだ電文を送信す
る(S5)。当該電文を受け取ったハンディタ−ミナル
1は、収集してきたデ−タをホストコンピュ−タに伝送
(S6)して処理を終了する。
Next, the processing when the program stored in the host computer and the program stored in the handy terminal 1 are the same will be described. In this case, there is no need to change the program, so the host computer sends the "collection data" to the handy terminal 1.
Is transmitted (S5). The handy terminal 1 having received the message transmits the collected data to the host computer (S6), and ends the processing.

【0016】[0016]

【発明の効果】以上説明したように、本発明ではホスト
コンピュータが蓄積するプログラムの版番号とハンディ
ターミナルのプログラムの版番号を比較し、新しい版の
プログラムを旧い方に転送するプロトコルを日常業務の
収集データ転送処理に埋め込む。これにより、ハンディ
ターミナルの使用者(運用者)は自分のハンディターミ
ナルのプログラムの版を一切意識することなく、最新の
ものに書き換えられる。運用管理者は新しい版のハンデ
ィターミナルを一台旧版のハンディターミナルと交換す
るだけで、ホストコンピュ−タを介してハンディターミ
ナルのプログラムが書き換えられていき、一台のハンデ
ィターミナルによって、同一ホストを利用する他の運用
中の全てのハンディターミナルのプログラムの版が更新
される。プログラムの書き換えに専任者の介在が一切な
く、業務を一切停止することなく任意の時間帯にこれら
が実施される。
As described above, according to the present invention, the version number of the program stored in the host computer is compared with the version number of the program of the handy terminal, and the protocol for transferring the new version of the program to the old one is used in daily work. Embed in collected data transfer processing. As a result, the user (operator) of the handy terminal can rewrite the version of the program of the handy terminal to the latest one without being aware of the version. The operator simply replaces the new version of the handy terminal with one old handy terminal, and the handy terminal program is rewritten via the host computer, and the same host is used by one handy terminal. The version of all other handy terminal programs in operation will be updated. The rewriting of the program is performed at any time without any special staff intervention and without any interruption of the work.

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

【図1】 ハンディタ−ミナルの外観斜視図FIG. 1 is an external perspective view of a handy terminal.

【図2】 ハンディタ−ミナルのブロック図FIG. 2 is a block diagram of a handy terminal.

【図3】 フラッシュROM、RAM内のデ−タの並
[Fig. 3] Arrangement of data in flash ROM and RAM

【図4】 伝送プロトコルFig. 4 Transmission protocol

【図5】 電文フォ−マットFig. 5 Message format

【図6】 版番号の設定を示した図FIG. 6 is a diagram showing setting of a version number;

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

1 ハンディタ−ミナル 2 LCD表示部 3 LED 4 ブザ− 5 キ−入力部分 6 通信用コネクタ 7 電池パック 8 充電端子 9 中央処理装置 10 フラッシュROM 11 RAM 12 電源回路 13 カレンダ機能 14 版番号を確認するプログラム 15 版番号格納部分 16 入出力制御プログラム 17 応用プログラム 18 16進数で表現する部分 19 コマンド 20 電文の長さ 21 電文本体 22 16進数で表現する部分 23 チェックコ−ド DESCRIPTION OF SYMBOLS 1 Handy terminal 2 LCD display part 3 LED 4 Buzzer 5 Key input part 6 Communication connector 7 Battery pack 8 Charging terminal 9 Central processing unit 10 Flash ROM 11 RAM 12 Power supply circuit 13 Calendar function 14 Program for checking version number 15 Version number storage part 16 Input / output control program 17 Application program 18 Part expressed in hexadecimal number 19 Command 20 Message length 21 Message body 22 Part expressed in hexadecimal number 23 Check code

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 最新のプログラムを格納したハンディタ
−ミナルと、該ハンディタ−ミナルに蓄積されたデ−タ
や、各種指令を発するホストコンピュ−タとの間で行わ
れるプログラムの更新方法であって、前記ハンディタ−
ミナルに格納されているプログラムよりも、ホストコン
ピュ−タに格納されているプログラムが旧く、該ホスト
コンピュ−タに格納されているプログラムを新しいプロ
グラムに更新する場合に、前記ハンディタ−ミナルに格
納されているプログラムの版番号を、前記ホストコンピ
ュ−タに送信し、前記ホストコンピュ−タ内に格納され
ているプログラムの版番号を参照し、ホストコンピュ−
タに格納されているプログラムが最新のものでない場合
には、最新のプログラムに書き換えることを特徴とする
ハンディタ−ミナルにおけるプログラムの更新方法。
A method of updating a program performed between a handy terminal storing a latest program, data stored in the handy terminal, and a host computer issuing various commands. , The handita
The program stored in the host computer is older than the program stored in the terminal, and when updating the program stored in the host computer to a new program, the program stored in the handy terminal is used. Transmitting the version number of the program to the host computer, referring to the version number of the program stored in the host computer,
A program updated in a handy terminal, when the program stored in the terminal is not the latest one, the program is rewritten to the latest program.
JP10136038A 1998-04-30 1998-04-30 Program updating method in handy terminal Pending JPH11316722A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10136038A JPH11316722A (en) 1998-04-30 1998-04-30 Program updating method in handy terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10136038A JPH11316722A (en) 1998-04-30 1998-04-30 Program updating method in handy terminal

Publications (1)

Publication Number Publication Date
JPH11316722A true JPH11316722A (en) 1999-11-16

Family

ID=15165735

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10136038A Pending JPH11316722A (en) 1998-04-30 1998-04-30 Program updating method in handy terminal

Country Status (1)

Country Link
JP (1) JPH11316722A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100388678C (en) * 2004-11-29 2008-05-14 中兴通讯股份有限公司 Automatic obtaining method for telecommunication trausmission systen unit soft and hard ware version

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100388678C (en) * 2004-11-29 2008-05-14 中兴通讯股份有限公司 Automatic obtaining method for telecommunication trausmission systen unit soft and hard ware version

Similar Documents

Publication Publication Date Title
JP3474850B2 (en) Battery power unit
CN116170311A (en) Electric tool system and upgrading method for same
US20060047778A1 (en) Peer-to-peer hosting of intelligent field devices
JP4888718B2 (en) Distributed control system
US10532618B2 (en) Tire pressure monitoring sensor
WO2009121177A1 (en) Portable alarm configuration/update tool
US6601115B1 (en) Communication protocol converter system and monitor device
JP3550210B2 (en) Software update method for industrial robots
JP4589749B2 (en) Data collection system
US9311460B2 (en) Programmable controller system, tool device, tool program, storage medium, and programmable controller
JP4684065B2 (en) Air conditioner control information rewriting device
JP2003209510A (en) Firmware distribution system for portable telephone, portable telephone terminal and firmware updating program therefor
JPH11316722A (en) Program updating method in handy terminal
JP3634810B2 (en) Memory rewriting device
JP3496601B2 (en) Electronic device and operation state output method of electronic device
JP6755537B1 (en) Signal processing equipment, monitoring and control systems, monitoring and control methods, monitoring and control programs, and manufacturing methods for monitoring and control systems
US7460918B2 (en) Devices and methods for updating the programming of a system for controlling an electric rotary machine
JP2000194543A (en) Network device
JPH05344022A (en) Portable data communication equipment
JP5786386B2 (en) Programmable controller system, tool device, tool program and recording medium, and programmable controller
JP2021033998A (en) Signal processing apparatus, monitoring control system, monitoring control method, monitoring control program, and manufacturing method of monitoring control system
JP2000242502A (en) Handy terminal
JP3714070B2 (en) Communication terminal device and received data processing method of communication terminal device
KR100390363B1 (en) Main memory unit programing board and programing method
JP2000315154A (en) Method for preventing illegal use of development system for handy terminal