JP2000349853A - Data transmission method - Google Patents

Data transmission method

Info

Publication number
JP2000349853A
JP2000349853A JP11153516A JP15351699A JP2000349853A JP 2000349853 A JP2000349853 A JP 2000349853A JP 11153516 A JP11153516 A JP 11153516A JP 15351699 A JP15351699 A JP 15351699A JP 2000349853 A JP2000349853 A JP 2000349853A
Authority
JP
Japan
Prior art keywords
transmission
data
type
block
flash memory
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
JP11153516A
Other languages
Japanese (ja)
Inventor
Jun Tokue
純 徳江
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP11153516A priority Critical patent/JP2000349853A/en
Publication of JP2000349853A publication Critical patent/JP2000349853A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To suppress a memory cost by minimizing a capacity of a cache memory saving temporarily transmission data received by a receiver side transmitter in the case of transmitting data requiring a high capacity. SOLUTION: Transmitters 2, 6 at a transmitter side and a receiver side via a general public telephone network 1 are provided with NAND type (including AND type) flash memories 3, 3 to store transmission data D, D' as memory devices. The transmitter side transmits the transmission data D with a data quantity equal to a minimum delete unit of the NAND type (including AND type) flash memory 3 as one block of the transmission unit through a transmission line 5, the receiver side temporarily writes the received data D' sequentially to the NAND type (including AND type) flash memory 3 entirely according to its block address independently of the presence of an error, deletes only transmission data Der of a block where an error takes place to make the block idle, requests again the transmission data Der of the block, the transmitter side re-transmits the transmission data Der, and the receiver side writes the transmission data Der of the re-transmitted block to an idle block of the NAND type (including AND type) flash memory 3 according to a procedure under the control of each CPU 9.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、PHS等の携帯端
末の無線電話回線や一般公衆電話回線等の通信回線を利
用したデータ伝送の技術分野に関し、特に伝送データの
エラー訂正に係るデータ伝送方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the technical field of data transmission using a communication line such as a wireless telephone line of a portable terminal such as a PHS or a general public telephone line, and more particularly to a data transmission method relating to error correction of transmission data. About.

【0002】[0002]

【従来の技術】一般にPHS等の無線電話回線や一般公
衆電話回線、ISDN(Integrated Services Digital
Network)等のような同時に両方向にデータ伝送できる
全2重通信回線を利用したデータ伝送においては、高水
準データ伝送手順(HDLC;High level Data Link C
ontrol procedures)等の所定のデータ伝送手順(プロ
トコル)に従って行われている。
2. Description of the Related Art Generally, wireless telephone lines such as PHS, general public telephone lines, ISDN (Integrated Services Digital
In data transmission using a full-duplex communication line capable of transmitting data in both directions at the same time, such as a network, a high level data transmission procedure (HDLC) is used.
Ontrol procedures) are performed according to a predetermined data transmission procedure (protocol).

【0003】上記所定のデータ伝送手順においては、伝
送データが正しく伝送されているか否かの判定をするた
めのエラー検出データや、伝送制御のための情報等が任
意情報である一纏まりの伝送データの前後に冗長情報と
して付加されて伝送単位(フレーム)を構成している。
In the above-described predetermined data transmission procedure, error detection data for determining whether or not transmission data is transmitted correctly, and a group of transmission data in which information for transmission control and the like are arbitrary information. Are added before and after as redundant information to form a transmission unit (frame).

【0004】上記エラー検出データには、例えば送信側
においてエラー検出データとしてCRC(サイクリック
コード)を計算して各フレームの伝送データの後ろに付
加し、受信側で受信データのCRCを計算・解読して伝
送データの正否の判断(エラー検出)を行うCRC方式
が典型的である。
For the error detection data, for example, a CRC (cyclic code) is calculated as error detection data on the transmission side and added to the end of the transmission data of each frame, and the CRC of the reception data is calculated and decoded on the reception side. A CRC method for determining whether the transmission data is correct or not (error detection) is typical.

【0005】そして、受信側は受信データを基に自身が
算出したエラー検出データと上記伝送データに付加され
た送信側のエラー検出データとを比較するエラー検出を
行うことにより、受信された伝送データに誤りがあった
と判断した場合に、送信側に対してエラーしたフレーム
データのアドレス情報を送り(再送要求)、送信側は再
送要求に応じて再度その部分のフレームデータを伝送す
るようになっている。
[0005] The receiving side compares the error detection data calculated by itself based on the received data with the error detection data of the transmitting side added to the transmission data, thereby performing error detection. When it is determined that there is an error, the address information of the erroneous frame data is sent to the transmitting side (retransmission request), and the transmitting side transmits the frame data of that portion again in response to the retransmission request. I have.

【0006】ところで、上記通信回線を利用したデジタ
ルデータ伝送においては、データ量が数十KByte〜数百K
Byte程度の電子メールや静止画等を前提に考慮されてき
たため、データ伝送単位(フレーム)は数十〜数百Byte
単位で構成され、エラー発生時のエラー訂正を説明する
図8に示されるように、一旦受信側伝送装置6のSRA
MやNOR型(DINOR型を含む)フラッシュメモリ
等のキャッシュメモリ11に格納された後、NAND型
(AND型を含む)フラッシュメモリ12等の大容量記
憶素子に保存されている。
In digital data transmission using the above communication line, the data amount is several tens KByte to several hundred Kbytes.
Data transmission units (frames) are tens to hundreds of Bytes, as they have been considered on the premise of e-mails and still images of about Byte.
As shown in FIG. 8 for explaining error correction when an error occurs, the SRA
After being stored in a cache memory 11 such as M or NOR type (including DINOR type) flash memory, it is stored in a large capacity storage element such as a NAND type (including AND type) flash memory 12.

【0007】何となれば、一般にコストが安く大容量の
NAND型(AND型を含む)のフラッシュメモリ12
は或るアドレスからシーケンシャルにデータを読み書き
するのは速いものの、ランダムアクセスには時間がかか
ってしまうという不具合があるので、須く伝送データは
そのフレームの順番通りに順次格納されなければならな
い。ところが、伝送途中にて例えば(N+3)のフレー
ム内のデータにエラーが発生した場合に、そのフレーム
(N+3)は飛ばされ、受信側から送信側への再送要求
に応じて後で一連のデータフレームの中に再送フレーム
(N+3)が割り込んでくるために受信側伝送装置6の
フラッシュメモリ12にシーケンシャルに格納すべきフ
レームの順番が狂ってしまう。そこで図8に示されるよ
うに、正しいフレームの順番に並べ替えてからNAND
型(AND型を含む)フラッシュメモリ12に書き込む
必要があるために上記キャッシュメモリ11に一旦格納
した後に並べ替えてから書き込みを行うのである。
What is necessary is that the flash memory 12 of a NAND type (including an AND type) having a low cost and a large capacity is generally used.
Although it is fast to read and write data sequentially from a certain address, random access takes a long time. Therefore, the transmission data must be sequentially stored in the order of the frame. However, if, for example, an error occurs in the data in the frame (N + 3) during the transmission, the frame (N + 3) is skipped, and a series of data frames are sent later according to a retransmission request from the receiving side to the transmitting side. , The retransmission frame (N + 3) is interrupted, so that the order of frames to be sequentially stored in the flash memory 12 of the receiving-side transmission device 6 is out of order. Therefore, as shown in FIG.
Since it is necessary to write to the flash memory 12 (including the AND type), the data is once stored in the cache memory 11 and then rearranged before writing.

【0008】上記キャッシュメモリ11の容量は、受信
側伝送装置6がエラーフレームを受信してから当該フレ
ームが再送されるまでの間に送信側から送られてくるデ
ータ分が必要である。さらに、フレームエラーが断続的
に発生する場合を考慮すると、容量はさらに必要であ
り、エラーが多発してキャッシュメモリ容量が足りなく
なった場合、送信側に対してエラーフレームが受信され
るまでシーケンシャルデータ伝送の中断を要求すること
になる。この点、64Kbpsの伝送路にて1フレームを
128Byteとすると、一般的に1エラーフレームに対し
て必要なキャッシュメモリ容量は約20フレーム(2KB
yte)以上必要とされている。
[0008] The capacity of the cache memory 11 requires the amount of data sent from the transmission side between the time when the reception side transmission device 6 receives the error frame and the time when the frame is retransmitted. Furthermore, considering the case where frame errors occur intermittently, more capacity is required. If errors occur frequently and the cache memory capacity becomes insufficient, sequential data will be sent to the sender until an error frame is received. This would require the transmission to be interrupted. In this regard, assuming that one frame is 128 bytes on a 64 Kbps transmission path, the cache memory capacity generally required for one error frame is about 20 frames (2 KB).
yte) is needed more.

【0009】[0009]

【発明が解決しようとする課題】音楽ソフト等の数Mbyt
e〜数十Mbyteのデータ量を伝送する場合は、受信側伝送
装置6(送信側と受信側が双方向にデータ伝送するシス
テムの場合は両方)のキャッシュメモリ11の容量をで
きるだけ小さくできた方がコスト的に望ましい。
[Problems to be Solved by the Invention] Several Mbyt of music software etc.
When transmitting a data amount of e to several tens of Mbytes, the capacity of the cache memory 11 of the receiving-side transmission device 6 (both in the case of a system in which the transmitting side and the receiving side transmit data bidirectionally) should be as small as possible. Desirable in cost.

【0010】しかし、先にも述べたとおり、NAND型
(AND型を含む)フラッシュメモリ12は書き込んだ
データを書き直すためには一度ブロック(一般に16KB
yte)単位でメモリセルを消去して新たに書き直さなく
てはならず、またランダム書き込みは遅いのに対し、シ
ーケンシャル書き込みは速いという特徴を有している。
したがって、エラーフレームが発生して受信側でこれを
そのままNAND型(AND型を含む)フラッシュメモ
リ12に書き込んでしまうと、後で当該エラーフレーム
のみ書き換えることはできないので、エラーフレームは
書き込まずに以降送信された伝送データはエラーフレー
ムに対応する正しいデータが再送されて受信されるまで
別途キャッシュメモリ11に待避しておき、受信できた
段階でアドレス順にNAND型(AND型を含む)フラ
ッシュメモリ12に書き込んでいくことになる。而し
て、エラーフレームに対応する正しいデータフレームが
送信側から再送されてくるまでに受信したデータフレー
ムを待避させておく大容量のキャッシュメモリ11が必
要になってしまう。
However, as described above, the NAND type (including the AND type) flash memory 12 requires one block (generally 16 KB) to rewrite the written data.
The memory cell must be erased and rewritten anew in units of yte), and random writing is slow while sequential writing is fast.
Therefore, if an error frame occurs and is directly written to the NAND flash memory (including the AND type) on the receiving side, the error frame cannot be rewritten later. The transmitted transmission data is separately saved in the cache memory 11 until the correct data corresponding to the error frame is retransmitted and received, and when the data is successfully received, the data is transferred to the NAND type (including the AND type) flash memory 12 in the address order. It will be written. Thus, a large-capacity cache memory 11 for saving the received data frame until a correct data frame corresponding to the error frame is retransmitted from the transmission side is required.

【0011】本発明は上記事情に鑑みてなされたもので
あり、PHS携帯端末等の通信回線を利用して音楽デー
タ等の大容量データを伝送する際に、受信側伝送装置6
で受信した伝送データを一旦待避するキャッシュメモリ
11の容量を最小化して装填コストを抑えることが可能
な新規なエラー訂正手順を含むデータ伝送方法を提供す
るものである。
The present invention has been made in view of the above circumstances, and when transmitting large-capacity data such as music data using a communication line such as a PHS portable terminal, the receiving-side transmission device 6
The present invention provides a data transmission method including a new error correction procedure capable of minimizing the capacity of the cache memory 11 for temporarily saving the transmission data received in step (1) and suppressing the loading cost.

【0012】[0012]

【課題を解決するための手段】本発明は、 (1)図1で示す送信側及び受信側の各伝送装置2、6
の伝送データを格納するメモリ装置にNAND型(AN
D型を含む)フラッシュメモリ3、3を備え、送信側伝
送装置2はそのNAND型(AND型を含む)フラッシ
ュメモリ3内に格納された伝送データDを前記NAND
型(AND型を含む)フラッシュメモリ3の消去最小単
位と同等のデータ量を伝送単位の1ブロックとして受信
側伝送装置6へ伝送し、受信側伝送装置6は受信データ
D′を全てブロックアドレス単位で順次にそのNAND
型(AND型を含む)フラッシュメモリ3に一旦書き込
むとともに伝送エラー検出を行い、次に前記NAND型
(AND型を含む)フラッシュメモリ3に書き込まれた
伝送データD′の中でエラー発生したブロックの伝送デ
ータDerのみを消去して空ブロックにするとともに送信
側伝送装置2に対して当該エラー発生したブロックの伝
送データDerを再送要求し、送信側伝送装置2は前記再
送要求に応じて当該エラー発生したブロックの伝送デー
タDerのみを再送し、受信側伝送装置6は再送されたブ
ロックの伝送データDerを前記NAND型(AND型を
含む)フラッシュメモリ3の前記空ブロックに書き込む
という手順に従うことを特徴とするデータ伝送方法によ
って上記課題を解決する。
According to the present invention, there are provided (1) transmission apparatuses 2 and 6 on the transmission side and the reception side shown in FIG.
Of the NAND type (AN
D-type flash memory 3 (including D-type), and the transmission-side transmission device 2 stores transmission data D stored in the NAND-type (including AND-type) flash memory 3 in the NAND format.
Data (including the AND type) in the flash memory 3 is transmitted to the receiving-side transmission device 6 as one block of the transmission unit as the minimum unit of erasing, and the receiving-side transmission device 6 transmits all the received data D 'in block address units. In the NAND
Type (including the AND type) flash memory 3, the transmission error is detected, and the transmission data D ′ written in the NAND type (including the AND type) flash memory 3 is used to determine the block in which the error has occurred. Only the transmission data Der is erased to make an empty block, and the transmission data Der of the block in which the error has occurred is requested to be retransmitted to the transmission side transmission device 2. The transmission side transmission device 2 generates the error in response to the retransmission request. Only the transmission data Der of the retransmitted block is retransmitted, and the receiving-side transmission device 6 writes the retransmission transmission data Der of the block into the empty block of the NAND type (including the AND type) flash memory 3 according to a procedure. The above problem is solved by the data transmission method described above.

【0013】(2)また、図2で示す送信側及び受信側
の各伝送装置2、6の伝送データを格納するメモリ装置
にNAND型(AND型を含む)フラッシュメモリ3、
3を備え、送信側伝送装置6はそのNAND型(AND
型を含む)フラッシュメモリ3内に格納された伝送デー
タDを前記NAND型(AND型を含む)フラッシュメ
モリ3の消去最小単位と同等のデータ量を伝送単位の1
ブロックとして受信側伝送装置6へ伝送し、受信側伝送
装置6は受信データD′を全てブロックアドレス単位で
順次にそのNAND型(AND型を含む)フラッシュメ
モリ3に一旦書き込み、次に送信側伝送装置2にて伝送
エラーをエラー検出手段によって検出して受信側伝送装
置6にエラー発生したブロックの伝送データDerを再送
し、次に受信側伝送装置6は再送された伝送データDer
を該伝送データに付随したブロックアドレスで示された
NAND型(AND型を含む)フラッシュメモリ3のデ
ータを消去して空ブロックにしてから該空ブロックに前
記再送された伝送データDerを書き込むという手順に従
うことを特徴とするデータ伝送方法によって上記課題を
解決する。
(2) A NAND type flash memory 3 (including an AND type) is provided in a memory device for storing transmission data of the transmission devices 2 and 6 on the transmission side and the reception side shown in FIG.
3 and the transmission-side transmission device 6 has its NAND type (AND
The transmission data D stored in the flash memory 3 (including the flash memory 3) is converted to a data amount equivalent to the minimum erasing unit of the NAND type flash memory 3 (including the AND flash memory) by the transmission unit 1
The data is transmitted to the receiving-side transmission device 6 as a block, and the receiving-side transmission device 6 temporarily writes all the received data D 'in the NAND flash memory 3 (including the AND type) sequentially in block address units, and then transmits the data to the transmission side. The device 2 detects a transmission error by the error detecting means and retransmits the transmission data Der of the block in which the error has occurred to the reception side transmission device 6, and then the reception side transmission device 6 transmits the retransmitted transmission data Der.
In which the data of the NAND type (including AND type) flash memory 3 indicated by the block address attached to the transmission data is erased to make it an empty block, and then the retransmitted transmission data Der is written into the empty block. The above problem is solved by a data transmission method characterized by following.

【0014】なお、本発明のデータ伝送方法を実現する
上記伝送装置(端末装置)における構成要素であるフラ
ッシュメモリは、従来のEPROM(Erasable and Pro
grammable Read Only Memory)やEEPROM(Electr
ically Erasable Programmable Read Only Memory)と
同じ不揮発性メモリLSIの一種であって、ブロックイ
レーズ機能を有するものである。例えば、アドレスが連
続する一纏まりのメモリセルを1ページ(512byte/
pageが一般的)として、32ページ=16KByteで1ブ
ロックを形成し、ページ単位での読み書きとブロック単
位での消去を基本とするメモリ装置である。一般に上記
フラッシュメモリはNOR型とNAND型(AND型を
含む)の2種があり、NAND型(AND型を含む)は
ランダムアクセスには不向きであるものの安価であり、
メモリカード等の大容量のファイルストレジ用途等、シ
ーケンシャルに書き込み/読み出すデータ格納に向いて
いる。一方、NOR型はSRAMに近い構成で、1バイ
トもしくは1ワードにアドレスを振る高速ランダムアク
セスが可能であって、プログラムのダウンロード用等高
速ワーキングストレジ用途に利用されるが、概して高価
である。
The flash memory, which is a component of the transmission device (terminal device) for realizing the data transmission method of the present invention, is a conventional EPROM (Erasable and Pro
grammable Read Only Memory) or EEPROM (Electr
This is a type of non-volatile memory LSI, which is the same as an erasable programmable read only memory (IC), and has a block erase function. For example, a group of memory cells having consecutive addresses is stored in one page (512 bytes / byte).
This is a memory device that forms one block with 32 pages = 16 Kbytes, and is based on reading / writing in page units and erasing in block units. Generally, there are two types of flash memories, NOR type and NAND type (including AND type). NAND type (including AND type) is not suitable for random access but is inexpensive.
It is suitable for storing data to be sequentially written / read, such as for large-capacity file storage such as a memory card. On the other hand, the NOR type has a configuration close to that of an SRAM and is capable of high-speed random access by assigning an address to one byte or one word, and is used for high-speed working storage such as for downloading a program, but is generally expensive.

【0015】[0015]

【発明の実施の形態】一般公衆電話網を利用して送信側
伝送装置から受信側伝送装置に音楽ソフト等の大容量デ
ータを伝送する際に、伝送エラーが発生した場合のSR
AM等のキャッシュメモリを最小限に抑えることができ
る本発明に係るデータ伝送方法について2つの実施の形
態を図面に基いて説明する。
BEST MODE FOR CARRYING OUT THE INVENTION When transmitting a large amount of data such as music software from a transmitting side transmitting apparatus to a receiving side transmitting apparatus using a general public telephone network, an SR when a transmission error occurs.
Two embodiments of a data transmission method according to the present invention that can minimize a cache memory such as an AM will be described with reference to the drawings.

【0016】図1は本発明の請求項1に係るデータ伝送
方法を実現する伝送システムのブロック図であり、図2
は本発明の請求項2に係るデータ伝送方法を実現する伝
送システムのブロック図である。図3は本発明に係る送
信データのフォーマット例である。図4〜図7は本発明
に係るデータ伝送方法におけるエラー処理手順を説明す
る図である。
FIG. 1 is a block diagram of a transmission system for realizing a data transmission method according to claim 1 of the present invention.
FIG. 2 is a block diagram of a transmission system for realizing a data transmission method according to claim 2 of the present invention. FIG. 3 is an example of a format of transmission data according to the present invention. 4 to 7 are diagrams for explaining an error processing procedure in the data transmission method according to the present invention.

【0017】先ず、図1に示されるように、全2重通信
回線の一般公衆電話網1を介して送信側伝送装置2から
受信側伝送装置6にデータ伝送するシステムにおいて、
送信側及び受信側の各伝送装置2,6の伝送データDま
たはD′を格納するメモリ装置にNAND型(AND型
を含む)フラッシュメモリ3、3(同等とする)を備
え、送信側伝送装置2はそのNAND型(AND型を含
む)フラッシュメモリ3内に格納された伝送データDを
前記NAND型(AND型を含む)フラッシュメモリ3
の最小消去単位(16KByte)と同等のデータ量を伝送
単位の1ブロックとして受信側伝送装置6へ送り側線路
5で伝送し、受信側伝送装置6は受信データD′を図4
に示されるように順次にエラーの有無に関係なくそのブ
ロックアドレスに従って全て順次にそのNAND型(A
ND型を含む)フラッシュメモリ3に一旦書き込むとと
もに伝送エラー検出を行い、次に前記NAND型(AN
D型を含む)フラッシュメモリ3に書き込まれた伝送デ
ータD′の中でエラー発生したブロックの伝送データD
erのみを消去して空ブロックにするとともに当該エラー
発生したブロックの伝送データDerを送信側伝送装置2
に対して戻し側線路7にて再送要求し、送信側伝送装置
2は前記再送要求に応じて当該エラー発生したブロック
の伝送データDerを再送し、受信側伝送装置6は再送さ
れたブロックの伝送データDerを前記NAND型(AN
D型を含む)フラッシュメモリ3の前記空ブロック場所
に書き込むという手順に従うように送信側と受信側の各
CPU9で制御される。
First, as shown in FIG. 1, in a system for transmitting data from a transmitting side transmitting apparatus 2 to a receiving side transmitting apparatus 6 via a general public telephone network 1 of a full duplex communication line,
A memory device for storing transmission data D or D 'of each of the transmission devices 2 and 6 on the transmission side and the reception side includes NAND type (including AND type) flash memories 3 and 3 (equivalent). Reference numeral 2 denotes the transmission data D stored in the NAND flash memory 3 (including the AND flash memory).
4 is transmitted as a block of a transmission unit to the receiving-side transmission device 6 via the transmission-side line 5, and the receiving-side transmission device 6 transmits the received data D 'in FIG.
As shown in FIG. 3, the NAND type (A
The flash memory 3 (including the ND type) is temporarily written and transmission errors are detected.
Transmission data D 'of the block in which the error has occurred among the transmission data D' written in the flash memory 3 (including the D type).
er is erased to make it an empty block, and the transmission data Der of the block in which the error has occurred is transmitted to the transmission side transmission device 2.
The transmission line 2 retransmits the transmission data Der of the block in which the error has occurred in response to the retransmission request, and the reception side transmission device 6 transmits the retransmitted block. Data Der is transferred to the NAND type (AN
Each of the CPUs 9 on the transmission side and the reception side is controlled so as to follow the procedure of writing to the empty block location of the flash memory 3 (including the D type).

【0018】即ち、図4〜図7に示されるように、受信
側伝送装置6の前記NAND型(AND型を含む)フラ
ッシュメモリ3に一旦書き込まれた伝送データD′の中
でエラー発生したブロック(N+3)のデータDerのみ
を消去して空ブロックにするとともに、当該エラー発生
したブロック(N+3)の伝送データを送信側伝送装置
2に対して再送要求し(図4、図5参照)、送信側伝送
装置2は要求に応じて当該エラー発生したブロック(N
+3)の伝送データを再送し(図6参照)、受信側伝送
装置6は再送されたブロック(N+3)のエラーの無い
受信データDcoを前記NAND型(AND型を含む)フ
ラッシュメモリ3の前記空ブロック場所に書き込む(図
7参照)という手順に従うようにCPU9で制御される
のである。
That is, as shown in FIGS. 4 to 7, the block in which an error has occurred in the transmission data D 'once written in the NAND type (including the AND type) flash memory 3 of the receiving side transmission device 6. Only the data Der of (N + 3) is deleted to make it an empty block, and the transmission data of the block (N + 3) in which the error has occurred is requested to be retransmitted to the transmission device 2 (see FIGS. 4 and 5). The side transmission device 2 responds to the request and the block (N
+3) transmission data (see FIG. 6), and the receiving-side transmission device 6 stores the error-free reception data Dco of the retransmitted block (N + 3) in the NAND flash memory 3 (including the AND type). It is controlled by the CPU 9 so as to follow the procedure of writing to the block location (see FIG. 7).

【0019】上記手順によって、エラーが検出されたブ
ロックの伝送データDerの消去中の時間に再送されたエ
ラーの無い受信データDcoを待避させておくだけのデー
タバッファ10としてのキャッシュメモリ容量(100
Byte相当)でNAND型(AND型を含む)フラッシュ
メモリ3に伝送データを効率的にアドレスに従って順番
に格納することができ、キャッシュメモリの容量の最小
化が実現するのである。
According to the above procedure, the cache memory capacity (100) as the data buffer 10 which only saves the error-free received data Dco retransmitted during the erasing of the transmission data Der of the block in which the error is detected.
The transmission data can be efficiently and sequentially stored in the NAND type flash memory 3 (including the AND type) according to the address, thereby minimizing the capacity of the cache memory.

【0020】次に本発明の請求項2に係るデータ伝送方
法は、伝送エラーの検出手段が受信側にて行うか送信側
にて行うかの違いと、伝送データに送信側エラー検出デ
ータを含むか否かで異なる以外は前記データ伝送方法と
同様である。
Next, in the data transmission method according to the second aspect of the present invention, the difference between whether the transmission error detection means is performed on the reception side or the transmission side, and the transmission data includes the transmission side error detection data The data transmission method is the same as that described above except that it differs depending on whether or not the data transmission method is used.

【0021】即ち、全2重性が確保されている通信回線
を前提に(無線、有線を問わない)、図2に示されるよ
うに、例えば一般公衆電話網1を介して送信側及び受信
側の各伝送装置2、6の伝送データを格納するメモリ装
置にNAND型(AND型を含む)フラッシュメモリ
3、3を備え、送信側伝送装置6はそのNAND型(A
ND型を含む)フラッシュメモリ3内に格納された伝送
データDを前記NAND型(AND型を含む)フラッシ
ュメモリ3の消去最小単位と同等のデータ量を伝送単位
の1ブロックとして受信側伝送装置6へ伝送し、受信側
伝送装置6は受信データD′を全てブロックアドレス単
位で順次にそのNAND型(AND型を含む)フラッシ
ュメモリ3に一旦書き込み、次に送信側伝送装置2にて
伝送エラーを後述のエラー検出手段によって検出して受
信側伝送装置6にエラー発生したブロックの伝送データ
Derを再送し、次に受信側伝送装置6は再送された伝送
データDerを該伝送データに付随したブロックアドレス
で示されたNAND型(AND型を含む)フラッシュメ
モリ3のデータを消去して空ブロックにしてから該空ブ
ロックに前記再送された伝送データDerを書き込むとい
う手順に従うように送信側と受信側の各CPU9で制御
される。
That is, assuming that a communication line for which full duplex is secured (whether wireless or wired), as shown in FIG. The transmission devices 2 and 6 include NAND flash memories 3 and 3 in the memory device for storing the transmission data of the transmission devices 2 and 6.
The transmission data D stored in the flash memory 3 (including the ND type) is converted into a block of the transmission unit with a data amount equivalent to the minimum erasing unit of the NAND type flash memory 3 (including the AND type). The transmission device 6 on the receiving side sequentially writes all the received data D 'in the NAND type (including the AND type) flash memory 3 sequentially in block address units. The transmission data Der of the block in which the error has occurred is retransmitted to the reception-side transmission device 6 after being detected by the error detection means described later, and then the reception-side transmission device 6 transmits the retransmitted transmission data Der to the block address attached to the transmission data. The data in the NAND type (including the AND type) flash memory 3 shown in FIG. The transmission and reception CPUs 9 are controlled so as to follow the procedure of writing the transmission data Der thus obtained.

【0022】ここに送信側伝送装置2で行うエラー検出
手段は、以下の手順で実現できる。即ち、送信側伝送装
置2は送信側エラー検出データ(ERDt:例えばCRCエ
ラー符号(1Byte))を所定のアルゴリズムで計算して
これを図示しないメモリ装置(例えばCPU9内のメモ
リ)に格納するとともに図3に示されるような同期信号
(SYNC)とブロックアドレス(8Byte)を付加するも前
記送信側エラー検出データ(ERDt)を付加しない冗長度
が低減されたフォーマットで送信データDをターミナル
アダプタ(略してTA)8を介して送り側線路5で受信
側伝送装置6へ伝送し、受信側伝送装置6は伝送されて
きた受信データD′から受信側エラー検出データ(ERD
r)を送信側と同じアルゴリズムで計算してこれを戻し
側線路7にて送信側伝送装置2へ少なくとも1回以上返
信し、送信側伝送装置2は前記返信された受信側エラー
検出データ(ERDr)と前記メモリ装置に格納した送信側
エラー検出データ(ERDt)とを順次比較して同じデータ
があれば伝送エラー無し、同じデータが無ければ伝送エ
ラー有りの判定を行うように、例えば送信側伝送装置2
のCPU9にて制御するのである。なお、図3の枠内の
数字(FO〜F127)は送信データDのフレーム番号であ
り、1フレームを128Byte、128フレームにて伝送
単位の1ブロック(16392Byte)を構成する。ま
た、エラー検出データ(ERDt、ERDr)は128Byteに対
して1Byte発生するとする。
Here, the error detecting means performed by the transmitting side transmission device 2 can be realized by the following procedure. That is, the transmission-side transmission device 2 calculates transmission-side error detection data (ERDt: for example, a CRC error code (1 Byte)) by a predetermined algorithm, stores it in a memory device (for example, a memory in the CPU 9) (not shown), and The transmission data D is added to the terminal adapter (abbreviated) in a format in which the redundancy is reduced without adding the synchronization signal (SYNC) and the block address (8 bytes) as shown in FIG. 3 but without adding the transmission side error detection data (ERDt). TA) 8 to the receiving-side transmission device 6 via the sending-side line 5, and the receiving-side transmission device 6 converts the received reception data D ′ into reception-side error detection data (ERD).
r) is calculated by the same algorithm as that on the transmission side, and the result is returned at least once or more to the transmission side transmission apparatus 2 on the return side line 7, and the transmission side transmission apparatus 2 returns the received reception side error detection data (ERDr). ) And the transmission-side error detection data (ERDt) stored in the memory device are sequentially compared. If there is the same data, it is determined that there is no transmission error, and if there is no same data, it is determined that there is a transmission error. Device 2
Is controlled by the CPU 9. Note that the numbers (FO to F127) in the frame in FIG. 3 are frame numbers of the transmission data D, and one frame is 128 bytes, and 128 frames constitute one block (16392 bytes) of a transmission unit. It is also assumed that 1 byte of error detection data (ERDt, ERDr) is generated for 128 bytes.

【0023】上記データ伝送方法によれば、受信側から
送信側への再送要求は不要で、さらに冗長度が低減され
て効率的に伝送することが可能になる。
According to the above data transmission method, there is no need for a retransmission request from the receiving side to the transmitting side, and redundancy can be reduced and transmission can be performed efficiently.

【0024】なお、付言すれば、上述した本発明に係る
データ伝送方法はPHS端末や携帯電話等の無線電話回
線において電界強度が安定している状態で特に有効であ
る。即ち、このような状態でのPHS等の無線電話回線
の伝送エラーの発生は数秒間大規模に纏まって生じるこ
とが通常であるので、従来のモデムによるデータ伝送の
ように伝送データを細かく分けて伝送する手順よりも本
発明のブロック単位に大きく纏めて伝送する伝送方法の
方がより効率的に伝送することができるのである。更
に、音楽ソフトのデータのように長時間データをストリ
ーミングする場合についても、冗長度が低減されるので
伝送効率が上がるという利点がある。
It should be noted that the above-described data transmission method according to the present invention is particularly effective when the electric field strength is stable in a wireless telephone line such as a PHS terminal or a portable telephone. In other words, transmission errors in a wireless telephone line such as a PHS in such a state usually occur on a large scale for several seconds, so that the transmission data is divided into small pieces like data transmission by a conventional modem. The transmission method according to the present invention, which collectively transmits data in units of blocks, can perform transmission more efficiently than the transmission procedure. Furthermore, when data is streamed for a long time like data of music software, there is an advantage that the redundancy is reduced and the transmission efficiency is increased.

【0025】一方、PHS端末等を使用してデータ伝送
する場合に、電界強度が弱い状態では短い時間の小規模
な伝送エラーが時々生じることが専らであるので、この
場合に本発明のブロック単位での伝送方法は不向きで
(僅かのエラーに対してブロック単位で訂正するのは無
駄が多い。)、従来のモデムによるデータ伝送のように
伝送単位を小さくした方が好ましいし、PHSをコンピ
ュータに接続してデータインターネット等に接続する場
合はデータ通信自体が断続的に行われ、またコンピュー
タ自身が複数のタスク処理を並列に行っているので、デ
ータ伝送単位を細かくして他の処理を行う時間を確保し
た方が好ましい。
On the other hand, when data is transmitted using a PHS terminal or the like, a small-scale transmission error for a short time sometimes occurs only when the electric field strength is weak. The transmission method is not suitable for use (it is wasteful to correct a slight error in block units), and it is preferable to reduce the transmission unit as in data transmission by a conventional modem. When connecting to a data internet or the like, data communication itself is performed intermittently, and the computer itself performs multiple task processes in parallel, so the data transmission unit is finely divided and other processes are performed. It is preferable to secure

【0026】したがって、従来のデータ伝送方法と本発
明のデータ伝送方法を組み合わせることにより、先ず、
データ伝送単位を細かくして通常のHDCL手順にてデ
ータ伝送を開始しつつ伝送状態を調べて安定状態である
ことが判明すれば、本発明のブロック単位によるデータ
伝送に自動的に切り替えるというようなマルチ手順の伝
送方法が一層効率的なデータ伝送方法になり得ると考え
られる。
Therefore, by combining the conventional data transmission method with the data transmission method of the present invention, first,
The data transmission unit is finely divided and the transmission state is checked while the data transmission is started by the normal HDCL procedure. If the transmission state is found to be stable, it is automatically switched to the data transmission in block units according to the present invention. It is believed that a multi-procedure transmission method can be a more efficient data transmission method.

【0027】[0027]

【発明の効果】本発明に係るデータ伝送方法は、伝送デ
ータを一旦待避するキャッシュメモリの容量を最小化で
きるので装填コストが安くすみ、且つ伝送効率が向上す
る。
According to the data transmission method of the present invention, the capacity of the cache memory for temporarily saving the transmission data can be minimized, so that the loading cost can be reduced and the transmission efficiency can be improved.

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

【図1】本発明の請求項1に係るデータ伝送方法を実現
する伝送システムのブロック図である。
FIG. 1 is a block diagram of a transmission system for implementing a data transmission method according to claim 1 of the present invention.

【図2】本発明の請求項2に係るデータ伝送方法を実現
する伝送システムのブロック図である。
FIG. 2 is a block diagram of a transmission system for realizing a data transmission method according to claim 2 of the present invention.

【図3】本発明に係る送信データのフォーマット例であ
る。
FIG. 3 is a format example of transmission data according to the present invention.

【図4】本発明に係るデータ伝送方法におけるデータ伝
送のエラー処理手順における一旦全ブロックの書き込み
の段階を説明する図である。
FIG. 4 is a diagram illustrating a stage of once writing all blocks in an error handling procedure of data transmission in the data transmission method according to the present invention.

【図5】同じく消去・再送要求の段階を説明する図であ
る。
FIG. 5 is a diagram for explaining a stage of an erasure / retransmission request.

【図6】同じく再送の段階を説明する図である。FIG. 6 is a diagram for explaining a retransmission stage.

【図7】同じく再送された伝送データのブロックを書き
込む段階を説明する図である。
FIG. 7 is a diagram illustrating a step of writing a block of retransmitted transmission data.

【図8】 従来のデータ伝送方法におけるエラー発生時
のエラー訂正を説明する図である。
FIG. 8 is a diagram illustrating error correction when an error occurs in a conventional data transmission method.

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

1 一般公衆電話網 2 送信側伝送装置 3 メモリ装置(NAND型(AND型を含む)フラ
ッシュメモリ) 5 送り側線路 6 受信側伝送装置 7 戻し側線路 8 ターミナルアダプタ(TA) 9 CPU 10 データバッファ(容量が最小化されたキャッシ
ュメモリ) 11 キャッシュメモリ 12 NAND型(AND型を含む)フラッシュメモ
リ SYNC 同期信号 D 送信データ D′ 受信データ Der エラー発生したブロックの伝送データ Dco エラーの無い再送された受信データ ERDt 送信側エラー検出データ(CRCエラー符号) ERDr 受信側エラー検出データ(CRCエラー符号)
DESCRIPTION OF SYMBOLS 1 General public telephone network 2 Transmission side transmission device 3 Memory device (NAND type (including AND type) flash memory) 5 Transmission side line 6 Receiving side transmission device 7 Return side line 8 Terminal adapter (TA) 9 CPU 10 Data buffer ( Cache memory with minimized capacity 11 Cache memory 12 NAND type (including AND type) flash memory SYNC Synchronization signal D Transmission data D 'Reception data Der Transmission data of block in which error occurred Dco Retransmission reception data without error ERDt Error detection data on the sending side (CRC error code) ERDr Error detection data on the receiving side (CRC error code)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】送信側及び受信側の各伝送装置の伝送デー
タを格納するメモリ装置にNAND型(AND型を含
む)フラッシュメモリを備え、送信側伝送装置はそのN
AND型(AND型を含む)フラッシュメモリ内に格納
された伝送データを前記NAND型(AND型を含む)
フラッシュメモリの消去最小単位と同等のデータ量を伝
送単位の1ブロックとして受信側伝送装置へ伝送し、受
信側伝送装置は受信データを全てブロックアドレス単位
で順次にそのNAND型(AND型を含む)フラッシュ
メモリに一旦書き込むとともに伝送エラー検出を行い、
次に前記NAND型(AND型を含む)フラッシュメモ
リに書き込まれた伝送データの中でエラー発生したブロ
ックの伝送データのみを消去して空ブロックにするとと
もに送信側伝送装置に対して当該エラー発生したブロッ
クの伝送データを再送要求し、送信側伝送装置は前記再
送要求に応じて当該エラー発生したブロックの伝送デー
タのみを再送し、受信側伝送装置は再送されたブロック
の伝送データを前記NAND型(AND型を含む)フラ
ッシュメモリの前記空ブロックに書き込むという手順に
従うことを特徴とするデータ伝送方法。
1. A memory device for storing transmission data of each transmission device on a transmission side and a reception side includes a NAND type (including an AND type) flash memory.
The transmission data stored in the AND type (including the AND type) flash memory is transferred to the NAND type (including the AND type).
The data amount equivalent to the minimum unit of erasure of the flash memory is transmitted to the receiving-side transmission device as one block of the transmission unit, and the receiving-side transmission device sequentially receives all the received data in block address units in the NAND type (including the AND type). Once writing to flash memory and detecting transmission error,
Next, of the transmission data written in the NAND type (including the AND type) flash memory, only the transmission data of the block in which an error has occurred is erased to make it an empty block, and the error has occurred in the transmission side transmission device. In response to the retransmission request, the transmission device on the transmission side retransmits only the transmission data of the block in which the error has occurred, and the transmission device on the reception side transmits the transmission data of the retransmitted block to the NAND type ( A data transmission method according to a procedure of writing to the empty block of a flash memory (including an AND type).
【請求項2】送信側及び受信側の各伝送装置の伝送デー
タを格納するメモリ装置にNAND型(AND型を含
む)フラッシュメモリを備え、送信側伝送装置はそのN
AND型(AND型を含む)フラッシュメモリ内に格納
された伝送データを前記NAND型(AND型を含む)
フラッシュメモリの消去最小単位と同等のデータ量を伝
送単位の1ブロックとして受信側伝送装置へ伝送し、受
信側伝送装置は受信データを全てブロックアドレス単位
で順次にNAND型(AND型を含む)フラッシュメモ
リに一旦書き込み、次に送信側伝送装置にて伝送エラー
をエラー検出手段によって検出して受信側伝送装置にエ
ラー発生したブロックの伝送データを再送し、次に受信
側伝送装置は再送された伝送データを該伝送データに付
随したブロックアドレスで示されたNAND型(AND
型を含む)フラッシュメモリのデータを消去して空ブロ
ックにしてから該空ブロックに前記再送された伝送デー
タを書き込むという手順に従うことを特徴とするデータ
伝送方法。
2. A memory device for storing transmission data of each transmission device on a transmission side and a reception side is provided with a NAND type (including an AND type) flash memory, and the transmission side transmission device has an N-type flash memory.
The transmission data stored in the AND type (including the AND type) flash memory is transferred to the NAND type (including the AND type).
The same amount of data as the minimum unit of erasure of the flash memory is transmitted as one block of the transmission unit to the receiving-side transmission device, and the receiving-side transmission device sequentially transmits all the received data to the NAND flash (including the AND flash) in block address units. The data is temporarily written into the memory, and then the transmission device detects a transmission error by the error detecting means, and retransmits the transmission data of the block in which the error has occurred to the reception device. Then, the reception device transmits the retransmitted transmission data. Data is represented by a NAND type (AND) indicated by a block address attached to the transmission data.
A data transmission method comprising erasing data of a flash memory (including a type) into an empty block, and then writing the retransmitted transmission data in the empty block.
JP11153516A 1999-06-01 1999-06-01 Data transmission method Pending JP2000349853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11153516A JP2000349853A (en) 1999-06-01 1999-06-01 Data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11153516A JP2000349853A (en) 1999-06-01 1999-06-01 Data transmission method

Publications (1)

Publication Number Publication Date
JP2000349853A true JP2000349853A (en) 2000-12-15

Family

ID=15564257

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11153516A Pending JP2000349853A (en) 1999-06-01 1999-06-01 Data transmission method

Country Status (1)

Country Link
JP (1) JP2000349853A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6421279B1 (en) * 1993-04-08 2002-07-16 Hitachi, Ltd. Flash memory control method and apparatus processing system therewith
EP2056203A1 (en) 2007-10-30 2009-05-06 Hagiwara Sys-Com Co. Ltd. Data writing method
US8209465B2 (en) 2007-10-30 2012-06-26 Hagiwara Sys-Com Co., Ltd. Data writing method
JP5496411B2 (en) * 2011-02-25 2014-05-21 三菱電機株式会社 Control device, control system, and communication method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6421279B1 (en) * 1993-04-08 2002-07-16 Hitachi, Ltd. Flash memory control method and apparatus processing system therewith
EP2056203A1 (en) 2007-10-30 2009-05-06 Hagiwara Sys-Com Co. Ltd. Data writing method
US8209465B2 (en) 2007-10-30 2012-06-26 Hagiwara Sys-Com Co., Ltd. Data writing method
JP5496411B2 (en) * 2011-02-25 2014-05-21 三菱電機株式会社 Control device, control system, and communication method

Similar Documents

Publication Publication Date Title
US7991875B2 (en) Link level retry scheme
US7752526B2 (en) Nonvolatile memory apparatus and data processing system
EP0762705A2 (en) Method for transmitting data via a network
US20010027486A1 (en) Method for transmitting data via a network
US20040093454A1 (en) USB endpoint controller flexible memory management
US20030066016A1 (en) Methodology for detecting lost packets
EP1659482A2 (en) Communication system, storage device and control device
JPH10198608A (en) Memory card
US7370138B2 (en) Mobile communication terminal including NAND flash memory and method for booting the same
US7571374B2 (en) Method for transmitting and processing command and data
US8832407B2 (en) Communication device with storage function
TW394896B (en) Self-booting mechanism to allow dynamic system configurations and diagnostic
JP2000349853A (en) Data transmission method
US7047359B1 (en) Method, system and product for managing a virtual storage system
US20040236915A1 (en) Multiple data management method, computer and storage device therefor
JP2003309485A (en) Device and method for updating software
JP3069877B2 (en) Information transceiver
CN112135286A (en) Method and device for improving transmission efficiency based on Bluetooth firmware upgrading
US20030095290A1 (en) Network communication control apparatus and network communication control method
JP2006309294A (en) Transmitter and receiver
US7421459B2 (en) Buffer management for data transfers between a host device and a storage medium
CN116701047A (en) Error correction decoding data generation method and device, electronic equipment and readable storage medium
JPH04107660A (en) File transfer system
JPS60219851A (en) Communication control system
JP2803648B2 (en) Retransmission processing method between ATM data transmission devices