JP2002358275A - Electronic device and control method therefor - Google Patents

Electronic device and control method therefor

Info

Publication number
JP2002358275A
JP2002358275A JP2001165324A JP2001165324A JP2002358275A JP 2002358275 A JP2002358275 A JP 2002358275A JP 2001165324 A JP2001165324 A JP 2001165324A JP 2001165324 A JP2001165324 A JP 2001165324A JP 2002358275 A JP2002358275 A JP 2002358275A
Authority
JP
Japan
Prior art keywords
input
information
output unit
unit
information processing
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
JP2001165324A
Other languages
Japanese (ja)
Inventor
Tetsushi Kasahara
哲志 笠原
Tatsuya Adachi
達也 足立
Kazuya Iwata
和也 岩田
Seiji Nakamura
清治 中村
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2001165324A priority Critical patent/JP2002358275A/en
Publication of JP2002358275A publication Critical patent/JP2002358275A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an electronic device and a control method therefor by which a host can control a memory part and an information processing unit, and information can be directly transmitted between the information processing unit and the memory part, scarcely generating the delay of command signal or the like on the way. SOLUTION: This invented electronic device has a first input/output part for communicating with the host, the memory part, the information processing unit, a control part, a first transmission channel for mutually connecting between the first input/output part, the memory part and an information processing part, and a second transmission channel for mutually connecting between the memory part and the information processing part. For transmitting information between the host and the memory part or the information processing part, the information is transmitted through the first transmission channel. For transmitting the information between the memory part and the information processing part, the information is transmitted through the second transmission channel.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、電子装置及びその
制御方法に関する。
[0001] The present invention relates to an electronic device and a control method thereof.

【0002】[0002]

【従来の技術】今日、コンピュータ、デジタル映像信号
処理装置、デジタル音声信号処理装置等の多くの種類の
デジタル信号処理装置は、オプションとして種々の電子
装置を装着又は接続でき、これによりユーザの好みに合
った機能を発揮することが出来る。デジタル信号処理装
置に装着可能なオプションの電子装置として、半導体メ
モリを有する小型のメモリカードが注目されている。メ
モリカードに半導体メモリと他の機能ブロックとを搭載
することにより、記憶装置として機能及び当該他のブロ
ックの機能を併せ持つカードを実現できる。
2. Description of the Related Art Today, many types of digital signal processing devices, such as computers, digital video signal processing devices, digital audio signal processing devices, etc., can be equipped with various electronic devices as an option, thereby providing the user with a preference. It can exhibit the matching function. As an optional electronic device that can be mounted on a digital signal processing device, a small-sized memory card having a semiconductor memory has attracted attention. By mounting a semiconductor memory and other functional blocks on a memory card, a card having both a function as a storage device and a function of the other block can be realized.

【0003】図6及び図7を用いて、複合機能を有する
従来の電子装置を説明する。図6は、ホスト101とS
Dカード(電子装置に含まれる。)611とで構成され
る従来例1のシステムのブロック図である。ホスト10
1はデジタル信号処理装置であり、SDカード611は
無線通信機能を有するBluetoothカードである(「Bluet
ooth」は登録商標)。ホスト101とSDカード611
は第3の伝送路で接続されており、ホスト101が出力
するコマンド信号に応じて相互に情報を伝送することが
出来る。ホスト101は、中央演算処理装置(CPU)
102、第8の入出力部103及びRAM104を有す
る。CPU102、第8の入出力部103及びRAM1
04は、内部バス105で相互に接続されており、相互
に情報を伝送することが出来る。CPU102は、コマ
ンド信号を送出し、及びRAM104に格納されたデー
タを第8の入出力部103を通じて出力する。又、CP
U102は、第8の入出力部103から入力したレスポ
ンス信号を解析し、及び第8の入出力部103から入力
したデータをRAM104に格納する。
A conventional electronic device having a composite function will be described with reference to FIGS. 6 and 7. FIG. FIG. 6 shows the host 101 and S
FIG. 11 is a block diagram of a system of Conventional Example 1 including a D card (included in an electronic device) 611. Host 10
Reference numeral 1 denotes a digital signal processing device, and SD card 611 is a Bluetooth card having a wireless communication function (“Bluet
ooth "is a registered trademark). Host 101 and SD card 611
Are connected by a third transmission path, and can mutually transmit information according to a command signal output from the host 101. The host 101 is a central processing unit (CPU)
102, an eighth input / output unit 103, and a RAM 104. CPU 102, eighth input / output unit 103, and RAM1
Numerals 04 are mutually connected by an internal bus 105, and can mutually transmit information. The CPU 102 sends out a command signal, and outputs the data stored in the RAM 104 through the eighth input / output unit 103. Also, CP
The U 102 analyzes the response signal input from the eighth input / output unit 103 and stores the data input from the eighth input / output unit 103 in the RAM 104.

【0004】SDカード611は、記憶部613、外部
入出力部614及び第1の入出力部112を有する。記
憶部613、外部入出力部614及び第1の入出力部1
12は、第1の伝送路116で相互に接続されている。
ホスト101が出力するコマンド信号に応じて、第1の
入出力部112と記憶部613が相互に情報を伝送し、
又は第1の入出力部112と外部入出力部614とが相
互に情報を伝送する。SDカード611は、第1の入出
力部112と記憶部613とを有するSDメモリカード
(登録商標)に、Bluetooth規格に基づく通信機能を有
する外部入出力部614を付加したものである。
The SD card 611 has a storage unit 613, an external input / output unit 614, and a first input / output unit 112. Storage unit 613, external input / output unit 614, and first input / output unit 1
12 are mutually connected by a first transmission line 116.
In response to a command signal output by the host 101, the first input / output unit 112 and the storage unit 613 mutually transmit information,
Alternatively, the first input / output unit 112 and the external input / output unit 614 mutually transmit information. The SD card 611 is obtained by adding an external input / output unit 614 having a communication function based on the Bluetooth standard to an SD memory card (registered trademark) having the first input / output unit 112 and the storage unit 613.

【0005】ホスト101とSDカード611との間を
接続する第3の伝送路118は、9本の接続線で構成さ
れている。第3の伝送路118は、1本のコマンドライ
ン、4本のデータライン、1本のクロックライン、1本
の電源ライン及び2本のグラウンドラインからなる。ホ
スト101とSDカード611との通信においては、ホ
スト101がマスターでSDカード611がスレーブで
ある。ホスト101が出力するコマンド信号に応じて、
SDカード611はレスポンス信号をホスト101に返
送し、コマンド信号の内容に応じてホスト101からS
Dカード611にデータを伝送し又はSDカード611
からホスト101にデータを伝送する。
[0005] The third transmission line 118 connecting the host 101 and the SD card 611 is composed of nine connection lines. The third transmission line 118 includes one command line, four data lines, one clock line, one power supply line, and two ground lines. In communication between the host 101 and the SD card 611, the host 101 is a master and the SD card 611 is a slave. According to the command signal output from the host 101,
The SD card 611 returns a response signal to the host 101, and sends a response signal from the host 101 according to the content of the command signal.
Data is transmitted to the D card 611 or the SD card 611
From the host to the host 101.

【0006】第1の入出力部112は、ホストからのコ
マンド信号を入力し、当該コマンド信号を第1の伝送路
116に伝送する。記憶部613及び外部入出力部61
4は、入力したコマンド信号を解析し、当該コマンド信
号がそれぞれのブロックに関連したコマンド信号であれ
ば、レスポンス信号を出力する。第1の入出力部112
は、レスポンス信号をホスト101に返送する。記憶部
613は、第2の入出力部121と、バッファメモリ1
22と、メモリ制御部123と、フラッシュメモリ12
4とを有する。記憶部613の第2の入出力部121が
入力したコマンド信号が、ホスト101が送出するデー
タをフラッシュメモリ124に記憶する指令であれば、
メモリ制御部123がレスポンス信号をホスト101に
返送した後、第2の入出力部121は続いて入力するデ
ータをメモリ制御部123に伝送する。メモリ制御部1
23は、データをバッファメモリ122に格納する。メ
モリ制御部123は、バッファメモリ122からデータ
を読み出し、フラッシュメモリ124に書き込む。
[0006] The first input / output unit 112 receives a command signal from the host and transmits the command signal to the first transmission line 116. Storage unit 613 and external input / output unit 61
4 analyzes the input command signal, and outputs a response signal if the command signal is a command signal related to each block. First input / output unit 112
Sends a response signal back to the host 101. The storage unit 613 includes the second input / output unit 121 and the buffer memory 1
22, the memory control unit 123, and the flash memory 12
And 4. If the command signal input by the second input / output unit 121 of the storage unit 613 is a command to store data transmitted by the host 101 in the flash memory 124,
After the memory control unit 123 returns the response signal to the host 101, the second input / output unit 121 transmits the subsequently input data to the memory control unit 123. Memory control unit 1
23 stores the data in the buffer memory 122. The memory control unit 123 reads data from the buffer memory 122 and writes the data to the flash memory 124.

【0007】記憶部613の第2の入出力部121が入
力したコマンド信号が、フラッシュメモリ124が記憶
するデータをホスト101に送出するデータ指令であれ
ば、メモリ制御部123は、レスポンス信号をホスト1
01に返送した後、フラッシュメモリ124からデータ
を読み出し、バッファメモリ122に書き込む。メモリ
制御部123は、バッファメモリ122からデータを読
み出し、第2の入出力部121に伝送する。第2の入出
力部121が送出したデータは、第1の入出力部11
2、第3の伝送路118を通じてホスト101に伝送さ
れる。
If the command signal input by the second input / output unit 121 of the storage unit 613 is a data command for sending data stored in the flash memory 124 to the host 101, the memory control unit 123 sends a response signal to the host 101. 1
01, the data is read from the flash memory 124 and written to the buffer memory 122. The memory control unit 123 reads data from the buffer memory 122 and transmits the data to the second input / output unit 121. The data transmitted by the second input / output unit 121 is transmitted to the first input / output unit 11
2, transmitted to the host 101 through the third transmission path 118.

【0008】外部入出力部614は、第4の入出力部1
31と第6の入出力部132とを有する。第6の入出力
部132は、Bluetooth規格に従って外部装置と無線通
信を行う通信部である。外部入出力部614の第4の入
出力部131が入力したコマンド信号が、ホスト101
が送出するデータを外部装置に伝送する指令であれば、
外部入出力部114はレスポンス信号をホスト101に
返送した後、第4の入出力部131は続いて入力するデ
ータを第6の入出力部132に伝送する。第6の入出力
部132は、データを外部装置に送信する。外部入出力
部614の第4の入出力部131が入力したコマンド信
号が、外部装置が送信したデータをホスト101に伝送
する指令であれば、外部入出力部614がレスポンス信
号をホスト101に返送する。その後、第6の入出力部
132は入力したデータを第4の入出力部131に伝送
する。第4の入出力部131が送出したデータは、第1
の入出力部112、第3の伝送路118を通じてホスト
101に伝送される。
The external input / output unit 614 is connected to the fourth input / output unit 1
31 and a sixth input / output unit 132. The sixth input / output unit 132 is a communication unit that performs wireless communication with an external device according to the Bluetooth standard. The command signal input by the fourth input / output unit 131 of the external input / output unit 614 is
If the command is to transmit the data to be sent to the external device,
After the external input / output unit 114 returns the response signal to the host 101, the fourth input / output unit 131 transmits the subsequently input data to the sixth input / output unit 132. The sixth input / output unit 132 transmits data to an external device. If the command signal input by the fourth input / output unit 131 of the external input / output unit 614 is a command for transmitting data transmitted from the external device to the host 101, the external input / output unit 614 returns a response signal to the host 101. I do. Then, the sixth input / output unit 132 transmits the input data to the fourth input / output unit 131. The data transmitted by the fourth input / output unit 131 is
Is transmitted to the host 101 through the third transmission path 118.

【0009】図7は、ホスト101と電子装置711と
で構成される従来例2のシステムのブロック図である。
図7のホスト101は、図6のホスト101と同一の構
成を有する。電子装置711は、第1の入出力部11
2、CPU712、記憶部613及び外部入出力部61
4を有する。第1の入出力部112、CPU712、記
憶部613及び外部入出力部614は内部バス713で
接続されており、相互に情報を伝送することが出来る。
図7の第1の入出力部112、記憶部613及び外部入
出力部614は、図6の第1の入出力部112、記憶部
613及び外部入出力部614と同一の構成を有する。
FIG. 7 is a block diagram of a system of the second conventional example which is composed of a host 101 and an electronic device 711.
The host 101 in FIG. 7 has the same configuration as the host 101 in FIG. The electronic device 711 includes the first input / output unit 11
2, CPU 712, storage unit 613, and external input / output unit 61
4 The first input / output unit 112, the CPU 712, the storage unit 613, and the external input / output unit 614 are connected by an internal bus 713, and can mutually transmit information.
The first input / output unit 112, the storage unit 613, and the external input / output unit 614 of FIG. 7 have the same configuration as the first input / output unit 112, the storage unit 613, and the external input / output unit 614 of FIG.

【0010】従来例2の電子装置711は、従来例1の
SDカード611と比較して、CPU712を有する点
と、各ブロックが内部バス713で相互に接続されてい
る点で異なる。第1の入出力部112がホスト101か
らコマンド信号を入力すると、コマンド信号はCPU7
12に伝送される。CPU712は、コマンド信号に応
じて記憶部613又は外部入出力部614からレスポン
ス信号を読み出し、読み出したレスポンス信号を返送す
る。第1の入出力部112がホスト101が送出したデ
ータを入力すると、CPU712の指示に応じて、第1
の入出力部112は入力したデータを記憶部613又は
外部入出力部614のいずれかに伝送する。記憶部61
3は入力したデータをフラッシュメモリ124に格納す
る。外部入出力部614は入力したデータを外部装置に
送出する。
The electronic device 711 of the second conventional example is different from the SD card 611 of the first conventional example in that it has a CPU 712 and that each block is interconnected by an internal bus 713. When the first input / output unit 112 inputs a command signal from the host 101, the command signal
12 is transmitted. The CPU 712 reads a response signal from the storage unit 613 or the external input / output unit 614 in response to the command signal, and returns the read response signal. When the first input / output unit 112 inputs the data sent from the host 101, the first input / output unit 112 responds to an instruction from the CPU 712 to
The input / output unit 112 transmits the input data to either the storage unit 613 or the external input / output unit 614. Storage unit 61
3 stores the input data in the flash memory 124. The external input / output unit 614 sends the input data to an external device.

【0011】CPU712は、ホスト101の要求(コ
マンド信号)に応じて、記憶部613又は外部入出力部
614のいずれかにデータの出力を指示する。記憶部6
13はフラッシュメモリ124から読み出したデータを
第1の入出力部112に伝送する。外部入出力部614
は、外部装置が送信したデータを受信し、受信したデー
タを第1の入出力部112に伝送する。第1の入出力部
は、入力したデータをホスト101に伝送する。
The CPU 712 instructs either the storage unit 613 or the external input / output unit 614 to output data in response to a request (command signal) from the host 101. Storage unit 6
Reference numeral 13 transmits the data read from the flash memory 124 to the first input / output unit 112. External input / output unit 614
Receives the data transmitted by the external device and transmits the received data to the first input / output unit 112. The first input / output unit transmits the input data to the host 101.

【0012】[0012]

【発明が解決しようとする課題】従来例1のシステムに
おいては、第1の入出力部112は、ホストから第3の
伝送路118を通じて送られたコマンド信号又はデータ
を、そのまま第1の伝送路116に転送する。第1の入
出力部112でコマンド信号等が留まる時間は非常に短
く、ホスト101は、記憶部613及び外部入出力部6
14を直接制御するのとほぼ同等の応答速度で、記憶部
613及び外部入出力部614を制御できる。しかし、
従来例1のシステムにおいては、SDカード611の外
部入出力部614が受信したデータを記憶部613に格
納しようとする場合、外部入出力部614から記憶部6
13にデータを直接伝送することが出来なかった。同様
に、記憶部613から外部入出力部614にデータを直
接伝送することが出来なかった。
In the system of the first prior art, the first input / output unit 112 converts a command signal or data sent from the host through the third transmission line 118 as it is into the first transmission line. Transfer to 116. The time during which a command signal or the like stays in the first input / output unit 112 is very short, and the host 101
The storage unit 613 and the external input / output unit 614 can be controlled at a response speed almost equal to that of directly controlling the external control unit 14. But,
In the system of the first conventional example, when the data received by the external input / output unit 614 of the SD card 611 is to be stored in the storage unit 613, the external input / output unit 614 transmits the data to the storage unit 6.
13 could not be transmitted directly. Similarly, data could not be directly transmitted from the storage unit 613 to the external input / output unit 614.

【0013】従来例1のシステムにおいては、SDカー
ド611の外部入出力部614が受信したデータを記憶
部613に格納しようとする場合、外部入出力部が受信
したデータを第1の入出力部112、第3の伝送路11
8、第8の入出力部を通じてホスト101に伝送し、ホ
スト101のRAM104にデータを格納した。次に、
ホスト101のCPU102の指令に応じて、RAM1
04から当該データを読み出し、当該データを第3の伝
送路118、第1の入出力部112を通じて記憶部61
3に伝送した。記憶部613はデータを格納した。SD
カード611の記憶部613に格納したデータを外部入
出力部614がから送信する場合も、同様に、いったん
情報をホスト101に送る必要があった。
In the system of the first conventional example, when the data received by the external input / output unit 614 of the SD card 611 is to be stored in the storage unit 613, the data received by the external input / output unit is stored in the first input / output unit. 112, third transmission path 11
8. The data was transmitted to the host 101 through the eighth input / output unit, and the data was stored in the RAM 104 of the host 101. next,
In response to a command from the CPU 102 of the host 101, the RAM 1
04 from the storage unit 61 via the third transmission line 118 and the first input / output unit 112.
3 transmitted. The storage unit 613 has stored data. SD
Similarly, when data stored in the storage unit 613 of the card 611 is transmitted from the external input / output unit 614, it is necessary to send information to the host 101 once.

【0014】SDカード611内でデータを移動させる
ために、当該データが第3の伝送路118を往復する従
来例1のシステムは、データの移動に時間がかかるこ
と、及びデータの伝送中第1の伝送路116及び第3の
伝送路118がビジーになるため、マスターであるホス
ト101はスレーブであるSDカード611に他のコマ
ンド信号等を送れないという問題があった。
In order to move data in the SD card 611, the system of the first prior art in which the data travels back and forth through the third transmission path 118 takes a long time to move the data. Since the transmission path 116 and the third transmission path 118 are busy, there is a problem that the host 101 as the master cannot send another command signal or the like to the SD card 611 as the slave.

【0015】従来例2のシステムは汎用的な内部バス7
13を有する故に、当該内部バス713を通じて、記憶
部613に格納されているデータを直接外部入出力部6
14に伝送することも出来るし、外部入出力部614が
受信したデータを直接記憶部613に伝送することも出
来る。しかし、従来例2のシステムにおいては、例えば
ホスト101が記憶部613に情報(コマンド信号又は
データ等)を伝送する場合、必ずCPU712が情報の
授受に介在する。それ故に、従来例2のシステムは、従
来例1のシステムに比べて、CPU712の処理時間だ
け応答が遅いという問題があった。又、記憶部613と
外部入出力部614との間で情報を伝達している間内部
バス713がビジーになる故に、その間マスターである
ホスト101はスレーブであるSDカード611にコマ
ンド信号を送れない(コマンド信号を送ってもCPU7
12が当該コマンド信号を受信できないので、応答が出
来ない。)という問題があった。
The system of the prior art 2 is a general-purpose internal bus 7.
13, the data stored in the storage unit 613 is directly transmitted to the external input / output unit 6 through the internal bus 713.
14, and the data received by the external input / output unit 614 can be directly transmitted to the storage unit 613. However, in the system of the second conventional example, for example, when the host 101 transmits information (command signal or data, etc.) to the storage unit 613, the CPU 712 always intervenes in the transmission and reception of the information. Therefore, the system of Conventional Example 2 has a problem that the response is slower by the processing time of the CPU 712 than the system of Conventional Example 1. Further, since the internal bus 713 is busy while transmitting information between the storage unit 613 and the external input / output unit 614, the master host 101 cannot send a command signal to the slave SD card 611 during that time. (Even if a command signal is sent, the CPU 7
12 cannot receive the command signal, and cannot respond. ).

【0016】記憶部613は、記憶部613が入力した
データをフラッシュメモリ124に書込むデータのフォ
ーマットに変換するため、及びフラッシュメモリ124
から読み出したデータを第3の伝送路118を伝送する
データのフォーマットに変換するため、バッファメモリ
122を有する。同様に、外部入出力部614は、外部
入出力部614が入力したデータをBluetooth規格に従
って第6の入出力部が送出するデータのフォーマットに
変換するため、及び第6の入出力部132が受信した外
部装置から送られたデータを第3の伝送路118を伝送
するデータのフォーマットに変換するため、バッファメ
モリ(図示していない。)を有する。
The storage unit 613 converts the data input by the storage unit 613 into a data format to be written in the flash memory 124,
Has a buffer memory 122 for converting the data read out from the data into a format of data to be transmitted through the third transmission path 118. Similarly, the external input / output unit 614 converts the data input by the external input / output unit 614 into a format of data transmitted by the sixth input / output unit in accordance with the Bluetooth standard. A buffer memory (not shown) is provided for converting the data transmitted from the external device into a data format to be transmitted through the third transmission line 118.

【0017】記憶部613及び外部入出力部614が、
十分な記憶容量を有するそれぞれのバッファメモリを持
つことは回路規模の増大を招いた。例えば外部入出力部
614のバッファメモリの容量が小さければ、外部入出
力部614は、少しのデータを受信する毎に、第3の伝
送路118を通じてホスト101にデータを伝送する必
要がある。このことはホスト101の情報処理の負担を
増大した。このことは第3の伝送路118の転送頻度を
上昇させ、外部入出力部614とホスト101との間の
データ転送が続いている間、それ以外の情報を第3の伝
送路118を通じて伝送出来ないという問題もあった。
The storage unit 613 and the external input / output unit 614
Having each buffer memory with sufficient storage capacity has led to an increase in circuit scale. For example, if the capacity of the buffer memory of the external input / output unit 614 is small, the external input / output unit 614 needs to transmit data to the host 101 through the third transmission line 118 every time a small amount of data is received. This has increased the load on the host 101 for information processing. This increases the transfer frequency of the third transmission line 118, and allows other information to be transmitted through the third transmission line 118 while data transfer between the external input / output unit 614 and the host 101 continues. There was another problem.

【0018】本発明は、途中でのコマンド信号等の遅延
がほとんど生じることなく、ホストが記憶部及び情報処
理装置を制御でき、且つ情報処理装置と記憶部との間で
直接情報を伝送できる電子装置及びその制御方法を提供
することを目的とする。本発明は、小さなバッファメモ
リを有する情報処理装置によって、ホストと電子装置と
の間でスムーズな通信を行い、且つホストの情報処理負
担が軽い電子装置及びその制御方法を提供することを目
的とする。
According to the present invention, an electronic device capable of controlling a storage unit and an information processing device by a host and transmitting information directly between the information processing device and the storage unit with almost no delay such as a command signal on the way. It is an object to provide an apparatus and a control method thereof. SUMMARY OF THE INVENTION An object of the present invention is to provide an electronic device that performs smooth communication between a host and an electronic device by using an information processing device having a small buffer memory and has a light information processing load on the host, and a control method therefor. .

【0019】[0019]

【課題を解決するための手段】本発明は、上記の課題を
解決するため、以下の構成を有する。請求項1の発明
は、ホストからのコマンド信号の入力を含むホストとの
通信を行う第1の入出力部と、第2の入出力部と、第3
の入出力部と、メモリとを有する記憶部と、第4の入出
力部と、第5の入出力部と、情報を記録し、情報を再生
し、情報を生成し、情報を外部から入力し、又は情報を
外部に出力する情報処理部とを有する情報処理装置と、
前記第1の入出力部と、前記第2の入出力部と、前記第
4の入出力部との間を相互に接続する第1の伝送路と、
前記第3の入出力部と前記第5の入出力部との間を相互
に接続する第2の伝送路と、前記第2の伝送路を通じて
行う通信を制御する制御部と、を有し、前記記憶部は、
前記第1の入出力部からのコマンド信号に応じて前記メ
モリから読み出した情報を前記第2の入出力部から出力
し又は前記第2の入出力部から入力した情報を前記メモ
リに記憶し、並びに前記制御部からのコマンド信号に応
じて、前記メモリから読み出した情報を前記第3の入出
力部から出力し又は前記第3の入出力部から入力した情
報を前記メモリに記憶し、前記情報処理装置は、前記第
1の入出力部からのコマンド信号に応じて前記情報処理
部が再生し、生成し、若しくは外部から入力した情報を
前記第4の入出力部から出力し又は前記第4の入出力部
から入力した情報を前記情報処理部が記録し若しくは外
部に出力し、並びに前記制御部からのコマンド信号に応
じて前記情報処理部が再生し、生成し、若しくは外部か
ら入力した情報を前記第5の入出力部から出力し又は前
記第5の入出力部から入力した情報を前記情報処理部が
記録し若しくは外部に出力する、ことを特徴とする電子
装置である。
The present invention has the following arrangement to solve the above-mentioned problems. According to the first aspect of the present invention, a first input / output unit for communicating with a host including a command signal input from the host, a second input / output unit, and a third input / output unit are provided.
, A storage unit having a memory, a fourth input / output unit, a fifth input / output unit, and a device for recording information, reproducing information, generating information, and inputting information from outside. Or an information processing apparatus having an information processing unit that outputs information to the outside,
A first transmission line interconnecting the first input / output unit, the second input / output unit, and the fourth input / output unit;
A second transmission path interconnecting the third input / output section and the fifth input / output section, and a control section controlling communication performed through the second transmission path; The storage unit,
Outputting information read from the memory in response to a command signal from the first input / output unit from the second input / output unit or storing information input from the second input / output unit in the memory; And outputting information read from the memory from the third input / output unit or storing information input from the third input / output unit in the memory in response to a command signal from the control unit, The information processing unit reproduces and generates information in response to a command signal from the first input / output unit, or outputs information input from the outside from the fourth input / output unit or the fourth processing unit. The information processing unit records information input from the input / output unit or outputs the information to the outside, and the information processing unit reproduces and generates the information in response to a command signal from the control unit, or information input from the outside. To Serial fifth the information processing unit the information input from the output or the fifth output unit from the input-output unit of output records or external, is an electronic device according to claim.

【0020】請求項4の発明は、ホストからのコマンド
信号の入力を含むホストとの通信を行う第1の入出力部
と、記憶部と、情報処理装置と、前記第1の入出力部
と、前記記憶部と、前記情報処理装置との間を相互に接
続する第1の伝送路と、前記記憶部と前記情報処理装置
との間を相互に接続する第2の伝送路と、を有する電子
装置の制御方法であって、前記情報処理装置が再生し、
生成し、若しくは外部から入力した情報を前記第1の伝
送路を通じて前記第1の入出力部に伝送し、前記第1の
入出力部からホストに伝送するステップと、前記情報処
理部が再生し、生成し、若しくは外部から入力した情報
を前記第2の伝送路を通じて前記記憶部に伝送し、前記
記憶部に情報を記憶するステップと、を有することを特
徴とする電子装置の制御方法である。
According to a fourth aspect of the present invention, there is provided a first input / output unit for performing communication with a host including input of a command signal from the host, a storage unit, an information processing device, and the first input / output unit. A first transmission line interconnecting the storage unit and the information processing device, and a second transmission line interconnecting the storage unit and the information processing device. A method for controlling an electronic device, wherein the information processing device reproduces,
Transmitting the information generated or input from the outside to the first input / output unit through the first transmission path, and transmitting the information from the first input / output unit to the host; Transmitting information generated or externally input to the storage unit through the second transmission path, and storing the information in the storage unit. .

【0021】請求項5の発明は、ホストからのコマンド
信号の入力を含むホストとの通信を行う第1の入出力部
と、記憶部と、情報処理装置と、前記第1の入出力部
と、前記記憶部と、前記情報処理装置との間を相互に接
続する第1の伝送路と、前記記憶部と前記情報処理装置
との間を相互に接続する第2の伝送路と、を有する電子
装置の制御方法であって、前記第1の入出力部がホスト
から入力した情報を前記第1の伝送路を通じて前記情報
処理装置に伝送し、前記情報処理部が情報を記録し若し
くは外部に出力するステップと、前記記憶部から読み出
した情報を前記第2の伝送路を通じて前記情報処理装置
に伝送し、前記情報処理部が情報を記録し若しくは外部
に出力するステップと、を有することを特徴とする電子
装置の制御方法である。
According to a fifth aspect of the present invention, a first input / output unit for performing communication with the host including input of a command signal from the host, a storage unit, an information processing device, and the first input / output unit A first transmission line interconnecting the storage unit and the information processing device, and a second transmission line interconnecting the storage unit and the information processing device. A method of controlling an electronic device, wherein the first input / output unit transmits information input from a host to the information processing device through the first transmission path, and the information processing unit records information or sends the information to an external device. Outputting the information read from the storage unit to the information processing apparatus through the second transmission path, and the information processing unit records the information or outputs the information to the outside. Control method of an electronic device. .

【0022】本発明の電子装置においては、ホストは、
途中でのコマンド信号等の遅延がほとんど生じることな
く、記憶部及び情報処理装置を制御できる。本発明の電
子装置においては、情報処理装置から記憶部にデータを
直接伝送することが出来、同様に、記憶部から情報処理
装置にデータを直接伝送することが出来る。記憶部と情
報処理装置との間のデータ転送においてホストと電子装
置との間の伝送路は使用されない故に、記憶部と情報処
理装置とが相互にデータ転送を行っている間にも、当該
データ転送に妨げられることなく、ホストはいつでも記
憶部又は情報処理装置にコマンド信号又はデータを送
り、記憶部又は情報処理装置からレスポンス信号又はデ
ータを受け取ることが出来る。
In the electronic device according to the present invention, the host includes:
The storage unit and the information processing device can be controlled with almost no delay such as a command signal on the way. In the electronic device of the present invention, data can be directly transmitted from the information processing device to the storage unit, and similarly, data can be directly transmitted from the storage unit to the information processing device. Since the transmission path between the host and the electronic device is not used in the data transfer between the storage unit and the information processing device, the data transmission is performed while the storage unit and the information processing device perform the data transfer mutually. The host can send a command signal or data to the storage unit or the information processing device at any time and receive a response signal or data from the storage unit or the information processing device without being hindered by the transfer.

【0023】「第1の伝送路」は、ホストからのコマン
ド信号に応じて情報が伝送される。「第2の伝送路」
は、制御部からのコマンド信号に応じて情報が伝送され
る。第1の伝送路は、物理的に連続した伝送路でなくて
も良く、例えば第1の入出力部と第2の入出力部とを接
続する線は、第1の入出力部と第4の入出力部とを接続
する線と物理的には異なる線(バッファ等で分離されて
いる。)でも良い。同様に第2の伝送路は、物理的に連
続した伝送路でなくても良い。例えば第2の伝送路は、
第3の入出力部と制御部とを接続する線と、第5の入出
力部と制御部とを接続する線とからなっていても良い。
「情報処理装置」は、例えば外部入出力部、電子カメ
ラ、画像記録再生装置、グローバル・ポジショニング・シ
ステム(GPS)、音声記録再生装置、映像若しくは音
声チューナである。「外部入出力部」は、外部との通信
を行う任意の装置である。例えば、Bluetooth規格に基
づく無線通信部、LANの端末、携帯電話である。
The "first transmission path" transmits information in response to a command signal from the host. "Second transmission path"
Transmits information in response to a command signal from the control unit. The first transmission path does not have to be a physically continuous transmission path. For example, a line connecting the first input / output unit and the second input / output unit is a line connecting the first input / output unit and the fourth input / output unit. May be physically different from the line connecting the input / output unit (separated by a buffer or the like). Similarly, the second transmission path may not be a physically continuous transmission path. For example, the second transmission path is
A line connecting the third input / output unit and the control unit and a line connecting the fifth input / output unit and the control unit may be used.
The “information processing device” is, for example, an external input / output unit, an electronic camera, an image recording / reproducing device, a global positioning system (GPS), an audio recording / reproducing device, a video or audio tuner. An “external input / output unit” is any device that communicates with the outside. For example, a wireless communication unit based on the Bluetooth standard, a LAN terminal, and a mobile phone.

【0024】請求項2の発明は、前記記憶部は、更にバ
ッファメモリを有し、前記第1の入出力部から前記第1
の伝送経路を通じて前記記憶部に伝送された情報を前記
バッファメモリに一時的に記憶し、前記バッファメモリ
から読み出した情報を前記第2の伝送経路を通じて前記
情報処理装置に伝送し、前記情報処理部が前記第2の伝
送経路を通じて入力した情報を記録し若しくは外部に出
力する、ことを特徴とする請求項1に記載の電子装置で
ある。
According to a second aspect of the present invention, the storage unit further includes a buffer memory, and the first input / output unit transmits the first
Temporarily storing the information transmitted to the storage unit through the transmission path in the buffer memory, transmitting the information read from the buffer memory to the information processing apparatus through the second transmission path, 2. The electronic device according to claim 1, wherein the device records information input through the second transmission path or outputs the information to the outside.

【0025】請求項3の発明は、前記記憶部は、更にバ
ッファメモリを有し、前記情報処理部が再生し、生成
し、若しくは外部から入力した情報を、前記情報処理装
置から前記第2の伝送経路を通じて前記記憶部に伝送
し、前記情報を前記バッファメモリに一時的に記憶し、
及び前記バッファメモリから読み出した情報を前記第1
の伝送経路を通じて前記第1の入出力部に伝送するステ
ップと、を更に有することを特徴とする請求項1に記載
の電子装置である。
According to a third aspect of the present invention, the storage unit further includes a buffer memory, and the information processing unit reproduces, generates, or inputs information input from outside from the information processing apparatus to the second information processing unit. Transmitting to the storage unit via a transmission path, temporarily storing the information in the buffer memory,
And reading the information read from the buffer memory into the first
Transmitting the signal to the first input / output unit through the transmission path of (i).

【0026】請求項6の発明は、前記記憶部は、更にバ
ッファメモリを有し、前記情報処理部が再生し、生成
し、若しくは外部から入力した情報を前記第2の伝送路
を通じて前記記憶部に伝送し、前記第2の伝送経路を通
じて伝送された情報を前記バッファメモリに一時的に記
憶し、及び前記バッファメモリから読み出した情報を前
記第1の伝送経路を通じて前記第1の入出力部に伝送す
るステップを更に有することを特徴とする請求項4に記
載の電子装置の制御方法である。
According to a sixth aspect of the present invention, the storage unit further includes a buffer memory, and the information processing unit reproduces, generates, or inputs information input from outside via the second transmission path. And temporarily stores information transmitted through the second transmission path in the buffer memory, and transmits the information read from the buffer memory to the first input / output unit through the first transmission path. The method according to claim 4, further comprising the step of transmitting.

【0027】請求項7の発明は、前記記憶部は、更にバ
ッファメモリを有し、前記第1の入出力部から前記第1
の伝送経路を通じて前記記憶部に伝送された情報を前記
記憶部のバッファメモリに一時的に記憶し、前記バッフ
ァメモリから読み出した情報を前記第2の伝送経路を通
じて前記情報処理装置に伝送し、前記情報処理部が前記
第2の伝送経路を通じて入力した情報を記録し若しくは
外部に出力するステップを更に有することを特徴とする
請求項5に記載の電子装置の制御方法である。
According to a seventh aspect of the present invention, the storage unit further includes a buffer memory, and the first input / output unit receives the first memory.
Temporarily storing the information transmitted to the storage unit through the transmission path in a buffer memory of the storage unit, transmitting the information read from the buffer memory to the information processing apparatus through the second transmission path, 6. The method according to claim 5, further comprising a step of recording information input by the information processing unit through the second transmission path or outputting the information to the outside.

【0028】本発明の電子装置においては、記憶部のバ
ッファメモリが情報処理装置のバッファメモリを兼ね
る。これにより、電子装置の回路規模は小さくて済む。
情報処理装置がバッファメモリを持たない又は小さなバ
ッファメモリを持つだけで、ホストは情報処理装置とス
ムーズに通信を行うことが出来る。情報処理装置と記憶
部のバッファメモリとの間では頻繁なデータ転送が実行
されるが、ホストと電子装置(記憶部及び情報処理装置
を有する。)との間の通信(実施例における第3の伝送
路を通じた通信)は、記憶部のバッファメモリが空にな
った時(ホストから情報処理装置にデータを転送する
時)、又は記憶部のバッファメモリが一杯になった時
(情報処理装置からホストにデータを転送する時)にの
み実行すれば良く、そのデータ転送頻度は低い。データ
転送頻度が低くなることにより、ホストの情報処理の負
担も低くなる。
In the electronic device according to the present invention, the buffer memory of the storage unit also serves as the buffer memory of the information processing device. Thus, the circuit scale of the electronic device can be small.
The host can smoothly communicate with the information processing device only when the information processing device does not have a buffer memory or only has a small buffer memory. Frequent data transfer is performed between the information processing device and the buffer memory of the storage unit, but communication between the host and the electronic device (including the storage unit and the information processing device) (third in the embodiment) The communication via the transmission path) is performed when the buffer memory of the storage unit becomes empty (when data is transferred from the host to the information processing device) or when the buffer memory of the storage unit becomes full (from the information processing device). Only when the data is transferred to the host), and the data transfer frequency is low. As the frequency of data transfer decreases, the load on the host for information processing also decreases.

【0029】好ましくは、情報処理装置は記憶部のバッ
ファメモリに比して小さなバッファメモリを有する。こ
れにより、情報処理装置が出力する情報の量が小さけれ
ば、当該情報を情報処理装置のバッファメモリに格納し
た後、当該情報を情報処理装置から直接第1の入出力部
に伝送することが出来る。第1の入出力部は情報をホス
トに伝送する。ホストから第1の入出力部に伝送された
情報の量が小さければ、当該情報を第1の入出力部から
直接情報処理装置に伝送することが出来る。情報処理装
置は、入力した情報をバッファメモリに格納した後、情
報処理部が当該情報を処理することが出来る。
[0029] Preferably, the information processing apparatus has a buffer memory smaller than the buffer memory of the storage unit. Thus, if the amount of information output by the information processing device is small, the information can be stored in the buffer memory of the information processing device and then transmitted directly from the information processing device to the first input / output unit. . The first input / output unit transmits information to the host. If the amount of information transmitted from the host to the first input / output unit is small, the information can be transmitted directly from the first input / output unit to the information processing device. After storing the input information in the buffer memory, the information processing apparatus can process the information.

【0030】情報を情報処理装置から直接第1の入出力
部に伝送する又は第1の入出力部から直接情報処理装置
に伝送することにより、情報が電子装置内で滞留してい
る時間(電子装置内の遅延時間)を短く出来る。情報の
量が大きい場合、情報処理装置は情報を記憶部のバッフ
ァメモリを経由して第1の入出力部に伝送する。情報の
量が大きい場合、第1の入出力部は、情報を記憶部のバ
ッファメモリを経由して情報処理装置に伝送する。情報
の量が大きい場合情報の伝送に時間がかかるため、情報
が電子装置内で滞留している時間が少し長くなることは
問題にならない。むしろ、ホストと電子装置との間の通
信回数を減らすとこが重要である。本発明は、情報量の
大小に応じて、ホストと情報処理装置との間で適切に情
報を伝送できる電子装置及びその制御方法を実現できる
という作用を有する。
By transmitting information directly from the information processing device to the first input / output unit or directly from the first input / output unit to the information processing device, the time during which the information stays in the electronic device (e.g., (Delay time in the device) can be shortened. When the amount of information is large, the information processing device transmits the information to the first input / output unit via the buffer memory of the storage unit. When the amount of information is large, the first input / output unit transmits the information to the information processing device via the buffer memory of the storage unit. When the amount of information is large, it takes time to transmit the information, so that it is not a problem that the time during which the information stays in the electronic device becomes slightly longer. Rather, it is important to reduce the number of communications between the host and the electronic device. The present invention has an effect of realizing an electronic device capable of appropriately transmitting information between a host and an information processing device according to the amount of information and a control method thereof.

【0031】[0031]

【発明の実施の形態】以下本発明の実施をするための最
良の形態を具体的に示した実施例について、図面ととも
に記載する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a preferred embodiment of the present invention.

【0032】《実施例1》図1〜図5を用いて、複合機
能を有する実施例の電子装置を説明する。 [構成の説明]図1は、ホスト101とSDカード(電
子装置に含まれる。)111とで構成される実施例のシ
ステムのブロック図である。ホスト101はデジタル信
号処理装置であり、SDカード111は無線通信機能を
有するBluetoothカードである。ホスト101とSDカ
ード111は第3の伝送路で接続されており、ホスト1
01が出力するコマンド信号に応じて相互に情報(コマ
ンド信号、レスポンス信号、データを含む。)を伝送す
ることが出来る。
<< Embodiment 1 >> An electronic device of an embodiment having a composite function will be described with reference to FIGS. [Explanation of Configuration] FIG. 1 is a block diagram of a system according to an embodiment composed of a host 101 and an SD card (included in an electronic device) 111. The host 101 is a digital signal processing device, and the SD card 111 is a Bluetooth card having a wireless communication function. The host 101 and the SD card 111 are connected by a third transmission path, and the host 1
01 (including a command signal, a response signal, and data) can be transmitted to each other in response to the command signal output by 01.

【0033】ホスト101は、中央演算処理装置(CP
U)102、第8の入出力部103及びRAM104を
有する。CPU102、第8の入出力部103及びRA
M104は、内部バス105で相互に接続されており、
相互に情報を伝送することが出来る。CPU102は、
コマンド信号を送出し、及びRAM104に格納された
データを第8の入出力部103を通じて出力する。又、
CPU102は、第8の入出力部103から入力したレ
スポンス信号を解析し、及び第8の入出力部103から
入力したデータをRAM104に格納する。
The host 101 has a central processing unit (CP)
U) 102, an eighth input / output unit 103, and a RAM 104. CPU 102, eighth input / output unit 103 and RA
M104 are interconnected by an internal bus 105,
Information can be transmitted to each other. The CPU 102
A command signal is transmitted, and data stored in the RAM 104 is output through the eighth input / output unit 103. or,
The CPU 102 analyzes the response signal input from the eighth input / output unit 103 and stores the data input from the eighth input / output unit 103 in the RAM 104.

【0034】SDカード111は、記憶部113、外部
入出力部114、カード制御部115及び第1の入出力
部112を有する。記憶部113の第2の入出力部12
1、外部入出力部114の第4の入出力部131及び第
1の入出力部112は、第1の伝送路116で相互に接
続されている。ホスト101が出力するコマンド信号に
応じて、第1の入出力部112と記憶部113が相互に
情報を伝送し、第1の入出力部112と外部入出力部1
14とが相互に情報を伝送する。カード制御部115
は、第1の入出力部112と接続されており、相互に情
報を伝送する。第3の入出力部125と第5の入出力部
133とは第2の伝送路117で接続されており、相互
に情報を伝送することが出来る。カード制御部115
が、第2の伝送路117を通じて行う情報伝送を制御し
ている。SDカード111は、第1の入出力部112と
記憶部113とを有するSDメモリカード(登録商標)
に、Bluetooth規格に基づく通信機能を有する外部入出
力部114を付加したものである。
The SD card 111 has a storage unit 113, an external input / output unit 114, a card control unit 115, and a first input / output unit 112. Second input / output unit 12 of storage unit 113
1. The fourth input / output unit 131 and the first input / output unit 112 of the external input / output unit 114 are mutually connected by a first transmission line 116. In response to a command signal output by the host 101, the first input / output unit 112 and the storage unit 113 mutually transmit information, and the first input / output unit 112 and the external input / output unit 1
14 mutually transmit information. Card control unit 115
Are connected to the first input / output unit 112 and mutually transmit information. The third input / output unit 125 and the fifth input / output unit 133 are connected by a second transmission line 117, and can mutually transmit information. Card control unit 115
Controls information transmission performed through the second transmission path 117. The SD card 111 is an SD memory card (registered trademark) having a first input / output unit 112 and a storage unit 113.
And an external input / output unit 114 having a communication function based on the Bluetooth standard.

【0035】ホスト101とSDカード111との間を
接続する第3の伝送路118は、9本の接続線で構成さ
れている。第3の伝送路118は、1本のコマンドライ
ン、4本のデータライン、1本のクロックライン、1本
の電源ライン及び2本のグラウンドラインからなる。ホ
スト101とSDカード111との通信においては、ホ
スト101がマスターでSDカード111がスレーブで
ある。ホスト101が出力するコマンド信号に応じて、
SDカード111はレスポンス信号をホスト101に返
送し、コマンド信号の内容に応じてホスト101からS
Dカード111にデータを伝送し又はSDカード111
からホスト101にデータを伝送する。
The third transmission line 118 connecting between the host 101 and the SD card 111 is composed of nine connection lines. The third transmission line 118 includes one command line, four data lines, one clock line, one power supply line, and two ground lines. In communication between the host 101 and the SD card 111, the host 101 is a master and the SD card 111 is a slave. According to the command signal output from the host 101,
The SD card 111 returns a response signal to the host 101, and sends a response signal from the host 101 according to the content of the command signal.
Data is transmitted to the D card 111 or the SD card 111
From the host to the host 101.

【0036】第1の入出力部112は、ホストからのコ
マンド信号を入力し、当該コマンド信号を第1の伝送路
116に伝送する。記憶部113及び外部入出力部11
4は入力したコマンド信号を解析し、当該コマンド信号
がそれぞれのブロックに関連したコマンド信号であれ
ば、レスポンス信号を出力する。カード制御部115
は、第1の入出力部112が入力したコマンド信号を解
析し、カード制御部115が関連するコマンド信号であ
ればレスポンス信号を出力する。第1の入出力部112
は、レスポンス信号をホスト101に返送する。記憶部
113は、第2の入出力部121と、バッファメモリ1
22と、メモリ制御部123と、フラッシュメモリ12
4と、第3の入出力部125とを有する。記憶部113
の第2の入出力部121が入力したコマンド信号が、ホ
スト101が送出するデータをフラッシュメモリ124
に記憶する指令であれば、記憶部113がレスポンス信
号をホスト101に返送する。その後、第2の入出力部
121は入力したデータをメモリ制御部123に伝送す
る。メモリ制御部123は、データをバッファメモリ1
22に格納する。メモリ制御部123は、バッファメモ
リ122からデータを読み出し、フラッシュメモリ12
4に書き込む。
The first input / output unit 112 receives a command signal from the host and transmits the command signal to the first transmission line 116. Storage unit 113 and external input / output unit 11
4 analyzes the input command signal and outputs a response signal if the command signal is a command signal related to each block. Card control unit 115
Analyzes the command signal input by the first input / output unit 112, and outputs a response signal if the command signal is related to the card control unit 115. First input / output unit 112
Sends a response signal back to the host 101. The storage unit 113 includes the second input / output unit 121 and the buffer memory 1
22, the memory control unit 123, and the flash memory 12
4 and a third input / output unit 125. Storage unit 113
When the command signal input by the second input / output unit 121 of the flash memory 124
If the command is to be stored in the host 101, the storage unit 113 returns a response signal to the host 101. After that, the second input / output unit 121 transmits the input data to the memory control unit 123. The memory control unit 123 stores the data in the buffer memory 1
22. The memory control unit 123 reads data from the buffer memory 122 and
Write to 4.

【0037】記憶部113の第2の入出力部121が入
力したコマンド信号が、フラッシュメモリ124が記憶
するデータをホスト101に送出するデータ指令であれ
ば、記憶部113は、レスポンス信号をホスト101に
返送する。その後、メモリ制御部123はフラッシュメ
モリ124からデータを読み出し、バッファメモリ12
2に書き込む。メモリ制御部123は、バッファメモリ
122からデータを読み出し、第2の入出力部121に
伝送する。第2の入出力部121が送出したデータは、
第1の入出力部112、第3の伝送路118を通じてホ
スト101に伝送される。
If the command signal input by the second input / output unit 121 of the storage unit 113 is a data command for sending data stored in the flash memory 124 to the host 101, the storage unit 113 transmits a response signal to the host 101. Return to. Thereafter, the memory control unit 123 reads data from the flash memory 124 and
Write to 2. The memory control unit 123 reads data from the buffer memory 122 and transmits the data to the second input / output unit 121. The data sent by the second input / output unit 121 is
The data is transmitted to the host 101 via the first input / output unit 112 and the third transmission line 118.

【0038】外部入出力部114は、第4の入出力部1
31と第5の入出力部133と第6の入出力部132と
を有する。第6の入出力部132は、Bluetooth規格に
従って外部装置と無線通信を行う通信部である。外部入
出力部114の第4の入出力部131が入力したコマン
ド信号が、ホスト101が送出するデータを外部装置に
伝送する指令であれば、外部入出力部114はレスポン
ス信号をホスト101に返送する。第4の入出力部13
1は続いて入力するデータ(その情報量は小さいとす
る。)を第6の入出力部132に伝送する。第6の入出
力部132は、データを外部装置に送信する。外部入出
力部114の第4の入出力部131が入力したコマンド
信号が、外部装置が送信したデータをホスト101に伝
送する指令であれば、外部入出力部114がレスポンス
信号をホスト101に返送する。次に、第6の入出力部
132は入力したデータ(その情報量は小さいとす
る。)を第4の入出力部131に伝送する。第4の入出
力部131が送出したデータは、第1の入出力部11
2、第3の伝送路118を通じてホスト101に伝送さ
れる。
The external input / output unit 114 is the fourth input / output unit 1
31, a fifth input / output unit 133 and a sixth input / output unit 132. The sixth input / output unit 132 is a communication unit that performs wireless communication with an external device according to the Bluetooth standard. If the command signal input by the fourth input / output unit 131 of the external input / output unit 114 is a command to transmit the data transmitted by the host 101 to the external device, the external input / output unit 114 returns a response signal to the host 101. I do. Fourth input / output unit 13
1 transmits the subsequently input data (the information amount is assumed to be small) to the sixth input / output unit 132. The sixth input / output unit 132 transmits data to an external device. If the command signal input by the fourth input / output unit 131 of the external input / output unit 114 is a command for transmitting data transmitted from the external device to the host 101, the external input / output unit 114 returns a response signal to the host 101. I do. Next, the sixth input / output unit 132 transmits the input data (the information amount is assumed to be small) to the fourth input / output unit 131. The data transmitted by the fourth input / output unit 131 is transmitted to the first input / output unit 11.
2, transmitted to the host 101 through the third transmission path 118.

【0039】第1の入出力部112が入力したホスト1
01からのコマンド信号が、記憶部113に格納されて
いるデータを外部入出力部114を通じて送信する指令
又は外部入出力部114が外部装置から受信したデータ
を記憶部113に格納する指令であれば、第1の入出力
部112を通じてそのコマンド信号を受け取ったカード
制御部115がレスポンス信号を返す。カード制御部1
15の制御に従って、記憶部113と外部入出力部11
4は、第2の伝送路117を通じて相互に通信を行う。
第2の通信路117は第1の通信路116とは別個の伝
送路である故に、第2の通信路117を通じて情報が伝
送される間にも、ホスト101は第3の通信路118及
び第1の通信路116を通じて情報を送受信することが
出来る。本発明の特徴である第2の通信路117を通じ
て行う情報の伝送について、図2〜図5のフローチャー
トを用いて説明する。
The host 1 input by the first input / output unit 112
01 is a command for transmitting data stored in the storage unit 113 through the external input / output unit 114 or a command for the external input / output unit 114 to store data received from an external device in the storage unit 113. The card control unit 115 that has received the command signal via the first input / output unit 112 returns a response signal. Card control unit 1
15, the storage unit 113 and the external input / output unit 11
4 mutually communicate via the second transmission path 117.
Since the second communication path 117 is a separate transmission path from the first communication path 116, the host 101 can communicate with the third communication path 118 and the third communication path 118 while information is transmitted through the second communication path 117. Information can be transmitted and received through one communication path 116. The transmission of information through the second communication channel 117, which is a feature of the present invention, will be described with reference to the flowcharts of FIGS.

【0040】[ホスト又はSDカードに格納されている
情報を外部入出力部を通じて送信する処理の説明]図2
は、ホスト101又はSDカード111に格納されてい
る情報を外部入出力部114を通じて送信する処理のフ
ローチャートを示す。最初に、外部入出力部114が外
部装置から情報の送信要求を受信すると、SDカード1
11は当該送信要求をホスト101に伝送する。ホスト
101のCPU102は、情報の送信を決定する(ステ
ップ201)。CPU102は送信要求された情報がホ
スト101のRAM104若しくはハードディスク(図
示していない。)に格納されているか、SDカード11
1の記憶部113に格納されているかをチェックする
(ステップ202)。情報がホスト101のRAM10
4若しくはハードディスクに格納されていればステップ
204に進む。情報がSDカード111の記憶部113
に格納されていれば、ステップ203に進む。
[Description of Processing for Transmitting Information Stored in Host or SD Card via External Input / Output Unit] FIG. 2
9 shows a flowchart of a process for transmitting information stored in the host 101 or the SD card 111 through the external input / output unit 114. First, when the external input / output unit 114 receives a request for transmitting information from an external device, the SD card 1
11 transmits the transmission request to the host 101. The CPU 102 of the host 101 determines transmission of information (step 201). The CPU 102 determines whether the information requested to be transmitted is stored in the RAM 104 or the hard disk (not shown) of the host 101 or the SD card 11
It is checked whether the data is stored in the first storage unit 113 (step 202). Information is stored in the RAM 10 of the host 101
4 or if stored in the hard disk, the process proceeds to step 204. The information is stored in the storage unit 113 of the SD card 111.
If it is stored in step 203, the process proceeds to step 203.

【0041】ステップ203において、ホスト101は
SDカード111に情報送信のコマンド信号を送信す
る。第1の入出力部112は情報送信のコマンド信号を
受信し、当該コマンド信号をカード制御部115に転送
する(ステップ205)。第1の伝送路116を通じて
そのコマンド信号を受け取ったカード制御部115は、
レスポンス信号を生成して、ホスト101に返送する。
次に、カード制御部115は、第2の伝送路117を通
じて記憶部113の第3の入出力部125に情報の出力
指令を送る。記憶部113のメモリ制御部123は、当
該出力指令に応じて、フラッシュメモリ124から情報
を読み出してバッファメモリ122に格納し、当該情報
を外部入出力部114が送信する情報のフォーマットに
変換する。その後メモリ制御部123は、当該情報をバ
ッファメモリ122から読み出して第3の入出力部12
5に伝送する(ステップ206)。
In step 203, the host 101 transmits a command signal for transmitting information to the SD card 111. The first input / output unit 112 receives the command signal for information transmission, and transfers the command signal to the card control unit 115 (Step 205). The card control unit 115, which has received the command signal through the first transmission line 116,
A response signal is generated and returned to the host 101.
Next, the card control unit 115 sends an information output command to the third input / output unit 125 of the storage unit 113 via the second transmission line 117. The memory control unit 123 of the storage unit 113 reads information from the flash memory 124 and stores the information in the buffer memory 122 according to the output command, and converts the information into a format of information transmitted by the external input / output unit 114. After that, the memory control unit 123 reads the information from the buffer memory 122 and outputs the information to the third input / output unit 12.
5 (step 206).

【0042】第3の入出力部125は、第2の伝送路1
17を通じて当該情報をカード制御部115に伝送す
る。カード制御部115は、第2の伝送路117を通じ
て当該情報を外部入出力部114に送信する。外部入出
力部114の第5の入出力部133は情報を入力する
(ステップ207)。第5の入出力部133は当該情報
を第6の入出力部132に伝送する。第6の入出力部1
32は、情報を無線で外部装置に伝送する(ステップ2
10)。ステップ207において、情報は第2の伝送路
117を通じて記憶部113から外部入出力部114に
伝送される。
The third input / output unit 125 is connected to the second transmission line 1
The information is transmitted to the card control unit 115 through the server 17. The card control unit 115 transmits the information to the external input / output unit 114 via the second transmission path 117. The fifth input / output unit 133 of the external input / output unit 114 inputs information (step 207). The fifth input / output unit 133 transmits the information to the sixth input / output unit 132. Sixth input / output unit 1
32 transmits the information wirelessly to the external device (step 2)
10). In step 207, the information is transmitted from the storage unit 113 to the external input / output unit 114 via the second transmission line 117.

【0043】情報がホスト101のRAM104若しく
はハードディスクに格納されていれば、ステップ204
において、ホスト101はSDカード111の第1の入
出力部112に情報送信のコマンド信号を送信する。第
1の入出力部112は情報送信のコマンド信号を受信し
(ステップ208)、当該コマンド信号を外部入出力部
114に転送する(ステップ209)。外部入出力部1
14はホスト101にレスポンス信号を返す。ホスト1
01はSDカード111の第1の入出力部112に情報
を送信する(ステップ204)。第1の入出力部112
は情報を受信し(ステップ208)、当該情報を外部入
出力部114に転送する(ステップ209)。図2のフ
ローチャートにおいては、コマンド信号の伝送と情報の
伝送をまとめて示している。外部入出力部114は情報
を外部装置に伝送する(ステップ210)。ステップ2
04、208、209においては、コマンド信号等は第
3の伝送路118及び第1の伝送路116を通じて伝送
される。
If the information is stored in the RAM 104 or the hard disk of the host 101, step 204
, The host 101 transmits a command signal for information transmission to the first input / output unit 112 of the SD card 111. The first input / output unit 112 receives the command signal for information transmission (step 208), and transfers the command signal to the external input / output unit 114 (step 209). External input / output unit 1
14 returns a response signal to the host 101. Host 1
01 transmits information to the first input / output unit 112 of the SD card 111 (step 204). First input / output unit 112
Receives the information (step 208) and transfers the information to the external input / output unit 114 (step 209). In the flowchart of FIG. 2, transmission of a command signal and transmission of information are collectively shown. The external input / output unit 114 transmits information to an external device (Step 210). Step 2
In 04, 208, and 209, a command signal and the like are transmitted through the third transmission line 118 and the first transmission line 116.

【0044】[外部入出力部が受信した情報をホスト又
はSDカードに格納する処理の説明]図3は、外部入出
力部114が受信した情報をホスト101又はSDカー
ド111に格納する処理のフローチャートを示す。最初
に、外部入出力部114が外部装置から情報を受信する
(ステップ301)。次に、SDカード111は情報を
受信したことをホスト101に通知する(ステップ30
2)。ホスト101は情報を受信したことを入力する
(ステップ303)。ホスト101のCPU102は、
情報の格納場所を決定する(ステップ304)。情報を
ホスト101のRAM104又はハードディスク(図示
していない。)に格納するのであればステップ309に
進み、情報をSDカード111の記憶部113に格納す
るのであればステップ306に進む(ステップ30
5)。
[Description of Processing for Storing Information Received by External Input / Output Unit in Host or SD Card] FIG. 3 is a flowchart of processing for storing information received by the external input / output unit 114 in the host 101 or the SD card 111. Is shown. First, the external input / output unit 114 receives information from an external device (Step 301). Next, the SD card 111 notifies the host 101 that the information has been received (step 30).
2). The host 101 inputs that the information has been received (step 303). The CPU 102 of the host 101
The storage location of the information is determined (step 304). If the information is stored in the RAM 104 or the hard disk (not shown) of the host 101, the process proceeds to step 309, and if the information is stored in the storage unit 113 of the SD card 111, the process proceeds to step 306 (step 30).
5).

【0045】ステップ306において、ホスト101は
SDカード111に情報の格納を指示するコマンド信号
を送信する(ステップ306)。第1の入出力部112
は情報格納のコマンド信号を受信し、当該コマンド信号
をカード制御部115に転送する(ステップ307)。
カード制御部115は、レスポンス信号を生成して、ホ
スト101に返送する。
In step 306, the host 101 transmits a command signal for instructing storage of information to the SD card 111 (step 306). First input / output unit 112
Receives the information storage command signal, and transfers the command signal to the card control unit 115 (step 307).
The card control unit 115 generates a response signal and returns it to the host 101.

【0046】次に、カード制御部115は、第2の伝送
路117を通じて外部入出力部114の第5の入出力部
133に受信した情報の出力指令を送る。外部入出力部
114の第6の入出力部132は、当該出力指令に応じ
て、受信した情報を第5の入出力部133に伝送する。
第5の入出力部133は、第2の伝送路117を通じ
て当該情報をカード制御部115に伝送する。カード制
御部115は、第2の伝送路117を通じて当該情報を
記憶部113の第3の入出力部125に送信する。記憶
部113のメモリ制御部123は、第3の入出力部12
5が入力した情報をバッファメモリ122に格納する。
メモリ制御部123は、当該情報をフラッシュメモリ1
24に格納する情報のフォーマットに変換する。その後
メモリ制御部123は、当該情報をバッファメモリ12
2から読み出して、フラッシュメモリ124に格納する
(ステップ308)。ステップ308において、情報は
第2の伝送路117を通じて外部入出力部114から記
憶部113に伝送される。
Next, the card control unit 115 sends a command to output the received information to the fifth input / output unit 133 of the external input / output unit 114 via the second transmission line 117. The sixth input / output unit 132 of the external input / output unit 114 transmits the received information to the fifth input / output unit 133 according to the output command.
The fifth input / output unit 133 transmits the information to the card control unit 115 via the second transmission line 117. The card control unit 115 transmits the information to the third input / output unit 125 of the storage unit 113 via the second transmission path 117. The memory control unit 123 of the storage unit 113 includes the third input / output unit 12
5 stores the input information in the buffer memory 122.
The memory control unit 123 stores the information in the flash memory 1
24 is converted to the format of the information to be stored. Thereafter, the memory control unit 123 stores the information in the buffer memory 12
2 and stored in the flash memory 124 (step 308). In step 308, the information is transmitted from the external input / output unit 114 to the storage unit 113 via the second transmission path 117.

【0047】情報をホスト101のRAM104又はハ
ードディスクに格納するのであれば、ステップ309に
おいて、ホスト101はSDカード111の第1の入出
力部112に、受信した情報をホスト101に転送する
コマンド信号を送信する(ステップ309)。第1の入
出力部112は当該コマンド信号を受信し、当該コマン
ド信号を外部入出力部114に転送する(ステップ31
0)。外部入出力部114はホスト101にレスポンス
信号を返す。外部入出力部114は、第1の入出力部1
12を通じて、受信した情報を送信する(ステップ31
1)。ホスト101は情報を受信し(ステップ31
2)、当該情報をRAM104又はハードディスクに格
納する(ステップ313)。ステップ309〜312に
おいては、コマンド信号等は第1の伝送路116及び第
3の伝送路118を通じて伝送される。
If the information is to be stored in the RAM 104 or the hard disk of the host 101, the host 101 sends a command signal to the first input / output unit 112 of the SD card 111 to transfer the received information to the host 101 in step 309. It is transmitted (step 309). The first input / output unit 112 receives the command signal, and transfers the command signal to the external input / output unit 114 (step 31).
0). The external input / output unit 114 returns a response signal to the host 101. The external input / output unit 114 is the first input / output unit 1
12 to transmit the received information (step 31).
1). The host 101 receives the information (step 31)
2) The information is stored in the RAM 104 or the hard disk (step 313). In steps 309 to 312, the command signal and the like are transmitted through the first transmission path 116 and the third transmission path 118.

【0048】外部入出力部114は、受信した情報又は
送信する情報を一時的に格納するバッファメモリを有す
るが(図示していない。)、そのバッファメモリの記憶
容量は小さい。これに比べて、記憶部113のバッファ
メモリ122は十分大きな記憶容量を有する。実施例の
SDカード111は、外部入出力部114が受信した情
報又は送信する情報の量に応じて、適切な処理を実行す
る。
The external input / output unit 114 has a buffer memory (not shown) for temporarily storing received information or information to be transmitted, but the storage capacity of the buffer memory is small. On the other hand, the buffer memory 122 of the storage unit 113 has a sufficiently large storage capacity. The SD card 111 according to the embodiment executes an appropriate process according to the amount of information received or transmitted by the external input / output unit 114.

【0049】[ホストからSDカードに情報を伝送した
時の処理の詳細な説明]図4は、ホストからSDカード
に情報を伝送した時の処理の詳細フローチャートを示
す。最初に、SDカード111の第1の入出力部112
が、ホスト101から伝送された情報を受信する(ステ
ップ401)。SDカード111は情報の伝送先(宛
先)をチェックする(ステップ402)。情報が記憶部
113に伝送されたものであれば、ステップ403に進
む。情報が外部入出力部114に伝送されたものであれ
ば、ステップ405に進む。ステップ403において、
第1の入出力部112は記憶部113に情報を伝送す
る。記憶部113は、情報をフラッシュメモリ124に
格納する(ステップ404)。
[Detailed description of processing when information is transmitted from host to SD card] FIG. 4 is a detailed flowchart of processing when information is transmitted from the host to the SD card. First, the first input / output unit 112 of the SD card 111
Receives the information transmitted from the host 101 (step 401). The SD card 111 checks the information transmission destination (destination) (step 402). If the information has been transmitted to the storage unit 113, the process proceeds to step 403. If the information has been transmitted to the external input / output unit 114, the process proceeds to step 405. In step 403,
The first input / output unit 112 transmits information to the storage unit 113. The storage unit 113 stores the information in the flash memory 124 (Step 404).

【0050】情報が外部入出力部114に伝送されたも
のであれば、ステップ405において、当該情報量が一
定の閾値以下であるか否かをチェックする。一定の閾値
は、外部入出力部114が有するバッファメモリの記憶
容量に基づいて決定される。当該情報量が一定の閾値以
下であればステップ410に進み、一定の閾値を越えて
いればステップ406に進む。当該情報量が一定の閾値
を越えている場合に、外部入出力部114が内蔵する小
さなバッファメモリを使用して外部入出力部114が情
報を外部に送信するとすれば、ホスト101とSDカー
ド111との間で頻繁に情報の伝送を繰り返す必要があ
る。このことは、ホスト101の処理負担の増大と第3
の伝送路118を通じて伝送する情報の伝送頻度の増大
(第3の伝送路118の伝送余力の減少)とを招き、好
ましくない。当該情報量が一定の閾値を越えている場合
は、カード制御部115は、記憶部113のバッファメ
モリ122を、外部入出力部114のバッファメモリと
して使用することに決定する(ステップ406〜40
8)。
If the information has been transmitted to the external input / output unit 114, it is checked in step 405 whether the information amount is equal to or less than a predetermined threshold. The certain threshold is determined based on the storage capacity of the buffer memory of the external input / output unit 114. If the information amount is equal to or less than a certain threshold, the process proceeds to step 410, and if it exceeds the certain threshold, the process proceeds to step 406. If the external input / output unit 114 transmits information to the outside using a small buffer memory incorporated in the external input / output unit 114 when the information amount exceeds a certain threshold, the host 101 and the SD card 111 It is necessary to frequently repeat the transmission of information between and. This leads to an increase in the processing load on the host 101 and the third problem.
This causes an increase in the frequency of transmission of information transmitted through the transmission line 118 (reduction in the remaining transmission capacity of the third transmission line 118), which is not preferable. If the information amount exceeds a certain threshold, the card control unit 115 determines to use the buffer memory 122 of the storage unit 113 as a buffer memory of the external input / output unit 114 (steps 406 to 40).
8).

【0051】ホスト101が送信する情報量が一定の閾
値を越えている場合は、ステップ406において、カー
ド制御部115は第1の入出力部112に入力した情報
を記憶部113に伝送するように指示する。第1の入出
力部112は、入力した情報を記憶部113に伝送する
(ステップ406)。記憶部113のバッファメモリ1
22は、入力した情報を一時的に格納する(ステップ4
07)。カード制御部115は、外部入出力部114か
らの要求に応じて、記憶部113に入力した情報の転送
を指示する。記憶部113は、バッファメモリ122か
ら情報を読み出し、第2の伝送路117を通じて当該情
報を外部入出力部114に伝送する(ステップ40
8)。外部入出力部114は、入力した情報を外部装置
に送信する(ステップ409)。大きな記憶容量を有す
るバッファメモリ122を使用してホスト101からS
Dカード111に情報を伝送することにより、1回の通
信で大量の情報を連続して伝送することが出来る。
If the amount of information transmitted by the host 101 exceeds a certain threshold value, the card control unit 115 transmits the information input to the first input / output unit 112 to the storage unit 113 in step 406. To instruct. The first input / output unit 112 transmits the input information to the storage unit 113 (Step 406). Buffer memory 1 of storage unit 113
22 temporarily stores the input information (step 4
07). The card control unit 115 instructs the transfer of the information input to the storage unit 113 in response to a request from the external input / output unit 114. The storage unit 113 reads information from the buffer memory 122 and transmits the information to the external input / output unit 114 via the second transmission path 117 (Step 40).
8). The external input / output unit 114 transmits the input information to the external device (Step 409). Using the buffer memory 122 having a large storage capacity,
By transmitting information to the D card 111, a large amount of information can be transmitted continuously in one communication.

【0052】ホスト101が送信する情報量が一定の閾
値以下であれば、ステップ410において、カード制御
部115は第1の入出力部112に入力した情報を直接
外部入出力部114に伝送するように指示する。第1の
入出力部112は、入力した情報を第1の伝送路116
を通じて外部入出力部114に伝送する(ステップ41
0)。外部入出力部114は、入力した情報を外部装置
に送信する(ステップ409)。ホスト101がSDカ
ード111に伝送した情報の量が小さい場合は、外部入
出力部114は内蔵する小さなバッファメモリを使用し
て、第1の入出力部112が出力する情報を直接受信す
る。これにより、速い応答速度で(情報がSDカード内
で滞留する時間を短くして)ホスト101から外部装置
に情報を伝送できる。
If the amount of information transmitted by the host 101 is equal to or less than a predetermined threshold, the card control unit 115 transmits the information input to the first input / output unit 112 directly to the external input / output unit 114 in step 410. To instruct. The first input / output unit 112 converts the input information into a first transmission path 116
(Step 41)
0). The external input / output unit 114 transmits the input information to the external device (Step 409). When the amount of information transmitted from the host 101 to the SD card 111 is small, the external input / output unit 114 directly receives the information output from the first input / output unit 112 using a small built-in buffer memory. As a result, information can be transmitted from the host 101 to the external device at a high response speed (with the time during which the information stays in the SD card is shortened).

【0053】[外部入出力部が情報を入力した時の処理
の詳細な説明]図5は、外部入出力部が情報を入力した
時の処理の詳細フローチャートを示す。最初に、外部入
出力部114が外部装置から送信された情報を受信する
(ステップ501)。次に、外部入出力部114がホス
ト101に情報を受信したことを通知する。ホスト10
1は、受信した情報を格納する場所を決定する。ホスト
101のRAM104又はハードディスクに情報を格納
する場合はステップ505に進む。SDカード111の
フラッシュメモリ124に情報を格納する場合はステッ
プ503に進む(ステップ502)。ステップ503に
おいて、カード制御部115は、外部入出力部114か
ら記憶部113に情報を伝送するよう指示する。外部入
出力部114は、受信した情報を第2の伝送路117を
通じて記憶部113に伝送する。記憶部113は、当該
情報をフラッシュメモリ124に格納する(ステップ5
04)。
[Detailed Description of Processing when External Input / Output Unit Inputs Information] FIG. 5 is a detailed flowchart of processing when the external input / output unit inputs information. First, the external input / output unit 114 receives information transmitted from an external device (step 501). Next, the external input / output unit 114 notifies the host 101 that the information has been received. Host 10
1 determines where to store the received information. When the information is stored in the RAM 104 or the hard disk of the host 101, the process proceeds to step 505. If information is to be stored in the flash memory 124 of the SD card 111, the process proceeds to step 503 (step 502). In step 503, the card control unit 115 instructs the external input / output unit 114 to transmit information to the storage unit 113. The external input / output unit 114 transmits the received information to the storage unit 113 via the second transmission path 117. The storage unit 113 stores the information in the flash memory 124 (Step 5
04).

【0054】受信した情報をホスト101のRAM10
4又はハードディスクに格納する場合は、ステップ50
5において、受信した情報が一定の閾値以下であるか否
かをチェックする。受信した情報が一定の閾値以下であ
ればステップ510に進む。受信した情報が一定の閾値
を越えていれば、ステップ506に進む。当該情報量が
一定の閾値を越えている場合に、外部入出力部114が
内蔵する小さなバッファメモリを使用して外部入出力部
114が情報をホスト101に伝送するとすれば、SD
カードとホスト101との間で頻繁に情報の伝送を繰り
返す必要がある。このことは、ホスト101の処理負担
の増大と第3の伝送路118を通じて伝送する情報の伝
送頻度の増大(第3の伝送路118の伝送余力の減少)
とを招き、好ましくない。当該情報量が一定の閾値を越
えている場合は、カード制御部115は、記憶部113
のバッファメモリ122を、外部入出力部114のバッ
ファメモリとして使用することに決定する(ステップ5
06〜508)。
The received information is stored in the RAM 10 of the host 101.
4 or when storing in the hard disk, step 50
At 5, it is checked whether the received information is below a certain threshold. If the received information is equal to or less than the predetermined threshold, the process proceeds to step 510. If the received information exceeds a certain threshold, the process proceeds to step 506. If the external input / output unit 114 transmits information to the host 101 using a small buffer memory built in the external input / output unit 114 when the information amount exceeds a certain threshold, the SD
It is necessary to frequently transmit information between the card and the host 101. This means that the processing load on the host 101 increases and the frequency of transmission of information transmitted through the third transmission path 118 increases (reduction of the remaining transmission capacity of the third transmission path 118).
And it is not preferable. If the information amount exceeds a certain threshold, the card control unit 115
Is determined to be used as the buffer memory of the external input / output unit 114 (step 5).
06-508).

【0055】ステップ506において、カード制御部1
15は、外部入出力部114に、受信した情報を記憶部
113に伝送するよう指示する。外部入出力部114
は、第2の伝送路117を通じて、受信した情報を記憶
部113に伝送する(ステップ506)。ステップ50
7において、記憶部113のメモリ制御部123は当該
情報をバッファメモリ122に一時的に格納する(ステ
ップ507)。次に、メモリ制御部123は、バッファ
メモリ122から情報を読み出して第1の入出力部11
2に伝送する(ステップ508)。第1の入出力部11
2は、当該情報をホスト101に伝送する(ステップ5
09)。ホスト101は、受信した情報をRAM104
又はハードディスクに格納する。大きな記憶容量を有す
るバッファメモリ122を使用してSDカード111か
らホスト101に情報を伝送することにより、1回の通
信で大量の情報を連続して伝送することが出来る。
In step 506, the card control unit 1
15 instructs the external input / output unit 114 to transmit the received information to the storage unit 113. External input / output unit 114
Transmits the received information to the storage unit 113 via the second transmission path 117 (step 506). Step 50
7, the memory control unit 123 of the storage unit 113 temporarily stores the information in the buffer memory 122 (Step 507). Next, the memory control unit 123 reads information from the buffer memory 122 and
2 (step 508). First input / output unit 11
2 transmits the information to the host 101 (step 5
09). The host 101 stores the received information in the RAM 104
Or store it on the hard disk. By transmitting information from the SD card 111 to the host 101 using the buffer memory 122 having a large storage capacity, a large amount of information can be transmitted continuously in one communication.

【0056】受信した情報が一定の閾値以下であれば、
ステップ510において、外部入出力部114から第1
の伝送路116を通じて、受信した情報を第1の入出力
部112に伝送する。次に、第1の入出力部112は、
当該情報をホスト101に伝送する(ステップ50
9)。ホスト101は、受信した情報をRAM104又
はハードディスクに格納する。受信した情報の量が小さ
い場合は、外部入出力部114は内蔵する小さなバッフ
ァメモリを使用して、受信した情報を直接第1の入出力
部112に伝送する。これにより、速い応答速度で(情
報がSDカード内で滞留する時間を短くして)外部装置
からホスト101に情報を伝送できる。
If the received information is below a certain threshold,
In step 510, the first input / output unit 114
The received information is transmitted to the first input / output unit 112 through the transmission line 116 of the first embodiment. Next, the first input / output unit 112
The information is transmitted to the host 101 (step 50)
9). The host 101 stores the received information in the RAM 104 or the hard disk. When the amount of the received information is small, the external input / output unit 114 transmits the received information directly to the first input / output unit 112 by using a built-in small buffer memory. As a result, information can be transmitted from the external device to the host 101 at a high response speed (with the time during which the information stays in the SD card is shortened).

【0057】実施例においては、電子装置は記憶部とBl
uetooth規格に従って無線通信を行う外部入出力部を有
するSDカードであったが、外部入出力部は、任意の通
信装置であっても良い。例えばLANの端末、携帯電話
である。実施例の外部入出力部は、任意の情報処理装置
であっても良い。情報処理装置は、例えば電子カメラ、
画像記録再生装置、グローバル・ポジショニング・システ
ム(GPS)、音声記録再生装置、映像若しくは音声チ
ューナである。これらの情報処理装置は、第4の入出力
部と、第5の入出力部と、第6の入出力部に代わる当該
情報処理装置に特有の情報処理部とを有する。
In an embodiment, the electronic device comprises a storage unit and a Bl
Although the SD card has an external input / output unit for performing wireless communication according to the uetooth standard, the external input / output unit may be any communication device. For example, LAN terminals and mobile phones. The external input / output unit of the embodiment may be any information processing device. The information processing device is, for example, an electronic camera,
An image recording / reproducing device, a global positioning system (GPS), an audio recording / reproducing device, a video or audio tuner. These information processing devices include a fourth input / output unit, a fifth input / output unit, and an information processing unit specific to the information processing device in place of the sixth input / output unit.

【0058】例えば情報処理装置が電子カメラであれ
ば、情報処理部である電子カメラは、画像信号を出力し
(撮像する)、又は画像信号を入力する(ビューファイ
ンダーで画像を再生する。)。例えば情報処理装置が映
像若しくは音声チューナであれば、情報処理部である映
像若しくは音声チューナは、受信した映像信号又は音声
信号を復調して出力する。例えば情報処理装置が画像記
録再生装置又は音声記録再生装置であれば、情報処理部
である画像記録再生装置又は音声記録再生装置は、映像
信号又は音声信号を記録媒体に記録し又は記録媒体から
再生する。例えば情報処理装置がグローバル・ポジショ
ニング・システム(GPS)であれば、情報処理部である
グローバル・ポジショニング・システム(GPS)は、位
置情報を出力する。GPSが画像表示部を有する場合
(例えばカー・ナビゲーション・システム)、GPSは
メモリに格納した地図等の映像信号を入力する。これら
の電子装置は、通信する情報の種類、伝送方向(どちら
か一方向、又は双方向)、情報の処理方法等が異なる
が、基本的に実施例の電子装置と同様の情報の伝送を行
う。
For example, if the information processing apparatus is an electronic camera, the electronic camera as the information processing section outputs (images) an image signal or inputs an image signal (reproduces an image with a viewfinder). For example, if the information processing device is a video or audio tuner, the video or audio tuner as the information processing unit demodulates and outputs the received video signal or audio signal. For example, if the information processing device is an image recording / reproducing device or an audio recording / reproducing device, the image recording / reproducing device or the audio recording / reproducing device serving as the information processing unit records the video signal or the audio signal on the recording medium or reproduces the video signal or the audio signal from the recording medium. I do. For example, if the information processing device is a global positioning system (GPS), the global positioning system (GPS), which is an information processing unit, outputs position information. When the GPS has an image display unit (for example, a car navigation system), the GPS inputs a video signal such as a map stored in a memory. These electronic devices differ in the type of information to be communicated, the transmission direction (either one or two directions), the information processing method, and the like, but basically transmit the same information as the electronic device of the embodiment. .

【0059】[0059]

【発明の効果】本発明によれば、途中でのコマンド信号
等の遅延がほとんど生じることなく、ホストが記憶部及
び情報処理装置を制御できる電子装置及びその制御方法
を実現出来るという有利な効果が得られる。本発明によ
れば、情報処理装置から記憶部にデータを直接伝送する
ことが出来、同様に、記憶部から情報処理装置にデータ
を直接伝送することが出来る。記憶部と情報処理装置と
の間のデータ転送においてホストと電子装置との間の伝
送路は使用されない故に、記憶部と情報処理装置とが相
互にデータ転送を行っている間にも、当該データ転送に
妨げられることなく、ホストはいつでも記憶部又は情報
処理装置にコマンド信号又はデータを送り、記憶部又は
情報処理装置からレスポンス信号又はデータを受け取る
ことが出来る。
According to the present invention, there is an advantageous effect that the host can control the storage unit and the information processing apparatus with little delay of a command signal or the like on the way, and can realize a control method therefor. can get. According to the present invention, data can be directly transmitted from the information processing device to the storage unit, and similarly, data can be directly transmitted from the storage unit to the information processing device. Since the transmission path between the host and the electronic device is not used in the data transfer between the storage unit and the information processing device, the data transmission is performed while the storage unit and the information processing device perform the data transfer mutually. The host can send a command signal or data to the storage unit or the information processing device at any time and receive a response signal or data from the storage unit or the information processing device without being hindered by the transfer.

【0060】本発明によれば、小さなバッファメモリを
有する情報処理装置によって、ホストと電子装置との間
でスムーズな通信を行い、且つホストの情報処理負担が
軽い電子装置及びその制御方法を実現出来るという有利
な効果が得られる。本発明によれば、情報量の大小に応
じて、ホストと情報処理装置との間で適切な伝送路で情
報を伝送できる電子装置及びその制御方法を実現できる
という有利な効果が得られる。
According to the present invention, an information processing apparatus having a small buffer memory enables smooth communication between a host and an electronic apparatus, and realizes an electronic apparatus with a light information processing load on the host and a control method therefor. The advantageous effect described above can be obtained. Advantageous Effects of Invention According to the present invention, there is obtained an advantageous effect that an electronic device capable of transmitting information between a host and an information processing device through an appropriate transmission path according to the amount of information and a control method thereof can be realized.

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

【図1】 実施例のシステムのブロック図FIG. 1 is a block diagram of a system according to an embodiment.

【図2】 ホスト又はSDカードに格納されている情報
を外部入出力部を通じて送信する処理のフローチャート
FIG. 2 is a flowchart of a process of transmitting information stored in a host or an SD card through an external input / output unit.

【図3】 外部入出力部が受信した情報をホスト又はS
Dカードに格納する処理のフローチャート
FIG. 3 is a diagram showing information received by an external input / output unit as a host or S
Flowchart of processing to store in D card

【図4】 ホストからSDカードに情報を伝送した時の
処理の詳細フローチャート
FIG. 4 is a detailed flowchart of a process when information is transmitted from a host to an SD card.

【図5】 外部入出力部が情報を入力した時の処理の詳
細フローチャート
FIG. 5 is a detailed flowchart of a process when an external input / output unit inputs information.

【図6】 従来例1のシステムのブロック図FIG. 6 is a block diagram of a system according to a conventional example 1.

【図7】 従来例2のシステムのブロック図FIG. 7 is a block diagram of a system of a second conventional example.

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

101 ホスト 102、712 CPU 103 第8の入出力部 104 RAM 105、713 内部バス 111、611 SDカード 112 第1の入出力部 113、613 記憶部 114、614 外部入出力部 115 カード制御部 116 第1の伝送路 117 第2の伝送路 118 第3の伝送路 121 第2の入出力部 122 バッファメモリ 123 メモリ制御部 124 フラッシュメモリ 125 第3の入出力部 131 第4の入出力部 132 第6の入出力部 133 第5の入出力部 711 電子装置 101 Host 102, 712 CPU 103 Eighth input / output unit 104 RAM 105, 713 Internal bus 111, 611 SD card 112 First input / output unit 113, 613 Storage unit 114, 614 External input / output unit 115 Card control unit 116 1 transmission line 117 second transmission line 118 third transmission line 121 second input / output unit 122 buffer memory 123 memory control unit 124 flash memory 125 third input / output unit 131 fourth input / output unit 132 sixth Input / output unit 133 fifth input / output unit 711 electronic device

───────────────────────────────────────────────────── フロントページの続き (72)発明者 岩田 和也 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (72)発明者 中村 清治 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 Fターム(参考) 5B014 GC21 5B035 AA02 BB09 BC00 CA11 CA22 CA29 5B065 BA05 CA11 CE11 ZA13  ──────────────────────────────────────────────────の Continued on the front page (72) Inventor Kazuya Iwata 1006 Kadoma Kadoma, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. F term (reference) 5B014 GC21 5B035 AA02 BB09 BC00 CA11 CA22 CA29 5B065 BA05 CA11 CE11 ZA13

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 ホストからのコマンド信号の入力を含む
ホストとの通信を行う第1の入出力部と、 第2の入出力部と、第3の入出力部と、メモリとを有す
る記憶部と、 第4の入出力部と、第5の入出力部と、情報を記録し、
情報を再生し、情報を生成し、情報を外部から入力し、
又は情報を外部に出力する情報処理部とを有する情報処
理装置と、 前記第1の入出力部と、前記第2の入出力部と、前記第
4の入出力部との間を相互に接続する第1の伝送路と、 前記第3の入出力部と前記第5の入出力部との間を相互
に接続する第2の伝送路と、 前記第2の伝送路を通じて行う通信を制御する制御部
と、 を有し、 前記記憶部は、前記第1の入出力部からのコマンド信号
に応じて前記メモリから読み出した情報を前記第2の入
出力部から出力し又は前記第2の入出力部から入力した
情報を前記メモリに記憶し、並びに前記制御部からのコ
マンド信号に応じて、前記メモリから読み出した情報を
前記第3の入出力部から出力し又は前記第3の入出力部
から入力した情報を前記メモリに記憶し、 前記情報処理装置は、前記第1の入出力部からのコマン
ド信号に応じて前記情報処理部が再生し、生成し、若し
くは外部から入力した情報を前記第4の入出力部から出
力し又は前記第4の入出力部から入力した情報を前記情
報処理部が記録し若しくは外部に出力し、並びに前記制
御部からのコマンド信号に応じて前記情報処理部が再生
し、生成し、若しくは外部から入力した情報を前記第5
の入出力部から出力し又は前記第5の入出力部から入力
した情報を前記情報処理部が記録し若しくは外部に出力
する、 ことを特徴とする電子装置。
1. A storage unit having a first input / output unit, a second input / output unit, a third input / output unit, and a memory for communicating with a host including input of a command signal from the host. Recording a fourth input / output unit, a fifth input / output unit, and information;
Play information, generate information, input information from outside,
Or an information processing device having an information processing unit for outputting information to the outside, and interconnecting the first input / output unit, the second input / output unit, and the fourth input / output unit A first transmission line, a second transmission line interconnecting the third input / output unit and the fifth input / output unit, and communication performed through the second transmission line. A control unit; and the storage unit outputs information read from the memory from the second input / output unit in response to a command signal from the first input / output unit, or outputs the information from the second input / output unit. The information input from the output unit is stored in the memory, and the information read from the memory is output from the third input / output unit or the third input / output unit in response to a command signal from the control unit. Storing the information input from the memory in the memory; The information processing unit reproduces and generates information in response to a command signal from the input / output unit, or outputs information input from the outside from the fourth input / output unit or information input from the fourth input / output unit. The information processing section records or outputs the information to the outside, and the information processing section reproduces and generates the information in response to a command signal from the control section, or outputs the information input from the outside to the fifth
The information processing unit records information output from the input / output unit of the third unit or input from the fifth input / output unit or outputs the information to the outside.
【請求項2】 前記記憶部は、更にバッファメモリを有
し、 前記第1の入出力部から前記第1の伝送経路を通じて前
記記憶部に伝送された情報を前記バッファメモリに一時
的に記憶し、前記バッファメモリから読み出した情報を
前記第2の伝送経路を通じて前記情報処理装置に伝送
し、前記情報処理部が前記第2の伝送経路を通じて入力
した情報を記録し若しくは外部に出力する、 ことを特徴とする請求項1に記載の電子装置。
2. The storage unit further includes a buffer memory, and temporarily stores information transmitted from the first input / output unit to the storage unit via the first transmission path in the buffer memory. Transmitting the information read from the buffer memory to the information processing device through the second transmission path, and recording or outputting the information input by the information processing unit through the second transmission path. The electronic device according to claim 1, wherein:
【請求項3】 前記記憶部は、更にバッファメモリを有
し、 前記情報処理部が再生し、生成し、若しくは外部から入
力した情報を、前記情報処理装置から前記第2の伝送経
路を通じて前記記憶部に伝送し、前記情報を前記バッフ
ァメモリに一時的に記憶し、及び前記バッファメモリか
ら読み出した情報を前記第1の伝送経路を通じて前記第
1の入出力部に伝送するステップと、 を更に有することを特徴とする請求項1に記載の電子装
置。
3. The storage unit further includes a buffer memory, wherein the information processing unit reproduces, generates, or stores information input from the outside from the information processing apparatus through the second transmission path. Transmitting the information read from the buffer memory to the first input / output unit via the first transmission path. The electronic device according to claim 1, wherein:
【請求項4】 ホストからのコマンド信号の入力を含む
ホストとの通信を行う第1の入出力部と、 記憶部と、 情報処理装置と、 前記第1の入出力部と、前記記憶部と、前記情報処理装
置との間を相互に接続する第1の伝送路と、 前記記憶部と前記情報処理装置との間を相互に接続する
第2の伝送路と、 を有する電子装置の制御方法であって、 前記情報処理装置が再生し、生成し、若しくは外部から
入力した情報を前記第1の伝送路を通じて前記第1の入
出力部に伝送し、前記第1の入出力部からホストに伝送
するステップと、 前記情報処理部が再生し、生成し、若しくは外部から入
力した情報を前記第2の伝送路を通じて前記記憶部に伝
送し、前記記憶部に情報を記憶するステップと、 を有することを特徴とする電子装置の制御方法。
4. A first input / output unit for performing communication with the host including a command signal input from the host, a storage unit, an information processing device, the first input / output unit, and the storage unit A first transmission line interconnecting the information processing device and a second transmission line interconnecting the storage unit and the information processing device. The information processing apparatus reproduces, generates, or transmits information input from the outside to the first input / output unit through the first transmission path, and transmits the information to the host from the first input / output unit. Transmitting, and the information processing unit reproduces, generates, or transmits externally input information to the storage unit via the second transmission path, and stores the information in the storage unit. A method for controlling an electronic device, comprising:
【請求項5】 ホストからのコマンド信号の入力を含む
ホストとの通信を行う第1の入出力部と、 記憶部と、 情報処理装置と、 前記第1の入出力部と、前記記憶部と、前記情報処理装
置との間を相互に接続する第1の伝送路と、 前記記憶部と前記情報処理装置との間を相互に接続する
第2の伝送路と、 を有する電子装置の制御方法であって、 前記第1の入出力部がホストから入力した情報を前記第
1の伝送路を通じて前記情報処理装置に伝送し、前記情
報処理部が情報を記録し若しくは外部に出力するステッ
プと、 前記記憶部から読み出した情報を前記第2の伝送路を通
じて前記情報処理装置に伝送し、前記情報処理部が情報
を記録し若しくは外部に出力するステップと、 を有することを特徴とする電子装置の制御方法。
5. A first input / output unit for performing communication with a host including input of a command signal from the host, a storage unit, an information processing device, the first input / output unit, and the storage unit A first transmission line interconnecting the information processing device and a second transmission line interconnecting the storage unit and the information processing device. And transmitting the information input from the host by the first input / output unit to the information processing device through the first transmission path, and the information processing unit records the information or outputs the information to the outside, Transmitting the information read from the storage unit to the information processing apparatus through the second transmission path, and recording or outputting the information to the outside by the information processing unit. Control method.
【請求項6】 前記記憶部は、更にバッファメモリを有
し、 前記情報処理部が再生し、生成し、若しくは外部から入
力した情報を前記第2の伝送路を通じて前記記憶部に伝
送し、前記第2の伝送経路を通じて伝送された情報を前
記バッファメモリに一時的に記憶し、及び前記バッファ
メモリから読み出した情報を前記第1の伝送経路を通じ
て前記第1の入出力部に伝送するステップを更に有する
ことを特徴とする請求項4に記載の電子装置の制御方
法。
6. The storage unit further includes a buffer memory, wherein the information processing unit reproduces, generates, or transmits information input from the outside to the storage unit via the second transmission path, Temporarily storing information transmitted through a second transmission path in the buffer memory, and transmitting information read from the buffer memory to the first input / output unit through the first transmission path. The method for controlling an electronic device according to claim 4, further comprising:
【請求項7】 前記記憶部は、更にバッファメモリを有
し、 前記第1の入出力部から前記第1の伝送経路を通じて前
記記憶部に伝送された情報を前記記憶部のバッファメモ
リに一時的に記憶し、前記バッファメモリから読み出し
た情報を前記第2の伝送経路を通じて前記情報処理装置
に伝送し、前記情報処理部が前記第2の伝送経路を通じ
て入力した情報を記録し若しくは外部に出力するステッ
プを更に有することを特徴とする請求項5に記載の電子
装置の制御方法。
7. The storage unit further includes a buffer memory, and temporarily stores information transmitted from the first input / output unit to the storage unit via the first transmission path in the buffer memory of the storage unit. And the information read from the buffer memory is transmitted to the information processing apparatus through the second transmission path, and the information input by the information processing section through the second transmission path is recorded or output to the outside. The method according to claim 5, further comprising a step.
JP2001165324A 2001-05-31 2001-05-31 Electronic device and control method therefor Pending JP2002358275A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001165324A JP2002358275A (en) 2001-05-31 2001-05-31 Electronic device and control method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001165324A JP2002358275A (en) 2001-05-31 2001-05-31 Electronic device and control method therefor

Publications (1)

Publication Number Publication Date
JP2002358275A true JP2002358275A (en) 2002-12-13

Family

ID=19008006

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001165324A Pending JP2002358275A (en) 2001-05-31 2001-05-31 Electronic device and control method therefor

Country Status (1)

Country Link
JP (1) JP2002358275A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005322208A (en) * 2004-05-06 2005-11-17 ▲萬▼國電腦股▲ふん▼有限公司 Silicon storage medium, controller, and access method therefor
JP2007535021A (en) * 2003-12-09 2007-11-29 サンディスク コーポレイション Efficient connection between modules of removable electronic circuit cards
KR101567518B1 (en) * 2009-04-28 2015-11-09 삼성전자주식회사 Communication method for transporting user operation information and electronic device using the same

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007535021A (en) * 2003-12-09 2007-11-29 サンディスク コーポレイション Efficient connection between modules of removable electronic circuit cards
JP4719687B2 (en) * 2003-12-09 2011-07-06 サンディスク コーポレイション Efficient connection between modules of removable electronic circuit cards
JP2005322208A (en) * 2004-05-06 2005-11-17 ▲萬▼國電腦股▲ふん▼有限公司 Silicon storage medium, controller, and access method therefor
KR101567518B1 (en) * 2009-04-28 2015-11-09 삼성전자주식회사 Communication method for transporting user operation information and electronic device using the same

Similar Documents

Publication Publication Date Title
US7831279B2 (en) Wireless enabled memory module
US20100077119A1 (en) Method and Devices for Data Transfer
US7734247B2 (en) Configurable serial memory interface
US20090254715A1 (en) Variable partitioned blocks in shared memory
JP4452690B2 (en) Electronic device, control method thereof, host device and control method thereof
EP1659482A2 (en) Communication system, storage device and control device
US7552248B2 (en) Information terminal, information processing system, and methods of controlling the same
KR100663380B1 (en) Imaging device and method for transferring image signal
CN110768900B (en) Data transmission method and electronic equipment
JP2002358275A (en) Electronic device and control method therefor
KR100592106B1 (en) Method and apparatus for allowing access to individual memory
KR100731969B1 (en) Method and apparatus for sharing memory through a plurality of routes
KR20070013620A (en) Method and apparatus for sharing multi-partitioned memory through a plurality of routes
KR100736902B1 (en) Method and apparatus for sharing memory by a plurality of processors
JP2008304987A (en) Data transfer device
KR100909025B1 (en) A portable terminal having a memory sharing method and a memory sharing structure by a plurality of processors
JP4003919B2 (en) Data processing apparatus and data processing method
JP2946496B2 (en) Image transmission system
KR100888427B1 (en) Device having shared memory and method for displaying data
JP2004213487A (en) Card type device
JP2001292090A (en) Mobile phone and semiconductor device for the mobile phone
US20050188135A1 (en) High performance serial bus data recorder
KR100719808B1 (en) Method for sharing memory and portable terminal having structure of memory share
JP3837407B2 (en) IC card and control method thereof
CN117234965A (en) Memory management method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050524

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20061129