JPH05122282A - Data transmission system - Google Patents

Data transmission system

Info

Publication number
JPH05122282A
JPH05122282A JP3275309A JP27530991A JPH05122282A JP H05122282 A JPH05122282 A JP H05122282A JP 3275309 A JP3275309 A JP 3275309A JP 27530991 A JP27530991 A JP 27530991A JP H05122282 A JPH05122282 A JP H05122282A
Authority
JP
Japan
Prior art keywords
data
information
packet
error
transfer unit
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
JP3275309A
Other languages
Japanese (ja)
Inventor
Takahiro Ito
隆弘 伊藤
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP3275309A priority Critical patent/JPH05122282A/en
Publication of JPH05122282A publication Critical patent/JPH05122282A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily recognize the end of packet data by adding a information bit dividing a kind of transfer unit for each transfer unit of the packet data. CONSTITUTION:Information bits 15 in 2-bits are added to one data transfer unit. Each transfer unit is classified into 4 kinds of dummy data, header information and data error information based on the information bit 15. A data extract section checks the information bit 15 and when header information of a valid packet is received, packet data read processing is executed. The data extraction section discriminates the data to be valid packet data till the information bit 15 represents error data trough the processing and data reception is continued. After the error information is detected, the error of the data received this time is checked based on the error information in succession to the error information.

Description

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

【0001】[0001]

【産業上の利用分野】この発明はパケット方式のシリア
ルデータ伝送システムにおける、受信側でのパケットデ
ータ受信の開始と終了を認識する方法に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for recognizing the start and end of packet data reception on the receiving side in a packet type serial data transmission system.

【0002】[0002]

【従来の技術】図3は従来のシリアルデータ伝送システ
ムにおけるシステム構成の一例である。図において1は
伝送データをパケット化するためのデータパケット生成
部、2は前記パケット化したデータを伝送路符号化しシ
リアル変換を行なう伝送路符号化部、3はシリアルデー
タを伝送路へ送出する送信ドライバ部、4は伝送路デー
タを受信するレシーバ部、5は受信したデータを復号化
し、システム側へ渡すためにパラレル変換を行なう復号
化部、6は受信したパケットからデータを取り出すデー
タ抽出部である。
2. Description of the Related Art FIG. 3 shows an example of a system configuration in a conventional serial data transmission system. In the figure, 1 is a data packet generation unit for packetizing transmission data, 2 is a transmission line encoding unit for performing transmission line encoding of the packetized data and performing serial conversion, and 3 is transmission for transmitting serial data to the transmission line. A driver unit 4, a receiver unit for receiving transmission path data, 5 a decoding unit for decoding the received data and performing parallel conversion for passing to the system side, and 6 a data extraction unit for extracting the data from the received packet is there.

【0003】次に動作について説明する。一般にパケッ
ト方式のシリアルデータ伝送では、上位システム側で決
定される、あるまとまった転送データ列毎にパケットを
生成し、そのパケットデータ列をパラレルデータ転送単
位毎にパラレル−シリアル変換をおこなって受信部へと
伝送する。図4は従来のシリアルデータ伝送におけるパ
ケットデータフォーマットの1例である。図4に示すよ
うに1パケット中には転送データ列の他に、このパケッ
ト中の転送データ数情報が含まれているヘッダ部が最初
に、またエラーチェック用のエラーコード情報が最後に
付加される。図3をもとに前記パケットデータ伝送動作
を説明する。データパケット生成部1において送信デー
タnバイトが1つのパケットデータとして生成される。
その際、この1パケットで転送するデータカウント情報
が先頭ヘッダ情報中に付加される。ここで生成されたパ
ケットが1転送単位毎に伝送路符合化部2に送られる。
前記パケット化されたデータは伝送路符合化されパラレ
ル−シリアル変換によりシリアルデータ列となる。前記
シリアルデータ列は送信ドライバ部3を通して伝送路へ
と出力される。伝送路を経由して受信部へ入力された前
記シリアルデータ列は、レシーバ部4にて受信され、復
号化部5にてシリアル−パラレル変換及び復号化がおこ
なわれる。前記復号化されたデータはデータ抽出部6に
てデパケットされ受信データとして下位システムへ渡さ
れる。パケットデータがない場合はシステムで決められ
たダミーデータが前記伝送路符合化部で生成され受信側
へ送られ、同期を保持している。ここでデータ抽出部6
における処理シーケンスを図5をもとに説明する。1の
開始時7はダミーデータが常に転送されてきている。ヘ
ッダチェック部8にてパケットデータの受信有無を判断
する。ここでヘッダ情報がくれば次の処理9として、そ
のヘッダ情報に含まれているカウント情報を読み取る。
次の処理10として読み取ったカウント情報をデータ抽
出部6内のデータカウンタに設定する。その後、処理1
1、12にて前記データカウンタに設定された分のデー
タ列を抽出する。最後に今回のデータのエラーチェック
13を行ないデータ抽出部の処理を終了14する。
Next, the operation will be described. Generally, in packet-type serial data transmission, a packet is generated for each certain transfer data string determined by the host system side, and the packet data string is subjected to parallel-serial conversion for each parallel data transfer unit, and the receiving unit Transmit to. FIG. 4 shows an example of a packet data format in conventional serial data transmission. As shown in FIG. 4, in one packet, in addition to the transfer data string, a header portion containing the transfer data number information in this packet is added first, and error code information for error checking is added last. It The packet data transmission operation will be described with reference to FIG. The data packet generation unit 1 generates n bytes of transmission data as one packet data.
At this time, the data count information to be transferred by this one packet is added to the head header information. The packet generated here is sent to the transmission path coding unit 2 for each transfer unit.
The packetized data is coded on the transmission path to form a serial data string by parallel-serial conversion. The serial data string is output to the transmission line through the transmission driver unit 3. The serial data string input to the receiving unit via the transmission line is received by the receiver unit 4, and serial-parallel conversion and decoding are performed by the decoding unit 5. The decrypted data is depacketed by the data extraction unit 6 and passed to the lower system as received data. If there is no packet data, dummy data determined by the system is generated by the transmission path coding unit and sent to the receiving side to maintain synchronization. Here, the data extraction unit 6
The processing sequence in step 1 will be described with reference to FIG. At the start 7 of 1, the dummy data is always transferred. The header check unit 8 determines whether packet data is received. If the header information is received, the count information included in the header information is read as the next processing 9.
In the next process 10, the read count information is set in the data counter in the data extraction unit 6. Then process 1
At 1 and 12, the data string set in the data counter is extracted. Finally, the error check 13 of the current data is performed, and the processing of the data extraction unit is finished 14.

【0004】[0004]

【発明が解決しようとする課題】従来のパケット方式の
シリアルデータ伝送システムは以上のように構成されて
いるので、データ受信完了を検知するためには受信側で
データ転送前にあらかじめ転送される受信データを認識
しデータ転送数を記憶しておく手段が必要であった。
Since the conventional packet-type serial data transmission system is configured as described above, in order to detect the completion of data reception, the reception side which is previously transferred before the data transfer is detected. A means for recognizing the data and storing the number of data transfers was needed.

【0005】この発明は上記のような問題点を解決する
ためになされたもので、データ転送数の記憶やカウント
する手段を必要としないデータ伝送方式を得ることを目
的とする。
The present invention has been made to solve the above problems, and an object thereof is to obtain a data transmission system which does not require a means for storing or counting the number of data transfers.

【0006】[0006]

【課題を解決するための手段】この発明に係るデータ伝
送方式は、パケットデータ各々の1転送単位中にその転
送単位の種類を区別する情報ビットを付加し、受信側で
はこの情報ビットをチェックすることでパケットデータ
の受信終了を認識するようにしたものである。
In the data transmission method according to the present invention, an information bit for distinguishing the type of the transfer unit is added to one transfer unit of each packet data, and the receiving side checks this information bit. By doing so, the end of reception of packet data is recognized.

【0007】[0007]

【作用】この発明においては、1転送単位に付加された
情報ビットによりパケットデータの終了が認識され、デ
ータ転送数を記憶したりカウントしたりすることを必要
としない。
In the present invention, the end of packet data is recognized by the information bit added to one transfer unit, and it is not necessary to store or count the number of data transfers.

【0008】[0008]

【実施例】以下、この発明の一実施例を図について説明
する。図1はこの発明におけるパケットデータフォーマ
ットである。本例ではデータ1転送単位につき2ビット
の情報ビット15を付加している。この情報ビット15
により各転送単位はダミーデータ、ヘッダ情報、デー
タ、エラー情報の4種類に分類される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows a packet data format according to the present invention. In this example, 2 information bits 15 are added to each data transfer unit. This information bit 15
Accordingly, each transfer unit is classified into four types of dummy data, header information, data, and error information.

【0009】次に動作について説明する。図2はこの発
明によるデータ抽出部6の処理シーケンスである。開始
時16はダミーデータが常に転送されてきている。デー
タ抽出部は情報ビットをチェックし、有効なパケットの
ヘッダ情報が受信17されると、パケットデータリード
処理18を実行する。一旦パケットデータリード処理1
8が実行されるとデータ抽出部では情報ビットがエラー
情報を示すまでは有効なパケットデータであると判断し
データ受信を続ける。そして、エラー情報を検出19す
ると、そのあとに続くエラー情報によって今回受信した
データのエラーチェックを行ないデータ抽出部の処理を
終了する。
Next, the operation will be described. FIG. 2 is a processing sequence of the data extraction unit 6 according to the present invention. At the start time 16, dummy data is always transferred. The data extraction unit checks the information bit, and when the header information of the valid packet is received 17, the packet data read process 18 is executed. Packet data read processing 1
When step 8 is executed, the data extraction unit determines that the packet is valid packet data until the information bit indicates error information, and continues data reception. When the error information is detected 19, the data received this time is checked for error based on the error information that follows, and the processing of the data extraction unit is terminated.

【0010】[0010]

【発明の効果】以上のように、この発明によればデータ
受信側に転送データ数をカウントするハードウエアやソ
フトウエアを具備することなく、パケットデータの終了
を簡単に認識することができるので装置の小型化、処理
シーケンスの容易化を図ることができる。
As described above, according to the present invention, it is possible to easily recognize the end of packet data without providing the data receiving side with hardware or software for counting the number of transferred data. Can be downsized and the processing sequence can be facilitated.

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

【図1】この発明の一実施例によるパケットデータフォ
ーマットの説明図である。
FIG. 1 is an explanatory diagram of a packet data format according to an embodiment of the present invention.

【図2】この発明の一実施例によるデータ抽出の処理シ
ーケンス図である。
FIG. 2 is a processing sequence diagram of data extraction according to an embodiment of the present invention.

【図3】データ伝送システムの構成図である。FIG. 3 is a configuration diagram of a data transmission system.

【図4】従来のデータ伝送システムにおけるパケットデ
ータフォーマットの説明図である。
FIG. 4 is an explanatory diagram of a packet data format in a conventional data transmission system.

【図5】従来のデータ伝送システムにおけるデータ抽出
の処理シーケンス図である。
FIG. 5 is a processing sequence diagram of data extraction in the conventional data transmission system.

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

1 データパケット生成部 2 伝送路符号化部 5 復号化部 6 データ抽出部 15 情報ビット 1 data packet generation unit 2 transmission path coding unit 5 decoding unit 6 data extraction unit 15 information bits

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 1つのパラレル−シリアル変換単位のデ
ータ列毎にそのデータ列がパケットデータであるか否か
を識別する情報ビットを付加し、この情報ビットにより
受信側でのパケットデータ受信の終了を認識することを
特徴とするデータ伝送方式。
1. An information bit for identifying whether or not a data string is packet data is added to each data string of one parallel-serial conversion unit, and the reception side ends the packet data reception by this information bit. A data transmission method characterized by recognizing.
JP3275309A 1991-10-23 1991-10-23 Data transmission system Pending JPH05122282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3275309A JPH05122282A (en) 1991-10-23 1991-10-23 Data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3275309A JPH05122282A (en) 1991-10-23 1991-10-23 Data transmission system

Publications (1)

Publication Number Publication Date
JPH05122282A true JPH05122282A (en) 1993-05-18

Family

ID=17553645

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3275309A Pending JPH05122282A (en) 1991-10-23 1991-10-23 Data transmission system

Country Status (1)

Country Link
JP (1) JPH05122282A (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11163813A (en) * 1997-09-26 1999-06-18 Technical Maintenance Corp Digital radio transmission system for speaker
US9608583B2 (en) 2000-02-16 2017-03-28 Touchtunes Music Corporation Process for adjusting the sound volume of a digital sound recording
US9646339B2 (en) 2002-09-16 2017-05-09 Touchtunes Music Corporation Digital downloading jukebox system with central and local music servers
US9769566B2 (en) 1998-07-22 2017-09-19 Touchtunes Music Corporation Sound control circuit for a digital audiovisual reproduction system
US9774906B2 (en) 2009-03-18 2017-09-26 Touchtunes Music Corporation Entertainment server and associated social networking services
US9921717B2 (en) 2013-11-07 2018-03-20 Touchtunes Music Corporation Techniques for generating electronic menu graphical user interface layouts for use in connection with electronic devices
US9922547B2 (en) 1998-07-22 2018-03-20 Touchtunes Music Corporation Remote control unit for activating and deactivating means for payment and for displaying payment status
US9953341B2 (en) 2008-01-10 2018-04-24 Touchtunes Music Corporation Systems and/or methods for distributing advertisements from a central advertisement network to a peripheral device via a local advertisement server
US9953481B2 (en) 2007-03-26 2018-04-24 Touchtunes Music Corporation Jukebox with associated video server
US9959012B2 (en) 2009-03-18 2018-05-01 Touchtunes Music Corporation Digital jukebox device with improved karaoke-related user interfaces, and associated methods
US9990615B2 (en) 2007-09-24 2018-06-05 Touchtunes Music Corporation Digital jukebox device with karaoke and/or photo booth features, and associated methods
US10007687B2 (en) 2000-05-10 2018-06-26 Touchtunes Music Corporation Device and process for remote management of a network of audiovisual information reproductions systems
US10068279B2 (en) 2000-02-23 2018-09-04 Touchtunes Music Corporation Process for ordering a selection in advance, digital system and jukebox for embodiment of the process
US10104410B2 (en) 1998-07-22 2018-10-16 Touchtunes Music Corporation Audiovisual reproduction system
US10127759B2 (en) 1996-09-25 2018-11-13 Touchtunes Music Corporation Process for selecting a recording on a digital audiovisual reproduction system, and system for implementing the process
US10169773B2 (en) 2008-07-09 2019-01-01 Touchtunes Music Corporation Digital downloading jukebox with revenue-enhancing features
US10228897B2 (en) 2007-09-24 2019-03-12 Touchtunes Music Corporation Digital jukebox device with improved user interfaces, and associated methods
US10249139B2 (en) 2007-01-17 2019-04-02 Touchtunes Music Corporation Coin operated entertainment system
US10290006B2 (en) 2008-08-15 2019-05-14 Touchtunes Music Corporation Digital signage and gaming services to comply with federal and state alcohol and beverage laws and regulations
US10318027B2 (en) 2009-03-18 2019-06-11 Touchtunes Music Corporation Digital jukebox device with improved user interfaces, and associated methods

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10127759B2 (en) 1996-09-25 2018-11-13 Touchtunes Music Corporation Process for selecting a recording on a digital audiovisual reproduction system, and system for implementing the process
JP2008072752A (en) * 1997-09-26 2008-03-27 Touchtunes Music Corp Digital transmission system for loudspeaker
JP2011109718A (en) * 1997-09-26 2011-06-02 Touchtunes Music Corp Wireless digital transmission system for loudspeakers
US9313574B2 (en) 1997-09-26 2016-04-12 Touchtunes Music Corporation Wireless digital transmission system for loudspeakers
JPH11163813A (en) * 1997-09-26 1999-06-18 Technical Maintenance Corp Digital radio transmission system for speaker
US10104410B2 (en) 1998-07-22 2018-10-16 Touchtunes Music Corporation Audiovisual reproduction system
US9769566B2 (en) 1998-07-22 2017-09-19 Touchtunes Music Corporation Sound control circuit for a digital audiovisual reproduction system
US9922547B2 (en) 1998-07-22 2018-03-20 Touchtunes Music Corporation Remote control unit for activating and deactivating means for payment and for displaying payment status
US9608583B2 (en) 2000-02-16 2017-03-28 Touchtunes Music Corporation Process for adjusting the sound volume of a digital sound recording
US10068279B2 (en) 2000-02-23 2018-09-04 Touchtunes Music Corporation Process for ordering a selection in advance, digital system and jukebox for embodiment of the process
US10007687B2 (en) 2000-05-10 2018-06-26 Touchtunes Music Corporation Device and process for remote management of a network of audiovisual information reproductions systems
US9646339B2 (en) 2002-09-16 2017-05-09 Touchtunes Music Corporation Digital downloading jukebox system with central and local music servers
US11756380B2 (en) 2007-01-17 2023-09-12 Touchtunes Music Company, Llc Coin operated entertainment system
US10970963B2 (en) 2007-01-17 2021-04-06 Touchtunes Music Corporation Coin operated entertainment system
US10249139B2 (en) 2007-01-17 2019-04-02 Touchtunes Music Corporation Coin operated entertainment system
US9953481B2 (en) 2007-03-26 2018-04-24 Touchtunes Music Corporation Jukebox with associated video server
US10032149B2 (en) 2007-09-24 2018-07-24 Touchtunes Music Corporation Digital jukebox device with karaoke and/or photo booth features, and associated methods
US10057613B2 (en) 2007-09-24 2018-08-21 Touchtunes Music Corporation Digital jukebox device with karaoke and/or photo booth features, and associated methods
US9990615B2 (en) 2007-09-24 2018-06-05 Touchtunes Music Corporation Digital jukebox device with karaoke and/or photo booth features, and associated methods
US10228897B2 (en) 2007-09-24 2019-03-12 Touchtunes Music Corporation Digital jukebox device with improved user interfaces, and associated methods
US9953341B2 (en) 2008-01-10 2018-04-24 Touchtunes Music Corporation Systems and/or methods for distributing advertisements from a central advertisement network to a peripheral device via a local advertisement server
US10169773B2 (en) 2008-07-09 2019-01-01 Touchtunes Music Corporation Digital downloading jukebox with revenue-enhancing features
US10290006B2 (en) 2008-08-15 2019-05-14 Touchtunes Music Corporation Digital signage and gaming services to comply with federal and state alcohol and beverage laws and regulations
US9774906B2 (en) 2009-03-18 2017-09-26 Touchtunes Music Corporation Entertainment server and associated social networking services
US10228900B2 (en) 2009-03-18 2019-03-12 Touchtunes Music Corporation Entertainment server and associated social networking services
US10318027B2 (en) 2009-03-18 2019-06-11 Touchtunes Music Corporation Digital jukebox device with improved user interfaces, and associated methods
US9959012B2 (en) 2009-03-18 2018-05-01 Touchtunes Music Corporation Digital jukebox device with improved karaoke-related user interfaces, and associated methods
US10225593B2 (en) 2011-09-18 2019-03-05 Touchtunes Music Corporation Digital jukebox device with karaoke and/or photo booth features, and associated methods
US9921717B2 (en) 2013-11-07 2018-03-20 Touchtunes Music Corporation Techniques for generating electronic menu graphical user interface layouts for use in connection with electronic devices

Similar Documents

Publication Publication Date Title
JPH05122282A (en) Data transmission system
CN100499824C (en) Methods and systems for preventing start code emulation at locations that include non-byte aligned and/or bit-shifted positions
JP4981102B2 (en) Encoding method, system and code
US4599723A (en) Method of encoding data for serial transmission
US10396921B2 (en) Multi-lane synchronization method, synchronization apparatus and system, and computer storage medium
JPH0673940U (en) Data receiver
US7161955B1 (en) Modified start frame delimiter detection
CN112187789B (en) Data link protocol conversion system
US20060193343A1 (en) Apparatus and method for recognizing Frame Check Sequence in Generic Framing Procedure encapsulation mode
KR970022698A (en) Method and apparatus for data transfer in computer system
CN101588370A (en) Analytic method of multirate communication data stream format
CN109902055B (en) SLIP coding data stream transmission method suitable for narrow-band data network
US8539316B2 (en) Method and device for synchronizing reception of data packets
US7535836B2 (en) Method and system to provide word-level flow control using spare link bandwidth
CN1119884C (en) Error detection method for high speed data transmission
CN115086454B (en) Method, system and storage medium for self-adaptive galvanometer control signal interface
US7281052B2 (en) Data tracing identifiers
CN113922924A (en) Spi-based absolute value encoder communication method and system
CN112486885A (en) Data frame generation method, storage medium and computer equipment
CN113688083A (en) Data frame header identification system and method based on synchronous 422 interface
CN111367850A (en) Rapid communication method between FPGA and MCU
US6785299B1 (en) Optimized high-level data link control encoding/decoding
CN116156021A (en) USB PD message decoding method and device, chip and communication equipment
CN112423150B (en) Working method of remote video transmission device with frame check function
JP4277607B2 (en) Transmission / reception synchronization method and apparatus in digital communication