JPH0313039A - Data communication system - Google Patents

Data communication system

Info

Publication number
JPH0313039A
JPH0313039A JP1147562A JP14756289A JPH0313039A JP H0313039 A JPH0313039 A JP H0313039A JP 1147562 A JP1147562 A JP 1147562A JP 14756289 A JP14756289 A JP 14756289A JP H0313039 A JPH0313039 A JP H0313039A
Authority
JP
Japan
Prior art keywords
data
transmission
order
bits
bit
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
JP1147562A
Other languages
Japanese (ja)
Inventor
Sakae Toshima
戸嶋 榮
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.)
NEC Fielding Ltd
Original Assignee
NEC Fielding 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 NEC Fielding Ltd filed Critical NEC Fielding Ltd
Priority to JP1147562A priority Critical patent/JPH0313039A/en
Publication of JPH0313039A publication Critical patent/JPH0313039A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To reduce the development man-hour of a transmission/reception application program by decomposing a transmission data into bits, sending them in combination with carrier bits, restoring them at a reception side, thereby attaining the transmission/reception of data easily even when the data kind and the data format differ from each other. CONSTITUTION:The high-order 4-bit of a string capable of communication from a data communication code system is selected and all digit number is set to the high-order 4-bit 21 of a transmission buffer 20 and the high-order 4-bit 31 of a reception buffer 30. When a transmission data is stored in a transmission buffer 10 from a transmission application, the high-order bits 11 of a transmission data are stored in the low-order 4-bit of the transmission buffer 20 and the low-order 4 bits 12 are stored in the low-order 4-bit 32 of the transmission buffer 30. Then the data of the transmission buffers 20, 30 capable of transmission are sent and received by reception buffers 40, 50 respectively. The low-order 4 bits 42, 52 are extracted respectively from the data of the reception buffers 40, 50 at the reception side and stored respectively to the high-order 4-bit 61 and the low-order 4-bit 62 of the reception buffer 60.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ通信方式、特に通信制御コードのような
送信不可能なデータを含むデータ通信方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data communication system, and particularly to a data communication system that includes data that cannot be transmitted, such as a communication control code.

〔従来の技術〕[Conventional technology]

オンライン回線を介してデータ通信を行なう場合、送信
できないコード(例えばETXのような制御コード等)
があるが、従来、使用者側アプリケーション・プログラ
ムで送信する場合、送信できないコードを含む部分を特
別に変換した後に送信し、受信側では送信側で変換し、
た部分のみを元に戻す処理を行なっている。
When performing data communication via an online line, codes that cannot be sent (for example, control codes such as ETX)
However, conventionally, when transmitting with an application program on the user side, the part containing the code that cannot be transmitted is specially converted and then transmitted, and the receiving side converts it on the transmitting side,
Only the parts that were removed are restored to their original state.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のデータ通信方式では、送信するデータの
種類毎に変換方法が異なる為、データフォーマットに合
わせて個々に変換処理ルーチンを作成し・なければなら
ないという問題点がある。
In the conventional data communication system described above, since the conversion method differs depending on the type of data to be transmitted, there is a problem in that conversion processing routines must be created individually according to the data format.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のデータ通信方式は、送信データをドツト分解し
て送信可能なデータ形式に一括変換する手段と、受信デ
ータを前記送信データのデータ形式に戻す手段を有して
いることを特徴とする。
The data communication system of the present invention is characterized by having means for decomposing the transmitted data into dots and converting them all at once into a data format that can be transmitted, and means for returning the received data to the data format of the transmitted data.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

10は送信データを格納する送信バッファー20と30
は変換した送信データを格納する2つの送信バッファー
、40と50は変換された形の受信データを格納する2
つの受信バッファー、60は受信バッファー40と受信
バッファー50の受信データを再変換して格納する受信
バッファーである。
10 are transmission buffers 20 and 30 that store transmission data;
are two transmit buffers that store the converted transmit data, and 40 and 50 are two transmit buffers that store the received data in the converted form.
A receiving buffer 60 is a receiving buffer that reconverts and stores the received data of the receiving buffer 40 and the receiving buffer 50.

まず、送信バッファー20の上位4ビツト21と送信バ
ッファー30の上位4ビツト31に、データ・通信コー
ド体系より通信可能な列の上位4ビツトを選択し、全桁
数セットする。このビットを仮に搬送ビットとする0例
えば、EBCDrCコードでは搬送ビットとして4〜F
 +161が考えられる。
First, the upper 4 bits of the communicable column are selected from the data/communication code system, and all digits are set in the upper 4 bits 21 of the transmission buffer 20 and the upper 4 bits 31 of the transmission buffer 30. For example, in the EBCDrC code, this bit is used as a carrier bit from 4 to F.
+161 is possible.

送信アプリケーションから送信データが送信バッファー
10に格納されると、送信データの上位ビット11が送
信バッファー20の下位4ビツト22に格納される。更
に、送信データの下位4ビツト12が送信バッファー3
0の下位4ビツト32に格納される。これで送信可能な
データになった送信バッファー20と30のデータは送
信され、各々受信バッファー40と受信バッファー50
に受信される。
When transmission data is stored in the transmission buffer 10 from a transmission application, the upper bits 11 of the transmission data are stored in the lower 4 bits 22 of the transmission buffer 20. Furthermore, the lower 4 bits 12 of the transmission data are sent to the transmission buffer 3.
It is stored in the lower 4 bits 32 of 0. The data in the send buffers 20 and 30, which can now be sent, is sent, and the data in the receive buffers 40 and 50 are sent, respectively.
will be received.

受信側では、受信バッファー40のデータから下位4ビ
ツト42を抽出し受信バッファー60の上位4ビツト6
1に格納する。その後、受信バッファー50のデータか
ら下位4ビツト52を抽出し受信バッファー60の下位
4ビツト62に格納する。これで送信バッファー10の
内容と受信バッファー60の内容は同一のものとなる。
On the receiving side, the lower 4 bits 42 are extracted from the data in the receive buffer 40 and the upper 4 bits 6 are extracted from the data in the receive buffer 60.
Store in 1. Thereafter, the lower 4 bits 52 are extracted from the data in the reception buffer 50 and stored in the lower 4 bits 62 of the reception buffer 60. The contents of the transmission buffer 10 and the contents of the reception buffer 60 are now the same.

第2図は送信データを40.03,15.FO(161
の4バイトとした場合の各バッファーの内容の変化を表
わしている。尚この例では搬送ビットとして906.を
用いている。
FIG. 2 shows the transmitted data as 40.03, 15. FO(161
It shows the change in the contents of each buffer when the buffer is 4 bytes. In this example, the transport bit is 906. is used.

尚、上述の実施例では初めに送信データの上位4ビツト
その次に下位4ビツトを送信したが、送信順序を逆にし
ても良いし、1回の送信でもかまわない。
In the above-described embodiment, the upper 4 bits of the transmission data are first transmitted, and then the lower 4 bits are transmitted, but the transmission order may be reversed, or the transmission may be performed only once.

又、ビットの分割方法を上位、下位のように分るのでは
なく、任意のビットの分割方法としても良い。更には最
初に全体の半分のデータ、次に後半のデータのような送
信でもかまわない。
Further, the bit division method may not be divided into upper and lower bits, but any bit division method may be used. Furthermore, it is also possible to transmit half of the total data first and then the second half of the data.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、送信データをビット分解
し搬送ビットと組合せて送信し受信側で元に戻すことに
より、データの種類及びデータフォーマットが異なって
も容易にデータの送受信が可能となり、送受信アプリケ
ーションプログラムの開発工数削減に効果がある。
As explained above, the present invention enables easy transmission and reception of data even if the data types and data formats are different, by decomposing transmission data into bits, transmitting the data in combination with carrier bits, and restoring the data on the receiving side. This is effective in reducing the number of development steps required for transmitting and receiving application programs.

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

第1図は本発明の一実施例のブロック図、第2図は本実
施例の各バッファの内容の変化を表わす図である。 10.20.30・・・送信バッファー、40.50.
60・・・受信バッファー。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a diagram showing changes in the contents of each buffer in this embodiment. 10.20.30...Transmission buffer, 40.50.
60...Receive buffer.

Claims (1)

【特許請求の範囲】[Claims] 送信データをドット分解して送信可能なデータ形式に一
括変換する手段と、受信データを前記送信データのデー
タ形式に戻す手段を有していることを特徴とするデータ
通信方式。
1. A data communication system comprising: means for dot-separating transmission data and converting the data into a data format that can be transmitted all at once; and means for returning received data to the data format of the transmission data.
JP1147562A 1989-06-09 1989-06-09 Data communication system Pending JPH0313039A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1147562A JPH0313039A (en) 1989-06-09 1989-06-09 Data communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1147562A JPH0313039A (en) 1989-06-09 1989-06-09 Data communication system

Publications (1)

Publication Number Publication Date
JPH0313039A true JPH0313039A (en) 1991-01-22

Family

ID=15433152

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1147562A Pending JPH0313039A (en) 1989-06-09 1989-06-09 Data communication system

Country Status (1)

Country Link
JP (1) JPH0313039A (en)

Similar Documents

Publication Publication Date Title
US5952932A (en) Communication between master unit and slave unit with efficient protocol
US5212832A (en) Method and apparatus for operator messaging using voice channel signalling
JPH0313039A (en) Data communication system
JPS6386638A (en) Terminal system corresponding to different kinds of computers
JPS57166640A (en) Data transmission converting system of buffer device
JPH0244841A (en) Transparent transmission system by jca procedure
JP3327305B2 (en) Encoded information communication method
EP1036458B1 (en) A communications protocol
JPH0244948A (en) Code conversion system for on-line transmission of terminal object
JPH08235049A (en) Communication system
JPH0314154A (en) Target program transfer system between computer system
JPS62160556A (en) Method for transmitting object program
JPH10207792A (en) Digit data transmission and reception system
JP3211524B2 (en) Variable code length transmitter for facsimile machine
JPS63227154A (en) Data transmission system
JPH02119463A (en) Data transfer controller
JPS5621451A (en) Teleprinter
JPS6112424B2 (en)
JPH0444156A (en) Transfer data generating device
JPH0234064A (en) Code transmitter
JPS59172854A (en) Information transfer system
JPH06326744A (en) Inter-multi-vendor message communication system
JPH03171203A (en) Numerical controller
JPH0730590A (en) Data communication method
JPH06343048A (en) Data communications controller