JPH0294947A - Data communication equipment - Google Patents

Data communication equipment

Info

Publication number
JPH0294947A
JPH0294947A JP63246703A JP24670388A JPH0294947A JP H0294947 A JPH0294947 A JP H0294947A JP 63246703 A JP63246703 A JP 63246703A JP 24670388 A JP24670388 A JP 24670388A JP H0294947 A JPH0294947 A JP H0294947A
Authority
JP
Japan
Prior art keywords
display
kanji
character
display means
data
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
JP63246703A
Other languages
Japanese (ja)
Inventor
Koji Natsuno
厚司 夏野
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP63246703A priority Critical patent/JPH0294947A/en
Publication of JPH0294947A publication Critical patent/JPH0294947A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To execute proper display by switching KANJI (Chinese character) display and ANK character display according to a character type to be handled by the other side computer in data communication and displaying the switched display. CONSTITUTION:When the title equipment starts, the equipment selects a display means by considering the display state of the other side handheld computer and previously stores the type of the display means in a memory 14. Data through a data circuit are inputted to a data communication exclusive-use electronic circuit 11, and data to be displayed are sent to a display means switching means 13. Further, the data sent to the display means switching means 13 select the display means according to the contents of the memory 14 and are outputted to either a KANJI display means 15 or an ANK character display means 16. Thus, the equipment can execute the data communication with various communication equipments without any difference in display characters.

Description

【発明の詳細な説明】 [産業上の利用分野1 本発明は、外部通信手段を使用して他の通信装置とデー
タ通信する装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field 1] The present invention relates to a device that communicates data with another communication device using external communication means.

[従来の技術] 近年、電子回路及びソフト技術の発達により日本語処理
機能を備えたコンピュータが増えてきてきている。その
内部構成としては、 (a)1バイトコードで1文字のJISコード文字(J
IS−C6220で定めたもの)。
[Background Art] In recent years, with the development of electronic circuits and software technology, the number of computers equipped with Japanese language processing functions has been increasing. Its internal structure is as follows: (a) One byte code consists of one JIS code character (J
(as defined in IS-C6220).

(b)JISコード文字では使用されていないコード領
域(80H〜9FH−EOH−FEH)に独自に定義し
た文字(以後グラフィック文字という)を追加した文字
(以後ANK文字と言う)。
(b) Characters (hereinafter referred to as ANK characters) in which uniquely defined characters (hereinafter referred to as graphic characters) are added to code areas (80H to 9FH-EOH-FEH) that are not used in JIS code characters.

(C)  漢字等の2バイトコードで1文字を表現する
全角文字(以下漢字と言う)。
(C) Full-width characters (hereinafter referred to as kanji) that represent one character using a 2-byte code such as kanji.

といった文字の入力及び表示が可能。など日本語で表現
する文字の種類の増加に伴い必然的に漢字を含めた文字
コードのデータ通信機能を拡大する必要性が生じてきて
いる。
It is possible to input and display characters such as As the number of characters expressed in Japanese increases, there is a need to expand the data communication functions of character codes that include kanji.

その漢字コードを含むデータ通信の従来の技術として、
JIS−C6226の中で定めている漢字のデータ通信
方法は、 「これから送られる文字データは2バイトで
1文字の漢字です」と言う意味を持つ制御コード(漢字
インと言う)、 「これから送られる文字データは1バ
イトで1文字のANK文字です」と言う意味を持つ制御
コード(漢字アウトと言う)を使用して漢字とANK文
字のデータ通信をしていた。しかし上記のデータ通信方
法を使用すると、通信される文字データのバイト数と文
字の数の関係が一定でなく、要するに漢字とANK文字
が切り替わる境界に目に見えない(画面に表示されない
)制御コードが挿入されるため通信されるバイト数が漢
字とANK文字の表示文字数の違いにより一定せず、そ
の結果通信の内部処理が複雑になり必然的に処理速度も
遅くなってしまっていた。また、通信時のエラーでデー
タの一部が損なわれ制御コード(漢字イン、漢字アウト
など)が失われると送られてきた漢字が全くでたらめな
ANK文字に化けたり、ANK文字が逆に漢字に化けた
りすることになってしまう恐れがあった。
As the conventional technology of data communication including the kanji code,
The kanji data communication method defined in JIS-C6226 consists of a control code (called kanji in) that means ``The character data to be sent from now on is 2 bytes and 1 character of kanji'', Data communication between kanji and ANK characters was carried out using a control code (called kanji out) that means "Character data is 1 byte and 1 character of ANK character." However, when using the above data communication method, the relationship between the number of bytes of character data communicated and the number of characters is not constant, and in short, there is an invisible control code (not displayed on the screen) at the boundary where Kanji and ANK characters switch. is inserted, so the number of bytes communicated is not constant due to the difference in the number of displayed characters between Kanji and ANK characters, and as a result, the internal processing of communication becomes complicated, which inevitably slows down the processing speed. In addition, if a part of the data is damaged due to an error during communication and the control code (Kanji In, Kanji Out, etc.) is lost, the sent Kanji may turn into completely random ANK characters, or the ANK characters may turn into Kanji. There was a fear that I would end up turning into a monster.

そこで、このような問題点を解決するためにシフトJI
S漢字コードと言う体系を取り入れた。
Therefore, in order to solve these problems, Shift JI
A system called the S Kanji code was adopted.

このシフトJIS漢字コードは、前記グラフィック文字
を定義したコード領域に漢字の第1バイトを定義するこ
とによってその結果、漢字イン、漢字アウトの制御コー
トを使用せずに漢字のデータを通信することができる利
点がある為、今日のデータ通信装置の大半がこのシフト
JIS漢字コードを使用してデータ通信を行ってきた。
This shift JIS Kanji code defines the first byte of a Kanji in the code area where the graphic character is defined, and as a result, it is possible to communicate Kanji data without using the Kanji In and Kanji Out control codes. Most of today's data communication devices use this shift JIS Kanji code for data communication.

[発明が解決しようとする課題] しかし、前記の従来技術のシフトJIS漢字コードを使
用したデータ通信装置(本装置と言う)では、データ通
信の相手側のコンピュータ及び通信装置(以後ターゲッ
トマシンと言う)に日本語処理機能がない、あるいは日
本語処理機能が必要ない場合、即ちターゲットマシンが
ANK文字データしか扱えない場合に、ターゲットマシ
ンが前記グラフィック文字データを通信すると、ターゲ
ットマシンではグラフィック文字であったものが、本装
置ではシフトJIS漢字コードの第1バイト目と重なっ
ているためにグラフィック文字と漢字の区別ができず、
漢字が表示されてしまうと言うことになる。
[Problems to be Solved by the Invention] However, in the data communication device (hereinafter referred to as the present device) that uses the shift JIS Kanji code of the prior art, the data communication partner computer and communication device (hereinafter referred to as the target machine) ) does not have a Japanese processing function or does not require a Japanese processing function, that is, if the target machine can only handle ANK character data, and the target machine communicates the graphic character data, the target machine will not be able to process the graphic character data. However, this device cannot distinguish between graphic characters and kanji because they overlap with the first byte of the shift JIS kanji code.
This means that kanji will be displayed.

以上に示すように、ターゲットマシンの扱う文字種によ
って誤った情報伝達がされて本装置とターゲットマシン
の間で表示文字の相違が発生する。
As described above, incorrect information is transmitted depending on the character type handled by the target machine, resulting in a difference in displayed characters between the present device and the target machine.

この誤動作を回避するためには、通信できるデータがJ
IS文字コード内に限定されてしまう、あるいはターゲ
ットマシンが日本語処理機能が可能であるものに限定さ
れてしまうという欠点があった。そこで本発明は、この
ような課題を解決するもので、その目的とするところは
ターゲットマシンの扱う文字種により漢字表示とANK
文字表示を切り換えて表示することにより、上記の制限
を受けずに課題を解決したデータ通信が可能になるとこ
ろにある。
To avoid this malfunction, the data that can be communicated must
It has the disadvantage that it is limited to IS character codes, or that the target machine is limited to those capable of Japanese processing functions. Therefore, the present invention is intended to solve such problems, and its purpose is to display Kanji and ANK depending on the character types handled by the target machine.
By switching the character display and displaying it, it is possible to perform data communication that solves the problem without being subject to the above-mentioned limitations.

[課題を解決するための手段] 本発明は、データ通信専用電子回路、キーボード、漢字
表示手段、ANK文字表示手段、漢字表示手段とANK
文字表示手段の2つの表示手段を切り替える為の表示手
段切り換え手段、及び表示装置を有することを特徴とす
る。
[Means for Solving the Problems] The present invention provides an electronic circuit dedicated to data communication, a keyboard, a kanji display means, an ANK character display means, a kanji display means, and an ANK character display means.
It is characterized by having a display means switching means for switching between two display means of the character display means, and a display device.

[作用〕 本発明においては、データ通信専用電子回路及びキーボ
ードから入力されたデータを表示手段切り換え手段によ
り漢字表示手段とANK文字表示手段を選択し適正な表
示を表示装置に行うものである。
[Function] In the present invention, the data inputted from the electronic circuit dedicated to data communication and the keyboard is appropriately displayed on the display device by selecting the Kanji display means and the ANK character display means by the display means switching means.

[実施例] 以下、本発明のデータ通信装置の一実施例を示す。まず
データ通信の例として第2図のようなものがある。これ
は、表示画面の小さいハンドベルトコンピュータ(21
)では、画面に表示される情報量が他のデスクトップ型
コンピュータに比べ少なく、またハンドベルトコンピュ
ータ(21)のキーボードがタッチパネル型キーボード
(22)であったときキー人力できる文字等が限定され
、ハンドベルトコンピュータ(21)本体でのプログラ
ム開発が困難である為、R8232C等の通信回線(2
4)を利用して別のコンピュータ(23)で表示とキー
人力を行うものである。ここで、本発明のデータ通信装
置は上記コンピュータ(23)の中に存在し、そのブロ
ック図を第1図に示す。構成は大きく3つの部位に分け
られ、データ入力部にはデータ通信専用電子回路(11
)キーボード(12)、データ表示部には漢字表示手段
(15)A N K文字表示手段(16)及び表示装置
(17)、制御部は表示手段切り換え手段(13)記憶
装置(14)で構成されている。
[Embodiment] An embodiment of the data communication device of the present invention will be described below. First, there is an example of data communication as shown in FIG. This is a hand belt computer with a small display screen (21
), the amount of information displayed on the screen is smaller than that of other desktop computers, and when the keyboard of the hand belt computer (21) is a touch panel keyboard (22), the characters that can be manually pressed are limited, Because it is difficult to develop programs on the belt computer (21), communication lines such as R8232C (2
4) is used to display and key manually on another computer (23). Here, the data communication device of the present invention exists in the computer (23), and a block diagram thereof is shown in FIG. The configuration is roughly divided into three parts, and the data input section includes an electronic circuit dedicated to data communication (11
) Keyboard (12), data display section consists of kanji display means (15), ANK character display means (16) and display device (17), control section consists of display means switching means (13) and storage device (14). has been done.

次に、本発明の詳細な説明すると、まず本装置が起動す
る時に相手側ハンドベルトコンピュータ(21)の表示
状態を考慮し表示手段を選択し、記憶装置(14)に表
示手段の種類を記憶しておく。また、この記憶した状態
は、通信中に上記記憶装置(14)の値をキーボード等
からの入力によって変えることで任意に変更することも
可能である。上記設定を行った後は、データ回線を経由
してきたデータはデータ通信専用電子回路(11)に入
り、表示すべきデータは表示手段切り換え手段(13)
へと送られる。また、データ回線を経由して送信したい
データは、キーボード(12)より入力されデータ通信
専用電子回路(11)を通り通信回線に送られ、同時に
表示すべきデータは表示手段切り換え手段(13)へと
送られる。そして表示手段切り換え手段(13)に送ら
れてきたデータは、記憶装置(14)の内容に従い表示
手段を選択し、漢字表示手段(15)ANK文字表示手
段(16)のいずれかの表示手段に出力される。
Next, to explain the present invention in detail, first, when this device is activated, a display means is selected in consideration of the display state of the partner hand belt computer (21), and the type of display means is stored in the storage device (14). I'll keep it. Further, this stored state can be arbitrarily changed by changing the value in the storage device (14) by inputting from a keyboard or the like during communication. After the above settings have been made, the data that has passed through the data line enters the electronic circuit dedicated to data communication (11), and the data to be displayed is transferred to the display means switching means (13).
sent to. Furthermore, data to be transmitted via the data line is input from the keyboard (12) and sent to the communication line through the data communication dedicated electronic circuit (11), and data to be displayed at the same time is sent to the display means switching means (13). is sent. Then, the data sent to the display means switching means (13) is selected according to the contents of the storage device (14), and is displayed on either the kanji display means (15) or the ANK character display means (16). Output.

ここで、漢字表示手段(15)とANK文字表示手段(
16)の違いについて説明すると、両者の違いはJIS
コート文字では未定義領域であるコード領域とそれにつ
づく1バイトのキャラクタ−コードの表示の時のみで、
上記以外のキャラクタ−の表示は同じである。即ち上記
コード領域の表示をしなければどちらの表示手段を使用
しても同じ結果が表示され、上記キャラクタ−コードを
表示しようとした時に、ANK文字表示手段ならばキャ
ラクタ−コードに対応したANK文字を表示し、漢字表
示手段ならば、漢字は2バイトのデータで構成されるの
で、第1バイト目の表示の時は何も表示せず次に続く第
2バイト目のキャラクタ−コードの表示時に、該当する
漢字があれば漢字を表示し、該当する漢字がなければ何
も表示しないようになっている。
Here, the kanji display means (15) and the ANK character display means (
16), the difference between the two is JIS
In code characters, only when displaying the code area, which is an undefined area, and the 1-byte character code that follows it,
The display of characters other than those mentioned above is the same. That is, if the above code area is not displayed, the same result will be displayed no matter which display means is used, and when an attempt is made to display the above character code, if the ANK character display means is used, the ANK character corresponding to the character code will be displayed. , and if it is a kanji display method, since kanji consists of 2 bytes of data, nothing is displayed when the first byte is displayed, and when the next second byte is displayed, the character code is displayed. , the kanji will be displayed if there is a corresponding kanji, and nothing will be displayed if there is no corresponding kanji.

また、表示手段切り換え装置(13)を以下のように変
更することによって表示装置の切り替えなしに漢字とA
NK文字の表示が可能にすることができる。とは言え、
漢字コードとグラフィック文字コードが重なっているの
で完全に両方の文字を表示することは不可能だが、第一
バイト目が漢字上位バイトコードで第二バイト目が漢字
下位バイトコードでない場合はANK文字とみなして表
示する方法である。以下、前記表示手段切り換え手段の
内部処理のフローチャートを第3図に、変更後のフロー
チャートを第4図に示し、フローチャートに従って説明
する。第3図では、まず表示モードを記憶装置から読み
だしく331)現在の表示モードが漢字表示モードであ
れば(832)漢字表示処理(S33)へ、ANK文字
表示モードであればANK文字表示処理処理(334)
へ制御が移され、各々の処理を行って文字を表示装置に
表示し終了するものである。第4図では、表示モードを
記憶装置から読みだしく541)現在の表示モードがA
NK表示モードであれば(S42)ANK文字表示処理
(344)へ制御が移され終了する。漢字表示モードで
あれば、現在漢字の下位バイトコード要求状態ならば(
S45)キャラクタ−コードを調べ漢字の下位バイトコ
ードの場合(S46)−時記憶されていた第1バイトコ
ードと併せて漢字表示手段(15)へ送られ漢字を表示
する(S43)。ここで、漢字の下位バイトコードでな
い場合(846)この2バイトをANK混じりのキャラ
クタ−コートと見なし、まず−時記憶しておいたキャラ
クタ−コードをANK文字表示手段(16)に送り表示
しく347)、第二バイト目のキャラクタ−コードをA
NK文字表示手段(16)へ送りANK文字として表示
する(844)。また、漢字の下位バイトコート要求状
態でない場合で(S45)キャラクタ−コードが漢字の
上位バイトコードであれば(3481キャラクタ−コー
ドを一時記憶して、漢字の下位バイトコード要求状態に
なり(S49)、漢字の上位バイトコードでなければ(
348)ANK文字表示手段(16)に送られANK文
字が表示される(S44)。
In addition, by changing the display means switching device (13) as follows, it is possible to switch between kanji and A without switching the display device.
It is possible to display NK characters. but,
Since the Kanji code and the graphic character code overlap, it is impossible to display both characters completely, but if the first byte is the Kanji upper byte code and the second byte is not the Kanji lower byte code, it will be an ANK character. This is a method of displaying the information. Hereinafter, a flowchart of the internal processing of the display means switching means is shown in FIG. 3, and a flowchart after the change is shown in FIG. 4, and the explanation will be made according to the flowcharts. In FIG. 3, the display mode is first read from the storage device (331) If the current display mode is the kanji display mode (832), the process goes to the kanji display process (S33); if the current display mode is the ANK character display mode, the process goes to the ANK character display process. Processing (334)
The control is transferred to, performs each process, displays the characters on the display device, and ends. In FIG. 4, the display mode is read from the storage device. 541) The current display mode is A.
If it is the NK display mode (S42), control is transferred to ANK character display processing (344) and ends. In Kanji display mode, if the current Kanji lower byte code is requested (
S45) The character code is checked and if it is a lower byte code of a Kanji character (S46), it is sent to the Kanji display means (15) together with the stored first byte code and the Kanji is displayed (S43). Here, if it is not the lower byte code of a kanji (846), these 2 bytes are regarded as a character code mixed with ANK, and the character code stored in the memory is first sent to the ANK character display means (16) to be displayed (347). ), the character code of the second byte is A
It is sent to the NK character display means (16) and displayed as an ANK character (844). Furthermore, if the character code is not in the state of requesting the lower byte code of Kanji (S45), then if the character code is the upper byte code of Kanji (3481), the character code is temporarily stored and the state is in the state of requesting the lower byte code of Kanji (S49). , unless it is a Kanji upper bytecode (
348) It is sent to the ANK character display means (16) and the ANK character is displayed (S44).

[発明の効果1 以上、本発明の通信装置により、相手側の通信装置の日
本語処理機能に応じて、表示文字を切り換えることを可
能にすることによって様々な通信装置と表示文字の相違
なしにデータ通信することが出来るようになる。加えて
、データ通信中に、よく発生するビット落ち等の文字化
けにより非漢字コードが漢字の上位バイトコートに化け
たとき、従来の技術では次の1バイトを漢字の下位バイ
トコードとみなし、意味の無い漢字を表示してしまい、
結果として2バイト分の文字が化けてしまうが本発明に
よれば第1バイト目は当然化けてしまうが次のバイトは
正常に表示することが可能であるという効果を有する。
[Effect of the Invention 1] As described above, the communication device of the present invention allows display characters to be switched according to the Japanese language processing function of the other party's communication device, thereby eliminating differences in display characters from various communication devices. Data communication will be possible. In addition, when a non-kanji code becomes the upper byte code of a kanji character due to garbled characters such as dropped bits that often occur during data communication, conventional technology treats the next byte as the lower byte code of the kanji character, and changes the meaning. Displays kanji without .
As a result, two bytes worth of characters are garbled, but according to the present invention, the first byte is of course garbled, but the next byte can be displayed normally.

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

第1図は、本発明の構成を示すブロック図、第2図は実
施例を示す概観図、第3図は基本的な表示手段切り替え
手段のフローチャート図、第4図は第3図で示した表示
手段切り替え手段の応用を示したフローチャート図。 21・・・ハンドベルトコンピュータ 22・・・タッチパネル型キーボード 23・・・フンピユータ 24・・・通信回線 第3図 第4図
Fig. 1 is a block diagram showing the configuration of the present invention, Fig. 2 is an overview drawing showing an embodiment, Fig. 3 is a flowchart of the basic display means switching means, and Fig. 4 is the same as shown in Fig. 3. FIG. 3 is a flowchart diagram showing an application of the display means switching means. 21...Hand belt computer 22...Touch panel type keyboard 23...Fun computer 24...Communication line Fig. 3 Fig. 4

Claims (1)

【特許請求の範囲】[Claims] データ通信専用電子回路を備えたデータ通信装置におい
て、前記通信装置は漢字表示手段とANK文字表示手段
とを切り換え表示するための表示切り換え手段を備えて
いることを特徴とするデータ通信装置。
1. A data communication device equipped with an electronic circuit dedicated to data communication, characterized in that said communication device is provided with a display switching means for switching and displaying a Kanji character display means and an ANK character display means.
JP63246703A 1988-09-30 1988-09-30 Data communication equipment Pending JPH0294947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63246703A JPH0294947A (en) 1988-09-30 1988-09-30 Data communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63246703A JPH0294947A (en) 1988-09-30 1988-09-30 Data communication equipment

Publications (1)

Publication Number Publication Date
JPH0294947A true JPH0294947A (en) 1990-04-05

Family

ID=17152380

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63246703A Pending JPH0294947A (en) 1988-09-30 1988-09-30 Data communication equipment

Country Status (1)

Country Link
JP (1) JPH0294947A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11287008B2 (en) 2017-12-08 2022-03-29 Oiles Corporation Damper

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11287008B2 (en) 2017-12-08 2022-03-29 Oiles Corporation Damper

Similar Documents

Publication Publication Date Title
US6473006B1 (en) Method and apparatus for zoomed display of characters entered from a telephone keypad
US5587724A (en) Portable terminal device
JPH0294947A (en) Data communication equipment
JPH08234909A (en) Input device
US6195671B1 (en) Electronic computing apparatus having arithmetic processing function and arithmetic processing method
KR0164404B1 (en) Key input method and apparatus using phone key-pad
JP2000305704A (en) Data inputting device
JPH08328613A (en) Method for preparing sequence/program and method for setting data
Basil A microprocessor-based refreshing buffer for storage tube graphics terminals
JPS6260022A (en) Keyboard
JP3039136B2 (en) Multi-window communication method and communication device
KR880012070A (en) Data entry method of memory phone
JP2874676B2 (en) Single screen multiple input terminal
JPH0650504B2 (en) Kana-Kanji converter
JPH066417A (en) Alphabet processing system for portable electronic equipment
JPS63279291A (en) Data display
JPS63106078A (en) Display method for character string echo of graphic processor
KR19990026046A (en) Automatic conversion of the text input mode
JPH0243818A (en) Method and device for key entry
JPH0440517A (en) Input/output device
JPH01280863A (en) Document forming device
JPH0581929B2 (en)
KR20040110226A (en) apparatus and method for modifying text using change key
JPH0418623A (en) Input device
JPH04299723A (en) Data input device