JPH0512154A - Data communication system - Google Patents

Data communication system

Info

Publication number
JPH0512154A
JPH0512154A JP3165367A JP16536791A JPH0512154A JP H0512154 A JPH0512154 A JP H0512154A JP 3165367 A JP3165367 A JP 3165367A JP 16536791 A JP16536791 A JP 16536791A JP H0512154 A JPH0512154 A JP H0512154A
Authority
JP
Japan
Prior art keywords
data
binary
file
character
maintenance
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
JP3165367A
Other languages
Japanese (ja)
Inventor
Yasuo Morishima
康夫 森嶋
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3165367A priority Critical patent/JPH0512154A/en
Publication of JPH0512154A publication Critical patent/JPH0512154A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To attain a data communication system which can secure the remote maintenance of a terminal equipment even if a maintenance program file is produced in a binary form. CONSTITUTION:A data transmitter consists of a connection means 11 secures the connection among the program files 101-10n which are described in a binary form, a character converter means 12 which converts the binary data into the character data, and a transmitter means 13 which transmits the character data in a prescribed communication procedure. Meanwhile a data receiver consists of a receiver means 23 which receives the character data including plural programs in a prescribed communication procedure, a binary converter means 22 which converts each character data into the binary data and produces a binary file, and a separator means 21 which separates the binary file into the programs 201-20n.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ネットワーク接続され
た端末装置のリモートメンテナンスを実現するデータ通
信システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data communication system for realizing remote maintenance of terminal devices connected to a network.

【0002】近年、チェーンストアの発展が目覚まし
い。かかるチェーン展開による販売分散と管理の集中化
を実現するために、チェーンストアシステムの導入が促
進され、広く普及されるに至っている。
In recent years, the development of chain stores has been remarkable. In order to realize distribution of sales and centralization of management through such chain development, introduction of a chain store system has been promoted and has become widespread.

【0003】このようなチェーンストアシステムは、そ
の規模が大きくなるにしがって各端末装置のメンテナン
スが大きな負担となっており、メンテナンスを簡単に行
なう方法が望まれている。
[0003] In such a chain store system, maintenance of each terminal device becomes a heavy burden as its scale increases, and a method for performing the maintenance easily is desired.

【0004】[0004]

【従来の技術】従来、流通業界において、最も一般的に
使用されている伝送手順は、1980年7月に制定され
た「取引先データ交換標準通信制御手順」(以下、「J
CA手順」という。)である。
2. Description of the Related Art Conventionally, the most commonly used transmission procedure in the distribution industry is the "customer data exchange standard communication control procedure" (hereinafter referred to as "J") established in July 1980.
CA procedure ". ).

【0005】このJCA手順の仕様は、主としてデータ
リンクレベルのプロトコルではBSC手順に準拠してお
り、次のような特徴を有する。
The specification of the JCA procedure is based on the BSC procedure mainly in the data link level protocol and has the following features.

【0006】伝送コードは、「EBCDIC(Extende
d Binary Coded Decimal Intercha-nge Code) コード」
である。伝送方式は、非透過方式である。1回のダ
イヤル接続で1ファイルを伝送する。
The transmission code is "EBCDIC (Extende
d Binary Coded Decimal Intercha-nge Code)
Is. The transmission method is a non-transparent method. One file is transmitted by one dial connection.

【0007】したがって、JCA手順でネットワーク接
続された端末装置(コントローラ及びPOS端末等)の
ファイル伝送方式によるリモートでのメンテナンスを実
現するにあたり、以下のような問題点があった。
Therefore, the following problems have been encountered in implementing remote maintenance by the file transmission system of the terminal devices (controller, POS terminal, etc.) connected to the network by the JCA procedure.

【0008】メンテナンス用プログラムファイルがバ
イナリ形式で作成されるために、JCA手順でのファイ
ル伝送が不可能である。
Since the maintenance program file is created in binary format, file transmission by the JCA procedure is impossible.

【0009】1回のダイヤ接続で送信することができ
るのは1ファイルに限られる。このため、複数のメンテ
ナンス用プログラムファイルを1回のダイヤル接続で送
信することができず、同一版数のメンテナンス用プログ
ラムファイルの送信漏れが発生する危険があった。
Only one file can be transmitted with one diamond connection. For this reason, a plurality of maintenance program files cannot be transmitted by one dial connection, and there is a risk that transmission failure of maintenance program files of the same version number may occur.

【0010】[0010]

【発明が解決しようとする課題】本発明は、上記事情に
鑑みて成されたもので、メンテナンス用プログラムファ
イルがバイナリ形式で作成されてもJCA手順でのファ
イル伝送が可能であり、また、複数のメンテナンス用プ
ログラムファイルを1回のダイヤル接続で送信すること
ができ、送信漏れを防止できるデータ通信システムを提
供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and enables file transmission according to the JCA procedure even if the maintenance program file is created in binary format. It is an object of the present invention to provide a data communication system capable of transmitting the maintenance program file of 1 above with a single dial connection and preventing transmission omissions.

【0011】[0011]

【課題を解決するための手段】図1は、本発明にかかる
データ通信システムの原理説明図である。即ち、本発明
のデータ通信システムは、データ送信装置とデータ受信
装置とを有している。
FIG. 1 is a diagram for explaining the principle of a data communication system according to the present invention. That is, the data communication system of the present invention has a data transmitting device and a data receiving device.

【0012】データ送信装置は、バイナリで記述された
複数のプログラムファイル101 ,102 〜10n を結
合する結合手段11と、該結合手段11で結合して得ら
れたバイナリファイル内の各バイナリデータをキャラク
タデータに変換するキャラクタ変換手段12と、該キャ
ラクタ変換手段12で変換されたキャラクタデータを所
定の通信手順に則って送信する送信手段13とにより構
成される。
The data transmission apparatus includes a combining means 11 for combining a plurality of program files 10 1 , 10 2 to 10 n described in binary, and each binary in a binary file obtained by combining with the combining means 11. It is composed of character conversion means 12 for converting data into character data and transmission means 13 for transmitting the character data converted by the character conversion means 12 in accordance with a predetermined communication procedure.

【0013】データ受信装置は、複数のプログラムが含
まれるキャラクタデータを所定の通信手順に則って受信
する受信手段23と、該受信手段23で受信した各キャ
ラクタデータをバイナリデータに変換してバイナリファ
イルを作成するバイナリ変換手段22と、該バイナリ変
換手段22で得られたバイナリファイルを、バイナリで
記述された複数のプログラム201 , 202 〜20n
分離する分離手段21とにより構成される。
The data receiving device includes a receiving means 23 for receiving character data including a plurality of programs in accordance with a predetermined communication procedure, and each character data received by the receiving means 23 is converted into binary data into a binary file. And a separation unit 21 that separates the binary file obtained by the binary conversion unit 22 into a plurality of programs 20 1 , 20 2 to 20 n written in binary.

【0014】上記データ送信装置とデータ受信装置とは
ネットワーク接続される。
The data transmission device and the data reception device are network-connected.

【0015】[0015]

【作用】データの通信は、次のように行なわれる。先
ず、データ送信装置では、例えばメンテナンス用のバイ
ナリで記述された複数のプログラムファイル(101 ,10
2 〜10n )を結合して1つのバイナリファイルを作成す
る。
The data communication is performed as follows. First, in the data transmission device, for example, a plurality of program files (10 1 , 10
By combining 2 to 10 n) to create a single binary file.

【0016】そして、このバイナリファイルから各バイ
ナリデータを取り出し、所定の規則に従ってキャラクタ
データに変換する。このキャラクタデータは、送信手段
13により、非透過方式の所定の手順、例えばJCA手
順に従って回線に送出される。
Then, each binary data is extracted from this binary file and converted into character data according to a predetermined rule. This character data is sent to the line by the transmitting means 13 in accordance with a predetermined non-transparent procedure, for example, the JCA procedure.

【0017】一方、回線からのデータを、例えばJCA
手順に従って受信したデータ受信装置は、先ず、キャラ
クタデータをバイナリデータに変換し、1のバイナリフ
ァイルを再生する。次いで、バイナリファイルに含まれ
るプログラムを元の複数のプログラムに分離する。
On the other hand, the data from the line is transferred to, for example, JCA.
The data receiving device which has received according to the procedure first converts the character data into binary data and reproduces one binary file. Next, the program included in the binary file is separated into a plurality of original programs.

【0018】このように、バイナリデータで構成される
プログラムを、一旦キャラクタデータに変換し、データ
伝送段階ではキャラクタデータで通信を行ない、受信側
でキャラクタデータを元のバイナリデータのプログラム
に復元するようにしたので、キャラクタデータでしか機
能しない伝送手順、例えばJCA手順においてもプログ
ラムのようなバイナリデータを送信することができ、リ
モートメンテナンスが可能となっている。
As described above, the program composed of binary data is once converted into character data, communication is performed with the character data in the data transmission stage, and the character data is restored to the original binary data program on the receiving side. Therefore, binary data such as a program can be transmitted even in a transmission procedure that works only with character data, for example, the JCA procedure, and remote maintenance is possible.

【0019】また、送信側では、複数のプログラムを結
合して1つのファイルとして一度に送信するので、同一
版数のメンテナンス用プログラムファイルの送信漏れが
発生するという事態も回避できるものとなっている。
Further, on the transmitting side, since a plurality of programs are combined and transmitted as one file at a time, it is possible to avoid a situation in which transmission failure of maintenance program files of the same version occurs. .

【0020】[0020]

【実施例】図2は、本発明にかかるデータ通信システム
の第1の実施例の構成を示すものである。なお、図1と
同一又は相当部には同一符号を付して説明する。
FIG. 2 shows the configuration of a first embodiment of a data communication system according to the present invention. It should be noted that the same or corresponding parts as those in FIG.

【0021】図において、1はデータ送信装置としての
上位側装置である。この上位側装置は、システムの中核
をなす例えばホストコンピュータである。この上位側装
置1から、メンテナンスデータが各端末装置に送信され
る。
In the figure, reference numeral 1 is a higher-level device as a data transmission device. This upper-level device is, for example, a host computer that forms the core of the system. Maintenance data is transmitted from the higher-level device 1 to each terminal device.

【0022】2はデータ受信装置としての端末装置であ
る。この端末装置2のプログラムがリモートメンテナン
スにより更新されることになる。
Reference numeral 2 is a terminal device as a data receiving device. The program of the terminal device 2 will be updated by remote maintenance.

【0023】なお、図では、説明を簡単にするために、
上位側装置1に1台の端末装置2が接続される場合を示
しているが、上位側装置1に対し複数の端末装置がネッ
トワーク接続される構成が一般的である。
In the figure, in order to simplify the explanation,
Although the case where one terminal device 2 is connected to the upper device 1 is shown, a configuration in which a plurality of terminal devices are network-connected to the upper device 1 is common.

【0024】上位側装置1は次のように構成される。即
ち、101 〜103 は、メンテナンス用プログラムファ
イルである。このメンテナンス用プログラムファイル1
1 〜103 は、例えば図示しない磁気ディスク装置に
形成される。このメンテナンス用プログラムファイル1
1 〜103 には、バージョンアップされたプログラム
がその版数情報とともにバイナリ形式で記憶されてい
る。
The upper device 1 is constructed as follows. That is, 10 1 to 10 3 are maintenance program files. This maintenance program file 1
0 1 to 10 3 are formed in, for example, a magnetic disk device (not shown). This maintenance program file 1
The 0 1-10 3, version-up program is stored in binary form together with the version number information.

【0025】11は結合手段としての結合部である。こ
の結合部11は、同一版数を有するメンテナンス用プロ
グラムファイル101 〜103 を結合し、1つのメンテ
ナンス用プログラムファイル(以下、「バイナリファイ
ル」という)110を生成するものである。
Reference numeral 11 is a connecting portion as a connecting means. The combining unit 11 combines the maintenance program files 10 1 to 10 3 having the same version number to generate one maintenance program file (hereinafter referred to as “binary file”) 110.

【0026】図では、3つのメンテナンス用プログラム
ファイル101 〜103 が同一版数を有し、結合部11
の機能により結合されて1つのバイナリファイル110
が生成される場合を示している。
In the figure, the three maintenance program files 10 1 to 10 3 have the same version number, and the combining unit 11
Binary files 110 combined by the functions of
Is generated.

【0027】結合部11は、複数のメンテナンス用ファ
イルを結合する際に、制御文ファイル(図示しない)を
生成し、これもバイナリファイル110に包含せしめ
る。ここで、制御文ファイル110は、各メンテナンス
用プログラムファイルに関する情報を記憶するファイル
であり、端末装置2において、結合されたバイナリファ
イル210を各メンテナンス用プログラムファイル20
1 〜203 に分離する際に必要な情報を含んでいる。
The combining unit 11 generates a control statement file (not shown) when combining a plurality of maintenance files, and also includes this in the binary file 110. Here, the control statement file 110 is a file that stores information about each maintenance program file, and in the terminal device 2, the combined binary file 210 is stored in each maintenance program file 20.
It contains information necessary for separation into 1 to 20 3 .

【0028】110は、上述したように、各メンテナン
ス用プログラムファイル101 〜103 と制御文ファイ
ルとが結合されて形成されるバイナリファイルである。
Reference numeral 110 is a binary file formed by combining the maintenance program files 10 1 to 10 3 and the control statement file as described above.

【0029】12はキャラクタ変換部である。このキャ
ラクタ変換部12は、バイナリファイル110からバイ
ナリデータを読み出してキャラクタデータに変換するも
のである。
Reference numeral 12 is a character conversion unit. The character conversion unit 12 reads binary data from the binary file 110 and converts it into character data.

【0030】即ち、1バイトのバイナリデータを2バイ
トのEBCDICコード(キャラクタコード)に変換す
る。変換は、例えば、次のように行なわれる。
That is, 1-byte binary data is converted into 2-byte EBCDIC code (character code). The conversion is performed as follows, for example.

【0031】 変換前:1バイトのバイナリデータ 「E2H 」 変換後:2バイトのキャラクタデータ 「45F
H
Before conversion: 1-byte binary data “E2 H ” After conversion: 2-byte character data “45F
2 H "

【0032】ここで、「45H 」はEBCDICコード
の「E」を表しており、「F2H 」はEBCDICコー
ドの「2」を表している。なお、添字の「H 」は16進
数であることを示している。
Here, "45 H " represents "E" of the EBCDIC code, and "F2 H " represents "2" of the EBCDIC code. The subscript " H " indicates that it is a hexadecimal number.

【0033】このキャラクタ変換部12の出力は、キャ
ラクタファイル120に一時記憶される。そして、JC
A手順によるファイル伝送は、このキャラクタファイル
120の内容について行なわれる。
The output of the character conversion unit 12 is temporarily stored in the character file 120. And JC
The file transmission according to the A procedure is performed on the contents of the character file 120.

【0034】一方、端末装置2は次のように構成され
る。即ち、220はキャラクタファイルである。このキ
ャラクタファイル220は、JCA手順で送られてくる
キャラクタデータ(EBCDICコード)を一時記憶す
るものである。このキャラクタファイル220の内容
は、バイナリ変換部22に供給される。
On the other hand, the terminal device 2 is constructed as follows. That is, 220 is a character file. The character file 220 temporarily stores character data (EBCDIC code) sent by the JCA procedure. The contents of the character file 220 are supplied to the binary conversion unit 22.

【0035】バイナリ変換部22は、2バイトのEBC
DICコードを1バイトのバイナリデータに変換するも
のである。即ち、上記キャラクタ変換部12の動作と逆
の動作を行なうものである。このバイナリ変換部22の
出力は、バイナリファイル210に供給される。
The binary conversion unit 22 uses a 2-byte EBC.
The DIC code is converted into 1-byte binary data. That is, the operation reverse to the operation of the character conversion unit 12 is performed. The output of the binary conversion unit 22 is supplied to the binary file 210.

【0036】バイナリファイル210は、バイナリデー
タとしてのメンテナンス用プログラムファイルと制御文
ファイルが、1つのバイナリデータとして記憶されてい
るファイルである。このバイナリファイル210は、上
位側装置1のバイナリファイル110に対応するもので
ある。このバイナリファイル210の内容は、分離部2
1により参照される。
The binary file 210 is a file in which a maintenance program file as binary data and a control statement file are stored as one binary data. This binary file 210 corresponds to the binary file 110 of the higher-level device 1. The contents of this binary file 210 are
Referenced by 1.

【0037】分離部21は、バイナリファイル210中
の制御文ファイルの内容に従って、該バイナリファイル
に210に記憶されている複数のメンテナンス用プログ
ラムファイルを、個々のメンテナンス用プログラムファ
イル201 〜203 に分離するものである。
The separation unit 21 according to the contents of the control statements file in a binary file 210, a plurality of maintenance program file stored in the 210 to the binary file, the program individual maintenance files 20 1 to 20 3 To separate.

【0038】この分離部21により分離されたメンテナ
ンス用プログラムは、それぞれ単独のメンテナンス用プ
ログラムファイル201 〜203として、各別に記憶さ
れる。端末装置2は、このメンテナンス用プログラムフ
ァイル201 〜203 に従って、自端末装置のプログラ
ムを変更することになる。
The maintenance programs separated by the separating unit 21 are individually stored as individual maintenance program files 20 1 to 20 3 . The terminal apparatus 2, according to the maintenance program files 20 1 to 20 3, will modify the program of the terminal device.

【0039】次に、上記構成において、動作を説明す
る。
Next, the operation of the above configuration will be described.

【0040】端末装置2のプログラム不具合、仕様変更
等が発生すると、上位側装置1において、改訂されたプ
ログラムが作成され、メンテナンス用プログラムファイ
ル101 〜103 に蓄えられる。この際、各メンテナン
ス用プログラムファイル10 1 〜103 には、版数情報
が付される。
Program defect of terminal device 2, specification change
Etc. occur, the revised device will be
Program is created and the maintenance program file is created.
Le 101-103Stored in. At this time, each maintainer
Program file 10 1-103Version information
Is attached.

【0041】かかる状態で、上位側装置1においてリモ
ートメンテナンスの指令が発せられると、結合部11
は、メンテナンス用プログラムファイル101〜103
中の最新の版数情報を有するファイルを検索し、これを
結合してバイナリファイル110を作成する。この際、
制御文ファイルも作成され、上記バイナリファイル11
0に含められる。
In this state, when the remote maintenance command is issued in the host device 1, the connecting unit 11
Is the maintenance program file 10 1 to 10 3
A file having the latest version number information is searched, and these are combined to create the binary file 110. On this occasion,
A control statement file is also created, and the above binary file 11
Included in 0.

【0042】次いで、キャラクタ変換部12は、バイナ
リファイル110からバイナリデータを1バイトずつ読
み出し、2バイトのキャラクタデータ(EBCDICコ
ード)に変換する。このキャラクタデータはキャラクタ
ファイル120に逐次蓄えられる。
Next, the character conversion unit 12 reads the binary data from the binary file 110 byte by byte and converts it into 2-byte character data (EBCDIC code). This character data is sequentially stored in the character file 120.

【0043】次いで、JCA手順によるファイル伝送が
行なわれる。このファイル伝送手順の詳細については、
周知であるので説明は省略する。
Then, the file transmission according to the JCA procedure is performed. For more information on this file transfer procedure,
Since it is well known, its explanation is omitted.

【0044】端末装置2側では、上記ファイル伝送によ
りキャラクタデータを受け取ると、順次キャラクタファ
イル220に蓄える。
On the side of the terminal device 2, when the character data is received by the file transmission, it is sequentially stored in the character file 220.

【0045】このファイル伝送が終了すると、バイナリ
変換部22は、キャラクタファイル220から、EBC
DICコードのデータを2バイトずつ読み出し、1バイ
トのバイナリデータに変換する。そして変換されたデー
タは、バイナリファイル210に順次記憶される。
When this file transmission is completed, the binary converter 22 reads the EBC from the character file 220.
The data of the DIC code is read every 2 bytes and converted into 1-byte binary data. Then, the converted data is sequentially stored in the binary file 210.

【0046】このバイナリ変換が終了すると、分離部2
1は、バイナリファイル210から制御文ファイルを読
み出し、この制御文ファイルの内容に基づいて、該バイ
ナリファイル210に記憶されている複数のメンテナン
ス用プログラムファイルを、個々のメンテナンス用プロ
グラムファイル201 〜203 に分離する。これによ
り、端末装置2側に、上位側装置1のメンテナンス用プ
ログラムファイル101 〜103 と同様のメンテナンス
用プログラムファイル201 〜203 が形成されること
になる。
When this binary conversion is completed, the separation unit 2
1, a binary file reading control statements file from 210, based on the contents of the control statements file, the binary file 210 a plurality of maintenance program file stored in the individual maintenance program files 20 1 to 20 Separate into 3 . As a result, maintenance program files 20 1 to 20 3 similar to the maintenance program files 10 1 to 10 3 of the host device 1 are formed on the terminal device 2 side.

【0047】端末装置2では、このメンテナンス用プロ
グラムファイル201 〜203 の内容で既存のプログラ
ムを置換し、端末装置を最新状態にバージョンアップす
る。
In the terminal device 2, the existing program is replaced by the contents of the maintenance program files 20 1 to 20 3 , and the terminal device is upgraded to the latest state.

【0048】このように、バイナリデータで構成される
プログラムを、一旦キャラクタデータに変換し、データ
伝送段階ではキャラクタデータでファイル伝送を行な
い、受信側でキャラクタデータを元のバイナリデータの
プログラムに復元するようにしたので、キャラクタデー
タでしか機能しないJCA手順においてもプログラムの
ようなバイナリデータを送信することができ、JCA手
順でネットワーク接続された端末装置のリモートでのメ
ンテナンスが可能となっている。
As described above, a program composed of binary data is once converted into character data, and a file is transmitted with the character data at the data transmission stage, and the character data is restored to the original binary data program at the receiving side. As a result, binary data such as a program can be transmitted even in the JCA procedure that works only with character data, and remote maintenance of the terminal device connected to the network by the JCA procedure is possible.

【0049】また、送信側では、複数のメンテナンス用
プログラムファイルを結合して1つのファイルとして一
度に送信するので、同一版数のメンテナンス用プログラ
ムファイルの送信漏れが発生するという事態も回避でき
るものとなっている。
Also, on the transmitting side, since a plurality of maintenance program files are combined and transmitted as one file at a time, it is possible to avoid a situation in which transmission failure of maintenance program files of the same version occurs. Has become.

【0050】次に本発明にかかるデータ通信システムの
第2の実施例について説明する。
Next, a second embodiment of the data communication system according to the present invention will be described.

【0051】図3は、第2の実施例の構成を示すもので
ある。なお、図2で説明した第1の実施例と同一部分に
は同一符号を付し、説明は省略する。
FIG. 3 shows the configuration of the second embodiment. The same parts as those in the first embodiment described with reference to FIG. 2 are designated by the same reference numerals and the description thereof will be omitted.

【0052】この第2の実施例で特徴的な部分は、デー
タ圧縮/伸長手段を設けたことである。
A characteristic part of this second embodiment is that a data compression / decompression means is provided.

【0053】即ち、上位側装置1においては、メンテナ
ンス用プログラムファイルを結合して得られるバイナリ
ファイル110の内容を圧縮するデータ圧縮部13、及
びデータ圧縮部13で圧縮されたデータを蓄える圧縮デ
ータファイル14を有している。キャラクタ変換部12
は、この圧縮データファイル14から取り出したバイナ
リデータをキャラクタデータに変換して出力する。上記
以外は上述した実施例1の上位側装置と同じである。
That is, in the host computer 1, a data compression unit 13 for compressing the contents of the binary file 110 obtained by combining the maintenance program files and a compressed data file for storing the data compressed by the data compression unit 13. Have fourteen. Character conversion unit 12
Converts the binary data extracted from the compressed data file 14 into character data and outputs the character data. Other than the above, it is the same as the higher-level device of the first embodiment described above.

【0054】一方、端末側装置2においては、受け取っ
たキャラクタデータをバイナリデータに変換して一時蓄
える圧縮データファイル24、及びこの圧縮データファ
イル24に蓄えられたデータを伸長するデータ伸長部2
3を有している。データ伸長部23で伸長されたデータ
は、バイナリファイル210に蓄えられる。上記以外
は、上述した実施例1の端末装置と同じである。
On the other hand, in the terminal unit 2, a compressed data file 24 for converting the received character data into binary data and temporarily storing it, and a data decompression unit 2 for decompressing the data stored in this compressed data file 24.
Have three. The data decompressed by the data decompression unit 23 is stored in the binary file 210. Other than the above, the terminal device is the same as the terminal device of the first embodiment described above.

【0055】この実施例での圧縮/伸長の方式は如何な
る方式であっても良い。
The compression / decompression method in this embodiment may be any method.

【0056】このように、この第2の実施例によれば、
上位側装置1では、メンテナンス用プログラムファイル
101 〜103 を結合して得られたバイナリファイルを
一旦圧縮した後にキャラクタデータに変換してデータ伝
送を行い、端末装置2では、受信したキャラクタデータ
をバイナリデータに変換した後に伸長し、その後、メン
テナンス用プログラムファイル201 〜203 に分離す
るようにしたので、伝送路上でのデータの伝送量が少な
くなり、短時間で効率良くリモートメンテナンスができ
るものとなっている。
Thus, according to this second embodiment,
In the host device 1, the binary files obtained by combining the maintenance program files 10 1 to 10 3 are once compressed and then converted into character data for data transmission. In the terminal device 2, the received character data is transferred. extended after converting into binary data, then, since so as to separate the maintenance program files 20 1 to 20 3, the transmission of data on the transmission line is reduced, which quickly and efficiently can remote maintenance Has become.

【0057】なお、上記実施例では、メンテナンス用プ
ログラムファイルが3個存在する場合について説明した
が、メンテナンス用プログラムファイルの数はこれに限
定されるものではなく、任意の数であって良い。
In the above embodiment, the case where there are three maintenance program files has been described, but the number of maintenance program files is not limited to this, and may be any number.

【0058】また、上記実施例では、バイナリデータを
EBCDICコードに変換するばあいについて説明した
が、これは、伝送手順の一例として用いたJCA手順が
EBCDICコードでデータ伝送を行なう仕様となって
いるからである。
In the above embodiment, the case of converting binary data into an EBCDIC code has been described. In this case, the JCA procedure used as an example of the transmission procedure has a specification to perform data transmission with the EBCDIC code. Because.

【0059】したがって、他の伝送手順では、該手順が
要求する他のキャラクタコード、例えばJISコードに
変換する必要があるが、この場合も上記と同様にして、
必要なキャラクタコードに変換し、ファイル伝送を行な
うことができる。
Therefore, in another transmission procedure, it is necessary to convert the character code into another character code required by the procedure, for example, the JIS code.
It can be converted to the required character code and file can be transmitted.

【0060】[0060]

【発明の効果】以上詳述したように、本発明によれば、
メンテナンス用プログラムファイルがバイナリ形式で作
成されてもJCA手順でのファイル伝送が可能であり、
また、複数のメンテナンス用プログラムファイルを1回
のダイヤル接続で送信することができ、送信漏れを防止
できるデータ通信システムを提供することができる。
As described in detail above, according to the present invention,
Even if the maintenance program file is created in binary format, it is possible to transfer the file using the JCA procedure.
Further, it is possible to provide a data communication system capable of transmitting a plurality of maintenance program files with one dial connection and preventing transmission omissions.

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

【図1】本発明のデータ通信システムの原理図である。FIG. 1 is a principle diagram of a data communication system of the present invention.

【図2】本発明の第1の実施例の構成図である。FIG. 2 is a configuration diagram of a first embodiment of the present invention.

【図3】本発明の第2の実施例の構成図である。FIG. 3 is a configuration diagram of a second embodiment of the present invention.

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

1 上位側装置 2 端末装置 101 〜10n 上位側装置のプログラムファイル 11 結合部(結合手段) 12 キャラクタ変換部(キャラクタ変換手段) 13 送信手段 201 〜20n 端末装置のプログラムファイル 21 分離部(分離手段) 22 バイナリ変換部(バイナリ変換手段) 23 受信手段1 program file 11 binding portion of the upper unit 2 terminal apparatus 10 1 to 10 n upper device (coupling means) 12 the character conversion unit (character converting means) 13 transmitting means 20 1 to 20 n terminal program file 21 separation unit (Separation means) 22 Binary conversion section (Binary conversion means) 23 Reception means

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 バイナリで記述された複数のプログラム
ファイル(101 ,10 2 〜10n )を結合する結合手段(11)
と、 該結合手段(11)で結合して得られたバイナリファイル内
の各バイナリデータをキャラクタデータに変換するキャ
ラクタ変換手段(12)と、 該キャラクタ変換手段(12)で変換されたキャラクタデー
タを所定の通信手順に則って送信する送信手段(13)とを
具備したことを特徴とするデータ送信装置。
1. A plurality of programs written in binary
File (101,Ten 2~Tenn) Joining means (11)
When, In the binary file obtained by combining with the combining means (11)
A character that converts each binary data of
Lacta conversion means (12), Character data converted by the character conversion means (12)
Transmission means (13) for transmitting data according to a predetermined communication procedure.
A data transmission device comprising:
【請求項2】 複数のプログラムが含まれるキャラクタ
データを所定の通信手順に則って受信する受信手段(23)
と、 該受信手段(23)で受信した各キャラクタデータをバイナ
リデータに変換してバイナリファイルを作成するバイナ
リ変換手段(22)と、 該バイナリ変換手段(22)で得られたバイナリファイル
を、バイナリで記述された複数のプログラム(201 , 20
2 〜20n )に分離する分離手段(21)とを具備したことを
特徴とするデータ受信装置。
2. A receiving means (23) for receiving character data including a plurality of programs in accordance with a predetermined communication procedure.
A binary conversion means (22) for converting each character data received by the receiving means (23) into binary data to create a binary file, and a binary file obtained by the binary conversion means (22) Multiple programs written in (20 1 , 20
2 to 20 n ) and a separating means (21) for separating the data receiving apparatus.
【請求項3】 請求項1記載のデータ送信装置によりバ
イナリで記述された複数のプログラムをキャラクタデー
タに変換して送信するとともに、請求項2記載のデータ
受信装置で受信し、バイナリデータに変換して複数のプ
ログラムに分離することを特徴とするデータ通信システ
ム。
3. The data transmitting apparatus according to claim 1 converts a plurality of programs described in binary into character data and transmits the character data, and the data receiving apparatus according to claim 2 receives and converts the program into binary data. A data communication system characterized in that it is separated into a plurality of programs.
JP3165367A 1991-07-05 1991-07-05 Data communication system Pending JPH0512154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3165367A JPH0512154A (en) 1991-07-05 1991-07-05 Data communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3165367A JPH0512154A (en) 1991-07-05 1991-07-05 Data communication system

Publications (1)

Publication Number Publication Date
JPH0512154A true JPH0512154A (en) 1993-01-22

Family

ID=15811026

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3165367A Pending JPH0512154A (en) 1991-07-05 1991-07-05 Data communication system

Country Status (1)

Country Link
JP (1) JPH0512154A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06274325A (en) * 1993-03-17 1994-09-30 Nec Corp Software revision management system and software revision system using network
US5883820A (en) * 1994-01-13 1999-03-16 Citizen Watch Co., Ltd. Computer system
US7309178B2 (en) 2004-06-25 2007-12-18 Brother Kogyo Kabushiki Kaisha Image formation device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06274325A (en) * 1993-03-17 1994-09-30 Nec Corp Software revision management system and software revision system using network
US5883820A (en) * 1994-01-13 1999-03-16 Citizen Watch Co., Ltd. Computer system
US7309178B2 (en) 2004-06-25 2007-12-18 Brother Kogyo Kabushiki Kaisha Image formation device

Similar Documents

Publication Publication Date Title
JP4164126B2 (en) Protocol converter apparatus and method
JP3240495B2 (en) Lossless data encoding method and device, and decompression device
US6748520B1 (en) System and method for compressing and decompressing a binary code image
JPH0512154A (en) Data communication system
JPH10154044A (en) Transfer data compression and expansion system and transfer data compressing and expanding device
JP4756003B2 (en) Data compression / transfer apparatus, data compression / transfer system, data compression / transfer method, and data compression / transfer program
CN100401671C (en) Method for transmitting files
JP2005266973A (en) Method and device for data migration
GB2349554A (en) Encoding or decoding of data
JPH0766096A (en) Apparatus for managing manufacture of semiconductor
JP2007141127A (en) Communication protocol
JP3887263B2 (en) IC card system and IC card communication control application
RU2413966C2 (en) Apparatus and method of monitoring state of equipment
KR100531550B1 (en) E-mail system with function to compress attaching file and controlling method thereof
JP3120721B2 (en) Image encoding / decoding device
JP2005216251A (en) Variable length multi-format converting apparatus and method and file transfer system using the same
JPH05342123A (en) Command transfer system for network system
JP2786161B2 (en) Data transfer method
JPH0454021A (en) Data compression transfer system
JPH0595383A (en) Data transparent transmission system
JPH07154386A (en) Control data communication system
JPH04248618A (en) Character string transmission method
JPH03162134A (en) Compressing/expanding system for communication data
JPH0497650A (en) Print system for remote facsimile equipment
JP2000115833A (en) Program transfer system and transfer storage system in mobile communication base station system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000704